diff --git a/TagManager.php b/TagManager.php index 1fe18a407..8a5d36939 100644 --- a/TagManager.php +++ b/TagManager.php @@ -16,6 +16,7 @@ use Piwik\Log; use Piwik\Piwik; use Piwik\Plugin; +use Piwik\Plugin\Manager; use Piwik\Plugins\TagManager\Access\Capability\PublishLiveContainer; use Piwik\Plugins\TagManager\Access\Capability\TagManagerWrite; use Piwik\Plugins\TagManager\Access\Capability\UseCustomTemplates; @@ -266,6 +267,7 @@ public function addTagManagerCode(&$out) $view = new View("@TagManager/trackingCode"); $view->action = Piwik::getAction(); $view->showContainerRow = $model->getNumContainersTotal() > 1; + $view->isJsTrackerInstallCheckAvailable = Manager::getInstance()->isPluginActivated('JsTrackerInstallCheck'); $out .= $view->render(); } @@ -854,6 +856,9 @@ public function getClientSideTranslationKeys(&$result) $result[] = 'TagManager_CustomUrl'; $result[] = 'TagManager_PageViewTriggerName'; $result[] = 'TagManager_MatomoTagName'; + $result[] = 'TagManager_SiteWithoutDataMtmIntro'; + $result[] = 'TagManager_SiteWithoutDataMtmStep2'; + $result[] = 'TagManager_SiteWithoutDataMtmStep3'; } public function getStylesheetFiles(&$stylesheets) diff --git a/lang/en.json b/lang/en.json index 862be93cf..e9b340637 100644 --- a/lang/en.json +++ b/lang/en.json @@ -915,6 +915,9 @@ "SPAFollowStep14": "In the field \"%1$s\", set the version to, for example, %2$s1.0%3$s", "SPAFollowStep15": "Click the green \"%1$s\" button. Now that you have completed the configuration in the Tag Manager, follow the last step below to finish the setup within your app.", "SPAFollowStep16": "Copy the code below and paste it in the header of your SPA / PWA. We recommend pasting it immediately before the closing %1$s tag. %2$sLearn more%3$s.", - "ReactFollowStep16": "Inject the %1$sMatomo Tag Manager JS%2$s code into your %3$s (or other relevant files), we recommend doing this using the \"%4$s\" method. The example below shows how to add the %1$sMatomo Tag Manager JS%2$s code into a \"%5$s\" app in %6$s." + "ReactFollowStep16": "Inject the %1$sMatomo Tag Manager JS%2$s code into your %3$s (or other relevant files), we recommend doing this using the \"%4$s\" method. The example below shows how to add the %1$sMatomo Tag Manager JS%2$s code into a \"%5$s\" app in %6$s.", + "SiteWithoutDataMtmIntro": "The Matomo Tag Manager may be a better choice than tracking via the regular JavaScript code. It lets you manage and unify all your tracking and marketing tags (also known as \"pixels\" or \"custom HTML/JS tags\") in one place. Using the Matomo Tag Manager makes your life easier when you want to modify any of these tags, as you will no longer need a developer to make the needed changes for you. %1$sLearn more%2$s.", + "SiteWithoutDataMtmStep2": "If you would like to customize this container, visit the %1$sContainer Dashboard%2$s", + "SiteWithoutDataMtmStep3": "Copy the code below and paste it on every page of your website. We recommend pasting it immediately before the closing %1$s tag. %2$sLearn more%3$s." } } diff --git a/templates/trackingCode.twig b/templates/trackingCode.twig index 08262f005..6a80359ac 100644 --- a/templates/trackingCode.twig +++ b/templates/trackingCode.twig @@ -2,5 +2,6 @@ vue-entry="TagManager.TrackingCodePage" current-action="{{ action|json_encode }}" show-container-row="{{ showContainerRow|json_encode }}" + is-js-tracker-install-check-available="{{ isJsTrackerInstallCheckAvailable|json_encode }}" > \ No newline at end of file diff --git a/tests/UI/ContainerVersion_spec.js b/tests/UI/ContainerVersion_spec.js index 47139338e..27e22178e 100644 --- a/tests/UI/ContainerVersion_spec.js +++ b/tests/UI/ContainerVersion_spec.js @@ -193,7 +193,9 @@ describe("ContainerVersion", function () { it('should be able to create new version through menu', async function () { await page.goto(container1Base); + await page.waitForNetworkIdle(); await (await page.jQuery('#secondNavBar .item:contains(Publish)')).click(); + await page.waitForNetworkIdle(); await page.evaluate(function () { if (window.scrollTo) { window.scrollTo(0,0); diff --git a/vue/dist/TagManager.umd.js b/vue/dist/TagManager.umd.js index bfee48e4b..a9debf5b5 100644 --- a/vue/dist/TagManager.umd.js +++ b/vue/dist/TagManager.umd.js @@ -1,13 +1,13 @@ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(require("CoreHome"), require("CorePluginsAdmin"), require("vue")); + module.exports = factory(require("CoreHome"), require("vue"), require("CorePluginsAdmin")); else if(typeof define === 'function' && define.amd) - define(["CoreHome", "CorePluginsAdmin", ], factory); + define(["CoreHome", , "CorePluginsAdmin"], factory); else if(typeof exports === 'object') - exports["TagManager"] = factory(require("CoreHome"), require("CorePluginsAdmin"), require("vue")); + exports["TagManager"] = factory(require("CoreHome"), require("vue"), require("CorePluginsAdmin")); else - root["TagManager"] = factory(root["CoreHome"], root["CorePluginsAdmin"], root["Vue"]); -})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE_CoreHome__, __WEBPACK_EXTERNAL_MODULE_CorePluginsAdmin__, __WEBPACK_EXTERNAL_MODULE_vue__) { + root["TagManager"] = factory(root["CoreHome"], root["Vue"], root["CorePluginsAdmin"]); +})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__19dc__, __WEBPACK_EXTERNAL_MODULE__8bbf__, __WEBPACK_EXTERNAL_MODULE_a5a2__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; @@ -91,2239 +91,10290 @@ return /******/ (function(modules) { // webpackBootstrap /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js"); +/******/ return __webpack_require__(__webpack_require__.s = "fae3"); /******/ }) /************************************************************************/ /******/ ({ -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n class: \"editContainer tagManagerManageEdit\",\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_1, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_3, [_hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"idcontainer\",\n \"model-value\": _ctx.container.idcontainer,\n disabled: true,\n title: _ctx.translate('General_Id')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.edit]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"context\",\n \"model-value\": _ctx.container.context,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.container.context = $event;\n\n _ctx.setValueHasChanged();\n }),\n disabled: true,\n options: _ctx.contexts,\n title: _ctx.translate('TagManager_Context'),\n \"inline-help\": _ctx.translate('TagManager_ContainerContextHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.container.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.container.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_ContainerNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.container.description,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = function ($event) {\n _ctx.container.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_ContainerDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewContainer')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])])], 32\n /* HYDRATE_EVENTS */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerContainerList\"\n};\nvar _hoisted_2 = {\n class: \"index\"\n};\nvar _hoisted_3 = {\n class: \"name\"\n};\nvar _hoisted_4 = {\n class: \"description\"\n};\nvar _hoisted_5 = {\n class: \"created\"\n};\nvar _hoisted_6 = {\n class: \"action\"\n};\nvar _hoisted_7 = {\n colspan: \"5\"\n};\nvar _hoisted_8 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_10 = {\n colspan: \"5\"\n};\nvar _hoisted_11 = [\"id\"];\nvar _hoisted_12 = [\"title\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = {\n class: \"created\"\n};\nvar _hoisted_16 = {\n class: \"action\"\n};\nvar _hoisted_17 = [\"href\", \"title\"];\nvar _hoisted_18 = [\"onClick\", \"title\"];\nvar _hoisted_19 = [\"onClick\", \"title\"];\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_22 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_23 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteContainer\",\n ref: \"confirmDeleteContainer\"\n};\nvar _hoisted_24 = [\"value\"];\nvar _hoisted_25 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Containers'))\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ContainerUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Id')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreatedDate')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [_hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoContainersFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createContainer();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewContainerNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.containers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedContainers, function (container) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"container\".concat(container.idcontainer),\n class: \"containers\",\n key: container.idcontainer\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"index\",\n title: \"\".concat(_ctx.translate('TagManager_Context'), \": \") + _ctx.contexts[container.context]\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.idcontainer), 9\n /* TEXT, PROPS */\n , _hoisted_12), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: container.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(container.description, 50)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.created_date_pretty), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-configure\",\n href: '?module=TagManager&action=' + _ctx.containerDefaultAction + '&idContainer=' + container.idcontainer + '&idSite=' + container.idsite + '&period=day&date=yesterday',\n title: _ctx.translate('TagManager_ConfigureX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_17), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action installCode icon-embed\",\n onClick: function onClick($event) {\n return _ctx.installCode(container.idcontainer);\n },\n title: _ctx.translate('TagManager_InstallCode')\n }, null, 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editContainer(container.idcontainer);\n },\n title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_19), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteContainer(container);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_20), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 8\n /* PROPS */\n , _hoisted_11);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewContainer\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createContainer();\n })\n }, [_hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewContainer')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_23, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteContainerConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_24), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_25)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageContainer\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContainerList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContainerList\");\n\n var _component_ContainerEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContainerEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContainerList)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.editMode]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContainerEdit, {\n \"id-container\": _ctx.idContainer\n }, null, 8\n /* PROPS */\n , [\"id-container\"])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.editMode]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"containerDashboard\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n class: \"dashboardCreationDate\"\n};\nvar _hoisted_4 = {\n key: 0\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"row\",\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\nvar _hoisted_7 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = [\"href\", \"title\"];\nvar _hoisted_10 = {\n key: 0\n};\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = [\"href\"];\n\nvar _hoisted_13 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_14 = [\"href\"];\n\nvar _hoisted_15 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_16 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_17 = {\n key: 0\n};\nvar _hoisted_18 = [\"href\", \"title\"];\n\nvar _hoisted_19 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_20 = [\"href\"];\n\nvar _hoisted_21 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_22 = [\"href\"];\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n class: \"row\",\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\nvar _hoisted_25 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_26 = [\"href\", \"title\"];\nvar _hoisted_27 = {\n key: 0\n};\n\nvar _hoisted_28 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_29 = [\"href\"];\n\nvar _hoisted_30 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_31 = [\"href\"];\n\nvar _hoisted_32 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_33 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_34 = [\"title\", \"href\"];\nvar _hoisted_35 = {\n key: 0\n};\n\nvar _hoisted_36 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_37 = [\"title\"];\nvar _hoisted_38 = {\n key: 0\n};\n\nvar _hoisted_39 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_40 = [\"href\"];\n\nvar _hoisted_41 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_42 = [\"href\"];\n\nvar _hoisted_43 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$containerVersion, _ctx$containerVersion2;\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_EnrichedHeadline = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"EnrichedHeadline\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_intro = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-intro\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), !_ctx.isLoading ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_EnrichedHeadline, {\n \"feature-name\": \"Tag Manager\",\n \"inline-help\": _ctx.dashboardHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$container;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ContainerX', (_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : _ctx$container.name)), 1\n /* TEXT */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.containerMetaInformation) + \" \", 1\n /* TEXT */\n ), (_ctx$containerVersion = _ctx.containerVersion) !== null && _ctx$containerVersion !== void 0 && _ctx$containerVersion.description ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$containerVersion2 = _ctx.containerVersion) === null || _ctx$containerVersion2 === void 0 ? void 0 : _ctx$containerVersion2.description), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])], 512\n /* NEED_PATCH */\n ), [[_directive_content_intro]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.tagCount, \" \").concat(_ctx.translate('TagManager_Tags')),\n \"help-text\": _ctx.tagsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_ctx.tagCount ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedContainerVersionTags, function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageTags', {\n idTag: tag.idtag\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', tag.created_date_pretty, tag.updated_date_pretty, tag.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 9\n /* TEXT, PROPS */\n , _hoisted_9), index !== _ctx.sortedContainerVersionTags.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_10, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTags')\n }, [_hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditTags')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_12), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTags', {\n idTag: 0\n })\n }, [_hoisted_15, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTag')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_14)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.triggerCount, \" \").concat(_ctx.translate('TagManager_Triggers')),\n \"help-text\": _ctx.triggersHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_ctx.triggerCount ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_17, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTriggers, function (trigger, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageTriggers', {\n idTrigger: trigger.idtrigger\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', trigger.created_date_pretty, trigger.updated_date_pretty, trigger.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.name), 9\n /* TEXT, PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, \", \", 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index !== _ctx.sortedTriggers.length - 1]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), _hoisted_19, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTriggers')\n }, [_hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditTriggers')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTriggers', {\n idTrigger: 0\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTrigger')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_22)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.variableCount, \" \").concat(_ctx.translate('TagManager_Variables')),\n \"help-text\": _ctx.variablesHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVariables, function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageVariables', {\n idVariable: variable.idvariable\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', variable.created_date_pretty, variable.updated_date_pretty, variable.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 9\n /* TEXT, PROPS */\n , _hoisted_26), index !== _ctx.sortedVariables.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_27, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.variableCount]])]), _hoisted_28, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVariables')\n }, [_hoisted_30, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditVariables')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_29), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVariables', {\n idVariable: 0\n })\n }, [_hoisted_32, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_31)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.versionCount, \" \").concat(_ctx.translate('TagManager_Versions')),\n \"help-text\": _ctx.versionsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastVersions')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.lastVersions, function (lastVersion, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n title: _ctx.lastVersionLinkTitle(lastVersion),\n href: _ctx.linkTo('manageVersions', {\n idContainerVersion: lastVersion.idcontainerversion\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(lastVersion.name), 9\n /* TEXT, PROPS */\n , _hoisted_34), index !== _ctx.lastVersions.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_35, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.lastVersions.length]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [_hoisted_36, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environments')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.container.releases, function (release, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n title: _ctx.releaseTooltip(release)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 9\n /* TEXT, PROPS */\n , _hoisted_37), index !== _ctx.container.releases.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_38, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.container.releases.length]])]), _hoisted_39, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVersions')\n }, [_hoisted_41, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditVersions')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_40), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVersions', {\n idContainerVersion: 0\n })\n }, [_hoisted_43, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersion')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_42)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = [\"title\"];\nvar _hoisted_2 = {\n class: \"title\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon icon-chevron-down\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"dropdown positionInViewport\"\n};\nvar _hoisted_5 = {\n class: \"custom_select_container\"\n};\nvar _hoisted_6 = {\n class: \"custom_select_ul_list\"\n};\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = [\"href\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _directive_focus_anywhere_but_here = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"focus-anywhere-but-here\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"tagContainerSelector piwikSelector borderedControl\", {\n expanded: _ctx.showContainerList\n }]),\n onClick: _cache[1] || (_cache[1] = function ($event) {\n _ctx.fetchContainers();\n\n _ctx.showContainerList = !_ctx.showContainerList;\n }),\n title: _ctx.translate('TagManager_ChooseContainer')\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.actualContainerName), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n tabindex: \"-1\",\n onClick: _cache[0] || (_cache[0] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function () {}, [\"prevent\", \"stop\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoContainersFound')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.containers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containers, function (containerEntry) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n title: \"\".concat(containerEntry.name, \" (\").concat(containerEntry.idcontainer, \")\"),\n key: containerEntry.idcontainer\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo(containerEntry.idcontainer)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(containerEntry.name) + \" (\" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(containerEntry.idcontainer) + \") \", 9\n /* TEXT, PROPS */\n , _hoisted_8)], 8\n /* PROPS */\n , _hoisted_7);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showContainerList]])], 10\n /* CLASS, PROPS */\n , _hoisted_1)), [[_directive_focus_anywhere_but_here, {\n blur: _ctx.onBlur\n }]]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"nav-wrapper\"\n};\nvar _hoisted_2 = {\n class: \"pull-right\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"svg\", {\n \"aria-hidden\": \"true\",\n style: {\n \"position\": \"absolute\",\n \"width\": \"0\",\n \"height\": \"0\",\n \"overflow\": \"hidden\"\n },\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"defs\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"symbol\", {\n id: \"tm-icon-checkmark\",\n viewBox: \"0 0 32 32\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"path\", {\n d: \"M27 4l-15 15-7-7-5 5 12 12 20-20z\"\n})])])], -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"page\",\n style: {\n \"clear\": \"both\"\n }\n};\nvar _hoisted_5 = {\n key: 0,\n id: \"secondNavBar\",\n class: \"Menu--dashboard z-depth-1\"\n};\nvar _hoisted_6 = {\n class: \"navbar\",\n role: \"menu\",\n style: {\n \"padding\": \"0\"\n }\n};\nvar _hoisted_7 = {\n class: \"menuTab\",\n role: \"menuitem\"\n};\nvar _hoisted_8 = {\n class: \"item\",\n style: {\n \"font-weight\": \"normal\"\n }\n};\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" Events \");\n\nvar _hoisted_10 = {\n key: 0\n};\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_13 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: \"onlyfiredTags\",\n class: \"lbl-onlyfiredTags\"\n}, \"Only fired tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_14 = {\n key: 0,\n style: {\n \"padding\": \"0 0 1rem 1.2rem\"\n }\n};\nvar _hoisted_15 = [\"onClick\", \"title\"];\nvar _hoisted_16 = {\n title: \"This tag was fired\"\n};\n\nvar _hoisted_17 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"svg\", {\n class: \"tm-icon tm-icon-checkmark\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"use\", {\n \"xlink:href\": \"#tm-icon-checkmark\"\n})], -1\n/* HOISTED */\n);\n\nvar _hoisted_18 = [_hoisted_17];\nvar _hoisted_19 = {\n class: \"pageWrap\"\n};\nvar _hoisted_20 = {\n class: \"home\",\n id: \"content\"\n};\n\nvar _hoisted_21 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Fired Tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_22 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Action\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Fired count\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n key: 0\n};\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = [_hoisted_25];\n\nvar _hoisted_27 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", {\n style: {\n \"margin-top\": \"30px\"\n }\n}, \"Not Yet Fired Tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_28 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_29 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_30 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_31 = [_hoisted_30];\n\nvar _hoisted_32 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Triggers\", -1\n/* HOISTED */\n);\n\nvar _hoisted_33 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_34 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_35 = {\n key: 0\n};\n\nvar _hoisted_36 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No trigger\", -1\n/* HOISTED */\n);\n\nvar _hoisted_37 = [_hoisted_36];\nvar _hoisted_38 = {\n key: 1\n};\n\nvar _hoisted_39 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Pushed data by this event\", -1\n/* HOISTED */\n);\n\nvar _hoisted_40 = {\n class: \"entityTable\"\n};\nvar _hoisted_41 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\n\nvar _hoisted_42 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_43 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Content after this event\", -1\n/* HOISTED */\n);\n\nvar _hoisted_44 = {\n class: \"entityTable\"\n};\nvar _hoisted_45 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\nvar _hoisted_46 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_47 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Value\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_48 = {\n key: 0\n};\n\nvar _hoisted_49 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"3\"\n}, \"No variables\", -1\n/* HOISTED */\n);\n\nvar _hoisted_50 = [_hoisted_49];\nvar _hoisted_51 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\nvar _hoisted_52 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_53 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Time\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Message\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_54 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\n\nvar _hoisted_55 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$selectedEvent, _ctx$selectedEvent$ta, _ctx$selectedEvent2, _ctx$selectedEvent3, _ctx$selectedEvent4, _ctx$selectedEvent5, _ctx$selectedEvent5$c, _ctx$selectedEvent5$c2, _ctx$selectedEvent6, _ctx$selectedEvent6$c;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"nav\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"logo\")]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'tags' || !_ctx.contentTab\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.contentTab = 'tags';\n })\n }, \"Tags\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'triggers'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.contentTab = 'triggers';\n })\n }, \"Triggers\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'variables'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.contentTab = 'variables';\n })\n }, \"Variables\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'dataLayer'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.contentTab = 'dataLayer';\n })\n }, \"Data Layer\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'logs'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.contentTab = 'logs';\n })\n }, \"Logs\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n id: \"mtmUpdateDebugPosition\",\n onClick: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.mtmUpdateDebugPosition();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.positionText), 1\n /* TEXT */\n )])])])]), _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [_ctx.contentTab !== 'logs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [_hoisted_9, _ctx.mtmEvents.length > 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_10, [_hoisted_11, _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n type: \"checkbox\",\n class: \"onlyFiredTags-chk\",\n name: \"onlyfiredTags\",\n id: \"onlyfiredTags\",\n value: \"1\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = function ($event) {\n return _ctx.onlyfiredTags = $event;\n }),\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vModelCheckbox\"], _ctx.onlyfiredTags]]), _hoisted_13])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])]), _ctx.mtmEvents.length === 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", _hoisted_14, \"No event executed\")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.mtmEventsReversed, function (event, index) {\n var _event$metTrigger, _event$tags;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"menuTab\", {\n 'active': index === _ctx.selectedEventIndex\n }]),\n role: \"menuitem\",\n key: index\n }, [(event.tags || []).length || !_ctx.onlyfiredTags ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n class: \"item\",\n onClick: function onClick($event) {\n return _ctx.selectEvent(event.index0);\n },\n title: \"Time: \".concat(event.time, \". Trigger: \").concat((_event$metTrigger = event.metTrigger) === null || _event$metTrigger === void 0 ? void 0 : _event$metTrigger.name)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(event.index) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(event.name) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_16, _hoisted_18, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_event$tags = event.tags) === null || _event$tags === void 0 ? void 0 : _event$tags.length]])], 8\n /* PROPS */\n , _hoisted_15)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.homeTabTitle), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab !== 'logs']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_22, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent = _ctx.selectedEvent) !== null && _ctx$selectedEvent !== void 0 && (_ctx$selectedEvent$ta = _ctx$selectedEvent.tags) !== null && _ctx$selectedEvent$ta !== void 0 && _ctx$selectedEvent$ta.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_24, _hoisted_26)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(((_ctx$selectedEvent2 = _ctx.selectedEvent) === null || _ctx$selectedEvent2 === void 0 ? void 0 : _ctx$selectedEvent2.tags) || [], function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.action), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.type), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.numExecuted), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]), _hoisted_27, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_28, [_hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, _hoisted_31, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.notFiredTags.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.notFiredTags, function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.type), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'tags' || !_ctx.contentTab]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_32, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_33, [_hoisted_34, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent3 = _ctx.selectedEvent) !== null && _ctx$selectedEvent3 !== void 0 && _ctx$selectedEvent3.metTrigger) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_35, _hoisted_37)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (_ctx$selectedEvent4 = _ctx.selectedEvent) !== null && _ctx$selectedEvent4 !== void 0 && _ctx$selectedEvent4.metTrigger ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_38, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEvent.metTrigger.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEvent.metTrigger.type), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'triggers']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_39, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_40, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_41, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEventData), 1\n /* TEXT */\n )])])]), _hoisted_42, _hoisted_43, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_44, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_45, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEventContainerDataLayer), 1\n /* TEXT */\n )])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'dataLayer']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_46, [_hoisted_47, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent5 = _ctx.selectedEvent) !== null && _ctx$selectedEvent5 !== void 0 && (_ctx$selectedEvent5$c = _ctx$selectedEvent5.container) !== null && _ctx$selectedEvent5$c !== void 0 && (_ctx$selectedEvent5$c2 = _ctx$selectedEvent5$c.variables) !== null && _ctx$selectedEvent5$c2 !== void 0 && _ctx$selectedEvent5$c2.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_48, _hoisted_50)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(((_ctx$selectedEvent6 = _ctx.selectedEvent) === null || _ctx$selectedEvent6 === void 0 ? void 0 : (_ctx$selectedEvent6$c = _ctx$selectedEvent6.container) === null || _ctx$selectedEvent6$c === void 0 ? void 0 : _ctx$selectedEvent6$c.variables) || [], function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.type), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_51, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.stringifySelectedVariable(variable)), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'variables']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_52, [_hoisted_53, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.mtmLogs, function (log, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(log.time), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_54, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(log.messages, function (logMessage, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(logMessage), 1\n /* TEXT */\n ), _hoisted_55]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'logs']])])])])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"fieldVariableTemplate\"\n};\nvar _hoisted_2 = [\"type\", \"id\", \"name\", \"value\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"textarea\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"mergeProps\"])({\n class: \"control_\".concat(_ctx.uiControl, \" materialize-textarea\"),\n type: _ctx.uiControl,\n id: _ctx.name,\n name: _ctx.name,\n value: _ctx.modelValue,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n placeholder: \"\",\n style: {\n \"width\": \"calc(100% - 40px)\"\n }\n }, _ctx.uiControlAttributes, {\n ref: \"textarea\"\n }), null, 16\n /* FULL_PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-code\",\n style: {\n \"margin-top\": \"14px\",\n \"position\": \"absolute\"\n },\n title: _ctx.translate('TagManager_ChooseVariable'),\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.selectVariable();\n })\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_4)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"fieldVariableTemplate\"\n};\nvar _hoisted_2 = [\"type\", \"id\", \"name\", \"value\"];\nvar _hoisted_3 = [\"title\"];\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"mergeProps\"])({\n class: \"control_\".concat(_ctx.uiControl),\n type: _ctx.uiControl,\n id: _ctx.name,\n name: _ctx.name,\n value: _ctx.modelValueText,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n placeholder: \"\",\n style: {\n \"width\": \"calc(100% - 40px)\"\n }\n }, _ctx.uiControlAttributes, {\n ref: \"input\"\n }), null, 16\n /* FULL_PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-code\",\n title: _ctx.translate('TagManager_ChooseVariable'),\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.selectVariable();\n })\n }, null, 8\n /* PROPS */\n , _hoisted_3), _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_5)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VariableSelectType = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableSelectType\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableSelectType, {\n \"model-value\": _ctx.modelValue,\n id: _ctx.name,\n name: _ctx.name,\n \"variable-type-name\": _ctx.title,\n \"variable-type\": _ctx.uiControlAttributes.variableType,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.$emit('update:modelValue', $event);\n })\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"id\", \"name\", \"variable-type-name\", \"variable-type\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n style: {\n \"font-size\": \"0.8rem\"\n },\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_1)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerGettingStarted\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_7 = [\"innerHTML\"];\n\nvar _hoisted_8 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStarted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('CorePluginsAdmin_WhatIsTagManager')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhatIsIntro')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAnalyticsTracking')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedConversionTracking')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedNewsletterSignups')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedExitActions')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedRemarketing')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedSocialWidgets')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAffiliates')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAds')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAndMore')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedMainComponents')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedTagComponent')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedTriggerComponent')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedVariableComponent')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_GettingStartedWhyDoINeed')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyMakesLifeEasier')) + \" \", 1\n /* TEXT */\n ), _hoisted_3, _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyThirdPartySnippets')) + \" \", 1\n /* TEXT */\n ), _hoisted_5, _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyAccuracyPerformance')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), _ctx.canEdit ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n key: 0,\n \"content-title\": _ctx.translate('TagManager_GettingStartedHowDoI')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.gettingStartedHowCreateContainerText)\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedHowCopyCode')) + \" \", 1\n /* TEXT */\n ), _hoisted_8, _hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedHowAddTagsToContainer')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_GettingStartedWhatIfUnsupported')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedCustomTags')) + \" \", 1\n /* TEXT */\n ), _hoisted_10, _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.gettingStartedContributeTagsText)\n }, null, 8\n /* PROPS */\n , _hoisted_12)])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerImportVersion\"\n};\nvar _hoisted_2 = {\n class: \"ui-confirm\",\n id: \"confirmImportContainerVersion\",\n ref: \"confirmImportContainerVersion\"\n};\nvar _hoisted_3 = [\"value\"];\nvar _hoisted_4 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_ImportVersion')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionImportInfo')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isUpdating,\n \"loading-message\": _ctx.translate('TagManager_UpdatingData')\n }, null, 8\n /* PROPS */\n , [\"loading\", \"loading-message\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n modelValue: _ctx.backupName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.backupName = $event;\n }),\n name: \"backupName\",\n placeholder: ' ',\n title: _ctx.backupNameTitle,\n \"inline-help\": _ctx.translate('TagManager_BackupVersionNameHelp')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n modelValue: _ctx.importContent,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n return _ctx.importContent = $event;\n }),\n name: \"importContent\",\n placeholder: ' ',\n \"full-width\": true,\n title: _ctx.translate('TagManager_VersionImportContentTitle')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"importVersion\",\n disabled: !_ctx.importContent,\n onConfirm: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.importVersion(_ctx.backupName, _ctx.importContent);\n }),\n value: _ctx.translate('TagManager_VersionImportOverwriteContent')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"value\"])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfirmImportContainerVersion')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_4)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = [\"href\"];\nvar _hoisted_4 = [\"textContent\"];\nvar _hoisted_5 = {\n style: {\n \"margin-top\": \"1rem\"\n }\n};\nvar _hoisted_6 = [\"innerHTML\"];\n\nvar _hoisted_7 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_8 = {\n target: \"_blank\",\n href: \"https://matomo.org/faq/tag-manager/data-layer-in-matomo-tag-manager/\"\n};\nvar _hoisted_9 = {\n class: \"environment\"\n};\nvar _hoisted_10 = {\n class: \"name\"\n};\nvar _hoisted_11 = {\n class: \"name\"\n};\nvar _hoisted_12 = {\n class: \"released_by\"\n};\nvar _hoisted_13 = {\n class: \"released_on\"\n};\nvar _hoisted_14 = {\n key: 0\n};\nvar _hoisted_15 = {\n colspan: \"7\"\n};\nvar _hoisted_16 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_17 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_18 = {\n key: 1\n};\nvar _hoisted_19 = {\n colspan: \"7\"\n};\nvar _hoisted_20 = {\n class: \"environment\"\n};\nvar _hoisted_21 = {\n class: \"name\"\n};\nvar _hoisted_22 = {\n class: \"revision\"\n};\nvar _hoisted_23 = {\n class: \"released_by\"\n};\nvar _hoisted_24 = {\n class: \"released_on\"\n};\nvar _hoisted_25 = {\n class: \"date\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n class: \"manageInstallTagCode\",\n feature: \"Tag Manager\",\n \"content-title\": \"Install Code\"\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$container, _ctx$container$releas;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"model-value\": _ctx.environment,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.environment = $event;\n\n _ctx.fetchInstallInstructions(_ctx.environment);\n }),\n options: _ctx.environments,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.description) + \" \", 1\n /* TEXT */\n ), _hoisted_2, installInstruction.helpUrl ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n target: \"_blank\",\n href: installInstruction.helpUrl\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 9\n /* TEXT, PROPS */\n , _hoisted_3)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), installInstruction.embedCode ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"pre\", {\n key: 0,\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_4)), [[_directive_select_on_focus, {}]]) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_InstallCodePublishEnvironmentNote', 'preview')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_InstallCodeDataLayerNote', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_6), _hoisted_7, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_8, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasesOverview')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environment')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionName')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionRevision')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasedOn')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [_ctx.isLoading ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_16, [_hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.isLoading && ((_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : (_ctx$container$releas = _ctx$container.releases) === null || _ctx$container$releas === void 0 ? void 0 : _ctx$container$releas.length) === 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoReleasesFound')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedReleases, function (release) {\n var _ctx$releaseVersions$, _ctx$releaseVersions$2;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: release.idcontainerrelease\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_20, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$releaseVersions$ = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$ === void 0 ? void 0 : _ctx$releaseVersions$.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$releaseVersions$2 = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$2 === void 0 ? void 0 : _ctx$releaseVersions$2.revision), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(release.release_login), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(release.release_date_pretty), 1\n /* TEXT */\n )])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]])];\n }),\n _: 1\n /* STABLE */\n\n });\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c": -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"col s12 m6 input-field\"\n};\nvar _hoisted_2 = [\"name\", \"id\", \"value\"];\nvar _hoisted_3 = {\n class: \"col s12 m6 input-field\"\n};\nvar _hoisted_4 = [\"name\", \"id\", \"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n ref: \"dateInput\",\n type: \"text\",\n name: \"\".concat(_ctx.name, \"_date\"),\n id: \"\".concat(_ctx.name, \"_date\"),\n class: \"dateInput\",\n value: _ctx.dateText,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onDateKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onDateKeydown($event);\n })\n }, null, 40\n /* PROPS, HYDRATE_EVENTS */\n , _hoisted_2)]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n ref: \"timeInput\",\n type: \"text\",\n name: \"\".concat(_ctx.name, \"_time\"),\n id: \"\".concat(_ctx.name, \"_time\"),\n class: \"timeInput\",\n value: _ctx.timeText,\n onKeydown: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.onTimeKeydown($event);\n })\n }, null, 40\n /* PROPS, HYDRATE_EVENTS */\n , _hoisted_4)])], 64\n /* STABLE_FRAGMENT */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editTag tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"form-group row\"\n};\nvar _hoisted_12 = {\n class: \"col s12\"\n};\nvar _hoisted_13 = {\n class: \"form-group row tagStartDate\"\n};\nvar _hoisted_14 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_15 = {\n class: \"row\"\n};\nvar _hoisted_16 = {\n class: \"col s12\"\n};\nvar _hoisted_17 = {\n for: \"start_date_date\",\n class: \"active\"\n};\nvar _hoisted_18 = {\n class: \"tagStartDate\"\n};\nvar _hoisted_19 = {\n class: \"col s12 m6 \"\n};\nvar _hoisted_20 = {\n class: \"form-help\"\n};\nvar _hoisted_21 = {\n class: \"inline-help\"\n};\nvar _hoisted_22 = [\"innerHTML\"];\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = [\"innerHTML\"];\nvar _hoisted_25 = {\n class: \"form-group row tagEndDate\"\n};\nvar _hoisted_26 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_27 = {\n class: \"row\"\n};\nvar _hoisted_28 = {\n class: \"col s12\"\n};\nvar _hoisted_29 = {\n for: \"end_date_date\",\n class: \"active\"\n};\nvar _hoisted_30 = {\n class: \"tagEndDate\"\n};\nvar _hoisted_31 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_32 = {\n class: \"form-help\"\n};\nvar _hoisted_33 = {\n class: \"inline-help\"\n};\nvar _hoisted_34 = [\"innerHTML\"];\n\nvar _hoisted_35 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_36 = [\"innerHTML\"];\nvar _hoisted_37 = {\n class: \"entityCancel\"\n};\nvar _hoisted_38 = {\n id: \"confirmSelectTagType\"\n};\nvar _hoisted_39 = {\n class: \"collection-header\"\n};\nvar _hoisted_40 = [\"onClick\", \"title\"];\nvar _hoisted_41 = [\"src\"];\nvar _hoisted_42 = {\n class: \"title\"\n};\nvar _hoisted_43 = {\n class: \"secondary-content\"\n};\nvar _hoisted_44 = [\"title\"];\nvar _hoisted_45 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_TagTriggerArray = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagTriggerArray\");\n\n var _component_TagDateInput = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagDateInput\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$tag$typeMetadata, _ctx$tag$typeMetadata2, _ctx$tag$typeMetadata3, _ctx$tag$typeMetadata4, _ctx$tag$typeMetadata5, _ctx$tag$typeMetadata6, _ctx$tag$typeMetadata7, _ctx$tag$typeMetadata8;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[18] || (_cache[18] = function ($event) {\n return _ctx.edit ? _ctx.updateTag() : _ctx.createTag();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$tag$typeMetadata = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata === void 0 ? void 0 : _ctx$tag$typeMetadata.name,\n disabled: true,\n \"inline-help\": ((_ctx$tag$typeMetadata2 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata2 === void 0 ? void 0 : _ctx$tag$typeMetadata2.description) + ' ' + ((_ctx$tag$typeMetadata3 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata3 === void 0 ? void 0 : _ctx$tag$typeMetadata3.help),\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.tag.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.tag.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_TagNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.tag.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.tag.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_TagDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureWhatTagDoes')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata4 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata4 === void 0 ? void 0 : _ctx$tag$typeMetadata4.parameters.length]]), _ctx.tag ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$tag$typeMetadata5 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata5 === void 0 ? void 0 : _ctx$tag$typeMetadata5.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n _ctx.parameterValues[$event.name] = $event.value;\n\n _ctx.setValueHasChanged();\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureWhenTagDoes')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata6 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata6 === void 0 ? void 0 : _ctx$tag$typeMetadata6.parameters.length]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagTriggerArray, {\n \"container-triggers\": _ctx.containerTriggers,\n type: \"fire\",\n title: _ctx.translate('TagManager_FireTriggerTitle'),\n help: _ctx.translate('TagManager_FireTriggerHelp', _ctx.translate('TagManager_FireLimit')),\n \"model-value\": _ctx.fireTriggers,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = function ($event) {\n _ctx.fireTriggers = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onFireTriggerChange();\n }),\n onCreate: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.onCreateNewFireTrigger();\n }),\n onEdit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.editTrigger($event);\n })\n }, null, 8\n /* PROPS */\n , [\"container-triggers\", \"title\", \"help\", \"model-value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagTriggerArray, {\n \"container-triggers\": _ctx.containerTriggers,\n type: \"block\",\n title: _ctx.translate('TagManager_BlockTriggerTitle'),\n help: _ctx.translate('TagManager_BlockTriggerHelp'),\n \"model-value\": _ctx.blockTriggers,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = function ($event) {\n _ctx.blockTriggers = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onBlockTriggerChange();\n }),\n onCreate: _cache[7] || (_cache[7] = function ($event) {\n return _ctx.onCreateNewBlockTrigger();\n }),\n onEdit: _cache[8] || (_cache[8] = function ($event) {\n return _ctx.editTrigger($event);\n })\n }, null, 8\n /* PROPS */\n , [\"container-triggers\", \"title\", \"help\", \"model-value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: \"\",\n class: \"showAdvancedSettings\",\n onClick: _cache[9] || (_cache[9] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = true;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.showAdvanced]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: \"\",\n class: \"hideAdvancedSettings\",\n onClick: _cache[10] || (_cache[10] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = false;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced]])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata7 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata7 === void 0 ? void 0 : _ctx$tag$typeMetadata7.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"radio\",\n name: \"fire_limit\",\n \"model-value\": _ctx.tag.fire_limit,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = function ($event) {\n _ctx.tag.fire_limit = $event;\n\n _ctx.setValueHasChanged();\n }),\n options: _ctx.availableFireLimits,\n title: _ctx.translate('TagManager_FireLimit'),\n \"inline-help\": _ctx.fireLimitHelp\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"fire_delay\",\n \"model-value\": _ctx.tag.fire_delay,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = function ($event) {\n _ctx.tag.fire_delay = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 8,\n title: _ctx.translate('TagManager_FireDelay'),\n \"inline-help\": _ctx.translate('TagManager_FireDelayHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"priority\",\n \"model-value\": _ctx.tag.priority,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = function ($event) {\n _ctx.tag.priority = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 4,\n title: _ctx.translate('TagManager_Priority'),\n \"inline-help\": _ctx.translate('TagManager_PriorityHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_StartDate')) + \":\", 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagDateInput, {\n name: \"start_date\",\n \"model-value\": _ctx.tag.start_date,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = function ($event) {\n _ctx.tag.start_date = $event;\n\n _ctx.setValueHasChanged();\n }),\n \"default-time\": \"00:00:00\"\n }, null, 8\n /* PROPS */\n , [\"model-value\"])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagStartDateHelp', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_22), _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"currentLocalTime\",\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, ''))\n }, null, 8\n /* PROPS */\n , _hoisted_24)])])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_28, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EndDate')) + \":\", 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_30, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagDateInput, {\n name: \"end_date\",\n \"model-value\": _ctx.tag.end_date,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = function ($event) {\n _ctx.tag.end_date = $event;\n\n _ctx.setValueHasChanged();\n }),\n \"default-time\": \"23:59:59\"\n }, null, 8\n /* PROPS */\n , [\"model-value\"])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_31, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_32, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagEndDateHelp', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_34), _hoisted_35, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"currentLocalTime\",\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, ''))\n }, null, 8\n /* PROPS */\n , _hoisted_36)])])])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced && ((_ctx$tag$typeMetadata8 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata8 === void 0 ? void 0 : _ctx$tag$typeMetadata8.hasAdvancedSettings)]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[16] || (_cache[16] = function ($event) {\n return _ctx.edit ? _ctx.updateTag() : _ctx.createTag();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewTag')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_37, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[17] || (_cache[17] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseTagType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_38, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableTags, function (tagCategory) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: tagCategory.name\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_39, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tagCategory.types, function (tagTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _ctx.isTagTemplateDisabled[tagTemplate.id]\n }, \"templateType\".concat(tagTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createTagType(tagTemplate);\n },\n title: !_ctx.isTagTemplateDisabled[tagTemplate.id] ? '' : _ctx.collectionItemAvatarText\n }, [tagTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: tagTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_41)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_42, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], tagTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_43, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: tagTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_44)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!tagTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_40);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_45, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[19] || (_cache[19] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseTagType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerTagList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"5\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"5\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"triggers\"\n};\nvar _hoisted_17 = [\"onClick\"];\nvar _hoisted_18 = {\n key: 1,\n class: \"chip\"\n};\nvar _hoisted_19 = [\"onClick\"];\nvar _hoisted_20 = [\"title\"];\nvar _hoisted_21 = {\n class: \"action\"\n};\nvar _hoisted_22 = [\"onClick\", \"title\"];\nvar _hoisted_23 = [\"onClick\", \"title\"];\nvar _hoisted_24 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTag\",\n ref: \"confirmDeleteTag\"\n};\nvar _hoisted_27 = [\"value\"];\nvar _hoisted_28 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Tags')),\n \"help-text\": _ctx.tagsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TagUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"triggers\",\n title: _ctx.triggersTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Triggers')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTagsFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerTagNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createTag();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTagNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.tags.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTags, function (tag) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n class: \"tags\",\n key: tag.idtag,\n id: \"tag\".concat(tag.idtag)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: tag.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(tag.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: tag.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tag.fire_trigger_ids, function (fireTriggerId, fireTriggerIndex) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: fireTriggerIndex,\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, [_ctx.hasWriteAccess ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n style: {\n \"display\": \"inline-block\",\n \"vertical-align\": \"top !important\"\n },\n class: \"chip\",\n href: \"\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editTrigger(fireTriggerId);\n }, [\"prevent\"])\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[fireTriggerId]), 9\n /* TEXT, PROPS */\n , _hoisted_17)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.hasWriteAccess ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_18, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[fireTriggerId]), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Except')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tag.block_trigger_ids, function (blockTriggerId, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index,\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"chip\",\n href: \"\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editTrigger(blockTriggerId);\n }, [\"prevent\"])\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[blockTriggerId]), 9\n /* TEXT, PROPS */\n , _hoisted_19), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"chip\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[blockTriggerId]), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.hasWriteAccess]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], tag.block_trigger_ids.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', tag.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editTag(tag.idtag, tag.type);\n },\n title: _ctx.translate('TagManager_EditTag')\n }, null, 8\n /* PROPS */\n , _hoisted_22), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteTag(tag);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Tag'))\n }, null, 8\n /* PROPS */\n , _hoisted_23)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTag\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createTag();\n })\n }, [_hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTag')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteTagConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_27), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_28)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageTag\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TagList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagList\");\n\n var _component_TagEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagList, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"tags-help-text\": _ctx.tagsHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"tags-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-tag\": _ctx.idTag\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"id-tag\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_2 = [\"for\"];\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = [\"name\"];\nvar _hoisted_5 = [\"onClick\", \"title\"];\nvar _hoisted_6 = [\"onClick\", \"title\"];\nvar _hoisted_7 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_8 = {\n class: \"form-help\"\n};\nvar _hoisted_9 = {\n class: \"inline-help\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"form-group row\", \"\".concat(_ctx.type, \"Triggers\")])\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: \"\".concat(_ctx.type, \"_triggers\")\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.title), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTriggersFound')) + \". \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTrigger\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.$emit('create');\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.containerTriggers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.modelValue, function (idTrigger, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"multiple valign-wrapper\", \"\".concat(_ctx.type, \"Trigger \").concat(_ctx.type, \"Trigger\").concat(index)]),\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"innerFormField\",\n name: \"\".concat(_ctx.type, \"_triggers\")\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"\".concat(_ctx.type, \"_triggers\"),\n \"model-value\": idTrigger,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n return _ctx.onChangeTrigger($event, index);\n },\n \"full-width\": true,\n options: _ctx.containerTriggers\n }, null, 8\n /* PROPS */\n , [\"name\", \"model-value\", \"onUpdate:modelValue\", \"options\"])], 8\n /* PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit valign\",\n onClick: function onClick($event) {\n return _ctx.$emit('edit', idTrigger);\n },\n title: _ctx.translate('General_Edit')\n }, null, 8\n /* PROPS */\n , _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], idTrigger]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeTrigger(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_6), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index + 1 !== _ctx.modelValue.length]])], 2\n /* CLASS */\n )), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.containerTriggers.length]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.help) + \" \", 1\n /* TEXT */\n ), _hoisted_10, _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createTriggerInHelp\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.$emit('create');\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1\n /* TEXT */\n )])])])], 2\n /* CLASS */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerTrackingCode\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TrackingCodeCommon = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TrackingCodeCommon\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TrackingCodeCommon, {\n \"show-container-row\": _ctx.showContainerRow,\n showBottom: true,\n showDescription: true,\n onFetchInstallInstructions: _ctx.fetchInstallInstructions,\n ref: \"trackingCodeCommon\"\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"onFetchInstallInstructions\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerTrackingCode\"\n};\nvar _hoisted_2 = {\n key: 1,\n class: \"row\"\n};\nvar _hoisted_3 = {\n class: \"col s12 m4 \"\n};\nvar _hoisted_4 = {\n class: \"form-group row\"\n};\nvar _hoisted_5 = {\n class: \"col s12 input-field\"\n};\nvar _hoisted_6 = {\n for: \"tagManagerTrackingCodeSite\",\n class: \"siteSelectorLabel\"\n};\nvar _hoisted_7 = {\n class: \"sites_autocomplete\"\n};\nvar _hoisted_8 = {\n class: \"col s12 m4\"\n};\nvar _hoisted_9 = {\n class: \"col s12 m4\"\n};\nvar _hoisted_10 = {\n key: 2,\n class: \"alert alert-info\"\n};\nvar _hoisted_11 = {\n href: \"\"\n};\nvar _hoisted_12 = {\n key: 0\n};\nvar _hoisted_13 = [\"href\"];\n\nvar _hoisted_14 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\". \");\n\nvar _hoisted_15 = [\"textContent\"];\nvar _hoisted_16 = {\n key: 3\n};\nvar _hoisted_17 = {\n key: 0\n};\nvar _hoisted_18 = {\n key: 1\n};\nvar _hoisted_19 = {\n key: 2\n};\nvar _hoisted_20 = {\n key: 0\n};\nvar _hoisted_21 = [\"href\"];\n\nvar _hoisted_22 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_23 = {\n key: 3\n};\nvar _hoisted_24 = [\"href\"];\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-show\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_SiteSelector = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SiteSelector\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [_ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ActivityIndicator, {\n key: 0,\n style: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeStyle\"])({\n opacity: _ctx.isLoading ? 1 : 0\n }),\n loading: true\n }, null, 8\n /* PROPS */\n , [\"style\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Website')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SiteSelector, {\n id: \"tagManagerTrackingCodeSite\",\n modelValue: _ctx.site,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.site = $event;\n }),\n \"show-all-sites-item\": false,\n \"switch-site-on-select\": false,\n \"show-selected-site\": true\n }, null, 8\n /* PROPS */\n , [\"modelValue\"])])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"containers\",\n \"model-value\": _ctx.idContainer,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.idContainer = $event;\n\n _ctx.onContainerChange();\n }),\n options: _ctx.containerOptions,\n disabled: _ctx.containerOptions.length <= 1,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Container')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"disabled\", \"title\"])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"model-value\": _ctx.environment,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = function ($event) {\n _ctx.environment = $event;\n\n _this.$emit('fetchInstallInstructions');\n }),\n options: _ctx.environments,\n disabled: _ctx.environments.length <= 1,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"disabled\", \"title\"])])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer && _ctx.noReleaseFound ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoReleasesFoundForContainer')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishVersionToEnvironmentToViewEmbedCode')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [_ctx.showDescription ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.description) + \" \", 1\n /* TEXT */\n ), installInstruction.helpUrl ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n target: \"_blank\",\n href: installInstruction.helpUrl\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 9\n /* TEXT, PROPS */\n , _hoisted_13)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _hoisted_14])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"pre\", {\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_15), [[_directive_select_on_focus, {}]])]);\n }), 128\n /* KEYED_FRAGMENT */\n )), _ctx.showBottom ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_16, [_ctx.idContainer && _ctx.currentAction !== 'siteWithoutDataTabs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"h3\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomizeTracking')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_18, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomizeTrackingTeaser')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", _hoisted_19, [!_ctx.matomoConfigs.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", _hoisted_20, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoMatomoConfigFoundForContainer')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.matomoConfigs, function (matomoConfig) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: matomoConfig.idvariable\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageVariables', _ctx.idContainer, {\n idVariable: matomoConfig.idvariable\n })\n }, [_hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(matomoConfig.name), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_21)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_23, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('dashboard', _ctx.idContainer)\n }, [_hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ViewContainerDashboard')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_24)])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n key: 0\n};\nvar _hoisted_2 = [\"innerHTML\"];\nvar _hoisted_3 = [\"innerHTML\"];\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = [\"innerHTML\"];\n\nvar _hoisted_6 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_7 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TagmanagerTrackingCode = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagmanagerTrackingCode\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return _ctx.currentAction === 'siteWithoutDataTabs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine1)\n }, null, 8\n /* PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine2)\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagmanagerTrackingCode, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\"])])) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n key: 1,\n anchor: \"tagmanager\",\n \"content-title\": _ctx.translate('TagManager_MatomoTagManager')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [_hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine1)\n }, null, 8\n /* PROPS */\n , _hoisted_5), _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine2)\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagmanagerTrackingCode, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\"])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]));\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232": -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232 ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"list-style-decimal\"\n};\nvar _hoisted_2 = [\"innerHTML\"];\nvar _hoisted_3 = [\"innerHTML\"];\nvar _hoisted_4 = [\"innerHTML\"];\nvar _hoisted_5 = [\"textContent\"];\nvar _hoisted_6 = [\"innerHTML\"];\nvar _hoisted_7 = [\"textContent\"];\nvar _hoisted_8 = [\"innerHTML\"];\nvar _hoisted_9 = [\"innerHTML\"];\nvar _hoisted_10 = [\"innerHTML\"];\nvar _hoisted_11 = [\"textContent\"];\nvar _hoisted_12 = {\n style: {\n \"list-style\": \"lower-alpha\",\n \"list-style-position\": \"inside\",\n \"text-indent\": \"1.2rem\"\n }\n};\nvar _hoisted_13 = [\"innerHTML\"];\nvar _hoisted_14 = [\"innerHTML\"];\nvar _hoisted_15 = [\"innerHTML\"];\nvar _hoisted_16 = [\"textContent\"];\nvar _hoisted_17 = [\"textContent\"];\nvar _hoisted_18 = [\"innerHTML\"];\nvar _hoisted_19 = [\"textContent\"];\nvar _hoisted_20 = [\"innerHTML\"];\nvar _hoisted_21 = [\"innerHTML\"];\nvar _hoisted_22 = [\"textContent\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TrackingCodeCommon = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TrackingCodeCommon\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ol\", _hoisted_1, [_ctx.showContainerRow ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 0,\n innerHTML: _ctx.$sanitize(_ctx.setupStep1)\n }, null, 8\n /* PROPS */\n , _hoisted_2)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TrackingCodeCommon, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction,\n showBottom: false,\n showDescription: false,\n onFetchInstallInstructions: _ctx.fetchInstallInstructionsSPA,\n ref: \"trackingCodeCommon\"\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\", \"onFetchInstallInstructions\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.setupStep2)\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep3)\n }, null, 8\n /* PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep5)\n }, null, 8\n /* PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\" Since both the buttons has same text we are using the step4's text here \"), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.setupStep7)\n }, null, 8\n /* PROPS */\n , _hoisted_8), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep8)\n }, null, 8\n /* PROPS */\n , _hoisted_9), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep9)\n }, null, 8\n /* PROPS */\n , _hoisted_10), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep10)\n }, null, 8\n /* PROPS */\n , _hoisted_11), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ol\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10a)\n }, null, 8\n /* PROPS */\n , _hoisted_13), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10b)\n }, null, 8\n /* PROPS */\n , _hoisted_14)])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep11)\n }, null, 8\n /* PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('General_Update'))\n }, null, 8\n /* PROPS */\n , _hoisted_16), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep13)\n }, null, 8\n /* PROPS */\n , _hoisted_17), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep14)\n }, null, 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep15)\n }, null, 8\n /* PROPS */\n , _hoisted_19), _ctx.jsFramework === 'react' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 1,\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16React)\n }, null, 8\n /* PROPS */\n , _hoisted_20)) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 2,\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16SPA)\n }, null, 8\n /* PROPS */\n , _hoisted_21)), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"pre\", {\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_22), [[_directive_select_on_focus, {}]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editTrigger tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"form-group row multiple\"\n};\nvar _hoisted_12 = {\n class: \"col s12 m12\"\n};\nvar _hoisted_13 = {\n class: \"innerFormField\"\n};\nvar _hoisted_14 = {\n class: \"innerFormField comparisonField\"\n};\nvar _hoisted_15 = {\n class: \"innerFormField\"\n};\nvar _hoisted_16 = [\"onClick\", \"title\"];\nvar _hoisted_17 = {\n class: \"triggerConditionNode\"\n};\nvar _hoisted_18 = {\n class: \"entityCancel\"\n};\nvar _hoisted_19 = {\n id: \"confirmSelectTriggerType\"\n};\nvar _hoisted_20 = {\n class: \"collection-header\"\n};\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = [\"src\"];\nvar _hoisted_23 = {\n class: \"title\"\n};\nvar _hoisted_24 = {\n class: \"secondary-content\"\n};\nvar _hoisted_25 = [\"title\"];\nvar _hoisted_26 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$trigger$typeMeta, _ctx$trigger$typeMeta2, _ctx$trigger$typeMeta3, _ctx$trigger$typeMeta4, _ctx$trigger$typeMeta5, _ctx$trigger$typeMeta6, _ctx$trigger$typeMeta7, _ctx$trigger$typeMeta8;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$trigger$typeMeta = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta === void 0 ? void 0 : _ctx$trigger$typeMeta.name,\n disabled: true,\n \"inline-help\": \"\".concat((_ctx$trigger$typeMeta2 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta2 === void 0 ? void 0 : _ctx$trigger$typeMeta2.description, \" \").concat((_ctx$trigger$typeMeta3 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta3 === void 0 ? void 0 : _ctx$trigger$typeMeta3.help),\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.trigger.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.trigger.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_TriggerNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.trigger.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.trigger.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_TriggerDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureThisTrigger')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta4 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta4 === void 0 ? void 0 : (_ctx$trigger$typeMeta5 = _ctx$trigger$typeMeta4.parameters) === null || _ctx$trigger$typeMeta5 === void 0 ? void 0 : _ctx$trigger$typeMeta5.length]]), _ctx.trigger ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$trigger$typeMeta6 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta6 === void 0 ? void 0 : _ctx$trigger$typeMeta6.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.parameterValues[$event.name] = $event.value;\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_OnlyTriggerWhen')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('Goals_Optional')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta7 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta7 === void 0 ? void 0 : _ctx$trigger$typeMeta7.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerConditionsHelp')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.trigger.conditions, function (condition, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"condition multiple valign-wrapper\", \"condition\".concat(index)])\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"expandable-select\",\n name: \"condition_actual\",\n \"model-value\": condition.actual,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.actual = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableVariables,\n title: _ctx.variableIdToName[condition.actual] || condition.actual\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"condition_comparison\",\n \"model-value\": condition.comparison,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.comparison = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableComparisons\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"condition_expected\",\n \"model-value\": condition.expected,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.expected = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onConditionChange();\n },\n \"full-width\": true\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeConditionEntry(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_16), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !(index + 1 === _ctx.trigger.conditions.length)]])], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerConditionNode')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta8 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta8 === void 0 ? void 0 : _ctx$trigger$typeMeta8.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.saveButtonText\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseTriggerType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableTriggers, function (triggerCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(triggerCategory.types, function (triggerTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _ctx.isTriggerTemplateDisabled[triggerTemplate.id]\n }, \"templateType\".concat(triggerTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createTriggerType(triggerTemplate);\n },\n key: index,\n title: !_ctx.isTriggerTemplateDisabled[triggerTemplate.id] ? '' : _ctx.collectionItemAvatarText\n }, [triggerTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: triggerTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_22)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], triggerTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: triggerTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_25)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!triggerTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_21);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseTriggerType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerTriggerList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"conditions\"\n};\nvar _hoisted_17 = {\n class: \"icon-ok\"\n};\nvar _hoisted_18 = [\"title\"];\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTrigger\",\n ref: \"confirmDeleteTrigger\"\n};\nvar _hoisted_25 = [\"value\"];\nvar _hoisted_26 = [\"value\"];\nvar _hoisted_27 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTriggerNotPossible\",\n ref: \"confirmDeleteTriggerNotPossible\"\n};\nvar _hoisted_28 = {\n class: \"collection\"\n};\nvar _hoisted_29 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Triggers')),\n \"help-text\": _ctx.triggersHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"conditions\",\n title: _ctx.filterTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Filter')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTriggersFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerTriggerNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createTrigger();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.triggers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTriggers, function (trigger) {\n var _trigger$conditions;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"trigger\".concat(trigger.idtrigger),\n class: \"triggers\",\n key: trigger.idtrigger\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: trigger.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(trigger.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: trigger.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_17, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_trigger$conditions = trigger.conditions) === null || _trigger$conditions === void 0 ? void 0 : _trigger$conditions.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', trigger.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editTrigger(trigger.idtrigger, trigger.type);\n },\n title: _ctx.translate('TagManager_EditTrigger')\n }, null, 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteTrigger(trigger);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Trigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_21)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_22, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTrigger\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createTrigger();\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTrigger')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteTriggerConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_25), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_26)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerCannotBeDeleted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerBeingUsedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_28, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.triggerReferences, function (reference) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: reference.referenceId\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceTypeName) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceName), 1\n /* TEXT */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerBeingUsedNeedsRemove')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_29)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageTrigger\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TriggerList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TriggerList\");\n\n var _component_TriggerEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TriggerEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TriggerList, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"triggers-help-text\": _ctx.triggersHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"triggers-help-text\"])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.editMode]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TriggerEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-trigger\": _ctx.idTrigger\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"id-trigger\"])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.editMode]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906 ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editVariable tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n key: 0,\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 1\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"innerFormField\"\n};\nvar _hoisted_12 = {\n class: \"form-group row\"\n};\nvar _hoisted_13 = {\n class: \"col s12 m12\"\n};\nvar _hoisted_14 = {\n for: \"lookup_table\"\n};\nvar _hoisted_15 = {\n class: \"innerFormField comparisonField\"\n};\nvar _hoisted_16 = {\n class: \"innerFormField\"\n};\nvar _hoisted_17 = {\n class: \"innerFormField\"\n};\nvar _hoisted_18 = [\"onClick\", \"title\"];\nvar _hoisted_19 = {\n class: \"entityCancel\"\n};\nvar _hoisted_20 = {\n id: \"confirmSelectVariableType\"\n};\nvar _hoisted_21 = {\n class: \"collection-header\"\n};\nvar _hoisted_22 = [\"onClick\", \"title\"];\nvar _hoisted_23 = [\"src\"];\nvar _hoisted_24 = {\n class: \"title\"\n};\nvar _hoisted_25 = {\n class: \"secondary-content\"\n};\nvar _hoisted_26 = [\"title\"];\nvar _hoisted_27 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$variable$typeMet, _ctx$variable$typeMet2, _ctx$variable$typeMet3, _ctx$variable$typeMet4, _ctx$variable$typeMet5, _ctx$variable$typeMet6;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[8] || (_cache[8] = function ($event) {\n return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$variable$typeMet = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet === void 0 ? void 0 : _ctx$variable$typeMet.name,\n disabled: true,\n \"inline-help\": _ctx.typeInlineHelp,\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.variable.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.variable.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_VariableNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.variable.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.variable.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_VariableDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), (_ctx$variable$typeMet2 = _ctx.variable.typeMetadata) !== null && _ctx$variable$typeMet2 !== void 0 && (_ctx$variable$typeMet3 = _ctx$variable$typeMet2.parameters) !== null && _ctx$variable$typeMet3 !== void 0 && _ctx$variable$typeMet3.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureThisVariable')), 1\n /* TEXT */\n )])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.variable ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$variable$typeMet4 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet4 === void 0 ? void 0 : _ctx$variable$typeMet4.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.parameterValues[$event.name] = $event.value;\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"showAdvancedSettings\",\n onClick: _cache[3] || (_cache[3] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = true;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.showAdvanced]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"hideAdvancedSettings\",\n onClick: _cache[4] || (_cache[4] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = false;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced]])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$variable$typeMet5 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet5 === void 0 ? void 0 : _ctx$variable$typeMet5.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"default_value\",\n \"model-value\": _ctx.variable.default_value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = function ($event) {\n _ctx.variable.default_value = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('TagManager_DefaultValue'),\n \"inline-help\": _ctx.translate('TagManager_DefaultValueHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_14, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LookupTableTitle')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.variable.lookup_table, function (lookup, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(\"lookupTable lookupTable\".concat(index, \" multiple valign-wrapper\"))\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"lookup_table_comparison\",\n \"model-value\": lookup.comparison,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.comparison = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableLookUpComparisons\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"lookup_table_matchvalue\",\n \"model-value\": lookup.match_value,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.match_value = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n placeholder: _ctx.translate('TagManager_LookupTableMatchValue')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"placeholder\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_17, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"lookup_table_outvalue\",\n \"model-value\": lookup.out_value,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.out_value = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n placeholder: _ctx.translate('TagManager_LookupTableOutValue')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"placeholder\"])]), !(index + 1 === _ctx.variable.lookup_table.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeLookUpEntry(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_18)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced && ((_ctx$variable$typeMet6 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet6 === void 0 ? void 0 : _ctx$variable$typeMet6.hasAdvancedSettings)]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewVariable')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[7] || (_cache[7] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.cancel();\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseVariableType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableVariables, function (variableCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _this.isVariableTemplateDisabled[variableTemplate.id]\n }, \"templateType\".concat(variableTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createVariableType(variableTemplate);\n },\n title: !_this.isVariableTemplateDisabled[variableTemplate.id] ? '' : _ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))\n }, [variableTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: variableTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_23)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_24, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_26)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_22);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[9] || (_cache[9] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.cancel();\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseVariableType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerVariableList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"lookupTable\"\n};\nvar _hoisted_17 = {\n class: \"icon-ok\"\n};\nvar _hoisted_18 = [\"title\"];\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = [\"title\"];\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-help preconfiguredVariablesHelp\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = {\n class: \"collection-header\"\n};\nvar _hoisted_27 = {\n class: \"title\"\n};\nvar _hoisted_28 = [\"textContent\"];\nvar _hoisted_29 = {\n class: \"secondary-content\"\n};\nvar _hoisted_30 = [\"title\"];\nvar _hoisted_31 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVariable\",\n ref: \"confirmDeleteVariable\"\n};\nvar _hoisted_32 = [\"value\"];\nvar _hoisted_33 = [\"value\"];\nvar _hoisted_34 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVariableNotPossible\",\n ref: \"confirmDeleteVariableNotPossible\"\n};\nvar _hoisted_35 = {\n class: \"collection\"\n};\nvar _hoisted_36 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n class: \"tagManagerCustomVariablesList\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Variables')),\n \"help-text\": _ctx.variablesHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lookupTable\",\n title: _ctx.lookupTableTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LookupTable')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoVariablesFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerVariableNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVariable();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariableNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && !_ctx.variables.length]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVariables, function (variable) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"variable\".concat(variable.idvariable),\n class: \"variables\",\n key: variable.idvariable\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: variable.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(variable.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: variable.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_17, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variable.lookup_table.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', variable.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editVariable(variable.idvariable, variable.type);\n },\n title: _ctx.translate('TagManager_EditVariable')\n }, null, 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteVariable(variable);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Variable'))\n }, null, 8\n /* PROPS */\n , _hoisted_21)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_22, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", {\n title: _ctx.translate('TagManager_PreConfiguredInfoTitle')\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PreconfiguredVariables')) + \" \", 1\n /* TEXT */\n ), _hoisted_25], 8\n /* PROPS */\n , _hoisted_24), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containerVariables, function (variableCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: variableTemplate.id\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"variableId\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(\"{{\".concat(variableTemplate.id, \"}}\"))\n }, null, 8\n /* PROPS */\n , _hoisted_28)]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_29, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.description\n }, null, 8\n /* PROPS */\n , _hoisted_30)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.description]])], 512\n /* NEED_PATCH */\n )), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.is_pre_configured]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_31, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteVariableConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_32), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_33)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_34, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableCannotBeDeleted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableBeingUsedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_35, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.variableReferences, function (reference) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: \"\".concat(reference.referenceType, \".\").concat(reference.referenceId)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceTypeName) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceName), 1\n /* TEXT */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableBeingUsedNeedsRemove')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_36)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageVariable\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VariableList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableList\");\n\n var _component_VariableEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableList, {\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-container\": _ctx.idContainer,\n \"variables-help-text\": _ctx.variablesHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container-version\", \"id-container\", \"variables-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableEdit, {\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-container\": _ctx.idContainer,\n \"id-variable\": _ctx.idVariable\n }, null, 8\n /* PROPS */\n , [\"id-container-version\", \"id-container\", \"id-variable\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageSelect tagManagerVariableSelect\"\n};\nvar _hoisted_2 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"collection with-header\"\n};\nvar _hoisted_5 = {\n class: \"collection-header\"\n};\nvar _hoisted_6 = [\"onClick\"];\nvar _hoisted_7 = {\n class: \"title\"\n};\nvar _hoisted_8 = {\n class: \"secondary-content\"\n};\nvar _hoisted_9 = [\"onClick\", \"title\"];\nvar _hoisted_10 = {\n class: \"collection-header\"\n};\nvar _hoisted_11 = [\"onClick\"];\nvar _hoisted_12 = {\n class: \"title\"\n};\nvar _hoisted_13 = {\n class: \"secondary-content\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_16 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomVariables')), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containerVariables, function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n onClick: function onClick($event) {\n return _ctx.selectVariable(variable);\n },\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_7, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name) + \" (\" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.type) + \") \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-edit\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editVariable(variable);\n }, [\"stop\"]),\n title: _ctx.translate('General_Edit')\n }, null, 8\n /* PROPS */\n , _hoisted_9)])], 8\n /* PROPS */\n , _hoisted_6);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PreconfiguredVariables')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.preconfiguredVariables, function (variableCategory) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: variableCategory.name\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: index,\n onClick: function onClick($event) {\n return _ctx.selectVariable(variableTemplate);\n }\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.description\n }, null, 8\n /* PROPS */\n , _hoisted_14)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.description]])], 8\n /* PROPS */\n , _hoisted_11)), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.is_pre_configured]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_16, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable', _ctx.translate('TagManager_Variable'))), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageSelect tagManagerVariableSelectType\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"variableType\".concat(_ctx.variableType),\n class: \"selectVariableType\",\n \"model-value\": _ctx.modelValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onChange($event);\n }),\n \"full-width\": true,\n options: _ctx.containerVariables\n }, null, 8\n /* PROPS */\n , [\"name\", \"model-value\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[1] || (_cache[1] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.createVariable();\n }, [\"prevent\"]))\n }, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n id: \"selectTagManagerEnvironmentHelp\",\n class: \"inline-help-node\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionEnvironmentHelp')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-info\",\n style: {\n \"margin-bottom\": \"0\",\n \"padding-bottom\": \"0\"\n }\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.canPublishToLive]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"editVersion tagManagerManageEdit\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n key: 0\n};\nvar _hoisted_7 = {\n key: 2,\n class: \"versionChanges\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n colspan: \"4\"\n};\nvar _hoisted_10 = {\n key: 1\n};\nvar _hoisted_11 = {\n colspan: \"4\"\n};\nvar _hoisted_12 = {\n class: \"lastUpdated\"\n};\nvar _hoisted_13 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$version$environm;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"inline-help\": _ctx.versionNameHelpText,\n \"inline-help-bind\": {\n lastVersion: _ctx.lastVersion\n },\n \"model-value\": _ctx.version.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.version.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 30,\n title: _ctx.translate('TagManager_VersionName')\n }, null, 8\n /* PROPS */\n , [\"inline-help\", \"inline-help-bind\", \"model-value\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.version.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.version.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('TagManager_VersionDescription'),\n \"inline-help\": _ctx.translate('TagManager_VersionDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton no-publish\",\n onConfirm: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateVersionWithoutPublishing')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), _ctx.create && _ctx.environments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"inline-help\": _ctx.selectTagManagerEnvironmentHelp,\n \"inline-help-bind\": {\n canPublishToLive: _ctx.canPublishToLive\n },\n \"model-value\": (_ctx$version$environm = _ctx.version.environments) === null || _ctx$version$environm === void 0 ? void 0 : _ctx$version$environm[0],\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = function ($event) {\n _ctx.version.environments[0] = $event;\n\n _ctx.setValueHasChanged();\n }),\n options: _ctx.environments,\n introduction: _ctx.translate('TagManager_OrCreateAndPublishVersion'),\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"inline-help\", \"inline-help-bind\", \"model-value\", \"options\", \"introduction\", \"title\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.create && _ctx.environments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_SaveButton, {\n key: 1,\n class: \"publishButton\",\n onConfirm: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.createVersionAndPublish();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.translate('TagManager_CreateVersionAndPublishRelease')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.lastVersion ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ChangesSinceLastVersion')) + \":\", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('SitesManager_Type')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Change')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [_ctx.isLoadingVersionChanges ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n \"loading-message\": _ctx.translate('TagManager_DetectingChanges'),\n loading: true\n }, null, 8\n /* PROPS */\n , [\"loading-message\"])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.versionChanges.length && !_ctx.isLoadingVersionChanges ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('UserCountryMap_None')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.versionChanges, function (versionChange, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate(versionChange.entityType)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(versionChange.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate(versionChange.type)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(versionChange.lastChanged), 1\n /* TEXT */\n )])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 32\n /* HYDRATE_EVENTS */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerVersionList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"index\"\n};\nvar _hoisted_14 = {\n class: \"name\"\n};\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"environments\"\n};\nvar _hoisted_17 = [\"title\"];\nvar _hoisted_18 = {\n class: \"created\"\n};\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = [\"onClick\", \"href\", \"title\"];\nvar _hoisted_23 = [\"onClick\", \"title\"];\nvar _hoisted_24 = [\"onClick\", \"title\"];\nvar _hoisted_25 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_26 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_27 = [\"href\"];\n\nvar _hoisted_28 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-export\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_29 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-upload\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_30 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVersion\",\n ref: \"confirmDeleteVersion\"\n};\nvar _hoisted_31 = [\"value\"];\nvar _hoisted_32 = [\"value\"];\nvar _hoisted_33 = {\n class: \"ui-confirm\",\n id: \"confirmPublishVersion\",\n ref: \"confirmPublishVersion\"\n};\nvar _hoisted_34 = {\n key: 0,\n class: \"alert alert-info\",\n style: {\n \"margin-top\": \"16px\"\n }\n};\nvar _hoisted_35 = [\"value\"];\nvar _hoisted_36 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$versionToBePubli;\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Versions')),\n \"help-text\": _ctx.versionsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionUsageBenefits')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"index\",\n title: _ctx.revisionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Revision')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"environments\",\n title: _ctx.environmentTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environments')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"created\",\n title: _ctx.createdTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Created')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7)])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoVersionsFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerVersionNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVersion();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersionNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.versions.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVersions, function (version) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"version\".concat(version.idcontainerversion),\n class: \"versions\",\n key: version.revision\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.revision), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_14, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: version.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(version.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(version.releases, function (release, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index,\n title: _ctx.translate('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, \", \", 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index !== version.releases.length - 1]])], 8\n /* PROPS */\n , _hoisted_17);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.created_date_pretty), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-rocket\",\n onClick: function onClick($event) {\n return _ctx.publishVersion(version);\n },\n title: _ctx.translate('TagManager_PublishVersion', version.name)\n }, null, 8\n /* PROPS */\n , _hoisted_20), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-bug\",\n onClick: function onClick($event) {\n return _ctx.enableDebugMode(version.idcontainerversion);\n },\n title: _ctx.translate('TagManager_EnablePreviewDebug')\n }, null, 8\n /* PROPS */\n , _hoisted_21), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n target: \"_blank\",\n class: \"table-action icon-export\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n _ctx.exportVersion(version.idcontainerversion, version.name);\n }, [\"prevent\"]),\n href: _ctx.getExportUrl(version),\n title: _ctx.translate('TagManager_ExportX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_22), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editVersion(version.idcontainerversion);\n },\n title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_23), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteVersion(version);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_24), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], version.releases.length === 0 && _ctx.hasWriteAccess]])])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVersion\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVersion();\n })\n }, [_hoisted_26, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersion')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"exportDraft\",\n target: \"_blank\",\n onClick: _cache[2] || (_cache[2] = function ($event) {\n _ctx.exportVersion(null, 'draft');\n\n $event.preventDefault();\n }),\n href: _ctx.getExportDraftUrl()\n }, [_hoisted_28, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ExportDraft')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_27), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"importVersion\",\n onClick: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.importVersion();\n })\n }, [_hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Import')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_30, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteVersionConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_31), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_32)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishVersion', (_ctx$versionToBePubli = _ctx.versionToBePublished) === null || _ctx$versionToBePubli === void 0 ? void 0 : _ctx$versionToBePubli.name)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n modelValue: _ctx.availableEnvironmentsToPublish.deployEnvironment,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = function ($event) {\n return _ctx.availableEnvironmentsToPublish.deployEnvironment = $event;\n }),\n options: _ctx.availableEnvironmentsToPublish.environnments,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n style: {\n \"margin-bottom\": \"0\"\n },\n class: \"alert alert-info\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.canPublishToLive]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.availableEnvironmentsToPublish.environnments.length]]), !_ctx.availableEnvironmentsToPublish.environnments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_34, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionAlreadyPublishedToAllEnvironments')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('TagManager_PublishRelease')\n }, null, 8\n /* PROPS */\n , _hoisted_35), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_36)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageVersion\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VersionList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VersionList\");\n\n var _component_VersionEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VersionEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VersionList, {\n \"id-container\": _ctx.idContainer,\n \"versions-help-text\": _ctx.versionsHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"versions-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VersionEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n id: \"versionNameHelpText\",\n class: \"inline-help-node\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionNameHelp')) + \" \", 1\n /* TEXT */\n ), _hoisted_2, _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_NameOfLatestVersion', \"\".concat(_ctx.lastVersion, \"\")))\n }, null, 8\n /* PROPS */\n , _hoisted_4), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.lastVersion]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n/* harmony import */ var _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Variable/Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n/* harmony import */ var _Containers_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Containers.store */ \"./plugins/TagManager/vue/src/Container/Containers.store.ts\");\n\n\n\n\n\n\n\nvar notificationId = 'containertagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n editTitle: '',\n isUpdatingVersion: false,\n container: {}\n };\n },\n created: function created() {\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].init();\n this.initIdContainer();\n },\n watch: {\n idContainer: function idContainer(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdContainer();\n }\n },\n methods: {\n removeAnyContainerNotification: function removeAnyContainerNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdContainer: function initIdContainer() {\n var _this = this;\n\n this.container = {};\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n\n if (this.edit && this.idContainer) {\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditContainer');\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].findContainer(this.idContainer).then(function (container) {\n if (!container) {\n return;\n }\n\n _this.container = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(container);\n _this.isDirty = false;\n });\n } else if (this.create) {\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewContainer');\n this.container = {\n idSite: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n name: '',\n context: 'web',\n description: ''\n };\n this.isDirty = false;\n }\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idContainer;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createContainer: function createContainer() {\n var _this2 = this;\n\n this.removeAnyContainerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].createOrUpdateContainer(this.container, 'TagManager.addContainer').then(function (response) {\n _this2.isUpdatingVersion = false;\n\n if (!response) {\n return;\n }\n\n _this2.isDirty = false;\n var idContainer = response.value;\n\n _this2.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Container')), 'success');\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateUrl(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'dashboard',\n idContainer: idContainer\n }));\n }).finally(function () {\n _this2.isUpdatingVersion = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateContainer: function updateContainer() {\n var _this3 = this;\n\n this.removeAnyContainerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdating = true;\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].createOrUpdateContainer(this.container, 'TagManager.updateContainer').then(function (response) {\n if (!response) {\n return;\n }\n\n _this3.isDirty = false;\n _this3.container = {};\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].reload().then(function () {\n _this3.initIdContainer();\n });\n\n _this3.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Container')), 'success');\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.container.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n return true;\n }\n },\n computed: {\n contexts: function contexts() {\n return _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].contextsOptions.value;\n },\n create: function create() {\n return this.idContainer === '0';\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingVersion;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n/* harmony import */ var _Containers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Containers.store */ \"./plugins/TagManager/vue/src/Container/Containers.store.ts\");\n/* harmony import */ var _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Version/Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n created: function created() {\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].init();\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchContainers();\n },\n computed: {\n contexts: function contexts() {\n var result = {};\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].contexts.value.forEach(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n result[id] = name;\n });\n return result;\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n },\n containerDefaultAction: function containerDefaultAction() {\n return this.hasWriteAccess ? 'dashboard' : 'manageTags';\n },\n isLoading: function isLoading() {\n return _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value;\n },\n containers: function containers() {\n return _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].containers.value;\n },\n sortedContainers: function sortedContainers() {\n var sorted = _toConsumableArray(this.containers);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.created_date < rhs.created_date) {\n return 1;\n }\n\n return lhs.created_date > rhs.created_date ? -1 : 0;\n });\n return sorted;\n }\n },\n methods: {\n createContainer: function createContainer() {\n this.editContainer('0');\n },\n editContainer: function editContainer(idContainer) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainer: idContainer\n }));\n },\n installCode: function installCode(idContainer) {\n tagManagerHelper.showInstallCode(idContainer);\n },\n deleteContainer: function deleteContainer(container) {\n function doDelete() {\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].deleteContainer(container.idcontainer).then(function () {\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload();\n });\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmDeleteContainer, {\n yes: doDelete\n });\n },\n truncateText: function truncateText(text, length) {\n if (text.length > length) {\n return \"\".concat(text.substr(0, length - 3), \"...\");\n }\n\n return text;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ContainerList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ContainerList.vue */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue\");\n/* harmony import */ var _ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ContainerEdit.vue */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {},\n components: {\n ContainerList: _ContainerList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n ContainerEdit: _ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer;\n }, function (v) {\n _this.onIdContainerParamChange(v);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('containertagmanagement');\n this.onIdContainerParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer);\n },\n computed: {\n idContainer: function idContainer() {\n var idContainer = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer;\n\n if (!this.isAddAllowed && idContainer === '') {\n return null;\n }\n\n return idContainer;\n },\n editMode: function editMode() {\n return !!this.idContainer;\n }\n },\n methods: {\n onIdContainerParamChange: function onIdContainerParamChange(idContainer) {\n // for BC w/ angularjs only invoke event if idContainer is 0\n if (idContainer === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVersion', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n\n\n\n\nfunction sortByName(items) {\n items.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String,\n dashboardHelpText: String,\n tagsHelpText: String,\n triggersHelpText: String,\n variablesHelpText: String,\n versionsHelpText: String\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n EnrichedHeadline: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"EnrichedHeadline\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentIntro: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentIntro\"]\n },\n data: function data() {\n return {\n container: null,\n containerVersion: null,\n isLoading: false\n };\n },\n created: function created() {\n var _this = this;\n\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].init();\n this.isLoading = true;\n var containerPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer\n }).then(function (container) {\n _this.container = container;\n });\n var versionPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.exportContainerVersion',\n idContainer: this.idContainer\n }).then(function (containerVersion) {\n _this.containerVersion = containerVersion;\n });\n Promise.all([containerPromise, versionPromise]).finally(function () {\n _this.isLoading = false;\n });\n },\n methods: {\n linkTo: function linkTo(action, hash) {\n var url = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action\n }));\n\n if (hash) {\n url += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return \"?\".concat(url);\n },\n lastVersionLinkTitle: function lastVersionLinkTitle(lastVersion) {\n return \"Created on \".concat(lastVersion.created_date_pretty) + \", description: '\".concat(lastVersion.description, \"'\");\n },\n releaseTooltip: function releaseTooltip(release) {\n var firstPart = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty);\n var secondPart = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReleaseVersionInfo', release.version_name);\n return \"\".concat(firstPart, \" \").concat(secondPart);\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n }\n },\n computed: {\n lastVersions: function lastVersions() {\n var _this$container, _this$container$versi;\n\n if ((_this$container = this.container) !== null && _this$container !== void 0 && (_this$container$versi = _this$container.versions) !== null && _this$container$versi !== void 0 && _this$container$versi.length) {\n return this.container.versions.slice(-5);\n }\n\n return [];\n },\n contexts: function contexts() {\n var result = {};\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].contexts.value.forEach(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n result[id] = name;\n });\n return result;\n },\n containerMetaInformation: function containerMetaInformation() {\n var _this$containerVersio, _this$container2, _this$containerVersio2;\n\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ContainerMetaInformation', ((_this$containerVersio = this.containerVersion) === null || _this$containerVersio === void 0 ? void 0 : _this$containerVersio.idcontainer) || '', this.contexts[((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.context) || ''] || '', ((_this$containerVersio2 = this.containerVersion) === null || _this$containerVersio2 === void 0 ? void 0 : _this$containerVersio2.created_date_pretty) || '');\n },\n sortedContainerVersionTags: function sortedContainerVersionTags() {\n var _this$containerVersio3;\n\n var tags = ((_this$containerVersio3 = this.containerVersion) === null || _this$containerVersio3 === void 0 ? void 0 : _this$containerVersio3.tags) || [];\n sortByName(tags);\n return tags;\n },\n sortedTriggers: function sortedTriggers() {\n var _this$containerVersio4;\n\n var triggers = ((_this$containerVersio4 = this.containerVersion) === null || _this$containerVersio4 === void 0 ? void 0 : _this$containerVersio4.triggers) || [];\n sortByName(triggers);\n return triggers;\n },\n sortedVariables: function sortedVariables() {\n var _this$containerVersio5;\n\n var variables = ((_this$containerVersio5 = this.containerVersion) === null || _this$containerVersio5 === void 0 ? void 0 : _this$containerVersio5.variables) || [];\n sortByName(variables);\n return variables;\n },\n tagCount: function tagCount() {\n var _this$containerVersio6;\n\n return (_this$containerVersio6 = this.containerVersion) === null || _this$containerVersio6 === void 0 ? void 0 : _this$containerVersio6.tags.length;\n },\n triggerCount: function triggerCount() {\n var _this$containerVersio7;\n\n return (_this$containerVersio7 = this.containerVersion) === null || _this$containerVersio7 === void 0 ? void 0 : _this$containerVersio7.triggers.length;\n },\n versionCount: function versionCount() {\n var _this$container3;\n\n return (_this$container3 = this.container) === null || _this$container3 === void 0 ? void 0 : _this$container3.versions.length;\n },\n variableCount: function variableCount() {\n var _this$containerVersio8;\n\n return (_this$containerVersio8 = this.containerVersion) === null || _this$containerVersio8 === void 0 ? void 0 : _this$containerVersio8.variables.length;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n containerName: String\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n FocusAnywhereButHere: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"FocusAnywhereButHere\"]\n },\n data: function data() {\n return {\n containers: [],\n isLoading: false,\n showContainerList: false\n };\n },\n created: function created() {\n setTimeout(function () {\n window.initTopControls();\n });\n },\n methods: {\n fetchContainers: function fetchContainers() {\n var _this = this;\n\n this.isLoading = true;\n this.containers = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers'\n }).then(function (containers) {\n _this.containers = containers;\n }).finally(function () {\n _this.isLoading = false;\n });\n },\n linkTo: function linkTo(idContainer) {\n var action = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value.action;\n\n if (!action || action === 'manageContainers') {\n action = this.hasWriteAccess ? 'dashboard' : 'manageTags';\n }\n\n var newQuery = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n idContainer: idContainer,\n action: action\n }));\n return \"\".concat(window.location.pathname, \"?\").concat(newQuery);\n },\n onBlur: function onBlur() {\n this.showContainerList = false;\n }\n },\n computed: {\n actualContainerName: function actualContainerName() {\n if (this.containerName) {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ContainerX', this.containerName);\n }\n\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseContainer');\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nvar _window$mtmDbgData, _window$mtmDbgData2;\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n\nwindow.mtmDbgData = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n mtmEvents: ((_window$mtmDbgData = window.mtmDbgData) === null || _window$mtmDbgData === void 0 ? void 0 : _window$mtmDbgData.mtmEvents) || [],\n mtmLogs: ((_window$mtmDbgData2 = window.mtmDbgData) === null || _window$mtmDbgData2 === void 0 ? void 0 : _window$mtmDbgData2.mtmLogs) || []\n});\nvar cookieName = 'mtmPreviewPosition';\nvar stickyTextTop = 'Stick to Top';\nvar stickyTextBottom = 'Stick to Bottom';\n\nfunction getCircularReplacer() {\n var seen = new WeakSet();\n\n function circular(key, value) {\n if (_typeof(value) === 'object' && value !== null) {\n if (seen.has(value)) {\n return '';\n }\n\n seen.add(value);\n }\n\n return value;\n }\n\n return circular;\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n data: function data() {\n return {\n contentTab: 'tags',\n selectedEventIndex: 0,\n onlyfiredTags: false,\n positionText: Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"getCookie\"])(cookieName) === 'top' ? stickyTextBottom : stickyTextTop\n };\n },\n methods: {\n mtmUpdateDebugPosition: function mtmUpdateDebugPosition() {\n var sevenDays = 7 * 60 * 60 * 24 * 1000;\n var currentCookieValue = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"getCookie\"])(cookieName);\n var cookieValue = currentCookieValue === 'top' ? 'bottom' : 'top';\n Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"setCookie\"])(cookieName, cookieValue, sevenDays);\n var iframe = window.parent.document.getElementById('mtmDebugFrame');\n\n if (cookieValue === 'top') {\n this.positionText = stickyTextBottom;\n iframe.classList.remove('mtmStickyBottom');\n iframe.classList.add('mtmStickyTop');\n } else {\n this.positionText = stickyTextTop;\n iframe.classList.remove('mtmStickyTop');\n iframe.classList.add('mtmStickyBottom');\n }\n },\n selectEvent: function selectEvent(eventIndex) {\n if (!this.mtmEvents[eventIndex]) {\n return;\n }\n\n this.selectedEventIndex = eventIndex;\n },\n stringifySelectedVariable: function stringifySelectedVariable(variable) {\n return JSON.stringify(variable.value, getCircularReplacer());\n }\n },\n computed: {\n homeTabTitle: function homeTabTitle() {\n var _this$selectedEvent;\n\n if (!((_this$selectedEvent = this.selectedEvent) !== null && _this$selectedEvent !== void 0 && _this$selectedEvent.container)) {\n return '';\n }\n\n var versionName = this.selectedEvent.container.versionName || 'Draft version';\n var container = this.selectedEvent.container.id;\n var eventNum = this.selectedEventIndex + 1;\n return \"Event \".concat(eventNum, \": \").concat(this.selectedEvent.name, \" (\").concat(container, \" - \").concat(versionName, \")\");\n },\n notFiredTags: function notFiredTags() {\n var _this$selectedEvent2;\n\n if (!((_this$selectedEvent2 = this.selectedEvent) !== null && _this$selectedEvent2 !== void 0 && _this$selectedEvent2.container)) {\n return [];\n }\n\n var eventIndex = this.selectedEventIndex;\n var tagsFired = [];\n this.mtmEvents.forEach(function (event, i) {\n if (i > eventIndex) {\n return;\n }\n\n tagsFired.push.apply(tagsFired, _toConsumableArray(event.tags.map(function (tag) {\n return tag.name;\n })));\n });\n var tagsNotFired = [];\n this.selectedEvent.container.tags.forEach(function (tag) {\n if (tagsFired.indexOf(tag.name) === -1) {\n tagsNotFired.push(tag);\n }\n });\n return tagsNotFired;\n },\n selectedEvent: function selectedEvent() {\n return this.mtmEvents[this.selectedEventIndex];\n },\n mtmEvents: function mtmEvents() {\n return window.mtmDbgData.mtmEvents;\n },\n mtmEventsReversed: function mtmEventsReversed() {\n var result = _toConsumableArray(this.mtmEvents);\n\n result.reverse();\n return result;\n },\n mtmLogs: function mtmLogs() {\n return window.mtmDbgData.mtmLogs;\n },\n selectedEventData: function selectedEventData() {\n var _this$selectedEvent3;\n\n return ((_this$selectedEvent3 = this.selectedEvent) === null || _this$selectedEvent3 === void 0 ? void 0 : _this$selectedEvent3.eventData) && JSON.stringify(this.selectedEvent.eventData, getCircularReplacer());\n },\n selectedEventContainerDataLayer: function selectedEventContainerDataLayer() {\n var _this$selectedEvent4, _this$selectedEvent4$;\n\n return ((_this$selectedEvent4 = this.selectedEvent) === null || _this$selectedEvent4 === void 0 ? void 0 : (_this$selectedEvent4$ = _this$selectedEvent4.container) === null || _this$selectedEvent4$ === void 0 ? void 0 : _this$selectedEvent4$.dataLayer) && JSON.stringify(this.selectedEvent.container.dataLayer, getCircularReplacer());\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n name: String,\n uiControlAttributes: Object,\n modelValue: String,\n title: String,\n uiControl: {\n type: String,\n required: true\n }\n },\n inheritAttrs: false,\n emits: ['update:modelValue'],\n created: function created() {\n this.onKeydown = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(this.onKeydown.bind(this), 50);\n },\n methods: {\n onKeydown: function onKeydown(event) {\n this.$emit('update:modelValue', event.target.value);\n },\n selectVariable: function selectVariable() {\n var _this = this;\n\n tagManagerHelper.selectVariable(function (variable) {\n tagManagerHelper.insertTextSnippetAtElement(_this.$refs.textarea, \"{{\".concat(variable.id, \"}}\"));\n });\n }\n },\n watch: {\n modelValue: function modelValue() {\n var _this2 = this;\n\n var _window2 = window,\n Materialize = _window2.Materialize;\n setTimeout(function () {\n Materialize.textareaAutoResize(_this2.$refs.textarea);\n Materialize.updateTextFields();\n });\n }\n },\n mounted: function mounted() {\n var _this3 = this;\n\n var _window3 = window,\n Materialize = _window3.Materialize;\n setTimeout(function () {\n Materialize.textareaAutoResize(_this3.$refs.textarea);\n Materialize.updateTextFields();\n });\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n uiControl: {\n type: String,\n required: true\n },\n uiControlAttributes: Object,\n name: String,\n title: String,\n modelValue: null\n },\n inheritAttrs: false,\n emits: ['update:modelValue'],\n computed: {\n modelValueText: function modelValueText() {\n if (typeof this.modelValue === 'undefined' || this.modelValue === null) {\n return '';\n }\n\n return this.modelValue.toString();\n }\n },\n created: function created() {\n // debounce because puppeteer types reeaally fast\n this.onKeydown = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(this.onKeydown.bind(this), 50);\n },\n mounted: function mounted() {\n setTimeout(function () {\n window.Materialize.updateTextFields();\n });\n },\n watch: {\n modelValue: function modelValue() {\n setTimeout(function () {\n window.Materialize.updateTextFields();\n });\n }\n },\n methods: {\n onKeydown: function onKeydown(event) {\n this.$emit('update:modelValue', event.target.value);\n },\n selectVariable: function selectVariable() {\n var _this = this;\n\n tagManagerHelper.selectVariable(function (variable) {\n tagManagerHelper.insertTextSnippetAtElement(_this.$refs.input, \"{{\".concat(variable.id, \"}}\"));\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VariableSelectType/VariableSelectType.vue */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n uiControlAttributes: {\n type: Object,\n required: true\n },\n name: String,\n title: String,\n modelValue: String\n },\n components: {\n VariableSelectType: _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n },\n emits: ['update:modelValue']\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n canEdit: Boolean\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n computed: {\n gettingStartedHowCreateContainerText: function gettingStartedHowCreateContainerText() {\n var link = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify({\n module: 'TagManager',\n action: 'manageContainers'\n }), \"}\");\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_GettingStartedHowCreateContainer', \"\"), '');\n },\n gettingStartedContributeTagsText: function gettingStartedContributeTagsText() {\n var link = 'https://developer.matomo.org/guides/tagmanager/settingup';\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_GettingStartedContributeTags', \"\"), '');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar NOTIFICATION_ID = 'importContainerVersion';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isUpdating: false,\n backupName: '',\n importContent: ''\n };\n },\n methods: {\n showNotification: function showNotification(message, context) {\n var instanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n type: 'transient',\n id: NOTIFICATION_ID\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(instanceId);\n }, 200);\n },\n importVersion: function importVersion(backupName, version) {\n var _this = this;\n\n if (!version) {\n return;\n }\n\n var parsed;\n\n try {\n parsed = JSON.parse(version);\n } catch (e) {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorInvalidContainerImportFormat'), 'error');\n return;\n }\n\n if ('tags' in parsed && 'triggers' in parsed && 'variables' in parsed && 'idcontainer' in parsed && 'context' in parsed) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmImportContainerVersion, {\n yes: function yes() {\n _this.isUpdating = true;\n var post = {\n exportedContainerVersion: version\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: 'TagManager.importContainerVersion',\n idContainer: _this.idContainer,\n backupName: _this.backupName\n }, post).then(function () {\n _this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionImportSuccess'), 'success');\n\n _this.isUpdating = false;\n window.location.reload();\n }).catch(function () {\n _this.isUpdating = false;\n });\n }\n });\n } else {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorContainerVersionImportIncomplete'), 'error');\n }\n }\n },\n computed: {\n backupNameTitle: function backupNameTitle() {\n return \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_BackupVersionName'), \" (\").concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Recommended'), \")\");\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar _window = window,\n $ = _window.$;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"],\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n container: null,\n environments: [],\n environment: 'live',\n installInstructions: [],\n isLoading: false,\n isLoadingInstructions: false\n };\n },\n created: function created() {\n var _this = this;\n\n this.isLoading = true;\n this.fetchReleases().finally(function () {\n _this.isLoading = false;\n });\n },\n methods: {\n fetchInstallInstructions: function fetchInstallInstructions(environment) {\n var _this2 = this;\n\n this.installInstructions = [];\n this.isLoadingInstructions = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: this.idContainer,\n environment: environment\n }).then(function (instructions) {\n _this2.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this2.$refs.codeblock) ? _this2.$refs.codeblock : [_this2.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n _this2.isLoadingInstructions = false;\n });\n },\n fetchReleases: function fetchReleases() {\n var _this3 = this;\n\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch([{\n method: 'TagManager.getAvailableEnvironments',\n filter_limit: '-1'\n }, {\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }]).then(function (_ref) {\n var _this3$environments, _this3$environments$;\n\n var _ref2 = _slicedToArray(_ref, 2),\n environments = _ref2[0],\n container = _ref2[1];\n\n _this3.environments = environments.map(function (e) {\n return {\n key: e.id,\n value: e.name\n };\n });\n _this3.container = container;\n var hasLive = container.releases.some(function (r) {\n return r.environment === 'live';\n });\n\n if (!hasLive && (_this3$environments = _this3.environments) !== null && _this3$environments !== void 0 && (_this3$environments$ = _this3$environments[0]) !== null && _this3$environments$ !== void 0 && _this3$environments$.key) {\n _this3.environment = _this3.environments[0].key;\n } else if (!hasLive) {\n // no release available yet\n _this3.environment = '';\n }\n\n if (_this3.environment) {\n return _this3.fetchInstallInstructions(_this3.environment);\n }\n\n return undefined;\n });\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n }\n },\n computed: {\n releaseVersions: function releaseVersions() {\n var _this$container,\n _this4 = this;\n\n var result = {};\n (((_this$container = this.container) === null || _this$container === void 0 ? void 0 : _this$container.releases) || []).forEach(function (r) {\n result[r.idcontainerrelease] = _this4.container.versions.find(function (v) {\n return v.idcontainerversion === r.idcontainerversion;\n });\n });\n return result;\n },\n sortedReleases: function sortedReleases() {\n var _this$container2;\n\n var sorted = _toConsumableArray((((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.releases) || []).map(function (r, i) {\n return Object.assign(Object.assign({}, r), {}, {\n index: i\n });\n }));\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.release_date < rhs.release_date) {\n return 1;\n }\n\n if (lhs.release_date > rhs.release_date) {\n return -1;\n }\n\n return rhs.index - lhs.index; // angularjs sort defaults to using index when key is same\n });\n return sorted;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts": -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts ***! - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* eslint-disable @typescript-eslint/ban-ts-comment */\n\n\n\nfunction prefixDateZeroIfNeeded(number) {\n var datePart = String(number);\n\n if (datePart.length === 1) {\n datePart = \"0\".concat(datePart);\n }\n\n return datePart;\n}\n\nfunction convertUtcToLocalDate(dateTime) {\n if (!dateTime) {\n return undefined;\n }\n\n var isoDate = dateTime;\n\n if (isoDate) {\n isoDate = \"\".concat(isoDate).replace(/-/g, '/');\n\n try {\n return new Date(\"\".concat(isoDate, \" UTC\"));\n } catch (e) {\n try {\n return new Date(Date.parse(\"\".concat(isoDate, \" UTC\")));\n } catch (ex) {\n // eg phantomjs etc\n var datePart = isoDate.substr(0, 10);\n var timePart = isoDate.substr(11);\n var dateParts = datePart.split('/');\n var timeParts = timePart.split(':');\n\n if (dateParts.length === 3 && timeParts.length === 3) {\n var result = new Date(parseInt(dateParts[0], 10), parseInt(dateParts[1], 10) - 1, parseInt(dateParts[2], 10), parseInt(timeParts[0], 10), parseInt(timeParts[1], 10), parseInt(timeParts[2], 10));\n var newTime = result.getTime() + result.getTimezoneOffset() * 60000;\n return new Date(newTime);\n }\n }\n }\n }\n\n return undefined;\n}\n\nfunction convertUtcDateToLocalDatePart(isoDateTime) {\n var localStartDate = convertUtcToLocalDate(isoDateTime);\n\n if (localStartDate) {\n var month = prefixDateZeroIfNeeded(localStartDate.getMonth() + 1);\n var date = prefixDateZeroIfNeeded(localStartDate.getDate());\n return \"\".concat(localStartDate.getFullYear(), \"-\").concat(month, \"-\").concat(date);\n }\n\n var parts = isoDateTime.split(' ');\n return parts[0];\n}\n\nfunction convertUtcDateToLocalTimePart(isoDateTime) {\n var localStartDate = convertUtcToLocalDate(isoDateTime);\n\n if (localStartDate) {\n var hours = prefixDateZeroIfNeeded(localStartDate.getHours());\n var minutes = prefixDateZeroIfNeeded(localStartDate.getMinutes());\n var seconds = prefixDateZeroIfNeeded(localStartDate.getSeconds());\n return \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n }\n\n var parts = isoDateTime.split(' ');\n return parts[1];\n}\n\nfunction convertLocalDateToUtc(strDate) {\n var dateTime = strDate;\n\n if (dateTime) {\n dateTime = dateTime.replace(/-/g, '/');\n }\n\n try {\n var localDate = new Date(dateTime);\n var month = prefixDateZeroIfNeeded(localDate.getUTCMonth() + 1);\n var date = prefixDateZeroIfNeeded(localDate.getUTCDate());\n var hours = prefixDateZeroIfNeeded(localDate.getUTCHours());\n var minutes = prefixDateZeroIfNeeded(localDate.getUTCMinutes());\n var seconds = prefixDateZeroIfNeeded(localDate.getUTCSeconds());\n var formatted = '';\n formatted += \"\".concat(localDate.getUTCFullYear(), \"-\").concat(month, \"-\").concat(date);\n formatted += ' ';\n formatted += \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n return formatted;\n } catch (e) {\n return dateTime;\n }\n}\n\nvar _window = window,\n $ = _window.$;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n name: {\n type: String,\n required: true\n },\n defaultTime: {\n type: String,\n required: true\n },\n modelValue: String\n },\n mounted: function mounted() {\n var _this = this;\n\n var datePickerOptions = Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].getBaseDatePickerOptions(null)), {}, {\n minDate: new Date()\n });\n delete datePickerOptions.maxDate;\n $(this.$refs.dateInput).datepicker(Object.assign({}, datePickerOptions)); // @ts-ignore\n\n $(this.$refs.timeInput).timepicker({\n timeFormat: 'H:i:s'\n }) // timepicker triggers a jquery event, not a addEventListener event, so vue doesn't catch\n // it\n .on('change', function (event) {\n _this.onTimeKeydown(event);\n });\n },\n computed: {\n dateText: function dateText() {\n if (!this.modelValue) {\n return '';\n }\n\n return convertUtcDateToLocalDatePart(this.modelValue);\n },\n timeText: function timeText() {\n if (!this.modelValue) {\n return '';\n }\n\n return convertUtcDateToLocalTimePart(this.modelValue);\n }\n },\n methods: {\n onDateKeydown: function onDateKeydown(event) {\n var _this2 = this;\n\n setTimeout(function () {\n var value = event.target.value;\n\n if (_this2.dateText === value) {\n return;\n }\n\n _this2.onChange(value, _this2.timeText);\n });\n },\n onTimeKeydown: function onTimeKeydown(event) {\n var _this3 = this;\n\n setTimeout(function () {\n var value = event.target.value;\n\n if (_this3.timeText === value) {\n return;\n }\n\n _this3.onChange(_this3.dateText, value);\n });\n },\n onChange: function onChange(date, time) {\n if (!date) {\n this.$emit('update:model-value', null);\n return;\n }\n\n var timeToUse = time || this.defaultTime;\n var newDate = convertLocalDateToUtc(\"\".concat(date, \" \").concat(timeToUse));\n this.$emit('update:model-value', newDate);\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableFireLimit.store */ \"./plugins/TagManager/vue/src/AvailableFireLimit.store.ts\");\n/* harmony import */ var _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Trigger/Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\n/* harmony import */ var _TagTriggerArray_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TagTriggerArray.vue */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue\");\n/* harmony import */ var _TagDateInput_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TagDateInput.vue */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue\");\n/* harmony import */ var _Tags_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Tags.store */ \"./plugins/TagManager/vue/src/Tag/Tags.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\n\n\n\n\nfunction getCurrentTime() {\n var date = new Date();\n\n if (date && date.toString) {\n return date.toString();\n }\n\n return null;\n}\n\nvar _window = window,\n $ = _window.$,\n tagManagerHelper = _window.tagManagerHelper;\nvar notificationId = 'tagtagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idTag: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n newTagType: null\n },\n components: {\n TagDateInput: _TagDateInput_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"],\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n TagTriggerArray: _TagTriggerArray_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n },\n data: function data() {\n return {\n isDirty: false,\n showAdvanced: false,\n chooseTagType: false,\n availableTags: [],\n containerTriggers: [],\n currentTime: null,\n tag: {},\n editTitle: '',\n parameterValues: {},\n isUpdatingTag: false,\n fireTriggers: [],\n blockTriggers: [],\n currentTimeTimeout: null\n };\n },\n created: function created() {\n var _this = this;\n\n _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n this.updateAvailableTriggers();\n this.setCurrentTime();\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(this.idContainer, this.idContainerVersion).then(function () {\n _this.initIdTag();\n });\n },\n unmounted: function unmounted() {\n if (this.currentTimeTimeout) {\n clearTimeout(this.currentTimeTimeout);\n }\n },\n watch: {\n idTag: function idTag(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdTag();\n }\n },\n methods: {\n setCurrentTime: function setCurrentTime() {\n this.currentTime = getCurrentTime();\n this.currentTimeTimeout = setTimeout(this.setCurrentTime.bind(this), 10000);\n },\n updateAvailableTriggers: function updateAvailableTriggers() {\n var _this2 = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggers',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n filter_limit: '-1'\n }).then(function (triggers) {\n _this2.containerTriggers = triggers.map(function (t) {\n return {\n key: t.idtrigger,\n value: t.name\n };\n });\n });\n },\n removeAnyTagNotification: function removeAnyTagNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var instanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(instanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdTag: function initIdTag() {\n var _this3 = this;\n\n this.tag = {};\n this.chooseTagType = false;\n this.editTitle = '';\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableTags = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].fetchAvailableTags(container.context);\n }).then(function (tags) {\n _this3.availableTags = tags;\n }).then(function () {\n if (_this3.edit && _this3.idTag) {\n _this3.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditTag');\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].findTag(_this3.idContainer, _this3.idContainerVersion, _this3.idTag).then(function (tag) {\n if (!tag) {\n return;\n }\n\n _this3.tag = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(tag);\n _this3.parameterValues = Object.fromEntries(tag.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n _this3.blockTriggers = _toConsumableArray(_this3.tag.block_trigger_ids || []);\n\n if (!_this3.blockTriggers.length) {\n _this3.blockTriggers.push(null);\n }\n\n _this3.fireTriggers = _toConsumableArray(_this3.tag.fire_trigger_ids || []);\n\n if (!_this3.fireTriggers.length) {\n _this3.fireTriggers.push(null);\n }\n\n _this3.onFireTriggerChange();\n\n _this3.onBlockTriggerChange();\n\n _this3.isDirty = false;\n });\n return;\n }\n\n if (_this3.create) {\n _this3.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseTagToContinue');\n _this3.chooseTagType = true;\n }\n });\n },\n onCreateNewBlockTrigger: function onCreateNewBlockTrigger() {\n var _this4 = this;\n\n this.openEditTrigger(function (trigger) {\n var indexLastEntry = _this4.blockTriggers.length - 1;\n\n if (!_this4.blockTriggers[indexLastEntry]) {\n _this4.blockTriggers[indexLastEntry] = trigger.idtrigger;\n } else {\n _this4.blockTriggers.push(trigger.idtrigger);\n }\n\n _this4.onBlockTriggerChange();\n }, 0);\n },\n onCreateNewFireTrigger: function onCreateNewFireTrigger() {\n var _this5 = this;\n\n this.openEditTrigger(function (trigger) {\n var indexLastEntry = _this5.fireTriggers.length - 1;\n\n if (!_this5.fireTriggers[indexLastEntry]) {\n _this5.fireTriggers[indexLastEntry] = trigger.idtrigger;\n } else {\n _this5.fireTriggers.push(trigger.idtrigger);\n }\n\n _this5.onFireTriggerChange();\n }, 0);\n },\n editTrigger: function editTrigger(idTrigger) {\n this.openEditTrigger(function () {\n return null;\n }, idTrigger);\n },\n openEditTrigger: function openEditTrigger(callback, idTag) {\n var _this6 = this;\n\n tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTag, function (trigger) {\n _this6.updateAvailableTriggers();\n\n callback(trigger);\n });\n },\n onBlockTriggerChange: function onBlockTriggerChange() {\n var hasAll = this.blockTriggers.every(function (t) {\n return !!t;\n });\n\n if (hasAll) {\n this.addBlockTrigger();\n }\n },\n addBlockTrigger: function addBlockTrigger() {\n this.blockTriggers.push(null);\n this.isDirty = true;\n },\n removeBlockTrigger: function removeBlockTrigger(index) {\n if (index > -1) {\n var lastIndex = this.blockTriggers.length - 1;\n\n if (lastIndex === index) {\n this.blockTriggers[index] = null;\n } else {\n this.blockTriggers.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n onFireTriggerChange: function onFireTriggerChange() {\n var hasAll = this.fireTriggers.every(function (t) {\n return !!t;\n });\n\n if (hasAll) {\n this.addFireTrigger();\n }\n },\n addFireTrigger: function addFireTrigger() {\n this.fireTriggers.push(null);\n this.isDirty = true;\n },\n removeFireTrigger: function removeFireTrigger(index) {\n if (index > -1) {\n var lastIndex = this.fireTriggers.length - 1;\n\n if (lastIndex === index) {\n this.fireTriggers[index] = null;\n } else {\n this.fireTriggers.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n createTagType: function createTagType(tagTemplate) {\n var _this7 = this;\n\n if (tagTemplate && this.isTagTemplateDisabled[tagTemplate.id]) {\n return;\n }\n\n this.chooseTagType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTag');\n this.tag = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].suggestNameForType(tagTemplate.name) || '',\n type: tagTemplate.id,\n fire_limit: 'unlimited',\n priority: 999,\n fire_delay: 0,\n typeMetadata: tagTemplate\n };\n this.blockTriggers = [null];\n this.fireTriggers = [null];\n this.parameterValues = Object.fromEntries(tagTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.isDirty = false;\n setTimeout(function () {\n var editTag = $(_this7.$refs.root);\n\n if (editTag.length && editTag[0]) {\n editTag[0].scrollIntoView();\n }\n\n editTag.find('#name').focus();\n }, 1);\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idTag;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createTag: function createTag() {\n var _this8 = this;\n\n this.removeAnyTagNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTag = true;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateTag(this.tag, 'TagManager.addContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) {\n return !!id;\n }), this.blockTriggers.filter(function (id) {\n return !!id;\n })).then(function (response) {\n if (!response) {\n return;\n }\n\n _this8.isDirty = false;\n var idTag = response.value;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this8.idContainer, _this8.idContainerVersion).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTag: idTag\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Tag'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this8.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this8.isUpdatingTag = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateTag: function updateTag() {\n var _this9 = this;\n\n this.removeAnyTagNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTag = true;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateTag(this.tag, 'TagManager.updateContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) {\n return !!id;\n }), this.blockTriggers.filter(function (id) {\n return !!id;\n })).then(function (response) {\n if (!response) {\n return;\n }\n\n _this9.isDirty = false;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this9.idContainer, _this9.idContainerVersion).then(function () {\n _this9.initIdTag();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Tag'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this9.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this9.isUpdatingTag = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.tag.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n if (!this.fireTriggers || !this.fireTriggers.length) {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_TagFireTriggerRequirement'), 'error');\n return false;\n }\n\n return true;\n }\n },\n computed: {\n availableFireLimits: function availableFireLimits() {\n return _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fireLimitsOptions.value;\n },\n isLoading: function isLoading() {\n return _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingTag;\n },\n create: function create() {\n return this.idTag === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n canUseCustomTemplates: function canUseCustomTemplates() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates');\n },\n isTagDisabled: function isTagDisabled() {\n var _this$tag$typeMetadat;\n\n return !this.canUseCustomTemplates && ((_this$tag$typeMetadat = this.tag.typeMetadata) === null || _this$tag$typeMetadat === void 0 ? void 0 : _this$tag$typeMetadat.isCustomTemplate);\n },\n isTagTemplateDisabled: function isTagTemplateDisabled() {\n var _this10 = this;\n\n var result = {};\n this.availableTags.forEach(function (tagCategory) {\n tagCategory.types.forEach(function (tag) {\n result[tag.id] = !_this10.canUseCustomTemplates && tag.isCustomTemplate;\n });\n });\n return result;\n },\n collectionItemAvatarText: function collectionItemAvatarText() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UseCustomTemplateCapabilityRequired', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CapabilityUseCustomTemplates'));\n },\n fireLimitHelp: function fireLimitHelp() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_FireLimitHelp', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Unlimited'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_OncePage'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Once24Hours'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_OnceLifetime'));\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Tags_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tags.store */ \"./plugins/TagManager/vue/src/Tag/Tags.store.ts\");\n/* harmony import */ var _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Trigger/Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n tagsHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write')\n };\n },\n created: function created() {\n var _this = this;\n\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].tags.value;\n }, function () {\n _this.reloadTriggers();\n });\n this.reloadTriggers();\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchTags(this.idContainer, this.idContainerVersion);\n },\n methods: {\n reloadTriggers: function reloadTriggers() {\n _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(this.idContainer, this.idContainerVersion);\n },\n createTag: function createTag() {\n this.editTag(0);\n },\n editTrigger: function editTrigger(idTrigger) {\n var _this2 = this;\n\n tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTrigger, function () {\n _this2.reloadTriggers();\n });\n },\n editTag: function editTag(idTag) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTag: idTag\n }));\n },\n deleteTag: function deleteTag(tag) {\n var _this3 = this;\n\n var doDelete = function doDelete() {\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteTag(_this3.idContainer, _this3.idContainerVersion, tag.idtag).then(function () {\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this3.idContainer, _this3.idContainerVersion);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm('#confirmDeleteTag', {\n yes: doDelete\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n triggers: function triggers() {\n var triggers = {};\n _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].triggers.value.forEach(function (t) {\n triggers[\"\".concat(t.idtrigger)] = t.name;\n });\n return triggers;\n },\n isLoading: function isLoading() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n tags: function tags() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].tags.value;\n },\n sortedTags: function sortedTags() {\n var sorted = _toConsumableArray(this.tags);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_TagsNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_TagsDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_TagsTypeDescription');\n },\n triggersTranslatedText: function triggersTranslatedText() {\n return this.translate('TagManager_TagsTriggersDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_TagsLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_TagsActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TagList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TagList.vue */ \"./plugins/TagManager/vue/src/Tag/TagList.vue\");\n/* harmony import */ var _TagEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TagEdit.vue */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n tagsHelpText: String\n },\n components: {\n TagList: _TagList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n TagEdit: _TagEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag;\n }, function (idTag) {\n _this.onIdTagParamChange(idTag);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('tagtagmanagement');\n this.onIdTagParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag);\n },\n methods: {\n onIdTagParamChange: function onIdTagParamChange(idTag) {\n // for BC w/ angularjs only invoke event if idTag is 0\n if (idTag === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddTag', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idTag: function idTag() {\n var idTag = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag;\n\n if (!this.isAddAllowed && idTag === '0') {\n return null;\n }\n\n return idTag ? parseInt(idTag, 10) : idTag;\n },\n editMode: function editMode() {\n return typeof this.idTag === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n type: {\n type: String,\n required: true\n },\n help: {\n type: String,\n required: true\n },\n title: {\n type: String,\n required: true\n },\n containerTriggers: {\n type: Array,\n required: true\n },\n modelValue: {\n type: Array,\n required: true\n }\n },\n components: {\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__[\"Field\"]\n },\n emits: ['update:modelValue', 'create', 'edit'],\n methods: {\n onChangeTrigger: function onChangeTrigger(idTrigger, index) {\n var newValue = _toConsumableArray(this.modelValue);\n\n newValue[index] = parseInt(idTrigger, 10);\n this.$emit('update:modelValue', newValue);\n },\n removeTrigger: function removeTrigger(index) {\n var newValue = _toConsumableArray(this.modelValue);\n\n newValue.splice(index, 1);\n this.$emit('update:modelValue', newValue);\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean\n },\n components: {\n TrackingCodeCommon: _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n methods: {\n fetchInstallInstructions: function fetchInstallInstructions() {\n var _refs$site,\n _refs$site2,\n _this = this;\n\n // eslint-disable-next-line\n var refs = this.$refs.trackingCodeCommon;\n refs.installInstructions = [];\n\n if (!(refs !== null && refs !== void 0 && refs.idContainer) || !(refs !== null && refs !== void 0 && refs.environment) || !(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id)) {\n return;\n }\n\n refs.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer,\n environment: refs === null || refs === void 0 ? void 0 : refs.environment,\n idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id\n }).then(function (instructions) {\n refs.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n refs.isLoading = false;\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n\nfunction ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean,\n currentAction: String,\n showBottom: Boolean,\n showDescription: Boolean\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n SiteSelector: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SiteSelector\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n emits: ['fetchInstallInstructions'],\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n data: function data() {\n return {\n containerVariables: [],\n isLoading: false,\n idContainer: '',\n environment: '',\n environments: [],\n environmentNameMap: {},\n containerMap: {},\n containerOptions: [],\n site: {\n id: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n name: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.htmlDecode(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].siteName)\n },\n matomoConfigs: [],\n releases: [],\n installInstructions: [],\n noReleaseFound: false\n };\n },\n created: function created() {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableEnvironments',\n filter_limit: '-1'\n }).then(function (environments) {\n var entities;\n\n if (Array.isArray(environments)) {\n entities = environments;\n } else {\n entities = Object.values(environments);\n }\n\n _this.environmentNameMap = Object.fromEntries(entities.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return [id, name];\n }));\n });\n this.onSiteChange();\n },\n watch: {\n site: function site() {\n this.onSiteChange();\n }\n },\n methods: {\n onSiteChange: function onSiteChange() {\n var _this$site,\n _this2 = this;\n\n this.installInstructions = [];\n this.containerOptions = [];\n this.containerMap = {};\n this.environments = [];\n this.matomoConfigs = [];\n this.idContainer = '';\n\n if (!((_this$site = this.site) !== null && _this$site !== void 0 && _this$site.id)) {\n return;\n }\n\n this.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers',\n filter_limit: '-1',\n idSite: this.site.id\n }).then(function (containers) {\n _this2.containerOptions = [];\n\n if (!(containers !== null && containers !== void 0 && containers.length)) {\n _this2.idContainer = '';\n\n _this2.containerOptions.push({\n key: '',\n value: _this2.translate('TagManager_NoContainersFound')\n });\n\n return;\n }\n\n containers.forEach(function (container) {\n if (!_this2.idContainer) {\n _this2.idContainer = container.idcontainer;\n }\n\n _this2.containerMap[container.idcontainer] = container;\n\n _this2.containerOptions.push({\n key: container.idcontainer,\n value: container.name\n });\n });\n\n _this2.onContainerChange();\n }).finally(function () {\n _this2.isLoading = false;\n });\n },\n onContainerChange: function onContainerChange() {\n var _this3 = this;\n\n this.noReleaseFound = false;\n\n if (!this.idContainer) {\n return;\n }\n\n this.installInstructions = [];\n var container = this.containerMap[this.idContainer];\n var draftVersion = container.draft.idcontainerversion;\n this.environment = '';\n this.environments = [];\n var releases = container.releases || [];\n\n if (releases.find(function (r) {\n return r.environment === 'live';\n })) {\n // we always prefer to pre-select the live environment\n this.environment = 'live';\n }\n\n releases.forEach(function (release) {\n if (release.environment === 'preview') {\n return; // there is nothing to embed for this environment\n }\n\n if (!_this3.environment) {\n _this3.environment = release.environment;\n }\n\n var name = ucfirst(release.environment);\n\n if (release.environment in _this3.environmentNameMap) {\n name = _this3.environmentNameMap[release.environment];\n }\n\n _this3.environments.push({\n key: release.environment,\n value: name\n });\n });\n\n if (!this.environments.length) {\n this.noReleaseFound = true;\n this.environments.push({\n key: '',\n value: this.translate('TagManager_NoReleasesFound')\n });\n }\n\n this.$emit('fetchInstallInstructions');\n this.fetchVariables(draftVersion);\n },\n linkTo: function linkTo(action, idContainer, hash) {\n var newQuery = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action,\n idContainer: idContainer\n }));\n var newUrl = \"\".concat(window.location.pathname, \"?\").concat(newQuery);\n\n if (hash) {\n newUrl += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return newUrl;\n },\n fetchVariables: function fetchVariables(containerDraftVersion) {\n var _this$site2,\n _this4 = this;\n\n this.matomoConfigs = [];\n\n if (!this.idContainer || !((_this$site2 = this.site) !== null && _this$site2 !== void 0 && _this$site2.id) || !containerDraftVersion) {\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariables',\n filter_limit: '-1',\n idContainer: this.idContainer,\n idContainerVersion: containerDraftVersion,\n idSite: this.site.id\n }).then(function (variables) {\n _this4.matomoConfigs = variables.filter(function (v) {\n return v.type === 'MatomoConfiguration';\n });\n }).finally(function () {\n _this4.isLoading = false;\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n currentAction: String,\n showContainerRow: Boolean\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n TagmanagerTrackingCode: _TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n computed: {\n trackingInfoTextLine1: function trackingInfoTextLine1() {\n var manageContainersLink = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'manageContainers'\n })));\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagManagerTrackingInfoLine1', \"\"), '');\n },\n trackingInfoTextLine2: function trackingInfoTextLine2() {\n var gettingStartedLink = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'gettingStarted'\n })));\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagManagerTrackingInfoLine2', \"\"), '');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts": -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean,\n currentAction: String,\n jsFramework: String\n },\n components: {\n TrackingCodeCommon: _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n data: function data() {\n return {\n setupStep1: '',\n setupStep2: '',\n setupStep7: '',\n installInstructions: []\n };\n },\n methods: {\n fetchInstallInstructionsSPA: function fetchInstallInstructionsSPA() {\n var _refs$site,\n _refs$site2,\n _this = this;\n\n // eslint-disable-next-line\n var refs = this.$refs.trackingCodeCommon;\n this.installInstructions = [];\n\n if (!(refs !== null && refs !== void 0 && refs.idContainer) || !(refs !== null && refs !== void 0 && refs.environment) || !(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id)) {\n return;\n }\n\n var manageContainerURL = this.linkTo('manageContainers', refs.site.id, refs.idContainer);\n this.setupStep1 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep1', '
', '', \"\"), '');\n var triggersUrl = this.linkTo('manageTriggers', refs.site.id, refs.idContainer);\n this.setupStep2 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep2', \"\"), '');\n var tagsURL = this.linkTo('manageTags', refs.site.id, refs.idContainer);\n this.setupStep7 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep7', \"\"), '');\n refs.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer,\n environment: refs === null || refs === void 0 ? void 0 : refs.environment,\n idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id,\n jsFramework: this.jsFramework\n }).then(function (instructions) {\n _this.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n refs.isLoading = false;\n });\n },\n linkTo: function linkTo(action, idSite, idContainer, hash) {\n var url = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action,\n idSite: idSite,\n idContainer: idContainer\n }));\n\n if (hash) {\n url += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return \"?\".concat(url);\n },\n fetchClickX: function fetchClickX(clickTarget) {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_ClickX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])(clickTarget));\n }\n },\n computed: {\n fetchFollowStep3: function fetchFollowStep3() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep3', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), '', '');\n },\n fetchFollowStep5: function fetchFollowStep5() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep5', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_HistoryChangeTriggerName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CategoryUserEngagement'));\n },\n fetchFollowStep8: function fetchFollowStep8() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep8', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), '', '');\n },\n fetchFollowStep9: function fetchFollowStep9() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep9', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ConfigureWhatTagDoes'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomTitle'), '', '');\n },\n fetchFollowStep10: function fetchFollowStep10() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'));\n },\n fetchFollowStep10a: function fetchFollowStep10a() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10a', '', '', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'));\n },\n fetchFollowStep10b: function fetchFollowStep10b() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10b', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'), '', '');\n },\n fetchFollowStep11: function fetchFollowStep11() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep11', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ConfigureWhenTagDoes'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_FireTriggerTitle'), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_HistoryChangeTriggerName'), \"\"), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"));\n },\n fetchFollowStep13: function fetchFollowStep13() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep13', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Publish'));\n },\n fetchFollowStep14: function fetchFollowStep14() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep14', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionName'), '', '');\n },\n fetchFollowStep15: function fetchFollowStep15() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep15', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateVersionAndPublishRelease'));\n },\n fetchFollowStep16SPA: function fetchFollowStep16SPA() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep16', '</head>', '', '');\n },\n fetchFollowStep16React: function fetchFollowStep16React() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReactFollowStep16', '', '', 'App.js', 'React.useEffect', 'Hello World', 'React.js');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Triggers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n\n\n\n\n\nvar notificationId = 'tagvariablemanagement';\nvar TRIGGER_TYPE_TO_CONDITION_ACTUAL = {\n AllElementsClick: 'ClickId',\n AllLinksClick: 'ClickId',\n DownloadClick: 'ClickId',\n ElementVisibility: 'VisibleElementClasses',\n FormSubmit: 'FormId',\n JavaScriptError: 'ErrorMessage'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idTrigger: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n newTriggerType: String,\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n chooseTriggerType: false,\n availableTriggers: [],\n availableVariables: [],\n variableIdToName: {},\n editTitle: '',\n trigger: {},\n parameterValues: {},\n isUpdatingTrigger: false\n };\n },\n emits: ['changeTrigger'],\n created: function created() {\n var _this = this;\n\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init();\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion\n }).then(function (categories) {\n categories.forEach(function (category) {\n category.types.forEach(function (v) {\n _this.variableIdToName[v.id] = v.name;\n\n _this.availableVariables.push({\n key: v.id,\n value: v.name,\n group: category.name,\n tooltip: v.description\n });\n });\n });\n }); // needed for suggestNameForType() to make sure it is aware of all names\n\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchTriggersIfNotLoaded(this.idContainer, this.idContainerVersion);\n this.initIdTrigger();\n },\n watch: {\n idTrigger: function idTrigger(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdTrigger();\n },\n triggerParameterValues: {\n handler: function handler(newValue, oldValue) {\n if (!newValue || !oldValue) {\n return;\n }\n\n this.isDirty = true;\n },\n deep: true\n }\n },\n methods: {\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.trigger.name) {\n this.showErrorFieldNotProvidedNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name'));\n return false;\n }\n\n return true;\n },\n removeAnyTriggerNotification: function removeAnyTriggerNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdTrigger: function initIdTrigger() {\n var _this2 = this;\n\n this.trigger = {};\n this.chooseTriggerType = false;\n this.editTitle = '';\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableTriggers = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchAvailableTriggers(container.context);\n }).then(function (triggers) {\n _this2.availableTriggers = triggers;\n }).then(function () {\n if (_this2.edit && _this2.idTrigger) {\n _this2.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditTrigger');\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].findTrigger(_this2.idContainer, _this2.idContainerVersion, _this2.idTrigger).then(function (trigger) {\n if (!trigger) {\n return;\n }\n\n _this2.trigger = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(trigger);\n _this2.parameterValues = Object.fromEntries(trigger.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n\n _this2.addConditionEntryIfNoneExists();\n\n _this2.onConditionChange();\n\n _this2.isDirty = false;\n });\n return;\n }\n\n if (_this2.create) {\n _this2.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseTriggerToContinue');\n _this2.chooseTriggerType = true;\n }\n });\n },\n onConditionChange: function onConditionChange() {\n var hasAll = (this.trigger.conditions || []).every(function (c) {\n return !!(c !== null && c !== void 0 && c.expected);\n });\n\n if (hasAll) {\n this.addConditionEntry();\n }\n },\n addConditionEntryIfNoneExists: function addConditionEntryIfNoneExists() {\n if (!this.trigger.conditions || !Array.isArray(this.trigger.conditions)) {\n this.trigger.conditions = [];\n }\n\n if (!this.trigger.conditions.length) {\n this.trigger.conditions.push(this.makeDefaultCondition());\n }\n },\n addConditionEntry: function addConditionEntry() {\n this.trigger.conditions.push(this.makeDefaultCondition());\n this.isDirty = true;\n },\n removeConditionEntry: function removeConditionEntry(index) {\n if (index > -1) {\n var lastIndex = this.trigger.conditions.length - 1;\n\n if (lastIndex === index) {\n this.trigger.conditions[index] = this.makeDefaultCondition();\n } else {\n this.trigger.conditions.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n createTriggerType: function createTriggerType(triggerTemplate) {\n var _this3 = this;\n\n if (triggerTemplate && this.isTriggerTemplateDisabled[triggerTemplate.id]) {\n return;\n }\n\n this.chooseTriggerType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTrigger');\n this.trigger = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].suggestNameForType(triggerTemplate.name) || '',\n description: '',\n type: triggerTemplate.id,\n idcontainerversion: this.idContainerVersion,\n conditions: [],\n typeMetadata: triggerTemplate\n };\n this.parameterValues = Object.fromEntries(triggerTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.addConditionEntry(); // we directly make the create button visible as sometimes some triggers do not\n // have any settings\n\n this.isDirty = true;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n if (!_this3.$refs.root) {\n return;\n }\n\n var root = _this3.$refs.root;\n root.scrollIntoView();\n var name = root.querySelector('#name');\n\n if (name) {\n name.focus();\n }\n });\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idTrigger;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createTrigger: function createTrigger() {\n var _this4 = this;\n\n this.removeAnyTriggerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTrigger = true;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateTrigger(this.trigger, 'TagManager.addContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n var idTrigger = response.value;\n _this4.isDirty = false;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this4.idContainer, _this4.idContainerVersion).then(function () {\n if (_this4.isEmbedded) {\n _this4.trigger.idtrigger = idTrigger;\n\n _this4.$emit('changeTrigger', {\n trigger: _this4.trigger\n });\n\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTrigger: idTrigger\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Trigger'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this4.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this4.isUpdatingTrigger = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateTrigger: function updateTrigger() {\n var _this5 = this;\n\n this.removeAnyTriggerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTrigger = true;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateTrigger(this.trigger, 'TagManager.updateContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this5.isEmbedded) {\n _this5.$emit('changeTrigger', {\n trigger: _this5.trigger\n });\n\n return;\n }\n\n _this5.isDirty = false;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this5.idContainer, _this5.idContainerVersion).then(function () {\n _this5.initIdTrigger();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Trigger'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this5.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this5.isUpdatingTrigger = false;\n });\n },\n makeDefaultCondition: function makeDefaultCondition() {\n var _this$trigger;\n\n var actual = 'PageUrl';\n\n if ((_this$trigger = this.trigger) !== null && _this$trigger !== void 0 && _this$trigger.typeMetadata) {\n var type = this.trigger.typeMetadata.id;\n\n if (TRIGGER_TYPE_TO_CONDITION_ACTUAL[type]) {\n actual = TRIGGER_TYPE_TO_CONDITION_ACTUAL[type];\n }\n }\n\n return {\n comparison: 'equals',\n actual: actual,\n expected: ''\n };\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value || this.isUpdatingTrigger;\n },\n create: function create() {\n return this.idTrigger === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n canUseCustomTemplates: function canUseCustomTemplates() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates');\n },\n isTriggerDisabled: function isTriggerDisabled() {\n var _this$trigger$typeMet;\n\n return !this.canUseCustomTemplates && ((_this$trigger$typeMet = this.trigger.typeMetadata) === null || _this$trigger$typeMet === void 0 ? void 0 : _this$trigger$typeMet.isCustomTemplate);\n },\n saveButtonText: function saveButtonText() {\n return this.edit ? Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('CoreUpdater_UpdateTitle') : Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTrigger');\n },\n collectionItemAvatarText: function collectionItemAvatarText() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UseCustomTemplateCapabilityRequired', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CapabilityUseCustomTemplates'));\n },\n availableComparisons: function availableComparisons() {\n return _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].comparisonOptions.value;\n },\n isTriggerTemplateDisabled: function isTriggerTemplateDisabled() {\n var _this6 = this;\n\n var result = {};\n this.availableTriggers.forEach(function (triggerCategory) {\n triggerCategory.types.forEach(function (trigger) {\n result[trigger.id] = !_this6.canUseCustomTemplates && trigger.isCustomTemplate;\n });\n });\n return result;\n },\n triggerParameterValues: function triggerParameterValues() {\n var _this$trigger$typeMet2;\n\n if (!((_this$trigger$typeMet2 = this.trigger.typeMetadata) !== null && _this$trigger$typeMet2 !== void 0 && _this$trigger$typeMet2.parameters)) {\n return null;\n }\n\n return this.parameterValues;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Triggers_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n triggersHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write'),\n triggerReferences: []\n };\n },\n created: function created() {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchTriggers(this.idContainer, this.idContainerVersion);\n },\n methods: {\n createTrigger: function createTrigger() {\n this.editTrigger(0);\n },\n editTrigger: function editTrigger(idTrigger) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTrigger: idTrigger\n }));\n },\n deleteTrigger: function deleteTrigger(trigger) {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggerReferences',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n idTrigger: trigger.idtrigger\n }).then(function (references) {\n if (!references || !references.length) {\n _this.triggerReferences = [];\n\n var doDelete = function doDelete() {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteTrigger(_this.idContainer, _this.idContainerVersion, trigger.idtrigger).then(function () {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this.idContainer, _this.idContainerVersion);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this.$refs.confirmDeleteTrigger, {\n yes: doDelete\n });\n } else {\n _this.triggerReferences = references;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this.$refs.confirmDeleteTriggerNotPossible, {});\n }\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n triggers: function triggers() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].triggers.value;\n },\n sortedTriggers: function sortedTriggers() {\n var sorted = _toConsumableArray(this.triggers);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_TriggersNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_TriggersDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_TriggersTypeDescription');\n },\n filterTranslatedText: function filterTranslatedText() {\n return this.translate('TagManager_TriggersFilterDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_TriggersLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_TriggersActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TriggerList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TriggerList.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue\");\n/* harmony import */ var _TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TriggerEdit.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n triggersHelpText: String\n },\n components: {\n TriggerList: _TriggerList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n TriggerEdit: _TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger;\n }, function (idTrigger) {\n _this.onIdTriggerParamChange(idTrigger);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('triggertriggermanagement');\n this.onIdTriggerParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger);\n },\n methods: {\n onIdTriggerParamChange: function onIdTriggerParamChange(idTrigger) {\n // for BC w/ angularjs only invoke event if idVariable is 0\n if (idTrigger === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddTrigger', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idTrigger: function idTrigger() {\n var idTrigger = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger;\n\n if (!this.isAddAllowed && idTrigger === '0') {\n return null;\n }\n\n return idTrigger ? parseInt(idTrigger, 10) : idTrigger;\n },\n editMode: function editMode() {\n return typeof this.idTrigger === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Variables_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n\n\n\n\n\nvar notificationId = 'tagvariablemanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idVariable: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n variableType: String,\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n showAdvanced: false,\n chooseVariableType: false,\n canUseCustomTemplates: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates'),\n availableVariables: [],\n editTitle: '',\n variable: {},\n parameterValues: {},\n isUpdatingVar: false\n };\n },\n emits: ['changeVariable'],\n created: function created() {\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init(); // needed for suggestNameForType() to make sure it is aware of all names\n\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchVariablesIfNotLoaded(this.idContainer, this.idContainerVersion);\n this.initIdVariable();\n },\n watch: {\n idVariable: function idVariable(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdVariable();\n },\n variableParameterValues: {\n handler: function handler(newValue, oldValue) {\n if (!newValue || !oldValue) {\n return;\n }\n\n this.isDirty = true;\n },\n deep: true\n },\n variableLookupTable: {\n handler: function handler() {\n var hasAll = (this.variable.lookup_table || []).every(function (t) {\n return !!(t !== null && t !== void 0 && t.out_value);\n });\n\n if (hasAll) {\n this.addLookUpEntry();\n }\n },\n deep: true\n }\n },\n methods: {\n removeAnyVariableNotification: function removeAnyVariableNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdVariable: function initIdVariable() {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableVariables = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchAvailableVariables(container.context);\n }).then(function (variables) {\n _this.availableVariables = variables;\n }).then(function () {\n if (_this.edit && _this.idVariable) {\n _this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditVariable');\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].findVariable(_this.idContainer, _this.idContainerVersion, _this.idVariable, _this.isEmbedded).then(function (variable) {\n if (!variable) {\n return;\n }\n\n _this.variable = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(variable);\n _this.parameterValues = Object.fromEntries(variable.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n\n if (_this.variable.lookup_table && _this.variable.lookup_table.length || _this.variable.default_value) {\n _this.showAdvanced = true; // make sure lookup_table is visible directly if configured\n }\n\n _this.addLookUpEntryIfNoneExists();\n\n _this.isDirty = false;\n });\n return;\n }\n\n if (_this.create) {\n var found = false;\n\n if (_this.variableType) {\n _this.availableVariables.forEach(function (category) {\n if (!found) {\n var variable = category.types.find(function (v) {\n return (v === null || v === void 0 ? void 0 : v.id) === _this.variableType;\n });\n\n if (variable) {\n found = true;\n\n _this.createVariableType(variable);\n }\n }\n });\n }\n\n if (!found) {\n _this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseVariableToContinue');\n _this.chooseVariableType = true;\n }\n }\n });\n },\n addLookUpEntryIfNoneExists: function addLookUpEntryIfNoneExists() {\n if (!this.variable.lookup_table || !Array.isArray(this.variable.lookup_table)) {\n this.variable.lookup_table = [];\n }\n\n if (!this.variable.lookup_table.length) {\n this.variable.lookup_table.push({\n comparison: 'equals',\n match_value: '',\n out_value: ''\n });\n }\n },\n addLookUpEntry: function addLookUpEntry() {\n this.variable.lookup_table.push({\n comparison: 'equals',\n match_value: '',\n out_value: ''\n });\n this.isDirty = true;\n },\n removeLookUpEntry: function removeLookUpEntry(index) {\n if (index > -1) {\n this.variable.lookup_table.splice(index, 1);\n this.isDirty = true;\n }\n },\n createVariableType: function createVariableType(variableTemplate) {\n var _this2 = this;\n\n if (variableTemplate && this.isVariableTemplateDisabled[variableTemplate.id]) {\n return;\n }\n\n this.chooseVariableType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewVariable');\n this.variable = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].suggestNameForType(variableTemplate.name) || '',\n description: '',\n type: variableTemplate.id,\n idcontainer: this.idContainer,\n idcontainerversion: this.idContainerVersion,\n default_value: '',\n lookup_table: [],\n typeMetadata: variableTemplate\n };\n this.parameterValues = Object.fromEntries(variableTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.addLookUpEntry(); // we directly make the create button visible as sometimes some variables do not have\n // any settings\n\n this.isDirty = true;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n if (!_this2.$refs.root) {\n return;\n }\n\n var root = _this2.$refs.root;\n root.scrollIntoView();\n var name = root.querySelector('#name');\n\n if (name) {\n name.focus();\n }\n });\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idVariable;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createVariable: function createVariable() {\n var _this3 = this;\n\n this.removeAnyVariableNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVar = true;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, {\n name: encodeURIComponent(this.variable.name)\n }), 'TagManager.addContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n _this3.isDirty = false;\n var idVariable = response.value;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this3.idContainer, _this3.idContainerVersion).then(function () {\n if (_this3.isEmbedded) {\n _this3.variable.idvariable = idVariable;\n\n _this3.$emit('changeVariable', {\n variable: _this3.variable\n });\n\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idVariable: idVariable\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Variable'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this3.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this3.isUpdatingVar = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateVariable: function updateVariable() {\n var _this4 = this;\n\n this.removeAnyVariableNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVar = true;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, {\n name: encodeURIComponent(this.variable.name)\n }), 'TagManager.updateContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this4.isEmbedded) {\n _this4.$emit('changeVariable', {\n variable: _this4.variable\n });\n\n return;\n }\n\n _this4.isDirty = false;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this4.idContainer, _this4.idContainerVersion).then(function () {\n _this4.initIdVariable();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Variable'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this4.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this4.isUpdatingVar = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.variable.name) {\n this.showErrorFieldNotProvidedNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name'));\n return false;\n }\n\n return true;\n }\n },\n computed: {\n typeInlineHelp: function typeInlineHelp() {\n var _this$variable$typeMe, _this$variable$typeMe2;\n\n var desc = ((_this$variable$typeMe = this.variable.typeMetadata) === null || _this$variable$typeMe === void 0 ? void 0 : _this$variable$typeMe.description) || '';\n var help = ((_this$variable$typeMe2 = this.variable.typeMetadata) === null || _this$variable$typeMe2 === void 0 ? void 0 : _this$variable$typeMe2.help) || '';\n return \"\".concat(desc, \" \").concat(help);\n },\n create: function create() {\n return this.idVariable === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value || this.isUpdatingVar;\n },\n availableLookUpComparisons: function availableLookUpComparisons() {\n return _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].comparisonOptions.value;\n },\n isVariableTemplateDisabled: function isVariableTemplateDisabled() {\n var _this5 = this;\n\n var result = {};\n this.availableVariables.forEach(function (variableCategory) {\n variableCategory.types.forEach(function (variable) {\n result[variable.id] = !_this5.canUseCustomTemplates && variable.isCustomTemplate;\n });\n });\n return result;\n },\n isVariableDisabled: function isVariableDisabled() {\n var _this$variable$typeMe3;\n\n return !this.canUseCustomTemplates && ((_this$variable$typeMe3 = this.variable.typeMetadata) === null || _this$variable$typeMe3 === void 0 ? void 0 : _this$variable$typeMe3.isCustomTemplate);\n },\n variableParameterValues: function variableParameterValues() {\n var _this$variable$typeMe4;\n\n if (!((_this$variable$typeMe4 = this.variable.typeMetadata) !== null && _this$variable$typeMe4 !== void 0 && _this$variable$typeMe4.parameters)) {\n return null;\n }\n\n return this.parameterValues;\n },\n variableLookupTable: function variableLookupTable() {\n return this.variable.lookup_table;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Variables_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n variablesHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write'),\n variableReferences: [],\n containerVariables: []\n };\n },\n created: function created() {\n var _this = this;\n\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchVariables(this.idContainer, this.idContainerVersion);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n filter_limit: '-1'\n }).then(function (variables) {\n _this.containerVariables = variables;\n });\n },\n methods: {\n createVariable: function createVariable() {\n this.editVariable(0);\n },\n editVariable: function editVariable(idVariable) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idVariable: idVariable\n }));\n },\n deleteVariable: function deleteVariable(variable) {\n var _this2 = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariableReferences',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n idVariable: variable.idvariable\n }).then(function (references) {\n if (!references || !references.length) {\n _this2.variableReferences = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this2.$refs.confirmDeleteVariable, {\n yes: function yes() {\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteVariable(_this2.idContainer, _this2.idContainerVersion, variable.idvariable).then(function () {\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this2.idContainer, _this2.idContainerVersion);\n });\n }\n });\n } else {\n _this2.variableReferences = references;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this2.$refs.confirmDeleteVariableNotPossible, {});\n }\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n variables: function variables() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].variables.value;\n },\n sortedVariables: function sortedVariables() {\n var sorted = _toConsumableArray(this.variables);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_VariablesNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_VariablesDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_VariablesTypeDescription');\n },\n lookupTableTranslatedText: function lookupTableTranslatedText() {\n return this.translate('TagManager_VariablesLookupTableDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_VariablesLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_VariablesActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _VariableList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VariableList.vue */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue\");\n/* harmony import */ var _VariableEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VariableEdit.vue */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n variablesHelpText: String\n },\n components: {\n VariableList: _VariableList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n VariableEdit: _VariableEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable;\n }, function (idVariable) {\n _this.onIdVariableParamChange(idVariable);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('variablevariablemanagement');\n this.onIdVariableParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable);\n },\n methods: {\n onIdVariableParamChange: function onIdVariableParamChange(idVariable) {\n // for BC w/ angularjs only invoke event if idVariable is 0\n if (idVariable === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVariable', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idVariable: function idVariable() {\n var idVariable = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable;\n\n if (!this.isAddAllowed && idVariable === '0') {\n return null;\n }\n\n return idVariable ? parseInt(idVariable, 10) : idVariable;\n },\n editMode: function editMode() {\n return typeof this.idVariable === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: Number\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n data: function data() {\n return {\n preconfiguredVariables: [],\n containerVariables: [],\n isLoading: false,\n actualIdContainerVersion: this.idContainerVersion\n };\n },\n emits: ['selectVariable'],\n created: function created() {\n this.fetchAvailableVariables();\n },\n watch: {\n idContainerVersion: function idContainerVersion(newValue) {\n this.actualIdContainerVersion = newValue;\n }\n },\n methods: {\n fetchAvailableVariables: function fetchAvailableVariables() {\n var _this = this;\n\n this.preconfiguredVariables = [];\n this.containerVariables = [];\n this.fetchContainer().then(function (container) {\n _this.isLoading = true;\n _this.actualIdContainerVersion = container.draft.idcontainerversion;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: _this.idContainer,\n idContainerVersion: _this.actualIdContainerVersion\n }).then(function (variables) {\n _this.preconfiguredVariables = [];\n _this.containerVariables = [];\n _this.isLoading = false;\n variables.forEach(function (category) {\n var _this$containerVariab;\n\n var preConfig = Object.assign(Object.assign({}, category), {}, {\n types: category.types.filter(function (c) {\n return c.is_pre_configured;\n })\n });\n\n (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, _toConsumableArray(category.types.filter(function (c) {\n return !c.is_pre_configured;\n })));\n\n if (preConfig.types.length) {\n _this.preconfiguredVariables.push(preConfig);\n }\n });\n }).catch(function () {\n _this.isLoading = false;\n });\n });\n },\n editVariable: function editVariable(variable) {\n var _this2 = this;\n\n if (!this.actualIdContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, variable.idvariable, function () {\n _this2.fetchAvailableVariables();\n });\n },\n createVariable: function createVariable() {\n var _this3 = this;\n\n if (!this.actualIdContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, 0, function () {\n _this3.fetchAvailableVariables();\n });\n },\n selectVariable: function selectVariable(variable) {\n this.$emit('selectVariable', {\n variable: variable\n });\n },\n fetchContainer: function fetchContainer() {\n this.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n filter_limit: '-1',\n idContainer: this.idContainer\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n variableTypeName: {\n type: String,\n required: true\n },\n modelValue: String,\n variableType: String\n },\n components: {\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n emits: ['update:modelValue'],\n data: function data() {\n return {\n containerVariables: [],\n isLoading: false,\n idContainerVersion: null\n };\n },\n created: function created() {\n this.fetchAvailableVariables();\n },\n methods: {\n fetchAvailableVariables: function fetchAvailableVariables() {\n var _this = this;\n\n this.containerVariables = [];\n this.fetchContainer().then(function (container) {\n _this.isLoading = true;\n _this.idContainerVersion = container.draft.idcontainerversion;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer,\n idContainerVersion: _this.idContainerVersion\n }).then(function (variables) {\n _this.containerVariables = [];\n _this.isLoading = false;\n variables.forEach(function (category) {\n var _this$containerVariab;\n\n var options = category.types.filter(function (t) {\n return t.type === _this.variableType;\n }).map(function (t) {\n return {\n key: \"{{\".concat(t.id, \"}}\"),\n value: t.name\n };\n });\n\n (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, _toConsumableArray(options));\n });\n\n if (!_this.modelValue && _this.containerVariables.length === 1) {\n // when no value configured and only one selection is available, we preselect that value\n _this.onChange(_this.containerVariables[0].key);\n }\n }).catch(function () {\n _this.isLoading = false;\n });\n });\n },\n onChange: function onChange(newValue) {\n this.$emit('update:modelValue', newValue);\n },\n createVariable: function createVariable() {\n var _this2 = this;\n\n if (!this.idContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer, this.idContainerVersion, 0, function (variable) {\n _this2.fetchAvailableVariables();\n\n if (variable) {\n _this2.onChange(\"{{\".concat(variable.name, \"}}\"));\n }\n }, this.variableType);\n },\n fetchContainer: function fetchContainer() {\n this.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n filter_limit: '-1',\n idContainer: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n canPublishToLive: Boolean\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableEnvironments.store */ \"./plugins/TagManager/vue/src/AvailableEnvironments.store.ts\");\n/* harmony import */ var _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Variable/Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n/* harmony import */ var _diffDraftVersion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./diffDraftVersion */ \"./plugins/TagManager/vue/src/Version/diffDraftVersion.ts\");\n/* harmony import */ var _Versions_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\n/* harmony import */ var _VersionNameHelpText_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./VersionNameHelpText.vue */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue\");\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\n\n\n\n\n\nvar notificationId = 'versiontagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: {\n type: Number,\n required: true\n },\n idContainer: {\n type: String,\n required: true\n },\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n isDirty: false,\n lastVersion: null,\n versionChanges: [],\n isLoadingVersionChanges: false,\n isUpdatingVersion: false,\n version: {}\n };\n },\n emits: ['changeVersion'],\n created: function created() {\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].init();\n _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n this.initIdContainerVersion();\n },\n watch: {\n idContainerVersion: function idContainerVersion(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdContainerVersion();\n }\n },\n methods: {\n removeAnyVersionNotification: function removeAnyVersionNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdContainerVersion: function initIdContainerVersion() {\n var _this = this;\n\n this.version = {};\n this.lastVersion = null;\n this.versionChanges = [];\n this.isLoadingVersionChanges = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].fetchVersions(this.idContainer).then(function () {\n var _versions$;\n\n _this.isLoadingVersionChanges = false;\n _this.lastVersion = null;\n\n var versions = _toConsumableArray(_Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].versions.value);\n\n if (!(versions !== null && versions !== void 0 && versions.length)) {\n return;\n }\n\n versions.sort(function (a, b) {\n return a.revision < b.revision ? 1 : 0;\n });\n var lastContainerVersion = null;\n\n if (_this.create && (_versions$ = versions[0]) !== null && _versions$ !== void 0 && _versions$.name) {\n _this.lastVersion = versions[0].name;\n lastContainerVersion = versions[0].idcontainerversion;\n } else if (_this.edit) {\n versions.forEach(function (v, i) {\n // we stop before the last one because it cannot have an entry\n if (i >= versions.length - 1) {\n return;\n }\n\n if (v.idcontainerversion === _this.idContainerVersion && versions[i + 1]) {\n _this.lastVersion = versions[i + 1].name;\n lastContainerVersion = versions[i + 1].idcontainerversion;\n }\n });\n }\n\n if (_this.lastVersion) {\n _this.isLoadingVersionChanges = true;\n Object(_diffDraftVersion__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_this.idContainer, _this.idContainerVersion, lastContainerVersion).then(function (diff) {\n _this.versionChanges = diff;\n _this.isLoadingVersionChanges = false;\n });\n\n if (_this.create && !_this.version.name && /^\\d+$/.test(_this.lastVersion)) {\n _this.version.name = \"\".concat(parseInt(_this.lastVersion, 10) + 1);\n _this.isDirty = true;\n }\n }\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n\n if (this.edit && this.idContainerVersion) {\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].findVersion(this.idContainer, this.idContainerVersion).then(function (version) {\n if (!version) {\n return;\n }\n\n _this.version = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(version);\n _this.isDirty = false;\n });\n return;\n }\n\n if (this.create) {\n this.version = {\n idSite: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n idcontainer: this.idContainer,\n name: '',\n description: ''\n };\n\n if (this.canPublishToLive) {\n this.version.environments = ['live'];\n } else {\n // If the user can't publish to live, select the next available option.\n var notLive = this.environments.find(function (obj) {\n return obj.key !== 'live';\n });\n this.version.environments = notLive ? [notLive.key] : [];\n }\n\n this.isDirty = false;\n }\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idContainerVersion;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createVersion: function createVersion() {\n var _this2 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return;\n }\n\n _this2.isDirty = false;\n var idContainerVersion = response.value;\n\n if (_this2.isEmbedded) {\n _this2.version.idcontainerversion = idContainerVersion;\n\n _this2.$emit('changeVersion', {\n version: _this2.version\n });\n\n return;\n }\n\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this2.idContainer).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Version'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this2.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this2.isUpdatingVersion = false;\n });\n },\n createVersionAndPublish: function createVersionAndPublish() {\n var _this3 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return null;\n }\n\n var idContainerVersion = response.value;\n _this3.version.idcontainerversion = idContainerVersion;\n return _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].publishVersion(_this3.idContainer, idContainerVersion, _this3.version.environments[0]).then(function () {\n _this3.isDirty = false;\n\n if (_this3.isEmbedded) {\n _this3.$emit('changeVersion', {\n version: _this3.version\n });\n\n return;\n }\n\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this3.idContainer).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n setTimeout(function () {\n _this3.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionPublishSuccess'), 'success');\n }, 200);\n });\n });\n }).finally(function () {\n _this3.isUpdatingVersion = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateVersion: function updateVersion() {\n var _this4 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.updateContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this4.isEmbedded) {\n _this4.$emit('changeVersion', {\n version: _this4.version\n });\n\n return;\n }\n\n _this4.isDirty = false;\n _this4.version = {};\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this4.idContainer).then(function () {\n _this4.initIdContainerVersion();\n });\n\n _this4.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Version')), 'success');\n }).finally(function () {\n _this4.isUpdatingVersion = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.version.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n return true;\n }\n },\n computed: {\n create: function create() {\n return this.idContainerVersion === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingVersion;\n },\n environments: function environments() {\n var environments = _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].environmentsWithPublishOptions.value;\n\n if (!this.canPublishToLive) {\n // If the user can't publish to live, disable that option.\n var liveIndex = environments.findIndex(function (obj) {\n return obj.key === 'live';\n });\n\n if (liveIndex > -1) {\n environments[liveIndex].disabled = true;\n }\n }\n\n return environments;\n },\n canPublishToLive: function canPublishToLive() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_publish_live_container');\n },\n versionNameHelpText: function versionNameHelpText() {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"markRaw\"])(_VersionNameHelpText_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n },\n selectTagManagerEnvironmentHelp: function selectTagManagerEnvironmentHelp() {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"markRaw\"])(_SelectTagManagerEnvironmentHelpText_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\n },\n editTitle: function editTitle() {\n return this.create ? Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewVersion') : Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditVersion');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Versions_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\n/* harmony import */ var _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableEnvironments.store */ \"./plugins/TagManager/vue/src/AvailableEnvironments.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n versionsHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n versionToBePublished: null\n };\n },\n created: function created() {\n _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init();\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchVersions(this.idContainer);\n },\n methods: {\n createVersion: function createVersion() {\n this.editVersion(0);\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n },\n publishVersion: function publishVersion(version) {\n var _this = this;\n\n this.versionToBePublished = version;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmPublishVersion, {\n yes: function yes() {\n var deployEnvironment = _this.availableEnvironmentsToPublish.deployEnvironment;\n\n if (deployEnvironment) {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].publishVersion(version.idcontainer, version.idcontainerversion, deployEnvironment).then(function () {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this.idContainer);\n });\n }\n }\n });\n },\n enableDebugMode: function enableDebugMode(idContainerVersion) {\n tagManagerHelper.enablePreviewMode(this.idContainer, idContainerVersion);\n },\n exportVersion: function exportVersion(idContainerVersion, versionName) {\n var params = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: this.idContainer,\n filter_limit: -1\n };\n\n if (idContainerVersion) {\n params.idContainerVersion = idContainerVersion;\n }\n\n var filename = \"container_\".concat(this.idContainer);\n\n if (versionName) {\n filename += \"_\".concat(versionName);\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch(params).then(function (exportedContainer) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.sendContentAsDownload(\"\".concat(filename, \".json\"), JSON.stringify(exportedContainer));\n });\n },\n editVersion: function editVersion(idContainerVersion) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n },\n importVersion: function importVersion() {\n tagManagerHelper.importVersion(this.idContainer);\n },\n deleteVersion: function deleteVersion(version) {\n var _this2 = this;\n\n var doDelete = function doDelete() {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].deleteVersion(_this2.idContainer, version.idcontainerversion).then(function () {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this2.idContainer);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmDeleteVersion, {\n yes: doDelete\n });\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substring(0, 1).toUpperCase()).concat(s.substring(1));\n },\n getExportUrl: function getExportUrl(version) {\n return \"?module=TagManager&action=exportContainerVersion&idContainer=\".concat(this.idContainer) + \"&idContainerVersion=\".concat(version.idcontainerversion, \"&idSite=\").concat(version.idsite) + '&period=day&date=yesterday';\n },\n getExportDraftUrl: function getExportDraftUrl() {\n return \"?module=TagManager&action=exportContainerVersion&idContainer=\".concat(this.idContainer) + \"&idSite=\".concat(this.idSite, \"&period=day&date=yesterday\");\n }\n },\n computed: {\n environments: function environments() {\n return _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].environmentsWithPublishOptions.value;\n },\n availableEnvironmentsToPublish: function availableEnvironmentsToPublish() {\n var _this3 = this;\n\n var deployEnvironment = '';\n var environnments = this.environments.filter(function (env) {\n var _this3$versionToBePub, _this3$versionToBePub2;\n\n if (!((_this3$versionToBePub = _this3.versionToBePublished) !== null && _this3$versionToBePub !== void 0 && _this3$versionToBePub.releases)) {\n return true;\n }\n\n var found = (_this3$versionToBePub2 = _this3.versionToBePublished) === null || _this3$versionToBePub2 === void 0 ? void 0 : _this3$versionToBePub2.releases.some(function (r) {\n return r.environment === (env === null || env === void 0 ? void 0 : env.key);\n });\n\n if (!found && !deployEnvironment) {\n deployEnvironment = env.key;\n }\n\n return !found;\n });\n return {\n deployEnvironment: deployEnvironment,\n environnments: environnments\n };\n },\n idSite: function idSite() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite;\n },\n isLoading: function isLoading() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value;\n },\n versions: function versions() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].versions.value;\n },\n sortedVersions: function sortedVersions() {\n var sorted = _toConsumableArray(this.versions);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.revision < rhs.revision) {\n return 1;\n }\n\n return lhs.revision > rhs.revision ? 0 : 1;\n });\n return sorted;\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n },\n canPublishToLive: function canPublishToLive() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_publish_live_container');\n },\n revisionTranslatedText: function revisionTranslatedText() {\n return this.translate('TagManager_VersionsRevisionDescription');\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_VersionsNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_VersionsDescriptionDescription');\n },\n environmentTranslatedText: function environmentTranslatedText() {\n return this.translate('TagManager_VersionsEnvironmentsDescription');\n },\n createdTranslatedText: function createdTranslatedText() {\n return this.translate('TagManager_VersionsCreatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_VersionsActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _VersionList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VersionList.vue */ \"./plugins/TagManager/vue/src/Version/VersionList.vue\");\n/* harmony import */ var _VersionEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VersionEdit.vue */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String,\n versionsHelpText: String\n },\n components: {\n VersionList: _VersionList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n VersionEdit: _VersionEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion;\n }, function (v) {\n _this.onIdContainerVersionParamChange(v);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('versiontagmanagement');\n this.onIdContainerVersionParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion);\n },\n methods: {\n onIdContainerVersionParamChange: function onIdContainerVersionParamChange(idContainerVersion) {\n // for BC w/ angularjs only invoke event if idContainerVersion is 0\n if (idContainerVersion === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVersion', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idContainerVersion: function idContainerVersion() {\n var idContainerVersion = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion;\n\n if (!this.isAddAllowed && idContainerVersion === '0') {\n return null;\n }\n\n return idContainerVersion ? parseInt(idContainerVersion, 10) : idContainerVersion;\n },\n editMode: function editMode() {\n return typeof this.idContainerVersion === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n lastVersion: String\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js ***! - \**********************************************************************************/ -/*! exports provided: ImportVersion, VariableSelect, VariableSelectType, FieldTextareaVariable, FieldVariableTemplate, FieldVariableTypeTemplate, VariableEdit, VariableList, VariableManage, TriggerEdit, TriggerList, TriggerManage, TagEdit, TagList, TagManage, VersionEdit, VersionList, VersionManage, ContainerEdit, ContainerList, ContainerManage, ContainerDashboard, ContainerSelector, ManageInstallTagCode, TagmanagerTrackingCode, TrackingCodeCommon, TrackingCodePage, TrackingSPAPage, Debugging, GettingStarted */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _setPublicPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPublicPath */ \"./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js\");\n/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ~entry */ \"./plugins/TagManager/vue/src/index.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImportVersion\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ImportVersion\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelect\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelectType\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableSelectType\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldTextareaVariable\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldTextareaVariable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTemplate\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldVariableTemplate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTypeTemplate\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldVariableTypeTemplate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerDashboard\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerDashboard\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerSelector\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerSelector\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ManageInstallTagCode\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ManageInstallTagCode\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagmanagerTrackingCode\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagmanagerTrackingCode\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodeCommon\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingCodeCommon\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodePage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingCodePage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingSPAPage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingSPAPage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Debugging\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"Debugging\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GettingStarted\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"GettingStarted\"]; });\n\n\n\n\n\n//# sourceURL=webpack://TagManager/./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js?"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js ***! - \***************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (false) { var getCurrentScript; }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_require__.p = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\n/* harmony default export */ __webpack_exports__[\"default\"] = (null);\n\n\n//# sourceURL=webpack://TagManager/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableComparisons.store.ts": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableComparisons.store.ts ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableComparisonsStore = /*#__PURE__*/function () {\n function AvailableComparisonsStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableComparisonsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n comparisons: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"comparisons\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.comparisons;\n }));\n\n _defineProperty(this, \"comparisonOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.comparisons.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableComparisonsStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableComparisons();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableComparisons\",\n value: function fetchAvailableComparisons() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableComparisons',\n filter_limit: '-1'\n }).then(function (comparisons) {\n _this2.privateState.comparisons = comparisons;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableComparisonsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableComparisonsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableComparisons.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableContexts.store.ts": -/*!***************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableContexts.store.ts ***! - \***************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableContextStore = /*#__PURE__*/function () {\n function AvailableContextStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableContextStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n contexts: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"contexts\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.contexts;\n }));\n\n _defineProperty(this, \"contextsOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.contexts.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableContextStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableContexts();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableContexts\",\n value: function fetchAvailableContexts() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContexts',\n filter_limit: '-1'\n }).then(function (contexts) {\n var entities;\n\n if (Array.isArray(contexts)) {\n entities = contexts;\n } else {\n entities = Object.values(contexts);\n }\n\n _this2.privateState.contexts = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableContextStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableContextStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableContexts.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableEnvironments.store.ts": -/*!*******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableEnvironments.store.ts ***! - \*******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableEnvironmentStore = /*#__PURE__*/function () {\n function AvailableEnvironmentStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableEnvironmentStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n environmentsWithPublish: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"environmentsWithPublish\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.environmentsWithPublish;\n }));\n\n _defineProperty(this, \"environmentsWithPublishOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.environmentsWithPublish.value.map( // eslint-disable-next-line\n function (_ref) {\n var id = _ref.id,\n name = _ref.name,\n disabled = _ref.disabled;\n return {\n key: id,\n value: name,\n disabled: false\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableEnvironmentStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchEnvironments();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchEnvironments\",\n value: function fetchEnvironments() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableEnvironmentsWithPublishCapability',\n filter_limit: '-1'\n }).then(function (environmentsWithPublish) {\n var entities;\n\n if (Array.isArray(environmentsWithPublish)) {\n entities = environmentsWithPublish;\n } else {\n entities = Object.values(environmentsWithPublish);\n }\n\n _this2.privateState.environmentsWithPublish = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableEnvironmentStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableEnvironmentStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableEnvironments.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableFireLimit.store.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableFireLimit.store.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableFireLimitStore = /*#__PURE__*/function () {\n function AvailableFireLimitStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableFireLimitStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n fireLimits: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"fireLimits\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.fireLimits;\n }));\n\n _defineProperty(this, \"fireLimitsOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.fireLimits.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableFireLimitStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableFireLimits();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableFireLimits\",\n value: function fetchAvailableFireLimits() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTagFireLimits',\n filter_limit: '-1'\n }).then(function (fireLimits) {\n var entities;\n\n if (Array.isArray(fireLimits)) {\n entities = fireLimits;\n } else {\n entities = Object.values(fireLimits);\n }\n\n _this2.privateState.fireLimits = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableFireLimitStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableFireLimitStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableFireLimit.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerEdit.vue?vue&type=template&id=3ddae96c */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c\");\n/* harmony import */ var _ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerEdit.vue?vue&type=template&id=3ddae96c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerList.vue?vue&type=template&id=5c6b3844 */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844\");\n/* harmony import */ var _ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844 ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerList.vue?vue&type=template&id=5c6b3844 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerManage.vue?vue&type=template&id=469f4b25 */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25\");\n/* harmony import */ var _ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts ***! - \******************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25": -/*!************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25 ***! - \************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerManage.vue?vue&type=template&id=469f4b25 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/Containers.store.ts": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/Containers.store.ts ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar ContainersStore = /*#__PURE__*/function () {\n function ContainersStore() {\n var _this = this;\n\n _classCallCheck(this, ContainersStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n containers: [],\n isLoadingContainers: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingContainers || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"containers\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.containers;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n }\n\n _createClass(ContainersStore, [{\n key: \"reload\",\n value: function reload() {\n this.privateState.containers = [];\n this.fetchPromise = null;\n return this.fetchContainers();\n }\n }, {\n key: \"fetchContainers\",\n value: function fetchContainers() {\n var _this2 = this;\n\n this.privateState.isLoadingContainers = true;\n this.privateState.containers = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers',\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (containers) {\n _this2.privateState.containers = containers;\n _this2.privateState.isLoadingContainers = false;\n return _this2.containers.value;\n }).finally(function () {\n _this2.privateState.isLoadingContainers = false;\n });\n }\n }, {\n key: \"findContainer\",\n value: function findContainer(idContainer) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded containers\n var found = this.containers.value.find(function (v) {\n return v.idcontainer === idContainer;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n method: 'TagManager.getContainer',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.containers = [].concat(_toConsumableArray(_this3.privateState.containers), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"deleteContainer\",\n value: function deleteContainer(idContainer) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.containers = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n method: 'TagManager.deleteContainer'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"createOrUpdateContainer\",\n value: function createOrUpdateContainer(container, method) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: method,\n idContainer: container.idcontainer\n }, {\n name: container.name,\n description: container.description,\n context: container.context\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }]);\n\n return ContainersStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new ContainersStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/Containers.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerDashboard.vue?vue&type=template&id=9b82ef88 */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88\");\n/* harmony import */ var _ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerDashboard.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerDashboard.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88 ***! - \************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerDashboard.vue?vue&type=template&id=9b82ef88 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerSelector.vue?vue&type=template&id=1a26f35e */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e\");\n/* harmony import */ var _ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerSelector.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerSelector.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e ***! - \**********************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerSelector.vue?vue&type=template&id=1a26f35e */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Debugging.vue?vue&type=template&id=fe13948c */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c\");\n/* harmony import */ var _Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Debugging.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Debugging/Debugging.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./Debugging.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./Debugging.vue?vue&type=template&id=fe13948c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldTextareaVariable.vue?vue&type=template&id=6848eb70 */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70\");\n/* harmony import */ var _FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldTextareaVariable.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldTextareaVariable.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldTextareaVariable.vue?vue&type=template&id=6848eb70 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldVariableTemplate.vue?vue&type=template&id=77309d88 */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88\");\n/* harmony import */ var _FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldVariableTemplate.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldVariableTemplate.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldVariableTemplate.vue?vue&type=template&id=77309d88 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue": -/*!************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue ***! - \************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c\");\n/* harmony import */ var _FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldVariableTypeTemplate.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts": -/*!************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts ***! - \************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldVariableTypeTemplate.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c ***! - \******************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue": -/*!**********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue ***! - \**********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GettingStarted.vue?vue&type=template&id=749015fc */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc\");\n/* harmony import */ var _GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GettingStarted.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./GettingStarted.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc ***! - \****************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./GettingStarted.vue?vue&type=template&id=749015fc */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ImportVersion.vue?vue&type=template&id=0daf96f8 */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8\");\n/* harmony import */ var _ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ImportVersion.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ImportVersion.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ImportVersion.vue?vue&type=template&id=0daf96f8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue ***! - \**********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ManageInstallTagCode.vue?vue&type=template&id=7c5b617c */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c\");\n/* harmony import */ var _ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ManageInstallTagCode.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ManageInstallTagCode.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c": -/*!****************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c ***! - \****************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ManageInstallTagCode.vue?vue&type=template&id=7c5b617c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue": -/*!*********************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue ***! - \*********************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagDateInput.vue?vue&type=template&id=cdb1b58c */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c\");\n/* harmony import */ var _TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagDateInput.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagDateInput.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts": -/*!*********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts ***! - \*********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagDateInput.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c": -/*!***************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c ***! - \***************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagDateInput.vue?vue&type=template&id=cdb1b58c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue": -/*!****************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue ***! - \****************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagEdit.vue?vue&type=template&id=19eed008 */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008\");\n/* harmony import */ var _TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008 ***! - \**********************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagEdit.vue?vue&type=template&id=19eed008 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue": -/*!****************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue ***! - \****************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagList.vue?vue&type=template&id=387f1ee0 */ \"./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0\");\n/* harmony import */ var _TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0 ***! - \**********************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagList.vue?vue&type=template&id=387f1ee0 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue": -/*!******************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue ***! - \******************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagManage.vue?vue&type=template&id=99761952 */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952\");\n/* harmony import */ var _TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952 ***! - \************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagManage.vue?vue&type=template&id=99761952 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagTriggerArray.vue?vue&type=template&id=5ab79bf3 */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3\");\n/* harmony import */ var _TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagTriggerArray.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagTriggerArray.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagTriggerArray.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagTriggerArray.vue?vue&type=template&id=5ab79bf3 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/Tags.store.ts": -/*!******************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/Tags.store.ts ***! - \******************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar TagsStore = /*#__PURE__*/function () {\n function TagsStore() {\n var _this = this;\n\n _classCallCheck(this, TagsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n tags: [],\n isLoadingTags: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingTags || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"tags\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.tags;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableTagsPromises\", {});\n }\n\n _createClass(TagsStore, [{\n key: \"fetchTags\",\n value: function fetchTags(idContainer, idContainerVersion) {\n var _this2 = this;\n\n this.privateState.isLoadingTags = true;\n this.privateState.tags = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTags',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (tags) {\n _this2.privateState.tags = tags;\n _this2.privateState.isLoadingTags = false;\n return _this2.tags.value;\n }).finally(function () {\n _this2.privateState.isLoadingTags = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.tags = [];\n this.fetchPromise = null;\n this.availableTagsPromises = {};\n return this.fetchTags(idContainer, idContainerVersion);\n }\n }, {\n key: \"findTag\",\n value: function findTag(idContainer, idContainerVersion, idTag) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.tags.value.find(function (v) {\n return v.idtag === idTag;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTag: idTag,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerTag',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.tags = [].concat(_toConsumableArray(_this3.privateState.tags), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"fetchAvailableTags\",\n value: function fetchAvailableTags(idContext) {\n if (!this.availableTagsPromises[idContext]) {\n this.availableTagsPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTagTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n }).then(function (tags) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(tags);\n });\n }\n\n return Promise.resolve(this.availableTagsPromises[idContext]);\n }\n }, {\n key: \"createOrUpdateTag\",\n value: function createOrUpdateTag(tag, method, idContainer, idContainerVersion, parameterValues, fireTriggerIds, blockTriggerIds) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idTag: tag.idtag,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: tag.type,\n name: tag.name,\n description: tag.description,\n startDate: tag.start_date,\n endDate: tag.end_date,\n fireLimit: tag.fire_limit,\n fireDelay: tag.fire_delay,\n priority: tag.priority\n }, {\n parameters: parameters,\n fireTriggerIds: fireTriggerIds,\n blockTriggerIds: blockTriggerIds\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"deleteTag\",\n value: function deleteTag(idContainer, idContainerVersion, idTag) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.tags = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTag: idTag,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerTag'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this6 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this6.tags.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }]);\n\n return TagsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new TagsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/Tags.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688\");\n/* harmony import */ var _TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagmanagerTrackingCode.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688": -/*!********************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 ***! - \********************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue ***! - \**********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4\");\n/* harmony import */ var _TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingCodeCommon.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingCodeCommon.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4": -/*!****************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 ***! - \****************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue": -/*!********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue ***! - \********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingCodePage.vue?vue&type=template&id=4faf0ab8 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8\");\n/* harmony import */ var _TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingCodePage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingCodePage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8": -/*!**************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8 ***! - \**************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingCodePage.vue?vue&type=template&id=4faf0ab8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue": -/*!*******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingSPAPage.vue?vue&type=template&id=2c5b4232 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232\");\n/* harmony import */ var _TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingSPAPage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts": -/*!*******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts ***! - \*******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingSPAPage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232": -/*!*************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232 ***! - \*************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingSPAPage.vue?vue&type=template&id=2c5b4232 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerEdit.vue?vue&type=template&id=de645090 */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090\");\n/* harmony import */ var _TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerEdit.vue?vue&type=template&id=de645090 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerList.vue?vue&type=template&id=fcf49f68 */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68\");\n/* harmony import */ var _TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerList.vue?vue&type=template&id=fcf49f68 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerManage.vue?vue&type=template&id=168d97da */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da\");\n/* harmony import */ var _TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerManage.vue?vue&type=template&id=168d97da */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/Triggers.store.ts": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/Triggers.store.ts ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar TriggersStore = /*#__PURE__*/function () {\n function TriggersStore() {\n var _this = this;\n\n _classCallCheck(this, TriggersStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n triggers: [],\n isLoadingTriggers: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingTriggers || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"triggers\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.triggers;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableTriggersPromises\", {});\n }\n\n _createClass(TriggersStore, [{\n key: \"fetchTriggers\",\n value: function fetchTriggers(idContainer, idContainerVersion) {\n var _this2 = this;\n\n this.privateState.triggers = [];\n this.privateState.isLoadingTriggers = true;\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggers',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (triggers) {\n _this2.privateState.triggers = triggers;\n return _this2.triggers.value;\n }).finally(function () {\n _this2.privateState.isLoadingTriggers = false;\n });\n }\n }, {\n key: \"fetchTriggersIfNotLoaded\",\n value: function fetchTriggersIfNotLoaded(idContainer, idContainerVersion) {\n if (!this.fetchPromise) {\n // needed for suggestNameForType() to make sure it is aware of all names\n this.fetchTriggers(idContainer, idContainerVersion);\n }\n }\n }, {\n key: \"fetchAvailableTriggers\",\n value: function fetchAvailableTriggers(idContext) {\n if (!this.availableTriggersPromises[idContext]) {\n this.availableTriggersPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTriggerTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.availableTriggersPromises[idContext]);\n }\n }, {\n key: \"findTrigger\",\n value: function findTrigger(idContainer, idContainerVersion, idTrigger) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.triggers.value.find(function (v) {\n return v.idtrigger === idTrigger;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTrigger: idTrigger,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerTrigger',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.triggers = [].concat(_toConsumableArray(_this3.privateState.triggers), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this4 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this4.triggers.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }, {\n key: \"createOrUpdateTrigger\",\n value: function createOrUpdateTrigger(trigger, method, idContainer, idContainerVersion, parameterValues) {\n var _this5 = this;\n\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n var conditions = trigger.conditions.filter(function (c) {\n return c && c.actual && c.comparison && c.expected;\n });\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idTrigger: trigger.idtrigger,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: trigger.type,\n name: trigger.name,\n description: trigger.description\n }, {\n parameters: parameters,\n conditions: conditions\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.triggers = [];\n this.fetchPromise = null;\n this.availableTriggersPromises = {};\n return this.fetchTriggers(idContainer, idContainerVersion);\n }\n }, {\n key: \"deleteTrigger\",\n value: function deleteTrigger(idContainer, idContainerVersion, idTrigger) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.triggers = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTrigger: idTrigger,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerTrigger'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return TriggersStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new TriggersStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/Triggers.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableEdit.vue?vue&type=template&id=730a9906 */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906\");\n/* harmony import */ var _VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906 ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableEdit.vue?vue&type=template&id=730a9906 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableList.vue?vue&type=template&id=63c2719a */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a\");\n/* harmony import */ var _VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableList.vue?vue&type=template&id=63c2719a */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableManage.vue?vue&type=template&id=3acad9e1 */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1\");\n/* harmony import */ var _VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1 ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableManage.vue?vue&type=template&id=3acad9e1 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/Variables.store.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/Variables.store.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar VariablesStore = /*#__PURE__*/function () {\n function VariablesStore() {\n var _this = this;\n\n _classCallCheck(this, VariablesStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n variables: [],\n isLoadingVars: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingVars || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"variables\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.variables;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableVariablesPromises\", {});\n }\n\n _createClass(VariablesStore, [{\n key: \"fetchVariablesIfNotLoaded\",\n value: function fetchVariablesIfNotLoaded(idContainer, idContainerVersion) {\n if (!this.fetchPromise) {\n // needed for suggestNameForType() to make sure it is aware of all names\n this.fetchVariables(idContainer, idContainerVersion);\n }\n }\n }, {\n key: \"findVariable\",\n value: function findVariable(idContainer, idContainerVersion, idVariable, ignoreCache) {\n var _this2 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.variables.value.find(function (v) {\n return v.idvariable === idVariable;\n });\n\n if (found && !ignoreCache) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idVariable: idVariable,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerVariable',\n filter_limit: '-1'\n }).then(function (record) {\n _this2.privateState.variables = [].concat(_toConsumableArray(_this2.privateState.variables), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this2.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"fetchVariables\",\n value: function fetchVariables(idContainer, idContainerVersion) {\n var _this3 = this;\n\n this.privateState.isLoadingVars = true;\n this.privateState.variables = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariables',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (variables) {\n _this3.privateState.variables = variables;\n _this3.privateState.isLoadingVars = false;\n return _this3.variables.value;\n }).finally(function () {\n _this3.privateState.isLoadingVars = false;\n });\n }\n }, {\n key: \"fetchAvailableVariables\",\n value: function fetchAvailableVariables(idContext) {\n if (!this.availableVariablesPromises[idContext]) {\n this.availableVariablesPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableVariableTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n }).then(function (variables) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(variables);\n });\n }\n\n return Promise.resolve(this.availableVariablesPromises[idContext]);\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this4 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this4.variables.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }, {\n key: \"createOrUpdateVariable\",\n value: function createOrUpdateVariable(variable, method, idContainer, idContainerVersion, parameterValues) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n var lookupTable = variable.lookup_table.filter(function (l) {\n return l && l.out_value && l.comparison;\n });\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idVariable: variable.idvariable,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: variable.type,\n name: variable.name,\n description: variable.description,\n defaultValue: variable.default_value\n }, {\n parameters: parameters,\n lookupTable: lookupTable\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.variables = [];\n this.fetchPromise = null;\n this.availableVariablesPromises = {};\n return this.fetchVariables(idContainer, idContainerVersion);\n }\n }, {\n key: \"deleteVariable\",\n value: function deleteVariable(idContainer, idContainerVersion, idVariable) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.variables = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idVariable: idVariable,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerVariable'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return VariablesStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new VariablesStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/Variables.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue": -/*!**********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue ***! - \**********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableSelect.vue?vue&type=template&id=219b309c */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c\");\n/* harmony import */ var _VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelect.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableSelect.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c ***! - \****************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableSelect.vue?vue&type=template&id=219b309c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableSelectType.vue?vue&type=template&id=10c7b5dc */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc\");\n/* harmony import */ var _VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelectType.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableSelectType.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc ***! - \************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableSelectType.vue?vue&type=template&id=10c7b5dc */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230\");\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230": -/*!******************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 ***! - \******************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionEdit.vue?vue&type=template&id=01b605f8 */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8\");\n/* harmony import */ var _VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "19dc": +/***/ (function(module, exports) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); +module.exports = __WEBPACK_EXTERNAL_MODULE__19dc__; /***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "8bbf": +/***/ (function(module, exports) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionEdit.vue?vue&type=template&id=01b605f8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); +module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; /***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "a5a2": +/***/ (function(module, exports) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionList.vue?vue&type=template&id=1b2442e8 */ \"./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8\");\n/* harmony import */ var _VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); +module.exports = __WEBPACK_EXTERNAL_MODULE_a5a2__; + +/***/ }), + +/***/ "fae3": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, "ImportVersion", function() { return /* reexport */ ImportVersion; }); +__webpack_require__.d(__webpack_exports__, "VariableSelect", function() { return /* reexport */ VariableSelect; }); +__webpack_require__.d(__webpack_exports__, "VariableSelectType", function() { return /* reexport */ VariableSelectType; }); +__webpack_require__.d(__webpack_exports__, "FieldTextareaVariable", function() { return /* reexport */ FieldTextareaVariable; }); +__webpack_require__.d(__webpack_exports__, "FieldVariableTemplate", function() { return /* reexport */ FieldVariableTemplate; }); +__webpack_require__.d(__webpack_exports__, "FieldVariableTypeTemplate", function() { return /* reexport */ FieldVariableTypeTemplate; }); +__webpack_require__.d(__webpack_exports__, "VariableEdit", function() { return /* reexport */ VariableEdit; }); +__webpack_require__.d(__webpack_exports__, "VariableList", function() { return /* reexport */ VariableList; }); +__webpack_require__.d(__webpack_exports__, "VariableManage", function() { return /* reexport */ VariableManage; }); +__webpack_require__.d(__webpack_exports__, "TriggerEdit", function() { return /* reexport */ TriggerEdit; }); +__webpack_require__.d(__webpack_exports__, "TriggerList", function() { return /* reexport */ TriggerList; }); +__webpack_require__.d(__webpack_exports__, "TriggerManage", function() { return /* reexport */ TriggerManage; }); +__webpack_require__.d(__webpack_exports__, "TagEdit", function() { return /* reexport */ TagEdit; }); +__webpack_require__.d(__webpack_exports__, "TagList", function() { return /* reexport */ TagList; }); +__webpack_require__.d(__webpack_exports__, "TagManage", function() { return /* reexport */ TagManage; }); +__webpack_require__.d(__webpack_exports__, "VersionEdit", function() { return /* reexport */ VersionEdit; }); +__webpack_require__.d(__webpack_exports__, "VersionList", function() { return /* reexport */ VersionList; }); +__webpack_require__.d(__webpack_exports__, "VersionManage", function() { return /* reexport */ VersionManage; }); +__webpack_require__.d(__webpack_exports__, "ContainerEdit", function() { return /* reexport */ ContainerEdit; }); +__webpack_require__.d(__webpack_exports__, "ContainerList", function() { return /* reexport */ ContainerList; }); +__webpack_require__.d(__webpack_exports__, "ContainerManage", function() { return /* reexport */ ContainerManage; }); +__webpack_require__.d(__webpack_exports__, "ContainerDashboard", function() { return /* reexport */ ContainerDashboard; }); +__webpack_require__.d(__webpack_exports__, "ContainerSelector", function() { return /* reexport */ ContainerSelector; }); +__webpack_require__.d(__webpack_exports__, "ManageInstallTagCode", function() { return /* reexport */ ManageInstallTagCode; }); +__webpack_require__.d(__webpack_exports__, "TagmanagerTrackingCode", function() { return /* reexport */ TagmanagerTrackingCode; }); +__webpack_require__.d(__webpack_exports__, "TrackingCodeCommon", function() { return /* reexport */ TrackingCodeCommon; }); +__webpack_require__.d(__webpack_exports__, "TrackingCodePage", function() { return /* reexport */ TrackingCodePage; }); +__webpack_require__.d(__webpack_exports__, "TrackingSPAPage", function() { return /* reexport */ TrackingSPAPage; }); +__webpack_require__.d(__webpack_exports__, "Debugging", function() { return /* reexport */ Debugging; }); +__webpack_require__.d(__webpack_exports__, "GettingStarted", function() { return /* reexport */ GettingStarted; }); + +// 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--12-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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=4269c74c + +var _hoisted_1 = { + class: "tagManagerImportVersion" +}; +var _hoisted_2 = { + class: "ui-confirm", + id: "confirmImportContainerVersion", + ref: "confirmImportContainerVersion" +}; +var _hoisted_3 = ["value"]; +var _hoisted_4 = ["value"]; +function render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + 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_["createVNode"])(_component_ContentBlock, { + "content-title": _ctx.translate('TagManager_ImportVersion') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionImportInfo')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + loading: _ctx.isUpdating, + "loading-message": _ctx.translate('TagManager_UpdatingData') + }, null, 8, ["loading", "loading-message"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + modelValue: _ctx.backupName, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + return _ctx.backupName = $event; + }), + name: "backupName", + placeholder: ' ', + title: _ctx.backupNameTitle, + "inline-help": _ctx.translate('TagManager_BackupVersionNameHelp') + }, null, 8, ["modelValue", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + modelValue: _ctx.importContent, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + return _ctx.importContent = $event; + }), + name: "importContent", + placeholder: ' ', + "full-width": true, + title: _ctx.translate('TagManager_VersionImportContentTitle') + }, null, 8, ["modelValue", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "importVersion", + disabled: !_ctx.importContent, + onConfirm: _cache[2] || (_cache[2] = function ($event) { + return _ctx.importVersion(_ctx.backupName, _ctx.importContent); + }), + value: _ctx.translate('TagManager_VersionImportOverwriteContent') + }, null, 8, ["disabled", "value"])]; + }), + _: 1 + }, 8, ["content-title"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfirmImportContainerVersion')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, _hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, _hoisted_4)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=4269c74c + +// EXTERNAL MODULE: external "CoreHome" +var external_CoreHome_ = __webpack_require__("19dc"); + +// EXTERNAL MODULE: external "CorePluginsAdmin" +var external_CorePluginsAdmin_ = __webpack_require__("a5a2"); + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts + + + +var NOTIFICATION_ID = 'importContainerVersion'; +/* harmony default export */ var ImportVersionvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + } + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + ActivityIndicator: external_CoreHome_["ActivityIndicator"], + Field: external_CorePluginsAdmin_["Field"], + SaveButton: external_CorePluginsAdmin_["SaveButton"] + }, + data: function data() { + return { + isUpdating: false, + backupName: '', + importContent: '' + }; + }, + methods: { + showNotification: function showNotification(message, context) { + var instanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + type: 'transient', + id: NOTIFICATION_ID + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(instanceId); + }, 200); + }, + importVersion: function importVersion(backupName, version) { + var _this = this; + + if (!version) { + return; + } + + var parsed; + + try { + parsed = JSON.parse(version); + } catch (e) { + this.showNotification(Object(external_CoreHome_["translate"])('TagManager_ErrorInvalidContainerImportFormat'), 'error'); + return; + } + + if ('tags' in parsed && 'triggers' in parsed && 'variables' in parsed && 'idcontainer' in parsed && 'context' in parsed) { + external_CoreHome_["Matomo"].helper.modalConfirm(this.$refs.confirmImportContainerVersion, { + yes: function yes() { + _this.isUpdating = true; + var post = { + exportedContainerVersion: version + }; + external_CoreHome_["AjaxHelper"].post({ + method: 'TagManager.importContainerVersion', + idContainer: _this.idContainer, + backupName: _this.backupName + }, post).then(function () { + _this.showNotification(Object(external_CoreHome_["translate"])('TagManager_VersionImportSuccess'), 'success'); + + _this.isUpdating = false; + window.location.reload(); + }).catch(function () { + _this.isUpdating = false; + }); + } + }); + } else { + this.showNotification(Object(external_CoreHome_["translate"])('TagManager_ErrorContainerVersionImportIncomplete'), 'error'); + } + } + }, + computed: { + backupNameTitle: function backupNameTitle() { + return "".concat(Object(external_CoreHome_["translate"])('TagManager_BackupVersionName'), " (").concat(Object(external_CoreHome_["translate"])('General_Recommended'), ")"); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue + + + +ImportVersionvue_type_script_lang_ts.render = render + +/* harmony default export */ var ImportVersion = (ImportVersionvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=2bc8897c + +var VariableSelectvue_type_template_id_2bc8897c_hoisted_1 = { + class: "tagManagerManageSelect tagManagerVariableSelect" +}; +var VariableSelectvue_type_template_id_2bc8897c_hoisted_2 = { + class: "tableActionBar" +}; + +var VariableSelectvue_type_template_id_2bc8897c_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var VariableSelectvue_type_template_id_2bc8897c_hoisted_4 = { + class: "collection with-header" +}; +var _hoisted_5 = { + class: "collection-header" +}; +var _hoisted_6 = ["onClick"]; +var _hoisted_7 = { + class: "title" +}; +var _hoisted_8 = { + class: "secondary-content" +}; +var _hoisted_9 = ["onClick", "title"]; +var _hoisted_10 = { + class: "collection-header" +}; +var _hoisted_11 = ["onClick"]; +var _hoisted_12 = { + class: "title" +}; +var _hoisted_13 = { + class: "secondary-content" +}; +var _hoisted_14 = ["title"]; +var _hoisted_15 = { + class: "tableActionBar" +}; + +var _hoisted_16 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +function VariableSelectvue_type_template_id_2bc8897c_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableSelectvue_type_template_id_2bc8897c_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + loading: _ctx.isLoading + }, null, 8, ["loading"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableSelectvue_type_template_id_2bc8897c_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewVariable", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createVariable(); + }) + }, [VariableSelectvue_type_template_id_2bc8897c_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariable')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", VariableSelectvue_type_template_id_2bc8897c_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", _hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CustomVariables')), 1)]), (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.containerVariables, function (variable, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + class: "collection-item", + onClick: function onClick($event) { + return _ctx.selectVariable(variable); + }, + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_7, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.name) + " (" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Type')) + ": " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.type) + ") ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-edit", + onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.editVariable(variable); + }, ["stop"]), + title: _ctx.translate('General_Edit') + }, null, 8, _hoisted_9)])], 8, _hoisted_6); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PreconfiguredVariables')), 1), (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.preconfiguredVariables, function (variableCategory) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ul", { + class: "collection with-header", + key: variableCategory.name + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", _hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableCategory.name), 1)]), (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"])(variableCategory.types, function (variableTemplate, index) { + return 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"])("li", { + class: "collection-item", + key: index, + onClick: function onClick($event) { + return _ctx.selectVariable(variableTemplate); + } + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_12, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableTemplate.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-help", + title: variableTemplate.description + }, null, 8, _hoisted_14)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !!variableTemplate.description]])], 8, _hoisted_11)), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], variableTemplate.is_pre_configured]]); + }), 128))]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewVariable", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createVariable(); + }) + }, [_hoisted_16, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariable', _ctx.translate('TagManager_Variable'))), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading]])])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=2bc8897c + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } + +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + +var _window = window, + tagManagerHelper = _window.tagManagerHelper; +/* harmony default export */ var VariableSelectvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + }, + idContainerVersion: Number + }, + components: { + ActivityIndicator: external_CoreHome_["ActivityIndicator"] + }, + data: function data() { + return { + preconfiguredVariables: [], + containerVariables: [], + isLoading: false, + actualIdContainerVersion: this.idContainerVersion + }; + }, + emits: ['selectVariable'], + created: function created() { + this.fetchAvailableVariables(); + }, + watch: { + idContainerVersion: function idContainerVersion(newValue) { + this.actualIdContainerVersion = newValue; + } + }, + methods: { + fetchAvailableVariables: function fetchAvailableVariables() { + var _this = this; + + this.preconfiguredVariables = []; + this.containerVariables = []; + this.fetchContainer().then(function (container) { + _this.isLoading = true; + _this.actualIdContainerVersion = container.draft.idcontainerversion; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableContainerVariables', + filter_limit: '-1', + idContainer: _this.idContainer, + idContainerVersion: _this.actualIdContainerVersion + }).then(function (variables) { + _this.preconfiguredVariables = []; + _this.containerVariables = []; + _this.isLoading = false; + variables.forEach(function (category) { + var _this$containerVariab; + + var preConfig = Object.assign(Object.assign({}, category), {}, { + types: category.types.filter(function (c) { + return c.is_pre_configured; + }) + }); + + (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, _toConsumableArray(category.types.filter(function (c) { + return !c.is_pre_configured; + }))); + + if (preConfig.types.length) { + _this.preconfiguredVariables.push(preConfig); + } + }); + }).catch(function () { + _this.isLoading = false; + }); + }); + }, + editVariable: function editVariable(variable) { + var _this2 = this; + + if (!this.actualIdContainerVersion) { + return; + } + + tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, variable.idvariable, function () { + _this2.fetchAvailableVariables(); + }); + }, + createVariable: function createVariable() { + var _this3 = this; + + if (!this.actualIdContainerVersion) { + return; + } + + tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, 0, function () { + _this3.fetchAvailableVariables(); + }); + }, + selectVariable: function selectVariable(variable) { + this.$emit('selectVariable', { + variable: variable + }); + }, + fetchContainer: function fetchContainer() { + this.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + filter_limit: '-1', + idContainer: this.idContainer + }); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue + + + +VariableSelectvue_type_script_lang_ts.render = VariableSelectvue_type_template_id_2bc8897c_render + +/* harmony default export */ var VariableSelect = (VariableSelectvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=037ff744 + +var VariableSelectTypevue_type_template_id_037ff744_hoisted_1 = { + class: "tagManagerManageSelect tagManagerVariableSelectType" +}; + +var VariableSelectTypevue_type_template_id_037ff744_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +function VariableSelectTypevue_type_template_id_037ff744_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableSelectTypevue_type_template_id_037ff744_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "variableType".concat(_ctx.variableType), + class: "selectVariableType", + "model-value": _ctx.modelValue, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + return _ctx.onChange($event); + }), + "full-width": true, + options: _ctx.containerVariables + }, null, 8, ["name", "model-value", "options"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewVariable", + onClick: _cache[1] || (_cache[1] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.createVariable(); + }, ["prevent"])) + }, [VariableSelectTypevue_type_template_id_037ff744_hoisted_2, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariable')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading]])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=037ff744 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts +function VariableSelectTypevue_type_script_lang_ts_toConsumableArray(arr) { return VariableSelectTypevue_type_script_lang_ts_arrayWithoutHoles(arr) || VariableSelectTypevue_type_script_lang_ts_iterableToArray(arr) || VariableSelectTypevue_type_script_lang_ts_unsupportedIterableToArray(arr) || VariableSelectTypevue_type_script_lang_ts_nonIterableSpread(); } + +function VariableSelectTypevue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function VariableSelectTypevue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return VariableSelectTypevue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return VariableSelectTypevue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function VariableSelectTypevue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function VariableSelectTypevue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return VariableSelectTypevue_type_script_lang_ts_arrayLikeToArray(arr); } + +function VariableSelectTypevue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + +var VariableSelectTypevue_type_script_lang_ts_window = window, + VariableSelectTypevue_type_script_lang_ts_tagManagerHelper = VariableSelectTypevue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var VariableSelectTypevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + variableTypeName: { + type: String, + required: true + }, + modelValue: String, + variableType: String + }, + components: { + Field: external_CorePluginsAdmin_["Field"] + }, + emits: ['update:modelValue'], + data: function data() { + return { + containerVariables: [], + isLoading: false, + idContainerVersion: null + }; + }, + created: function created() { + this.fetchAvailableVariables(); + }, + methods: { + fetchAvailableVariables: function fetchAvailableVariables() { + var _this = this; + + this.containerVariables = []; + this.fetchContainer().then(function (container) { + _this.isLoading = true; + _this.idContainerVersion = container.draft.idcontainerversion; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableContainerVariables', + filter_limit: '-1', + idContainer: external_CoreHome_["MatomoUrl"].parsed.value.idContainer, + idContainerVersion: _this.idContainerVersion + }).then(function (variables) { + _this.containerVariables = []; + _this.isLoading = false; + variables.forEach(function (category) { + var _this$containerVariab; + + var options = category.types.filter(function (t) { + return t.type === _this.variableType; + }).map(function (t) { + return { + key: "{{".concat(t.id, "}}"), + value: t.name + }; + }); + + (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, VariableSelectTypevue_type_script_lang_ts_toConsumableArray(options)); + }); + + if (!_this.modelValue && _this.containerVariables.length === 1) { + // when no value configured and only one selection is available, we preselect that value + _this.onChange(_this.containerVariables[0].key); + } + }).catch(function () { + _this.isLoading = false; + }); + }); + }, + onChange: function onChange(newValue) { + this.$emit('update:modelValue', newValue); + }, + createVariable: function createVariable() { + var _this2 = this; + + if (!this.idContainerVersion) { + return; + } + + VariableSelectTypevue_type_script_lang_ts_tagManagerHelper.editVariable(external_CoreHome_["MatomoUrl"].parsed.value.idContainer, this.idContainerVersion, 0, function (variable) { + _this2.fetchAvailableVariables(); + + if (variable) { + _this2.onChange("{{".concat(variable.name, "}}")); + } + }, this.variableType); + }, + fetchContainer: function fetchContainer() { + this.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + filter_limit: '-1', + idContainer: external_CoreHome_["MatomoUrl"].parsed.value.idContainer + }); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue + + + +VariableSelectTypevue_type_script_lang_ts.render = VariableSelectTypevue_type_template_id_037ff744_render + +/* harmony default export */ var VariableSelectType = (VariableSelectTypevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=36f615a2 + +var FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_1 = { + class: "fieldVariableTemplate" +}; +var FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_2 = ["type", "id", "name", "value"]; +var FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_3 = ["title"]; +var FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_4 = ["for", "innerHTML"]; +function FieldTextareaVariablevue_type_template_id_36f615a2_render(_ctx, _cache, $props, $setup, $data, $options) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("textarea", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({ + class: "control_".concat(_ctx.uiControl, " materialize-textarea"), + type: _ctx.uiControl, + id: _ctx.name, + name: _ctx.name, + value: _ctx.modelValue, + onKeydown: _cache[0] || (_cache[0] = function ($event) { + return _ctx.onKeydown($event); + }), + onChange: _cache[1] || (_cache[1] = function ($event) { + return _ctx.onKeydown($event); + }), + placeholder: "", + style: { + "width": "calc(100% - 40px)" + } + }, _ctx.uiControlAttributes, { + ref: "textarea" + }), null, 16, FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-code", + style: { + "margin-top": "14px", + "position": "absolute" + }, + title: _ctx.translate('TagManager_ChooseVariable'), + onClick: _cache[2] || (_cache[2] = function ($event) { + return _ctx.selectVariable(); + }) + }, null, 8, FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", { + for: _ctx.name, + innerHTML: _ctx.$sanitize(_ctx.title) + }, null, 8, FieldTextareaVariablevue_type_template_id_36f615a2_hoisted_4)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=36f615a2 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts + + +var FieldTextareaVariablevue_type_script_lang_ts_window = window, + FieldTextareaVariablevue_type_script_lang_ts_tagManagerHelper = FieldTextareaVariablevue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var FieldTextareaVariablevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + name: String, + uiControlAttributes: Object, + modelValue: String, + title: String, + uiControl: { + type: String, + required: true + } + }, + inheritAttrs: false, + emits: ['update:modelValue'], + created: function created() { + this.onKeydown = Object(external_CoreHome_["debounce"])(this.onKeydown.bind(this), 50); + }, + methods: { + onKeydown: function onKeydown(event) { + this.$emit('update:modelValue', event.target.value); + }, + selectVariable: function selectVariable() { + var _this = this; + + FieldTextareaVariablevue_type_script_lang_ts_tagManagerHelper.selectVariable(function (variable) { + FieldTextareaVariablevue_type_script_lang_ts_tagManagerHelper.insertTextSnippetAtElement(_this.$refs.textarea, "{{".concat(variable.id, "}}")); + }); + } + }, + watch: { + modelValue: function modelValue() { + var _this2 = this; + + var _window2 = window, + Materialize = _window2.Materialize; + setTimeout(function () { + Materialize.textareaAutoResize(_this2.$refs.textarea); + Materialize.updateTextFields(); + }); + } + }, + mounted: function mounted() { + var _this3 = this; + + var _window3 = window, + Materialize = _window3.Materialize; + setTimeout(function () { + Materialize.textareaAutoResize(_this3.$refs.textarea); + Materialize.updateTextFields(); + }); + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue + + + +FieldTextareaVariablevue_type_script_lang_ts.render = FieldTextareaVariablevue_type_template_id_36f615a2_render + +/* harmony default export */ var FieldTextareaVariable = (FieldTextareaVariablevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=025d3bb8 + +var FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_1 = { + class: "fieldVariableTemplate" +}; +var FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_2 = ["type", "id", "name", "value"]; +var FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_3 = ["title"]; + +var FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_4 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_5 = ["for", "innerHTML"]; +function FieldVariableTemplatevue_type_template_id_025d3bb8_render(_ctx, _cache, $props, $setup, $data, $options) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({ + class: "control_".concat(_ctx.uiControl), + type: _ctx.uiControl, + id: _ctx.name, + name: _ctx.name, + value: _ctx.modelValueText, + onKeydown: _cache[0] || (_cache[0] = function ($event) { + return _ctx.onKeydown($event); + }), + onChange: _cache[1] || (_cache[1] = function ($event) { + return _ctx.onKeydown($event); + }), + placeholder: "", + style: { + "width": "calc(100% - 40px)" + } + }, _ctx.uiControlAttributes, { + ref: "input" + }), null, 16, FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-code", + title: _ctx.translate('TagManager_ChooseVariable'), + onClick: _cache[2] || (_cache[2] = function ($event) { + return _ctx.selectVariable(); + }) + }, null, 8, FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_3), FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", { + for: _ctx.name, + innerHTML: _ctx.$sanitize(_ctx.title) + }, null, 8, FieldVariableTemplatevue_type_template_id_025d3bb8_hoisted_5)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=025d3bb8 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts + + +var FieldVariableTemplatevue_type_script_lang_ts_window = window, + FieldVariableTemplatevue_type_script_lang_ts_tagManagerHelper = FieldVariableTemplatevue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var FieldVariableTemplatevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + uiControl: { + type: String, + required: true + }, + uiControlAttributes: Object, + name: String, + title: String, + modelValue: null + }, + inheritAttrs: false, + emits: ['update:modelValue'], + computed: { + modelValueText: function modelValueText() { + if (typeof this.modelValue === 'undefined' || this.modelValue === null) { + return ''; + } + + return this.modelValue.toString(); + } + }, + created: function created() { + // debounce because puppeteer types reeaally fast + this.onKeydown = Object(external_CoreHome_["debounce"])(this.onKeydown.bind(this), 50); + }, + mounted: function mounted() { + setTimeout(function () { + window.Materialize.updateTextFields(); + }); + }, + watch: { + modelValue: function modelValue() { + setTimeout(function () { + window.Materialize.updateTextFields(); + }); + } + }, + methods: { + onKeydown: function onKeydown(event) { + this.$emit('update:modelValue', event.target.value); + }, + selectVariable: function selectVariable() { + var _this = this; + + FieldVariableTemplatevue_type_script_lang_ts_tagManagerHelper.selectVariable(function (variable) { + FieldVariableTemplatevue_type_script_lang_ts_tagManagerHelper.insertTextSnippetAtElement(_this.$refs.input, "{{".concat(variable.id, "}}")); + }); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue + + + +FieldVariableTemplatevue_type_script_lang_ts.render = FieldVariableTemplatevue_type_template_id_025d3bb8_render + +/* harmony default export */ var FieldVariableTemplate = (FieldVariableTemplatevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=74bb398d + +var FieldVariableTypeTemplatevue_type_template_id_74bb398d_hoisted_1 = ["for", "innerHTML"]; +function FieldVariableTypeTemplatevue_type_template_id_74bb398d_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_VariableSelectType = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("VariableSelectType"); + + return 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_["createVNode"])(_component_VariableSelectType, { + "model-value": _ctx.modelValue, + id: _ctx.name, + name: _ctx.name, + "variable-type-name": _ctx.title, + "variable-type": _ctx.uiControlAttributes.variableType, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + return _ctx.$emit('update:modelValue', $event); + }) + }, null, 8, ["model-value", "id", "name", "variable-type-name", "variable-type"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", { + for: _ctx.name, + style: { + "font-size": "0.8rem" + }, + innerHTML: _ctx.$sanitize(_ctx.title) + }, null, 8, FieldVariableTypeTemplatevue_type_template_id_74bb398d_hoisted_1)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=74bb398d + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts + + +/* harmony default export */ var FieldVariableTypeTemplatevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + uiControlAttributes: { + type: Object, + required: true + }, + name: String, + title: String, + modelValue: String + }, + components: { + VariableSelectType: VariableSelectType + }, + emits: ['update:modelValue'] +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue + + + +FieldVariableTypeTemplatevue_type_script_lang_ts.render = FieldVariableTypeTemplatevue_type_template_id_74bb398d_render + +/* harmony default export */ var FieldVariableTypeTemplate = (FieldVariableTypeTemplatevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=1328377b +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + + +var VariableEditvue_type_template_id_1328377b_hoisted_1 = { + class: "editVariable tagManagerManageEdit", + ref: "root" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_2 = { + class: "loadingPiwik" +}; + +var VariableEditvue_type_template_id_1328377b_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VariableEditvue_type_template_id_1328377b_hoisted_4 = { + class: "loadingPiwik" +}; + +var VariableEditvue_type_template_id_1328377b_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VariableEditvue_type_template_id_1328377b_hoisted_6 = { + key: 0, + class: "form-group row" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_7 = { + class: "col s12" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_8 = { + key: 1 +}; +var VariableEditvue_type_template_id_1328377b_hoisted_9 = { + class: "form-group row" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_10 = { + class: "col s12" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_11 = { + class: "innerFormField" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_12 = { + class: "form-group row" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_13 = { + class: "col s12 m12" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_14 = { + for: "lookup_table" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_15 = { + class: "innerFormField comparisonField" +}; +var VariableEditvue_type_template_id_1328377b_hoisted_16 = { + class: "innerFormField" +}; +var _hoisted_17 = { + class: "innerFormField" +}; +var _hoisted_18 = ["onClick", "title"]; +var _hoisted_19 = { + class: "entityCancel" +}; +var _hoisted_20 = { + id: "confirmSelectVariableType" +}; +var _hoisted_21 = { + class: "collection-header" +}; +var _hoisted_22 = ["onClick", "title"]; +var _hoisted_23 = ["src"]; +var _hoisted_24 = { + class: "title" +}; +var _hoisted_25 = { + class: "secondary-content" +}; +var _hoisted_26 = ["title"]; +var _hoisted_27 = { + class: "entityCancel" +}; +function VariableEditvue_type_template_id_1328377b_render(_ctx, _cache, $props, $setup, $data, $options) { + var _this = this; + + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_GroupedSettings = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("GroupedSettings"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableEditvue_type_template_id_1328377b_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.editTitle + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$variable$typeMet, _ctx$variable$typeMet2, _ctx$variable$typeMet3, _ctx$variable$typeMet4, _ctx$variable$typeMet5, _ctx$variable$typeMet6; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VariableEditvue_type_template_id_1328377b_hoisted_2, [VariableEditvue_type_template_id_1328377b_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VariableEditvue_type_template_id_1328377b_hoisted_4, [VariableEditvue_type_template_id_1328377b_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UpdatingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("form", { + onSubmit: _cache[8] || (_cache[8] = function ($event) { + return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable(); + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isVariableDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "type", + "model-value": (_ctx$variable$typeMet = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet === void 0 ? void 0 : _ctx$variable$typeMet.name, + disabled: true, + "inline-help": _ctx.typeInlineHelp, + title: _ctx.translate('TagManager_Type') + }, null, 8, ["model-value", "inline-help", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "name", + "model-value": _ctx.variable.name, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.variable.name = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 50, + title: _ctx.translate('General_Name'), + "inline-help": _ctx.translate('TagManager_VariableNameHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + name: "description", + "model-value": _ctx.variable.description, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.variable.description = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 1000, + title: _ctx.translate('General_Description'), + "inline-help": _ctx.translate('TagManager_VariableDescriptionHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), (_ctx$variable$typeMet2 = _ctx.variable.typeMetadata) !== null && _ctx$variable$typeMet2 !== void 0 && (_ctx$variable$typeMet3 = _ctx$variable$typeMet2.parameters) !== null && _ctx$variable$typeMet3 !== void 0 && _ctx$variable$typeMet3.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableEditvue_type_template_id_1328377b_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureThisVariable')), 1)])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.variable ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableEditvue_type_template_id_1328377b_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_GroupedSettings, { + settings: ((_ctx$variable$typeMet4 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet4 === void 0 ? void 0 : _ctx$variable$typeMet4.parameters) || [], + "all-setting-values": _ctx.parameterValues, + onChange: _cache[2] || (_cache[2] = function ($event) { + return _ctx.parameterValues[$event.name] = $event.value; + }) + }, null, 8, ["settings", "all-setting-values"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "showAdvancedSettings", + onClick: _cache[3] || (_cache[3] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.showAdvanced = true; + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.showAdvanced]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "hideAdvancedSettings", + onClick: _cache[4] || (_cache[4] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.showAdvanced = false; + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showAdvanced]])])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$variable$typeMet5 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet5 === void 0 ? void 0 : _ctx$variable$typeMet5.hasAdvancedSettings]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "default_value", + "model-value": _ctx.variable.default_value, + "onUpdate:modelValue": _cache[5] || (_cache[5] = function ($event) { + _ctx.variable.default_value = $event; + + _ctx.setValueHasChanged(); + }), + title: _ctx.translate('TagManager_DefaultValue'), + "inline-help": _ctx.translate('TagManager_DefaultValueHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", VariableEditvue_type_template_id_1328377b_hoisted_14, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LookupTableTitle')), 1), (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.variable.lookup_table, function (lookup, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { + key: index, + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])("lookupTable lookupTable".concat(index, " multiple valign-wrapper")) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "lookup_table_comparison", + "model-value": lookup.comparison, + "onUpdate:modelValue": function onUpdateModelValue($event) { + lookup.comparison = $event; + + _ctx.setValueHasChanged(); + }, + "full-width": true, + options: _ctx.availableLookUpComparisons + }, null, 8, ["model-value", "onUpdate:modelValue", "options"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableEditvue_type_template_id_1328377b_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "lookup_table_matchvalue", + "model-value": lookup.match_value, + "onUpdate:modelValue": function onUpdateModelValue($event) { + lookup.match_value = $event; + + _ctx.setValueHasChanged(); + }, + "full-width": true, + placeholder: _ctx.translate('TagManager_LookupTableMatchValue') + }, null, 8, ["model-value", "onUpdate:modelValue", "placeholder"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_17, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "lookup_table_outvalue", + "model-value": lookup.out_value, + "onUpdate:modelValue": function onUpdateModelValue($event) { + lookup.out_value = $event; + + _ctx.setValueHasChanged(); + }, + "full-width": true, + placeholder: _ctx.translate('TagManager_LookupTableOutValue') + }, null, 8, ["model-value", "onUpdate:modelValue", "placeholder"])]), !(index + 1 === _ctx.variable.lookup_table.length) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: 0, + class: "icon-minus valign", + onClick: function onClick($event) { + return _ctx.removeLookUpEntry(index); + }, + title: _ctx.translate('General_Remove') + }, null, 8, _hoisted_18)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2); + }), 128))])])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showAdvanced && ((_ctx$variable$typeMet6 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet6 === void 0 ? void 0 : _ctx$variable$typeMet6.hasAdvancedSettings)]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isVariableDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "createButton", + onConfirm: _cache[6] || (_cache[6] = function ($event) { + return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewVariable') + }, null, 8, ["disabled", "saving", "value"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isVariableDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[7] || (_cache[7] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.cancel(); + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isEmbedded]])])], 544), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.chooseVariableType && _ctx.editTitle]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_20, [(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.availableVariables, function (variableCategory, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ul", { + class: "collection with-header", + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", _hoisted_21, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableCategory.name), 1)]), (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"])(variableCategory.types, function (variableTemplate, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: index, + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["collection-item avatar", _defineProperty({ + disabledTemplate: _this.isVariableTemplateDisabled[variableTemplate.id] + }, "templateType".concat(variableTemplate.id), true)]), + onClick: function onClick($event) { + return _ctx.createVariableType(variableTemplate); + }, + title: !_this.isVariableTemplateDisabled[variableTemplate.id] ? '' : _ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates')) + }, [variableTemplate.icon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("img", { + key: 0, + alt: "", + class: "circle", + src: variableTemplate.icon + }, null, 8, _hoisted_23)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_24, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableTemplate.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableTemplate.description), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], variableTemplate.description]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_25, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-help", + title: variableTemplate.help + }, null, 8, _hoisted_26)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !!variableTemplate.help]])], 10, _hoisted_22); + }), 128))]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_27, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[9] || (_cache[9] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.cancel(); + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isEmbedded]])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.chooseVariableType]])]; + }), + _: 1 + }, 8, ["content-title"])], 512); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=1328377b + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/Variables.store.ts +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || Variables_store_unsupportedIterableToArray(arr, i) || _nonIterableRest(); } + +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function Variables_store_toConsumableArray(arr) { return Variables_store_arrayWithoutHoles(arr) || Variables_store_iterableToArray(arr) || Variables_store_unsupportedIterableToArray(arr) || Variables_store_nonIterableSpread(); } + +function Variables_store_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Variables_store_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Variables_store_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Variables_store_arrayLikeToArray(o, minLen); } + +function Variables_store_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Variables_store_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Variables_store_arrayLikeToArray(arr); } + +function Variables_store_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +function Variables_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var Variables_store_VariablesStore = /*#__PURE__*/function () { + function VariablesStore() { + var _this = this; + + _classCallCheck(this, VariablesStore); + + Variables_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + variables: [], + isLoadingVars: false, + isLoadingSingle: false, + isUpdating: false + })); + + Variables_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + Variables_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + var state = _this.state.value; + return state.isLoadingVars || state.isLoadingSingle; + })); + + Variables_store_defineProperty(this, "isUpdating", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isUpdating; + })); + + Variables_store_defineProperty(this, "variables", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.variables; + })); + + Variables_store_defineProperty(this, "fetchPromise", null); + + Variables_store_defineProperty(this, "availableVariablesPromises", {}); + } + + _createClass(VariablesStore, [{ + key: "fetchVariablesIfNotLoaded", + value: function fetchVariablesIfNotLoaded(idContainer, idContainerVersion) { + if (!this.fetchPromise) { + // needed for suggestNameForType() to make sure it is aware of all names + this.fetchVariables(idContainer, idContainerVersion); + } + } + }, { + key: "findVariable", + value: function findVariable(idContainer, idContainerVersion, idVariable, ignoreCache) { + var _this2 = this; + + // before going through an API request we first try to find it in loaded variables + var found = this.variables.value.find(function (v) { + return v.idvariable === idVariable; + }); + + if (found && !ignoreCache) { + return Promise.resolve(found); + } // otherwise we fetch it via API + + + this.privateState.isLoadingSingle = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idVariable: idVariable, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + method: 'TagManager.getContainerVariable', + filter_limit: '-1' + }).then(function (record) { + _this2.privateState.variables = [].concat(Variables_store_toConsumableArray(_this2.privateState.variables), [record]); + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(record); + }).finally(function () { + _this2.privateState.isLoadingSingle = false; + }); + } + }, { + key: "fetchVariables", + value: function fetchVariables(idContainer, idContainerVersion) { + var _this3 = this; + + this.privateState.isLoadingVars = true; + this.privateState.variables = []; + + if (!this.fetchPromise) { + this.fetchPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerVariables', + idContainer: idContainer, + idContainerVersion: idContainerVersion, + filter_limit: '-1' + }); + } + + return Promise.resolve(this.fetchPromise).then(function (variables) { + _this3.privateState.variables = variables; + _this3.privateState.isLoadingVars = false; + return _this3.variables.value; + }).finally(function () { + _this3.privateState.isLoadingVars = false; + }); + } + }, { + key: "fetchAvailableVariables", + value: function fetchAvailableVariables(idContext) { + if (!this.availableVariablesPromises[idContext]) { + this.availableVariablesPromises[idContext] = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableVariableTypesInContext', + idContext: idContext, + filter_limit: '-1' + }).then(function (variables) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(variables); + }); + } + + return Promise.resolve(this.availableVariablesPromises[idContext]); + } + }, { + key: "suggestNameForType", + value: function suggestNameForType(templateId) { + var _this4 = this; + + var _loop = function _loop(counter) { + var name = templateId; + + if (counter) { + name = "".concat(name, " (").concat(counter, ")"); + } + + var isFree = !_this4.variables.value.some(function (v) { + return v.name === name; + }); + + if (isFree) { + return { + v: name + }; + } + }; + + for (var counter = 0; counter < 100; counter += 1) { + var _ret = _loop(counter); + + if (_typeof(_ret) === "object") return _ret.v; + } + + return undefined; + } + }, { + key: "createOrUpdateVariable", + value: function createOrUpdateVariable(variable, method, idContainer, idContainerVersion, parameterValues) { + var _this5 = this; + + this.privateState.isUpdating = true; + var mappedEntries = Object.entries(parameterValues).map(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + key = _ref2[0], + value = _ref2[1]; + + var newValue = value; + + if (typeof value === 'boolean') { + newValue = (+value).toString(); + } + + return [key, newValue]; + }); + var parameters = Object.fromEntries(mappedEntries); + var lookupTable = variable.lookup_table.filter(function (l) { + return l && l.out_value && l.comparison; + }); + return external_CoreHome_["AjaxHelper"].post({ + idVariable: variable.idvariable, + method: method, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + type: variable.type, + name: variable.name, + description: variable.description, + defaultValue: variable.default_value + }, { + parameters: parameters, + lookupTable: lookupTable + }, { + withTokenInUrl: true + }).finally(function () { + _this5.privateState.isUpdating = false; + }); + } + }, { + key: "reload", + value: function reload(idContainer, idContainerVersion) { + this.privateState.variables = []; + this.fetchPromise = null; + this.availableVariablesPromises = {}; + return this.fetchVariables(idContainer, idContainerVersion); + } + }, { + key: "deleteVariable", + value: function deleteVariable(idContainer, idContainerVersion, idVariable) { + var _this6 = this; + + this.privateState.isUpdating = true; + this.privateState.variables = []; + return external_CoreHome_["AjaxHelper"].fetch({ + idVariable: idVariable, + idContainerVersion: idContainerVersion, + idContainer: idContainer, + method: 'TagManager.deleteContainerVariable' + }, { + withTokenInUrl: true + }).finally(function () { + _this6.privateState.isUpdating = false; + }); + } + }]); + + return VariablesStore; +}(); + +/* harmony default export */ var Variables_store = (new Variables_store_VariablesStore()); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/AvailableComparisons.store.ts +function AvailableComparisons_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function AvailableComparisons_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function AvailableComparisons_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) AvailableComparisons_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) AvailableComparisons_store_defineProperties(Constructor, staticProps); return Constructor; } + +function AvailableComparisons_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var AvailableComparisons_store_AvailableComparisonsStore = /*#__PURE__*/function () { + function AvailableComparisonsStore() { + var _this = this; + + AvailableComparisons_store_classCallCheck(this, AvailableComparisonsStore); + + AvailableComparisons_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + comparisons: [], + isLoading: false + })); + + AvailableComparisons_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + AvailableComparisons_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isLoading; + })); + + AvailableComparisons_store_defineProperty(this, "comparisons", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.comparisons; + })); + + AvailableComparisons_store_defineProperty(this, "comparisonOptions", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.comparisons.value.map(function (_ref) { + var id = _ref.id, + name = _ref.name; + return { + key: id, + value: name + }; + }); + })); + + AvailableComparisons_store_defineProperty(this, "initializePromise", null); + } + + AvailableComparisons_store_createClass(AvailableComparisonsStore, [{ + key: "init", + value: function init() { + if (!this.initializePromise) { + this.initializePromise = this.fetchAvailableComparisons(); + } + + return this.initializePromise; + } + }, { + key: "fetchAvailableComparisons", + value: function fetchAvailableComparisons() { + var _this2 = this; + + this.privateState.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableComparisons', + filter_limit: '-1' + }).then(function (comparisons) { + _this2.privateState.comparisons = comparisons; + }).finally(function () { + _this2.privateState.isLoading = false; + }); + } + }]); + + return AvailableComparisonsStore; +}(); + +/* harmony default export */ var AvailableComparisons_store = (new AvailableComparisons_store_AvailableComparisonsStore()); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts + + + + + +var notificationId = 'tagvariablemanagement'; +/* harmony default export */ var VariableEditvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idVariable: Number, + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + variableType: String, + isEmbedded: { + type: Boolean, + default: false + } + }, + components: { + GroupedSettings: external_CorePluginsAdmin_["GroupedSettings"], + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + SaveButton: external_CorePluginsAdmin_["SaveButton"] + }, + data: function data() { + return { + isDirty: false, + showAdvanced: false, + chooseVariableType: false, + canUseCustomTemplates: external_CoreHome_["Matomo"].hasUserCapability('tagmanager_use_custom_templates'), + availableVariables: [], + editTitle: '', + variable: {}, + parameterValues: {}, + isUpdatingVar: false + }; + }, + emits: ['changeVariable'], + created: function created() { + AvailableComparisons_store.init(); // needed for suggestNameForType() to make sure it is aware of all names + + Variables_store.fetchVariablesIfNotLoaded(this.idContainer, this.idContainerVersion); + this.initIdVariable(); + }, + watch: { + idVariable: function idVariable(newValue) { + if (newValue === null) { + return; + } + + this.initIdVariable(); + }, + variableParameterValues: { + handler: function handler(newValue, oldValue) { + if (!newValue || !oldValue) { + return; + } + + this.isDirty = true; + }, + deep: true + }, + variableLookupTable: { + handler: function handler() { + var hasAll = (this.variable.lookup_table || []).every(function (t) { + return !!(t !== null && t !== void 0 && t.out_value); + }); + + if (hasAll) { + this.addLookUpEntry(); + } + }, + deep: true + } + }, + methods: { + removeAnyVariableNotification: function removeAnyVariableNotification() { + external_CoreHome_["NotificationsStore"].remove(notificationId); + external_CoreHome_["NotificationsStore"].remove('ajaxHelper'); + }, + showNotification: function showNotification(message, context) { + var notificationInstanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + id: notificationId, + type: 'transient' + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(notificationInstanceId); + }, 200); + }, + showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) { + var message = Object(external_CoreHome_["translate"])('TagManager_ErrorXNotProvided', [title]); + this.showNotification(message, 'error'); + }, + initIdVariable: function initIdVariable() { + var _this = this; + + external_CoreHome_["Matomo"].helper.lazyScrollToContent(); + this.availableVariables = []; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + idContainer: this.idContainer, + filter_limit: '-1' + }).then(function (container) { + return Variables_store.fetchAvailableVariables(container.context); + }).then(function (variables) { + _this.availableVariables = variables; + }).then(function () { + if (_this.edit && _this.idVariable) { + _this.editTitle = Object(external_CoreHome_["translate"])('TagManager_EditVariable'); + Variables_store.findVariable(_this.idContainer, _this.idContainerVersion, _this.idVariable, _this.isEmbedded).then(function (variable) { + if (!variable) { + return; + } + + _this.variable = Object(external_CoreHome_["clone"])(variable); + _this.parameterValues = Object.fromEntries(variable.typeMetadata.parameters.map(function (s) { + return [s.name, s.value]; + })); + + if (_this.variable.lookup_table && _this.variable.lookup_table.length || _this.variable.default_value) { + _this.showAdvanced = true; // make sure lookup_table is visible directly if configured + } + + _this.addLookUpEntryIfNoneExists(); + + _this.isDirty = false; + }); + return; + } + + if (_this.create) { + var found = false; + + if (_this.variableType) { + _this.availableVariables.forEach(function (category) { + if (!found) { + var variable = category.types.find(function (v) { + return (v === null || v === void 0 ? void 0 : v.id) === _this.variableType; + }); + + if (variable) { + found = true; + + _this.createVariableType(variable); + } + } + }); + } + + if (!found) { + _this.editTitle = Object(external_CoreHome_["translate"])('TagManager_ChooseVariableToContinue'); + _this.chooseVariableType = true; + } + } + }); + }, + addLookUpEntryIfNoneExists: function addLookUpEntryIfNoneExists() { + if (!this.variable.lookup_table || !Array.isArray(this.variable.lookup_table)) { + this.variable.lookup_table = []; + } + + if (!this.variable.lookup_table.length) { + this.variable.lookup_table.push({ + comparison: 'equals', + match_value: '', + out_value: '' + }); + } + }, + addLookUpEntry: function addLookUpEntry() { + this.variable.lookup_table.push({ + comparison: 'equals', + match_value: '', + out_value: '' + }); + this.isDirty = true; + }, + removeLookUpEntry: function removeLookUpEntry(index) { + if (index > -1) { + this.variable.lookup_table.splice(index, 1); + this.isDirty = true; + } + }, + createVariableType: function createVariableType(variableTemplate) { + var _this2 = this; + + if (variableTemplate && this.isVariableTemplateDisabled[variableTemplate.id]) { + return; + } + + this.chooseVariableType = false; + this.editTitle = Object(external_CoreHome_["translate"])('TagManager_CreateNewVariable'); + this.variable = { + idsite: parseInt("".concat(external_CoreHome_["Matomo"].idSite), 10), + name: Variables_store.suggestNameForType(variableTemplate.name) || '', + description: '', + type: variableTemplate.id, + idcontainer: this.idContainer, + idcontainerversion: this.idContainerVersion, + default_value: '', + lookup_table: [], + typeMetadata: variableTemplate + }; + this.parameterValues = Object.fromEntries(variableTemplate.parameters.map(function (s) { + return [s.name, s.value]; + })); + this.addLookUpEntry(); // we directly make the create button visible as sometimes some variables do not have + // any settings + + this.isDirty = true; + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { + if (!_this2.$refs.root) { + return; + } + + var root = _this2.$refs.root; + root.scrollIntoView(); + var name = root.querySelector('#name'); + + if (name) { + name.focus(); + } + }); + }, + cancel: function cancel() { + var newParams = Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value); + delete newParams.idVariable; + external_CoreHome_["MatomoUrl"].updateHash(newParams); + }, + createVariable: function createVariable() { + var _this3 = this; + + this.removeAnyVariableNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVar = true; + Variables_store.createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, { + name: encodeURIComponent(this.variable.name) + }), 'TagManager.addContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) { + if (!response) { + return; + } + + _this3.isDirty = false; + var idVariable = response.value; + Variables_store.reload(_this3.idContainer, _this3.idContainerVersion).then(function () { + if (_this3.isEmbedded) { + _this3.variable.idvariable = idVariable; + + _this3.$emit('changeVariable', { + variable: _this3.variable + }); + + return; + } + + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idVariable: idVariable + })); + setTimeout(function () { + var createdX = Object(external_CoreHome_["translate"])('TagManager_CreatedX', Object(external_CoreHome_["translate"])('TagManager_Variable')); + var wantToRedeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this3.showNotification("".concat(createdX, " ").concat(wantToRedeploy), 'success'); + }, 200); + }); + }).finally(function () { + _this3.isUpdatingVar = false; + }); + }, + setValueHasChanged: function setValueHasChanged() { + this.isDirty = true; + }, + updateVariable: function updateVariable() { + var _this4 = this; + + this.removeAnyVariableNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVar = true; + Variables_store.createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, { + name: encodeURIComponent(this.variable.name) + }), 'TagManager.updateContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) { + if (!response) { + return; + } + + if (_this4.isEmbedded) { + _this4.$emit('changeVariable', { + variable: _this4.variable + }); + + return; + } + + _this4.isDirty = false; + Variables_store.reload(_this4.idContainer, _this4.idContainerVersion).then(function () { + _this4.initIdVariable(); + }); + var updatedAt = Object(external_CoreHome_["translate"])('TagManager_UpdatedX', Object(external_CoreHome_["translate"])('TagManager_Variable')); + var wantToDeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this4.showNotification("".concat(updatedAt, " ").concat(wantToDeploy), 'success'); + }).finally(function () { + _this4.isUpdatingVar = false; + }); + }, + checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() { + if (!this.variable.name) { + this.showErrorFieldNotProvidedNotification(Object(external_CoreHome_["translate"])('General_Name')); + return false; + } + + return true; + } + }, + computed: { + typeInlineHelp: function typeInlineHelp() { + var _this$variable$typeMe, _this$variable$typeMe2; + + var desc = ((_this$variable$typeMe = this.variable.typeMetadata) === null || _this$variable$typeMe === void 0 ? void 0 : _this$variable$typeMe.description) || ''; + var help = ((_this$variable$typeMe2 = this.variable.typeMetadata) === null || _this$variable$typeMe2 === void 0 ? void 0 : _this$variable$typeMe2.help) || ''; + return "".concat(desc, " ").concat(help); + }, + create: function create() { + return this.idVariable === 0; + }, + edit: function edit() { + return !this.create; + }, + isLoading: function isLoading() { + return Variables_store.isLoading.value || AvailableComparisons_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Variables_store.isUpdating.value || this.isUpdatingVar; + }, + availableLookUpComparisons: function availableLookUpComparisons() { + return AvailableComparisons_store.comparisonOptions.value; + }, + isVariableTemplateDisabled: function isVariableTemplateDisabled() { + var _this5 = this; + + var result = {}; + this.availableVariables.forEach(function (variableCategory) { + variableCategory.types.forEach(function (variable) { + result[variable.id] = !_this5.canUseCustomTemplates && variable.isCustomTemplate; + }); + }); + return result; + }, + isVariableDisabled: function isVariableDisabled() { + var _this$variable$typeMe3; + + return !this.canUseCustomTemplates && ((_this$variable$typeMe3 = this.variable.typeMetadata) === null || _this$variable$typeMe3 === void 0 ? void 0 : _this$variable$typeMe3.isCustomTemplate); + }, + variableParameterValues: function variableParameterValues() { + var _this$variable$typeMe4; + + if (!((_this$variable$typeMe4 = this.variable.typeMetadata) !== null && _this$variable$typeMe4 !== void 0 && _this$variable$typeMe4.parameters)) { + return null; + } + + return this.parameterValues; + }, + variableLookupTable: function variableLookupTable() { + return this.variable.lookup_table; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableEdit.vue + + + +VariableEditvue_type_script_lang_ts.render = VariableEditvue_type_template_id_1328377b_render + +/* harmony default export */ var VariableEdit = (VariableEditvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=002526aa + +var VariableListvue_type_template_id_002526aa_hoisted_1 = { + class: "tagManagerManageList tagManagerVariableList" +}; +var VariableListvue_type_template_id_002526aa_hoisted_2 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_3 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_4 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_5 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_6 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_7 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_8 = { + colspan: "7" +}; +var VariableListvue_type_template_id_002526aa_hoisted_9 = { + class: "loadingPiwik" +}; + +var VariableListvue_type_template_id_002526aa_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VariableListvue_type_template_id_002526aa_hoisted_11 = { + colspan: "7" +}; +var VariableListvue_type_template_id_002526aa_hoisted_12 = ["id"]; +var VariableListvue_type_template_id_002526aa_hoisted_13 = { + class: "name" +}; +var VariableListvue_type_template_id_002526aa_hoisted_14 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_15 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_16 = { + class: "lookupTable" +}; +var VariableListvue_type_template_id_002526aa_hoisted_17 = { + class: "icon-ok" +}; +var VariableListvue_type_template_id_002526aa_hoisted_18 = ["title"]; +var VariableListvue_type_template_id_002526aa_hoisted_19 = { + class: "action" +}; +var VariableListvue_type_template_id_002526aa_hoisted_20 = ["onClick", "title"]; +var VariableListvue_type_template_id_002526aa_hoisted_21 = ["onClick", "title"]; +var VariableListvue_type_template_id_002526aa_hoisted_22 = { + class: "tableActionBar" +}; + +var VariableListvue_type_template_id_002526aa_hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var VariableListvue_type_template_id_002526aa_hoisted_24 = ["title"]; + +var VariableListvue_type_template_id_002526aa_hoisted_25 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-help preconfiguredVariablesHelp" +}, null, -1); + +var VariableListvue_type_template_id_002526aa_hoisted_26 = { + class: "collection-header" +}; +var VariableListvue_type_template_id_002526aa_hoisted_27 = { + class: "title" +}; +var _hoisted_28 = ["textContent"]; +var _hoisted_29 = { + class: "secondary-content" +}; +var _hoisted_30 = ["title"]; +var _hoisted_31 = { + class: "ui-confirm", + id: "confirmDeleteVariable", + ref: "confirmDeleteVariable" +}; +var _hoisted_32 = ["value"]; +var _hoisted_33 = ["value"]; +var _hoisted_34 = { + class: "ui-confirm", + id: "confirmDeleteVariableNotPossible", + ref: "confirmDeleteVariableNotPossible" +}; +var _hoisted_35 = { + class: "collection" +}; +var _hoisted_36 = ["value"]; +function VariableListvue_type_template_id_002526aa_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableListvue_type_template_id_002526aa_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + class: "tagManagerCustomVariablesList", + "content-title": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Variables')), + "help-text": _ctx.variablesHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VariableUsageBenefits')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "name", + title: _ctx.nameTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 9, VariableListvue_type_template_id_002526aa_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "description", + title: _ctx.descriptionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')), 9, VariableListvue_type_template_id_002526aa_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "type", + title: _ctx.typeTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Type')), 9, VariableListvue_type_template_id_002526aa_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "lookupTable", + title: _ctx.lookupTableTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LookupTable')), 9, VariableListvue_type_template_id_002526aa_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "lastUpdated", + title: _ctx.lastUpdatedTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LastUpdated')), 9, VariableListvue_type_template_id_002526aa_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "action", + title: _ctx.actionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Actions')), 9, VariableListvue_type_template_id_002526aa_hoisted_7), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VariableListvue_type_template_id_002526aa_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VariableListvue_type_template_id_002526aa_hoisted_9, [VariableListvue_type_template_id_002526aa_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading || _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VariableListvue_type_template_id_002526aa_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoVariablesFound')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createContainerVariableNow", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createVariable(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariableNow')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && !_ctx.variables.length]]), (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.sortedVariables, function (variable) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + id: "variable".concat(variable.idvariable), + class: "variables", + key: variable.idvariable + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VariableListvue_type_template_id_002526aa_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "description", + title: variable.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.truncateText(variable.description, 30)), 9, VariableListvue_type_template_id_002526aa_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "type", + title: variable.typeMetadata.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.typeMetadata.name), 9, VariableListvue_type_template_id_002526aa_hoisted_15), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VariableListvue_type_template_id_002526aa_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VariableListvue_type_template_id_002526aa_hoisted_17, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], variable.lookup_table.length]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "lastUpdated", + title: _ctx.translate('TagManager_CreatedOnX', variable.created_date_pretty) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.updated_date_pretty), 1)], 8, VariableListvue_type_template_id_002526aa_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VariableListvue_type_template_id_002526aa_hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-edit", + onClick: function onClick($event) { + return _ctx.editVariable(variable.idvariable, variable.type); + }, + title: _ctx.translate('TagManager_EditVariable') + }, null, 8, VariableListvue_type_template_id_002526aa_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-delete", + onClick: function onClick($event) { + return _ctx.deleteVariable(variable); + }, + title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Variable')) + }, null, 8, VariableListvue_type_template_id_002526aa_hoisted_21)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])], 8, VariableListvue_type_template_id_002526aa_hoisted_12); + }), 128))])], 512), [[_directive_content_table]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VariableListvue_type_template_id_002526aa_hoisted_22, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewVariable", + value: "", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createVariable(); + }) + }, [VariableListvue_type_template_id_002526aa_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariable')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])]; + }), + _: 1 + }, 8, ["content-title", "help-text"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", { + title: _ctx.translate('TagManager_PreConfiguredInfoTitle') + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PreconfiguredVariables')) + " ", 1), VariableListvue_type_template_id_002526aa_hoisted_25], 8, VariableListvue_type_template_id_002526aa_hoisted_24), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [(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.containerVariables, function (variableCategory, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ul", { + class: "collection with-header", + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", VariableListvue_type_template_id_002526aa_hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableCategory.name), 1)]), (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"])(variableCategory.types, function (variableTemplate) { + return 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"])("li", { + class: "collection-item", + key: variableTemplate.id + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VariableListvue_type_template_id_002526aa_hoisted_27, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variableTemplate.name) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "variableId", + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])("{{".concat(variableTemplate.id, "}}")) + }, null, 8, _hoisted_28)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_29, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-help", + title: variableTemplate.description + }, null, 8, _hoisted_30)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !!variableTemplate.description]])], 512)), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], variableTemplate.is_pre_configured]]); + }), 128))]); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_31, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_DeleteVariableConfirm')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, _hoisted_32), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, _hoisted_33)], 512), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_34, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VariableCannotBeDeleted')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VariableBeingUsedBy')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", _hoisted_35, [(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.variableReferences, function (reference) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + class: "collection-item", + key: "".concat(reference.referenceType, ".").concat(reference.referenceId) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(reference.referenceTypeName) + ": " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(reference.referenceName), 1); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VariableBeingUsedNeedsRemove')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_Cancel') + }, null, 8, _hoisted_36)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=002526aa + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts +function VariableListvue_type_script_lang_ts_toConsumableArray(arr) { return VariableListvue_type_script_lang_ts_arrayWithoutHoles(arr) || VariableListvue_type_script_lang_ts_iterableToArray(arr) || VariableListvue_type_script_lang_ts_unsupportedIterableToArray(arr) || VariableListvue_type_script_lang_ts_nonIterableSpread(); } + +function VariableListvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function VariableListvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return VariableListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return VariableListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function VariableListvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function VariableListvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return VariableListvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function VariableListvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + +var VariableListvue_type_script_lang_ts_window = window, + VariableListvue_type_script_lang_ts_tagManagerHelper = VariableListvue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var VariableListvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + variablesHelpText: String + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + hasWriteAccess: external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write'), + variableReferences: [], + containerVariables: [] + }; + }, + created: function created() { + var _this = this; + + Variables_store.fetchVariables(this.idContainer, this.idContainerVersion); + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableContainerVariables', + idContainer: this.idContainer, + idContainerVersion: this.idContainerVersion, + filter_limit: '-1' + }).then(function (variables) { + _this.containerVariables = variables; + }); + }, + methods: { + createVariable: function createVariable() { + this.editVariable(0); + }, + editVariable: function editVariable(idVariable) { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idVariable: idVariable + })); + }, + deleteVariable: function deleteVariable(variable) { + var _this2 = this; + + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerVariableReferences', + idContainer: this.idContainer, + idContainerVersion: this.idContainerVersion, + idVariable: variable.idvariable + }).then(function (references) { + if (!references || !references.length) { + _this2.variableReferences = []; + external_CoreHome_["Matomo"].helper.modalConfirm(_this2.$refs.confirmDeleteVariable, { + yes: function yes() { + Variables_store.deleteVariable(_this2.idContainer, _this2.idContainerVersion, variable.idvariable).then(function () { + Variables_store.reload(_this2.idContainer, _this2.idContainerVersion); + }); + } + }); + } else { + _this2.variableReferences = references; + external_CoreHome_["Matomo"].helper.modalConfirm(_this2.$refs.confirmDeleteVariableNotPossible, {}); + } + }); + }, + truncateText: function truncateText(text, length) { + return VariableListvue_type_script_lang_ts_tagManagerHelper.truncateText(text, length); + } + }, + computed: { + isLoading: function isLoading() { + return Variables_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Variables_store.isUpdating.value; + }, + variables: function variables() { + return Variables_store.variables.value; + }, + sortedVariables: function sortedVariables() { + var sorted = VariableListvue_type_script_lang_ts_toConsumableArray(this.variables); + + sorted.sort(function (lhs, rhs) { + if (lhs.name < rhs.name) { + return -1; + } + + return lhs.name > rhs.name ? 1 : 0; + }); + return sorted; + }, + nameTranslatedText: function nameTranslatedText() { + return this.translate('TagManager_VariablesNameDescription'); + }, + descriptionTranslatedText: function descriptionTranslatedText() { + return this.translate('TagManager_VariablesDescriptionDescription'); + }, + typeTranslatedText: function typeTranslatedText() { + return this.translate('TagManager_VariablesTypeDescription'); + }, + lookupTableTranslatedText: function lookupTableTranslatedText() { + return this.translate('TagManager_VariablesLookupTableDescription'); + }, + lastUpdatedTranslatedText: function lastUpdatedTranslatedText() { + return this.translate('TagManager_VariablesLastUpdatedDescription'); + }, + actionTranslatedText: function actionTranslatedText() { + return this.translate('TagManager_VariablesActionDescription'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableList.vue + + + +VariableListvue_type_script_lang_ts.render = VariableListvue_type_template_id_002526aa_render + +/* harmony default export */ var VariableList = (VariableListvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=f95f6f7c + +var VariableManagevue_type_template_id_f95f6f7c_hoisted_1 = { + class: "manageVariable" +}; +var VariableManagevue_type_template_id_f95f6f7c_hoisted_2 = { + key: 0 +}; +var VariableManagevue_type_template_id_f95f6f7c_hoisted_3 = { + key: 1 +}; +function VariableManagevue_type_template_id_f95f6f7c_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_VariableList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("VariableList"); + + var _component_VariableEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("VariableEdit"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableManagevue_type_template_id_f95f6f7c_hoisted_1, [!_ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableManagevue_type_template_id_f95f6f7c_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_VariableList, { + "id-container-version": _ctx.idContainerVersion, + "id-container": _ctx.idContainer, + "variables-help-text": _ctx.variablesHelpText + }, null, 8, ["id-container-version", "id-container", "variables-help-text"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VariableManagevue_type_template_id_f95f6f7c_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_VariableEdit, { + "id-container-version": _ctx.idContainerVersion, + "id-container": _ctx.idContainer, + "id-variable": _ctx.idVariable + }, null, 8, ["id-container-version", "id-container", "id-variable"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=f95f6f7c + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts + + + + +/* harmony default export */ var VariableManagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainerVersion: Number, + idContainer: String, + variablesHelpText: String + }, + components: { + VariableList: VariableList, + VariableEdit: VariableEdit + }, + data: function data() { + return { + isAddAllowed: false + }; + }, + created: function created() { + var _this = this; + + // doing this in a watch because we don't want to post an event in a computed property + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return external_CoreHome_["MatomoUrl"].hashParsed.value.idVariable; + }, function (idVariable) { + _this.onIdVariableParamChange(idVariable); + }); + external_CoreHome_["NotificationsStore"].remove('variablevariablemanagement'); + this.onIdVariableParamChange(external_CoreHome_["MatomoUrl"].hashParsed.value.idVariable); + }, + methods: { + onIdVariableParamChange: function onIdVariableParamChange(idVariable) { + // for BC w/ angularjs only invoke event if idVariable is 0 + if (idVariable === '0') { + var parameters = { + isAllowed: true + }; + external_CoreHome_["Matomo"].postEvent('TagManager.initAddVariable', parameters); + this.isAddAllowed = !!parameters.isAllowed; + } + } + }, + computed: { + idVariable: function idVariable() { + var idVariable = external_CoreHome_["MatomoUrl"].hashParsed.value.idVariable; + + if (!this.isAddAllowed && idVariable === '0') { + return null; + } + + return idVariable ? parseInt(idVariable, 10) : idVariable; + }, + editMode: function editMode() { + return typeof this.idVariable === 'number'; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Variable/VariableManage.vue + + + +VariableManagevue_type_script_lang_ts.render = VariableManagevue_type_template_id_f95f6f7c_render + +/* harmony default export */ var VariableManage = (VariableManagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=68a714f6 +function TriggerEditvue_type_template_id_68a714f6_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + + +var TriggerEditvue_type_template_id_68a714f6_hoisted_1 = { + class: "editTrigger tagManagerManageEdit", + ref: "root" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_2 = { + class: "loadingPiwik" +}; + +var TriggerEditvue_type_template_id_68a714f6_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TriggerEditvue_type_template_id_68a714f6_hoisted_4 = { + class: "loadingPiwik" +}; + +var TriggerEditvue_type_template_id_68a714f6_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TriggerEditvue_type_template_id_68a714f6_hoisted_6 = { + class: "form-group row" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_7 = { + class: "col s12" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_8 = { + key: 0 +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_9 = { + class: "form-group row" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_10 = { + class: "col s12" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_11 = { + class: "form-group row multiple" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_12 = { + class: "col s12 m12" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_13 = { + class: "innerFormField" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_14 = { + class: "innerFormField comparisonField" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_15 = { + class: "innerFormField" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_16 = ["onClick", "title"]; +var TriggerEditvue_type_template_id_68a714f6_hoisted_17 = { + class: "triggerConditionNode" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_18 = { + class: "entityCancel" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_19 = { + id: "confirmSelectTriggerType" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_20 = { + class: "collection-header" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_21 = ["onClick", "title"]; +var TriggerEditvue_type_template_id_68a714f6_hoisted_22 = ["src"]; +var TriggerEditvue_type_template_id_68a714f6_hoisted_23 = { + class: "title" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_24 = { + class: "secondary-content" +}; +var TriggerEditvue_type_template_id_68a714f6_hoisted_25 = ["title"]; +var TriggerEditvue_type_template_id_68a714f6_hoisted_26 = { + class: "entityCancel" +}; +function TriggerEditvue_type_template_id_68a714f6_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_GroupedSettings = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("GroupedSettings"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.editTitle + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$trigger$typeMeta, _ctx$trigger$typeMeta2, _ctx$trigger$typeMeta3, _ctx$trigger$typeMeta4, _ctx$trigger$typeMeta5, _ctx$trigger$typeMeta6, _ctx$trigger$typeMeta7, _ctx$trigger$typeMeta8; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerEditvue_type_template_id_68a714f6_hoisted_2, [TriggerEditvue_type_template_id_68a714f6_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerEditvue_type_template_id_68a714f6_hoisted_4, [TriggerEditvue_type_template_id_68a714f6_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UpdatingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("form", { + onSubmit: _cache[5] || (_cache[5] = function ($event) { + return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger(); + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isTriggerDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "type", + "model-value": (_ctx$trigger$typeMeta = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta === void 0 ? void 0 : _ctx$trigger$typeMeta.name, + disabled: true, + "inline-help": "".concat((_ctx$trigger$typeMeta2 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta2 === void 0 ? void 0 : _ctx$trigger$typeMeta2.description, " ").concat((_ctx$trigger$typeMeta3 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta3 === void 0 ? void 0 : _ctx$trigger$typeMeta3.help), + title: _ctx.translate('TagManager_Type') + }, null, 8, ["model-value", "inline-help", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "name", + "model-value": _ctx.trigger.name, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.trigger.name = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 50, + title: _ctx.translate('General_Name'), + "inline-help": _ctx.translate('TagManager_TriggerNameHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + name: "description", + "model-value": _ctx.trigger.description, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.trigger.description = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 1000, + title: _ctx.translate('General_Description'), + "inline-help": _ctx.translate('TagManager_TriggerDescriptionHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureThisTrigger')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$trigger$typeMeta4 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta4 === void 0 ? void 0 : (_ctx$trigger$typeMeta5 = _ctx$trigger$typeMeta4.parameters) === null || _ctx$trigger$typeMeta5 === void 0 ? void 0 : _ctx$trigger$typeMeta5.length]]), _ctx.trigger ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_GroupedSettings, { + settings: ((_ctx$trigger$typeMeta6 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta6 === void 0 ? void 0 : _ctx$trigger$typeMeta6.parameters) || [], + "all-setting-values": _ctx.parameterValues, + onChange: _cache[2] || (_cache[2] = function ($event) { + return _ctx.parameterValues[$event.name] = $event.value; + }) + }, null, 8, ["settings", "all-setting-values"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_OnlyTriggerWhen')) + " " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('Goals_Optional')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$trigger$typeMeta7 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta7 === void 0 ? void 0 : _ctx$trigger$typeMeta7.hasAdvancedSettings]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerConditionsHelp')), 1), (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.trigger.conditions, function (condition, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { + key: index, + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["condition multiple valign-wrapper", "condition".concat(index)]) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "expandable-select", + name: "condition_actual", + "model-value": condition.actual, + "onUpdate:modelValue": function onUpdateModelValue($event) { + condition.actual = $event; + + _ctx.setValueHasChanged(); + }, + "full-width": true, + options: _ctx.availableVariables, + title: _ctx.variableIdToName[condition.actual] || condition.actual + }, null, 8, ["model-value", "onUpdate:modelValue", "options", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_14, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "condition_comparison", + "model-value": condition.comparison, + "onUpdate:modelValue": function onUpdateModelValue($event) { + condition.comparison = $event; + + _ctx.setValueHasChanged(); + }, + "full-width": true, + options: _ctx.availableComparisons + }, null, 8, ["model-value", "onUpdate:modelValue", "options"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "condition_expected", + "model-value": condition.expected, + "onUpdate:modelValue": function onUpdateModelValue($event) { + condition.expected = $event; + + _ctx.setValueHasChanged(); + + _ctx.onConditionChange(); + }, + "full-width": true + }, null, 8, ["model-value", "onUpdate:modelValue"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-minus valign", + onClick: function onClick($event) { + return _ctx.removeConditionEntry(index); + }, + title: _ctx.translate('General_Remove') + }, null, 8, TriggerEditvue_type_template_id_68a714f6_hoisted_16), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !(index + 1 === _ctx.trigger.conditions.length)]])], 2); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", TriggerEditvue_type_template_id_68a714f6_hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerConditionNode')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$trigger$typeMeta8 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta8 === void 0 ? void 0 : _ctx$trigger$typeMeta8.hasAdvancedSettings]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isTriggerDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "createButton", + onConfirm: _cache[3] || (_cache[3] = function ($event) { + return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.saveButtonText + }, null, 8, ["disabled", "saving", "value"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isTriggerDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_18, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[4] || (_cache[4] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isEmbedded]])])], 544), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.chooseTriggerType && _ctx.editTitle]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_19, [(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.availableTriggers, function (triggerCategory, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ul", { + class: "collection with-header", + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", TriggerEditvue_type_template_id_68a714f6_hoisted_20, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(triggerCategory.name), 1)]), (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"])(triggerCategory.types, function (triggerTemplate, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["collection-item avatar", TriggerEditvue_type_template_id_68a714f6_defineProperty({ + disabledTemplate: _ctx.isTriggerTemplateDisabled[triggerTemplate.id] + }, "templateType".concat(triggerTemplate.id), true)]), + onClick: function onClick($event) { + return _ctx.createTriggerType(triggerTemplate); + }, + key: index, + title: !_ctx.isTriggerTemplateDisabled[triggerTemplate.id] ? '' : _ctx.collectionItemAvatarText + }, [triggerTemplate.icon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("img", { + key: 0, + alt: "", + class: "circle", + src: triggerTemplate.icon + }, null, 8, TriggerEditvue_type_template_id_68a714f6_hoisted_22)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerEditvue_type_template_id_68a714f6_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(triggerTemplate.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(triggerTemplate.description), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], triggerTemplate.description]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerEditvue_type_template_id_68a714f6_hoisted_24, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-help", + title: triggerTemplate.help + }, null, 8, TriggerEditvue_type_template_id_68a714f6_hoisted_25)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !!triggerTemplate.help]])], 10, TriggerEditvue_type_template_id_68a714f6_hoisted_21); + }), 128))]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerEditvue_type_template_id_68a714f6_hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[6] || (_cache[6] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isEmbedded]])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.chooseTriggerType]])]; + }), + _: 1 + }, 8, ["content-title"])], 512); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=68a714f6 + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/Triggers.store.ts +function Triggers_store_slicedToArray(arr, i) { return Triggers_store_arrayWithHoles(arr) || Triggers_store_iterableToArrayLimit(arr, i) || Triggers_store_unsupportedIterableToArray(arr, i) || Triggers_store_nonIterableRest(); } + +function Triggers_store_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Triggers_store_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function Triggers_store_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +function Triggers_store_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Triggers_store_typeof = function _typeof(obj) { return typeof obj; }; } else { Triggers_store_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Triggers_store_typeof(obj); } + +function Triggers_store_toConsumableArray(arr) { return Triggers_store_arrayWithoutHoles(arr) || Triggers_store_iterableToArray(arr) || Triggers_store_unsupportedIterableToArray(arr) || Triggers_store_nonIterableSpread(); } + +function Triggers_store_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Triggers_store_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Triggers_store_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Triggers_store_arrayLikeToArray(o, minLen); } + +function Triggers_store_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Triggers_store_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Triggers_store_arrayLikeToArray(arr); } + +function Triggers_store_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function Triggers_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function Triggers_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function Triggers_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) Triggers_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) Triggers_store_defineProperties(Constructor, staticProps); return Constructor; } + +function Triggers_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var Triggers_store_TriggersStore = /*#__PURE__*/function () { + function TriggersStore() { + var _this = this; + + Triggers_store_classCallCheck(this, TriggersStore); + + Triggers_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + triggers: [], + isLoadingTriggers: false, + isLoadingSingle: false, + isUpdating: false + })); + + Triggers_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + Triggers_store_defineProperty(this, "isUpdating", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isUpdating; + })); + + Triggers_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + var state = _this.state.value; + return state.isLoadingTriggers || state.isLoadingSingle; + })); + + Triggers_store_defineProperty(this, "triggers", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.triggers; + })); + + Triggers_store_defineProperty(this, "fetchPromise", null); + + Triggers_store_defineProperty(this, "availableTriggersPromises", {}); + } + + Triggers_store_createClass(TriggersStore, [{ + key: "fetchTriggers", + value: function fetchTriggers(idContainer, idContainerVersion) { + var _this2 = this; + + this.privateState.triggers = []; + this.privateState.isLoadingTriggers = true; + + if (!this.fetchPromise) { + this.fetchPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerTriggers', + idContainer: idContainer, + idContainerVersion: idContainerVersion, + filter_limit: '-1' + }); + } + + return Promise.resolve(this.fetchPromise).then(function (triggers) { + _this2.privateState.triggers = triggers; + return _this2.triggers.value; + }).finally(function () { + _this2.privateState.isLoadingTriggers = false; + }); + } + }, { + key: "fetchTriggersIfNotLoaded", + value: function fetchTriggersIfNotLoaded(idContainer, idContainerVersion) { + if (!this.fetchPromise) { + // needed for suggestNameForType() to make sure it is aware of all names + this.fetchTriggers(idContainer, idContainerVersion); + } + } + }, { + key: "fetchAvailableTriggers", + value: function fetchAvailableTriggers(idContext) { + if (!this.availableTriggersPromises[idContext]) { + this.availableTriggersPromises[idContext] = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableTriggerTypesInContext', + idContext: idContext, + filter_limit: '-1' + }); + } + + return Promise.resolve(this.availableTriggersPromises[idContext]); + } + }, { + key: "findTrigger", + value: function findTrigger(idContainer, idContainerVersion, idTrigger) { + var _this3 = this; + + // before going through an API request we first try to find it in loaded variables + var found = this.triggers.value.find(function (v) { + return v.idtrigger === idTrigger; + }); + + if (found) { + return Promise.resolve(found); + } // otherwise we fetch it via API + + + this.privateState.isLoadingSingle = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idTrigger: idTrigger, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + method: 'TagManager.getContainerTrigger', + filter_limit: '-1' + }).then(function (record) { + _this3.privateState.triggers = [].concat(Triggers_store_toConsumableArray(_this3.privateState.triggers), [record]); + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(record); + }).finally(function () { + _this3.privateState.isLoadingSingle = false; + }); + } + }, { + key: "suggestNameForType", + value: function suggestNameForType(templateId) { + var _this4 = this; + + var _loop = function _loop(counter) { + var name = templateId; + + if (counter) { + name = "".concat(name, " (").concat(counter, ")"); + } + + var isFree = !_this4.triggers.value.some(function (v) { + return v.name === name; + }); + + if (isFree) { + return { + v: name + }; + } + }; + + for (var counter = 0; counter < 100; counter += 1) { + var _ret = _loop(counter); + + if (Triggers_store_typeof(_ret) === "object") return _ret.v; + } + + return undefined; + } + }, { + key: "createOrUpdateTrigger", + value: function createOrUpdateTrigger(trigger, method, idContainer, idContainerVersion, parameterValues) { + var _this5 = this; + + var mappedEntries = Object.entries(parameterValues).map(function (_ref) { + var _ref2 = Triggers_store_slicedToArray(_ref, 2), + key = _ref2[0], + value = _ref2[1]; + + var newValue = value; + + if (typeof value === 'boolean') { + newValue = (+value).toString(); + } + + return [key, newValue]; + }); + var parameters = Object.fromEntries(mappedEntries); + var conditions = trigger.conditions.filter(function (c) { + return c && c.actual && c.comparison && c.expected; + }); + this.privateState.isUpdating = true; + return external_CoreHome_["AjaxHelper"].post({ + idTrigger: trigger.idtrigger, + method: method, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + type: trigger.type, + name: trigger.name, + description: trigger.description + }, { + parameters: parameters, + conditions: conditions + }, { + withTokenInUrl: true + }).finally(function () { + _this5.privateState.isUpdating = false; + }); + } + }, { + key: "reload", + value: function reload(idContainer, idContainerVersion) { + this.privateState.triggers = []; + this.fetchPromise = null; + this.availableTriggersPromises = {}; + return this.fetchTriggers(idContainer, idContainerVersion); + } + }, { + key: "deleteTrigger", + value: function deleteTrigger(idContainer, idContainerVersion, idTrigger) { + var _this6 = this; + + this.privateState.isUpdating = true; + this.privateState.triggers = []; + return external_CoreHome_["AjaxHelper"].fetch({ + idTrigger: idTrigger, + idContainerVersion: idContainerVersion, + idContainer: idContainer, + method: 'TagManager.deleteContainerTrigger' + }, { + withTokenInUrl: true + }).finally(function () { + _this6.privateState.isUpdating = false; + }); + } + }]); + + return TriggersStore; +}(); + +/* harmony default export */ var Triggers_store = (new Triggers_store_TriggersStore()); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts + + + + + +var TriggerEditvue_type_script_lang_ts_notificationId = 'tagvariablemanagement'; +var TRIGGER_TYPE_TO_CONDITION_ACTUAL = { + AllElementsClick: 'ClickId', + AllLinksClick: 'ClickId', + DownloadClick: 'ClickId', + ElementVisibility: 'VisibleElementClasses', + FormSubmit: 'FormId', + JavaScriptError: 'ErrorMessage' +}; +/* harmony default export */ var TriggerEditvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idTrigger: Number, + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + newTriggerType: String, + isEmbedded: { + type: Boolean, + default: false + } + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + GroupedSettings: external_CorePluginsAdmin_["GroupedSettings"], + SaveButton: external_CorePluginsAdmin_["SaveButton"] + }, + data: function data() { + return { + isDirty: false, + chooseTriggerType: false, + availableTriggers: [], + availableVariables: [], + variableIdToName: {}, + editTitle: '', + trigger: {}, + parameterValues: {}, + isUpdatingTrigger: false + }; + }, + emits: ['changeTrigger'], + created: function created() { + var _this = this; + + AvailableComparisons_store.init(); + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableContainerVariables', + filter_limit: '-1', + idContainer: this.idContainer, + idContainerVersion: this.idContainerVersion + }).then(function (categories) { + categories.forEach(function (category) { + category.types.forEach(function (v) { + _this.variableIdToName[v.id] = v.name; + + _this.availableVariables.push({ + key: v.id, + value: v.name, + group: category.name, + tooltip: v.description + }); + }); + }); + }); // needed for suggestNameForType() to make sure it is aware of all names + + Triggers_store.fetchTriggersIfNotLoaded(this.idContainer, this.idContainerVersion); + this.initIdTrigger(); + }, + watch: { + idTrigger: function idTrigger(newValue) { + if (newValue === null) { + return; + } + + this.initIdTrigger(); + }, + triggerParameterValues: { + handler: function handler(newValue, oldValue) { + if (!newValue || !oldValue) { + return; + } + + this.isDirty = true; + }, + deep: true + } + }, + methods: { + checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() { + if (!this.trigger.name) { + this.showErrorFieldNotProvidedNotification(Object(external_CoreHome_["translate"])('General_Name')); + return false; + } + + return true; + }, + removeAnyTriggerNotification: function removeAnyTriggerNotification() { + external_CoreHome_["NotificationsStore"].remove(TriggerEditvue_type_script_lang_ts_notificationId); + external_CoreHome_["NotificationsStore"].remove('ajaxHelper'); + }, + showNotification: function showNotification(message, context) { + var notificationInstanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + id: TriggerEditvue_type_script_lang_ts_notificationId, + type: 'transient' + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(notificationInstanceId); + }, 200); + }, + showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) { + var message = Object(external_CoreHome_["translate"])('TagManager_ErrorXNotProvided', [title]); + this.showNotification(message, 'error'); + }, + initIdTrigger: function initIdTrigger() { + var _this2 = this; + + this.trigger = {}; + this.chooseTriggerType = false; + this.editTitle = ''; + external_CoreHome_["Matomo"].helper.lazyScrollToContent(); + this.availableTriggers = []; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + idContainer: this.idContainer, + filter_limit: '-1' + }).then(function (container) { + return Triggers_store.fetchAvailableTriggers(container.context); + }).then(function (triggers) { + _this2.availableTriggers = triggers; + }).then(function () { + if (_this2.edit && _this2.idTrigger) { + _this2.editTitle = Object(external_CoreHome_["translate"])('TagManager_EditTrigger'); + Triggers_store.findTrigger(_this2.idContainer, _this2.idContainerVersion, _this2.idTrigger).then(function (trigger) { + if (!trigger) { + return; + } + + _this2.trigger = Object(external_CoreHome_["clone"])(trigger); + _this2.parameterValues = Object.fromEntries(trigger.typeMetadata.parameters.map(function (s) { + return [s.name, s.value]; + })); + + _this2.addConditionEntryIfNoneExists(); + + _this2.onConditionChange(); + + _this2.isDirty = false; + }); + return; + } + + if (_this2.create) { + _this2.editTitle = Object(external_CoreHome_["translate"])('TagManager_ChooseTriggerToContinue'); + _this2.chooseTriggerType = true; + } + }); + }, + onConditionChange: function onConditionChange() { + var hasAll = (this.trigger.conditions || []).every(function (c) { + return !!(c !== null && c !== void 0 && c.expected); + }); + + if (hasAll) { + this.addConditionEntry(); + } + }, + addConditionEntryIfNoneExists: function addConditionEntryIfNoneExists() { + if (!this.trigger.conditions || !Array.isArray(this.trigger.conditions)) { + this.trigger.conditions = []; + } + + if (!this.trigger.conditions.length) { + this.trigger.conditions.push(this.makeDefaultCondition()); + } + }, + addConditionEntry: function addConditionEntry() { + this.trigger.conditions.push(this.makeDefaultCondition()); + this.isDirty = true; + }, + removeConditionEntry: function removeConditionEntry(index) { + if (index > -1) { + var lastIndex = this.trigger.conditions.length - 1; + + if (lastIndex === index) { + this.trigger.conditions[index] = this.makeDefaultCondition(); + } else { + this.trigger.conditions.splice(index, 1); + } + + this.isDirty = true; + } + }, + createTriggerType: function createTriggerType(triggerTemplate) { + var _this3 = this; + + if (triggerTemplate && this.isTriggerTemplateDisabled[triggerTemplate.id]) { + return; + } + + this.chooseTriggerType = false; + this.editTitle = Object(external_CoreHome_["translate"])('TagManager_CreateNewTrigger'); + this.trigger = { + idsite: parseInt("".concat(external_CoreHome_["Matomo"].idSite), 10), + name: Triggers_store.suggestNameForType(triggerTemplate.name) || '', + description: '', + type: triggerTemplate.id, + idcontainerversion: this.idContainerVersion, + conditions: [], + typeMetadata: triggerTemplate + }; + this.parameterValues = Object.fromEntries(triggerTemplate.parameters.map(function (s) { + return [s.name, s.value]; + })); + this.addConditionEntry(); // we directly make the create button visible as sometimes some triggers do not + // have any settings + + this.isDirty = true; + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { + if (!_this3.$refs.root) { + return; + } + + var root = _this3.$refs.root; + root.scrollIntoView(); + var name = root.querySelector('#name'); + + if (name) { + name.focus(); + } + }); + }, + cancel: function cancel() { + var newParams = Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value); + delete newParams.idTrigger; + external_CoreHome_["MatomoUrl"].updateHash(newParams); + }, + createTrigger: function createTrigger() { + var _this4 = this; + + this.removeAnyTriggerNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingTrigger = true; + Triggers_store.createOrUpdateTrigger(this.trigger, 'TagManager.addContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) { + var idTrigger = response.value; + _this4.isDirty = false; + Triggers_store.reload(_this4.idContainer, _this4.idContainerVersion).then(function () { + if (_this4.isEmbedded) { + _this4.trigger.idtrigger = idTrigger; + + _this4.$emit('changeTrigger', { + trigger: _this4.trigger + }); + + return; + } + + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idTrigger: idTrigger + })); + setTimeout(function () { + var createdX = Object(external_CoreHome_["translate"])('TagManager_CreatedX', Object(external_CoreHome_["translate"])('TagManager_Trigger')); + var wantToRedeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this4.showNotification("".concat(createdX, " ").concat(wantToRedeploy), 'success'); + }, 200); + }); + }).finally(function () { + _this4.isUpdatingTrigger = false; + }); + }, + setValueHasChanged: function setValueHasChanged() { + this.isDirty = true; + }, + updateTrigger: function updateTrigger() { + var _this5 = this; + + this.removeAnyTriggerNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingTrigger = true; + Triggers_store.createOrUpdateTrigger(this.trigger, 'TagManager.updateContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) { + if (!response) { + return; + } + + if (_this5.isEmbedded) { + _this5.$emit('changeTrigger', { + trigger: _this5.trigger + }); + + return; + } + + _this5.isDirty = false; + Triggers_store.reload(_this5.idContainer, _this5.idContainerVersion).then(function () { + _this5.initIdTrigger(); + }); + var updatedAt = Object(external_CoreHome_["translate"])('TagManager_UpdatedX', Object(external_CoreHome_["translate"])('TagManager_Trigger')); + var wantToDeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this5.showNotification("".concat(updatedAt, " ").concat(wantToDeploy), 'success'); + }).finally(function () { + _this5.isUpdatingTrigger = false; + }); + }, + makeDefaultCondition: function makeDefaultCondition() { + var _this$trigger; + + var actual = 'PageUrl'; + + if ((_this$trigger = this.trigger) !== null && _this$trigger !== void 0 && _this$trigger.typeMetadata) { + var type = this.trigger.typeMetadata.id; + + if (TRIGGER_TYPE_TO_CONDITION_ACTUAL[type]) { + actual = TRIGGER_TYPE_TO_CONDITION_ACTUAL[type]; + } + } + + return { + comparison: 'equals', + actual: actual, + expected: '' + }; + } + }, + computed: { + isLoading: function isLoading() { + return Triggers_store.isLoading.value || AvailableComparisons_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Triggers_store.isUpdating.value || this.isUpdatingTrigger; + }, + create: function create() { + return this.idTrigger === 0; + }, + edit: function edit() { + return !this.create; + }, + canUseCustomTemplates: function canUseCustomTemplates() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_use_custom_templates'); + }, + isTriggerDisabled: function isTriggerDisabled() { + var _this$trigger$typeMet; + + return !this.canUseCustomTemplates && ((_this$trigger$typeMet = this.trigger.typeMetadata) === null || _this$trigger$typeMet === void 0 ? void 0 : _this$trigger$typeMet.isCustomTemplate); + }, + saveButtonText: function saveButtonText() { + return this.edit ? Object(external_CoreHome_["translate"])('CoreUpdater_UpdateTitle') : Object(external_CoreHome_["translate"])('TagManager_CreateNewTrigger'); + }, + collectionItemAvatarText: function collectionItemAvatarText() { + return Object(external_CoreHome_["translate"])('TagManager_UseCustomTemplateCapabilityRequired', Object(external_CoreHome_["translate"])('TagManager_CapabilityUseCustomTemplates')); + }, + availableComparisons: function availableComparisons() { + return AvailableComparisons_store.comparisonOptions.value; + }, + isTriggerTemplateDisabled: function isTriggerTemplateDisabled() { + var _this6 = this; + + var result = {}; + this.availableTriggers.forEach(function (triggerCategory) { + triggerCategory.types.forEach(function (trigger) { + result[trigger.id] = !_this6.canUseCustomTemplates && trigger.isCustomTemplate; + }); + }); + return result; + }, + triggerParameterValues: function triggerParameterValues() { + var _this$trigger$typeMet2; + + if (!((_this$trigger$typeMet2 = this.trigger.typeMetadata) !== null && _this$trigger$typeMet2 !== void 0 && _this$trigger$typeMet2.parameters)) { + return null; + } + + return this.parameterValues; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue + + + +TriggerEditvue_type_script_lang_ts.render = TriggerEditvue_type_template_id_68a714f6_render + +/* harmony default export */ var TriggerEdit = (TriggerEditvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=3d58c0aa + +var TriggerListvue_type_template_id_3d58c0aa_hoisted_1 = { + class: "tagManagerManageList tagManagerTriggerList" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_2 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_3 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_4 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_5 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_6 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_7 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_8 = { + colspan: "7" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_9 = { + class: "loadingPiwik" +}; + +var TriggerListvue_type_template_id_3d58c0aa_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TriggerListvue_type_template_id_3d58c0aa_hoisted_11 = { + colspan: "7" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_12 = ["id"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_13 = { + class: "name" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_14 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_15 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_16 = { + class: "conditions" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_17 = { + class: "icon-ok" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_18 = ["title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_19 = { + class: "action" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_20 = ["onClick", "title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_21 = ["onClick", "title"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_22 = { + class: "tableActionBar" +}; + +var TriggerListvue_type_template_id_3d58c0aa_hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var TriggerListvue_type_template_id_3d58c0aa_hoisted_24 = { + class: "ui-confirm", + id: "confirmDeleteTrigger", + ref: "confirmDeleteTrigger" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_25 = ["value"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_26 = ["value"]; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_27 = { + class: "ui-confirm", + id: "confirmDeleteTriggerNotPossible", + ref: "confirmDeleteTriggerNotPossible" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_28 = { + class: "collection" +}; +var TriggerListvue_type_template_id_3d58c0aa_hoisted_29 = ["value"]; +function TriggerListvue_type_template_id_3d58c0aa_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TriggerListvue_type_template_id_3d58c0aa_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Triggers')), + "help-text": _ctx.triggersHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerUsageBenefits')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "name", + title: _ctx.nameTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "description", + title: _ctx.descriptionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "type", + title: _ctx.typeTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Type')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "conditions", + title: _ctx.filterTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Filter')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "lastUpdated", + title: _ctx.lastUpdatedTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LastUpdated')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "action", + title: _ctx.actionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Actions')), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_7), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TriggerListvue_type_template_id_3d58c0aa_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerListvue_type_template_id_3d58c0aa_hoisted_9, [TriggerListvue_type_template_id_3d58c0aa_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading || _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TriggerListvue_type_template_id_3d58c0aa_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoTriggersFound')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createContainerTriggerNow", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createTrigger(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && _ctx.triggers.length === 0]]), (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.sortedTriggers, function (trigger) { + var _trigger$conditions; + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + id: "trigger".concat(trigger.idtrigger), + class: "triggers", + key: trigger.idtrigger + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TriggerListvue_type_template_id_3d58c0aa_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(trigger.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "description", + title: trigger.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.truncateText(trigger.description, 30)), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "type", + title: trigger.typeMetadata.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(trigger.typeMetadata.name), 9, TriggerListvue_type_template_id_3d58c0aa_hoisted_15), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TriggerListvue_type_template_id_3d58c0aa_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TriggerListvue_type_template_id_3d58c0aa_hoisted_17, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_trigger$conditions = trigger.conditions) === null || _trigger$conditions === void 0 ? void 0 : _trigger$conditions.length]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "lastUpdated", + title: _ctx.translate('TagManager_CreatedOnX', trigger.created_date_pretty) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(trigger.updated_date_pretty), 1)], 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TriggerListvue_type_template_id_3d58c0aa_hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-edit", + onClick: function onClick($event) { + return _ctx.editTrigger(trigger.idtrigger, trigger.type); + }, + title: _ctx.translate('TagManager_EditTrigger') + }, null, 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-delete", + onClick: function onClick($event) { + return _ctx.deleteTrigger(trigger); + }, + title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Trigger')) + }, null, 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_21)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])], 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_12); + }), 128))])], 512), [[_directive_content_table]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerListvue_type_template_id_3d58c0aa_hoisted_22, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewTrigger", + value: "", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createTrigger(); + }) + }, [TriggerListvue_type_template_id_3d58c0aa_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTrigger')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])]; + }), + _: 1 + }, 8, ["content-title", "help-text"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerListvue_type_template_id_3d58c0aa_hoisted_24, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_DeleteTriggerConfirm')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_25), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_26)], 512), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TriggerListvue_type_template_id_3d58c0aa_hoisted_27, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerCannotBeDeleted')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerBeingUsedBy')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", TriggerListvue_type_template_id_3d58c0aa_hoisted_28, [(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.triggerReferences, function (reference) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + class: "collection-item", + key: reference.referenceId + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(reference.referenceTypeName) + ": " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(reference.referenceName), 1); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TriggerBeingUsedNeedsRemove')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_Cancel') + }, null, 8, TriggerListvue_type_template_id_3d58c0aa_hoisted_29)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=3d58c0aa + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts +function TriggerListvue_type_script_lang_ts_toConsumableArray(arr) { return TriggerListvue_type_script_lang_ts_arrayWithoutHoles(arr) || TriggerListvue_type_script_lang_ts_iterableToArray(arr) || TriggerListvue_type_script_lang_ts_unsupportedIterableToArray(arr) || TriggerListvue_type_script_lang_ts_nonIterableSpread(); } + +function TriggerListvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function TriggerListvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TriggerListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TriggerListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function TriggerListvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function TriggerListvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TriggerListvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function TriggerListvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + +var TriggerListvue_type_script_lang_ts_window = window, + TriggerListvue_type_script_lang_ts_tagManagerHelper = TriggerListvue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var TriggerListvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + triggersHelpText: String + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + hasWriteAccess: external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write'), + triggerReferences: [] + }; + }, + created: function created() { + Triggers_store.fetchTriggers(this.idContainer, this.idContainerVersion); + }, + methods: { + createTrigger: function createTrigger() { + this.editTrigger(0); + }, + editTrigger: function editTrigger(idTrigger) { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idTrigger: idTrigger + })); + }, + deleteTrigger: function deleteTrigger(trigger) { + var _this = this; + + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerTriggerReferences', + idContainer: this.idContainer, + idContainerVersion: this.idContainerVersion, + idTrigger: trigger.idtrigger + }).then(function (references) { + if (!references || !references.length) { + _this.triggerReferences = []; + + var doDelete = function doDelete() { + Triggers_store.deleteTrigger(_this.idContainer, _this.idContainerVersion, trigger.idtrigger).then(function () { + Triggers_store.reload(_this.idContainer, _this.idContainerVersion); + }); + }; + + external_CoreHome_["Matomo"].helper.modalConfirm(_this.$refs.confirmDeleteTrigger, { + yes: doDelete + }); + } else { + _this.triggerReferences = references; + external_CoreHome_["Matomo"].helper.modalConfirm(_this.$refs.confirmDeleteTriggerNotPossible, {}); + } + }); + }, + truncateText: function truncateText(text, length) { + return TriggerListvue_type_script_lang_ts_tagManagerHelper.truncateText(text, length); + } + }, + computed: { + isLoading: function isLoading() { + return Triggers_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Triggers_store.isUpdating.value; + }, + triggers: function triggers() { + return Triggers_store.triggers.value; + }, + sortedTriggers: function sortedTriggers() { + var sorted = TriggerListvue_type_script_lang_ts_toConsumableArray(this.triggers); + + sorted.sort(function (lhs, rhs) { + if (lhs.name < rhs.name) { + return -1; + } + + return lhs.name > rhs.name ? 1 : 0; + }); + return sorted; + }, + nameTranslatedText: function nameTranslatedText() { + return this.translate('TagManager_TriggersNameDescription'); + }, + descriptionTranslatedText: function descriptionTranslatedText() { + return this.translate('TagManager_TriggersDescriptionDescription'); + }, + typeTranslatedText: function typeTranslatedText() { + return this.translate('TagManager_TriggersTypeDescription'); + }, + filterTranslatedText: function filterTranslatedText() { + return this.translate('TagManager_TriggersFilterDescription'); + }, + lastUpdatedTranslatedText: function lastUpdatedTranslatedText() { + return this.translate('TagManager_TriggersLastUpdatedDescription'); + }, + actionTranslatedText: function actionTranslatedText() { + return this.translate('TagManager_TriggersActionDescription'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerList.vue + + + +TriggerListvue_type_script_lang_ts.render = TriggerListvue_type_template_id_3d58c0aa_render + +/* harmony default export */ var TriggerList = (TriggerListvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=50893454 + +var TriggerManagevue_type_template_id_50893454_hoisted_1 = { + class: "manageTrigger" +}; +function TriggerManagevue_type_template_id_50893454_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_TriggerList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TriggerList"); + + var _component_TriggerEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TriggerEdit"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TriggerManagevue_type_template_id_50893454_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TriggerList, { + "id-container": _ctx.idContainer, + "id-container-version": _ctx.idContainerVersion, + "triggers-help-text": _ctx.triggersHelpText + }, null, 8, ["id-container", "id-container-version", "triggers-help-text"])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.editMode]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TriggerEdit, { + "id-container": _ctx.idContainer, + "id-container-version": _ctx.idContainerVersion, + "id-trigger": _ctx.idTrigger + }, null, 8, ["id-container", "id-container-version", "id-trigger"])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.editMode]])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=50893454 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts + + + + +/* harmony default export */ var TriggerManagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainerVersion: Number, + idContainer: String, + triggersHelpText: String + }, + components: { + TriggerList: TriggerList, + TriggerEdit: TriggerEdit + }, + data: function data() { + return { + isAddAllowed: false + }; + }, + created: function created() { + var _this = this; + + // doing this in a watch because we don't want to post an event in a computed property + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return external_CoreHome_["MatomoUrl"].hashParsed.value.idTrigger; + }, function (idTrigger) { + _this.onIdTriggerParamChange(idTrigger); + }); + external_CoreHome_["NotificationsStore"].remove('triggertriggermanagement'); + this.onIdTriggerParamChange(external_CoreHome_["MatomoUrl"].hashParsed.value.idTrigger); + }, + methods: { + onIdTriggerParamChange: function onIdTriggerParamChange(idTrigger) { + // for BC w/ angularjs only invoke event if idVariable is 0 + if (idTrigger === '0') { + var parameters = { + isAllowed: true + }; + external_CoreHome_["Matomo"].postEvent('TagManager.initAddTrigger', parameters); + this.isAddAllowed = !!parameters.isAllowed; + } + } + }, + computed: { + idTrigger: function idTrigger() { + var idTrigger = external_CoreHome_["MatomoUrl"].hashParsed.value.idTrigger; + + if (!this.isAddAllowed && idTrigger === '0') { + return null; + } + + return idTrigger ? parseInt(idTrigger, 10) : idTrigger; + }, + editMode: function editMode() { + return typeof this.idTrigger === 'number'; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue + + + +TriggerManagevue_type_script_lang_ts.render = TriggerManagevue_type_template_id_50893454_render + +/* harmony default export */ var TriggerManage = (TriggerManagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=69152a95 +function TagEditvue_type_template_id_69152a95_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + + +var TagEditvue_type_template_id_69152a95_hoisted_1 = { + class: "editTag tagManagerManageEdit", + ref: "root" +}; +var TagEditvue_type_template_id_69152a95_hoisted_2 = { + class: "loadingPiwik" +}; + +var TagEditvue_type_template_id_69152a95_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TagEditvue_type_template_id_69152a95_hoisted_4 = { + class: "loadingPiwik" +}; + +var TagEditvue_type_template_id_69152a95_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TagEditvue_type_template_id_69152a95_hoisted_6 = { + class: "form-group row" +}; +var TagEditvue_type_template_id_69152a95_hoisted_7 = { + class: "col s12" +}; +var TagEditvue_type_template_id_69152a95_hoisted_8 = { + key: 0 +}; +var TagEditvue_type_template_id_69152a95_hoisted_9 = { + class: "form-group row" +}; +var TagEditvue_type_template_id_69152a95_hoisted_10 = { + class: "col s12" +}; +var TagEditvue_type_template_id_69152a95_hoisted_11 = { + class: "form-group row" +}; +var TagEditvue_type_template_id_69152a95_hoisted_12 = { + class: "col s12" +}; +var TagEditvue_type_template_id_69152a95_hoisted_13 = { + class: "form-group row tagStartDate" +}; +var TagEditvue_type_template_id_69152a95_hoisted_14 = { + class: "col s12 m6" +}; +var TagEditvue_type_template_id_69152a95_hoisted_15 = { + class: "row" +}; +var TagEditvue_type_template_id_69152a95_hoisted_16 = { + class: "col s12" +}; +var TagEditvue_type_template_id_69152a95_hoisted_17 = { + for: "start_date_date", + class: "active" +}; +var TagEditvue_type_template_id_69152a95_hoisted_18 = { + class: "tagStartDate" +}; +var TagEditvue_type_template_id_69152a95_hoisted_19 = { + class: "col s12 m6 " +}; +var TagEditvue_type_template_id_69152a95_hoisted_20 = { + class: "form-help" +}; +var TagEditvue_type_template_id_69152a95_hoisted_21 = { + class: "inline-help" +}; +var TagEditvue_type_template_id_69152a95_hoisted_22 = ["innerHTML"]; + +var TagEditvue_type_template_id_69152a95_hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var TagEditvue_type_template_id_69152a95_hoisted_24 = ["innerHTML"]; +var TagEditvue_type_template_id_69152a95_hoisted_25 = { + class: "form-group row tagEndDate" +}; +var TagEditvue_type_template_id_69152a95_hoisted_26 = { + class: "col s12 m6" +}; +var TagEditvue_type_template_id_69152a95_hoisted_27 = { + class: "row" +}; +var TagEditvue_type_template_id_69152a95_hoisted_28 = { + class: "col s12" +}; +var TagEditvue_type_template_id_69152a95_hoisted_29 = { + for: "end_date_date", + class: "active" +}; +var TagEditvue_type_template_id_69152a95_hoisted_30 = { + class: "tagEndDate" +}; +var TagEditvue_type_template_id_69152a95_hoisted_31 = { + class: "col s12 m6" +}; +var TagEditvue_type_template_id_69152a95_hoisted_32 = { + class: "form-help" +}; +var TagEditvue_type_template_id_69152a95_hoisted_33 = { + class: "inline-help" +}; +var TagEditvue_type_template_id_69152a95_hoisted_34 = ["innerHTML"]; + +var TagEditvue_type_template_id_69152a95_hoisted_35 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var TagEditvue_type_template_id_69152a95_hoisted_36 = ["innerHTML"]; +var _hoisted_37 = { + class: "entityCancel" +}; +var _hoisted_38 = { + id: "confirmSelectTagType" +}; +var _hoisted_39 = { + class: "collection-header" +}; +var _hoisted_40 = ["onClick", "title"]; +var _hoisted_41 = ["src"]; +var _hoisted_42 = { + class: "title" +}; +var _hoisted_43 = { + class: "secondary-content" +}; +var _hoisted_44 = ["title"]; +var _hoisted_45 = { + class: "entityCancel" +}; +function TagEditvue_type_template_id_69152a95_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_GroupedSettings = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("GroupedSettings"); + + var _component_TagTriggerArray = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TagTriggerArray"); + + var _component_TagDateInput = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TagDateInput"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagEditvue_type_template_id_69152a95_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.editTitle + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$tag$typeMetadata, _ctx$tag$typeMetadata2, _ctx$tag$typeMetadata3, _ctx$tag$typeMetadata4, _ctx$tag$typeMetadata5, _ctx$tag$typeMetadata6, _ctx$tag$typeMetadata7, _ctx$tag$typeMetadata8; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagEditvue_type_template_id_69152a95_hoisted_2, [TagEditvue_type_template_id_69152a95_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagEditvue_type_template_id_69152a95_hoisted_4, [TagEditvue_type_template_id_69152a95_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UpdatingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("form", { + onSubmit: _cache[18] || (_cache[18] = function ($event) { + return _ctx.edit ? _ctx.updateTag() : _ctx.createTag(); + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isTagDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "type", + "model-value": (_ctx$tag$typeMetadata = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata === void 0 ? void 0 : _ctx$tag$typeMetadata.name, + disabled: true, + "inline-help": ((_ctx$tag$typeMetadata2 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata2 === void 0 ? void 0 : _ctx$tag$typeMetadata2.description) + ' ' + ((_ctx$tag$typeMetadata3 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata3 === void 0 ? void 0 : _ctx$tag$typeMetadata3.help), + title: _ctx.translate('TagManager_Type') + }, null, 8, ["model-value", "inline-help", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "name", + "model-value": _ctx.tag.name, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.tag.name = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 50, + title: _ctx.translate('General_Name'), + "inline-help": _ctx.translate('TagManager_TagNameHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + name: "description", + "model-value": _ctx.tag.description, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.tag.description = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 1000, + title: _ctx.translate('General_Description'), + "inline-help": _ctx.translate('TagManager_TagDescriptionHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureWhatTagDoes')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$tag$typeMetadata4 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata4 === void 0 ? void 0 : _ctx$tag$typeMetadata4.parameters.length]]), _ctx.tag ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagEditvue_type_template_id_69152a95_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_GroupedSettings, { + settings: ((_ctx$tag$typeMetadata5 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata5 === void 0 ? void 0 : _ctx$tag$typeMetadata5.parameters) || [], + "all-setting-values": _ctx.parameterValues, + onChange: _cache[2] || (_cache[2] = function ($event) { + _ctx.parameterValues[$event.name] = $event.value; + + _ctx.setValueHasChanged(); + }) + }, null, 8, ["settings", "all-setting-values"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureWhenTagDoes')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$tag$typeMetadata6 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata6 === void 0 ? void 0 : _ctx$tag$typeMetadata6.parameters.length]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagTriggerArray, { + "container-triggers": _ctx.containerTriggers, + type: "fire", + title: _ctx.translate('TagManager_FireTriggerTitle'), + help: _ctx.translate('TagManager_FireTriggerHelp', _ctx.translate('TagManager_FireLimit')), + "model-value": _ctx.fireTriggers, + "onUpdate:modelValue": _cache[3] || (_cache[3] = function ($event) { + _ctx.fireTriggers = $event; + + _ctx.setValueHasChanged(); + + _ctx.onFireTriggerChange(); + }), + onCreate: _cache[4] || (_cache[4] = function ($event) { + return _ctx.onCreateNewFireTrigger(); + }), + onEdit: _cache[5] || (_cache[5] = function ($event) { + return _ctx.editTrigger($event); + }) + }, null, 8, ["container-triggers", "title", "help", "model-value"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagTriggerArray, { + "container-triggers": _ctx.containerTriggers, + type: "block", + title: _ctx.translate('TagManager_BlockTriggerTitle'), + help: _ctx.translate('TagManager_BlockTriggerHelp'), + "model-value": _ctx.blockTriggers, + "onUpdate:modelValue": _cache[6] || (_cache[6] = function ($event) { + _ctx.blockTriggers = $event; + + _ctx.setValueHasChanged(); + + _ctx.onBlockTriggerChange(); + }), + onCreate: _cache[7] || (_cache[7] = function ($event) { + return _ctx.onCreateNewBlockTrigger(); + }), + onEdit: _cache[8] || (_cache[8] = function ($event) { + return _ctx.editTrigger($event); + }) + }, null, 8, ["container-triggers", "title", "help", "model-value"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: "", + class: "showAdvancedSettings", + onClick: _cache[9] || (_cache[9] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.showAdvanced = true; + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.showAdvanced]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: "", + class: "hideAdvancedSettings", + onClick: _cache[10] || (_cache[10] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.showAdvanced = false; + }, ["prevent"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showAdvanced]])])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_ctx$tag$typeMetadata7 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata7 === void 0 ? void 0 : _ctx$tag$typeMetadata7.hasAdvancedSettings]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "radio", + name: "fire_limit", + "model-value": _ctx.tag.fire_limit, + "onUpdate:modelValue": _cache[11] || (_cache[11] = function ($event) { + _ctx.tag.fire_limit = $event; + + _ctx.setValueHasChanged(); + }), + options: _ctx.availableFireLimits, + title: _ctx.translate('TagManager_FireLimit'), + "inline-help": _ctx.fireLimitHelp + }, null, 8, ["model-value", "options", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "fire_delay", + "model-value": _ctx.tag.fire_delay, + "onUpdate:modelValue": _cache[12] || (_cache[12] = function ($event) { + _ctx.tag.fire_delay = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 8, + title: _ctx.translate('TagManager_FireDelay'), + "inline-help": _ctx.translate('TagManager_FireDelayHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "priority", + "model-value": _ctx.tag.priority, + "onUpdate:modelValue": _cache[13] || (_cache[13] = function ($event) { + _ctx.tag.priority = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 4, + title: _ctx.translate('TagManager_Priority'), + "inline-help": _ctx.translate('TagManager_PriorityHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_14, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", TagEditvue_type_template_id_69152a95_hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_StartDate')) + ":", 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_18, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagDateInput, { + name: "start_date", + "model-value": _ctx.tag.start_date, + "onUpdate:modelValue": _cache[14] || (_cache[14] = function ($event) { + _ctx.tag.start_date = $event; + + _ctx.setValueHasChanged(); + }), + "default-time": "00:00:00" + }, null, 8, ["model-value"])])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_20, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagEditvue_type_template_id_69152a95_hoisted_21, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagStartDateHelp', '', '')) + }, null, 8, TagEditvue_type_template_id_69152a95_hoisted_22), TagEditvue_type_template_id_69152a95_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "currentLocalTime", + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, '')) + }, null, 8, TagEditvue_type_template_id_69152a95_hoisted_24)])])])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_25, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_27, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_28, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", TagEditvue_type_template_id_69152a95_hoisted_29, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_EndDate')) + ":", 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_30, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagDateInput, { + name: "end_date", + "model-value": _ctx.tag.end_date, + "onUpdate:modelValue": _cache[15] || (_cache[15] = function ($event) { + _ctx.tag.end_date = $event; + + _ctx.setValueHasChanged(); + }), + "default-time": "23:59:59" + }, null, 8, ["model-value"])])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_31, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagEditvue_type_template_id_69152a95_hoisted_32, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagEditvue_type_template_id_69152a95_hoisted_33, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagEndDateHelp', '', '')) + }, null, 8, TagEditvue_type_template_id_69152a95_hoisted_34), TagEditvue_type_template_id_69152a95_hoisted_35, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "currentLocalTime", + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, '')) + }, null, 8, TagEditvue_type_template_id_69152a95_hoisted_36)])])])])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showAdvanced && ((_ctx$tag$typeMetadata8 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata8 === void 0 ? void 0 : _ctx$tag$typeMetadata8.hasAdvancedSettings)]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-warning" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isTagDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "createButton", + onConfirm: _cache[16] || (_cache[16] = function ($event) { + return _ctx.edit ? _ctx.updateTag() : _ctx.createTag(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewTag') + }, null, 8, ["disabled", "saving", "value"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isTagDisabled]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_37, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[17] || (_cache[17] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)])])], 544), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.chooseTagType && _ctx.editTitle]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_38, [(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.availableTags, function (tagCategory) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ul", { + class: "collection with-header", + key: tagCategory.name + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", _hoisted_39, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h4", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tagCategory.name), 1)]), (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"])(tagCategory.types, function (tagTemplate, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: index, + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["collection-item avatar", TagEditvue_type_template_id_69152a95_defineProperty({ + disabledTemplate: _ctx.isTagTemplateDisabled[tagTemplate.id] + }, "templateType".concat(tagTemplate.id), true)]), + onClick: function onClick($event) { + return _ctx.createTagType(tagTemplate); + }, + title: !_ctx.isTagTemplateDisabled[tagTemplate.id] ? '' : _ctx.collectionItemAvatarText + }, [tagTemplate.icon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("img", { + key: 0, + alt: "", + class: "circle", + src: tagTemplate.icon + }, null, 8, _hoisted_41)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_42, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tagTemplate.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tagTemplate.description), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], tagTemplate.description]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_43, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { + class: "icon-help", + title: tagTemplate.help + }, null, 8, _hoisted_44)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !!tagTemplate.help]])], 10, _hoisted_40); + }), 128))]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_45, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[19] || (_cache[19] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.chooseTagType]])]; + }), + _: 1 + }, 8, ["content-title"])], 512); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=69152a95 + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/AvailableFireLimit.store.ts +function AvailableFireLimit_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function AvailableFireLimit_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function AvailableFireLimit_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) AvailableFireLimit_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) AvailableFireLimit_store_defineProperties(Constructor, staticProps); return Constructor; } + +function AvailableFireLimit_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var AvailableFireLimit_store_AvailableFireLimitStore = /*#__PURE__*/function () { + function AvailableFireLimitStore() { + var _this = this; + + AvailableFireLimit_store_classCallCheck(this, AvailableFireLimitStore); + + AvailableFireLimit_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + fireLimits: [], + isLoading: false + })); + + AvailableFireLimit_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + AvailableFireLimit_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isLoading; + })); + + AvailableFireLimit_store_defineProperty(this, "fireLimits", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.fireLimits; + })); + + AvailableFireLimit_store_defineProperty(this, "fireLimitsOptions", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.fireLimits.value.map(function (_ref) { + var id = _ref.id, + name = _ref.name; + return { + key: id, + value: name + }; + }); + })); + + AvailableFireLimit_store_defineProperty(this, "initializePromise", null); + } + + AvailableFireLimit_store_createClass(AvailableFireLimitStore, [{ + key: "init", + value: function init() { + if (!this.initializePromise) { + this.initializePromise = this.fetchAvailableFireLimits(); + } + + return this.initializePromise; + } + }, { + key: "fetchAvailableFireLimits", + value: function fetchAvailableFireLimits() { + var _this2 = this; + + this.privateState.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableTagFireLimits', + filter_limit: '-1' + }).then(function (fireLimits) { + var entities; + + if (Array.isArray(fireLimits)) { + entities = fireLimits; + } else { + entities = Object.values(fireLimits); + } + + _this2.privateState.fireLimits = entities; + }).finally(function () { + _this2.privateState.isLoading = false; + }); + } + }]); + + return AvailableFireLimitStore; +}(); + +/* harmony default export */ var AvailableFireLimit_store = (new AvailableFireLimit_store_AvailableFireLimitStore()); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=c1c05b4a + +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_1 = { + class: "col s12 m6" +}; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_2 = ["for"]; + +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_4 = ["name"]; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_5 = ["onClick", "title"]; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_6 = ["onClick", "title"]; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_7 = { + class: "col s12 m6" +}; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_8 = { + class: "form-help" +}; +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_9 = { + class: "inline-help" +}; + +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_11 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +function TagTriggerArrayvue_type_template_id_c1c05b4a_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["form-group row", "".concat(_ctx.type, "Triggers")]) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", { + for: "".concat(_ctx.type, "_triggers") + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.title), 9, TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoTriggersFound')) + ". ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewTrigger", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.$emit('create'); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.containerTriggers.length === 0]]), (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.modelValue, function (idTrigger, index) { + return 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", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["multiple valign-wrapper", "".concat(_ctx.type, "Trigger ").concat(_ctx.type, "Trigger").concat(index)]), + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "innerFormField", + name: "".concat(_ctx.type, "_triggers") + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "".concat(_ctx.type, "_triggers"), + "model-value": idTrigger, + "onUpdate:modelValue": function onUpdateModelValue($event) { + return _ctx.onChangeTrigger($event, index); + }, + "full-width": true, + options: _ctx.containerTriggers + }, null, 8, ["name", "model-value", "onUpdate:modelValue", "options"])], 8, TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-edit valign", + onClick: function onClick($event) { + return _ctx.$emit('edit', idTrigger); + }, + title: _ctx.translate('General_Edit') + }, null, 8, TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_5), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], idTrigger]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-minus valign", + onClick: function onClick($event) { + return _ctx.removeTrigger(index); + }, + title: _ctx.translate('General_Remove') + }, null, 8, TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_6), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], index + 1 !== _ctx.modelValue.length]])], 2)), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.containerTriggers.length]]); + }), 128))])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.help) + " ", 1), TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_10, TagTriggerArrayvue_type_template_id_c1c05b4a_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createTriggerInHelp", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.$emit('create'); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1)])])])], 2); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=c1c05b4a + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts +function TagTriggerArrayvue_type_script_lang_ts_toConsumableArray(arr) { return TagTriggerArrayvue_type_script_lang_ts_arrayWithoutHoles(arr) || TagTriggerArrayvue_type_script_lang_ts_iterableToArray(arr) || TagTriggerArrayvue_type_script_lang_ts_unsupportedIterableToArray(arr) || TagTriggerArrayvue_type_script_lang_ts_nonIterableSpread(); } + +function TagTriggerArrayvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function TagTriggerArrayvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TagTriggerArrayvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TagTriggerArrayvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function TagTriggerArrayvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function TagTriggerArrayvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TagTriggerArrayvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function TagTriggerArrayvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + +/* harmony default export */ var TagTriggerArrayvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + type: { + type: String, + required: true + }, + help: { + type: String, + required: true + }, + title: { + type: String, + required: true + }, + containerTriggers: { + type: Array, + required: true + }, + modelValue: { + type: Array, + required: true + } + }, + components: { + Field: external_CorePluginsAdmin_["Field"] + }, + emits: ['update:modelValue', 'create', 'edit'], + methods: { + onChangeTrigger: function onChangeTrigger(idTrigger, index) { + var newValue = TagTriggerArrayvue_type_script_lang_ts_toConsumableArray(this.modelValue); + + newValue[index] = parseInt(idTrigger, 10); + this.$emit('update:modelValue', newValue); + }, + removeTrigger: function removeTrigger(index) { + var newValue = TagTriggerArrayvue_type_script_lang_ts_toConsumableArray(this.modelValue); + + newValue.splice(index, 1); + this.$emit('update:modelValue', newValue); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue + + + +TagTriggerArrayvue_type_script_lang_ts.render = TagTriggerArrayvue_type_template_id_c1c05b4a_render + +/* harmony default export */ var TagTriggerArray = (TagTriggerArrayvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=fc05d13c + +var TagDateInputvue_type_template_id_fc05d13c_hoisted_1 = { + class: "col s12 m6 input-field" +}; +var TagDateInputvue_type_template_id_fc05d13c_hoisted_2 = ["name", "id", "value"]; +var TagDateInputvue_type_template_id_fc05d13c_hoisted_3 = { + class: "col s12 m6 input-field" +}; +var TagDateInputvue_type_template_id_fc05d13c_hoisted_4 = ["name", "id", "value"]; +function TagDateInputvue_type_template_id_fc05d13c_render(_ctx, _cache, $props, $setup, $data, $options) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), 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_["createElementVNode"])("div", TagDateInputvue_type_template_id_fc05d13c_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + ref: "dateInput", + type: "text", + name: "".concat(_ctx.name, "_date"), + id: "".concat(_ctx.name, "_date"), + class: "dateInput", + value: _ctx.dateText, + onKeydown: _cache[0] || (_cache[0] = function ($event) { + return _ctx.onDateKeydown($event); + }), + onChange: _cache[1] || (_cache[1] = function ($event) { + return _ctx.onDateKeydown($event); + }) + }, null, 40, TagDateInputvue_type_template_id_fc05d13c_hoisted_2)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagDateInputvue_type_template_id_fc05d13c_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + ref: "timeInput", + type: "text", + name: "".concat(_ctx.name, "_time"), + id: "".concat(_ctx.name, "_time"), + class: "timeInput", + value: _ctx.timeText, + onKeydown: _cache[2] || (_cache[2] = function ($event) { + return _ctx.onTimeKeydown($event); + }) + }, null, 40, TagDateInputvue_type_template_id_fc05d13c_hoisted_4)])], 64); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=fc05d13c + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts +/* eslint-disable @typescript-eslint/ban-ts-comment */ + + + +function prefixDateZeroIfNeeded(number) { + var datePart = String(number); + + if (datePart.length === 1) { + datePart = "0".concat(datePart); + } + + return datePart; +} + +function convertUtcToLocalDate(dateTime) { + if (!dateTime) { + return undefined; + } + + var isoDate = dateTime; + + if (isoDate) { + isoDate = "".concat(isoDate).replace(/-/g, '/'); + + try { + return new Date("".concat(isoDate, " UTC")); + } catch (e) { + try { + return new Date(Date.parse("".concat(isoDate, " UTC"))); + } catch (ex) { + // eg phantomjs etc + var datePart = isoDate.substr(0, 10); + var timePart = isoDate.substr(11); + var dateParts = datePart.split('/'); + var timeParts = timePart.split(':'); + + if (dateParts.length === 3 && timeParts.length === 3) { + var result = new Date(parseInt(dateParts[0], 10), parseInt(dateParts[1], 10) - 1, parseInt(dateParts[2], 10), parseInt(timeParts[0], 10), parseInt(timeParts[1], 10), parseInt(timeParts[2], 10)); + var newTime = result.getTime() + result.getTimezoneOffset() * 60000; + return new Date(newTime); + } + } + } + } + + return undefined; +} + +function convertUtcDateToLocalDatePart(isoDateTime) { + var localStartDate = convertUtcToLocalDate(isoDateTime); + + if (localStartDate) { + var month = prefixDateZeroIfNeeded(localStartDate.getMonth() + 1); + var date = prefixDateZeroIfNeeded(localStartDate.getDate()); + return "".concat(localStartDate.getFullYear(), "-").concat(month, "-").concat(date); + } + + var parts = isoDateTime.split(' '); + return parts[0]; +} + +function convertUtcDateToLocalTimePart(isoDateTime) { + var localStartDate = convertUtcToLocalDate(isoDateTime); + + if (localStartDate) { + var hours = prefixDateZeroIfNeeded(localStartDate.getHours()); + var minutes = prefixDateZeroIfNeeded(localStartDate.getMinutes()); + var seconds = prefixDateZeroIfNeeded(localStartDate.getSeconds()); + return "".concat(hours, ":").concat(minutes, ":").concat(seconds); + } + + var parts = isoDateTime.split(' '); + return parts[1]; +} + +function convertLocalDateToUtc(strDate) { + var dateTime = strDate; + + if (dateTime) { + dateTime = dateTime.replace(/-/g, '/'); + } + + try { + var localDate = new Date(dateTime); + var month = prefixDateZeroIfNeeded(localDate.getUTCMonth() + 1); + var date = prefixDateZeroIfNeeded(localDate.getUTCDate()); + var hours = prefixDateZeroIfNeeded(localDate.getUTCHours()); + var minutes = prefixDateZeroIfNeeded(localDate.getUTCMinutes()); + var seconds = prefixDateZeroIfNeeded(localDate.getUTCSeconds()); + var formatted = ''; + formatted += "".concat(localDate.getUTCFullYear(), "-").concat(month, "-").concat(date); + formatted += ' '; + formatted += "".concat(hours, ":").concat(minutes, ":").concat(seconds); + return formatted; + } catch (e) { + return dateTime; + } +} + +var TagDateInputvue_type_script_lang_ts_window = window, + TagDateInputvue_type_script_lang_ts_$ = TagDateInputvue_type_script_lang_ts_window.$; +/* harmony default export */ var TagDateInputvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + name: { + type: String, + required: true + }, + defaultTime: { + type: String, + required: true + }, + modelValue: String + }, + mounted: function mounted() { + var _this = this; + + var datePickerOptions = Object.assign(Object.assign({}, external_CoreHome_["Matomo"].getBaseDatePickerOptions(null)), {}, { + minDate: new Date() + }); + delete datePickerOptions.maxDate; + TagDateInputvue_type_script_lang_ts_$(this.$refs.dateInput).datepicker(Object.assign({}, datePickerOptions)); // @ts-ignore + + TagDateInputvue_type_script_lang_ts_$(this.$refs.timeInput).timepicker({ + timeFormat: 'H:i:s' + }) // timepicker triggers a jquery event, not a addEventListener event, so vue doesn't catch + // it + .on('change', function (event) { + _this.onTimeKeydown(event); + }); + }, + computed: { + dateText: function dateText() { + if (!this.modelValue) { + return ''; + } + + return convertUtcDateToLocalDatePart(this.modelValue); + }, + timeText: function timeText() { + if (!this.modelValue) { + return ''; + } + + return convertUtcDateToLocalTimePart(this.modelValue); + } + }, + methods: { + onDateKeydown: function onDateKeydown(event) { + var _this2 = this; + + setTimeout(function () { + var value = event.target.value; + + if (_this2.dateText === value) { + return; + } + + _this2.onChange(value, _this2.timeText); + }); + }, + onTimeKeydown: function onTimeKeydown(event) { + var _this3 = this; + + setTimeout(function () { + var value = event.target.value; + + if (_this3.timeText === value) { + return; + } + + _this3.onChange(_this3.dateText, value); + }); + }, + onChange: function onChange(date, time) { + if (!date) { + this.$emit('update:model-value', null); + return; + } + + var timeToUse = time || this.defaultTime; + var newDate = convertLocalDateToUtc("".concat(date, " ").concat(timeToUse)); + this.$emit('update:model-value', newDate); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagDateInput.vue + + + +TagDateInputvue_type_script_lang_ts.render = TagDateInputvue_type_template_id_fc05d13c_render + +/* harmony default export */ var TagDateInput = (TagDateInputvue_type_script_lang_ts); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/Tags.store.ts +function Tags_store_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Tags_store_typeof = function _typeof(obj) { return typeof obj; }; } else { Tags_store_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Tags_store_typeof(obj); } + +function Tags_store_slicedToArray(arr, i) { return Tags_store_arrayWithHoles(arr) || Tags_store_iterableToArrayLimit(arr, i) || Tags_store_unsupportedIterableToArray(arr, i) || Tags_store_nonIterableRest(); } + +function Tags_store_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Tags_store_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function Tags_store_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +function Tags_store_toConsumableArray(arr) { return Tags_store_arrayWithoutHoles(arr) || Tags_store_iterableToArray(arr) || Tags_store_unsupportedIterableToArray(arr) || Tags_store_nonIterableSpread(); } + +function Tags_store_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Tags_store_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Tags_store_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Tags_store_arrayLikeToArray(o, minLen); } + +function Tags_store_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Tags_store_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Tags_store_arrayLikeToArray(arr); } + +function Tags_store_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function Tags_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function Tags_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function Tags_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) Tags_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) Tags_store_defineProperties(Constructor, staticProps); return Constructor; } + +function Tags_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var Tags_store_TagsStore = /*#__PURE__*/function () { + function TagsStore() { + var _this = this; + + Tags_store_classCallCheck(this, TagsStore); + + Tags_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + tags: [], + isLoadingTags: false, + isLoadingSingle: false, + isUpdating: false + })); + + Tags_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + Tags_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + var state = _this.state.value; + return state.isLoadingTags || state.isLoadingSingle; + })); + + Tags_store_defineProperty(this, "isUpdating", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isUpdating; + })); + + Tags_store_defineProperty(this, "tags", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.tags; + })); + + Tags_store_defineProperty(this, "fetchPromise", null); + + Tags_store_defineProperty(this, "availableTagsPromises", {}); + } + + Tags_store_createClass(TagsStore, [{ + key: "fetchTags", + value: function fetchTags(idContainer, idContainerVersion) { + var _this2 = this; + + this.privateState.isLoadingTags = true; + this.privateState.tags = []; + + if (!this.fetchPromise) { + this.fetchPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerTags', + idContainer: idContainer, + idContainerVersion: idContainerVersion, + filter_limit: '-1' + }); + } + + return Promise.resolve(this.fetchPromise).then(function (tags) { + _this2.privateState.tags = tags; + _this2.privateState.isLoadingTags = false; + return _this2.tags.value; + }).finally(function () { + _this2.privateState.isLoadingTags = false; + }); + } + }, { + key: "reload", + value: function reload(idContainer, idContainerVersion) { + this.privateState.tags = []; + this.fetchPromise = null; + this.availableTagsPromises = {}; + return this.fetchTags(idContainer, idContainerVersion); + } + }, { + key: "findTag", + value: function findTag(idContainer, idContainerVersion, idTag) { + var _this3 = this; + + // before going through an API request we first try to find it in loaded variables + var found = this.tags.value.find(function (v) { + return v.idtag === idTag; + }); + + if (found) { + return Promise.resolve(found); + } // otherwise we fetch it via API + + + this.privateState.isLoadingSingle = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idTag: idTag, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + method: 'TagManager.getContainerTag', + filter_limit: '-1' + }).then(function (record) { + _this3.privateState.tags = [].concat(Tags_store_toConsumableArray(_this3.privateState.tags), [record]); + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(record); + }).finally(function () { + _this3.privateState.isLoadingSingle = false; + }); + } + }, { + key: "fetchAvailableTags", + value: function fetchAvailableTags(idContext) { + if (!this.availableTagsPromises[idContext]) { + this.availableTagsPromises[idContext] = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableTagTypesInContext', + idContext: idContext, + filter_limit: '-1' + }).then(function (tags) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(tags); + }); + } + + return Promise.resolve(this.availableTagsPromises[idContext]); + } + }, { + key: "createOrUpdateTag", + value: function createOrUpdateTag(tag, method, idContainer, idContainerVersion, parameterValues, fireTriggerIds, blockTriggerIds) { + var _this4 = this; + + this.privateState.isUpdating = true; + var mappedEntries = Object.entries(parameterValues).map(function (_ref) { + var _ref2 = Tags_store_slicedToArray(_ref, 2), + key = _ref2[0], + value = _ref2[1]; + + var newValue = value; + + if (typeof value === 'boolean') { + newValue = (+value).toString(); + } + + return [key, newValue]; + }); + var parameters = Object.fromEntries(mappedEntries); + return external_CoreHome_["AjaxHelper"].post({ + idTag: tag.idtag, + method: method, + idContainer: idContainer, + idContainerVersion: idContainerVersion, + type: tag.type, + name: tag.name, + description: tag.description, + startDate: tag.start_date, + endDate: tag.end_date, + fireLimit: tag.fire_limit, + fireDelay: tag.fire_delay, + priority: tag.priority + }, { + parameters: parameters, + fireTriggerIds: fireTriggerIds, + blockTriggerIds: blockTriggerIds + }, { + withTokenInUrl: true + }).finally(function () { + _this4.privateState.isUpdating = false; + }); + } + }, { + key: "deleteTag", + value: function deleteTag(idContainer, idContainerVersion, idTag) { + var _this5 = this; + + this.privateState.isUpdating = true; + this.privateState.tags = []; + return external_CoreHome_["AjaxHelper"].fetch({ + idTag: idTag, + idContainerVersion: idContainerVersion, + idContainer: idContainer, + method: 'TagManager.deleteContainerTag' + }, { + withTokenInUrl: true + }).finally(function () { + _this5.privateState.isUpdating = false; + }); + } + }, { + key: "suggestNameForType", + value: function suggestNameForType(templateId) { + var _this6 = this; + + var _loop = function _loop(counter) { + var name = templateId; + + if (counter) { + name = "".concat(name, " (").concat(counter, ")"); + } + + var isFree = !_this6.tags.value.some(function (v) { + return v.name === name; + }); + + if (isFree) { + return { + v: name + }; + } + }; + + for (var counter = 0; counter < 100; counter += 1) { + var _ret = _loop(counter); + + if (Tags_store_typeof(_ret) === "object") return _ret.v; + } + + return undefined; + } + }]); + + return TagsStore; +}(); + +/* harmony default export */ var Tags_store = (new Tags_store_TagsStore()); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts +function TagEditvue_type_script_lang_ts_toConsumableArray(arr) { return TagEditvue_type_script_lang_ts_arrayWithoutHoles(arr) || TagEditvue_type_script_lang_ts_iterableToArray(arr) || TagEditvue_type_script_lang_ts_unsupportedIterableToArray(arr) || TagEditvue_type_script_lang_ts_nonIterableSpread(); } + +function TagEditvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function TagEditvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TagEditvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TagEditvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function TagEditvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function TagEditvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TagEditvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function TagEditvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + + + + + + + +function getCurrentTime() { + var date = new Date(); + + if (date && date.toString) { + return date.toString(); + } + + return null; +} + +var TagEditvue_type_script_lang_ts_window = window, + TagEditvue_type_script_lang_ts_$ = TagEditvue_type_script_lang_ts_window.$, + TagEditvue_type_script_lang_ts_tagManagerHelper = TagEditvue_type_script_lang_ts_window.tagManagerHelper; +var TagEditvue_type_script_lang_ts_notificationId = 'tagtagmanagement'; +/* harmony default export */ var TagEditvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idTag: Number, + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + newTagType: null + }, + components: { + TagDateInput: TagDateInput, + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + SaveButton: external_CorePluginsAdmin_["SaveButton"], + GroupedSettings: external_CorePluginsAdmin_["GroupedSettings"], + TagTriggerArray: TagTriggerArray + }, + data: function data() { + return { + isDirty: false, + showAdvanced: false, + chooseTagType: false, + availableTags: [], + containerTriggers: [], + currentTime: null, + tag: {}, + editTitle: '', + parameterValues: {}, + isUpdatingTag: false, + fireTriggers: [], + blockTriggers: [], + currentTimeTimeout: null + }; + }, + created: function created() { + var _this = this; + + AvailableFireLimit_store.init(); + this.updateAvailableTriggers(); + this.setCurrentTime(); + Tags_store.reload(this.idContainer, this.idContainerVersion).then(function () { + _this.initIdTag(); + }); + }, + unmounted: function unmounted() { + if (this.currentTimeTimeout) { + clearTimeout(this.currentTimeTimeout); + } + }, + watch: { + idTag: function idTag(newValue) { + if (newValue === null) { + return; + } + + this.initIdTag(); + } + }, + methods: { + setCurrentTime: function setCurrentTime() { + this.currentTime = getCurrentTime(); + this.currentTimeTimeout = setTimeout(this.setCurrentTime.bind(this), 10000); + }, + updateAvailableTriggers: function updateAvailableTriggers() { + var _this2 = this; + + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerTriggers', + idContainer: this.idContainer, + idContainerVersion: this.idContainerVersion, + filter_limit: '-1' + }).then(function (triggers) { + _this2.containerTriggers = triggers.map(function (t) { + return { + key: t.idtrigger, + value: t.name + }; + }); + }); + }, + removeAnyTagNotification: function removeAnyTagNotification() { + external_CoreHome_["NotificationsStore"].remove(TagEditvue_type_script_lang_ts_notificationId); + external_CoreHome_["NotificationsStore"].remove('ajaxHelper'); + }, + showNotification: function showNotification(message, context) { + var instanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + id: TagEditvue_type_script_lang_ts_notificationId, + type: 'transient' + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(instanceId); + }, 200); + }, + showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) { + var message = Object(external_CoreHome_["translate"])('TagManager_ErrorXNotProvided', [title]); + this.showNotification(message, 'error'); + }, + initIdTag: function initIdTag() { + var _this3 = this; + + this.tag = {}; + this.chooseTagType = false; + this.editTitle = ''; + external_CoreHome_["Matomo"].helper.lazyScrollToContent(); + this.availableTags = []; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + idContainer: this.idContainer, + filter_limit: '-1' + }).then(function (container) { + return Tags_store.fetchAvailableTags(container.context); + }).then(function (tags) { + _this3.availableTags = tags; + }).then(function () { + if (_this3.edit && _this3.idTag) { + _this3.editTitle = Object(external_CoreHome_["translate"])('TagManager_EditTag'); + Tags_store.findTag(_this3.idContainer, _this3.idContainerVersion, _this3.idTag).then(function (tag) { + if (!tag) { + return; + } + + _this3.tag = Object(external_CoreHome_["clone"])(tag); + _this3.parameterValues = Object.fromEntries(tag.typeMetadata.parameters.map(function (s) { + return [s.name, s.value]; + })); + _this3.blockTriggers = TagEditvue_type_script_lang_ts_toConsumableArray(_this3.tag.block_trigger_ids || []); + + if (!_this3.blockTriggers.length) { + _this3.blockTriggers.push(null); + } + + _this3.fireTriggers = TagEditvue_type_script_lang_ts_toConsumableArray(_this3.tag.fire_trigger_ids || []); + + if (!_this3.fireTriggers.length) { + _this3.fireTriggers.push(null); + } + + _this3.onFireTriggerChange(); + + _this3.onBlockTriggerChange(); + + _this3.isDirty = false; + }); + return; + } + + if (_this3.create) { + _this3.editTitle = Object(external_CoreHome_["translate"])('TagManager_ChooseTagToContinue'); + _this3.chooseTagType = true; + } + }); + }, + onCreateNewBlockTrigger: function onCreateNewBlockTrigger() { + var _this4 = this; + + this.openEditTrigger(function (trigger) { + var indexLastEntry = _this4.blockTriggers.length - 1; + + if (!_this4.blockTriggers[indexLastEntry]) { + _this4.blockTriggers[indexLastEntry] = trigger.idtrigger; + } else { + _this4.blockTriggers.push(trigger.idtrigger); + } + + _this4.onBlockTriggerChange(); + }, 0); + }, + onCreateNewFireTrigger: function onCreateNewFireTrigger() { + var _this5 = this; + + this.openEditTrigger(function (trigger) { + var indexLastEntry = _this5.fireTriggers.length - 1; + + if (!_this5.fireTriggers[indexLastEntry]) { + _this5.fireTriggers[indexLastEntry] = trigger.idtrigger; + } else { + _this5.fireTriggers.push(trigger.idtrigger); + } + + _this5.onFireTriggerChange(); + }, 0); + }, + editTrigger: function editTrigger(idTrigger) { + this.openEditTrigger(function () { + return null; + }, idTrigger); + }, + openEditTrigger: function openEditTrigger(callback, idTag) { + var _this6 = this; + + TagEditvue_type_script_lang_ts_tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTag, function (trigger) { + _this6.updateAvailableTriggers(); + + callback(trigger); + }); + }, + onBlockTriggerChange: function onBlockTriggerChange() { + var hasAll = this.blockTriggers.every(function (t) { + return !!t; + }); + + if (hasAll) { + this.addBlockTrigger(); + } + }, + addBlockTrigger: function addBlockTrigger() { + this.blockTriggers.push(null); + this.isDirty = true; + }, + removeBlockTrigger: function removeBlockTrigger(index) { + if (index > -1) { + var lastIndex = this.blockTriggers.length - 1; + + if (lastIndex === index) { + this.blockTriggers[index] = null; + } else { + this.blockTriggers.splice(index, 1); + } + + this.isDirty = true; + } + }, + onFireTriggerChange: function onFireTriggerChange() { + var hasAll = this.fireTriggers.every(function (t) { + return !!t; + }); + + if (hasAll) { + this.addFireTrigger(); + } + }, + addFireTrigger: function addFireTrigger() { + this.fireTriggers.push(null); + this.isDirty = true; + }, + removeFireTrigger: function removeFireTrigger(index) { + if (index > -1) { + var lastIndex = this.fireTriggers.length - 1; + + if (lastIndex === index) { + this.fireTriggers[index] = null; + } else { + this.fireTriggers.splice(index, 1); + } + + this.isDirty = true; + } + }, + createTagType: function createTagType(tagTemplate) { + var _this7 = this; + + if (tagTemplate && this.isTagTemplateDisabled[tagTemplate.id]) { + return; + } + + this.chooseTagType = false; + this.editTitle = Object(external_CoreHome_["translate"])('TagManager_CreateNewTag'); + this.tag = { + idsite: parseInt("".concat(external_CoreHome_["Matomo"].idSite), 10), + name: Tags_store.suggestNameForType(tagTemplate.name) || '', + type: tagTemplate.id, + fire_limit: 'unlimited', + priority: 999, + fire_delay: 0, + typeMetadata: tagTemplate + }; + this.blockTriggers = [null]; + this.fireTriggers = [null]; + this.parameterValues = Object.fromEntries(tagTemplate.parameters.map(function (s) { + return [s.name, s.value]; + })); + this.isDirty = false; + setTimeout(function () { + var editTag = TagEditvue_type_script_lang_ts_$(_this7.$refs.root); + + if (editTag.length && editTag[0]) { + editTag[0].scrollIntoView(); + } + + editTag.find('#name').focus(); + }, 1); + }, + cancel: function cancel() { + var newParams = Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value); + delete newParams.idTag; + external_CoreHome_["MatomoUrl"].updateHash(newParams); + }, + createTag: function createTag() { + var _this8 = this; + + this.removeAnyTagNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingTag = true; + Tags_store.createOrUpdateTag(this.tag, 'TagManager.addContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) { + return !!id; + }), this.blockTriggers.filter(function (id) { + return !!id; + })).then(function (response) { + if (!response) { + return; + } + + _this8.isDirty = false; + var idTag = response.value; + Tags_store.reload(_this8.idContainer, _this8.idContainerVersion).then(function () { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idTag: idTag + })); + setTimeout(function () { + var createdX = Object(external_CoreHome_["translate"])('TagManager_CreatedX', Object(external_CoreHome_["translate"])('TagManager_Tag')); + var wantToRedeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this8.showNotification("".concat(createdX, " ").concat(wantToRedeploy), 'success'); + }, 200); + }); + }).finally(function () { + _this8.isUpdatingTag = false; + }); + }, + setValueHasChanged: function setValueHasChanged() { + this.isDirty = true; + }, + updateTag: function updateTag() { + var _this9 = this; + + this.removeAnyTagNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingTag = true; + Tags_store.createOrUpdateTag(this.tag, 'TagManager.updateContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) { + return !!id; + }), this.blockTriggers.filter(function (id) { + return !!id; + })).then(function (response) { + if (!response) { + return; + } + + _this9.isDirty = false; + Tags_store.reload(_this9.idContainer, _this9.idContainerVersion).then(function () { + _this9.initIdTag(); + }); + var updatedAt = Object(external_CoreHome_["translate"])('TagManager_UpdatedX', Object(external_CoreHome_["translate"])('TagManager_Tag')); + var wantToDeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this9.showNotification("".concat(updatedAt, " ").concat(wantToDeploy), 'success'); + }).finally(function () { + _this9.isUpdatingTag = false; + }); + }, + checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() { + if (!this.tag.name) { + var title = Object(external_CoreHome_["translate"])('General_Name'); + this.showErrorFieldNotProvidedNotification(title); + return false; + } + + if (!this.fireTriggers || !this.fireTriggers.length) { + this.showNotification(Object(external_CoreHome_["translate"])('TagManager_TagFireTriggerRequirement'), 'error'); + return false; + } + + return true; + } + }, + computed: { + availableFireLimits: function availableFireLimits() { + return AvailableFireLimit_store.fireLimitsOptions.value; + }, + isLoading: function isLoading() { + return Triggers_store.isLoading.value || AvailableFireLimit_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Triggers_store.isUpdating.value || this.isUpdatingTag; + }, + create: function create() { + return this.idTag === 0; + }, + edit: function edit() { + return !this.create; + }, + canUseCustomTemplates: function canUseCustomTemplates() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_use_custom_templates'); + }, + isTagDisabled: function isTagDisabled() { + var _this$tag$typeMetadat; + + return !this.canUseCustomTemplates && ((_this$tag$typeMetadat = this.tag.typeMetadata) === null || _this$tag$typeMetadat === void 0 ? void 0 : _this$tag$typeMetadat.isCustomTemplate); + }, + isTagTemplateDisabled: function isTagTemplateDisabled() { + var _this10 = this; + + var result = {}; + this.availableTags.forEach(function (tagCategory) { + tagCategory.types.forEach(function (tag) { + result[tag.id] = !_this10.canUseCustomTemplates && tag.isCustomTemplate; + }); + }); + return result; + }, + collectionItemAvatarText: function collectionItemAvatarText() { + return Object(external_CoreHome_["translate"])('TagManager_UseCustomTemplateCapabilityRequired', Object(external_CoreHome_["translate"])('TagManager_CapabilityUseCustomTemplates')); + }, + fireLimitHelp: function fireLimitHelp() { + return Object(external_CoreHome_["translate"])('TagManager_FireLimitHelp', Object(external_CoreHome_["translate"])('TagManager_Unlimited'), Object(external_CoreHome_["translate"])('TagManager_OncePage'), Object(external_CoreHome_["translate"])('TagManager_Once24Hours'), Object(external_CoreHome_["translate"])('TagManager_OnceLifetime')); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagEdit.vue + + + +TagEditvue_type_script_lang_ts.render = TagEditvue_type_template_id_69152a95_render + +/* harmony default export */ var TagEdit = (TagEditvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=6c155e01 + +var TagListvue_type_template_id_6c155e01_hoisted_1 = { + class: "tagManagerManageList tagManagerTagList" +}; +var TagListvue_type_template_id_6c155e01_hoisted_2 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_3 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_4 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_5 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_6 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_7 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_8 = { + colspan: "5" +}; +var TagListvue_type_template_id_6c155e01_hoisted_9 = { + class: "loadingPiwik" +}; + +var TagListvue_type_template_id_6c155e01_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var TagListvue_type_template_id_6c155e01_hoisted_11 = { + colspan: "5" +}; +var TagListvue_type_template_id_6c155e01_hoisted_12 = ["id"]; +var TagListvue_type_template_id_6c155e01_hoisted_13 = { + class: "name" +}; +var TagListvue_type_template_id_6c155e01_hoisted_14 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_15 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_16 = { + class: "triggers" +}; +var TagListvue_type_template_id_6c155e01_hoisted_17 = ["onClick"]; +var TagListvue_type_template_id_6c155e01_hoisted_18 = { + key: 1, + class: "chip" +}; +var TagListvue_type_template_id_6c155e01_hoisted_19 = ["onClick"]; +var TagListvue_type_template_id_6c155e01_hoisted_20 = ["title"]; +var TagListvue_type_template_id_6c155e01_hoisted_21 = { + class: "action" +}; +var TagListvue_type_template_id_6c155e01_hoisted_22 = ["onClick", "title"]; +var TagListvue_type_template_id_6c155e01_hoisted_23 = ["onClick", "title"]; +var TagListvue_type_template_id_6c155e01_hoisted_24 = { + class: "tableActionBar" +}; + +var TagListvue_type_template_id_6c155e01_hoisted_25 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var TagListvue_type_template_id_6c155e01_hoisted_26 = { + class: "ui-confirm", + id: "confirmDeleteTag", + ref: "confirmDeleteTag" +}; +var TagListvue_type_template_id_6c155e01_hoisted_27 = ["value"]; +var TagListvue_type_template_id_6c155e01_hoisted_28 = ["value"]; +function TagListvue_type_template_id_6c155e01_render(_ctx, _cache, $props, $setup, $data, $options) { + var _this = this; + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagListvue_type_template_id_6c155e01_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Tags')), + "help-text": _ctx.tagsHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_TagUsageBenefits')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "name", + title: _ctx.nameTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 9, TagListvue_type_template_id_6c155e01_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "description", + title: _ctx.descriptionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')), 9, TagListvue_type_template_id_6c155e01_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "type", + title: _ctx.typeTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Type')), 9, TagListvue_type_template_id_6c155e01_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "triggers", + title: _ctx.triggersTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Triggers')), 9, TagListvue_type_template_id_6c155e01_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "lastUpdated", + title: _ctx.lastUpdatedTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LastUpdated')), 9, TagListvue_type_template_id_6c155e01_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "action", + title: _ctx.actionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Actions')), 9, TagListvue_type_template_id_6c155e01_hoisted_7), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TagListvue_type_template_id_6c155e01_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", TagListvue_type_template_id_6c155e01_hoisted_9, [TagListvue_type_template_id_6c155e01_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading || _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TagListvue_type_template_id_6c155e01_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoTagsFound')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createContainerTagNow", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createTag(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTagNow')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && _ctx.tags.length === 0]]), (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.sortedTags, function (tag) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + class: "tags", + key: tag.idtag, + id: "tag".concat(tag.idtag) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TagListvue_type_template_id_6c155e01_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "description", + title: tag.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.truncateText(tag.description, 30)), 9, TagListvue_type_template_id_6c155e01_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "type", + title: tag.typeMetadata.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.typeMetadata.name), 9, TagListvue_type_template_id_6c155e01_hoisted_15), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TagListvue_type_template_id_6c155e01_hoisted_16, [(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"])(tag.fire_trigger_ids, function (fireTriggerId, fireTriggerIndex) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: fireTriggerIndex, + style: { + "margin-right": "3.5px" + } + }, [_ctx.hasWriteAccess ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", { + key: 0, + style: { + "display": "inline-block", + "vertical-align": "top !important" + }, + class: "chip", + href: "", + onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.editTrigger(fireTriggerId); + }, ["prevent"]) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_this.triggers[fireTriggerId]), 9, TagListvue_type_template_id_6c155e01_hoisted_17)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_ctx.hasWriteAccess ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", TagListvue_type_template_id_6c155e01_hoisted_18, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_this.triggers[fireTriggerId]), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(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('TagManager_Except')) + ": ", 1), (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"])(tag.block_trigger_ids, function (blockTriggerId, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index, + style: { + "margin-right": "3.5px" + } + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "chip", + href: "", + onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + return _ctx.editTrigger(blockTriggerId); + }, ["prevent"]) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_this.triggers[blockTriggerId]), 9, TagListvue_type_template_id_6c155e01_hoisted_19), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "chip" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_this.triggers[blockTriggerId]), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.hasWriteAccess]])]); + }), 128))], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], tag.block_trigger_ids.length]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "lastUpdated", + title: _ctx.translate('TagManager_CreatedOnX', tag.created_date_pretty) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.updated_date_pretty), 1)], 8, TagListvue_type_template_id_6c155e01_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", TagListvue_type_template_id_6c155e01_hoisted_21, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-edit", + onClick: function onClick($event) { + return _ctx.editTag(tag.idtag, tag.type); + }, + title: _ctx.translate('TagManager_EditTag') + }, null, 8, TagListvue_type_template_id_6c155e01_hoisted_22), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-delete", + onClick: function onClick($event) { + return _ctx.deleteTag(tag); + }, + title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Tag')) + }, null, 8, TagListvue_type_template_id_6c155e01_hoisted_23)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])], 8, TagListvue_type_template_id_6c155e01_hoisted_12); + }), 128))])], 512), [[_directive_content_table]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagListvue_type_template_id_6c155e01_hoisted_24, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewTag", + value: "", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createTag(); + }) + }, [TagListvue_type_template_id_6c155e01_hoisted_25, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTag')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])]; + }), + _: 1 + }, 8, ["content-title", "help-text"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TagListvue_type_template_id_6c155e01_hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_DeleteTagConfirm')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, TagListvue_type_template_id_6c155e01_hoisted_27), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, TagListvue_type_template_id_6c155e01_hoisted_28)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=6c155e01 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts +function TagListvue_type_script_lang_ts_toConsumableArray(arr) { return TagListvue_type_script_lang_ts_arrayWithoutHoles(arr) || TagListvue_type_script_lang_ts_iterableToArray(arr) || TagListvue_type_script_lang_ts_unsupportedIterableToArray(arr) || TagListvue_type_script_lang_ts_nonIterableSpread(); } + +function TagListvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function TagListvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TagListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return TagListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function TagListvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function TagListvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TagListvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function TagListvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + + +var TagListvue_type_script_lang_ts_window = window, + TagListvue_type_script_lang_ts_tagManagerHelper = TagListvue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var TagListvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + }, + idContainerVersion: { + type: Number, + required: true + }, + tagsHelpText: String + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + hasWriteAccess: external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write') + }; + }, + created: function created() { + var _this = this; + + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return Tags_store.tags.value; + }, function () { + _this.reloadTriggers(); + }); + this.reloadTriggers(); + Tags_store.fetchTags(this.idContainer, this.idContainerVersion); + }, + methods: { + reloadTriggers: function reloadTriggers() { + Triggers_store.reload(this.idContainer, this.idContainerVersion); + }, + createTag: function createTag() { + this.editTag(0); + }, + editTrigger: function editTrigger(idTrigger) { + var _this2 = this; + + TagListvue_type_script_lang_ts_tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTrigger, function () { + _this2.reloadTriggers(); + }); + }, + editTag: function editTag(idTag) { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idTag: idTag + })); + }, + deleteTag: function deleteTag(tag) { + var _this3 = this; + + var doDelete = function doDelete() { + Tags_store.deleteTag(_this3.idContainer, _this3.idContainerVersion, tag.idtag).then(function () { + Tags_store.reload(_this3.idContainer, _this3.idContainerVersion); + }); + }; + + external_CoreHome_["Matomo"].helper.modalConfirm('#confirmDeleteTag', { + yes: doDelete + }); + }, + truncateText: function truncateText(text, length) { + return TagListvue_type_script_lang_ts_tagManagerHelper.truncateText(text, length); + } + }, + computed: { + triggers: function triggers() { + var triggers = {}; + Triggers_store.triggers.value.forEach(function (t) { + triggers["".concat(t.idtrigger)] = t.name; + }); + return triggers; + }, + isLoading: function isLoading() { + return Tags_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Tags_store.isUpdating.value; + }, + tags: function tags() { + return Tags_store.tags.value; + }, + sortedTags: function sortedTags() { + var sorted = TagListvue_type_script_lang_ts_toConsumableArray(this.tags); + + sorted.sort(function (lhs, rhs) { + if (lhs.name < rhs.name) { + return -1; + } + + return lhs.name > rhs.name ? 1 : 0; + }); + return sorted; + }, + nameTranslatedText: function nameTranslatedText() { + return this.translate('TagManager_TagsNameDescription'); + }, + descriptionTranslatedText: function descriptionTranslatedText() { + return this.translate('TagManager_TagsDescriptionDescription'); + }, + typeTranslatedText: function typeTranslatedText() { + return this.translate('TagManager_TagsTypeDescription'); + }, + triggersTranslatedText: function triggersTranslatedText() { + return this.translate('TagManager_TagsTriggersDescription'); + }, + lastUpdatedTranslatedText: function lastUpdatedTranslatedText() { + return this.translate('TagManager_TagsLastUpdatedDescription'); + }, + actionTranslatedText: function actionTranslatedText() { + return this.translate('TagManager_TagsActionDescription'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagList.vue + + + +TagListvue_type_script_lang_ts.render = TagListvue_type_template_id_6c155e01_render + +/* harmony default export */ var TagList = (TagListvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=02e1fe94 + +var TagManagevue_type_template_id_02e1fe94_hoisted_1 = { + class: "manageTag" +}; +var TagManagevue_type_template_id_02e1fe94_hoisted_2 = { + key: 0 +}; +var TagManagevue_type_template_id_02e1fe94_hoisted_3 = { + key: 1 +}; +function TagManagevue_type_template_id_02e1fe94_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_TagList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TagList"); + + var _component_TagEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TagEdit"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagManagevue_type_template_id_02e1fe94_hoisted_1, [!_ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagManagevue_type_template_id_02e1fe94_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagList, { + "id-container": _ctx.idContainer, + "id-container-version": _ctx.idContainerVersion, + "tags-help-text": _ctx.tagsHelpText + }, null, 8, ["id-container", "id-container-version", "tags-help-text"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TagManagevue_type_template_id_02e1fe94_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagEdit, { + "id-container": _ctx.idContainer, + "id-container-version": _ctx.idContainerVersion, + "id-tag": _ctx.idTag + }, null, 8, ["id-container", "id-container-version", "id-tag"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=02e1fe94 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts + + + + +/* harmony default export */ var TagManagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainerVersion: Number, + idContainer: String, + tagsHelpText: String + }, + components: { + TagList: TagList, + TagEdit: TagEdit + }, + data: function data() { + return { + isAddAllowed: false + }; + }, + created: function created() { + var _this = this; + + // doing this in a watch because we don't want to post an event in a computed property + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return external_CoreHome_["MatomoUrl"].hashParsed.value.idTag; + }, function (idTag) { + _this.onIdTagParamChange(idTag); + }); + external_CoreHome_["NotificationsStore"].remove('tagtagmanagement'); + this.onIdTagParamChange(external_CoreHome_["MatomoUrl"].hashParsed.value.idTag); + }, + methods: { + onIdTagParamChange: function onIdTagParamChange(idTag) { + // for BC w/ angularjs only invoke event if idTag is 0 + if (idTag === '0') { + var parameters = { + isAllowed: true + }; + external_CoreHome_["Matomo"].postEvent('TagManager.initAddTag', parameters); + this.isAddAllowed = !!parameters.isAllowed; + } + } + }, + computed: { + idTag: function idTag() { + var idTag = external_CoreHome_["MatomoUrl"].hashParsed.value.idTag; + + if (!this.isAddAllowed && idTag === '0') { + return null; + } + + return idTag ? parseInt(idTag, 10) : idTag; + }, + editMode: function editMode() { + return typeof this.idTag === 'number'; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Tag/TagManage.vue + + + +TagManagevue_type_script_lang_ts.render = TagManagevue_type_template_id_02e1fe94_render + +/* harmony default export */ var TagManage = (TagManagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=6d83829a + +var VersionEditvue_type_template_id_6d83829a_hoisted_1 = { + class: "editVersion tagManagerManageEdit" +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_2 = { + class: "loadingPiwik" +}; + +var VersionEditvue_type_template_id_6d83829a_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VersionEditvue_type_template_id_6d83829a_hoisted_4 = { + class: "loadingPiwik" +}; + +var VersionEditvue_type_template_id_6d83829a_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VersionEditvue_type_template_id_6d83829a_hoisted_6 = { + key: 0 +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_7 = { + key: 2, + class: "versionChanges" +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_8 = { + key: 0 +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_9 = { + colspan: "4" +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_10 = { + key: 1 +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_11 = { + colspan: "4" +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_12 = { + class: "lastUpdated" +}; +var VersionEditvue_type_template_id_6d83829a_hoisted_13 = { + class: "entityCancel" +}; +function VersionEditvue_type_template_id_6d83829a_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionEditvue_type_template_id_6d83829a_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.editTitle + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$version$environm; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VersionEditvue_type_template_id_6d83829a_hoisted_2, [VersionEditvue_type_template_id_6d83829a_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VersionEditvue_type_template_id_6d83829a_hoisted_4, [VersionEditvue_type_template_id_6d83829a_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UpdatingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("form", { + onSubmit: _cache[6] || (_cache[6] = function ($event) { + return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion(); + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "name", + "inline-help": _ctx.versionNameHelpText, + "inline-help-bind": { + lastVersion: _ctx.lastVersion + }, + "model-value": _ctx.version.name, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.version.name = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 30, + title: _ctx.translate('TagManager_VersionName') + }, null, 8, ["inline-help", "inline-help-bind", "model-value", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + name: "description", + "model-value": _ctx.version.description, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.version.description = $event; + + _ctx.setValueHasChanged(); + }), + title: _ctx.translate('TagManager_VersionDescription'), + "inline-help": _ctx.translate('TagManager_VersionDescriptionHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "createButton no-publish", + onConfirm: _cache[2] || (_cache[2] = function ($event) { + return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateVersionWithoutPublishing') + }, null, 8, ["disabled", "saving", "value"]), _ctx.create && _ctx.environments.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionEditvue_type_template_id_6d83829a_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "environment", + "inline-help": _ctx.selectTagManagerEnvironmentHelp, + "inline-help-bind": { + canPublishToLive: _ctx.canPublishToLive + }, + "model-value": (_ctx$version$environm = _ctx.version.environments) === null || _ctx$version$environm === void 0 ? void 0 : _ctx$version$environm[0], + "onUpdate:modelValue": _cache[3] || (_cache[3] = function ($event) { + _ctx.version.environments[0] = $event; + + _ctx.setValueHasChanged(); + }), + options: _ctx.environments, + introduction: _ctx.translate('TagManager_OrCreateAndPublishVersion'), + title: _ctx.translate('TagManager_Environment') + }, null, 8, ["inline-help", "inline-help-bind", "model-value", "options", "introduction", "title"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.create && _ctx.environments.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_SaveButton, { + key: 1, + class: "publishButton", + onConfirm: _cache[4] || (_cache[4] = function ($event) { + return _ctx.createVersionAndPublish(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.translate('TagManager_CreateVersionAndPublishRelease') + }, null, 8, ["disabled", "saving", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.lastVersion ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionEditvue_type_template_id_6d83829a_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ChangesSinceLastVersion')) + ":", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('SitesManager_Type')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Change')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LastUpdated')), 1)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [_ctx.isLoadingVersionChanges ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", VersionEditvue_type_template_id_6d83829a_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionEditvue_type_template_id_6d83829a_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + "loading-message": _ctx.translate('TagManager_DetectingChanges'), + loading: true + }, null, 8, ["loading-message"])])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_ctx.versionChanges.length && !_ctx.isLoadingVersionChanges ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", VersionEditvue_type_template_id_6d83829a_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionEditvue_type_template_id_6d83829a_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('UserCountryMap_None')), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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.versionChanges, function (versionChange, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate(versionChange.entityType)), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(versionChange.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate(versionChange.type)), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionEditvue_type_template_id_6d83829a_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(versionChange.lastChanged), 1)])]); + }), 128))])], 512), [[_directive_content_table]])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VersionEditvue_type_template_id_6d83829a_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[5] || (_cache[5] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isEmbedded]])])], 32)]; + }), + _: 1 + }, 8, ["content-title"])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=6d83829a + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/AvailableEnvironments.store.ts +function AvailableEnvironments_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function AvailableEnvironments_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function AvailableEnvironments_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) AvailableEnvironments_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) AvailableEnvironments_store_defineProperties(Constructor, staticProps); return Constructor; } + +function AvailableEnvironments_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var AvailableEnvironments_store_AvailableEnvironmentStore = /*#__PURE__*/function () { + function AvailableEnvironmentStore() { + var _this = this; + + AvailableEnvironments_store_classCallCheck(this, AvailableEnvironmentStore); + + AvailableEnvironments_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + environmentsWithPublish: [], + isLoading: false + })); + + AvailableEnvironments_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + AvailableEnvironments_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isLoading; + })); + + AvailableEnvironments_store_defineProperty(this, "environmentsWithPublish", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.environmentsWithPublish; + })); + + AvailableEnvironments_store_defineProperty(this, "environmentsWithPublishOptions", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.environmentsWithPublish.value.map( // eslint-disable-next-line + function (_ref) { + var id = _ref.id, + name = _ref.name, + disabled = _ref.disabled; + return { + key: id, + value: name, + disabled: false + }; + }); + })); + + AvailableEnvironments_store_defineProperty(this, "initializePromise", null); + } + + AvailableEnvironments_store_createClass(AvailableEnvironmentStore, [{ + key: "init", + value: function init() { + if (!this.initializePromise) { + this.initializePromise = this.fetchEnvironments(); + } + + return this.initializePromise; + } + }, { + key: "fetchEnvironments", + value: function fetchEnvironments() { + var _this2 = this; + + this.privateState.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableEnvironmentsWithPublishCapability', + filter_limit: '-1' + }).then(function (environmentsWithPublish) { + var entities; + + if (Array.isArray(environmentsWithPublish)) { + entities = environmentsWithPublish; + } else { + entities = Object.values(environmentsWithPublish); + } + + _this2.privateState.environmentsWithPublish = entities; + }).finally(function () { + _this2.privateState.isLoading = false; + }); + } + }]); + + return AvailableEnvironmentStore; +}(); + +/* harmony default export */ var AvailableEnvironments_store = (new AvailableEnvironments_store_AvailableEnvironmentStore()); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/diffDraftVersion.ts +function diffDraftVersion_toConsumableArray(arr) { return diffDraftVersion_arrayWithoutHoles(arr) || diffDraftVersion_iterableToArray(arr) || diffDraftVersion_unsupportedIterableToArray(arr) || diffDraftVersion_nonIterableSpread(); } + +function diffDraftVersion_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function diffDraftVersion_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function diffDraftVersion_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return diffDraftVersion_arrayLikeToArray(arr); } + +function diffDraftVersion_slicedToArray(arr, i) { return diffDraftVersion_arrayWithHoles(arr) || diffDraftVersion_iterableToArrayLimit(arr, i) || diffDraftVersion_unsupportedIterableToArray(arr, i) || diffDraftVersion_nonIterableRest(); } + +function diffDraftVersion_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function diffDraftVersion_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return diffDraftVersion_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return diffDraftVersion_arrayLikeToArray(o, minLen); } + +function diffDraftVersion_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function diffDraftVersion_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function diffDraftVersion_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +/** + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +function diffDraftVersion(idContainer, idContainerVersionNew, idContainerVersionPrevious) { + function findEntryInArray(array, name) { + return array.find(function (v) { + return v.name === name; + }); + } + + function getDifference(entityType, array1, array2, keysToCheck) { + var diff = []; + array1.forEach(function (array1Item) { + var matchingEntry = findEntryInArray(array2, array1Item.name); + + if (matchingEntry) { + keysToCheck.some(function (key) { + if (JSON.stringify(array1Item[key]) !== JSON.stringify(matchingEntry[key])) { + // matching, check if different + diff.push({ + entityType: entityType, + type: 'TagManager_DiffModified', + name: array1Item.name, + lastChanged: array1Item.updated_date_pretty + }); + return true; + } + + return false; + }); + return; + } + + diff.push({ + entityType: entityType, + type: 'TagManager_DiffAdded', + name: array1Item.name, + lastChanged: array1Item.updated_date_pretty + }); + }); + array2.forEach(function (array2Item) { + if (!findEntryInArray(array1, array2Item.name)) { + diff.push({ + entityType: entityType, + type: 'TagManager_DiffDeleted', + name: array2Item.name, + lastChanged: array2Item.updated_date_pretty + }); + } + }); + return diff; + } + + function mixinTagTriggers(tags, triggers) { + tags.forEach(function (tag) { + tag.fire_triggers = []; + tag.block_triggers = []; + tag.fire_trigger_ids.forEach(function (idtrigger) { + var trigger = triggers.find(function (t) { + return t.idtrigger === idtrigger; + }); + + if (trigger) { + tag.fire_triggers.push(trigger.name); + } + }); + tag.block_trigger_ids.forEach(function (idtrigger) { + var trigger = triggers.find(function (t) { + return t.idtrigger === idtrigger; + }); + + if (trigger) { + tag.block_triggers.push(trigger.name); + } + }); + }); + } + + var draftVersion = { + module: 'API', + method: 'TagManager.exportContainerVersion', + format: 'json', + idContainer: idContainer, + filter_limit: -1 + }; + + if (idContainerVersionNew) { + draftVersion.idContainerVersion = idContainerVersionNew; + } + + var lastVersion = { + module: 'API', + method: 'TagManager.exportContainerVersion', + format: 'json', + idContainer: idContainer, + idContainerVersion: idContainerVersionPrevious, + filter_limit: -1 + }; + return external_CoreHome_["AjaxHelper"].fetch([draftVersion, lastVersion]).then(function (_ref) { + var _ref2 = diffDraftVersion_slicedToArray(_ref, 2), + draft = _ref2[0], + last = _ref2[1]; + + mixinTagTriggers(draft.tags, draft.triggers); + mixinTagTriggers(last.tags, last.triggers); + var diff1 = getDifference('TagManager_Tag', draft.tags, last.tags, ['name', 'type', 'fire_limit', 'priority', 'fire_delay', 'fire_triggers', 'block_triggers', 'parameters']); + var diff2 = getDifference('TagManager_Trigger', draft.triggers, last.triggers, ['name', 'type', 'conditions', 'parameters']); + var diff3 = getDifference('TagManager_Variable', draft.variables, last.variables, ['name', 'type', 'lookup_table', 'default_value', 'parameters']); + return [].concat(diffDraftVersion_toConsumableArray(diff1), diffDraftVersion_toConsumableArray(diff2), diffDraftVersion_toConsumableArray(diff3)); + }); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/Versions.store.ts +function Versions_store_toConsumableArray(arr) { return Versions_store_arrayWithoutHoles(arr) || Versions_store_iterableToArray(arr) || Versions_store_unsupportedIterableToArray(arr) || Versions_store_nonIterableSpread(); } + +function Versions_store_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Versions_store_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Versions_store_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Versions_store_arrayLikeToArray(o, minLen); } + +function Versions_store_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Versions_store_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Versions_store_arrayLikeToArray(arr); } + +function Versions_store_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function Versions_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function Versions_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function Versions_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) Versions_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) Versions_store_defineProperties(Constructor, staticProps); return Constructor; } + +function Versions_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var Versions_store_VersionsStore = /*#__PURE__*/function () { + function VersionsStore() { + var _this = this; + + Versions_store_classCallCheck(this, VersionsStore); + + Versions_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + versions: [], + isLoadingVersions: false, + isLoadingSingle: false, + isUpdating: false + })); + + Versions_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + Versions_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + var state = _this.state.value; + return state.isLoadingVersions || state.isLoadingSingle; + })); + + Versions_store_defineProperty(this, "isUpdating", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isUpdating; + })); + + Versions_store_defineProperty(this, "versions", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.versions; + })); + + Versions_store_defineProperty(this, "fetchPromise", null); + } + + Versions_store_createClass(VersionsStore, [{ + key: "reload", + value: function reload(idContainer) { + this.privateState.versions = []; + this.fetchPromise = null; + return this.fetchVersions(idContainer); + } + }, { + key: "fetchVersions", + value: function fetchVersions(idContainer) { + var _this2 = this; + + this.privateState.isLoadingVersions = true; + this.privateState.versions = []; + + if (!this.fetchPromise) { + this.fetchPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerVersions', + idContainer: idContainer, + filter_limit: '-1' + }); + } + + return Promise.resolve(this.fetchPromise).then(function (versions) { + _this2.privateState.versions = versions; + _this2.privateState.isLoadingVersions = false; + return _this2.versions.value; + }).finally(function () { + _this2.privateState.isLoadingVersions = false; + }); + } + }, { + key: "findVersion", + value: function findVersion(idContainer, idContainerVersion) { + var _this3 = this; + + // before going through an API request we first try to find it in loaded versions + var found = this.versions.value.find(function (v) { + return v.idcontainerversion === idContainerVersion; + }); + + if (found) { + return Promise.resolve(found); + } // otherwise we fetch it via API + + + this.privateState.isLoadingSingle = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idContainerVersion: idContainerVersion, + idContainer: idContainer, + method: 'TagManager.getContainerVersion', + filter_limit: '-1' + }).then(function (record) { + _this3.privateState.versions = [].concat(Versions_store_toConsumableArray(_this3.privateState.versions), [record]); + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(record); + }).finally(function () { + _this3.privateState.isLoadingSingle = false; + }); + } + }, { + key: "deleteVersion", + value: function deleteVersion(idContainer, idContainerVersion) { + var _this4 = this; + + this.privateState.isUpdating = true; + this.privateState.versions = []; + return external_CoreHome_["AjaxHelper"].fetch({ + idContainerVersion: idContainerVersion, + idContainer: idContainer, + method: 'TagManager.deleteContainerVersion' + }, { + withTokenInUrl: true + }).finally(function () { + _this4.privateState.isUpdating = false; + }); + } + }, { + key: "publishVersion", + value: function publishVersion(idContainer, idContainerVersion, environment) { + var _this5 = this; + + this.privateState.isUpdating = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idContainer: idContainer, + idContainerVersion: idContainerVersion, + environment: environment, + method: 'TagManager.publishContainerVersion' + }).finally(function () { + _this5.privateState.isUpdating = false; + }); + } + }, { + key: "createOrUpdateVersion", + value: function createOrUpdateVersion(version, method, idContainer) { + var _this6 = this; + + this.privateState.isUpdating = true; + return external_CoreHome_["AjaxHelper"].post({ + method: method, + idContainer: idContainer, + idContainerVersion: version.idcontainerversion + }, { + name: version.name, + description: version.description + }, { + withTokenInUrl: true + }).finally(function () { + _this6.privateState.isUpdating = false; + }); + } + }]); + + return VersionsStore; +}(); + +/* harmony default export */ var Versions_store = (new Versions_store_VersionsStore()); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=acc4c29a + +var VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_1 = { + id: "versionNameHelpText", + class: "inline-help-node" +}; + +var VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_4 = ["innerHTML"]; +function VersionNameHelpTextvue_type_template_id_acc4c29a_render(_ctx, _cache, $props, $setup, $data, $options) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionNameHelp')) + " ", 1), VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_2, VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_NameOfLatestVersion', "".concat(_ctx.lastVersion, ""))) + }, null, 8, VersionNameHelpTextvue_type_template_id_acc4c29a_hoisted_4), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.lastVersion]])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=acc4c29a + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts + +/* harmony default export */ var VersionNameHelpTextvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + lastVersion: String + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue + + + +VersionNameHelpTextvue_type_script_lang_ts.render = VersionNameHelpTextvue_type_template_id_acc4c29a_render + +/* harmony default export */ var VersionNameHelpText = (VersionNameHelpTextvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=40d41b93 + +var SelectTagManagerEnvironmentHelpTextvue_type_template_id_40d41b93_hoisted_1 = { + id: "selectTagManagerEnvironmentHelp", + class: "inline-help-node" +}; +function SelectTagManagerEnvironmentHelpTextvue_type_template_id_40d41b93_render(_ctx, _cache, $props, $setup, $data, $options) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", SelectTagManagerEnvironmentHelpTextvue_type_template_id_40d41b93_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionEnvironmentHelp')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + class: "alert alert-info", + style: { + "margin-bottom": "0", + "padding-bottom": "0" + } + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.canPublishToLive]])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=40d41b93 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts + +/* harmony default export */ var SelectTagManagerEnvironmentHelpTextvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + canPublishToLive: Boolean + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue + + + +SelectTagManagerEnvironmentHelpTextvue_type_script_lang_ts.render = SelectTagManagerEnvironmentHelpTextvue_type_template_id_40d41b93_render + +/* harmony default export */ var SelectTagManagerEnvironmentHelpText = (SelectTagManagerEnvironmentHelpTextvue_type_script_lang_ts); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts +function VersionEditvue_type_script_lang_ts_toConsumableArray(arr) { return VersionEditvue_type_script_lang_ts_arrayWithoutHoles(arr) || VersionEditvue_type_script_lang_ts_iterableToArray(arr) || VersionEditvue_type_script_lang_ts_unsupportedIterableToArray(arr) || VersionEditvue_type_script_lang_ts_nonIterableSpread(); } + +function VersionEditvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function VersionEditvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return VersionEditvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return VersionEditvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function VersionEditvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function VersionEditvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return VersionEditvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function VersionEditvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + + + + + + + + +var VersionEditvue_type_script_lang_ts_notificationId = 'versiontagmanagement'; +/* harmony default export */ var VersionEditvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainerVersion: { + type: Number, + required: true + }, + idContainer: { + type: String, + required: true + }, + isEmbedded: { + type: Boolean, + default: false + } + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + SaveButton: external_CorePluginsAdmin_["SaveButton"], + ActivityIndicator: external_CoreHome_["ActivityIndicator"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + isDirty: false, + lastVersion: null, + versionChanges: [], + isLoadingVersionChanges: false, + isUpdatingVersion: false, + version: {} + }; + }, + emits: ['changeVersion'], + created: function created() { + AvailableComparisons_store.init(); + AvailableEnvironments_store.init(); + this.initIdContainerVersion(); + }, + watch: { + idContainerVersion: function idContainerVersion(newValue) { + if (newValue === null) { + return; + } + + this.initIdContainerVersion(); + } + }, + methods: { + removeAnyVersionNotification: function removeAnyVersionNotification() { + external_CoreHome_["NotificationsStore"].remove(VersionEditvue_type_script_lang_ts_notificationId); + external_CoreHome_["NotificationsStore"].remove('ajaxHelper'); + }, + showNotification: function showNotification(message, context) { + var notificationInstanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + id: VersionEditvue_type_script_lang_ts_notificationId, + type: 'transient' + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(notificationInstanceId); + }, 200); + }, + showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) { + var message = Object(external_CoreHome_["translate"])('TagManager_ErrorXNotProvided', [title]); + this.showNotification(message, 'error'); + }, + initIdContainerVersion: function initIdContainerVersion() { + var _this = this; + + this.version = {}; + this.lastVersion = null; + this.versionChanges = []; + this.isLoadingVersionChanges = true; + Versions_store.fetchVersions(this.idContainer).then(function () { + var _versions$; + + _this.isLoadingVersionChanges = false; + _this.lastVersion = null; + + var versions = VersionEditvue_type_script_lang_ts_toConsumableArray(Versions_store.versions.value); + + if (!(versions !== null && versions !== void 0 && versions.length)) { + return; + } + + versions.sort(function (a, b) { + return a.revision < b.revision ? 1 : 0; + }); + var lastContainerVersion = null; + + if (_this.create && (_versions$ = versions[0]) !== null && _versions$ !== void 0 && _versions$.name) { + _this.lastVersion = versions[0].name; + lastContainerVersion = versions[0].idcontainerversion; + } else if (_this.edit) { + versions.forEach(function (v, i) { + // we stop before the last one because it cannot have an entry + if (i >= versions.length - 1) { + return; + } + + if (v.idcontainerversion === _this.idContainerVersion && versions[i + 1]) { + _this.lastVersion = versions[i + 1].name; + lastContainerVersion = versions[i + 1].idcontainerversion; + } + }); + } + + if (_this.lastVersion) { + _this.isLoadingVersionChanges = true; + diffDraftVersion(_this.idContainer, _this.idContainerVersion, lastContainerVersion).then(function (diff) { + _this.versionChanges = diff; + _this.isLoadingVersionChanges = false; + }); + + if (_this.create && !_this.version.name && /^\d+$/.test(_this.lastVersion)) { + _this.version.name = "".concat(parseInt(_this.lastVersion, 10) + 1); + _this.isDirty = true; + } + } + }); + external_CoreHome_["Matomo"].helper.lazyScrollToContent(); + + if (this.edit && this.idContainerVersion) { + Versions_store.findVersion(this.idContainer, this.idContainerVersion).then(function (version) { + if (!version) { + return; + } + + _this.version = Object(external_CoreHome_["clone"])(version); + _this.isDirty = false; + }); + return; + } + + if (this.create) { + this.version = { + idSite: external_CoreHome_["Matomo"].idSite, + idcontainer: this.idContainer, + name: '', + description: '' + }; + + if (this.canPublishToLive) { + this.version.environments = ['live']; + } else { + // If the user can't publish to live, select the next available option. + var notLive = this.environments.find(function (obj) { + return obj.key !== 'live'; + }); + this.version.environments = notLive ? [notLive.key] : []; + } + + this.isDirty = false; + } + }, + cancel: function cancel() { + var newParams = Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value); + delete newParams.idContainerVersion; + external_CoreHome_["MatomoUrl"].updateHash(newParams); + }, + createVersion: function createVersion() { + var _this2 = this; + + this.removeAnyVersionNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVersion = true; + Versions_store.createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) { + if (!response) { + return; + } + + _this2.isDirty = false; + var idContainerVersion = response.value; + + if (_this2.isEmbedded) { + _this2.version.idcontainerversion = idContainerVersion; + + _this2.$emit('changeVersion', { + version: _this2.version + }); + + return; + } + + Versions_store.reload(_this2.idContainer).then(function () { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idContainerVersion: idContainerVersion + })); + setTimeout(function () { + var createdX = Object(external_CoreHome_["translate"])('TagManager_CreatedX', Object(external_CoreHome_["translate"])('TagManager_Version')); + var wantToRedeploy = Object(external_CoreHome_["translate"])('TagManager_WantToDeployThisChangeCreateVersion', '', ''); + + _this2.showNotification("".concat(createdX, " ").concat(wantToRedeploy), 'success'); + }, 200); + }); + }).finally(function () { + _this2.isUpdatingVersion = false; + }); + }, + createVersionAndPublish: function createVersionAndPublish() { + var _this3 = this; + + this.removeAnyVersionNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVersion = true; + Versions_store.createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) { + if (!response) { + return null; + } + + var idContainerVersion = response.value; + _this3.version.idcontainerversion = idContainerVersion; + return Versions_store.publishVersion(_this3.idContainer, idContainerVersion, _this3.version.environments[0]).then(function () { + _this3.isDirty = false; + + if (_this3.isEmbedded) { + _this3.$emit('changeVersion', { + version: _this3.version + }); + + return; + } + + Versions_store.reload(_this3.idContainer).then(function () { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idContainerVersion: idContainerVersion + })); + setTimeout(function () { + _this3.showNotification(Object(external_CoreHome_["translate"])('TagManager_VersionPublishSuccess'), 'success'); + }, 200); + }); + }); + }).finally(function () { + _this3.isUpdatingVersion = false; + }); + }, + setValueHasChanged: function setValueHasChanged() { + this.isDirty = true; + }, + updateVersion: function updateVersion() { + var _this4 = this; + + this.removeAnyVersionNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVersion = true; + Versions_store.createOrUpdateVersion(this.version, 'TagManager.updateContainerVersion', this.idContainer).then(function (response) { + if (!response) { + return; + } + + if (_this4.isEmbedded) { + _this4.$emit('changeVersion', { + version: _this4.version + }); + + return; + } + + _this4.isDirty = false; + _this4.version = {}; + Versions_store.reload(_this4.idContainer).then(function () { + _this4.initIdContainerVersion(); + }); + + _this4.showNotification(Object(external_CoreHome_["translate"])('TagManager_UpdatedX', Object(external_CoreHome_["translate"])('TagManager_Version')), 'success'); + }).finally(function () { + _this4.isUpdatingVersion = false; + }); + }, + checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() { + if (!this.version.name) { + var title = Object(external_CoreHome_["translate"])('General_Name'); + this.showErrorFieldNotProvidedNotification(title); + return false; + } + + return true; + } + }, + computed: { + create: function create() { + return this.idContainerVersion === 0; + }, + edit: function edit() { + return !this.create; + }, + isLoading: function isLoading() { + return Variables_store.isLoading.value || AvailableComparisons_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Variables_store.isUpdating.value || this.isUpdatingVersion; + }, + environments: function environments() { + var environments = AvailableEnvironments_store.environmentsWithPublishOptions.value; + + if (!this.canPublishToLive) { + // If the user can't publish to live, disable that option. + var liveIndex = environments.findIndex(function (obj) { + return obj.key === 'live'; + }); + + if (liveIndex > -1) { + environments[liveIndex].disabled = true; + } + } + + return environments; + }, + canPublishToLive: function canPublishToLive() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_publish_live_container'); + }, + versionNameHelpText: function versionNameHelpText() { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["markRaw"])(VersionNameHelpText); + }, + selectTagManagerEnvironmentHelp: function selectTagManagerEnvironmentHelp() { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["markRaw"])(SelectTagManagerEnvironmentHelpText); + }, + editTitle: function editTitle() { + return this.create ? Object(external_CoreHome_["translate"])('TagManager_CreateNewVersion') : Object(external_CoreHome_["translate"])('TagManager_EditVersion'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionEdit.vue + + + +VersionEditvue_type_script_lang_ts.render = VersionEditvue_type_template_id_6d83829a_render + +/* harmony default export */ var VersionEdit = (VersionEditvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=096de8c2 + +var VersionListvue_type_template_id_096de8c2_hoisted_1 = { + class: "tagManagerManageList tagManagerVersionList" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_2 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_3 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_4 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_5 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_6 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_7 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_8 = { + colspan: "7" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_9 = { + class: "loadingPiwik" +}; + +var VersionListvue_type_template_id_096de8c2_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var VersionListvue_type_template_id_096de8c2_hoisted_11 = { + colspan: "7" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_12 = ["id"]; +var VersionListvue_type_template_id_096de8c2_hoisted_13 = { + class: "index" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_14 = { + class: "name" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_15 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_16 = { + class: "environments" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_17 = ["title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_18 = { + class: "created" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_19 = { + class: "action" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_20 = ["onClick", "title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_21 = ["onClick", "title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_22 = ["onClick", "href", "title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_23 = ["onClick", "title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_24 = ["onClick", "title"]; +var VersionListvue_type_template_id_096de8c2_hoisted_25 = { + class: "tableActionBar" +}; + +var VersionListvue_type_template_id_096de8c2_hoisted_26 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var VersionListvue_type_template_id_096de8c2_hoisted_27 = ["href"]; + +var VersionListvue_type_template_id_096de8c2_hoisted_28 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-export" +}, " ", -1); + +var VersionListvue_type_template_id_096de8c2_hoisted_29 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-upload" +}, " ", -1); + +var VersionListvue_type_template_id_096de8c2_hoisted_30 = { + class: "ui-confirm", + id: "confirmDeleteVersion", + ref: "confirmDeleteVersion" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_31 = ["value"]; +var VersionListvue_type_template_id_096de8c2_hoisted_32 = ["value"]; +var VersionListvue_type_template_id_096de8c2_hoisted_33 = { + class: "ui-confirm", + id: "confirmPublishVersion", + ref: "confirmPublishVersion" +}; +var VersionListvue_type_template_id_096de8c2_hoisted_34 = { + key: 0, + class: "alert alert-info", + style: { + "margin-top": "16px" + } +}; +var VersionListvue_type_template_id_096de8c2_hoisted_35 = ["value"]; +var VersionListvue_type_template_id_096de8c2_hoisted_36 = ["value"]; +function VersionListvue_type_template_id_096de8c2_render(_ctx, _cache, $props, $setup, $data, $options) { + var _ctx$versionToBePubli; + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionListvue_type_template_id_096de8c2_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Versions')), + "help-text": _ctx.versionsHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionUsageBenefits')) + " " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "index", + title: _ctx.revisionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Revision')), 9, VersionListvue_type_template_id_096de8c2_hoisted_2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "name", + title: _ctx.nameTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 9, VersionListvue_type_template_id_096de8c2_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "description", + title: _ctx.descriptionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')), 9, VersionListvue_type_template_id_096de8c2_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "environments", + title: _ctx.environmentTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Environments')), 9, VersionListvue_type_template_id_096de8c2_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "created", + title: _ctx.createdTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Created')), 9, VersionListvue_type_template_id_096de8c2_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", { + class: "action", + title: _ctx.actionTranslatedText + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Actions')), 9, VersionListvue_type_template_id_096de8c2_hoisted_7)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", VersionListvue_type_template_id_096de8c2_hoisted_9, [VersionListvue_type_template_id_096de8c2_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading || _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoVersionsFound')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createContainerVersionNow", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createVersion(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVersionNow')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && _ctx.versions.length === 0]]), (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.sortedVersions, function (version) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + id: "version".concat(version.idcontainerversion), + class: "versions", + key: version.revision + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(version.revision), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_14, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(version.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "description", + title: version.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.truncateText(version.description, 30)), 9, VersionListvue_type_template_id_096de8c2_hoisted_15), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_16, [(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"])(version.releases, function (release, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index, + title: _ctx.translate('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.ucfirst(release.environment)), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, ", ", 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], index !== version.releases.length - 1]])], 8, VersionListvue_type_template_id_096de8c2_hoisted_17); + }), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_18, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(version.created_date_pretty), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", VersionListvue_type_template_id_096de8c2_hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-rocket", + onClick: function onClick($event) { + return _ctx.publishVersion(version); + }, + title: _ctx.translate('TagManager_PublishVersion', version.name) + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_20), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-bug", + onClick: function onClick($event) { + return _ctx.enableDebugMode(version.idcontainerversion); + }, + title: _ctx.translate('TagManager_EnablePreviewDebug') + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_21), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + target: "_blank", + class: "table-action icon-export", + onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) { + _ctx.exportVersion(version.idcontainerversion, version.name); + }, ["prevent"]), + href: _ctx.getExportUrl(version), + title: _ctx.translate('TagManager_ExportX', _ctx.translate('TagManager_Version')) + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_22), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-edit", + onClick: function onClick($event) { + return _ctx.editVersion(version.idcontainerversion); + }, + title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Version')) + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_23), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-delete", + onClick: function onClick($event) { + return _ctx.deleteVersion(version); + }, + title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Version')) + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_24), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], version.releases.length === 0 && _ctx.hasWriteAccess]])])], 8, VersionListvue_type_template_id_096de8c2_hoisted_12); + }), 128))])], 512), [[_directive_content_table]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VersionListvue_type_template_id_096de8c2_hoisted_25, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewVersion", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createVersion(); + }) + }, [VersionListvue_type_template_id_096de8c2_hoisted_26, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVersion')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "exportDraft", + target: "_blank", + onClick: _cache[2] || (_cache[2] = function ($event) { + _ctx.exportVersion(null, 'draft'); + + $event.preventDefault(); + }), + href: _ctx.getExportDraftUrl() + }, [VersionListvue_type_template_id_096de8c2_hoisted_28, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ExportDraft')), 1)], 8, VersionListvue_type_template_id_096de8c2_hoisted_27), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "importVersion", + onClick: _cache[3] || (_cache[3] = function ($event) { + return _ctx.importVersion(); + }) + }, [VersionListvue_type_template_id_096de8c2_hoisted_29, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Import')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])]; + }), + _: 1 + }, 8, ["content-title", "help-text"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VersionListvue_type_template_id_096de8c2_hoisted_30, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_DeleteVersionConfirm')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_31), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_32)], 512), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VersionListvue_type_template_id_096de8c2_hoisted_33, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PublishVersion', (_ctx$versionToBePubli = _ctx.versionToBePublished) === null || _ctx$versionToBePubli === void 0 ? void 0 : _ctx$versionToBePubli.name)), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "environment", + modelValue: _ctx.availableEnvironmentsToPublish.deployEnvironment, + "onUpdate:modelValue": _cache[4] || (_cache[4] = function ($event) { + return _ctx.availableEnvironmentsToPublish.deployEnvironment = $event; + }), + options: _ctx.availableEnvironmentsToPublish.environnments, + "full-width": true, + title: _ctx.translate('TagManager_Environment') + }, null, 8, ["modelValue", "options", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { + style: { + "margin-bottom": "0" + }, + class: "alert alert-info" + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.canPublishToLive]])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.availableEnvironmentsToPublish.environnments.length]]), !_ctx.availableEnvironmentsToPublish.environnments.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionListvue_type_template_id_096de8c2_hoisted_34, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionAlreadyPublishedToAllEnvironments')), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('TagManager_PublishRelease') + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_35), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_Cancel') + }, null, 8, VersionListvue_type_template_id_096de8c2_hoisted_36)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=096de8c2 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts +function VersionListvue_type_script_lang_ts_toConsumableArray(arr) { return VersionListvue_type_script_lang_ts_arrayWithoutHoles(arr) || VersionListvue_type_script_lang_ts_iterableToArray(arr) || VersionListvue_type_script_lang_ts_unsupportedIterableToArray(arr) || VersionListvue_type_script_lang_ts_nonIterableSpread(); } + +function VersionListvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function VersionListvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return VersionListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return VersionListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function VersionListvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function VersionListvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return VersionListvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function VersionListvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + + + +var VersionListvue_type_script_lang_ts_window = window, + VersionListvue_type_script_lang_ts_tagManagerHelper = VersionListvue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var VersionListvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + }, + versionsHelpText: String + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + versionToBePublished: null + }; + }, + created: function created() { + AvailableEnvironments_store.init(); + Versions_store.fetchVersions(this.idContainer); + }, + methods: { + createVersion: function createVersion() { + this.editVersion(0); + }, + truncateText: function truncateText(text, length) { + return VersionListvue_type_script_lang_ts_tagManagerHelper.truncateText(text, length); + }, + publishVersion: function publishVersion(version) { + var _this = this; + + this.versionToBePublished = version; + external_CoreHome_["Matomo"].helper.modalConfirm(this.$refs.confirmPublishVersion, { + yes: function yes() { + var deployEnvironment = _this.availableEnvironmentsToPublish.deployEnvironment; + + if (deployEnvironment) { + Versions_store.publishVersion(version.idcontainer, version.idcontainerversion, deployEnvironment).then(function () { + Versions_store.reload(_this.idContainer); + }); + } + } + }); + }, + enableDebugMode: function enableDebugMode(idContainerVersion) { + VersionListvue_type_script_lang_ts_tagManagerHelper.enablePreviewMode(this.idContainer, idContainerVersion); + }, + exportVersion: function exportVersion(idContainerVersion, versionName) { + var params = { + module: 'API', + method: 'TagManager.exportContainerVersion', + format: 'json', + idContainer: this.idContainer, + filter_limit: -1 + }; + + if (idContainerVersion) { + params.idContainerVersion = idContainerVersion; + } + + var filename = "container_".concat(this.idContainer); + + if (versionName) { + filename += "_".concat(versionName); + } + + external_CoreHome_["AjaxHelper"].fetch(params).then(function (exportedContainer) { + external_CoreHome_["Matomo"].helper.sendContentAsDownload("".concat(filename, ".json"), JSON.stringify(exportedContainer)); + }); + }, + editVersion: function editVersion(idContainerVersion) { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idContainerVersion: idContainerVersion + })); + }, + importVersion: function importVersion() { + VersionListvue_type_script_lang_ts_tagManagerHelper.importVersion(this.idContainer); + }, + deleteVersion: function deleteVersion(version) { + var _this2 = this; + + var doDelete = function doDelete() { + Versions_store.deleteVersion(_this2.idContainer, version.idcontainerversion).then(function () { + Versions_store.reload(_this2.idContainer); + }); + }; + + external_CoreHome_["Matomo"].helper.modalConfirm(this.$refs.confirmDeleteVersion, { + yes: doDelete + }); + }, + ucfirst: function ucfirst(s) { + return "".concat(s.substring(0, 1).toUpperCase()).concat(s.substring(1)); + }, + getExportUrl: function getExportUrl(version) { + return "?module=TagManager&action=exportContainerVersion&idContainer=".concat(this.idContainer) + "&idContainerVersion=".concat(version.idcontainerversion, "&idSite=").concat(version.idsite) + '&period=day&date=yesterday'; + }, + getExportDraftUrl: function getExportDraftUrl() { + return "?module=TagManager&action=exportContainerVersion&idContainer=".concat(this.idContainer) + "&idSite=".concat(this.idSite, "&period=day&date=yesterday"); + } + }, + computed: { + environments: function environments() { + return AvailableEnvironments_store.environmentsWithPublishOptions.value; + }, + availableEnvironmentsToPublish: function availableEnvironmentsToPublish() { + var _this3 = this; + + var deployEnvironment = ''; + var environnments = this.environments.filter(function (env) { + var _this3$versionToBePub, _this3$versionToBePub2; + + if (!((_this3$versionToBePub = _this3.versionToBePublished) !== null && _this3$versionToBePub !== void 0 && _this3$versionToBePub.releases)) { + return true; + } + + var found = (_this3$versionToBePub2 = _this3.versionToBePublished) === null || _this3$versionToBePub2 === void 0 ? void 0 : _this3$versionToBePub2.releases.some(function (r) { + return r.environment === (env === null || env === void 0 ? void 0 : env.key); + }); + + if (!found && !deployEnvironment) { + deployEnvironment = env.key; + } + + return !found; + }); + return { + deployEnvironment: deployEnvironment, + environnments: environnments + }; + }, + idSite: function idSite() { + return external_CoreHome_["Matomo"].idSite; + }, + isLoading: function isLoading() { + return Versions_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Versions_store.isUpdating.value; + }, + versions: function versions() { + return Versions_store.versions.value; + }, + sortedVersions: function sortedVersions() { + var sorted = VersionListvue_type_script_lang_ts_toConsumableArray(this.versions); + + sorted.sort(function (lhs, rhs) { + if (lhs.revision < rhs.revision) { + return 1; + } + + return lhs.revision > rhs.revision ? 0 : 1; + }); + return sorted; + }, + hasWriteAccess: function hasWriteAccess() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write'); + }, + canPublishToLive: function canPublishToLive() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_publish_live_container'); + }, + revisionTranslatedText: function revisionTranslatedText() { + return this.translate('TagManager_VersionsRevisionDescription'); + }, + nameTranslatedText: function nameTranslatedText() { + return this.translate('TagManager_VersionsNameDescription'); + }, + descriptionTranslatedText: function descriptionTranslatedText() { + return this.translate('TagManager_VersionsDescriptionDescription'); + }, + environmentTranslatedText: function environmentTranslatedText() { + return this.translate('TagManager_VersionsEnvironmentsDescription'); + }, + createdTranslatedText: function createdTranslatedText() { + return this.translate('TagManager_VersionsCreatedDescription'); + }, + actionTranslatedText: function actionTranslatedText() { + return this.translate('TagManager_VersionsActionDescription'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionList.vue + + + +VersionListvue_type_script_lang_ts.render = VersionListvue_type_template_id_096de8c2_render + +/* harmony default export */ var VersionList = (VersionListvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=50bd0b30 + +var VersionManagevue_type_template_id_50bd0b30_hoisted_1 = { + class: "manageVersion" +}; +var VersionManagevue_type_template_id_50bd0b30_hoisted_2 = { + key: 0 +}; +var VersionManagevue_type_template_id_50bd0b30_hoisted_3 = { + key: 1 +}; +function VersionManagevue_type_template_id_50bd0b30_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_VersionList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("VersionList"); + + var _component_VersionEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("VersionEdit"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionManagevue_type_template_id_50bd0b30_hoisted_1, [!_ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionManagevue_type_template_id_50bd0b30_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_VersionList, { + "id-container": _ctx.idContainer, + "versions-help-text": _ctx.versionsHelpText + }, null, 8, ["id-container", "versions-help-text"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.editMode ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VersionManagevue_type_template_id_50bd0b30_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_VersionEdit, { + "id-container": _ctx.idContainer, + "id-container-version": _ctx.idContainerVersion + }, null, 8, ["id-container", "id-container-version"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=50bd0b30 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts + + + + +/* harmony default export */ var VersionManagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: String, + versionsHelpText: String + }, + components: { + VersionList: VersionList, + VersionEdit: VersionEdit + }, + data: function data() { + return { + isAddAllowed: false + }; + }, + created: function created() { + var _this = this; + + // doing this in a watch because we don't want to post an event in a computed property + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return external_CoreHome_["MatomoUrl"].hashParsed.value.idContainerVersion; + }, function (v) { + _this.onIdContainerVersionParamChange(v); + }); + external_CoreHome_["NotificationsStore"].remove('versiontagmanagement'); + this.onIdContainerVersionParamChange(external_CoreHome_["MatomoUrl"].hashParsed.value.idContainerVersion); + }, + methods: { + onIdContainerVersionParamChange: function onIdContainerVersionParamChange(idContainerVersion) { + // for BC w/ angularjs only invoke event if idContainerVersion is 0 + if (idContainerVersion === '0') { + var parameters = { + isAllowed: true + }; + external_CoreHome_["Matomo"].postEvent('TagManager.initAddVersion', parameters); + this.isAddAllowed = !!parameters.isAllowed; + } + } + }, + computed: { + idContainerVersion: function idContainerVersion() { + var idContainerVersion = external_CoreHome_["MatomoUrl"].hashParsed.value.idContainerVersion; + + if (!this.isAddAllowed && idContainerVersion === '0') { + return null; + } + + return idContainerVersion ? parseInt(idContainerVersion, 10) : idContainerVersion; + }, + editMode: function editMode() { + return typeof this.idContainerVersion === 'number'; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Version/VersionManage.vue + + + +VersionManagevue_type_script_lang_ts.render = VersionManagevue_type_template_id_50bd0b30_render + +/* harmony default export */ var VersionManage = (VersionManagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=74a2f037 + +var ContainerEditvue_type_template_id_74a2f037_hoisted_1 = { + class: "loadingPiwik" +}; + +var ContainerEditvue_type_template_id_74a2f037_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var ContainerEditvue_type_template_id_74a2f037_hoisted_3 = { + class: "loadingPiwik" +}; + +var ContainerEditvue_type_template_id_74a2f037_hoisted_4 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var ContainerEditvue_type_template_id_74a2f037_hoisted_5 = { + class: "entityCancel" +}; +function ContainerEditvue_type_template_id_74a2f037_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_SaveButton = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SaveButton"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ContentBlock, { + class: "editContainer tagManagerManageEdit", + feature: "Tag Manager", + "content-title": _ctx.editTitle + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ContainerEditvue_type_template_id_74a2f037_hoisted_1, [ContainerEditvue_type_template_id_74a2f037_hoisted_2, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ContainerEditvue_type_template_id_74a2f037_hoisted_3, [ContainerEditvue_type_template_id_74a2f037_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_UpdatingData')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("form", { + onSubmit: _cache[5] || (_cache[5] = function ($event) { + return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer(); + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "idcontainer", + "model-value": _ctx.container.idcontainer, + disabled: true, + title: _ctx.translate('General_Id') + }, null, 8, ["model-value", "title"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.edit]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "context", + "model-value": _ctx.container.context, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.container.context = $event; + + _ctx.setValueHasChanged(); + }), + disabled: true, + options: _ctx.contexts, + title: _ctx.translate('TagManager_Context'), + "inline-help": _ctx.translate('TagManager_ContainerContextHelp') + }, null, 8, ["model-value", "options", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "text", + name: "name", + "model-value": _ctx.container.name, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.container.name = $event; + + _ctx.setValueHasChanged(); + }), + maxlength: 50, + title: _ctx.translate('General_Name'), + "inline-help": _ctx.translate('TagManager_ContainerNameHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "textarea", + name: "description", + "model-value": _ctx.container.description, + "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) { + _ctx.container.description = $event; + + _ctx.setValueHasChanged(); + }), + title: _ctx.translate('General_Description'), + "inline-help": _ctx.translate('TagManager_ContainerDescriptionHelp') + }, null, 8, ["model-value", "title", "inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SaveButton, { + class: "createButton", + onConfirm: _cache[3] || (_cache[3] = function ($event) { + return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer(); + }), + disabled: _ctx.isUpdating || !_ctx.isDirty, + saving: _ctx.isUpdating, + value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewContainer') + }, null, 8, ["disabled", "saving", "value"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerEditvue_type_template_id_74a2f037_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[4] || (_cache[4] = function ($event) { + return _ctx.cancel(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Cancel')), 1)])])], 32)]; + }), + _: 1 + }, 8, ["content-title"]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=74a2f037 + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/AvailableContexts.store.ts +function AvailableContexts_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function AvailableContexts_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function AvailableContexts_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) AvailableContexts_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) AvailableContexts_store_defineProperties(Constructor, staticProps); return Constructor; } + +function AvailableContexts_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var AvailableContexts_store_AvailableContextStore = /*#__PURE__*/function () { + function AvailableContextStore() { + var _this = this; + + AvailableContexts_store_classCallCheck(this, AvailableContextStore); + + AvailableContexts_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + contexts: [], + isLoading: false + })); + + AvailableContexts_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + AvailableContexts_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isLoading; + })); + + AvailableContexts_store_defineProperty(this, "contexts", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.contexts; + })); + + AvailableContexts_store_defineProperty(this, "contextsOptions", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.contexts.value.map(function (_ref) { + var id = _ref.id, + name = _ref.name; + return { + key: id, + value: name + }; + }); + })); + + AvailableContexts_store_defineProperty(this, "initializePromise", null); + } + + AvailableContexts_store_createClass(AvailableContextStore, [{ + key: "init", + value: function init() { + if (!this.initializePromise) { + this.initializePromise = this.fetchAvailableContexts(); + } + + return this.initializePromise; + } + }, { + key: "fetchAvailableContexts", + value: function fetchAvailableContexts() { + var _this2 = this; + + this.privateState.isLoading = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableContexts', + filter_limit: '-1' + }).then(function (contexts) { + var entities; + + if (Array.isArray(contexts)) { + entities = contexts; + } else { + entities = Object.values(contexts); + } + + _this2.privateState.contexts = entities; + }).finally(function () { + _this2.privateState.isLoading = false; + }); + } + }]); + + return AvailableContextStore; +}(); + +/* harmony default export */ var AvailableContexts_store = (new AvailableContexts_store_AvailableContextStore()); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/Containers.store.ts +function Containers_store_toConsumableArray(arr) { return Containers_store_arrayWithoutHoles(arr) || Containers_store_iterableToArray(arr) || Containers_store_unsupportedIterableToArray(arr) || Containers_store_nonIterableSpread(); } + +function Containers_store_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Containers_store_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Containers_store_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Containers_store_arrayLikeToArray(o, minLen); } + +function Containers_store_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Containers_store_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Containers_store_arrayLikeToArray(arr); } + +function Containers_store_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function Containers_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function Containers_store_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function Containers_store_createClass(Constructor, protoProps, staticProps) { if (protoProps) Containers_store_defineProperties(Constructor.prototype, protoProps); if (staticProps) Containers_store_defineProperties(Constructor, staticProps); return Constructor; } + +function Containers_store_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + + + +var Containers_store_ContainersStore = /*#__PURE__*/function () { + function ContainersStore() { + var _this = this; + + Containers_store_classCallCheck(this, ContainersStore); + + Containers_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + containers: [], + isLoadingContainers: false, + isLoadingSingle: false, + isUpdating: false + })); + + Containers_store_defineProperty(this, "state", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(_this.privateState); + })); + + Containers_store_defineProperty(this, "isLoading", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + var state = _this.state.value; + return state.isLoadingContainers || state.isLoadingSingle; + })); + + Containers_store_defineProperty(this, "isUpdating", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.isUpdating; + })); + + Containers_store_defineProperty(this, "containers", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { + return _this.state.value.containers; + })); + + Containers_store_defineProperty(this, "fetchPromise", null); + } + + Containers_store_createClass(ContainersStore, [{ + key: "reload", + value: function reload() { + this.privateState.containers = []; + this.fetchPromise = null; + return this.fetchContainers(); + } + }, { + key: "fetchContainers", + value: function fetchContainers() { + var _this2 = this; + + this.privateState.isLoadingContainers = true; + this.privateState.containers = []; + + if (!this.fetchPromise) { + this.fetchPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainers', + filter_limit: '-1' + }); + } + + return Promise.resolve(this.fetchPromise).then(function (containers) { + _this2.privateState.containers = containers; + _this2.privateState.isLoadingContainers = false; + return _this2.containers.value; + }).finally(function () { + _this2.privateState.isLoadingContainers = false; + }); + } + }, { + key: "findContainer", + value: function findContainer(idContainer) { + var _this3 = this; + + // before going through an API request we first try to find it in loaded containers + var found = this.containers.value.find(function (v) { + return v.idcontainer === idContainer; + }); + + if (found) { + return Promise.resolve(found); + } // otherwise we fetch it via API + + + this.privateState.isLoadingSingle = true; + return external_CoreHome_["AjaxHelper"].fetch({ + idContainer: idContainer, + method: 'TagManager.getContainer', + filter_limit: '-1' + }).then(function (record) { + _this3.privateState.containers = [].concat(Containers_store_toConsumableArray(_this3.privateState.containers), [record]); + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["readonly"])(record); + }).finally(function () { + _this3.privateState.isLoadingSingle = false; + }); + } + }, { + key: "deleteContainer", + value: function deleteContainer(idContainer) { + var _this4 = this; + + this.privateState.isUpdating = true; + this.privateState.containers = []; + return external_CoreHome_["AjaxHelper"].fetch({ + idContainer: idContainer, + method: 'TagManager.deleteContainer' + }, { + withTokenInUrl: true + }).finally(function () { + _this4.privateState.isUpdating = false; + }); + } + }, { + key: "createOrUpdateContainer", + value: function createOrUpdateContainer(container, method) { + var _this5 = this; + + this.privateState.isUpdating = true; + return external_CoreHome_["AjaxHelper"].post({ + method: method, + idContainer: container.idcontainer + }, { + name: container.name, + description: container.description, + context: container.context + }, { + withTokenInUrl: true + }).finally(function () { + _this5.privateState.isUpdating = false; + }); + } + }]); + + return ContainersStore; +}(); + +/* harmony default export */ var Containers_store = (new Containers_store_ContainersStore()); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts + + + + + + + +var ContainerEditvue_type_script_lang_ts_notificationId = 'containertagmanagement'; +/* harmony default export */ var ContainerEditvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: String + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + SaveButton: external_CorePluginsAdmin_["SaveButton"] + }, + data: function data() { + return { + isDirty: false, + editTitle: '', + isUpdatingVersion: false, + container: {} + }; + }, + created: function created() { + AvailableContexts_store.init(); + AvailableComparisons_store.init(); + this.initIdContainer(); + }, + watch: { + idContainer: function idContainer(newValue) { + if (newValue === null) { + return; + } + + this.initIdContainer(); + } + }, + methods: { + removeAnyContainerNotification: function removeAnyContainerNotification() { + external_CoreHome_["NotificationsStore"].remove(ContainerEditvue_type_script_lang_ts_notificationId); + external_CoreHome_["NotificationsStore"].remove('ajaxHelper'); + }, + showNotification: function showNotification(message, context) { + var notificationInstanceId = external_CoreHome_["NotificationsStore"].show({ + message: message, + context: context, + id: ContainerEditvue_type_script_lang_ts_notificationId, + type: 'transient' + }); + setTimeout(function () { + external_CoreHome_["NotificationsStore"].scrollToNotification(notificationInstanceId); + }, 200); + }, + showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) { + var message = Object(external_CoreHome_["translate"])('TagManager_ErrorXNotProvided', [title]); + this.showNotification(message, 'error'); + }, + initIdContainer: function initIdContainer() { + var _this = this; + + this.container = {}; + external_CoreHome_["Matomo"].helper.lazyScrollToContent(); + + if (this.edit && this.idContainer) { + this.editTitle = Object(external_CoreHome_["translate"])('TagManager_EditContainer'); + Containers_store.findContainer(this.idContainer).then(function (container) { + if (!container) { + return; + } + + _this.container = Object(external_CoreHome_["clone"])(container); + _this.isDirty = false; + }); + } else if (this.create) { + this.editTitle = Object(external_CoreHome_["translate"])('TagManager_CreateNewContainer'); + this.container = { + idSite: external_CoreHome_["Matomo"].idSite, + name: '', + context: 'web', + description: '' + }; + this.isDirty = false; + } + }, + cancel: function cancel() { + var newParams = Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value); + delete newParams.idContainer; + external_CoreHome_["MatomoUrl"].updateHash(newParams); + }, + createContainer: function createContainer() { + var _this2 = this; + + this.removeAnyContainerNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdatingVersion = true; + Containers_store.createOrUpdateContainer(this.container, 'TagManager.addContainer').then(function (response) { + _this2.isUpdatingVersion = false; + + if (!response) { + return; + } + + _this2.isDirty = false; + var idContainer = response.value; + + _this2.showNotification(Object(external_CoreHome_["translate"])('TagManager_CreatedX', Object(external_CoreHome_["translate"])('TagManager_Container')), 'success'); + + external_CoreHome_["MatomoUrl"].updateUrl(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: 'dashboard', + idContainer: idContainer + })); + }).finally(function () { + _this2.isUpdatingVersion = false; + }); + }, + setValueHasChanged: function setValueHasChanged() { + this.isDirty = true; + }, + updateContainer: function updateContainer() { + var _this3 = this; + + this.removeAnyContainerNotification(); + + if (!this.checkRequiredFieldsAreSet()) { + return; + } + + this.isUpdating = true; + Containers_store.createOrUpdateContainer(this.container, 'TagManager.updateContainer').then(function (response) { + if (!response) { + return; + } + + _this3.isDirty = false; + _this3.container = {}; + Containers_store.reload().then(function () { + _this3.initIdContainer(); + }); + + _this3.showNotification(Object(external_CoreHome_["translate"])('TagManager_UpdatedX', Object(external_CoreHome_["translate"])('TagManager_Container')), 'success'); + }); + }, + checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() { + if (!this.container.name) { + var title = Object(external_CoreHome_["translate"])('General_Name'); + this.showErrorFieldNotProvidedNotification(title); + return false; + } + + return true; + } + }, + computed: { + contexts: function contexts() { + return AvailableContexts_store.contextsOptions.value; + }, + create: function create() { + return this.idContainer === '0'; + }, + edit: function edit() { + return !this.create; + }, + isLoading: function isLoading() { + return Variables_store.isLoading.value || AvailableComparisons_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Variables_store.isUpdating.value || this.isUpdatingVersion; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerEdit.vue + + + +ContainerEditvue_type_script_lang_ts.render = ContainerEditvue_type_template_id_74a2f037_render + +/* harmony default export */ var ContainerEdit = (ContainerEditvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=87ad56e2 + +var ContainerListvue_type_template_id_87ad56e2_hoisted_1 = { + class: "tagManagerManageList tagManagerContainerList" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_2 = { + class: "index" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_3 = { + class: "name" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_4 = { + class: "description" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_5 = { + class: "created" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_6 = { + class: "action" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_7 = { + colspan: "5" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_8 = { + class: "loadingPiwik" +}; + +var ContainerListvue_type_template_id_87ad56e2_hoisted_9 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var ContainerListvue_type_template_id_87ad56e2_hoisted_10 = { + colspan: "5" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_11 = ["id"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_12 = ["title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_13 = { + class: "name" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_14 = ["title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_15 = { + class: "created" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_16 = { + class: "action" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_17 = ["href", "title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_18 = ["onClick", "title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_19 = ["onClick", "title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_20 = ["onClick", "title"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_21 = { + class: "tableActionBar" +}; + +var ContainerListvue_type_template_id_87ad56e2_hoisted_22 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var ContainerListvue_type_template_id_87ad56e2_hoisted_23 = { + class: "ui-confirm", + id: "confirmDeleteContainer", + ref: "confirmDeleteContainer" +}; +var ContainerListvue_type_template_id_87ad56e2_hoisted_24 = ["value"]; +var ContainerListvue_type_template_id_87ad56e2_hoisted_25 = ["value"]; +function ContainerListvue_type_template_id_87ad56e2_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ContainerListvue_type_template_id_87ad56e2_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Containers')) + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ContainerUsageBenefits')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ContainerListvue_type_template_id_87ad56e2_hoisted_2, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Id')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ContainerListvue_type_template_id_87ad56e2_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Name')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ContainerListvue_type_template_id_87ad56e2_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ContainerListvue_type_template_id_87ad56e2_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreatedDate')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ContainerListvue_type_template_id_87ad56e2_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Actions')), 1)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ContainerListvue_type_template_id_87ad56e2_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ContainerListvue_type_template_id_87ad56e2_hoisted_8, [ContainerListvue_type_template_id_87ad56e2_hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.isLoading || _ctx.isUpdating]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ContainerListvue_type_template_id_87ad56e2_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoContainersFound')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createContainerNow", + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.createContainer(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewContainerNow')), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && _ctx.containers.length === 0]]), (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.sortedContainers, function (container) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + id: "container".concat(container.idcontainer), + class: "containers", + key: container.idcontainer + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "index", + title: "".concat(_ctx.translate('TagManager_Context'), ": ") + _ctx.contexts[container.context] + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(container.idcontainer), 9, ContainerListvue_type_template_id_87ad56e2_hoisted_12), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ContainerListvue_type_template_id_87ad56e2_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(container.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + class: "description", + title: container.description + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.truncateText(container.description, 50)), 9, ContainerListvue_type_template_id_87ad56e2_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ContainerListvue_type_template_id_87ad56e2_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(container.created_date_pretty), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ContainerListvue_type_template_id_87ad56e2_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-configure", + href: '?module=TagManager&action=' + _ctx.containerDefaultAction + '&idContainer=' + container.idcontainer + '&idSite=' + container.idsite + '&period=day&date=yesterday', + title: _ctx.translate('TagManager_ConfigureX', _ctx.translate('TagManager_Container')) + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_17), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action installCode icon-embed", + onClick: function onClick($event) { + return _ctx.installCode(container.idcontainer); + }, + title: _ctx.translate('TagManager_InstallCode') + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-edit", + onClick: function onClick($event) { + return _ctx.editContainer(container.idcontainer); + }, + title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Container')) + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_19), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "table-action icon-delete", + onClick: function onClick($event) { + return _ctx.deleteContainer(container); + }, + title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Container')) + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_20), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])])], 8, ContainerListvue_type_template_id_87ad56e2_hoisted_11); + }), 128))])], 512), [[_directive_content_table]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerListvue_type_template_id_87ad56e2_hoisted_21, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "createNewContainer", + value: "", + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.createContainer(); + }) + }, [ContainerListvue_type_template_id_87ad56e2_hoisted_22, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewContainer')), 1)])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.hasWriteAccess]])]; + }), + _: 1 + }, 8, ["content-title"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerListvue_type_template_id_87ad56e2_hoisted_23, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_DeleteContainerConfirm')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "yes", + type: "button", + value: _ctx.translate('General_Yes') + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_24), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + role: "no", + type: "button", + value: _ctx.translate('General_No') + }, null, 8, ContainerListvue_type_template_id_87ad56e2_hoisted_25)], 512)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=87ad56e2 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts +function ContainerListvue_type_script_lang_ts_toConsumableArray(arr) { return ContainerListvue_type_script_lang_ts_arrayWithoutHoles(arr) || ContainerListvue_type_script_lang_ts_iterableToArray(arr) || ContainerListvue_type_script_lang_ts_unsupportedIterableToArray(arr) || ContainerListvue_type_script_lang_ts_nonIterableSpread(); } + +function ContainerListvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function ContainerListvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ContainerListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ContainerListvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function ContainerListvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function ContainerListvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return ContainerListvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function ContainerListvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + + + + + +var ContainerListvue_type_script_lang_ts_window = window, + ContainerListvue_type_script_lang_ts_tagManagerHelper = ContainerListvue_type_script_lang_ts_window.tagManagerHelper; +/* harmony default export */ var ContainerListvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + components: { + ContentBlock: external_CoreHome_["ContentBlock"] + }, + directives: { + ContentTable: external_CoreHome_["ContentTable"] + }, + created: function created() { + AvailableContexts_store.init(); + Containers_store.fetchContainers(); + }, + computed: { + contexts: function contexts() { + var result = {}; + AvailableContexts_store.contexts.value.forEach(function (_ref) { + var id = _ref.id, + name = _ref.name; + result[id] = name; + }); + return result; + }, + hasWriteAccess: function hasWriteAccess() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write'); + }, + containerDefaultAction: function containerDefaultAction() { + return this.hasWriteAccess ? 'dashboard' : 'manageTags'; + }, + isLoading: function isLoading() { + return Versions_store.isLoading.value; + }, + isUpdating: function isUpdating() { + return Versions_store.isUpdating.value; + }, + containers: function containers() { + return Containers_store.containers.value; + }, + sortedContainers: function sortedContainers() { + var sorted = ContainerListvue_type_script_lang_ts_toConsumableArray(this.containers); + + sorted.sort(function (lhs, rhs) { + if (lhs.created_date < rhs.created_date) { + return 1; + } + + return lhs.created_date > rhs.created_date ? -1 : 0; + }); + return sorted; + } + }, + methods: { + createContainer: function createContainer() { + this.editContainer('0'); + }, + editContainer: function editContainer(idContainer) { + external_CoreHome_["MatomoUrl"].updateHash(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].hashParsed.value), {}, { + idContainer: idContainer + })); + }, + installCode: function installCode(idContainer) { + ContainerListvue_type_script_lang_ts_tagManagerHelper.showInstallCode(idContainer); + }, + deleteContainer: function deleteContainer(container) { + function doDelete() { + Containers_store.deleteContainer(container.idcontainer).then(function () { + Containers_store.reload(); + }); + } + + external_CoreHome_["Matomo"].helper.modalConfirm(this.$refs.confirmDeleteContainer, { + yes: doDelete + }); + }, + truncateText: function truncateText(text, length) { + if (text.length > length) { + return "".concat(text.substr(0, length - 3), "..."); + } + + return text; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerList.vue + + + +ContainerListvue_type_script_lang_ts.render = ContainerListvue_type_template_id_87ad56e2_render + +/* harmony default export */ var ContainerList = (ContainerListvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=2e778f03 + +var ContainerManagevue_type_template_id_2e778f03_hoisted_1 = { + class: "manageContainer" +}; +function ContainerManagevue_type_template_id_2e778f03_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ContainerList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContainerList"); + + var _component_ContainerEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContainerEdit"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ContainerManagevue_type_template_id_2e778f03_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContainerList)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.editMode]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContainerEdit, { + "id-container": _ctx.idContainer + }, null, 8, ["id-container"])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.editMode]])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=2e778f03 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts + + + + +/* harmony default export */ var ContainerManagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: {}, + components: { + ContainerList: ContainerList, + ContainerEdit: ContainerEdit + }, + data: function data() { + return { + isAddAllowed: false + }; + }, + created: function created() { + var _this = this; + + // doing this in a watch because we don't want to post an event in a computed property + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () { + return external_CoreHome_["MatomoUrl"].hashParsed.value.idContainer; + }, function (v) { + _this.onIdContainerParamChange(v); + }); + external_CoreHome_["NotificationsStore"].remove('containertagmanagement'); + this.onIdContainerParamChange(external_CoreHome_["MatomoUrl"].hashParsed.value.idContainer); + }, + computed: { + idContainer: function idContainer() { + var idContainer = external_CoreHome_["MatomoUrl"].hashParsed.value.idContainer; + + if (!this.isAddAllowed && idContainer === '') { + return null; + } + + return idContainer; + }, + editMode: function editMode() { + return !!this.idContainer; + } + }, + methods: { + onIdContainerParamChange: function onIdContainerParamChange(idContainer) { + // for BC w/ angularjs only invoke event if idContainer is 0 + if (idContainer === '0') { + var parameters = { + isAllowed: true + }; + external_CoreHome_["Matomo"].postEvent('TagManager.initAddVersion', parameters); + this.isAddAllowed = !!parameters.isAllowed; + } + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Container/ContainerManage.vue + + + +ContainerManagevue_type_script_lang_ts.render = ContainerManagevue_type_template_id_2e778f03_render + +/* harmony default export */ var ContainerManage = (ContainerManagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=4b412611 + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_1 = { + class: "containerDashboard" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_2 = { + key: 0 +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_3 = { + class: "dashboardCreationDate" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_4 = { + key: 0 +}; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_6 = { + class: "row", + style: { + "margin-left": "-0.75rem" + } +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_7 = { + class: "col m6 s12" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_8 = { + key: 0 +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_9 = ["href", "title"]; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_10 = { + key: 0 +}; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_11 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("hr", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_12 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_13 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-edit" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_14 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_15 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_16 = { + class: "col m6 s12" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_17 = { + key: 0 +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_18 = ["href", "title"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_19 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("hr", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_20 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_21 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-edit" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_22 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_24 = { + class: "row", + style: { + "margin-left": "-0.75rem" + } +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_25 = { + class: "col m6 s12" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_26 = ["href", "title"]; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_27 = { + key: 0 +}; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_28 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("hr", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_29 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_30 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-edit" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_31 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_32 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_33 = { + class: "col m6 s12" +}; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_34 = ["title", "href"]; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_35 = { + key: 0 +}; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_36 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_37 = ["title"]; +var ContainerDashboardvue_type_template_id_4b412611_hoisted_38 = { + key: 0 +}; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_39 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("hr", null, null, -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_40 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_41 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-edit" +}, " ", -1); + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_42 = ["href"]; + +var ContainerDashboardvue_type_template_id_4b412611_hoisted_43 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon-add" +}, " ", -1); + +function ContainerDashboardvue_type_template_id_4b412611_render(_ctx, _cache, $props, $setup, $data, $options) { + var _ctx$containerVersion, _ctx$containerVersion2; + + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _component_EnrichedHeadline = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("EnrichedHeadline"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _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", ContainerDashboardvue_type_template_id_4b412611_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + loading: _ctx.isLoading + }, null, 8, ["loading"]), !_ctx.isLoading ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_EnrichedHeadline, { + "feature-name": "Tag Manager", + "inline-help": _ctx.dashboardHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$container; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ContainerX', (_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : _ctx$container.name)), 1)]; + }), + _: 1 + }, 8, ["inline-help"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", ContainerDashboardvue_type_template_id_4b412611_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.containerMetaInformation) + " ", 1), (_ctx$containerVersion = _ctx.containerVersion) !== null && _ctx$containerVersion !== void 0 && _ctx$containerVersion.description ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_4, [ContainerDashboardvue_type_template_id_4b412611_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Description')) + ": " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])((_ctx$containerVersion2 = _ctx.containerVersion) === null || _ctx$containerVersion2 === void 0 ? void 0 : _ctx$containerVersion2.description), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])], 512), [[_directive_content_intro]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": "".concat(_ctx.tagCount, " ").concat(_ctx.translate('TagManager_Tags')), + "help-text": _ctx.tagsHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [_ctx.tagCount ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Names')) + ": ", 1), (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.sortedContainerVersionTags, function (tag, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: _ctx.linkTo('manageTags', { + idTag: tag.idtag + }), + title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', tag.created_date_pretty, tag.updated_date_pretty, tag.type) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.name), 9, ContainerDashboardvue_type_template_id_4b412611_hoisted_9), index !== _ctx.sortedContainerVersionTags.length - 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_10, ", ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), ContainerDashboardvue_type_template_id_4b412611_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageTags') + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_EditTags')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_12), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageTags', { + idTag: 0 + }) + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_15, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTag')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_14)]; + }), + _: 1 + }, 8, ["content-title", "help-text"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_16, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": "".concat(_ctx.triggerCount, " ").concat(_ctx.translate('TagManager_Triggers')), + "help-text": _ctx.triggersHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [_ctx.triggerCount ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_17, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Names')) + ": ", 1), (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.sortedTriggers, function (trigger, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: _ctx.linkTo('manageTriggers', { + idTrigger: trigger.idtrigger + }), + title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', trigger.created_date_pretty, trigger.updated_date_pretty, trigger.type) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(trigger.name), 9, ContainerDashboardvue_type_template_id_4b412611_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, ", ", 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], index !== _ctx.sortedTriggers.length - 1]])]); + }), 128))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), ContainerDashboardvue_type_template_id_4b412611_hoisted_19, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageTriggers') + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_21, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_EditTriggers')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageTriggers', { + idTrigger: 0 + }) + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewTrigger')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_22)]; + }), + _: 1 + }, 8, ["content-title", "help-text"])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_24, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_25, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": "".concat(_ctx.variableCount, " ").concat(_ctx.translate('TagManager_Variables')), + "help-text": _ctx.variablesHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(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('TagManager_Names')) + ": ", 1), (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.sortedVariables, function (variable, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: _ctx.linkTo('manageVariables', { + idVariable: variable.idvariable + }), + title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', variable.created_date_pretty, variable.updated_date_pretty, variable.type) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.name), 9, ContainerDashboardvue_type_template_id_4b412611_hoisted_26), index !== _ctx.sortedVariables.length - 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_27, ", ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128))], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.variableCount]])]), ContainerDashboardvue_type_template_id_4b412611_hoisted_28, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageVariables') + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_30, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_EditVariables')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_29), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageVariables', { + idVariable: 0 + }) + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_32, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVariable')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_31)]; + }), + _: 1 + }, 8, ["content-title", "help-text"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerDashboardvue_type_template_id_4b412611_hoisted_33, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + feature: "Tag Manager", + "content-title": "".concat(_ctx.versionCount, " ").concat(_ctx.translate('TagManager_Versions')), + "help-text": _ctx.versionsHelpText + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(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('TagManager_LastVersions')) + ": ", 1), (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.lastVersions, function (lastVersion, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + title: _ctx.lastVersionLinkTitle(lastVersion), + href: _ctx.linkTo('manageVersions', { + idContainerVersion: lastVersion.idcontainerversion + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(lastVersion.name), 9, ContainerDashboardvue_type_template_id_4b412611_hoisted_34), index !== _ctx.lastVersions.length - 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_35, ", ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128))], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.lastVersions.length]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, [ContainerDashboardvue_type_template_id_4b412611_hoisted_36, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Environments')) + ": ", 1), (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.container.releases, function (release, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + title: _ctx.releaseTooltip(release) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.ucfirst(release.environment)), 9, ContainerDashboardvue_type_template_id_4b412611_hoisted_37), index !== _ctx.container.releases.length - 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ContainerDashboardvue_type_template_id_4b412611_hoisted_38, ", ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128))], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.container.releases.length]])]), ContainerDashboardvue_type_template_id_4b412611_hoisted_39, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageVersions') + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_41, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_EditVersions')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_40), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + class: "btn-flat", + href: _ctx.linkTo('manageVersions', { + idContainerVersion: 0 + }) + }, [ContainerDashboardvue_type_template_id_4b412611_hoisted_43, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_CreateNewVersion')), 1)], 8, ContainerDashboardvue_type_template_id_4b412611_hoisted_42)]; + }), + _: 1 + }, 8, ["content-title", "help-text"])])])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=4b412611 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts + + + + +function sortByName(items) { + items.sort(function (lhs, rhs) { + if (lhs.name < rhs.name) { + return -1; + } + + return lhs.name > rhs.name ? 1 : 0; + }); +} + +/* harmony default export */ var ContainerDashboardvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: String, + dashboardHelpText: String, + tagsHelpText: String, + triggersHelpText: String, + variablesHelpText: String, + versionsHelpText: String + }, + components: { + ActivityIndicator: external_CoreHome_["ActivityIndicator"], + EnrichedHeadline: external_CoreHome_["EnrichedHeadline"], + ContentBlock: external_CoreHome_["ContentBlock"] + }, + directives: { + ContentIntro: external_CoreHome_["ContentIntro"] + }, + data: function data() { + return { + container: null, + containerVersion: null, + isLoading: false + }; + }, + created: function created() { + var _this = this; + + AvailableContexts_store.init(); + this.isLoading = true; + var containerPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainer', + idContainer: this.idContainer + }).then(function (container) { + _this.container = container; + }); + var versionPromise = external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.exportContainerVersion', + idContainer: this.idContainer + }).then(function (containerVersion) { + _this.containerVersion = containerVersion; + }); + Promise.all([containerPromise, versionPromise]).finally(function () { + _this.isLoading = false; + }); + }, + methods: { + linkTo: function linkTo(action, hash) { + var url = external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: action + })); + + if (hash) { + url += "#?".concat(external_CoreHome_["MatomoUrl"].stringify(hash)); + } + + return "?".concat(url); + }, + lastVersionLinkTitle: function lastVersionLinkTitle(lastVersion) { + return "Created on ".concat(lastVersion.created_date_pretty) + ", description: '".concat(lastVersion.description, "'"); + }, + releaseTooltip: function releaseTooltip(release) { + var firstPart = Object(external_CoreHome_["translate"])('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty); + var secondPart = Object(external_CoreHome_["translate"])('TagManager_ReleaseVersionInfo', release.version_name); + return "".concat(firstPart, " ").concat(secondPart); + }, + ucfirst: function ucfirst(s) { + return "".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1)); + } + }, + computed: { + lastVersions: function lastVersions() { + var _this$container, _this$container$versi; + + if ((_this$container = this.container) !== null && _this$container !== void 0 && (_this$container$versi = _this$container.versions) !== null && _this$container$versi !== void 0 && _this$container$versi.length) { + return this.container.versions.slice(-5); + } + + return []; + }, + contexts: function contexts() { + var result = {}; + AvailableContexts_store.contexts.value.forEach(function (_ref) { + var id = _ref.id, + name = _ref.name; + result[id] = name; + }); + return result; + }, + containerMetaInformation: function containerMetaInformation() { + var _this$containerVersio, _this$container2, _this$containerVersio2; + + return Object(external_CoreHome_["translate"])('TagManager_ContainerMetaInformation', ((_this$containerVersio = this.containerVersion) === null || _this$containerVersio === void 0 ? void 0 : _this$containerVersio.idcontainer) || '', this.contexts[((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.context) || ''] || '', ((_this$containerVersio2 = this.containerVersion) === null || _this$containerVersio2 === void 0 ? void 0 : _this$containerVersio2.created_date_pretty) || ''); + }, + sortedContainerVersionTags: function sortedContainerVersionTags() { + var _this$containerVersio3; + + var tags = ((_this$containerVersio3 = this.containerVersion) === null || _this$containerVersio3 === void 0 ? void 0 : _this$containerVersio3.tags) || []; + sortByName(tags); + return tags; + }, + sortedTriggers: function sortedTriggers() { + var _this$containerVersio4; + + var triggers = ((_this$containerVersio4 = this.containerVersion) === null || _this$containerVersio4 === void 0 ? void 0 : _this$containerVersio4.triggers) || []; + sortByName(triggers); + return triggers; + }, + sortedVariables: function sortedVariables() { + var _this$containerVersio5; + + var variables = ((_this$containerVersio5 = this.containerVersion) === null || _this$containerVersio5 === void 0 ? void 0 : _this$containerVersio5.variables) || []; + sortByName(variables); + return variables; + }, + tagCount: function tagCount() { + var _this$containerVersio6; + + return (_this$containerVersio6 = this.containerVersion) === null || _this$containerVersio6 === void 0 ? void 0 : _this$containerVersio6.tags.length; + }, + triggerCount: function triggerCount() { + var _this$containerVersio7; + + return (_this$containerVersio7 = this.containerVersion) === null || _this$containerVersio7 === void 0 ? void 0 : _this$containerVersio7.triggers.length; + }, + versionCount: function versionCount() { + var _this$container3; + + return (_this$container3 = this.container) === null || _this$container3 === void 0 ? void 0 : _this$container3.versions.length; + }, + variableCount: function variableCount() { + var _this$containerVersio8; + + return (_this$containerVersio8 = this.containerVersion) === null || _this$containerVersio8 === void 0 ? void 0 : _this$containerVersio8.variables.length; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue + + + +ContainerDashboardvue_type_script_lang_ts.render = ContainerDashboardvue_type_template_id_4b412611_render + +/* harmony default export */ var ContainerDashboard = (ContainerDashboardvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=d0156b44 + +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_1 = ["title"]; +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_2 = { + class: "title" +}; + +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + class: "icon icon-chevron-down" +}, " ", -1); + +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_4 = { + class: "dropdown positionInViewport" +}; +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_5 = { + class: "custom_select_container" +}; +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_6 = { + class: "custom_select_ul_list" +}; +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_7 = ["title"]; +var ContainerSelectorvue_type_template_id_d0156b44_hoisted_8 = ["href"]; +function ContainerSelectorvue_type_template_id_d0156b44_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _directive_focus_anywhere_but_here = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("focus-anywhere-but-here"); + + return 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", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["tagContainerSelector piwikSelector borderedControl", { + expanded: _ctx.showContainerList + }]), + onClick: _cache[1] || (_cache[1] = function ($event) { + _ctx.fetchContainers(); + + _ctx.showContainerList = !_ctx.showContainerList; + }), + title: _ctx.translate('TagManager_ChooseContainer') + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", ContainerSelectorvue_type_template_id_d0156b44_hoisted_2, [ContainerSelectorvue_type_template_id_d0156b44_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.actualContainerName), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerSelectorvue_type_template_id_d0156b44_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + loading: _ctx.isLoading + }, null, 8, ["loading"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ContainerSelectorvue_type_template_id_d0156b44_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", ContainerSelectorvue_type_template_id_d0156b44_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + tabindex: "-1", + onClick: _cache[0] || (_cache[0] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {}, ["prevent", "stop"])) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoContainersFound')), 1)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.isLoading && _ctx.containers.length === 0]]), (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.containers, function (containerEntry) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + title: "".concat(containerEntry.name, " (").concat(containerEntry.idcontainer, ")"), + key: containerEntry.idcontainer + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + href: _ctx.linkTo(containerEntry.idcontainer) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(containerEntry.name) + " (" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(containerEntry.idcontainer) + ") ", 9, ContainerSelectorvue_type_template_id_d0156b44_hoisted_8)], 8, ContainerSelectorvue_type_template_id_d0156b44_hoisted_7); + }), 128))])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showContainerList]])], 10, ContainerSelectorvue_type_template_id_d0156b44_hoisted_1)), [[_directive_focus_anywhere_but_here, { + blur: _ctx.onBlur + }]]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=d0156b44 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts + + +/* harmony default export */ var ContainerSelectorvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + containerName: String + }, + components: { + ActivityIndicator: external_CoreHome_["ActivityIndicator"] + }, + directives: { + FocusAnywhereButHere: external_CoreHome_["FocusAnywhereButHere"] + }, + data: function data() { + return { + containers: [], + isLoading: false, + showContainerList: false + }; + }, + created: function created() { + setTimeout(function () { + window.initTopControls(); + }); + }, + methods: { + fetchContainers: function fetchContainers() { + var _this = this; + + this.isLoading = true; + this.containers = []; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainers' + }).then(function (containers) { + _this.containers = containers; + }).finally(function () { + _this.isLoading = false; + }); + }, + linkTo: function linkTo(idContainer) { + var action = external_CoreHome_["MatomoUrl"].urlParsed.value.action; + + if (!action || action === 'manageContainers') { + action = this.hasWriteAccess ? 'dashboard' : 'manageTags'; + } + + var newQuery = external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + idContainer: idContainer, + action: action + })); + return "".concat(window.location.pathname, "?").concat(newQuery); + }, + onBlur: function onBlur() { + this.showContainerList = false; + } + }, + computed: { + actualContainerName: function actualContainerName() { + if (this.containerName) { + return Object(external_CoreHome_["translate"])('TagManager_ContainerX', this.containerName); + } + + return Object(external_CoreHome_["translate"])('TagManager_ChooseContainer'); + }, + hasWriteAccess: function hasWriteAccess() { + return external_CoreHome_["Matomo"].hasUserCapability('tagmanager_write'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue + + + +ContainerSelectorvue_type_script_lang_ts.render = ContainerSelectorvue_type_template_id_d0156b44_render + +/* harmony default export */ var ContainerSelector = (ContainerSelectorvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7f2f7f11 + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_1 = { + style: { + "margin-left": "-0.75rem" + } +}; + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_3 = ["href"]; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_4 = ["textContent"]; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_5 = { + style: { + "margin-top": "1rem" + } +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_6 = ["innerHTML"]; + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_7 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_8 = { + target: "_blank", + href: "https://matomo.org/faq/tag-manager/data-layer-in-matomo-tag-manager/" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_9 = { + class: "environment" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_10 = { + class: "name" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_11 = { + class: "name" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_12 = { + class: "released_by" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_13 = { + class: "released_on" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_14 = { + key: 0 +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_15 = { + colspan: "7" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_16 = { + class: "loadingPiwik" +}; + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_17 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("img", { + src: "plugins/Morpheus/images/loading-blue.gif" +}, null, -1); + +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_18 = { + key: 1 +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_19 = { + colspan: "7" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_20 = { + class: "environment" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_21 = { + class: "name" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_22 = { + class: "revision" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_23 = { + class: "released_by" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_24 = { + class: "released_on" +}; +var ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_25 = { + class: "date" +}; +function ManageInstallTagCodevue_type_template_id_7f2f7f11_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + var _directive_select_on_focus = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("select-on-focus"); + + var _directive_content_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-table"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ContentBlock, { + class: "manageInstallTagCode", + feature: "Tag Manager", + "content-title": "Install Code" + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + var _ctx$container, _ctx$container$releas; + + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "environment", + "model-value": _ctx.environment, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + _ctx.environment = $event; + + _ctx.fetchInstallInstructions(_ctx.environment); + }), + options: _ctx.environments, + title: _ctx.translate('TagManager_Environment') + }, null, 8, ["model-value", "options", "title"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ActivityIndicator, { + loading: _ctx.isLoading + }, null, 8, ["loading"]), (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.installInstructions, function (installInstruction, 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"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.description) + " ", 1), ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_2, installInstruction.helpUrl ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", { + key: 0, + target: "_blank", + href: installInstruction.helpUrl + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LearnMore')), 9, ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_3)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), installInstruction.embedCode ? 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"])("pre", { + key: 0, + class: "codeblock", + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.embedCode), + ref: "codeblock" + }, null, 8, ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_4)), [[_directive_select_on_focus, {}]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); + }), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_InstallCodePublishEnvironmentNote', 'preview')) + " " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_InstallCodeDataLayerNote', '', '')) + }, null, 8, ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_6), ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_7, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_8, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LearnMore')), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ReleasesOverview')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_Environment')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionName')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_VersionRevision')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_12, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ReleasedBy')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_ReleasedOn')), 1)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [_ctx.isLoading ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_14, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_16, [ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_LoadingData')), 1)])])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_ctx.isLoading && ((_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : (_ctx$container$releas = _ctx$container.releases) === null || _ctx$container$releas === void 0 ? void 0 : _ctx$container$releas.length) === 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_18, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_19, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoReleasesFound')), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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.sortedReleases, function (release) { + var _ctx$releaseVersions$, _ctx$releaseVersions$2; + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: release.idcontainerrelease + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_20, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.ucfirst(release.environment)), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_21, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])((_ctx$releaseVersions$ = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$ === void 0 ? void 0 : _ctx$releaseVersions$.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_22, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])((_ctx$releaseVersions$2 = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$2 === void 0 ? void 0 : _ctx$releaseVersions$2.revision), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(release.release_login), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_24, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ManageInstallTagCodevue_type_template_id_7f2f7f11_hoisted_25, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(release.release_date_pretty), 1)])]); + }), 128))])], 512), [[_directive_content_table]])]; + }), + _: 1 + }); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7f2f7f11 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts +function ManageInstallTagCodevue_type_script_lang_ts_toConsumableArray(arr) { return ManageInstallTagCodevue_type_script_lang_ts_arrayWithoutHoles(arr) || ManageInstallTagCodevue_type_script_lang_ts_iterableToArray(arr) || ManageInstallTagCodevue_type_script_lang_ts_unsupportedIterableToArray(arr) || ManageInstallTagCodevue_type_script_lang_ts_nonIterableSpread(); } + +function ManageInstallTagCodevue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function ManageInstallTagCodevue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function ManageInstallTagCodevue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return ManageInstallTagCodevue_type_script_lang_ts_arrayLikeToArray(arr); } + +function ManageInstallTagCodevue_type_script_lang_ts_slicedToArray(arr, i) { return ManageInstallTagCodevue_type_script_lang_ts_arrayWithHoles(arr) || ManageInstallTagCodevue_type_script_lang_ts_iterableToArrayLimit(arr, i) || ManageInstallTagCodevue_type_script_lang_ts_unsupportedIterableToArray(arr, i) || ManageInstallTagCodevue_type_script_lang_ts_nonIterableRest(); } + +function ManageInstallTagCodevue_type_script_lang_ts_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function ManageInstallTagCodevue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ManageInstallTagCodevue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ManageInstallTagCodevue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function ManageInstallTagCodevue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function ManageInstallTagCodevue_type_script_lang_ts_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function ManageInstallTagCodevue_type_script_lang_ts_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + + + + +var ManageInstallTagCodevue_type_script_lang_ts_window = window, + ManageInstallTagCodevue_type_script_lang_ts_$ = ManageInstallTagCodevue_type_script_lang_ts_window.$; +/* harmony default export */ var ManageInstallTagCodevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + idContainer: { + type: String, + required: true + } + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + Field: external_CorePluginsAdmin_["Field"], + ActivityIndicator: external_CoreHome_["ActivityIndicator"] + }, + directives: { + SelectOnFocus: external_CoreHome_["SelectOnFocus"], + ContentTable: external_CoreHome_["ContentTable"] + }, + data: function data() { + return { + container: null, + environments: [], + environment: 'live', + installInstructions: [], + isLoading: false, + isLoadingInstructions: false + }; + }, + created: function created() { + var _this = this; + + this.isLoading = true; + this.fetchReleases().finally(function () { + _this.isLoading = false; + }); + }, + methods: { + fetchInstallInstructions: function fetchInstallInstructions(environment) { + var _this2 = this; + + this.installInstructions = []; + this.isLoadingInstructions = true; + return external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerInstallInstructions', + filter_limit: '-1', + idContainer: this.idContainer, + environment: environment + }).then(function (instructions) { + _this2.installInstructions = instructions; + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { + var codeblocks = Array.isArray(_this2.$refs.codeblock) ? _this2.$refs.codeblock : [_this2.$refs.codeblock]; + codeblocks.forEach(function (n) { + ManageInstallTagCodevue_type_script_lang_ts_$(n).effect('highlight', {}, 1500); + }); + }); + }).finally(function () { + _this2.isLoadingInstructions = false; + }); + }, + fetchReleases: function fetchReleases() { + var _this3 = this; + + return external_CoreHome_["AjaxHelper"].fetch([{ + method: 'TagManager.getAvailableEnvironments', + filter_limit: '-1' + }, { + method: 'TagManager.getContainer', + idContainer: this.idContainer, + filter_limit: '-1' + }]).then(function (_ref) { + var _this3$environments, _this3$environments$; + + var _ref2 = ManageInstallTagCodevue_type_script_lang_ts_slicedToArray(_ref, 2), + environments = _ref2[0], + container = _ref2[1]; + + _this3.environments = environments.map(function (e) { + return { + key: e.id, + value: e.name + }; + }); + _this3.container = container; + var hasLive = container.releases.some(function (r) { + return r.environment === 'live'; + }); + + if (!hasLive && (_this3$environments = _this3.environments) !== null && _this3$environments !== void 0 && (_this3$environments$ = _this3$environments[0]) !== null && _this3$environments$ !== void 0 && _this3$environments$.key) { + _this3.environment = _this3.environments[0].key; + } else if (!hasLive) { + // no release available yet + _this3.environment = ''; + } + + if (_this3.environment) { + return _this3.fetchInstallInstructions(_this3.environment); + } + + return undefined; + }); + }, + ucfirst: function ucfirst(s) { + return "".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1)); + } + }, + computed: { + releaseVersions: function releaseVersions() { + var _this$container, + _this4 = this; + + var result = {}; + (((_this$container = this.container) === null || _this$container === void 0 ? void 0 : _this$container.releases) || []).forEach(function (r) { + result[r.idcontainerrelease] = _this4.container.versions.find(function (v) { + return v.idcontainerversion === r.idcontainerversion; + }); + }); + return result; + }, + sortedReleases: function sortedReleases() { + var _this$container2; + + var sorted = ManageInstallTagCodevue_type_script_lang_ts_toConsumableArray((((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.releases) || []).map(function (r, i) { + return Object.assign(Object.assign({}, r), {}, { + index: i + }); + })); + + sorted.sort(function (lhs, rhs) { + if (lhs.release_date < rhs.release_date) { + return 1; + } + + if (lhs.release_date > rhs.release_date) { + return -1; + } + + return rhs.index - lhs.index; // angularjs sort defaults to using index when key is same + }); + return sorted; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue + + + +ManageInstallTagCodevue_type_script_lang_ts.render = ManageInstallTagCodevue_type_template_id_7f2f7f11_render + +/* harmony default export */ var ManageInstallTagCode = (ManageInstallTagCodevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=6a09ff25 + +var TagmanagerTrackingCodevue_type_template_id_6a09ff25_hoisted_1 = { + class: "list-style-decimal" +}; +var TagmanagerTrackingCodevue_type_template_id_6a09ff25_hoisted_2 = ["innerHTML"]; +function TagmanagerTrackingCodevue_type_template_id_6a09ff25_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_TrackingCodeCommon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TrackingCodeCommon"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ol", TagmanagerTrackingCodevue_type_template_id_6a09ff25_hoisted_1, [_ctx.showContainerRow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: 0, + innerHTML: _ctx.$sanitize(_ctx.setupStep1) + }, null, 8, TagmanagerTrackingCodevue_type_template_id_6a09ff25_hoisted_2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TrackingCodeCommon, { + "show-container-row": _ctx.showContainerRow, + showBottom: true, + showDescription: false, + showPlainMtmSteps: true, + showTestSection: _ctx.showTestSection, + onFetchInstallInstructions: _ctx.fetchInstallInstructions, + ref: "trackingCodeCommon" + }, null, 8, ["show-container-row", "showTestSection", "onFetchInstallInstructions"])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=6a09ff25 + +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=5fe4209c + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_1 = { + class: "tagManagerTrackingCode" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_2 = { + key: 1, + class: "row" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_3 = { + class: "col s12 m4 " +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_4 = { + class: "form-group row" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_5 = { + class: "col s12 input-field" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_6 = { + for: "tagManagerTrackingCodeSite", + class: "siteSelectorLabel" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_7 = { + class: "sites_autocomplete" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_8 = { + class: "col s12 m4" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_9 = { + class: "col s12 m4" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_10 = { + key: 2, + class: "alert alert-info" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_11 = { + href: "" +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_12 = { + key: 0 +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_13 = ["href"]; + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_14 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(". "); + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_15 = { + key: 1 +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_16 = ["innerHTML"]; + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_17 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(". "); + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_18 = ["innerHTML"]; + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_19 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(". "); + +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_20 = ["innerHTML"]; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_21 = ["textContent"]; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_22 = { + key: 3 +}; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_23 = ["innerHTML"]; +var TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_24 = { + key: 1 +}; +function TrackingCodeCommonvue_type_template_id_5fe4209c_render(_ctx, _cache, $props, $setup, $data, $options) { + var _this = this; + + var _component_ActivityIndicator = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ActivityIndicator"); + + var _component_SiteSelector = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("SiteSelector"); + + var _component_Field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Field"); + + var _directive_copy_to_clipboard = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("copy-to-clipboard"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_1, [_ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ActivityIndicator, { + key: 0, + style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({ + opacity: _ctx.isLoading ? 1 : 0 + }), + loading: true + }, null, 8, ["style"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('General_Website')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_SiteSelector, { + id: "tagManagerTrackingCodeSite", + modelValue: _ctx.site, + "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { + return _ctx.site = $event; + }), + "show-all-sites-item": false, + "switch-site-on-select": false, + "show-selected-site": true + }, null, 8, ["modelValue"])])])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "containers", + "model-value": _ctx.idContainer, + "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) { + _ctx.idContainer = $event; + + _ctx.onContainerChange(); + }), + options: _ctx.containerOptions, + disabled: _ctx.containerOptions.length <= 1, + "full-width": true, + title: _ctx.translate('TagManager_Container') + }, null, 8, ["model-value", "options", "disabled", "title"])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Field, { + uicontrol: "select", + name: "environment", + "model-value": _ctx.environment, + "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) { + _ctx.environment = $event; + + _this.$emit('fetchInstallInstructions'); + }), + options: _ctx.environments, + disabled: _ctx.environments.length <= 1, + "full-width": true, + title: _ctx.translate('TagManager_Environment') + }, null, 8, ["model-value", "options", "disabled", "title"])])])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.idContainer && _ctx.noReleaseFound ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_NoReleasesFoundForContainer')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_PublishVersionToEnvironmentToViewEmbedCode')), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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.installInstructions, function (installInstruction, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { + key: index + }, [_ctx.showDescription ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("p", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.description) + " ", 1), installInstruction.helpUrl ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", { + key: 0, + target: "_blank", + href: installInstruction.helpUrl + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_LearnMore')), 9, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_13)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_14])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.showPlainMtmSteps ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_15, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.getMtmStep2) + }, null, 8, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_16), TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.getLearnMoreLink) + }, null, 8, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_18), TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_19]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.getMtmStep3) + }, null, 8, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_20)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("pre", { + class: "codeblock", + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.embedCode), + ref: "codeblock" + }, null, 8, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_21), [[_directive_copy_to_clipboard, {}]])])]); + }), 128)), _ctx.showBottom ? 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", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_22, [_ctx.idContainer && !_ctx.showTestSection ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("p", { + key: 0, + innerHTML: _ctx.$sanitize(_ctx.getCongratulationsText) + }, null, 8, TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_23)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.idContainer && _ctx.showTestSection ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", TrackingCodeCommonvue_type_template_id_5fe4209c_hoisted_24, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDynamicComponent"])(_ctx.testComponent), { + site: _ctx.site + }, null, 8, ["site"]))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512)), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], !_ctx.noReleaseFound]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=5fe4209c + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts + + + + +function ucfirst(s) { + return "".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1)); +} + +/* harmony default export */ var TrackingCodeCommonvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + showContainerRow: Boolean, + currentAction: String, + showBottom: Boolean, + showDescription: Boolean, + showPlainMtmSteps: Boolean, + showTestSection: Boolean + }, + components: { + ActivityIndicator: external_CoreHome_["ActivityIndicator"], + SiteSelector: external_CoreHome_["SiteSelector"], + Field: external_CorePluginsAdmin_["Field"] + }, + emits: ['fetchInstallInstructions'], + directives: { + CopyToClipboard: external_CoreHome_["CopyToClipboard"] + }, + data: function data() { + return { + containerVariables: [], + isLoading: false, + idContainer: '', + environment: '', + environments: [], + environmentNameMap: {}, + containerMap: {}, + containerOptions: [], + site: { + id: external_CoreHome_["Matomo"].idSite, + name: external_CoreHome_["Matomo"].helper.htmlDecode(external_CoreHome_["Matomo"].siteName) + }, + matomoConfigs: [], + releases: [], + installInstructions: [], + noReleaseFound: false + }; + }, + created: function created() { + var _this = this; + + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getAvailableEnvironments', + filter_limit: '-1' + }).then(function (environments) { + var entities; + + if (Array.isArray(environments)) { + entities = environments; + } else { + entities = Object.values(environments); + } + + _this.environmentNameMap = Object.fromEntries(entities.map(function (_ref) { + var id = _ref.id, + name = _ref.name; + return [id, name]; + })); + }); + this.onSiteChange(); + }, + watch: { + site: function site() { + this.onSiteChange(); + } + }, + methods: { + onSiteChange: function onSiteChange() { + var _this$site, + _this2 = this; + + this.installInstructions = []; + this.containerOptions = []; + this.containerMap = {}; + this.environments = []; + this.matomoConfigs = []; + this.idContainer = ''; + + if (!((_this$site = this.site) !== null && _this$site !== void 0 && _this$site.id)) { + return; + } + + this.isLoading = true; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainers', + filter_limit: '-1', + idSite: this.site.id + }).then(function (containers) { + _this2.containerOptions = []; + + if (!(containers !== null && containers !== void 0 && containers.length)) { + _this2.idContainer = ''; + + _this2.containerOptions.push({ + key: '', + value: _this2.translate('TagManager_NoContainersFound') + }); + + return; + } + + containers.forEach(function (container) { + if (!_this2.idContainer) { + _this2.idContainer = container.idcontainer; + } + + _this2.containerMap[container.idcontainer] = container; + + _this2.containerOptions.push({ + key: container.idcontainer, + value: container.name + }); + }); + + _this2.onContainerChange(); + }).finally(function () { + _this2.isLoading = false; + }); + }, + onContainerChange: function onContainerChange() { + var _this3 = this; + + this.noReleaseFound = false; + + if (!this.idContainer) { + return; + } + + this.installInstructions = []; + var container = this.containerMap[this.idContainer]; + var draftVersion = container.draft.idcontainerversion; + this.environment = ''; + this.environments = []; + var releases = container.releases || []; + + if (releases.find(function (r) { + return r.environment === 'live'; + })) { + // we always prefer to pre-select the live environment + this.environment = 'live'; + } + + releases.forEach(function (release) { + if (release.environment === 'preview') { + return; // there is nothing to embed for this environment + } + + if (!_this3.environment) { + _this3.environment = release.environment; + } + + var name = ucfirst(release.environment); + + if (release.environment in _this3.environmentNameMap) { + name = _this3.environmentNameMap[release.environment]; + } + + _this3.environments.push({ + key: release.environment, + value: name + }); + }); + + if (!this.environments.length) { + this.noReleaseFound = true; + this.environments.push({ + key: '', + value: this.translate('TagManager_NoReleasesFound') + }); + } + + this.$emit('fetchInstallInstructions'); + this.fetchVariables(draftVersion); + }, + linkTo: function linkTo(action, idSite, idContainer, hash) { + var newQuery = external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: action, + idSite: idSite, + idContainer: idContainer + })); + var newUrl = "".concat(window.location.pathname, "?").concat(newQuery); + + if (hash) { + newUrl += "#?".concat(external_CoreHome_["MatomoUrl"].stringify(hash)); + } + + return newUrl; + }, + fetchVariables: function fetchVariables(containerDraftVersion) { + var _this$site2, + _this4 = this; + + this.matomoConfigs = []; + + if (!this.idContainer || !((_this$site2 = this.site) !== null && _this$site2 !== void 0 && _this$site2.id) || !containerDraftVersion) { + return; + } + + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerVariables', + filter_limit: '-1', + idContainer: this.idContainer, + idContainerVersion: containerDraftVersion, + idSite: this.site.id + }).then(function (variables) { + _this4.matomoConfigs = variables.filter(function (v) { + return v.type === 'MatomoConfiguration'; + }); + }).finally(function () { + _this4.isLoading = false; + }); + } + }, + computed: { + getLearnMoreLink: function getLearnMoreLink() { + return Object(external_CoreHome_["translate"])('TagManager_CustomHtmlTagHelpText', '', ''); + }, + getMtmStep2: function getMtmStep2() { + var idSite = this.site && this.site.id ? this.site.id : ''; + var link = this.linkTo('dashboard', idSite, this.idContainer, []); + return Object(external_CoreHome_["translate"])('TagManager_SiteWithoutDataMtmStep2', ""), ''); + }, + getMtmStep3: function getMtmStep3() { + return Object(external_CoreHome_["translate"])('TagManager_SiteWithoutDataMtmStep3', '</head>', '', ''); + }, + getCongratulationsText: function getCongratulationsText() { + return Object(external_CoreHome_["translate"])('TagManager_SiteWithoutDataReactFollowStepCompleted', '', ''); + }, + testComponent: function testComponent() { + if (this.showTestSection) { + return Object(external_CoreHome_["useExternalPluginComponent"])('JsTrackerInstallCheck', 'JsTrackerInstallCheck'); + } + + return ''; + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue + + + +TrackingCodeCommonvue_type_script_lang_ts.render = TrackingCodeCommonvue_type_template_id_5fe4209c_render + +/* harmony default export */ var TrackingCodeCommon = (TrackingCodeCommonvue_type_script_lang_ts); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts + + + +/* harmony default export */ var TagmanagerTrackingCodevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + showContainerRow: Boolean, + showTestSection: Boolean + }, + components: { + TrackingCodeCommon: TrackingCodeCommon + }, + data: function data() { + return { + setupStep1: '' + }; + }, + methods: { + fetchInstallInstructions: function fetchInstallInstructions() { + var _refs$site, + _refs$site2, + _this = this; + + // eslint-disable-next-line + var refs = this.$refs.trackingCodeCommon; + refs.installInstructions = []; + this.updateStep1Text(); + + if (!(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id) || !(refs !== null && refs !== void 0 && refs.environment)) { + return; + } + + refs.isLoading = true; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerInstallInstructions', + filter_limit: '-1', + idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer, + environment: refs === null || refs === void 0 ? void 0 : refs.environment, + idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id + }).then(function (instructions) { + refs.installInstructions = instructions; + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { + var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock]; + codeblocks.forEach(function (n) { + $(n).effect('highlight', {}, 1500); + }); + }); + }).finally(function () { + refs.isLoading = false; + }); + }, + linkTo: function linkTo(action, idSite, idContainer, hash) { + var url = external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: action, + idSite: idSite, + idContainer: idContainer + })); + + if (hash) { + url += "#?".concat(external_CoreHome_["MatomoUrl"].stringify(hash)); + } + + return "?".concat(url); + }, + updateStep1Text: function updateStep1Text() { + var _refs$site3; + + // eslint-disable-next-line + var refs = this.$refs.trackingCodeCommon; + + if (!(refs !== null && refs !== void 0 && (_refs$site3 = refs.site) !== null && _refs$site3 !== void 0 && _refs$site3.id)) { + return; + } // Allow an empty container ID, since we only need the site ID for the URL + + + var idContainer = !(refs !== null && refs !== void 0 && refs.idContainer) ? '' : refs.idContainer; + var manageContainerURL = this.linkTo('manageContainers', refs.site.id, idContainer); + this.setupStep1 = Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep1', '
', '', ""), ''); + } + }, + mounted: function mounted() { + this.updateStep1Text(); + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue + + + +TagmanagerTrackingCodevue_type_script_lang_ts.render = TagmanagerTrackingCodevue_type_template_id_6a09ff25_render + +/* harmony default export */ var TagmanagerTrackingCode = (TagmanagerTrackingCodevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=3b68ce26 + +var TrackingCodePagevue_type_template_id_3b68ce26_hoisted_1 = { + key: 0 +}; +var TrackingCodePagevue_type_template_id_3b68ce26_hoisted_2 = ["innerHTML"]; + +var TrackingCodePagevue_type_template_id_3b68ce26_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var TrackingCodePagevue_type_template_id_3b68ce26_hoisted_4 = ["innerHTML"]; + +var TrackingCodePagevue_type_template_id_3b68ce26_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +function TrackingCodePagevue_type_template_id_3b68ce26_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_TagmanagerTrackingCode = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TagmanagerTrackingCode"); + + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); + + return _ctx.currentAction === 'siteWithoutDataTabs' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", TrackingCodePagevue_type_template_id_3b68ce26_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", { + innerHTML: _ctx.$sanitize(_ctx.siteWithoutDataMtmIntro) + }, null, 8, TrackingCodePagevue_type_template_id_3b68ce26_hoisted_2), TrackingCodePagevue_type_template_id_3b68ce26_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("strong", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('SitesManager_SiteWithoutDataCloudflareFollowStepsIntro')), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagmanagerTrackingCode, { + "show-container-row": _ctx.showContainerRow, + "current-action": _ctx.currentAction, + showTestSection: _ctx.isJsTrackerInstallCheckAvailable + }, null, 8, ["show-container-row", "current-action", "showTestSection"])])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ContentBlock, { + key: 1, + anchor: "tagmanager", + "content-title": _ctx.translate('TagManager_MatomoTagManager') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", { + innerHTML: _ctx.$sanitize(_ctx.siteWithoutDataMtmIntro) + }, null, 8, TrackingCodePagevue_type_template_id_3b68ce26_hoisted_4), TrackingCodePagevue_type_template_id_3b68ce26_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("strong", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('SitesManager_SiteWithoutDataCloudflareFollowStepsIntro')), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TagmanagerTrackingCode, { + "show-container-row": _ctx.showContainerRow, + "current-action": _ctx.currentAction, + showTestSection: false + }, null, 8, ["show-container-row", "current-action"])]; + }), + _: 1 + }, 8, ["content-title"])); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=3b68ce26 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts + + + +/* harmony default export */ var TrackingCodePagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + currentAction: String, + showContainerRow: Boolean, + isJsTrackerInstallCheckAvailable: Boolean + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"], + TagmanagerTrackingCode: TagmanagerTrackingCode + }, + computed: { + trackingInfoTextLine1: function trackingInfoTextLine1() { + var manageContainersLink = "?".concat(external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: 'manageContainers' + }))); + return Object(external_CoreHome_["translate"])('TagManager_MatomoTagManagerTrackingInfoLine1', ""), ''); + }, + trackingInfoTextLine2: function trackingInfoTextLine2() { + var gettingStartedLink = "?".concat(external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: 'gettingStarted' + }))); + return Object(external_CoreHome_["translate"])('TagManager_MatomoTagManagerTrackingInfoLine2', ""), ''); + }, + siteWithoutDataMtmIntro: function siteWithoutDataMtmIntro() { + var gettingStartedLink = "?".concat(external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: 'gettingStarted' + }))); + return Object(external_CoreHome_["translate"])('TagManager_SiteWithoutDataMtmIntro', ""), ''); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue + + + +TrackingCodePagevue_type_script_lang_ts.render = TrackingCodePagevue_type_template_id_3b68ce26_render + +/* harmony default export */ var TrackingCodePage = (TrackingCodePagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=4a0674e4 + +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_1 = { + class: "list-style-decimal" +}; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_2 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_3 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_4 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_5 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_6 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_7 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_8 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_9 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_10 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_11 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_12 = { + style: { + "list-style": "lower-alpha", + "list-style-position": "inside", + "text-indent": "1.2rem" + } +}; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_13 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_14 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_15 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_16 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_17 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_18 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_19 = ["textContent"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_20 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_21 = ["innerHTML"]; +var TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_22 = ["textContent"]; +function TrackingSPAPagevue_type_template_id_4a0674e4_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_TrackingCodeCommon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TrackingCodeCommon"); + + var _directive_select_on_focus = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("select-on-focus"); + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ol", TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_1, [_ctx.showContainerRow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: 0, + innerHTML: _ctx.$sanitize(_ctx.setupStep1) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TrackingCodeCommon, { + "show-container-row": _ctx.showContainerRow, + "current-action": _ctx.currentAction, + showBottom: false, + showDescription: false, + onFetchInstallInstructions: _ctx.fetchInstallInstructionsSPA, + ref: "trackingCodeCommon" + }, null, 8, ["show-container-row", "current-action", "onFetchInstallInstructions"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.setupStep2) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_3), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep3) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('TagManager_CreateNewTrigger')) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep5) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('TagManager_CreateNewTrigger')) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_7), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.setupStep7) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_8), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep8) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_9), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep9) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_10), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep10) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_11), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ol", TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10a) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_13), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10b) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_14)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep11) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_15), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('General_Update')) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_16), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep13) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_17), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep14) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep15) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_19), _ctx.jsFramework === 'react' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: 1, + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16React) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_20)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + key: 2, + innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16SPA) + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_21)), (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.installInstructions, function (installInstruction, 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_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("pre", { + class: "codeblock", + textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.embedCode), + ref: "codeblock" + }, null, 8, TrackingSPAPagevue_type_template_id_4a0674e4_hoisted_22), [[_directive_select_on_focus, {}]])]); + }), 128))]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=4a0674e4 + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts + + + +/* harmony default export */ var TrackingSPAPagevue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + showContainerRow: Boolean, + currentAction: String, + jsFramework: String + }, + components: { + TrackingCodeCommon: TrackingCodeCommon + }, + directives: { + SelectOnFocus: external_CoreHome_["SelectOnFocus"] + }, + data: function data() { + return { + setupStep1: '', + setupStep2: '', + setupStep7: '', + installInstructions: [] + }; + }, + methods: { + fetchInstallInstructionsSPA: function fetchInstallInstructionsSPA() { + var _refs$site, + _refs$site2, + _this = this; + + // eslint-disable-next-line + var refs = this.$refs.trackingCodeCommon; + this.installInstructions = []; + + if (!(refs !== null && refs !== void 0 && refs.idContainer) || !(refs !== null && refs !== void 0 && refs.environment) || !(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id)) { + return; + } + + var manageContainerURL = this.linkTo('manageContainers', refs.site.id, refs.idContainer); + this.setupStep1 = Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep1', '
', '', ""), ''); + var triggersUrl = this.linkTo('manageTriggers', refs.site.id, refs.idContainer); + this.setupStep2 = Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep2', ""), ''); + var tagsURL = this.linkTo('manageTags', refs.site.id, refs.idContainer); + this.setupStep7 = Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep7', ""), ''); + refs.isLoading = true; + external_CoreHome_["AjaxHelper"].fetch({ + method: 'TagManager.getContainerInstallInstructions', + filter_limit: '-1', + idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer, + environment: refs === null || refs === void 0 ? void 0 : refs.environment, + idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id, + jsFramework: this.jsFramework + }).then(function (instructions) { + _this.installInstructions = instructions; + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { + var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock]; + codeblocks.forEach(function (n) { + $(n).effect('highlight', {}, 1500); + }); + }); + }).finally(function () { + refs.isLoading = false; + }); + }, + linkTo: function linkTo(action, idSite, idContainer, hash) { + var url = external_CoreHome_["MatomoUrl"].stringify(Object.assign(Object.assign({}, external_CoreHome_["MatomoUrl"].urlParsed.value), {}, { + module: 'TagManager', + action: action, + idSite: idSite, + idContainer: idContainer + })); + + if (hash) { + url += "#?".concat(external_CoreHome_["MatomoUrl"].stringify(hash)); + } + + return "?".concat(url); + }, + fetchClickX: function fetchClickX(clickTarget) { + return Object(external_CoreHome_["translate"])('General_ClickX', Object(external_CoreHome_["translate"])(clickTarget)); + } + }, + computed: { + fetchFollowStep3: function fetchFollowStep3() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep3', "".concat(Object(external_CoreHome_["translate"])('TagManager_PageViewTriggerName'), ""), Object(external_CoreHome_["translate"])('TagManager_PageViewTriggerName'), '', ''); + }, + fetchFollowStep5: function fetchFollowStep5() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep5', "".concat(Object(external_CoreHome_["translate"])('TagManager_HistoryChangeTriggerName'), ""), Object(external_CoreHome_["translate"])('TagManager_CategoryUserEngagement')); + }, + fetchFollowStep8: function fetchFollowStep8() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep8', "".concat(Object(external_CoreHome_["translate"])('TagManager_PageViewTriggerName'), ""), "".concat(Object(external_CoreHome_["translate"])('TagManager_MatomoTagName'), ""), Object(external_CoreHome_["translate"])('TagManager_PageViewTriggerName'), '', ''); + }, + fetchFollowStep9: function fetchFollowStep9() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep9', Object(external_CoreHome_["translate"])('TagManager_ConfigureWhatTagDoes'), Object(external_CoreHome_["translate"])('TagManager_CustomTitle'), '', ''); + }, + fetchFollowStep10: function fetchFollowStep10() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep10', Object(external_CoreHome_["translate"])('TagManager_CustomUrl')); + }, + fetchFollowStep10a: function fetchFollowStep10a() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep10a', '', '', Object(external_CoreHome_["translate"])('TagManager_CustomUrl')); + }, + fetchFollowStep10b: function fetchFollowStep10b() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep10b', Object(external_CoreHome_["translate"])('TagManager_CustomUrl'), '', ''); + }, + fetchFollowStep11: function fetchFollowStep11() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep11', Object(external_CoreHome_["translate"])('TagManager_ConfigureWhenTagDoes'), Object(external_CoreHome_["translate"])('TagManager_FireTriggerTitle'), "".concat(Object(external_CoreHome_["translate"])('TagManager_HistoryChangeTriggerName'), ""), "".concat(Object(external_CoreHome_["translate"])('TagManager_PageViewTriggerName'), "")); + }, + fetchFollowStep13: function fetchFollowStep13() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep13', Object(external_CoreHome_["translate"])('TagManager_Publish')); + }, + fetchFollowStep14: function fetchFollowStep14() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep14', Object(external_CoreHome_["translate"])('TagManager_VersionName'), '', ''); + }, + fetchFollowStep15: function fetchFollowStep15() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep15', Object(external_CoreHome_["translate"])('TagManager_CreateVersionAndPublishRelease')); + }, + fetchFollowStep16SPA: function fetchFollowStep16SPA() { + return Object(external_CoreHome_["translate"])('TagManager_SPAFollowStep16', '</head>', '', ''); + }, + fetchFollowStep16React: function fetchFollowStep16React() { + return Object(external_CoreHome_["translate"])('TagManager_ReactFollowStep16', '', '', 'App.js', 'React.useEffect', 'Hello World', 'React.js'); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue + + + +TrackingSPAPagevue_type_script_lang_ts.render = TrackingSPAPagevue_type_template_id_4a0674e4_render + +/* harmony default export */ var TrackingSPAPage = (TrackingSPAPagevue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=6e8e3aea + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_1 = { + class: "nav-wrapper" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_2 = { + class: "pull-right" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("svg", { + "aria-hidden": "true", + style: { + "position": "absolute", + "width": "0", + "height": "0", + "overflow": "hidden" + }, + version: "1.1", + xmlns: "http://www.w3.org/2000/svg", + "xmlns:xlink": "http://www.w3.org/1999/xlink" +}, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("defs", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("symbol", { + id: "tm-icon-checkmark", + viewBox: "0 0 32 32" +}, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", { + d: "M27 4l-15 15-7-7-5 5 12 12 20-20z" +})])])], -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_4 = { + class: "page", + style: { + "clear": "both" + } +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_5 = { + key: 0, + id: "secondNavBar", + class: "Menu--dashboard z-depth-1" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_6 = { + class: "navbar", + role: "menu", + style: { + "padding": "0" + } +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_7 = { + class: "menuTab", + role: "menuitem" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_8 = { + class: "item", + style: { + "font-weight": "normal" + } +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_9 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Events "); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_10 = { + key: 0 +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_11 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_12 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_13 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", { + for: "onlyfiredTags", + class: "lbl-onlyfiredTags" +}, "Only fired tags", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_14 = { + key: 0, + style: { + "padding": "0 0 1rem 1.2rem" + } +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_15 = ["onClick", "title"]; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_16 = { + title: "This tag was fired" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_17 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("svg", { + class: "tm-icon tm-icon-checkmark" +}, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("use", { + "xlink:href": "#tm-icon-checkmark" +})], -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_18 = [Debuggingvue_type_template_id_6e8e3aea_hoisted_17]; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_19 = { + class: "pageWrap" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_20 = { + class: "home", + id: "content" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_21 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, "Fired Tags", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_22 = { + class: "entityTable" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Action"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Type"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Fired count")])], -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_24 = { + key: 0 +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_25 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + colspan: "4" +}, "No tags", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_26 = [Debuggingvue_type_template_id_6e8e3aea_hoisted_25]; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_27 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", { + style: { + "margin-top": "30px" + } +}, "Not Yet Fired Tags", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_28 = { + class: "entityTable" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_29 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Type")])], -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_30 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + colspan: "4" +}, "No tags", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_31 = [Debuggingvue_type_template_id_6e8e3aea_hoisted_30]; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_32 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, "Triggers", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_33 = { + class: "entityTable" +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_34 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Type")])], -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_35 = { + key: 0 +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_36 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + colspan: "4" +}, "No trigger", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_37 = [Debuggingvue_type_template_id_6e8e3aea_hoisted_36]; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_38 = { + key: 1 +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_39 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, "Pushed data by this event", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_40 = { + class: "entityTable" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_41 = { + style: { + "word-break": "break-all" + } +}; + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_42 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_43 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", null, "Content after this event", -1); + +var Debuggingvue_type_template_id_6e8e3aea_hoisted_44 = { + class: "entityTable" +}; +var Debuggingvue_type_template_id_6e8e3aea_hoisted_45 = { + style: { + "word-break": "break-all" + } +}; +var _hoisted_46 = { + class: "entityTable" +}; + +var _hoisted_47 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Type"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Value")])], -1); + +var _hoisted_48 = { + key: 0 +}; + +var _hoisted_49 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", { + colspan: "3" +}, "No variables", -1); + +var _hoisted_50 = [_hoisted_49]; +var _hoisted_51 = { + style: { + "word-break": "break-all" + } +}; +var _hoisted_52 = { + class: "entityTable" +}; + +var _hoisted_53 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("thead", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Time"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("th", null, "Message")])], -1); + +var _hoisted_54 = { + style: { + "word-break": "break-all" + } +}; + +var _hoisted_55 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +function Debuggingvue_type_template_id_6e8e3aea_render(_ctx, _cache, $props, $setup, $data, $options) { + var _ctx$selectedEvent, _ctx$selectedEvent$ta, _ctx$selectedEvent2, _ctx$selectedEvent3, _ctx$selectedEvent4, _ctx$selectedEvent5, _ctx$selectedEvent5$c, _ctx$selectedEvent5$c2, _ctx$selectedEvent6, _ctx$selectedEvent6$c; + + return 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"])("nav", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Debuggingvue_type_template_id_6e8e3aea_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "logo")]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])({ + 'active': _ctx.contentTab === 'tags' || !_ctx.contentTab + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[0] || (_cache[0] = function ($event) { + return _ctx.contentTab = 'tags'; + }) + }, "Tags")], 2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])({ + 'active': _ctx.contentTab === 'triggers' + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[1] || (_cache[1] = function ($event) { + return _ctx.contentTab = 'triggers'; + }) + }, "Triggers")], 2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])({ + 'active': _ctx.contentTab === 'variables' + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[2] || (_cache[2] = function ($event) { + return _ctx.contentTab = 'variables'; + }) + }, "Variables")], 2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])({ + 'active': _ctx.contentTab === 'dataLayer' + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[3] || (_cache[3] = function ($event) { + return _ctx.contentTab = 'dataLayer'; + }) + }, "Data Layer")], 2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])({ + 'active': _ctx.contentTab === 'logs' + }) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + onClick: _cache[4] || (_cache[4] = function ($event) { + return _ctx.contentTab = 'logs'; + }) + }, "Logs")], 2), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", Debuggingvue_type_template_id_6e8e3aea_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { + id: "mtmUpdateDebugPosition", + onClick: _cache[5] || (_cache[5] = function ($event) { + return _ctx.mtmUpdateDebugPosition(); + }) + }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.positionText), 1)])])])]), Debuggingvue_type_template_id_6e8e3aea_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Debuggingvue_type_template_id_6e8e3aea_hoisted_4, [_ctx.contentTab !== 'logs' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Debuggingvue_type_template_id_6e8e3aea_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", Debuggingvue_type_template_id_6e8e3aea_hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", Debuggingvue_type_template_id_6e8e3aea_hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", Debuggingvue_type_template_id_6e8e3aea_hoisted_8, [Debuggingvue_type_template_id_6e8e3aea_hoisted_9, _ctx.mtmEvents.length > 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", Debuggingvue_type_template_id_6e8e3aea_hoisted_10, [Debuggingvue_type_template_id_6e8e3aea_hoisted_11, Debuggingvue_type_template_id_6e8e3aea_hoisted_12, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { + type: "checkbox", + class: "onlyFiredTags-chk", + name: "onlyfiredTags", + id: "onlyfiredTags", + value: "1", + "onUpdate:modelValue": _cache[6] || (_cache[6] = function ($event) { + return _ctx.onlyfiredTags = $event; + }), + style: { + "margin-right": "3.5px" + } + }, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelCheckbox"], _ctx.onlyfiredTags]]), Debuggingvue_type_template_id_6e8e3aea_hoisted_13])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])]), _ctx.mtmEvents.length === 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", Debuggingvue_type_template_id_6e8e3aea_hoisted_14, "No event executed")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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.mtmEventsReversed, function (event, index) { + var _event$metTrigger, _event$tags; + + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { + class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["menuTab", { + 'active': index === _ctx.selectedEventIndex + }]), + role: "menuitem", + key: index + }, [(event.tags || []).length || !_ctx.onlyfiredTags ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", { + key: 0, + class: "item", + onClick: function onClick($event) { + return _ctx.selectEvent(event.index0); + }, + title: "Time: ".concat(event.time, ". Trigger: ").concat((_event$metTrigger = event.metTrigger) === null || _event$metTrigger === void 0 ? void 0 : _event$metTrigger.name) + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(event.index) + ": " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(event.name) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", Debuggingvue_type_template_id_6e8e3aea_hoisted_16, Debuggingvue_type_template_id_6e8e3aea_hoisted_18, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], (_event$tags = event.tags) === null || _event$tags === void 0 ? void 0 : _event$tags.length]])], 8, Debuggingvue_type_template_id_6e8e3aea_hoisted_15)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2); + }), 128))])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Debuggingvue_type_template_id_6e8e3aea_hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Debuggingvue_type_template_id_6e8e3aea_hoisted_20, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.homeTabTitle), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab !== 'logs']]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Debuggingvue_type_template_id_6e8e3aea_hoisted_21, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", Debuggingvue_type_template_id_6e8e3aea_hoisted_22, [Debuggingvue_type_template_id_6e8e3aea_hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [!((_ctx$selectedEvent = _ctx.selectedEvent) !== null && _ctx$selectedEvent !== void 0 && (_ctx$selectedEvent$ta = _ctx$selectedEvent.tags) !== null && _ctx$selectedEvent$ta !== void 0 && _ctx$selectedEvent$ta.length) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", Debuggingvue_type_template_id_6e8e3aea_hoisted_24, Debuggingvue_type_template_id_6e8e3aea_hoisted_26)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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$selectedEvent2 = _ctx.selectedEvent) === null || _ctx$selectedEvent2 === void 0 ? void 0 : _ctx$selectedEvent2.tags) || [], function (tag, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.action), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.type), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.numExecuted), 1)]); + }), 128))])]), Debuggingvue_type_template_id_6e8e3aea_hoisted_27, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", Debuggingvue_type_template_id_6e8e3aea_hoisted_28, [Debuggingvue_type_template_id_6e8e3aea_hoisted_29, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, Debuggingvue_type_template_id_6e8e3aea_hoisted_31, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.notFiredTags.length === 0]]), (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.notFiredTags, function (tag, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(tag.type), 1)]); + }), 128))])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab === 'tags' || !_ctx.contentTab]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Debuggingvue_type_template_id_6e8e3aea_hoisted_32, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", Debuggingvue_type_template_id_6e8e3aea_hoisted_33, [Debuggingvue_type_template_id_6e8e3aea_hoisted_34, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [!((_ctx$selectedEvent3 = _ctx.selectedEvent) !== null && _ctx$selectedEvent3 !== void 0 && _ctx$selectedEvent3.metTrigger) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", Debuggingvue_type_template_id_6e8e3aea_hoisted_35, Debuggingvue_type_template_id_6e8e3aea_hoisted_37)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (_ctx$selectedEvent4 = _ctx.selectedEvent) !== null && _ctx$selectedEvent4 !== void 0 && _ctx$selectedEvent4.metTrigger ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", Debuggingvue_type_template_id_6e8e3aea_hoisted_38, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.selectedEvent.metTrigger.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.selectedEvent.metTrigger.type), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab === 'triggers']]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Debuggingvue_type_template_id_6e8e3aea_hoisted_39, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", Debuggingvue_type_template_id_6e8e3aea_hoisted_40, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", Debuggingvue_type_template_id_6e8e3aea_hoisted_41, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.selectedEventData), 1)])])]), Debuggingvue_type_template_id_6e8e3aea_hoisted_42, Debuggingvue_type_template_id_6e8e3aea_hoisted_43, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", Debuggingvue_type_template_id_6e8e3aea_hoisted_44, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tr", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", Debuggingvue_type_template_id_6e8e3aea_hoisted_45, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.selectedEventContainerDataLayer), 1)])])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab === 'dataLayer']]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", _hoisted_46, [_hoisted_47, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [!((_ctx$selectedEvent5 = _ctx.selectedEvent) !== null && _ctx$selectedEvent5 !== void 0 && (_ctx$selectedEvent5$c = _ctx$selectedEvent5.container) !== null && _ctx$selectedEvent5$c !== void 0 && (_ctx$selectedEvent5$c2 = _ctx$selectedEvent5$c.variables) !== null && _ctx$selectedEvent5$c2 !== void 0 && _ctx$selectedEvent5$c2.length) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", _hoisted_48, _hoisted_50)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), (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$selectedEvent6 = _ctx.selectedEvent) === null || _ctx$selectedEvent6 === void 0 ? void 0 : (_ctx$selectedEvent6$c = _ctx$selectedEvent6.container) === null || _ctx$selectedEvent6$c === void 0 ? void 0 : _ctx$selectedEvent6$c.variables) || [], function (variable, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.name), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(variable.type), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", _hoisted_51, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.stringifySelectedVariable(variable)), 1)]); + }), 128))])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab === 'variables']]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("table", _hoisted_52, [_hoisted_53, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("tbody", null, [(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.mtmLogs, function (log, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("tr", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(log.time), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("td", _hoisted_54, [(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"])(log.messages, function (logMessage, index) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", { + key: index + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(logMessage), 1), _hoisted_55]); + }), 128))])]); + }), 128))])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.contentTab === 'logs']])])])])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=6e8e3aea + +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts +var _window$mtmDbgData, _window$mtmDbgData2; + +function Debuggingvue_type_script_lang_ts_toConsumableArray(arr) { return Debuggingvue_type_script_lang_ts_arrayWithoutHoles(arr) || Debuggingvue_type_script_lang_ts_iterableToArray(arr) || Debuggingvue_type_script_lang_ts_unsupportedIterableToArray(arr) || Debuggingvue_type_script_lang_ts_nonIterableSpread(); } + +function Debuggingvue_type_script_lang_ts_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function Debuggingvue_type_script_lang_ts_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Debuggingvue_type_script_lang_ts_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Debuggingvue_type_script_lang_ts_arrayLikeToArray(o, minLen); } + +function Debuggingvue_type_script_lang_ts_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function Debuggingvue_type_script_lang_ts_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return Debuggingvue_type_script_lang_ts_arrayLikeToArray(arr); } + +function Debuggingvue_type_script_lang_ts_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function Debuggingvue_type_script_lang_ts_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Debuggingvue_type_script_lang_ts_typeof = function _typeof(obj) { return typeof obj; }; } else { Debuggingvue_type_script_lang_ts_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Debuggingvue_type_script_lang_ts_typeof(obj); } + +/* eslint-disable @typescript-eslint/no-explicit-any */ + + +window.mtmDbgData = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ + mtmEvents: ((_window$mtmDbgData = window.mtmDbgData) === null || _window$mtmDbgData === void 0 ? void 0 : _window$mtmDbgData.mtmEvents) || [], + mtmLogs: ((_window$mtmDbgData2 = window.mtmDbgData) === null || _window$mtmDbgData2 === void 0 ? void 0 : _window$mtmDbgData2.mtmLogs) || [] +}); +var cookieName = 'mtmPreviewPosition'; +var stickyTextTop = 'Stick to Top'; +var stickyTextBottom = 'Stick to Bottom'; + +function getCircularReplacer() { + var seen = new WeakSet(); + + function circular(key, value) { + if (Debuggingvue_type_script_lang_ts_typeof(value) === 'object' && value !== null) { + if (seen.has(value)) { + return ''; + } + + seen.add(value); + } + + return value; + } + + return circular; +} + +/* harmony default export */ var Debuggingvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + data: function data() { + return { + contentTab: 'tags', + selectedEventIndex: 0, + onlyfiredTags: false, + positionText: Object(external_CoreHome_["getCookie"])(cookieName) === 'top' ? stickyTextBottom : stickyTextTop + }; + }, + methods: { + mtmUpdateDebugPosition: function mtmUpdateDebugPosition() { + var sevenDays = 7 * 60 * 60 * 24 * 1000; + var currentCookieValue = Object(external_CoreHome_["getCookie"])(cookieName); + var cookieValue = currentCookieValue === 'top' ? 'bottom' : 'top'; + Object(external_CoreHome_["setCookie"])(cookieName, cookieValue, sevenDays); + var iframe = window.parent.document.getElementById('mtmDebugFrame'); + + if (cookieValue === 'top') { + this.positionText = stickyTextBottom; + iframe.classList.remove('mtmStickyBottom'); + iframe.classList.add('mtmStickyTop'); + } else { + this.positionText = stickyTextTop; + iframe.classList.remove('mtmStickyTop'); + iframe.classList.add('mtmStickyBottom'); + } + }, + selectEvent: function selectEvent(eventIndex) { + if (!this.mtmEvents[eventIndex]) { + return; + } + + this.selectedEventIndex = eventIndex; + }, + stringifySelectedVariable: function stringifySelectedVariable(variable) { + return JSON.stringify(variable.value, getCircularReplacer()); + } + }, + computed: { + homeTabTitle: function homeTabTitle() { + var _this$selectedEvent; + + if (!((_this$selectedEvent = this.selectedEvent) !== null && _this$selectedEvent !== void 0 && _this$selectedEvent.container)) { + return ''; + } + + var versionName = this.selectedEvent.container.versionName || 'Draft version'; + var container = this.selectedEvent.container.id; + var eventNum = this.selectedEventIndex + 1; + return "Event ".concat(eventNum, ": ").concat(this.selectedEvent.name, " (").concat(container, " - ").concat(versionName, ")"); + }, + notFiredTags: function notFiredTags() { + var _this$selectedEvent2; + + if (!((_this$selectedEvent2 = this.selectedEvent) !== null && _this$selectedEvent2 !== void 0 && _this$selectedEvent2.container)) { + return []; + } + + var eventIndex = this.selectedEventIndex; + var tagsFired = []; + this.mtmEvents.forEach(function (event, i) { + if (i > eventIndex) { + return; + } + + tagsFired.push.apply(tagsFired, Debuggingvue_type_script_lang_ts_toConsumableArray(event.tags.map(function (tag) { + return tag.name; + }))); + }); + var tagsNotFired = []; + this.selectedEvent.container.tags.forEach(function (tag) { + if (tagsFired.indexOf(tag.name) === -1) { + tagsNotFired.push(tag); + } + }); + return tagsNotFired; + }, + selectedEvent: function selectedEvent() { + return this.mtmEvents[this.selectedEventIndex]; + }, + mtmEvents: function mtmEvents() { + return window.mtmDbgData.mtmEvents; + }, + mtmEventsReversed: function mtmEventsReversed() { + var result = Debuggingvue_type_script_lang_ts_toConsumableArray(this.mtmEvents); + + result.reverse(); + return result; + }, + mtmLogs: function mtmLogs() { + return window.mtmDbgData.mtmLogs; + }, + selectedEventData: function selectedEventData() { + var _this$selectedEvent3; + + return ((_this$selectedEvent3 = this.selectedEvent) === null || _this$selectedEvent3 === void 0 ? void 0 : _this$selectedEvent3.eventData) && JSON.stringify(this.selectedEvent.eventData, getCircularReplacer()); + }, + selectedEventContainerDataLayer: function selectedEventContainerDataLayer() { + var _this$selectedEvent4, _this$selectedEvent4$; + + return ((_this$selectedEvent4 = this.selectedEvent) === null || _this$selectedEvent4 === void 0 ? void 0 : (_this$selectedEvent4$ = _this$selectedEvent4.container) === null || _this$selectedEvent4$ === void 0 ? void 0 : _this$selectedEvent4$.dataLayer) && JSON.stringify(this.selectedEvent.container.dataLayer, getCircularReplacer()); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/Debugging/Debugging.vue + + + +Debuggingvue_type_script_lang_ts.render = Debuggingvue_type_template_id_6e8e3aea_render + +/* harmony default export */ var Debugging = (Debuggingvue_type_script_lang_ts); +// 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/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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=59c1c002 + +var GettingStartedvue_type_template_id_59c1c002_hoisted_1 = { + class: "tagManagerGettingStarted" +}; + +var GettingStartedvue_type_template_id_59c1c002_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_4 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_5 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_6 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_7 = ["innerHTML"]; + +var GettingStartedvue_type_template_id_59c1c002_hoisted_8 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_9 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); + +var GettingStartedvue_type_template_id_59c1c002_hoisted_11 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", null, null, -1); -/***/ }), +var GettingStartedvue_type_template_id_59c1c002_hoisted_12 = ["innerHTML"]; +function GettingStartedvue_type_template_id_59c1c002_render(_ctx, _cache, $props, $setup, $data, $options) { + var _component_ContentBlock = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ContentBlock"); -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { + return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", GettingStartedvue_type_template_id_59c1c002_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStarted')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + "content-title": _ctx.translate('CorePluginsAdmin_WhatIsTagManager') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedWhatIsIntro')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedAnalyticsTracking')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedConversionTracking')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedNewsletterSignups')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedExitActions')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedRemarketing')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedSocialWidgets')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedAffiliates')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedAds')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedAndMore')), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [GettingStartedvue_type_template_id_59c1c002_hoisted_2, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedMainComponents')), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedTagComponent')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedTriggerComponent')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedVariableComponent')), 1)])]; + }), + _: 1 + }, 8, ["content-title"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + "content-title": _ctx.translate('TagManager_GettingStartedWhyDoINeed') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedWhyMakesLifeEasier')) + " ", 1), GettingStartedvue_type_template_id_59c1c002_hoisted_3, GettingStartedvue_type_template_id_59c1c002_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedWhyThirdPartySnippets')) + " ", 1), GettingStartedvue_type_template_id_59c1c002_hoisted_5, GettingStartedvue_type_template_id_59c1c002_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedWhyAccuracyPerformance')), 1)])]; + }), + _: 1 + }, 8, ["content-title"]), _ctx.canEdit ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ContentBlock, { + key: 0, + "content-title": _ctx.translate('TagManager_GettingStartedHowDoI') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.gettingStartedHowCreateContainerText) + }, null, 8, GettingStartedvue_type_template_id_59c1c002_hoisted_7), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedHowCopyCode')) + " ", 1), GettingStartedvue_type_template_id_59c1c002_hoisted_8, GettingStartedvue_type_template_id_59c1c002_hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedHowAddTagsToContainer')), 1)])]; + }), + _: 1 + }, 8, ["content-title"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ContentBlock, { + "content-title": _ctx.translate('TagManager_GettingStartedWhatIfUnsupported') + }, { + default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () { + return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('TagManager_GettingStartedCustomTags')) + " ", 1), GettingStartedvue_type_template_id_59c1c002_hoisted_10, GettingStartedvue_type_template_id_59c1c002_hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { + innerHTML: _ctx.$sanitize(_ctx.gettingStartedContributeTagsText) + }, null, 8, GettingStartedvue_type_template_id_59c1c002_hoisted_12)])]; + }), + _: 1 + }, 8, ["content-title"])]); +} +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=59c1c002 -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); +// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/* harmony default export */ var GettingStartedvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ + props: { + canEdit: Boolean + }, + components: { + ContentBlock: external_CoreHome_["ContentBlock"] + }, + computed: { + gettingStartedHowCreateContainerText: function gettingStartedHowCreateContainerText() { + var link = "?".concat(external_CoreHome_["MatomoUrl"].stringify({ + module: 'TagManager', + action: 'manageContainers' + }), "}"); + return Object(external_CoreHome_["translate"])('TagManager_GettingStartedHowCreateContainer', ""), ''); + }, + gettingStartedContributeTagsText: function gettingStartedContributeTagsText() { + var link = 'https://developer.matomo.org/guides/tagmanager/settingup'; + return Object(external_CoreHome_["translate"])('TagManager_GettingStartedContributeTags', ""), ''); + } + } +})); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts + +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionList.vue?vue&type=template&id=1b2442e8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +GettingStartedvue_type_script_lang_ts.render = GettingStartedvue_type_template_id_59c1c002_render -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionManage.vue?vue&type=template&id=67625b5a */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a\");\n/* harmony import */ var _VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); +/* harmony default export */ var GettingStarted = (GettingStartedvue_type_script_lang_ts); +// CONCATENATED MODULE: ./plugins/TagManager/vue/src/index.ts +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionManage.vue?vue&type=template&id=67625b5a */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionNameHelpText.vue?vue&type=template&id=709ad3b2 */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2\");\n/* harmony import */ var _VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionNameHelpText.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionNameHelpText.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionNameHelpText.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionNameHelpText.vue?vue&type=template&id=709ad3b2 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/Versions.store.ts": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/Versions.store.ts ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar VersionsStore = /*#__PURE__*/function () {\n function VersionsStore() {\n var _this = this;\n\n _classCallCheck(this, VersionsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n versions: [],\n isLoadingVersions: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingVersions || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"versions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.versions;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n }\n\n _createClass(VersionsStore, [{\n key: \"reload\",\n value: function reload(idContainer) {\n this.privateState.versions = [];\n this.fetchPromise = null;\n return this.fetchVersions(idContainer);\n }\n }, {\n key: \"fetchVersions\",\n value: function fetchVersions(idContainer) {\n var _this2 = this;\n\n this.privateState.isLoadingVersions = true;\n this.privateState.versions = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVersions',\n idContainer: idContainer,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (versions) {\n _this2.privateState.versions = versions;\n _this2.privateState.isLoadingVersions = false;\n return _this2.versions.value;\n }).finally(function () {\n _this2.privateState.isLoadingVersions = false;\n });\n }\n }, {\n key: \"findVersion\",\n value: function findVersion(idContainer, idContainerVersion) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded versions\n var found = this.versions.value.find(function (v) {\n return v.idcontainerversion === idContainerVersion;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.getContainerVersion',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.versions = [].concat(_toConsumableArray(_this3.privateState.versions), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"deleteVersion\",\n value: function deleteVersion(idContainer, idContainerVersion) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.versions = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerVersion'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"publishVersion\",\n value: function publishVersion(idContainer, idContainerVersion, environment) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n environment: environment,\n method: 'TagManager.publishContainerVersion'\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"createOrUpdateVersion\",\n value: function createOrUpdateVersion(version, method, idContainer) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: method,\n idContainer: idContainer,\n idContainerVersion: version.idcontainerversion\n }, {\n name: version.name,\n description: version.description\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return VersionsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new VersionsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/Versions.store.ts?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/Version/diffDraftVersion.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/diffDraftVersion.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return diffDraftVersion; });\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_0__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n/**\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\nfunction diffDraftVersion(idContainer, idContainerVersionNew, idContainerVersionPrevious) {\n function findEntryInArray(array, name) {\n return array.find(function (v) {\n return v.name === name;\n });\n }\n\n function getDifference(entityType, array1, array2, keysToCheck) {\n var diff = [];\n array1.forEach(function (array1Item) {\n var matchingEntry = findEntryInArray(array2, array1Item.name);\n\n if (matchingEntry) {\n keysToCheck.some(function (key) {\n if (JSON.stringify(array1Item[key]) !== JSON.stringify(matchingEntry[key])) {\n // matching, check if different\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffModified',\n name: array1Item.name,\n lastChanged: array1Item.updated_date_pretty\n });\n return true;\n }\n\n return false;\n });\n return;\n }\n\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffAdded',\n name: array1Item.name,\n lastChanged: array1Item.updated_date_pretty\n });\n });\n array2.forEach(function (array2Item) {\n if (!findEntryInArray(array1, array2Item.name)) {\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffDeleted',\n name: array2Item.name,\n lastChanged: array2Item.updated_date_pretty\n });\n }\n });\n return diff;\n }\n\n function mixinTagTriggers(tags, triggers) {\n tags.forEach(function (tag) {\n tag.fire_triggers = [];\n tag.block_triggers = [];\n tag.fire_trigger_ids.forEach(function (idtrigger) {\n var trigger = triggers.find(function (t) {\n return t.idtrigger === idtrigger;\n });\n\n if (trigger) {\n tag.fire_triggers.push(trigger.name);\n }\n });\n tag.block_trigger_ids.forEach(function (idtrigger) {\n var trigger = triggers.find(function (t) {\n return t.idtrigger === idtrigger;\n });\n\n if (trigger) {\n tag.block_triggers.push(trigger.name);\n }\n });\n });\n }\n\n var draftVersion = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: idContainer,\n filter_limit: -1\n };\n\n if (idContainerVersionNew) {\n draftVersion.idContainerVersion = idContainerVersionNew;\n }\n\n var lastVersion = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: idContainer,\n idContainerVersion: idContainerVersionPrevious,\n filter_limit: -1\n };\n return CoreHome__WEBPACK_IMPORTED_MODULE_0__[\"AjaxHelper\"].fetch([draftVersion, lastVersion]).then(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n draft = _ref2[0],\n last = _ref2[1];\n\n mixinTagTriggers(draft.tags, draft.triggers);\n mixinTagTriggers(last.tags, last.triggers);\n var diff1 = getDifference('TagManager_Tag', draft.tags, last.tags, ['name', 'type', 'fire_limit', 'priority', 'fire_delay', 'fire_triggers', 'block_triggers', 'parameters']);\n var diff2 = getDifference('TagManager_Trigger', draft.triggers, last.triggers, ['name', 'type', 'conditions', 'parameters']);\n var diff3 = getDifference('TagManager_Variable', draft.variables, last.variables, ['name', 'type', 'lookup_table', 'default_value', 'parameters']);\n return [].concat(_toConsumableArray(diff1), _toConsumableArray(diff2), _toConsumableArray(diff3));\n });\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/diffDraftVersion.ts?"); -/***/ }), -/***/ "./plugins/TagManager/vue/src/index.ts": -/*!*********************************************!*\ - !*** ./plugins/TagManager/vue/src/index.ts ***! - \*********************************************/ -/*! exports provided: ImportVersion, VariableSelect, VariableSelectType, FieldTextareaVariable, FieldVariableTemplate, FieldVariableTypeTemplate, VariableEdit, VariableList, VariableManage, TriggerEdit, TriggerList, TriggerManage, TagEdit, TagList, TagManage, VersionEdit, VersionList, VersionManage, ContainerEdit, ContainerList, ContainerManage, ContainerDashboard, ContainerSelector, ManageInstallTagCode, TagmanagerTrackingCode, TrackingCodeCommon, TrackingCodePage, TrackingSPAPage, Debugging, GettingStarted */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ImportVersion_ImportVersion_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ImportVersion/ImportVersion.vue */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImportVersion\", function() { return _ImportVersion_ImportVersion_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _VariableSelect_VariableSelect_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelect/VariableSelect.vue */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelect\", function() { return _VariableSelect_VariableSelect_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VariableSelectType/VariableSelectType.vue */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelectType\", function() { return _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldTextareaVariable_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Field/FieldTextareaVariable.vue */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldTextareaVariable\", function() { return _Field_FieldTextareaVariable_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldVariableTemplate_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Field/FieldVariableTemplate.vue */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTemplate\", function() { return _Field_FieldVariableTemplate_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldVariableTypeTemplate_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Field/FieldVariableTypeTemplate.vue */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTypeTemplate\", function() { return _Field_FieldVariableTypeTemplate_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableEdit_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Variable/VariableEdit.vue */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableEdit\", function() { return _Variable_VariableEdit_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableList_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Variable/VariableList.vue */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableList\", function() { return _Variable_VariableList_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableManage_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Variable/VariableManage.vue */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableManage\", function() { return _Variable_VariableManage_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Trigger/TriggerEdit.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerEdit\", function() { return _Trigger_TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerList_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Trigger/TriggerList.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerList\", function() { return _Trigger_TriggerList_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerManage_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Trigger/TriggerManage.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerManage\", function() { return _Trigger_TriggerManage_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagEdit_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Tag/TagEdit.vue */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagEdit\", function() { return _Tag_TagEdit_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagList_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Tag/TagList.vue */ \"./plugins/TagManager/vue/src/Tag/TagList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagList\", function() { return _Tag_TagList_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagManage_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Tag/TagManage.vue */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagManage\", function() { return _Tag_TagManage_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionEdit_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Version/VersionEdit.vue */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionEdit\", function() { return _Version_VersionEdit_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionList_vue__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Version/VersionList.vue */ \"./plugins/TagManager/vue/src/Version/VersionList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionList\", function() { return _Version_VersionList_vue__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionManage_vue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Version/VersionManage.vue */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionManage\", function() { return _Version_VersionManage_vue__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Container/ContainerEdit.vue */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerEdit\", function() { return _Container_ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerList_vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Container/ContainerList.vue */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerList\", function() { return _Container_ContainerList_vue__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerManage_vue__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Container/ContainerManage.vue */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerManage\", function() { return _Container_ContainerManage_vue__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; });\n\n/* harmony import */ var _ContainerDashboard_ContainerDashboard_vue__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ContainerDashboard/ContainerDashboard.vue */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerDashboard\", function() { return _ContainerDashboard_ContainerDashboard_vue__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; });\n\n/* harmony import */ var _ContainerSelector_ContainerSelector_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ContainerSelector/ContainerSelector.vue */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerSelector\", function() { return _ContainerSelector_ContainerSelector_vue__WEBPACK_IMPORTED_MODULE_22__[\"default\"]; });\n\n/* harmony import */ var _ManageInstallTagCode_ManageInstallTagCode_vue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./ManageInstallTagCode/ManageInstallTagCode.vue */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ManageInstallTagCode\", function() { return _ManageInstallTagCode_ManageInstallTagCode_vue__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TagmanagerTrackingCode.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagmanagerTrackingCode\", function() { return _TagmanagerTrackingCode_TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodeCommon\", function() { return _TagmanagerTrackingCode_TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingCodePage_vue__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingCodePage.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodePage\", function() { return _TagmanagerTrackingCode_TrackingCodePage_vue__WEBPACK_IMPORTED_MODULE_26__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingSPAPage_vue__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingSPAPage.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingSPAPage\", function() { return _TagmanagerTrackingCode_TrackingSPAPage_vue__WEBPACK_IMPORTED_MODULE_27__[\"default\"]; });\n\n/* harmony import */ var _Debugging_Debugging_vue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Debugging/Debugging.vue */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Debugging\", function() { return _Debugging_Debugging_vue__WEBPACK_IMPORTED_MODULE_28__[\"default\"]; });\n\n/* harmony import */ var _GettingStarted_GettingStarted_vue__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./GettingStarted/GettingStarted.vue */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GettingStarted\", function() { return _GettingStarted_GettingStarted_vue__WEBPACK_IMPORTED_MODULE_29__[\"default\"]; });\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/index.ts?"); -/***/ }), -/***/ "CoreHome": -/*!***************************!*\ - !*** external "CoreHome" ***! - \***************************/ -/*! no static exports found */ -/***/ (function(module, exports) { -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_CoreHome__;\n\n//# sourceURL=webpack://TagManager/external_%22CoreHome%22?"); -/***/ }), -/***/ "CorePluginsAdmin": -/*!***********************************!*\ - !*** external "CorePluginsAdmin" ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_CorePluginsAdmin__;\n\n//# sourceURL=webpack://TagManager/external_%22CorePluginsAdmin%22?"); +// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js -/***/ }), -/***/ "vue": -/*!******************************************************************!*\ - !*** external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_vue__;\n\n//# sourceURL=webpack://TagManager/external_%7B%22commonjs%22:%22vue%22,%22commonjs2%22:%22vue%22,%22root%22:%22Vue%22%7D?"); /***/ }) /******/ }); -}); \ No newline at end of file +}); +//# sourceMappingURL=TagManager.umd.js.map \ No newline at end of file diff --git a/vue/dist/TagManager.umd.min.js b/vue/dist/TagManager.umd.min.js index bfee48e4b..aba3d532f 100644 --- a/vue/dist/TagManager.umd.min.js +++ b/vue/dist/TagManager.umd.min.js @@ -1,2329 +1,68 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(require("CoreHome"), require("CorePluginsAdmin"), require("vue")); - else if(typeof define === 'function' && define.amd) - define(["CoreHome", "CorePluginsAdmin", ], factory); - else if(typeof exports === 'object') - exports["TagManager"] = factory(require("CoreHome"), require("CorePluginsAdmin"), require("vue")); - else - root["TagManager"] = factory(root["CoreHome"], root["CorePluginsAdmin"], root["Vue"]); -})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE_CoreHome__, __WEBPACK_EXTERNAL_MODULE_CorePluginsAdmin__, __WEBPACK_EXTERNAL_MODULE_vue__) { -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/TagManager/vue/dist/"; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n class: \"editContainer tagManagerManageEdit\",\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_1, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_3, [_hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"idcontainer\",\n \"model-value\": _ctx.container.idcontainer,\n disabled: true,\n title: _ctx.translate('General_Id')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.edit]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"context\",\n \"model-value\": _ctx.container.context,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.container.context = $event;\n\n _ctx.setValueHasChanged();\n }),\n disabled: true,\n options: _ctx.contexts,\n title: _ctx.translate('TagManager_Context'),\n \"inline-help\": _ctx.translate('TagManager_ContainerContextHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.container.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.container.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_ContainerNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.container.description,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = function ($event) {\n _ctx.container.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_ContainerDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.edit ? _ctx.updateContainer() : _ctx.createContainer();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewContainer')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])])], 32\n /* HYDRATE_EVENTS */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerContainerList\"\n};\nvar _hoisted_2 = {\n class: \"index\"\n};\nvar _hoisted_3 = {\n class: \"name\"\n};\nvar _hoisted_4 = {\n class: \"description\"\n};\nvar _hoisted_5 = {\n class: \"created\"\n};\nvar _hoisted_6 = {\n class: \"action\"\n};\nvar _hoisted_7 = {\n colspan: \"5\"\n};\nvar _hoisted_8 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_10 = {\n colspan: \"5\"\n};\nvar _hoisted_11 = [\"id\"];\nvar _hoisted_12 = [\"title\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = {\n class: \"created\"\n};\nvar _hoisted_16 = {\n class: \"action\"\n};\nvar _hoisted_17 = [\"href\", \"title\"];\nvar _hoisted_18 = [\"onClick\", \"title\"];\nvar _hoisted_19 = [\"onClick\", \"title\"];\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_22 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_23 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteContainer\",\n ref: \"confirmDeleteContainer\"\n};\nvar _hoisted_24 = [\"value\"];\nvar _hoisted_25 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Containers'))\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ContainerUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Id')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreatedDate')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [_hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoContainersFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createContainer();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewContainerNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.containers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedContainers, function (container) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"container\".concat(container.idcontainer),\n class: \"containers\",\n key: container.idcontainer\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"index\",\n title: \"\".concat(_ctx.translate('TagManager_Context'), \": \") + _ctx.contexts[container.context]\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.idcontainer), 9\n /* TEXT, PROPS */\n , _hoisted_12), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: container.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(container.description, 50)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(container.created_date_pretty), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-configure\",\n href: '?module=TagManager&action=' + _ctx.containerDefaultAction + '&idContainer=' + container.idcontainer + '&idSite=' + container.idsite + '&period=day&date=yesterday',\n title: _ctx.translate('TagManager_ConfigureX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_17), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action installCode icon-embed\",\n onClick: function onClick($event) {\n return _ctx.installCode(container.idcontainer);\n },\n title: _ctx.translate('TagManager_InstallCode')\n }, null, 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editContainer(container.idcontainer);\n },\n title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_19), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteContainer(container);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Container'))\n }, null, 8\n /* PROPS */\n , _hoisted_20), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 8\n /* PROPS */\n , _hoisted_11);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewContainer\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createContainer();\n })\n }, [_hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewContainer')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_23, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteContainerConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_24), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_25)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageContainer\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContainerList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContainerList\");\n\n var _component_ContainerEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContainerEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContainerList)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.editMode]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContainerEdit, {\n \"id-container\": _ctx.idContainer\n }, null, 8\n /* PROPS */\n , [\"id-container\"])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.editMode]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"containerDashboard\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n class: \"dashboardCreationDate\"\n};\nvar _hoisted_4 = {\n key: 0\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"row\",\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\nvar _hoisted_7 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = [\"href\", \"title\"];\nvar _hoisted_10 = {\n key: 0\n};\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = [\"href\"];\n\nvar _hoisted_13 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_14 = [\"href\"];\n\nvar _hoisted_15 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_16 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_17 = {\n key: 0\n};\nvar _hoisted_18 = [\"href\", \"title\"];\n\nvar _hoisted_19 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_20 = [\"href\"];\n\nvar _hoisted_21 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_22 = [\"href\"];\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n class: \"row\",\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\nvar _hoisted_25 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_26 = [\"href\", \"title\"];\nvar _hoisted_27 = {\n key: 0\n};\n\nvar _hoisted_28 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_29 = [\"href\"];\n\nvar _hoisted_30 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_31 = [\"href\"];\n\nvar _hoisted_32 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_33 = {\n class: \"col m6 s12\"\n};\nvar _hoisted_34 = [\"title\", \"href\"];\nvar _hoisted_35 = {\n key: 0\n};\n\nvar _hoisted_36 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_37 = [\"title\"];\nvar _hoisted_38 = {\n key: 0\n};\n\nvar _hoisted_39 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"hr\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_40 = [\"href\"];\n\nvar _hoisted_41 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_42 = [\"href\"];\n\nvar _hoisted_43 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$containerVersion, _ctx$containerVersion2;\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_EnrichedHeadline = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"EnrichedHeadline\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_intro = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-intro\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), !_ctx.isLoading ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_EnrichedHeadline, {\n \"feature-name\": \"Tag Manager\",\n \"inline-help\": _ctx.dashboardHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$container;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ContainerX', (_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : _ctx$container.name)), 1\n /* TEXT */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.containerMetaInformation) + \" \", 1\n /* TEXT */\n ), (_ctx$containerVersion = _ctx.containerVersion) !== null && _ctx$containerVersion !== void 0 && _ctx$containerVersion.description ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$containerVersion2 = _ctx.containerVersion) === null || _ctx$containerVersion2 === void 0 ? void 0 : _ctx$containerVersion2.description), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])], 512\n /* NEED_PATCH */\n ), [[_directive_content_intro]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.tagCount, \" \").concat(_ctx.translate('TagManager_Tags')),\n \"help-text\": _ctx.tagsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_ctx.tagCount ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedContainerVersionTags, function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageTags', {\n idTag: tag.idtag\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', tag.created_date_pretty, tag.updated_date_pretty, tag.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 9\n /* TEXT, PROPS */\n , _hoisted_9), index !== _ctx.sortedContainerVersionTags.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_10, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTags')\n }, [_hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditTags')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_12), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTags', {\n idTag: 0\n })\n }, [_hoisted_15, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTag')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_14)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.triggerCount, \" \").concat(_ctx.translate('TagManager_Triggers')),\n \"help-text\": _ctx.triggersHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_ctx.triggerCount ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_17, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTriggers, function (trigger, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageTriggers', {\n idTrigger: trigger.idtrigger\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', trigger.created_date_pretty, trigger.updated_date_pretty, trigger.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.name), 9\n /* TEXT, PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, \", \", 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index !== _ctx.sortedTriggers.length - 1]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), _hoisted_19, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTriggers')\n }, [_hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditTriggers')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageTriggers', {\n idTrigger: 0\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTrigger')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_22)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.variableCount, \" \").concat(_ctx.translate('TagManager_Variables')),\n \"help-text\": _ctx.variablesHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Names')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVariables, function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageVariables', {\n idVariable: variable.idvariable\n }),\n title: _ctx.translate('TagManager_EntityDateTypeMetaInformation', variable.created_date_pretty, variable.updated_date_pretty, variable.type)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 9\n /* TEXT, PROPS */\n , _hoisted_26), index !== _ctx.sortedVariables.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_27, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.variableCount]])]), _hoisted_28, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVariables')\n }, [_hoisted_30, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditVariables')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_29), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVariables', {\n idVariable: 0\n })\n }, [_hoisted_32, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_31)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": \"\".concat(_ctx.versionCount, \" \").concat(_ctx.translate('TagManager_Versions')),\n \"help-text\": _ctx.versionsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastVersions')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.lastVersions, function (lastVersion, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n title: _ctx.lastVersionLinkTitle(lastVersion),\n href: _ctx.linkTo('manageVersions', {\n idContainerVersion: lastVersion.idcontainerversion\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(lastVersion.name), 9\n /* TEXT, PROPS */\n , _hoisted_34), index !== _ctx.lastVersions.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_35, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.lastVersions.length]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [_hoisted_36, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environments')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.container.releases, function (release, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n title: _ctx.releaseTooltip(release)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 9\n /* TEXT, PROPS */\n , _hoisted_37), index !== _ctx.container.releases.length - 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_38, \", \")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.container.releases.length]])]), _hoisted_39, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVersions')\n }, [_hoisted_41, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EditVersions')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_40), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"btn-flat\",\n href: _ctx.linkTo('manageVersions', {\n idContainerVersion: 0\n })\n }, [_hoisted_43, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersion')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_42)];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"])])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = [\"title\"];\nvar _hoisted_2 = {\n class: \"title\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon icon-chevron-down\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"dropdown positionInViewport\"\n};\nvar _hoisted_5 = {\n class: \"custom_select_container\"\n};\nvar _hoisted_6 = {\n class: \"custom_select_ul_list\"\n};\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = [\"href\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _directive_focus_anywhere_but_here = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"focus-anywhere-but-here\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"tagContainerSelector piwikSelector borderedControl\", {\n expanded: _ctx.showContainerList\n }]),\n onClick: _cache[1] || (_cache[1] = function ($event) {\n _ctx.fetchContainers();\n\n _ctx.showContainerList = !_ctx.showContainerList;\n }),\n title: _ctx.translate('TagManager_ChooseContainer')\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.actualContainerName), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n tabindex: \"-1\",\n onClick: _cache[0] || (_cache[0] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function () {}, [\"prevent\", \"stop\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoContainersFound')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.containers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containers, function (containerEntry) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n title: \"\".concat(containerEntry.name, \" (\").concat(containerEntry.idcontainer, \")\"),\n key: containerEntry.idcontainer\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo(containerEntry.idcontainer)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(containerEntry.name) + \" (\" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(containerEntry.idcontainer) + \") \", 9\n /* TEXT, PROPS */\n , _hoisted_8)], 8\n /* PROPS */\n , _hoisted_7);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showContainerList]])], 10\n /* CLASS, PROPS */\n , _hoisted_1)), [[_directive_focus_anywhere_but_here, {\n blur: _ctx.onBlur\n }]]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"nav-wrapper\"\n};\nvar _hoisted_2 = {\n class: \"pull-right\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"svg\", {\n \"aria-hidden\": \"true\",\n style: {\n \"position\": \"absolute\",\n \"width\": \"0\",\n \"height\": \"0\",\n \"overflow\": \"hidden\"\n },\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"defs\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"symbol\", {\n id: \"tm-icon-checkmark\",\n viewBox: \"0 0 32 32\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"path\", {\n d: \"M27 4l-15 15-7-7-5 5 12 12 20-20z\"\n})])])], -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"page\",\n style: {\n \"clear\": \"both\"\n }\n};\nvar _hoisted_5 = {\n key: 0,\n id: \"secondNavBar\",\n class: \"Menu--dashboard z-depth-1\"\n};\nvar _hoisted_6 = {\n class: \"navbar\",\n role: \"menu\",\n style: {\n \"padding\": \"0\"\n }\n};\nvar _hoisted_7 = {\n class: \"menuTab\",\n role: \"menuitem\"\n};\nvar _hoisted_8 = {\n class: \"item\",\n style: {\n \"font-weight\": \"normal\"\n }\n};\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" Events \");\n\nvar _hoisted_10 = {\n key: 0\n};\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_13 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: \"onlyfiredTags\",\n class: \"lbl-onlyfiredTags\"\n}, \"Only fired tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_14 = {\n key: 0,\n style: {\n \"padding\": \"0 0 1rem 1.2rem\"\n }\n};\nvar _hoisted_15 = [\"onClick\", \"title\"];\nvar _hoisted_16 = {\n title: \"This tag was fired\"\n};\n\nvar _hoisted_17 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"svg\", {\n class: \"tm-icon tm-icon-checkmark\"\n}, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"use\", {\n \"xlink:href\": \"#tm-icon-checkmark\"\n})], -1\n/* HOISTED */\n);\n\nvar _hoisted_18 = [_hoisted_17];\nvar _hoisted_19 = {\n class: \"pageWrap\"\n};\nvar _hoisted_20 = {\n class: \"home\",\n id: \"content\"\n};\n\nvar _hoisted_21 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Fired Tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_22 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Action\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Fired count\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n key: 0\n};\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = [_hoisted_25];\n\nvar _hoisted_27 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", {\n style: {\n \"margin-top\": \"30px\"\n }\n}, \"Not Yet Fired Tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_28 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_29 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_30 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No tags\", -1\n/* HOISTED */\n);\n\nvar _hoisted_31 = [_hoisted_30];\n\nvar _hoisted_32 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Triggers\", -1\n/* HOISTED */\n);\n\nvar _hoisted_33 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_34 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_35 = {\n key: 0\n};\n\nvar _hoisted_36 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"4\"\n}, \"No trigger\", -1\n/* HOISTED */\n);\n\nvar _hoisted_37 = [_hoisted_36];\nvar _hoisted_38 = {\n key: 1\n};\n\nvar _hoisted_39 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Pushed data by this event\", -1\n/* HOISTED */\n);\n\nvar _hoisted_40 = {\n class: \"entityTable\"\n};\nvar _hoisted_41 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\n\nvar _hoisted_42 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_43 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, \"Content after this event\", -1\n/* HOISTED */\n);\n\nvar _hoisted_44 = {\n class: \"entityTable\"\n};\nvar _hoisted_45 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\nvar _hoisted_46 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_47 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Name\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Type\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Value\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_48 = {\n key: 0\n};\n\nvar _hoisted_49 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n colspan: \"3\"\n}, \"No variables\", -1\n/* HOISTED */\n);\n\nvar _hoisted_50 = [_hoisted_49];\nvar _hoisted_51 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\nvar _hoisted_52 = {\n class: \"entityTable\"\n};\n\nvar _hoisted_53 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Time\"), /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, \"Message\")])], -1\n/* HOISTED */\n);\n\nvar _hoisted_54 = {\n style: {\n \"word-break\": \"break-all\"\n }\n};\n\nvar _hoisted_55 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$selectedEvent, _ctx$selectedEvent$ta, _ctx$selectedEvent2, _ctx$selectedEvent3, _ctx$selectedEvent4, _ctx$selectedEvent5, _ctx$selectedEvent5$c, _ctx$selectedEvent5$c2, _ctx$selectedEvent6, _ctx$selectedEvent6$c;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"nav\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"logo\")]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'tags' || !_ctx.contentTab\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.contentTab = 'tags';\n })\n }, \"Tags\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'triggers'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.contentTab = 'triggers';\n })\n }, \"Triggers\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'variables'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.contentTab = 'variables';\n })\n }, \"Variables\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'dataLayer'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.contentTab = 'dataLayer';\n })\n }, \"Data Layer\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])({\n 'active': _ctx.contentTab === 'logs'\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.contentTab = 'logs';\n })\n }, \"Logs\")], 2\n /* CLASS */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n id: \"mtmUpdateDebugPosition\",\n onClick: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.mtmUpdateDebugPosition();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.positionText), 1\n /* TEXT */\n )])])])]), _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [_ctx.contentTab !== 'logs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [_hoisted_9, _ctx.mtmEvents.length > 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_10, [_hoisted_11, _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n type: \"checkbox\",\n class: \"onlyFiredTags-chk\",\n name: \"onlyfiredTags\",\n id: \"onlyfiredTags\",\n value: \"1\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = function ($event) {\n return _ctx.onlyfiredTags = $event;\n }),\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vModelCheckbox\"], _ctx.onlyfiredTags]]), _hoisted_13])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])]), _ctx.mtmEvents.length === 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", _hoisted_14, \"No event executed\")) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.mtmEventsReversed, function (event, index) {\n var _event$metTrigger, _event$tags;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"menuTab\", {\n 'active': index === _ctx.selectedEventIndex\n }]),\n role: \"menuitem\",\n key: index\n }, [(event.tags || []).length || !_ctx.onlyfiredTags ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n class: \"item\",\n onClick: function onClick($event) {\n return _ctx.selectEvent(event.index0);\n },\n title: \"Time: \".concat(event.time, \". Trigger: \").concat((_event$metTrigger = event.metTrigger) === null || _event$metTrigger === void 0 ? void 0 : _event$metTrigger.name)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(event.index) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(event.name) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_16, _hoisted_18, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_event$tags = event.tags) === null || _event$tags === void 0 ? void 0 : _event$tags.length]])], 8\n /* PROPS */\n , _hoisted_15)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.homeTabTitle), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab !== 'logs']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_22, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent = _ctx.selectedEvent) !== null && _ctx$selectedEvent !== void 0 && (_ctx$selectedEvent$ta = _ctx$selectedEvent.tags) !== null && _ctx$selectedEvent$ta !== void 0 && _ctx$selectedEvent$ta.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_24, _hoisted_26)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(((_ctx$selectedEvent2 = _ctx.selectedEvent) === null || _ctx$selectedEvent2 === void 0 ? void 0 : _ctx$selectedEvent2.tags) || [], function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.action), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.type), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.numExecuted), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]), _hoisted_27, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_28, [_hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, _hoisted_31, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.notFiredTags.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.notFiredTags, function (tag, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.type), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'tags' || !_ctx.contentTab]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_32, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_33, [_hoisted_34, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent3 = _ctx.selectedEvent) !== null && _ctx$selectedEvent3 !== void 0 && _ctx$selectedEvent3.metTrigger) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_35, _hoisted_37)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (_ctx$selectedEvent4 = _ctx.selectedEvent) !== null && _ctx$selectedEvent4 !== void 0 && _ctx$selectedEvent4.metTrigger ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_38, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEvent.metTrigger.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEvent.metTrigger.type), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'triggers']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [_hoisted_39, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_40, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_41, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEventData), 1\n /* TEXT */\n )])])]), _hoisted_42, _hoisted_43, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_44, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_45, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.selectedEventContainerDataLayer), 1\n /* TEXT */\n )])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'dataLayer']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_46, [_hoisted_47, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [!((_ctx$selectedEvent5 = _ctx.selectedEvent) !== null && _ctx$selectedEvent5 !== void 0 && (_ctx$selectedEvent5$c = _ctx$selectedEvent5.container) !== null && _ctx$selectedEvent5$c !== void 0 && (_ctx$selectedEvent5$c2 = _ctx$selectedEvent5$c.variables) !== null && _ctx$selectedEvent5$c2 !== void 0 && _ctx$selectedEvent5$c2.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_48, _hoisted_50)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(((_ctx$selectedEvent6 = _ctx.selectedEvent) === null || _ctx$selectedEvent6 === void 0 ? void 0 : (_ctx$selectedEvent6$c = _ctx$selectedEvent6.container) === null || _ctx$selectedEvent6$c === void 0 ? void 0 : _ctx$selectedEvent6$c.variables) || [], function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.type), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_51, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.stringifySelectedVariable(variable)), 1\n /* TEXT */\n )]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'variables']]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", _hoisted_52, [_hoisted_53, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.mtmLogs, function (log, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(log.time), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_54, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(log.messages, function (logMessage, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(logMessage), 1\n /* TEXT */\n ), _hoisted_55]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.contentTab === 'logs']])])])])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"fieldVariableTemplate\"\n};\nvar _hoisted_2 = [\"type\", \"id\", \"name\", \"value\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"textarea\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"mergeProps\"])({\n class: \"control_\".concat(_ctx.uiControl, \" materialize-textarea\"),\n type: _ctx.uiControl,\n id: _ctx.name,\n name: _ctx.name,\n value: _ctx.modelValue,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n placeholder: \"\",\n style: {\n \"width\": \"calc(100% - 40px)\"\n }\n }, _ctx.uiControlAttributes, {\n ref: \"textarea\"\n }), null, 16\n /* FULL_PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-code\",\n style: {\n \"margin-top\": \"14px\",\n \"position\": \"absolute\"\n },\n title: _ctx.translate('TagManager_ChooseVariable'),\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.selectVariable();\n })\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_4)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"fieldVariableTemplate\"\n};\nvar _hoisted_2 = [\"type\", \"id\", \"name\", \"value\"];\nvar _hoisted_3 = [\"title\"];\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"mergeProps\"])({\n class: \"control_\".concat(_ctx.uiControl),\n type: _ctx.uiControl,\n id: _ctx.name,\n name: _ctx.name,\n value: _ctx.modelValueText,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onKeydown($event);\n }),\n placeholder: \"\",\n style: {\n \"width\": \"calc(100% - 40px)\"\n }\n }, _ctx.uiControlAttributes, {\n ref: \"input\"\n }), null, 16\n /* FULL_PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-code\",\n title: _ctx.translate('TagManager_ChooseVariable'),\n onClick: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.selectVariable();\n })\n }, null, 8\n /* PROPS */\n , _hoisted_3), _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_5)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = [\"for\", \"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VariableSelectType = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableSelectType\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableSelectType, {\n \"model-value\": _ctx.modelValue,\n id: _ctx.name,\n name: _ctx.name,\n \"variable-type-name\": _ctx.title,\n \"variable-type\": _ctx.uiControlAttributes.variableType,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.$emit('update:modelValue', $event);\n })\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"id\", \"name\", \"variable-type-name\", \"variable-type\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: _ctx.name,\n style: {\n \"font-size\": \"0.8rem\"\n },\n innerHTML: _ctx.$sanitize(_ctx.title)\n }, null, 8\n /* PROPS */\n , _hoisted_1)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerGettingStarted\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_7 = [\"innerHTML\"];\n\nvar _hoisted_8 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_9 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_12 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStarted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('CorePluginsAdmin_WhatIsTagManager')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhatIsIntro')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAnalyticsTracking')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedConversionTracking')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedNewsletterSignups')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedExitActions')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedRemarketing')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedSocialWidgets')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAffiliates')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAds')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedAndMore')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedMainComponents')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedTagComponent')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedTriggerComponent')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedVariableComponent')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_GettingStartedWhyDoINeed')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyMakesLifeEasier')) + \" \", 1\n /* TEXT */\n ), _hoisted_3, _hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyThirdPartySnippets')) + \" \", 1\n /* TEXT */\n ), _hoisted_5, _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedWhyAccuracyPerformance')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), _ctx.canEdit ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n key: 0,\n \"content-title\": _ctx.translate('TagManager_GettingStartedHowDoI')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.gettingStartedHowCreateContainerText)\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedHowCopyCode')) + \" \", 1\n /* TEXT */\n ), _hoisted_8, _hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedHowAddTagsToContainer')), 1\n /* TEXT */\n )])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_GettingStartedWhatIfUnsupported')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_GettingStartedCustomTags')) + \" \", 1\n /* TEXT */\n ), _hoisted_10, _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.gettingStartedContributeTagsText)\n }, null, 8\n /* PROPS */\n , _hoisted_12)])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerImportVersion\"\n};\nvar _hoisted_2 = {\n class: \"ui-confirm\",\n id: \"confirmImportContainerVersion\",\n ref: \"confirmImportContainerVersion\"\n};\nvar _hoisted_3 = [\"value\"];\nvar _hoisted_4 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n \"content-title\": _ctx.translate('TagManager_ImportVersion')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionImportInfo')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isUpdating,\n \"loading-message\": _ctx.translate('TagManager_UpdatingData')\n }, null, 8\n /* PROPS */\n , [\"loading\", \"loading-message\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n modelValue: _ctx.backupName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.backupName = $event;\n }),\n name: \"backupName\",\n placeholder: ' ',\n title: _ctx.backupNameTitle,\n \"inline-help\": _ctx.translate('TagManager_BackupVersionNameHelp')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n modelValue: _ctx.importContent,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n return _ctx.importContent = $event;\n }),\n name: \"importContent\",\n placeholder: ' ',\n \"full-width\": true,\n title: _ctx.translate('TagManager_VersionImportContentTitle')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"importVersion\",\n disabled: !_ctx.importContent,\n onConfirm: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.importVersion(_ctx.backupName, _ctx.importContent);\n }),\n value: _ctx.translate('TagManager_VersionImportOverwriteContent')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"value\"])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfirmImportContainerVersion')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_4)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n style: {\n \"margin-left\": \"-0.75rem\"\n }\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = [\"href\"];\nvar _hoisted_4 = [\"textContent\"];\nvar _hoisted_5 = {\n style: {\n \"margin-top\": \"1rem\"\n }\n};\nvar _hoisted_6 = [\"innerHTML\"];\n\nvar _hoisted_7 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_8 = {\n target: \"_blank\",\n href: \"https://matomo.org/faq/tag-manager/data-layer-in-matomo-tag-manager/\"\n};\nvar _hoisted_9 = {\n class: \"environment\"\n};\nvar _hoisted_10 = {\n class: \"name\"\n};\nvar _hoisted_11 = {\n class: \"name\"\n};\nvar _hoisted_12 = {\n class: \"released_by\"\n};\nvar _hoisted_13 = {\n class: \"released_on\"\n};\nvar _hoisted_14 = {\n key: 0\n};\nvar _hoisted_15 = {\n colspan: \"7\"\n};\nvar _hoisted_16 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_17 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_18 = {\n key: 1\n};\nvar _hoisted_19 = {\n colspan: \"7\"\n};\nvar _hoisted_20 = {\n class: \"environment\"\n};\nvar _hoisted_21 = {\n class: \"name\"\n};\nvar _hoisted_22 = {\n class: \"revision\"\n};\nvar _hoisted_23 = {\n class: \"released_by\"\n};\nvar _hoisted_24 = {\n class: \"released_on\"\n};\nvar _hoisted_25 = {\n class: \"date\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n class: \"manageInstallTagCode\",\n feature: \"Tag Manager\",\n \"content-title\": \"Install Code\"\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$container, _ctx$container$releas;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"model-value\": _ctx.environment,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.environment = $event;\n\n _ctx.fetchInstallInstructions(_ctx.environment);\n }),\n options: _ctx.environments,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.description) + \" \", 1\n /* TEXT */\n ), _hoisted_2, installInstruction.helpUrl ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n target: \"_blank\",\n href: installInstruction.helpUrl\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 9\n /* TEXT, PROPS */\n , _hoisted_3)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]), installInstruction.embedCode ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"pre\", {\n key: 0,\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_4)), [[_directive_select_on_focus, {}]]) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_InstallCodePublishEnvironmentNote', 'preview')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_InstallCodeDataLayerNote', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_6), _hoisted_7, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_8, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasesOverview')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_9, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environment')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionName')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionRevision')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ReleasedOn')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [_ctx.isLoading ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_16, [_hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.isLoading && ((_ctx$container = _ctx.container) === null || _ctx$container === void 0 ? void 0 : (_ctx$container$releas = _ctx$container.releases) === null || _ctx$container$releas === void 0 ? void 0 : _ctx$container$releas.length) === 0 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoReleasesFound')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedReleases, function (release) {\n var _ctx$releaseVersions$, _ctx$releaseVersions$2;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: release.idcontainerrelease\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_20, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_21, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$releaseVersions$ = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$ === void 0 ? void 0 : _ctx$releaseVersions$.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])((_ctx$releaseVersions$2 = _ctx.releaseVersions[release.idcontainerrelease]) === null || _ctx$releaseVersions$2 === void 0 ? void 0 : _ctx$releaseVersions$2.revision), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(release.release_login), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(release.release_date_pretty), 1\n /* TEXT */\n )])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]])];\n }),\n _: 1\n /* STABLE */\n\n });\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c": -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"col s12 m6 input-field\"\n};\nvar _hoisted_2 = [\"name\", \"id\", \"value\"];\nvar _hoisted_3 = {\n class: \"col s12 m6 input-field\"\n};\nvar _hoisted_4 = [\"name\", \"id\", \"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n ref: \"dateInput\",\n type: \"text\",\n name: \"\".concat(_ctx.name, \"_date\"),\n id: \"\".concat(_ctx.name, \"_date\"),\n class: \"dateInput\",\n value: _ctx.dateText,\n onKeydown: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onDateKeydown($event);\n }),\n onChange: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.onDateKeydown($event);\n })\n }, null, 40\n /* PROPS, HYDRATE_EVENTS */\n , _hoisted_2)]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n ref: \"timeInput\",\n type: \"text\",\n name: \"\".concat(_ctx.name, \"_time\"),\n id: \"\".concat(_ctx.name, \"_time\"),\n class: \"timeInput\",\n value: _ctx.timeText,\n onKeydown: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.onTimeKeydown($event);\n })\n }, null, 40\n /* PROPS, HYDRATE_EVENTS */\n , _hoisted_4)])], 64\n /* STABLE_FRAGMENT */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editTag tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"form-group row\"\n};\nvar _hoisted_12 = {\n class: \"col s12\"\n};\nvar _hoisted_13 = {\n class: \"form-group row tagStartDate\"\n};\nvar _hoisted_14 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_15 = {\n class: \"row\"\n};\nvar _hoisted_16 = {\n class: \"col s12\"\n};\nvar _hoisted_17 = {\n for: \"start_date_date\",\n class: \"active\"\n};\nvar _hoisted_18 = {\n class: \"tagStartDate\"\n};\nvar _hoisted_19 = {\n class: \"col s12 m6 \"\n};\nvar _hoisted_20 = {\n class: \"form-help\"\n};\nvar _hoisted_21 = {\n class: \"inline-help\"\n};\nvar _hoisted_22 = [\"innerHTML\"];\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = [\"innerHTML\"];\nvar _hoisted_25 = {\n class: \"form-group row tagEndDate\"\n};\nvar _hoisted_26 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_27 = {\n class: \"row\"\n};\nvar _hoisted_28 = {\n class: \"col s12\"\n};\nvar _hoisted_29 = {\n for: \"end_date_date\",\n class: \"active\"\n};\nvar _hoisted_30 = {\n class: \"tagEndDate\"\n};\nvar _hoisted_31 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_32 = {\n class: \"form-help\"\n};\nvar _hoisted_33 = {\n class: \"inline-help\"\n};\nvar _hoisted_34 = [\"innerHTML\"];\n\nvar _hoisted_35 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_36 = [\"innerHTML\"];\nvar _hoisted_37 = {\n class: \"entityCancel\"\n};\nvar _hoisted_38 = {\n id: \"confirmSelectTagType\"\n};\nvar _hoisted_39 = {\n class: \"collection-header\"\n};\nvar _hoisted_40 = [\"onClick\", \"title\"];\nvar _hoisted_41 = [\"src\"];\nvar _hoisted_42 = {\n class: \"title\"\n};\nvar _hoisted_43 = {\n class: \"secondary-content\"\n};\nvar _hoisted_44 = [\"title\"];\nvar _hoisted_45 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_TagTriggerArray = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagTriggerArray\");\n\n var _component_TagDateInput = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagDateInput\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$tag$typeMetadata, _ctx$tag$typeMetadata2, _ctx$tag$typeMetadata3, _ctx$tag$typeMetadata4, _ctx$tag$typeMetadata5, _ctx$tag$typeMetadata6, _ctx$tag$typeMetadata7, _ctx$tag$typeMetadata8;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[18] || (_cache[18] = function ($event) {\n return _ctx.edit ? _ctx.updateTag() : _ctx.createTag();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$tag$typeMetadata = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata === void 0 ? void 0 : _ctx$tag$typeMetadata.name,\n disabled: true,\n \"inline-help\": ((_ctx$tag$typeMetadata2 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata2 === void 0 ? void 0 : _ctx$tag$typeMetadata2.description) + ' ' + ((_ctx$tag$typeMetadata3 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata3 === void 0 ? void 0 : _ctx$tag$typeMetadata3.help),\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.tag.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.tag.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_TagNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.tag.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.tag.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_TagDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureWhatTagDoes')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata4 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata4 === void 0 ? void 0 : _ctx$tag$typeMetadata4.parameters.length]]), _ctx.tag ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$tag$typeMetadata5 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata5 === void 0 ? void 0 : _ctx$tag$typeMetadata5.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n _ctx.parameterValues[$event.name] = $event.value;\n\n _ctx.setValueHasChanged();\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureWhenTagDoes')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata6 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata6 === void 0 ? void 0 : _ctx$tag$typeMetadata6.parameters.length]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagTriggerArray, {\n \"container-triggers\": _ctx.containerTriggers,\n type: \"fire\",\n title: _ctx.translate('TagManager_FireTriggerTitle'),\n help: _ctx.translate('TagManager_FireTriggerHelp', _ctx.translate('TagManager_FireLimit')),\n \"model-value\": _ctx.fireTriggers,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = function ($event) {\n _ctx.fireTriggers = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onFireTriggerChange();\n }),\n onCreate: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.onCreateNewFireTrigger();\n }),\n onEdit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.editTrigger($event);\n })\n }, null, 8\n /* PROPS */\n , [\"container-triggers\", \"title\", \"help\", \"model-value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagTriggerArray, {\n \"container-triggers\": _ctx.containerTriggers,\n type: \"block\",\n title: _ctx.translate('TagManager_BlockTriggerTitle'),\n help: _ctx.translate('TagManager_BlockTriggerHelp'),\n \"model-value\": _ctx.blockTriggers,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = function ($event) {\n _ctx.blockTriggers = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onBlockTriggerChange();\n }),\n onCreate: _cache[7] || (_cache[7] = function ($event) {\n return _ctx.onCreateNewBlockTrigger();\n }),\n onEdit: _cache[8] || (_cache[8] = function ($event) {\n return _ctx.editTrigger($event);\n })\n }, null, 8\n /* PROPS */\n , [\"container-triggers\", \"title\", \"help\", \"model-value\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: \"\",\n class: \"showAdvancedSettings\",\n onClick: _cache[9] || (_cache[9] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = true;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.showAdvanced]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: \"\",\n class: \"hideAdvancedSettings\",\n onClick: _cache[10] || (_cache[10] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = false;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced]])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$tag$typeMetadata7 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata7 === void 0 ? void 0 : _ctx$tag$typeMetadata7.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"radio\",\n name: \"fire_limit\",\n \"model-value\": _ctx.tag.fire_limit,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = function ($event) {\n _ctx.tag.fire_limit = $event;\n\n _ctx.setValueHasChanged();\n }),\n options: _ctx.availableFireLimits,\n title: _ctx.translate('TagManager_FireLimit'),\n \"inline-help\": _ctx.fireLimitHelp\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"fire_delay\",\n \"model-value\": _ctx.tag.fire_delay,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = function ($event) {\n _ctx.tag.fire_delay = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 8,\n title: _ctx.translate('TagManager_FireDelay'),\n \"inline-help\": _ctx.translate('TagManager_FireDelayHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"priority\",\n \"model-value\": _ctx.tag.priority,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = function ($event) {\n _ctx.tag.priority = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 4,\n title: _ctx.translate('TagManager_Priority'),\n \"inline-help\": _ctx.translate('TagManager_PriorityHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_StartDate')) + \":\", 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagDateInput, {\n name: \"start_date\",\n \"model-value\": _ctx.tag.start_date,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = function ($event) {\n _ctx.tag.start_date = $event;\n\n _ctx.setValueHasChanged();\n }),\n \"default-time\": \"00:00:00\"\n }, null, 8\n /* PROPS */\n , [\"model-value\"])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagStartDateHelp', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_22), _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"currentLocalTime\",\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, ''))\n }, null, 8\n /* PROPS */\n , _hoisted_24)])])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_28, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_EndDate')) + \":\", 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_30, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagDateInput, {\n name: \"end_date\",\n \"model-value\": _ctx.tag.end_date,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = function ($event) {\n _ctx.tag.end_date = $event;\n\n _ctx.setValueHasChanged();\n }),\n \"default-time\": \"23:59:59\"\n }, null, 8\n /* PROPS */\n , [\"model-value\"])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_31, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_32, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_TagEndDateHelp', '', ''))\n }, null, 8\n /* PROPS */\n , _hoisted_34), _hoisted_35, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"currentLocalTime\",\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_CurrentTimeInLocalTimezone', '', _ctx.currentTime, ''))\n }, null, 8\n /* PROPS */\n , _hoisted_36)])])])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced && ((_ctx$tag$typeMetadata8 = _ctx.tag.typeMetadata) === null || _ctx$tag$typeMetadata8 === void 0 ? void 0 : _ctx$tag$typeMetadata8.hasAdvancedSettings)]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[16] || (_cache[16] = function ($event) {\n return _ctx.edit ? _ctx.updateTag() : _ctx.createTag();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewTag')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isTagDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_37, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[17] || (_cache[17] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseTagType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_38, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableTags, function (tagCategory) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: tagCategory.name\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_39, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tagCategory.types, function (tagTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _ctx.isTagTemplateDisabled[tagTemplate.id]\n }, \"templateType\".concat(tagTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createTagType(tagTemplate);\n },\n title: !_ctx.isTagTemplateDisabled[tagTemplate.id] ? '' : _ctx.collectionItemAvatarText\n }, [tagTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: tagTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_41)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_42, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tagTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], tagTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_43, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: tagTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_44)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!tagTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_40);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_45, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[19] || (_cache[19] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseTagType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerTagList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"5\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"5\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"triggers\"\n};\nvar _hoisted_17 = [\"onClick\"];\nvar _hoisted_18 = {\n key: 1,\n class: \"chip\"\n};\nvar _hoisted_19 = [\"onClick\"];\nvar _hoisted_20 = [\"title\"];\nvar _hoisted_21 = {\n class: \"action\"\n};\nvar _hoisted_22 = [\"onClick\", \"title\"];\nvar _hoisted_23 = [\"onClick\", \"title\"];\nvar _hoisted_24 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTag\",\n ref: \"confirmDeleteTag\"\n};\nvar _hoisted_27 = [\"value\"];\nvar _hoisted_28 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Tags')),\n \"help-text\": _ctx.tagsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TagUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"triggers\",\n title: _ctx.triggersTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Triggers')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTagsFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerTagNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createTag();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTagNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.tags.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTags, function (tag) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n class: \"tags\",\n key: tag.idtag,\n id: \"tag\".concat(tag.idtag)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: tag.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(tag.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: tag.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tag.fire_trigger_ids, function (fireTriggerId, fireTriggerIndex) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: fireTriggerIndex,\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, [_ctx.hasWriteAccess ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n style: {\n \"display\": \"inline-block\",\n \"vertical-align\": \"top !important\"\n },\n class: \"chip\",\n href: \"\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editTrigger(fireTriggerId);\n }, [\"prevent\"])\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[fireTriggerId]), 9\n /* TEXT, PROPS */\n , _hoisted_17)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.hasWriteAccess ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", _hoisted_18, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[fireTriggerId]), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Except')) + \": \", 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(tag.block_trigger_ids, function (blockTriggerId, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index,\n style: {\n \"margin-right\": \"3.5px\"\n }\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"chip\",\n href: \"\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editTrigger(blockTriggerId);\n }, [\"prevent\"])\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[blockTriggerId]), 9\n /* TEXT, PROPS */\n , _hoisted_19), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"chip\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_this.triggers[blockTriggerId]), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.hasWriteAccess]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], tag.block_trigger_ids.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', tag.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(tag.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editTag(tag.idtag, tag.type);\n },\n title: _ctx.translate('TagManager_EditTag')\n }, null, 8\n /* PROPS */\n , _hoisted_22), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteTag(tag);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Tag'))\n }, null, 8\n /* PROPS */\n , _hoisted_23)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTag\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createTag();\n })\n }, [_hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTag')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteTagConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_27), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_28)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952 ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageTag\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TagList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagList\");\n\n var _component_TagEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagList, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"tags-help-text\": _ctx.tagsHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"tags-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-tag\": _ctx.idTag\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"id-tag\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_2 = [\"for\"];\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = [\"name\"];\nvar _hoisted_5 = [\"onClick\", \"title\"];\nvar _hoisted_6 = [\"onClick\", \"title\"];\nvar _hoisted_7 = {\n class: \"col s12 m6\"\n};\nvar _hoisted_8 = {\n class: \"form-help\"\n};\nvar _hoisted_9 = {\n class: \"inline-help\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"form-group row\", \"\".concat(_ctx.type, \"Triggers\")])\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", {\n for: \"\".concat(_ctx.type, \"_triggers\")\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.title), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTriggersFound')) + \". \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTrigger\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.$emit('create');\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.containerTriggers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.modelValue, function (idTrigger, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"multiple valign-wrapper\", \"\".concat(_ctx.type, \"Trigger \").concat(_ctx.type, \"Trigger\").concat(index)]),\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"innerFormField\",\n name: \"\".concat(_ctx.type, \"_triggers\")\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"\".concat(_ctx.type, \"_triggers\"),\n \"model-value\": idTrigger,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n return _ctx.onChangeTrigger($event, index);\n },\n \"full-width\": true,\n options: _ctx.containerTriggers\n }, null, 8\n /* PROPS */\n , [\"name\", \"model-value\", \"onUpdate:modelValue\", \"options\"])], 8\n /* PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit valign\",\n onClick: function onClick($event) {\n return _ctx.$emit('edit', idTrigger);\n },\n title: _ctx.translate('General_Edit')\n }, null, 8\n /* PROPS */\n , _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], idTrigger]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeTrigger(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_6), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index + 1 !== _ctx.modelValue.length]])], 2\n /* CLASS */\n )), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.containerTriggers.length]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.help) + \" \", 1\n /* TEXT */\n ), _hoisted_10, _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createTriggerInHelp\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.$emit('create');\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 1\n /* TEXT */\n )])])])], 2\n /* CLASS */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerTrackingCode\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TrackingCodeCommon = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TrackingCodeCommon\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TrackingCodeCommon, {\n \"show-container-row\": _ctx.showContainerRow,\n showBottom: true,\n showDescription: true,\n onFetchInstallInstructions: _ctx.fetchInstallInstructions,\n ref: \"trackingCodeCommon\"\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"onFetchInstallInstructions\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerTrackingCode\"\n};\nvar _hoisted_2 = {\n key: 1,\n class: \"row\"\n};\nvar _hoisted_3 = {\n class: \"col s12 m4 \"\n};\nvar _hoisted_4 = {\n class: \"form-group row\"\n};\nvar _hoisted_5 = {\n class: \"col s12 input-field\"\n};\nvar _hoisted_6 = {\n for: \"tagManagerTrackingCodeSite\",\n class: \"siteSelectorLabel\"\n};\nvar _hoisted_7 = {\n class: \"sites_autocomplete\"\n};\nvar _hoisted_8 = {\n class: \"col s12 m4\"\n};\nvar _hoisted_9 = {\n class: \"col s12 m4\"\n};\nvar _hoisted_10 = {\n key: 2,\n class: \"alert alert-info\"\n};\nvar _hoisted_11 = {\n href: \"\"\n};\nvar _hoisted_12 = {\n key: 0\n};\nvar _hoisted_13 = [\"href\"];\n\nvar _hoisted_14 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\". \");\n\nvar _hoisted_15 = [\"textContent\"];\nvar _hoisted_16 = {\n key: 3\n};\nvar _hoisted_17 = {\n key: 0\n};\nvar _hoisted_18 = {\n key: 1\n};\nvar _hoisted_19 = {\n key: 2\n};\nvar _hoisted_20 = {\n key: 0\n};\nvar _hoisted_21 = [\"href\"];\n\nvar _hoisted_22 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-edit\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_23 = {\n key: 3\n};\nvar _hoisted_24 = [\"href\"];\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-show\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_SiteSelector = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SiteSelector\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [_ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ActivityIndicator, {\n key: 0,\n style: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeStyle\"])({\n opacity: _ctx.isLoading ? 1 : 0\n }),\n loading: true\n }, null, 8\n /* PROPS */\n , [\"style\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.showContainerRow || _ctx.environments.length > 1 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Website')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SiteSelector, {\n id: \"tagManagerTrackingCodeSite\",\n modelValue: _ctx.site,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.site = $event;\n }),\n \"show-all-sites-item\": false,\n \"switch-site-on-select\": false,\n \"show-selected-site\": true\n }, null, 8\n /* PROPS */\n , [\"modelValue\"])])])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"containers\",\n \"model-value\": _ctx.idContainer,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.idContainer = $event;\n\n _ctx.onContainerChange();\n }),\n options: _ctx.containerOptions,\n disabled: _ctx.containerOptions.length <= 1,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Container')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"disabled\", \"title\"])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"model-value\": _ctx.environment,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = function ($event) {\n _ctx.environment = $event;\n\n _this.$emit('fetchInstallInstructions');\n }),\n options: _ctx.environments,\n disabled: _ctx.environments.length <= 1,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"options\", \"disabled\", \"title\"])])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer && _ctx.noReleaseFound ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoReleasesFoundForContainer')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishVersionToEnvironmentToViewEmbedCode')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [_ctx.showDescription ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.description) + \" \", 1\n /* TEXT */\n ), installInstruction.helpUrl ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"a\", {\n key: 0,\n target: \"_blank\",\n href: installInstruction.helpUrl\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LearnMore')), 9\n /* TEXT, PROPS */\n , _hoisted_13)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _hoisted_14])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"pre\", {\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_15), [[_directive_select_on_focus, {}]])]);\n }), 128\n /* KEYED_FRAGMENT */\n )), _ctx.showBottom ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_16, [_ctx.idContainer && _ctx.currentAction !== 'siteWithoutDataTabs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"h3\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomizeTracking')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_18, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomizeTrackingTeaser')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", _hoisted_19, [!_ctx.matomoConfigs.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", _hoisted_20, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoMatomoConfigFoundForContainer')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.matomoConfigs, function (matomoConfig) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: matomoConfig.idvariable\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('manageVariables', _ctx.idContainer, {\n idVariable: matomoConfig.idvariable\n })\n }, [_hoisted_22, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(matomoConfig.name), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_21)]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.idContainer ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"p\", _hoisted_23, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n href: _ctx.linkTo('dashboard', _ctx.idContainer)\n }, [_hoisted_25, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ViewContainerDashboard')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_24)])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n key: 0\n};\nvar _hoisted_2 = [\"innerHTML\"];\nvar _hoisted_3 = [\"innerHTML\"];\n\nvar _hoisted_4 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_5 = [\"innerHTML\"];\n\nvar _hoisted_6 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_7 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TagmanagerTrackingCode = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TagmanagerTrackingCode\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return _ctx.currentAction === 'siteWithoutDataTabs' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine1)\n }, null, 8\n /* PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine2)\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagmanagerTrackingCode, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\"])])) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_ContentBlock, {\n key: 1,\n anchor: \"tagmanager\",\n \"content-title\": _ctx.translate('TagManager_MatomoTagManager')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [_hoisted_4, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine1)\n }, null, 8\n /* PROPS */\n , _hoisted_5), _hoisted_6, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", {\n innerHTML: _ctx.$sanitize(_ctx.trackingInfoTextLine2)\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TagmanagerTrackingCode, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\"])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"]));\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232": -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232 ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"list-style-decimal\"\n};\nvar _hoisted_2 = [\"innerHTML\"];\nvar _hoisted_3 = [\"innerHTML\"];\nvar _hoisted_4 = [\"innerHTML\"];\nvar _hoisted_5 = [\"textContent\"];\nvar _hoisted_6 = [\"innerHTML\"];\nvar _hoisted_7 = [\"textContent\"];\nvar _hoisted_8 = [\"innerHTML\"];\nvar _hoisted_9 = [\"innerHTML\"];\nvar _hoisted_10 = [\"innerHTML\"];\nvar _hoisted_11 = [\"textContent\"];\nvar _hoisted_12 = {\n style: {\n \"list-style\": \"lower-alpha\",\n \"list-style-position\": \"inside\",\n \"text-indent\": \"1.2rem\"\n }\n};\nvar _hoisted_13 = [\"innerHTML\"];\nvar _hoisted_14 = [\"innerHTML\"];\nvar _hoisted_15 = [\"innerHTML\"];\nvar _hoisted_16 = [\"textContent\"];\nvar _hoisted_17 = [\"textContent\"];\nvar _hoisted_18 = [\"innerHTML\"];\nvar _hoisted_19 = [\"textContent\"];\nvar _hoisted_20 = [\"innerHTML\"];\nvar _hoisted_21 = [\"innerHTML\"];\nvar _hoisted_22 = [\"textContent\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TrackingCodeCommon = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TrackingCodeCommon\");\n\n var _directive_select_on_focus = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"select-on-focus\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ol\", _hoisted_1, [_ctx.showContainerRow ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 0,\n innerHTML: _ctx.$sanitize(_ctx.setupStep1)\n }, null, 8\n /* PROPS */\n , _hoisted_2)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TrackingCodeCommon, {\n \"show-container-row\": _ctx.showContainerRow,\n \"current-action\": _ctx.currentAction,\n showBottom: false,\n showDescription: false,\n onFetchInstallInstructions: _ctx.fetchInstallInstructionsSPA,\n ref: \"trackingCodeCommon\"\n }, null, 8\n /* PROPS */\n , [\"show-container-row\", \"current-action\", \"onFetchInstallInstructions\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.setupStep2)\n }, null, 8\n /* PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep3)\n }, null, 8\n /* PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep5)\n }, null, 8\n /* PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\" Since both the buttons has same text we are using the step4's text here \"), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_7), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.setupStep7)\n }, null, 8\n /* PROPS */\n , _hoisted_8), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep8)\n }, null, 8\n /* PROPS */\n , _hoisted_9), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep9)\n }, null, 8\n /* PROPS */\n , _hoisted_10), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep10)\n }, null, 8\n /* PROPS */\n , _hoisted_11), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ol\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10a)\n }, null, 8\n /* PROPS */\n , _hoisted_13), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10b)\n }, null, 8\n /* PROPS */\n , _hoisted_14)])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep11)\n }, null, 8\n /* PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchClickX('General_Update'))\n }, null, 8\n /* PROPS */\n , _hoisted_16), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep13)\n }, null, 8\n /* PROPS */\n , _hoisted_17), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep14)\n }, null, 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", {\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.fetchFollowStep15)\n }, null, 8\n /* PROPS */\n , _hoisted_19), _ctx.jsFramework === 'react' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 1,\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16React)\n }, null, 8\n /* PROPS */\n , _hoisted_20)) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: 2,\n innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16SPA)\n }, null, 8\n /* PROPS */\n , _hoisted_21)), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.installInstructions, function (installInstruction, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"pre\", {\n class: \"codeblock\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(installInstruction.embedCode),\n ref: \"codeblock\"\n }, null, 8\n /* PROPS */\n , _hoisted_22), [[_directive_select_on_focus, {}]])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editTrigger tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"form-group row multiple\"\n};\nvar _hoisted_12 = {\n class: \"col s12 m12\"\n};\nvar _hoisted_13 = {\n class: \"innerFormField\"\n};\nvar _hoisted_14 = {\n class: \"innerFormField comparisonField\"\n};\nvar _hoisted_15 = {\n class: \"innerFormField\"\n};\nvar _hoisted_16 = [\"onClick\", \"title\"];\nvar _hoisted_17 = {\n class: \"triggerConditionNode\"\n};\nvar _hoisted_18 = {\n class: \"entityCancel\"\n};\nvar _hoisted_19 = {\n id: \"confirmSelectTriggerType\"\n};\nvar _hoisted_20 = {\n class: \"collection-header\"\n};\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = [\"src\"];\nvar _hoisted_23 = {\n class: \"title\"\n};\nvar _hoisted_24 = {\n class: \"secondary-content\"\n};\nvar _hoisted_25 = [\"title\"];\nvar _hoisted_26 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$trigger$typeMeta, _ctx$trigger$typeMeta2, _ctx$trigger$typeMeta3, _ctx$trigger$typeMeta4, _ctx$trigger$typeMeta5, _ctx$trigger$typeMeta6, _ctx$trigger$typeMeta7, _ctx$trigger$typeMeta8;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$trigger$typeMeta = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta === void 0 ? void 0 : _ctx$trigger$typeMeta.name,\n disabled: true,\n \"inline-help\": \"\".concat((_ctx$trigger$typeMeta2 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta2 === void 0 ? void 0 : _ctx$trigger$typeMeta2.description, \" \").concat((_ctx$trigger$typeMeta3 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta3 === void 0 ? void 0 : _ctx$trigger$typeMeta3.help),\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.trigger.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.trigger.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_TriggerNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.trigger.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.trigger.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_TriggerDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureThisTrigger')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta4 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta4 === void 0 ? void 0 : (_ctx$trigger$typeMeta5 = _ctx$trigger$typeMeta4.parameters) === null || _ctx$trigger$typeMeta5 === void 0 ? void 0 : _ctx$trigger$typeMeta5.length]]), _ctx.trigger ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$trigger$typeMeta6 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta6 === void 0 ? void 0 : _ctx$trigger$typeMeta6.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.parameterValues[$event.name] = $event.value;\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_OnlyTriggerWhen')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('Goals_Optional')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta7 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta7 === void 0 ? void 0 : _ctx$trigger$typeMeta7.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerConditionsHelp')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.trigger.conditions, function (condition, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"condition multiple valign-wrapper\", \"condition\".concat(index)])\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"expandable-select\",\n name: \"condition_actual\",\n \"model-value\": condition.actual,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.actual = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableVariables,\n title: _ctx.variableIdToName[condition.actual] || condition.actual\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_14, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"condition_comparison\",\n \"model-value\": condition.comparison,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.comparison = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableComparisons\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"condition_expected\",\n \"model-value\": condition.expected,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n condition.expected = $event;\n\n _ctx.setValueHasChanged();\n\n _ctx.onConditionChange();\n },\n \"full-width\": true\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeConditionEntry(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_16), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !(index + 1 === _ctx.trigger.conditions.length)]])], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", _hoisted_17, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerConditionNode')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$trigger$typeMeta8 = _ctx.trigger.typeMetadata) === null || _ctx$trigger$typeMeta8 === void 0 ? void 0 : _ctx$trigger$typeMeta8.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.edit ? _ctx.updateTrigger() : _ctx.createTrigger();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.saveButtonText\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isTriggerDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseTriggerType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableTriggers, function (triggerCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_20, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(triggerCategory.types, function (triggerTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _ctx.isTriggerTemplateDisabled[triggerTemplate.id]\n }, \"templateType\".concat(triggerTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createTriggerType(triggerTemplate);\n },\n key: index,\n title: !_ctx.isTriggerTemplateDisabled[triggerTemplate.id] ? '' : _ctx.collectionItemAvatarText\n }, [triggerTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: triggerTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_22)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(triggerTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], triggerTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: triggerTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_25)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!triggerTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_21);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseTriggerType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerTriggerList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"conditions\"\n};\nvar _hoisted_17 = {\n class: \"icon-ok\"\n};\nvar _hoisted_18 = [\"title\"];\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTrigger\",\n ref: \"confirmDeleteTrigger\"\n};\nvar _hoisted_25 = [\"value\"];\nvar _hoisted_26 = [\"value\"];\nvar _hoisted_27 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteTriggerNotPossible\",\n ref: \"confirmDeleteTriggerNotPossible\"\n};\nvar _hoisted_28 = {\n class: \"collection\"\n};\nvar _hoisted_29 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Triggers')),\n \"help-text\": _ctx.triggersHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"conditions\",\n title: _ctx.filterTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Filter')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoTriggersFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerTriggerNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createTrigger();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTriggerNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.triggers.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedTriggers, function (trigger) {\n var _trigger$conditions;\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"trigger\".concat(trigger.idtrigger),\n class: \"triggers\",\n key: trigger.idtrigger\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: trigger.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(trigger.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: trigger.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_17, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_trigger$conditions = trigger.conditions) === null || _trigger$conditions === void 0 ? void 0 : _trigger$conditions.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', trigger.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(trigger.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editTrigger(trigger.idtrigger, trigger.type);\n },\n title: _ctx.translate('TagManager_EditTrigger')\n }, null, 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteTrigger(trigger);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Trigger'))\n }, null, 8\n /* PROPS */\n , _hoisted_21)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_22, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewTrigger\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createTrigger();\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewTrigger')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_24, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteTriggerConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_25), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_26)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerCannotBeDeleted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerBeingUsedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_28, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.triggerReferences, function (reference) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: reference.referenceId\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceTypeName) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceName), 1\n /* TEXT */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_TriggerBeingUsedNeedsRemove')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_29)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageTrigger\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_TriggerList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TriggerList\");\n\n var _component_TriggerEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"TriggerEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TriggerList, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"triggers-help-text\": _ctx.triggersHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"triggers-help-text\"])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.editMode]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_TriggerEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-trigger\": _ctx.idTrigger\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\", \"id-trigger\"])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.editMode]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906 ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar _hoisted_1 = {\n class: \"editVariable tagManagerManageEdit\",\n ref: \"root\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n key: 0,\n class: \"form-group row\"\n};\nvar _hoisted_7 = {\n class: \"col s12\"\n};\nvar _hoisted_8 = {\n key: 1\n};\nvar _hoisted_9 = {\n class: \"form-group row\"\n};\nvar _hoisted_10 = {\n class: \"col s12\"\n};\nvar _hoisted_11 = {\n class: \"innerFormField\"\n};\nvar _hoisted_12 = {\n class: \"form-group row\"\n};\nvar _hoisted_13 = {\n class: \"col s12 m12\"\n};\nvar _hoisted_14 = {\n for: \"lookup_table\"\n};\nvar _hoisted_15 = {\n class: \"innerFormField comparisonField\"\n};\nvar _hoisted_16 = {\n class: \"innerFormField\"\n};\nvar _hoisted_17 = {\n class: \"innerFormField\"\n};\nvar _hoisted_18 = [\"onClick\", \"title\"];\nvar _hoisted_19 = {\n class: \"entityCancel\"\n};\nvar _hoisted_20 = {\n id: \"confirmSelectVariableType\"\n};\nvar _hoisted_21 = {\n class: \"collection-header\"\n};\nvar _hoisted_22 = [\"onClick\", \"title\"];\nvar _hoisted_23 = [\"src\"];\nvar _hoisted_24 = {\n class: \"title\"\n};\nvar _hoisted_25 = {\n class: \"secondary-content\"\n};\nvar _hoisted_26 = [\"title\"];\nvar _hoisted_27 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _this = this;\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_GroupedSettings = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"GroupedSettings\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$variable$typeMet, _ctx$variable$typeMet2, _ctx$variable$typeMet3, _ctx$variable$typeMet4, _ctx$variable$typeMet5, _ctx$variable$typeMet6;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[8] || (_cache[8] = function ($event) {\n return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"type\",\n \"model-value\": (_ctx$variable$typeMet = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet === void 0 ? void 0 : _ctx$variable$typeMet.name,\n disabled: true,\n \"inline-help\": _ctx.typeInlineHelp,\n title: _ctx.translate('TagManager_Type')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"inline-help\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"model-value\": _ctx.variable.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.variable.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 50,\n title: _ctx.translate('General_Name'),\n \"inline-help\": _ctx.translate('TagManager_VariableNameHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.variable.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.variable.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 1000,\n title: _ctx.translate('General_Description'),\n \"inline-help\": _ctx.translate('TagManager_VariableDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), (_ctx$variable$typeMet2 = _ctx.variable.typeMetadata) !== null && _ctx$variable$typeMet2 !== void 0 && (_ctx$variable$typeMet3 = _ctx$variable$typeMet2.parameters) !== null && _ctx$variable$typeMet3 !== void 0 && _ctx$variable$typeMet3.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureThisVariable')), 1\n /* TEXT */\n )])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.variable ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_GroupedSettings, {\n settings: ((_ctx$variable$typeMet4 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet4 === void 0 ? void 0 : _ctx$variable$typeMet4.parameters) || [],\n \"all-setting-values\": _ctx.parameterValues,\n onChange: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.parameterValues[$event.name] = $event.value;\n })\n }, null, 8\n /* PROPS */\n , [\"settings\", \"all-setting-values\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"showAdvancedSettings\",\n onClick: _cache[3] || (_cache[3] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = true;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ShowAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.showAdvanced]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"hideAdvancedSettings\",\n onClick: _cache[4] || (_cache[4] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.showAdvanced = false;\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_HideAdvancedSettings')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced]])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], (_ctx$variable$typeMet5 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet5 === void 0 ? void 0 : _ctx$variable$typeMet5.hasAdvancedSettings]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"default_value\",\n \"model-value\": _ctx.variable.default_value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = function ($event) {\n _ctx.variable.default_value = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('TagManager_DefaultValue'),\n \"inline-help\": _ctx.translate('TagManager_DefaultValueHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"label\", _hoisted_14, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LookupTableTitle')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.variable.lookup_table, function (lookup, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(\"lookupTable lookupTable\".concat(index, \" multiple valign-wrapper\"))\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"lookup_table_comparison\",\n \"model-value\": lookup.comparison,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.comparison = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n options: _ctx.availableLookUpComparisons\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"lookup_table_matchvalue\",\n \"model-value\": lookup.match_value,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.match_value = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n placeholder: _ctx.translate('TagManager_LookupTableMatchValue')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"placeholder\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_17, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"lookup_table_outvalue\",\n \"model-value\": lookup.out_value,\n \"onUpdate:modelValue\": function onUpdateModelValue($event) {\n lookup.out_value = $event;\n\n _ctx.setValueHasChanged();\n },\n \"full-width\": true,\n placeholder: _ctx.translate('TagManager_LookupTableOutValue')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"onUpdate:modelValue\", \"placeholder\"])]), !(index + 1 === _ctx.variable.lookup_table.length) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: \"icon-minus valign\",\n onClick: function onClick($event) {\n return _ctx.removeLookUpEntry(index);\n },\n title: _ctx.translate('General_Remove')\n }, null, 8\n /* PROPS */\n , _hoisted_18)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)], 2\n /* CLASS */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))])])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.showAdvanced && ((_ctx$variable$typeMet6 = _ctx.variable.typeMetadata) === null || _ctx$variable$typeMet6 === void 0 ? void 0 : _ctx$variable$typeMet6.hasAdvancedSettings)]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-warning\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton\",\n onConfirm: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.edit ? _ctx.updateVariable() : _ctx.createVariable();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateNewVariable')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isVariableDisabled]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[7] || (_cache[7] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.cancel();\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 544\n /* HYDRATE_EVENTS, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.chooseVariableType && _ctx.editTitle]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_20, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.availableVariables, function (variableCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_21, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n key: index,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])([\"collection-item avatar\", _defineProperty({\n disabledTemplate: _this.isVariableTemplateDisabled[variableTemplate.id]\n }, \"templateType\".concat(variableTemplate.id), true)]),\n onClick: function onClick($event) {\n return _ctx.createVariableType(variableTemplate);\n },\n title: !_this.isVariableTemplateDisabled[variableTemplate.id] ? '' : _ctx.translate('TagManager_UseCustomTemplateCapabilityRequired', _ctx.translate('TagManager_CapabilityUseCustomTemplates'))\n }, [variableTemplate.icon ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"img\", {\n key: 0,\n alt: \"\",\n class: \"circle\",\n src: variableTemplate.icon\n }, null, 8\n /* PROPS */\n , _hoisted_23)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_24, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.description), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.description]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.help\n }, null, 8\n /* PROPS */\n , _hoisted_26)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.help]])], 10\n /* CLASS, PROPS */\n , _hoisted_22);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[9] || (_cache[9] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.cancel();\n }, [\"prevent\"]))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.chooseVariableType]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])], 512\n /* NEED_PATCH */\n );\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerVariableList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"name\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"lookupTable\"\n};\nvar _hoisted_17 = {\n class: \"icon-ok\"\n};\nvar _hoisted_18 = [\"title\"];\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_23 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_24 = [\"title\"];\n\nvar _hoisted_25 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-help preconfiguredVariablesHelp\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_26 = {\n class: \"collection-header\"\n};\nvar _hoisted_27 = {\n class: \"title\"\n};\nvar _hoisted_28 = [\"textContent\"];\nvar _hoisted_29 = {\n class: \"secondary-content\"\n};\nvar _hoisted_30 = [\"title\"];\nvar _hoisted_31 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVariable\",\n ref: \"confirmDeleteVariable\"\n};\nvar _hoisted_32 = [\"value\"];\nvar _hoisted_33 = [\"value\"];\nvar _hoisted_34 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVariableNotPossible\",\n ref: \"confirmDeleteVariableNotPossible\"\n};\nvar _hoisted_35 = {\n class: \"collection\"\n};\nvar _hoisted_36 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n class: \"tagManagerCustomVariablesList\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Variables')),\n \"help-text\": _ctx.variablesHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableUsageBenefits')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"type\",\n title: _ctx.typeTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lookupTable\",\n title: _ctx.lookupTableTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LookupTable')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"lastUpdated\",\n title: _ctx.lastUpdatedTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoVariablesFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerVariableNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVariable();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariableNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && !_ctx.variables.length]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVariables, function (variable) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"variable\".concat(variable.idvariable),\n class: \"variables\",\n key: variable.idvariable\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: variable.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(variable.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_14), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"type\",\n title: variable.typeMetadata.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.typeMetadata.name), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_17, null, 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variable.lookup_table.length]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"lastUpdated\",\n title: _ctx.translate('TagManager_CreatedOnX', variable.created_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.updated_date_pretty), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_18), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editVariable(variable.idvariable, variable.type);\n },\n title: _ctx.translate('TagManager_EditVariable')\n }, null, 8\n /* PROPS */\n , _hoisted_20), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteVariable(variable);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Variable'))\n }, null, 8\n /* PROPS */\n , _hoisted_21)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_22, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n value: \"\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_23, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", {\n title: _ctx.translate('TagManager_PreConfiguredInfoTitle')\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PreconfiguredVariables')) + \" \", 1\n /* TEXT */\n ), _hoisted_25], 8\n /* PROPS */\n , _hoisted_24), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containerVariables, function (variableCategory, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_26, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: variableTemplate.id\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_27, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"variableId\",\n textContent: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(\"{{\".concat(variableTemplate.id, \"}}\"))\n }, null, 8\n /* PROPS */\n , _hoisted_28)]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_29, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.description\n }, null, 8\n /* PROPS */\n , _hoisted_30)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.description]])], 512\n /* NEED_PATCH */\n )), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.is_pre_configured]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_31, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteVariableConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_32), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_33)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_34, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableCannotBeDeleted')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableBeingUsedBy')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_35, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.variableReferences, function (reference) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: \"\".concat(reference.referenceType, \".\").concat(reference.referenceId)\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceTypeName) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(reference.referenceName), 1\n /* TEXT */\n );\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VariableBeingUsedNeedsRemove')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_36)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1 ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageVariable\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VariableList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableList\");\n\n var _component_VariableEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VariableEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableList, {\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-container\": _ctx.idContainer,\n \"variables-help-text\": _ctx.variablesHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container-version\", \"id-container\", \"variables-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VariableEdit, {\n \"id-container-version\": _ctx.idContainerVersion,\n \"id-container\": _ctx.idContainer,\n \"id-variable\": _ctx.idVariable\n }, null, 8\n /* PROPS */\n , [\"id-container-version\", \"id-container\", \"id-variable\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageSelect tagManagerVariableSelect\"\n};\nvar _hoisted_2 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"collection with-header\"\n};\nvar _hoisted_5 = {\n class: \"collection-header\"\n};\nvar _hoisted_6 = [\"onClick\"];\nvar _hoisted_7 = {\n class: \"title\"\n};\nvar _hoisted_8 = {\n class: \"secondary-content\"\n};\nvar _hoisted_9 = [\"onClick\", \"title\"];\nvar _hoisted_10 = {\n class: \"collection-header\"\n};\nvar _hoisted_11 = [\"onClick\"];\nvar _hoisted_12 = {\n class: \"title\"\n};\nvar _hoisted_13 = {\n class: \"secondary-content\"\n};\nvar _hoisted_14 = [\"title\"];\nvar _hoisted_15 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_16 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n loading: _ctx.isLoading\n }, null, 8\n /* PROPS */\n , [\"loading\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"ul\", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_5, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CustomVariables')), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.containerVariables, function (variable, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n onClick: function onClick($event) {\n return _ctx.selectVariable(variable);\n },\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_7, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.name) + \" (\" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Type')) + \": \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variable.type) + \") \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-edit\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.editVariable(variable);\n }, [\"stop\"]),\n title: _ctx.translate('General_Edit')\n }, null, 8\n /* PROPS */\n , _hoisted_9)])], 8\n /* PROPS */\n , _hoisted_6);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PreconfiguredVariables')), 1\n /* TEXT */\n ), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.preconfiguredVariables, function (variableCategory) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"ul\", {\n class: \"collection with-header\",\n key: variableCategory.name\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"li\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h4\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableCategory.name), 1\n /* TEXT */\n )]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(variableCategory.types, function (variableTemplate, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])((Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"li\", {\n class: \"collection-item\",\n key: index,\n onClick: function onClick($event) {\n return _ctx.selectVariable(variableTemplate);\n }\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_12, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(variableTemplate.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"i\", {\n class: \"icon-help\",\n title: variableTemplate.description\n }, null, 8\n /* PROPS */\n , _hoisted_14)], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !!variableTemplate.description]])], 8\n /* PROPS */\n , _hoisted_11)), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], variableTemplate.is_pre_configured]]);\n }), 128\n /* KEYED_FRAGMENT */\n ))]);\n }), 128\n /* KEYED_FRAGMENT */\n )), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_15, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVariable();\n })\n }, [_hoisted_16, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable', _ctx.translate('TagManager_Variable'))), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageSelect tagManagerVariableSelectType\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"variableType\".concat(_ctx.variableType),\n class: \"selectVariableType\",\n \"model-value\": _ctx.modelValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n return _ctx.onChange($event);\n }),\n \"full-width\": true,\n options: _ctx.containerVariables\n }, null, 8\n /* PROPS */\n , [\"name\", \"model-value\", \"options\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVariable\",\n onClick: _cache[1] || (_cache[1] = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n return _ctx.createVariable();\n }, [\"prevent\"]))\n }, [_hoisted_2, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVariable')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n id: \"selectTagManagerEnvironmentHelp\",\n class: \"inline-help-node\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionEnvironmentHelp')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: \"alert alert-info\",\n style: {\n \"margin-bottom\": \"0\",\n \"padding-bottom\": \"0\"\n }\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.canPublishToLive]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"editVersion tagManagerManageEdit\"\n};\nvar _hoisted_2 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_5 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_6 = {\n key: 0\n};\nvar _hoisted_7 = {\n key: 2,\n class: \"versionChanges\"\n};\nvar _hoisted_8 = {\n key: 0\n};\nvar _hoisted_9 = {\n colspan: \"4\"\n};\nvar _hoisted_10 = {\n key: 1\n};\nvar _hoisted_11 = {\n colspan: \"4\"\n};\nvar _hoisted_12 = {\n class: \"lastUpdated\"\n};\nvar _hoisted_13 = {\n class: \"entityCancel\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _component_SaveButton = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"SaveButton\");\n\n var _component_ActivityIndicator = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ActivityIndicator\");\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.editTitle\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n var _ctx$version$environm;\n\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_2, [_hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_4, [_hoisted_5, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_UpdatingData')), 1\n /* TEXT */\n )])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = function ($event) {\n return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion();\n })\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"text\",\n name: \"name\",\n \"inline-help\": _ctx.versionNameHelpText,\n \"inline-help-bind\": {\n lastVersion: _ctx.lastVersion\n },\n \"model-value\": _ctx.version.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = function ($event) {\n _ctx.version.name = $event;\n\n _ctx.setValueHasChanged();\n }),\n maxlength: 30,\n title: _ctx.translate('TagManager_VersionName')\n }, null, 8\n /* PROPS */\n , [\"inline-help\", \"inline-help-bind\", \"model-value\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"textarea\",\n name: \"description\",\n \"model-value\": _ctx.version.description,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n _ctx.version.description = $event;\n\n _ctx.setValueHasChanged();\n }),\n title: _ctx.translate('TagManager_VersionDescription'),\n \"inline-help\": _ctx.translate('TagManager_VersionDescriptionHelp')\n }, null, 8\n /* PROPS */\n , [\"model-value\", \"title\", \"inline-help\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_SaveButton, {\n class: \"createButton no-publish\",\n onConfirm: _cache[2] || (_cache[2] = function ($event) {\n return _ctx.edit ? _ctx.updateVersion() : _ctx.createVersion();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.edit ? _ctx.translate('CoreUpdater_UpdateTitle') : _ctx.translate('TagManager_CreateVersionWithoutPublishing')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"]), _ctx.create && _ctx.environments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_6, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n \"inline-help\": _ctx.selectTagManagerEnvironmentHelp,\n \"inline-help-bind\": {\n canPublishToLive: _ctx.canPublishToLive\n },\n \"model-value\": (_ctx$version$environm = _ctx.version.environments) === null || _ctx$version$environm === void 0 ? void 0 : _ctx$version$environm[0],\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = function ($event) {\n _ctx.version.environments[0] = $event;\n\n _ctx.setValueHasChanged();\n }),\n options: _ctx.environments,\n introduction: _ctx.translate('TagManager_OrCreateAndPublishVersion'),\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"inline-help\", \"inline-help-bind\", \"model-value\", \"options\", \"introduction\", \"title\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.create && _ctx.environments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_SaveButton, {\n key: 1,\n class: \"publishButton\",\n onConfirm: _cache[4] || (_cache[4] = function ($event) {\n return _ctx.createVersionAndPublish();\n }),\n disabled: _ctx.isUpdating || !_ctx.isDirty,\n saving: _ctx.isUpdating,\n value: _ctx.translate('TagManager_CreateVersionAndPublishRelease')\n }, null, 8\n /* PROPS */\n , [\"disabled\", \"saving\", \"value\"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.lastVersion ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_7, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h3\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ChangesSinceLastVersion')) + \":\", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('SitesManager_Type')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Change')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_LastUpdated')), 1\n /* TEXT */\n )])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [_ctx.isLoadingVersionChanges ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_9, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ActivityIndicator, {\n \"loading-message\": _ctx.translate('TagManager_DetectingChanges'),\n loading: true\n }, null, 8\n /* PROPS */\n , [\"loading-message\"])])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), !_ctx.versionChanges.length && !_ctx.isLoadingVersionChanges ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", _hoisted_10, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('UserCountryMap_None')), 1\n /* TEXT */\n )])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.versionChanges, function (versionChange, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n key: index\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate(versionChange.entityType)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(versionChange.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate(versionChange.type)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_12, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(versionChange.lastChanged), 1\n /* TEXT */\n )])]);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_13, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n onClick: _cache[5] || (_cache[5] = function ($event) {\n return _ctx.cancel();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Cancel')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isEmbedded]])])], 32\n /* HYDRATE_EVENTS */\n )];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\"])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8 ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"tagManagerManageList tagManagerVersionList\"\n};\nvar _hoisted_2 = [\"title\"];\nvar _hoisted_3 = [\"title\"];\nvar _hoisted_4 = [\"title\"];\nvar _hoisted_5 = [\"title\"];\nvar _hoisted_6 = [\"title\"];\nvar _hoisted_7 = [\"title\"];\nvar _hoisted_8 = {\n colspan: \"7\"\n};\nvar _hoisted_9 = {\n class: \"loadingPiwik\"\n};\n\nvar _hoisted_10 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"img\", {\n src: \"plugins/Morpheus/images/loading-blue.gif\"\n}, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_11 = {\n colspan: \"7\"\n};\nvar _hoisted_12 = [\"id\"];\nvar _hoisted_13 = {\n class: \"index\"\n};\nvar _hoisted_14 = {\n class: \"name\"\n};\nvar _hoisted_15 = [\"title\"];\nvar _hoisted_16 = {\n class: \"environments\"\n};\nvar _hoisted_17 = [\"title\"];\nvar _hoisted_18 = {\n class: \"created\"\n};\nvar _hoisted_19 = {\n class: \"action\"\n};\nvar _hoisted_20 = [\"onClick\", \"title\"];\nvar _hoisted_21 = [\"onClick\", \"title\"];\nvar _hoisted_22 = [\"onClick\", \"href\", \"title\"];\nvar _hoisted_23 = [\"onClick\", \"title\"];\nvar _hoisted_24 = [\"onClick\", \"title\"];\nvar _hoisted_25 = {\n class: \"tableActionBar\"\n};\n\nvar _hoisted_26 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-add\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_27 = [\"href\"];\n\nvar _hoisted_28 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-export\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_29 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n class: \"icon-upload\"\n}, \" \", -1\n/* HOISTED */\n);\n\nvar _hoisted_30 = {\n class: \"ui-confirm\",\n id: \"confirmDeleteVersion\",\n ref: \"confirmDeleteVersion\"\n};\nvar _hoisted_31 = [\"value\"];\nvar _hoisted_32 = [\"value\"];\nvar _hoisted_33 = {\n class: \"ui-confirm\",\n id: \"confirmPublishVersion\",\n ref: \"confirmPublishVersion\"\n};\nvar _hoisted_34 = {\n key: 0,\n class: \"alert alert-info\",\n style: {\n \"margin-top\": \"16px\"\n }\n};\nvar _hoisted_35 = [\"value\"];\nvar _hoisted_36 = [\"value\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _ctx$versionToBePubli;\n\n var _component_ContentBlock = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"ContentBlock\");\n\n var _component_Field = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"Field\");\n\n var _directive_content_table = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDirective\"])(\"content-table\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_ContentBlock, {\n feature: \"Tag Manager\",\n \"content-title\": _ctx.translate('TagManager_ManageX', _ctx.translate('TagManager_Versions')),\n \"help-text\": _ctx.versionsHelpText\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(function () {\n return [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"p\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionUsageBenefits')) + \" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ConfigureEnvironmentsSuperUser')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"table\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"thead\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"index\",\n title: _ctx.revisionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Revision')), 9\n /* TEXT, PROPS */\n , _hoisted_2), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"name\",\n title: _ctx.nameTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Name')), 9\n /* TEXT, PROPS */\n , _hoisted_3), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"description\",\n title: _ctx.descriptionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Description')), 9\n /* TEXT, PROPS */\n , _hoisted_4), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"environments\",\n title: _ctx.environmentTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Environments')), 9\n /* TEXT, PROPS */\n , _hoisted_5), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"created\",\n title: _ctx.createdTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Created')), 9\n /* TEXT, PROPS */\n , _hoisted_6), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"th\", {\n class: \"action\",\n title: _ctx.actionTranslatedText\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_Actions')), 9\n /* TEXT, PROPS */\n , _hoisted_7)])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tbody\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", _hoisted_9, [_hoisted_10, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\" \" + Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('General_LoadingData')), 1\n /* TEXT */\n )])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.isLoading || _ctx.isUpdating]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"tr\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_11, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_NoVersionsFound')) + \" \", 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createContainerVersionNow\",\n onClick: _cache[0] || (_cache[0] = function ($event) {\n return _ctx.createVersion();\n })\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersionNow')), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.isLoading && _ctx.versions.length === 0]]), (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.sortedVersions, function (version) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"tr\", {\n id: \"version\".concat(version.idcontainerversion),\n class: \"versions\",\n key: version.revision\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_13, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.revision), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_14, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.name), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", {\n class: \"description\",\n title: version.description\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.truncateText(version.description, 30)), 9\n /* TEXT, PROPS */\n , _hoisted_15), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_16, [(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(version.releases, function (release, index) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: index,\n title: _ctx.translate('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty)\n }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.ucfirst(release.environment)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, \", \", 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], index !== version.releases.length - 1]])], 8\n /* PROPS */\n , _hoisted_17);\n }), 128\n /* KEYED_FRAGMENT */\n ))]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_18, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(version.created_date_pretty), 1\n /* TEXT */\n )]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"td\", _hoisted_19, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-rocket\",\n onClick: function onClick($event) {\n return _ctx.publishVersion(version);\n },\n title: _ctx.translate('TagManager_PublishVersion', version.name)\n }, null, 8\n /* PROPS */\n , _hoisted_20), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-bug\",\n onClick: function onClick($event) {\n return _ctx.enableDebugMode(version.idcontainerversion);\n },\n title: _ctx.translate('TagManager_EnablePreviewDebug')\n }, null, 8\n /* PROPS */\n , _hoisted_21), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n target: \"_blank\",\n class: \"table-action icon-export\",\n onClick: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withModifiers\"])(function ($event) {\n _ctx.exportVersion(version.idcontainerversion, version.name);\n }, [\"prevent\"]),\n href: _ctx.getExportUrl(version),\n title: _ctx.translate('TagManager_ExportX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_22), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-edit\",\n onClick: function onClick($event) {\n return _ctx.editVersion(version.idcontainerversion);\n },\n title: _ctx.translate('TagManager_EditX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_23), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"table-action icon-delete\",\n onClick: function onClick($event) {\n return _ctx.deleteVersion(version);\n },\n title: _ctx.translate('TagManager_DeleteX', _ctx.translate('TagManager_Version'))\n }, null, 8\n /* PROPS */\n , _hoisted_24), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], version.releases.length === 0 && _ctx.hasWriteAccess]])])], 8\n /* PROPS */\n , _hoisted_12);\n }), 128\n /* KEYED_FRAGMENT */\n ))])], 512\n /* NEED_PATCH */\n ), [[_directive_content_table]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_25, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"createNewVersion\",\n onClick: _cache[1] || (_cache[1] = function ($event) {\n return _ctx.createVersion();\n })\n }, [_hoisted_26, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_CreateNewVersion')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"exportDraft\",\n target: \"_blank\",\n onClick: _cache[2] || (_cache[2] = function ($event) {\n _ctx.exportVersion(null, 'draft');\n\n $event.preventDefault();\n }),\n href: _ctx.getExportDraftUrl()\n }, [_hoisted_28, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_ExportDraft')), 1\n /* TEXT */\n )], 8\n /* PROPS */\n , _hoisted_27), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"a\", {\n class: \"importVersion\",\n onClick: _cache[3] || (_cache[3] = function ($event) {\n return _ctx.importVersion();\n })\n }, [_hoisted_29, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_Import')), 1\n /* TEXT */\n )], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.hasWriteAccess]])])];\n }),\n _: 1\n /* STABLE */\n\n }, 8\n /* PROPS */\n , [\"content-title\", \"help-text\"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_30, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_DeleteVersionConfirm')), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('General_Yes')\n }, null, 8\n /* PROPS */\n , _hoisted_31), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_No')\n }, null, 8\n /* PROPS */\n , _hoisted_32)], 512\n /* NEED_PATCH */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", _hoisted_33, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"h2\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishVersion', (_ctx$versionToBePubli = _ctx.versionToBePublished) === null || _ctx$versionToBePubli === void 0 ? void 0 : _ctx$versionToBePubli.name)), 1\n /* TEXT */\n ), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_Field, {\n uicontrol: \"select\",\n name: \"environment\",\n modelValue: _ctx.availableEnvironmentsToPublish.deployEnvironment,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = function ($event) {\n return _ctx.availableEnvironmentsToPublish.deployEnvironment = $event;\n }),\n options: _ctx.availableEnvironmentsToPublish.environnments,\n \"full-width\": true,\n title: _ctx.translate('TagManager_Environment')\n }, null, 8\n /* PROPS */\n , [\"modelValue\", \"options\", \"title\"])]), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n style: {\n \"margin-bottom\": \"0\"\n },\n class: \"alert alert-info\"\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_PublishLiveEnvironmentCapabilityRequired', _ctx.translate('TagManager_CapabilityPublishLiveContainer'))), 513\n /* TEXT, NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], !_ctx.canPublishToLive]])], 512\n /* NEED_PATCH */\n ), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.availableEnvironmentsToPublish.environnments.length]]), !_ctx.availableEnvironmentsToPublish.environnments.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_34, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionAlreadyPublishedToAllEnvironments')), 1\n /* TEXT */\n )) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"yes\",\n type: \"button\",\n value: _ctx.translate('TagManager_PublishRelease')\n }, null, 8\n /* PROPS */\n , _hoisted_35), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"input\", {\n role: \"no\",\n type: \"button\",\n value: _ctx.translate('General_Cancel')\n }, null, 8\n /* PROPS */\n , _hoisted_36)], 512\n /* NEED_PATCH */\n )]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n class: \"manageVersion\"\n};\nvar _hoisted_2 = {\n key: 0\n};\nvar _hoisted_3 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_VersionList = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VersionList\");\n\n var _component_VersionEdit = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"VersionEdit\");\n\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [!_ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VersionList, {\n \"id-container\": _ctx.idContainer,\n \"versions-help-text\": _ctx.versionsHelpText\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"versions-help-text\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true), _ctx.editMode ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_VersionEdit, {\n \"id-container\": _ctx.idContainer,\n \"id-container-version\": _ctx.idContainerVersion\n }, null, 8\n /* PROPS */\n , [\"id-container\", \"id-container-version\"])])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2 ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvar _hoisted_1 = {\n id: \"versionNameHelpText\",\n class: \"inline-help-node\"\n};\n\nvar _hoisted_2 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_3 = /*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"br\", null, null, -1\n/* HOISTED */\n);\n\nvar _hoisted_4 = [\"innerHTML\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.translate('TagManager_VersionNameHelp')) + \" \", 1\n /* TEXT */\n ), _hoisted_2, _hoisted_3, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withDirectives\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", {\n innerHTML: _ctx.$sanitize(_ctx.translate('TagManager_NameOfLatestVersion', \"\".concat(_ctx.lastVersion, \"\")))\n }, null, 8\n /* PROPS */\n , _hoisted_4), [[vue__WEBPACK_IMPORTED_MODULE_0__[\"vShow\"], _ctx.lastVersion]])]);\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./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--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n/* harmony import */ var _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Variable/Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n/* harmony import */ var _Containers_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Containers.store */ \"./plugins/TagManager/vue/src/Container/Containers.store.ts\");\n\n\n\n\n\n\n\nvar notificationId = 'containertagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n editTitle: '',\n isUpdatingVersion: false,\n container: {}\n };\n },\n created: function created() {\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].init();\n this.initIdContainer();\n },\n watch: {\n idContainer: function idContainer(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdContainer();\n }\n },\n methods: {\n removeAnyContainerNotification: function removeAnyContainerNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdContainer: function initIdContainer() {\n var _this = this;\n\n this.container = {};\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n\n if (this.edit && this.idContainer) {\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditContainer');\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].findContainer(this.idContainer).then(function (container) {\n if (!container) {\n return;\n }\n\n _this.container = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(container);\n _this.isDirty = false;\n });\n } else if (this.create) {\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewContainer');\n this.container = {\n idSite: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n name: '',\n context: 'web',\n description: ''\n };\n this.isDirty = false;\n }\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idContainer;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createContainer: function createContainer() {\n var _this2 = this;\n\n this.removeAnyContainerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].createOrUpdateContainer(this.container, 'TagManager.addContainer').then(function (response) {\n _this2.isUpdatingVersion = false;\n\n if (!response) {\n return;\n }\n\n _this2.isDirty = false;\n var idContainer = response.value;\n\n _this2.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Container')), 'success');\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateUrl(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'dashboard',\n idContainer: idContainer\n }));\n }).finally(function () {\n _this2.isUpdatingVersion = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateContainer: function updateContainer() {\n var _this3 = this;\n\n this.removeAnyContainerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdating = true;\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].createOrUpdateContainer(this.container, 'TagManager.updateContainer').then(function (response) {\n if (!response) {\n return;\n }\n\n _this3.isDirty = false;\n _this3.container = {};\n _Containers_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"].reload().then(function () {\n _this3.initIdContainer();\n });\n\n _this3.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Container')), 'success');\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.container.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n return true;\n }\n },\n computed: {\n contexts: function contexts() {\n return _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].contextsOptions.value;\n },\n create: function create() {\n return this.idContainer === '0';\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingVersion;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n/* harmony import */ var _Containers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Containers.store */ \"./plugins/TagManager/vue/src/Container/Containers.store.ts\");\n/* harmony import */ var _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Version/Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n created: function created() {\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].init();\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchContainers();\n },\n computed: {\n contexts: function contexts() {\n var result = {};\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].contexts.value.forEach(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n result[id] = name;\n });\n return result;\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n },\n containerDefaultAction: function containerDefaultAction() {\n return this.hasWriteAccess ? 'dashboard' : 'manageTags';\n },\n isLoading: function isLoading() {\n return _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Version_Versions_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value;\n },\n containers: function containers() {\n return _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].containers.value;\n },\n sortedContainers: function sortedContainers() {\n var sorted = _toConsumableArray(this.containers);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.created_date < rhs.created_date) {\n return 1;\n }\n\n return lhs.created_date > rhs.created_date ? -1 : 0;\n });\n return sorted;\n }\n },\n methods: {\n createContainer: function createContainer() {\n this.editContainer('0');\n },\n editContainer: function editContainer(idContainer) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainer: idContainer\n }));\n },\n installCode: function installCode(idContainer) {\n tagManagerHelper.showInstallCode(idContainer);\n },\n deleteContainer: function deleteContainer(container) {\n function doDelete() {\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].deleteContainer(container.idcontainer).then(function () {\n _Containers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload();\n });\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmDeleteContainer, {\n yes: doDelete\n });\n },\n truncateText: function truncateText(text, length) {\n if (text.length > length) {\n return \"\".concat(text.substr(0, length - 3), \"...\");\n }\n\n return text;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ContainerList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ContainerList.vue */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue\");\n/* harmony import */ var _ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ContainerEdit.vue */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {},\n components: {\n ContainerList: _ContainerList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n ContainerEdit: _ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer;\n }, function (v) {\n _this.onIdContainerParamChange(v);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('containertagmanagement');\n this.onIdContainerParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer);\n },\n computed: {\n idContainer: function idContainer() {\n var idContainer = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainer;\n\n if (!this.isAddAllowed && idContainer === '') {\n return null;\n }\n\n return idContainer;\n },\n editMode: function editMode() {\n return !!this.idContainer;\n }\n },\n methods: {\n onIdContainerParamChange: function onIdContainerParamChange(idContainer) {\n // for BC w/ angularjs only invoke event if idContainer is 0\n if (idContainer === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVersion', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AvailableContexts.store */ \"./plugins/TagManager/vue/src/AvailableContexts.store.ts\");\n\n\n\n\nfunction sortByName(items) {\n items.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String,\n dashboardHelpText: String,\n tagsHelpText: String,\n triggersHelpText: String,\n variablesHelpText: String,\n versionsHelpText: String\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n EnrichedHeadline: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"EnrichedHeadline\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentIntro: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentIntro\"]\n },\n data: function data() {\n return {\n container: null,\n containerVersion: null,\n isLoading: false\n };\n },\n created: function created() {\n var _this = this;\n\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].init();\n this.isLoading = true;\n var containerPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer\n }).then(function (container) {\n _this.container = container;\n });\n var versionPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.exportContainerVersion',\n idContainer: this.idContainer\n }).then(function (containerVersion) {\n _this.containerVersion = containerVersion;\n });\n Promise.all([containerPromise, versionPromise]).finally(function () {\n _this.isLoading = false;\n });\n },\n methods: {\n linkTo: function linkTo(action, hash) {\n var url = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action\n }));\n\n if (hash) {\n url += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return \"?\".concat(url);\n },\n lastVersionLinkTitle: function lastVersionLinkTitle(lastVersion) {\n return \"Created on \".concat(lastVersion.created_date_pretty) + \", description: '\".concat(lastVersion.description, \"'\");\n },\n releaseTooltip: function releaseTooltip(release) {\n var firstPart = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReleaseInfo', release.release_login, release.release_date_pretty);\n var secondPart = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReleaseVersionInfo', release.version_name);\n return \"\".concat(firstPart, \" \").concat(secondPart);\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n }\n },\n computed: {\n lastVersions: function lastVersions() {\n var _this$container, _this$container$versi;\n\n if ((_this$container = this.container) !== null && _this$container !== void 0 && (_this$container$versi = _this$container.versions) !== null && _this$container$versi !== void 0 && _this$container$versi.length) {\n return this.container.versions.slice(-5);\n }\n\n return [];\n },\n contexts: function contexts() {\n var result = {};\n _AvailableContexts_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].contexts.value.forEach(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n result[id] = name;\n });\n return result;\n },\n containerMetaInformation: function containerMetaInformation() {\n var _this$containerVersio, _this$container2, _this$containerVersio2;\n\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ContainerMetaInformation', ((_this$containerVersio = this.containerVersion) === null || _this$containerVersio === void 0 ? void 0 : _this$containerVersio.idcontainer) || '', this.contexts[((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.context) || ''] || '', ((_this$containerVersio2 = this.containerVersion) === null || _this$containerVersio2 === void 0 ? void 0 : _this$containerVersio2.created_date_pretty) || '');\n },\n sortedContainerVersionTags: function sortedContainerVersionTags() {\n var _this$containerVersio3;\n\n var tags = ((_this$containerVersio3 = this.containerVersion) === null || _this$containerVersio3 === void 0 ? void 0 : _this$containerVersio3.tags) || [];\n sortByName(tags);\n return tags;\n },\n sortedTriggers: function sortedTriggers() {\n var _this$containerVersio4;\n\n var triggers = ((_this$containerVersio4 = this.containerVersion) === null || _this$containerVersio4 === void 0 ? void 0 : _this$containerVersio4.triggers) || [];\n sortByName(triggers);\n return triggers;\n },\n sortedVariables: function sortedVariables() {\n var _this$containerVersio5;\n\n var variables = ((_this$containerVersio5 = this.containerVersion) === null || _this$containerVersio5 === void 0 ? void 0 : _this$containerVersio5.variables) || [];\n sortByName(variables);\n return variables;\n },\n tagCount: function tagCount() {\n var _this$containerVersio6;\n\n return (_this$containerVersio6 = this.containerVersion) === null || _this$containerVersio6 === void 0 ? void 0 : _this$containerVersio6.tags.length;\n },\n triggerCount: function triggerCount() {\n var _this$containerVersio7;\n\n return (_this$containerVersio7 = this.containerVersion) === null || _this$containerVersio7 === void 0 ? void 0 : _this$containerVersio7.triggers.length;\n },\n versionCount: function versionCount() {\n var _this$container3;\n\n return (_this$container3 = this.container) === null || _this$container3 === void 0 ? void 0 : _this$container3.versions.length;\n },\n variableCount: function variableCount() {\n var _this$containerVersio8;\n\n return (_this$containerVersio8 = this.containerVersion) === null || _this$containerVersio8 === void 0 ? void 0 : _this$containerVersio8.variables.length;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n containerName: String\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n FocusAnywhereButHere: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"FocusAnywhereButHere\"]\n },\n data: function data() {\n return {\n containers: [],\n isLoading: false,\n showContainerList: false\n };\n },\n created: function created() {\n setTimeout(function () {\n window.initTopControls();\n });\n },\n methods: {\n fetchContainers: function fetchContainers() {\n var _this = this;\n\n this.isLoading = true;\n this.containers = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers'\n }).then(function (containers) {\n _this.containers = containers;\n }).finally(function () {\n _this.isLoading = false;\n });\n },\n linkTo: function linkTo(idContainer) {\n var action = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value.action;\n\n if (!action || action === 'manageContainers') {\n action = this.hasWriteAccess ? 'dashboard' : 'manageTags';\n }\n\n var newQuery = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n idContainer: idContainer,\n action: action\n }));\n return \"\".concat(window.location.pathname, \"?\").concat(newQuery);\n },\n onBlur: function onBlur() {\n this.showContainerList = false;\n }\n },\n computed: {\n actualContainerName: function actualContainerName() {\n if (this.containerName) {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ContainerX', this.containerName);\n }\n\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseContainer');\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nvar _window$mtmDbgData, _window$mtmDbgData2;\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n\nwindow.mtmDbgData = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n mtmEvents: ((_window$mtmDbgData = window.mtmDbgData) === null || _window$mtmDbgData === void 0 ? void 0 : _window$mtmDbgData.mtmEvents) || [],\n mtmLogs: ((_window$mtmDbgData2 = window.mtmDbgData) === null || _window$mtmDbgData2 === void 0 ? void 0 : _window$mtmDbgData2.mtmLogs) || []\n});\nvar cookieName = 'mtmPreviewPosition';\nvar stickyTextTop = 'Stick to Top';\nvar stickyTextBottom = 'Stick to Bottom';\n\nfunction getCircularReplacer() {\n var seen = new WeakSet();\n\n function circular(key, value) {\n if (_typeof(value) === 'object' && value !== null) {\n if (seen.has(value)) {\n return '';\n }\n\n seen.add(value);\n }\n\n return value;\n }\n\n return circular;\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n data: function data() {\n return {\n contentTab: 'tags',\n selectedEventIndex: 0,\n onlyfiredTags: false,\n positionText: Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"getCookie\"])(cookieName) === 'top' ? stickyTextBottom : stickyTextTop\n };\n },\n methods: {\n mtmUpdateDebugPosition: function mtmUpdateDebugPosition() {\n var sevenDays = 7 * 60 * 60 * 24 * 1000;\n var currentCookieValue = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"getCookie\"])(cookieName);\n var cookieValue = currentCookieValue === 'top' ? 'bottom' : 'top';\n Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"setCookie\"])(cookieName, cookieValue, sevenDays);\n var iframe = window.parent.document.getElementById('mtmDebugFrame');\n\n if (cookieValue === 'top') {\n this.positionText = stickyTextBottom;\n iframe.classList.remove('mtmStickyBottom');\n iframe.classList.add('mtmStickyTop');\n } else {\n this.positionText = stickyTextTop;\n iframe.classList.remove('mtmStickyTop');\n iframe.classList.add('mtmStickyBottom');\n }\n },\n selectEvent: function selectEvent(eventIndex) {\n if (!this.mtmEvents[eventIndex]) {\n return;\n }\n\n this.selectedEventIndex = eventIndex;\n },\n stringifySelectedVariable: function stringifySelectedVariable(variable) {\n return JSON.stringify(variable.value, getCircularReplacer());\n }\n },\n computed: {\n homeTabTitle: function homeTabTitle() {\n var _this$selectedEvent;\n\n if (!((_this$selectedEvent = this.selectedEvent) !== null && _this$selectedEvent !== void 0 && _this$selectedEvent.container)) {\n return '';\n }\n\n var versionName = this.selectedEvent.container.versionName || 'Draft version';\n var container = this.selectedEvent.container.id;\n var eventNum = this.selectedEventIndex + 1;\n return \"Event \".concat(eventNum, \": \").concat(this.selectedEvent.name, \" (\").concat(container, \" - \").concat(versionName, \")\");\n },\n notFiredTags: function notFiredTags() {\n var _this$selectedEvent2;\n\n if (!((_this$selectedEvent2 = this.selectedEvent) !== null && _this$selectedEvent2 !== void 0 && _this$selectedEvent2.container)) {\n return [];\n }\n\n var eventIndex = this.selectedEventIndex;\n var tagsFired = [];\n this.mtmEvents.forEach(function (event, i) {\n if (i > eventIndex) {\n return;\n }\n\n tagsFired.push.apply(tagsFired, _toConsumableArray(event.tags.map(function (tag) {\n return tag.name;\n })));\n });\n var tagsNotFired = [];\n this.selectedEvent.container.tags.forEach(function (tag) {\n if (tagsFired.indexOf(tag.name) === -1) {\n tagsNotFired.push(tag);\n }\n });\n return tagsNotFired;\n },\n selectedEvent: function selectedEvent() {\n return this.mtmEvents[this.selectedEventIndex];\n },\n mtmEvents: function mtmEvents() {\n return window.mtmDbgData.mtmEvents;\n },\n mtmEventsReversed: function mtmEventsReversed() {\n var result = _toConsumableArray(this.mtmEvents);\n\n result.reverse();\n return result;\n },\n mtmLogs: function mtmLogs() {\n return window.mtmDbgData.mtmLogs;\n },\n selectedEventData: function selectedEventData() {\n var _this$selectedEvent3;\n\n return ((_this$selectedEvent3 = this.selectedEvent) === null || _this$selectedEvent3 === void 0 ? void 0 : _this$selectedEvent3.eventData) && JSON.stringify(this.selectedEvent.eventData, getCircularReplacer());\n },\n selectedEventContainerDataLayer: function selectedEventContainerDataLayer() {\n var _this$selectedEvent4, _this$selectedEvent4$;\n\n return ((_this$selectedEvent4 = this.selectedEvent) === null || _this$selectedEvent4 === void 0 ? void 0 : (_this$selectedEvent4$ = _this$selectedEvent4.container) === null || _this$selectedEvent4$ === void 0 ? void 0 : _this$selectedEvent4$.dataLayer) && JSON.stringify(this.selectedEvent.container.dataLayer, getCircularReplacer());\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n name: String,\n uiControlAttributes: Object,\n modelValue: String,\n title: String,\n uiControl: {\n type: String,\n required: true\n }\n },\n inheritAttrs: false,\n emits: ['update:modelValue'],\n created: function created() {\n this.onKeydown = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(this.onKeydown.bind(this), 50);\n },\n methods: {\n onKeydown: function onKeydown(event) {\n this.$emit('update:modelValue', event.target.value);\n },\n selectVariable: function selectVariable() {\n var _this = this;\n\n tagManagerHelper.selectVariable(function (variable) {\n tagManagerHelper.insertTextSnippetAtElement(_this.$refs.textarea, \"{{\".concat(variable.id, \"}}\"));\n });\n }\n },\n watch: {\n modelValue: function modelValue() {\n var _this2 = this;\n\n var _window2 = window,\n Materialize = _window2.Materialize;\n setTimeout(function () {\n Materialize.textareaAutoResize(_this2.$refs.textarea);\n Materialize.updateTextFields();\n });\n }\n },\n mounted: function mounted() {\n var _this3 = this;\n\n var _window3 = window,\n Materialize = _window3.Materialize;\n setTimeout(function () {\n Materialize.textareaAutoResize(_this3.$refs.textarea);\n Materialize.updateTextFields();\n });\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n uiControl: {\n type: String,\n required: true\n },\n uiControlAttributes: Object,\n name: String,\n title: String,\n modelValue: null\n },\n inheritAttrs: false,\n emits: ['update:modelValue'],\n computed: {\n modelValueText: function modelValueText() {\n if (typeof this.modelValue === 'undefined' || this.modelValue === null) {\n return '';\n }\n\n return this.modelValue.toString();\n }\n },\n created: function created() {\n // debounce because puppeteer types reeaally fast\n this.onKeydown = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"])(this.onKeydown.bind(this), 50);\n },\n mounted: function mounted() {\n setTimeout(function () {\n window.Materialize.updateTextFields();\n });\n },\n watch: {\n modelValue: function modelValue() {\n setTimeout(function () {\n window.Materialize.updateTextFields();\n });\n }\n },\n methods: {\n onKeydown: function onKeydown(event) {\n this.$emit('update:modelValue', event.target.value);\n },\n selectVariable: function selectVariable() {\n var _this = this;\n\n tagManagerHelper.selectVariable(function (variable) {\n tagManagerHelper.insertTextSnippetAtElement(_this.$refs.input, \"{{\".concat(variable.id, \"}}\"));\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VariableSelectType/VariableSelectType.vue */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n uiControlAttributes: {\n type: Object,\n required: true\n },\n name: String,\n title: String,\n modelValue: String\n },\n components: {\n VariableSelectType: _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n },\n emits: ['update:modelValue']\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n canEdit: Boolean\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n computed: {\n gettingStartedHowCreateContainerText: function gettingStartedHowCreateContainerText() {\n var link = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify({\n module: 'TagManager',\n action: 'manageContainers'\n }), \"}\");\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_GettingStartedHowCreateContainer', \"\"), '');\n },\n gettingStartedContributeTagsText: function gettingStartedContributeTagsText() {\n var link = 'https://developer.matomo.org/guides/tagmanager/settingup';\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_GettingStartedContributeTags', \"\"), '');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar NOTIFICATION_ID = 'importContainerVersion';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isUpdating: false,\n backupName: '',\n importContent: ''\n };\n },\n methods: {\n showNotification: function showNotification(message, context) {\n var instanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n type: 'transient',\n id: NOTIFICATION_ID\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(instanceId);\n }, 200);\n },\n importVersion: function importVersion(backupName, version) {\n var _this = this;\n\n if (!version) {\n return;\n }\n\n var parsed;\n\n try {\n parsed = JSON.parse(version);\n } catch (e) {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorInvalidContainerImportFormat'), 'error');\n return;\n }\n\n if ('tags' in parsed && 'triggers' in parsed && 'variables' in parsed && 'idcontainer' in parsed && 'context' in parsed) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmImportContainerVersion, {\n yes: function yes() {\n _this.isUpdating = true;\n var post = {\n exportedContainerVersion: version\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: 'TagManager.importContainerVersion',\n idContainer: _this.idContainer,\n backupName: _this.backupName\n }, post).then(function () {\n _this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionImportSuccess'), 'success');\n\n _this.isUpdating = false;\n window.location.reload();\n }).catch(function () {\n _this.isUpdating = false;\n });\n }\n });\n } else {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorContainerVersionImportIncomplete'), 'error');\n }\n }\n },\n computed: {\n backupNameTitle: function backupNameTitle() {\n return \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_BackupVersionName'), \" (\").concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Recommended'), \")\");\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar _window = window,\n $ = _window.$;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"],\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n container: null,\n environments: [],\n environment: 'live',\n installInstructions: [],\n isLoading: false,\n isLoadingInstructions: false\n };\n },\n created: function created() {\n var _this = this;\n\n this.isLoading = true;\n this.fetchReleases().finally(function () {\n _this.isLoading = false;\n });\n },\n methods: {\n fetchInstallInstructions: function fetchInstallInstructions(environment) {\n var _this2 = this;\n\n this.installInstructions = [];\n this.isLoadingInstructions = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: this.idContainer,\n environment: environment\n }).then(function (instructions) {\n _this2.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this2.$refs.codeblock) ? _this2.$refs.codeblock : [_this2.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n _this2.isLoadingInstructions = false;\n });\n },\n fetchReleases: function fetchReleases() {\n var _this3 = this;\n\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch([{\n method: 'TagManager.getAvailableEnvironments',\n filter_limit: '-1'\n }, {\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }]).then(function (_ref) {\n var _this3$environments, _this3$environments$;\n\n var _ref2 = _slicedToArray(_ref, 2),\n environments = _ref2[0],\n container = _ref2[1];\n\n _this3.environments = environments.map(function (e) {\n return {\n key: e.id,\n value: e.name\n };\n });\n _this3.container = container;\n var hasLive = container.releases.some(function (r) {\n return r.environment === 'live';\n });\n\n if (!hasLive && (_this3$environments = _this3.environments) !== null && _this3$environments !== void 0 && (_this3$environments$ = _this3$environments[0]) !== null && _this3$environments$ !== void 0 && _this3$environments$.key) {\n _this3.environment = _this3.environments[0].key;\n } else if (!hasLive) {\n // no release available yet\n _this3.environment = '';\n }\n\n if (_this3.environment) {\n return _this3.fetchInstallInstructions(_this3.environment);\n }\n\n return undefined;\n });\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n }\n },\n computed: {\n releaseVersions: function releaseVersions() {\n var _this$container,\n _this4 = this;\n\n var result = {};\n (((_this$container = this.container) === null || _this$container === void 0 ? void 0 : _this$container.releases) || []).forEach(function (r) {\n result[r.idcontainerrelease] = _this4.container.versions.find(function (v) {\n return v.idcontainerversion === r.idcontainerversion;\n });\n });\n return result;\n },\n sortedReleases: function sortedReleases() {\n var _this$container2;\n\n var sorted = _toConsumableArray((((_this$container2 = this.container) === null || _this$container2 === void 0 ? void 0 : _this$container2.releases) || []).map(function (r, i) {\n return Object.assign(Object.assign({}, r), {}, {\n index: i\n });\n }));\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.release_date < rhs.release_date) {\n return 1;\n }\n\n if (lhs.release_date > rhs.release_date) {\n return -1;\n }\n\n return rhs.index - lhs.index; // angularjs sort defaults to using index when key is same\n });\n return sorted;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts": -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts ***! - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* eslint-disable @typescript-eslint/ban-ts-comment */\n\n\n\nfunction prefixDateZeroIfNeeded(number) {\n var datePart = String(number);\n\n if (datePart.length === 1) {\n datePart = \"0\".concat(datePart);\n }\n\n return datePart;\n}\n\nfunction convertUtcToLocalDate(dateTime) {\n if (!dateTime) {\n return undefined;\n }\n\n var isoDate = dateTime;\n\n if (isoDate) {\n isoDate = \"\".concat(isoDate).replace(/-/g, '/');\n\n try {\n return new Date(\"\".concat(isoDate, \" UTC\"));\n } catch (e) {\n try {\n return new Date(Date.parse(\"\".concat(isoDate, \" UTC\")));\n } catch (ex) {\n // eg phantomjs etc\n var datePart = isoDate.substr(0, 10);\n var timePart = isoDate.substr(11);\n var dateParts = datePart.split('/');\n var timeParts = timePart.split(':');\n\n if (dateParts.length === 3 && timeParts.length === 3) {\n var result = new Date(parseInt(dateParts[0], 10), parseInt(dateParts[1], 10) - 1, parseInt(dateParts[2], 10), parseInt(timeParts[0], 10), parseInt(timeParts[1], 10), parseInt(timeParts[2], 10));\n var newTime = result.getTime() + result.getTimezoneOffset() * 60000;\n return new Date(newTime);\n }\n }\n }\n }\n\n return undefined;\n}\n\nfunction convertUtcDateToLocalDatePart(isoDateTime) {\n var localStartDate = convertUtcToLocalDate(isoDateTime);\n\n if (localStartDate) {\n var month = prefixDateZeroIfNeeded(localStartDate.getMonth() + 1);\n var date = prefixDateZeroIfNeeded(localStartDate.getDate());\n return \"\".concat(localStartDate.getFullYear(), \"-\").concat(month, \"-\").concat(date);\n }\n\n var parts = isoDateTime.split(' ');\n return parts[0];\n}\n\nfunction convertUtcDateToLocalTimePart(isoDateTime) {\n var localStartDate = convertUtcToLocalDate(isoDateTime);\n\n if (localStartDate) {\n var hours = prefixDateZeroIfNeeded(localStartDate.getHours());\n var minutes = prefixDateZeroIfNeeded(localStartDate.getMinutes());\n var seconds = prefixDateZeroIfNeeded(localStartDate.getSeconds());\n return \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n }\n\n var parts = isoDateTime.split(' ');\n return parts[1];\n}\n\nfunction convertLocalDateToUtc(strDate) {\n var dateTime = strDate;\n\n if (dateTime) {\n dateTime = dateTime.replace(/-/g, '/');\n }\n\n try {\n var localDate = new Date(dateTime);\n var month = prefixDateZeroIfNeeded(localDate.getUTCMonth() + 1);\n var date = prefixDateZeroIfNeeded(localDate.getUTCDate());\n var hours = prefixDateZeroIfNeeded(localDate.getUTCHours());\n var minutes = prefixDateZeroIfNeeded(localDate.getUTCMinutes());\n var seconds = prefixDateZeroIfNeeded(localDate.getUTCSeconds());\n var formatted = '';\n formatted += \"\".concat(localDate.getUTCFullYear(), \"-\").concat(month, \"-\").concat(date);\n formatted += ' ';\n formatted += \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n return formatted;\n } catch (e) {\n return dateTime;\n }\n}\n\nvar _window = window,\n $ = _window.$;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n name: {\n type: String,\n required: true\n },\n defaultTime: {\n type: String,\n required: true\n },\n modelValue: String\n },\n mounted: function mounted() {\n var _this = this;\n\n var datePickerOptions = Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].getBaseDatePickerOptions(null)), {}, {\n minDate: new Date()\n });\n delete datePickerOptions.maxDate;\n $(this.$refs.dateInput).datepicker(Object.assign({}, datePickerOptions)); // @ts-ignore\n\n $(this.$refs.timeInput).timepicker({\n timeFormat: 'H:i:s'\n }) // timepicker triggers a jquery event, not a addEventListener event, so vue doesn't catch\n // it\n .on('change', function (event) {\n _this.onTimeKeydown(event);\n });\n },\n computed: {\n dateText: function dateText() {\n if (!this.modelValue) {\n return '';\n }\n\n return convertUtcDateToLocalDatePart(this.modelValue);\n },\n timeText: function timeText() {\n if (!this.modelValue) {\n return '';\n }\n\n return convertUtcDateToLocalTimePart(this.modelValue);\n }\n },\n methods: {\n onDateKeydown: function onDateKeydown(event) {\n var _this2 = this;\n\n setTimeout(function () {\n var value = event.target.value;\n\n if (_this2.dateText === value) {\n return;\n }\n\n _this2.onChange(value, _this2.timeText);\n });\n },\n onTimeKeydown: function onTimeKeydown(event) {\n var _this3 = this;\n\n setTimeout(function () {\n var value = event.target.value;\n\n if (_this3.timeText === value) {\n return;\n }\n\n _this3.onChange(_this3.dateText, value);\n });\n },\n onChange: function onChange(date, time) {\n if (!date) {\n this.$emit('update:model-value', null);\n return;\n }\n\n var timeToUse = time || this.defaultTime;\n var newDate = convertLocalDateToUtc(\"\".concat(date, \" \").concat(timeToUse));\n this.$emit('update:model-value', newDate);\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableFireLimit.store */ \"./plugins/TagManager/vue/src/AvailableFireLimit.store.ts\");\n/* harmony import */ var _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Trigger/Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\n/* harmony import */ var _TagTriggerArray_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TagTriggerArray.vue */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue\");\n/* harmony import */ var _TagDateInput_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TagDateInput.vue */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue\");\n/* harmony import */ var _Tags_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Tags.store */ \"./plugins/TagManager/vue/src/Tag/Tags.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\n\n\n\n\nfunction getCurrentTime() {\n var date = new Date();\n\n if (date && date.toString) {\n return date.toString();\n }\n\n return null;\n}\n\nvar _window = window,\n $ = _window.$,\n tagManagerHelper = _window.tagManagerHelper;\nvar notificationId = 'tagtagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idTag: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n newTagType: null\n },\n components: {\n TagDateInput: _TagDateInput_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"],\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n TagTriggerArray: _TagTriggerArray_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n },\n data: function data() {\n return {\n isDirty: false,\n showAdvanced: false,\n chooseTagType: false,\n availableTags: [],\n containerTriggers: [],\n currentTime: null,\n tag: {},\n editTitle: '',\n parameterValues: {},\n isUpdatingTag: false,\n fireTriggers: [],\n blockTriggers: [],\n currentTimeTimeout: null\n };\n },\n created: function created() {\n var _this = this;\n\n _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n this.updateAvailableTriggers();\n this.setCurrentTime();\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(this.idContainer, this.idContainerVersion).then(function () {\n _this.initIdTag();\n });\n },\n unmounted: function unmounted() {\n if (this.currentTimeTimeout) {\n clearTimeout(this.currentTimeTimeout);\n }\n },\n watch: {\n idTag: function idTag(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdTag();\n }\n },\n methods: {\n setCurrentTime: function setCurrentTime() {\n this.currentTime = getCurrentTime();\n this.currentTimeTimeout = setTimeout(this.setCurrentTime.bind(this), 10000);\n },\n updateAvailableTriggers: function updateAvailableTriggers() {\n var _this2 = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggers',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n filter_limit: '-1'\n }).then(function (triggers) {\n _this2.containerTriggers = triggers.map(function (t) {\n return {\n key: t.idtrigger,\n value: t.name\n };\n });\n });\n },\n removeAnyTagNotification: function removeAnyTagNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var instanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(instanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdTag: function initIdTag() {\n var _this3 = this;\n\n this.tag = {};\n this.chooseTagType = false;\n this.editTitle = '';\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableTags = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].fetchAvailableTags(container.context);\n }).then(function (tags) {\n _this3.availableTags = tags;\n }).then(function () {\n if (_this3.edit && _this3.idTag) {\n _this3.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditTag');\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].findTag(_this3.idContainer, _this3.idContainerVersion, _this3.idTag).then(function (tag) {\n if (!tag) {\n return;\n }\n\n _this3.tag = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(tag);\n _this3.parameterValues = Object.fromEntries(tag.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n _this3.blockTriggers = _toConsumableArray(_this3.tag.block_trigger_ids || []);\n\n if (!_this3.blockTriggers.length) {\n _this3.blockTriggers.push(null);\n }\n\n _this3.fireTriggers = _toConsumableArray(_this3.tag.fire_trigger_ids || []);\n\n if (!_this3.fireTriggers.length) {\n _this3.fireTriggers.push(null);\n }\n\n _this3.onFireTriggerChange();\n\n _this3.onBlockTriggerChange();\n\n _this3.isDirty = false;\n });\n return;\n }\n\n if (_this3.create) {\n _this3.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseTagToContinue');\n _this3.chooseTagType = true;\n }\n });\n },\n onCreateNewBlockTrigger: function onCreateNewBlockTrigger() {\n var _this4 = this;\n\n this.openEditTrigger(function (trigger) {\n var indexLastEntry = _this4.blockTriggers.length - 1;\n\n if (!_this4.blockTriggers[indexLastEntry]) {\n _this4.blockTriggers[indexLastEntry] = trigger.idtrigger;\n } else {\n _this4.blockTriggers.push(trigger.idtrigger);\n }\n\n _this4.onBlockTriggerChange();\n }, 0);\n },\n onCreateNewFireTrigger: function onCreateNewFireTrigger() {\n var _this5 = this;\n\n this.openEditTrigger(function (trigger) {\n var indexLastEntry = _this5.fireTriggers.length - 1;\n\n if (!_this5.fireTriggers[indexLastEntry]) {\n _this5.fireTriggers[indexLastEntry] = trigger.idtrigger;\n } else {\n _this5.fireTriggers.push(trigger.idtrigger);\n }\n\n _this5.onFireTriggerChange();\n }, 0);\n },\n editTrigger: function editTrigger(idTrigger) {\n this.openEditTrigger(function () {\n return null;\n }, idTrigger);\n },\n openEditTrigger: function openEditTrigger(callback, idTag) {\n var _this6 = this;\n\n tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTag, function (trigger) {\n _this6.updateAvailableTriggers();\n\n callback(trigger);\n });\n },\n onBlockTriggerChange: function onBlockTriggerChange() {\n var hasAll = this.blockTriggers.every(function (t) {\n return !!t;\n });\n\n if (hasAll) {\n this.addBlockTrigger();\n }\n },\n addBlockTrigger: function addBlockTrigger() {\n this.blockTriggers.push(null);\n this.isDirty = true;\n },\n removeBlockTrigger: function removeBlockTrigger(index) {\n if (index > -1) {\n var lastIndex = this.blockTriggers.length - 1;\n\n if (lastIndex === index) {\n this.blockTriggers[index] = null;\n } else {\n this.blockTriggers.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n onFireTriggerChange: function onFireTriggerChange() {\n var hasAll = this.fireTriggers.every(function (t) {\n return !!t;\n });\n\n if (hasAll) {\n this.addFireTrigger();\n }\n },\n addFireTrigger: function addFireTrigger() {\n this.fireTriggers.push(null);\n this.isDirty = true;\n },\n removeFireTrigger: function removeFireTrigger(index) {\n if (index > -1) {\n var lastIndex = this.fireTriggers.length - 1;\n\n if (lastIndex === index) {\n this.fireTriggers[index] = null;\n } else {\n this.fireTriggers.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n createTagType: function createTagType(tagTemplate) {\n var _this7 = this;\n\n if (tagTemplate && this.isTagTemplateDisabled[tagTemplate.id]) {\n return;\n }\n\n this.chooseTagType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTag');\n this.tag = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].suggestNameForType(tagTemplate.name) || '',\n type: tagTemplate.id,\n fire_limit: 'unlimited',\n priority: 999,\n fire_delay: 0,\n typeMetadata: tagTemplate\n };\n this.blockTriggers = [null];\n this.fireTriggers = [null];\n this.parameterValues = Object.fromEntries(tagTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.isDirty = false;\n setTimeout(function () {\n var editTag = $(_this7.$refs.root);\n\n if (editTag.length && editTag[0]) {\n editTag[0].scrollIntoView();\n }\n\n editTag.find('#name').focus();\n }, 1);\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idTag;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createTag: function createTag() {\n var _this8 = this;\n\n this.removeAnyTagNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTag = true;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateTag(this.tag, 'TagManager.addContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) {\n return !!id;\n }), this.blockTriggers.filter(function (id) {\n return !!id;\n })).then(function (response) {\n if (!response) {\n return;\n }\n\n _this8.isDirty = false;\n var idTag = response.value;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this8.idContainer, _this8.idContainerVersion).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTag: idTag\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Tag'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this8.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this8.isUpdatingTag = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateTag: function updateTag() {\n var _this9 = this;\n\n this.removeAnyTagNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTag = true;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateTag(this.tag, 'TagManager.updateContainerTag', this.idContainer, this.idContainerVersion, this.parameterValues, this.fireTriggers.filter(function (id) {\n return !!id;\n }), this.blockTriggers.filter(function (id) {\n return !!id;\n })).then(function (response) {\n if (!response) {\n return;\n }\n\n _this9.isDirty = false;\n _Tags_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this9.idContainer, _this9.idContainerVersion).then(function () {\n _this9.initIdTag();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Tag'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this9.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this9.isUpdatingTag = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.tag.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n if (!this.fireTriggers || !this.fireTriggers.length) {\n this.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_TagFireTriggerRequirement'), 'error');\n return false;\n }\n\n return true;\n }\n },\n computed: {\n availableFireLimits: function availableFireLimits() {\n return _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fireLimitsOptions.value;\n },\n isLoading: function isLoading() {\n return _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableFireLimit_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingTag;\n },\n create: function create() {\n return this.idTag === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n canUseCustomTemplates: function canUseCustomTemplates() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates');\n },\n isTagDisabled: function isTagDisabled() {\n var _this$tag$typeMetadat;\n\n return !this.canUseCustomTemplates && ((_this$tag$typeMetadat = this.tag.typeMetadata) === null || _this$tag$typeMetadat === void 0 ? void 0 : _this$tag$typeMetadat.isCustomTemplate);\n },\n isTagTemplateDisabled: function isTagTemplateDisabled() {\n var _this10 = this;\n\n var result = {};\n this.availableTags.forEach(function (tagCategory) {\n tagCategory.types.forEach(function (tag) {\n result[tag.id] = !_this10.canUseCustomTemplates && tag.isCustomTemplate;\n });\n });\n return result;\n },\n collectionItemAvatarText: function collectionItemAvatarText() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UseCustomTemplateCapabilityRequired', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CapabilityUseCustomTemplates'));\n },\n fireLimitHelp: function fireLimitHelp() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_FireLimitHelp', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Unlimited'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_OncePage'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Once24Hours'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_OnceLifetime'));\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Tags_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tags.store */ \"./plugins/TagManager/vue/src/Tag/Tags.store.ts\");\n/* harmony import */ var _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Trigger/Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n tagsHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write')\n };\n },\n created: function created() {\n var _this = this;\n\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].tags.value;\n }, function () {\n _this.reloadTriggers();\n });\n this.reloadTriggers();\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchTags(this.idContainer, this.idContainerVersion);\n },\n methods: {\n reloadTriggers: function reloadTriggers() {\n _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(this.idContainer, this.idContainerVersion);\n },\n createTag: function createTag() {\n this.editTag(0);\n },\n editTrigger: function editTrigger(idTrigger) {\n var _this2 = this;\n\n tagManagerHelper.editTrigger(this.idContainer, this.idContainerVersion, idTrigger, function () {\n _this2.reloadTriggers();\n });\n },\n editTag: function editTag(idTag) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTag: idTag\n }));\n },\n deleteTag: function deleteTag(tag) {\n var _this3 = this;\n\n var doDelete = function doDelete() {\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteTag(_this3.idContainer, _this3.idContainerVersion, tag.idtag).then(function () {\n _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this3.idContainer, _this3.idContainerVersion);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm('#confirmDeleteTag', {\n yes: doDelete\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n triggers: function triggers() {\n var triggers = {};\n _Trigger_Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].triggers.value.forEach(function (t) {\n triggers[\"\".concat(t.idtrigger)] = t.name;\n });\n return triggers;\n },\n isLoading: function isLoading() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n tags: function tags() {\n return _Tags_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].tags.value;\n },\n sortedTags: function sortedTags() {\n var sorted = _toConsumableArray(this.tags);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_TagsNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_TagsDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_TagsTypeDescription');\n },\n triggersTranslatedText: function triggersTranslatedText() {\n return this.translate('TagManager_TagsTriggersDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_TagsLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_TagsActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TagList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TagList.vue */ \"./plugins/TagManager/vue/src/Tag/TagList.vue\");\n/* harmony import */ var _TagEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TagEdit.vue */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n tagsHelpText: String\n },\n components: {\n TagList: _TagList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n TagEdit: _TagEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag;\n }, function (idTag) {\n _this.onIdTagParamChange(idTag);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('tagtagmanagement');\n this.onIdTagParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag);\n },\n methods: {\n onIdTagParamChange: function onIdTagParamChange(idTag) {\n // for BC w/ angularjs only invoke event if idTag is 0\n if (idTag === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddTag', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idTag: function idTag() {\n var idTag = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTag;\n\n if (!this.isAddAllowed && idTag === '0') {\n return null;\n }\n\n return idTag ? parseInt(idTag, 10) : idTag;\n },\n editMode: function editMode() {\n return typeof this.idTag === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n type: {\n type: String,\n required: true\n },\n help: {\n type: String,\n required: true\n },\n title: {\n type: String,\n required: true\n },\n containerTriggers: {\n type: Array,\n required: true\n },\n modelValue: {\n type: Array,\n required: true\n }\n },\n components: {\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_1__[\"Field\"]\n },\n emits: ['update:modelValue', 'create', 'edit'],\n methods: {\n onChangeTrigger: function onChangeTrigger(idTrigger, index) {\n var newValue = _toConsumableArray(this.modelValue);\n\n newValue[index] = parseInt(idTrigger, 10);\n this.$emit('update:modelValue', newValue);\n },\n removeTrigger: function removeTrigger(index) {\n var newValue = _toConsumableArray(this.modelValue);\n\n newValue.splice(index, 1);\n this.$emit('update:modelValue', newValue);\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean\n },\n components: {\n TrackingCodeCommon: _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n methods: {\n fetchInstallInstructions: function fetchInstallInstructions() {\n var _refs$site,\n _refs$site2,\n _this = this;\n\n // eslint-disable-next-line\n var refs = this.$refs.trackingCodeCommon;\n refs.installInstructions = [];\n\n if (!(refs !== null && refs !== void 0 && refs.idContainer) || !(refs !== null && refs !== void 0 && refs.environment) || !(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id)) {\n return;\n }\n\n refs.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer,\n environment: refs === null || refs === void 0 ? void 0 : refs.environment,\n idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id\n }).then(function (instructions) {\n refs.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n refs.isLoading = false;\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n\nfunction ucfirst(s) {\n return \"\".concat(s.substr(0, 1).toUpperCase()).concat(s.substr(1));\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean,\n currentAction: String,\n showBottom: Boolean,\n showDescription: Boolean\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"],\n SiteSelector: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SiteSelector\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n emits: ['fetchInstallInstructions'],\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n data: function data() {\n return {\n containerVariables: [],\n isLoading: false,\n idContainer: '',\n environment: '',\n environments: [],\n environmentNameMap: {},\n containerMap: {},\n containerOptions: [],\n site: {\n id: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n name: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.htmlDecode(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].siteName)\n },\n matomoConfigs: [],\n releases: [],\n installInstructions: [],\n noReleaseFound: false\n };\n },\n created: function created() {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableEnvironments',\n filter_limit: '-1'\n }).then(function (environments) {\n var entities;\n\n if (Array.isArray(environments)) {\n entities = environments;\n } else {\n entities = Object.values(environments);\n }\n\n _this.environmentNameMap = Object.fromEntries(entities.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return [id, name];\n }));\n });\n this.onSiteChange();\n },\n watch: {\n site: function site() {\n this.onSiteChange();\n }\n },\n methods: {\n onSiteChange: function onSiteChange() {\n var _this$site,\n _this2 = this;\n\n this.installInstructions = [];\n this.containerOptions = [];\n this.containerMap = {};\n this.environments = [];\n this.matomoConfigs = [];\n this.idContainer = '';\n\n if (!((_this$site = this.site) !== null && _this$site !== void 0 && _this$site.id)) {\n return;\n }\n\n this.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers',\n filter_limit: '-1',\n idSite: this.site.id\n }).then(function (containers) {\n _this2.containerOptions = [];\n\n if (!(containers !== null && containers !== void 0 && containers.length)) {\n _this2.idContainer = '';\n\n _this2.containerOptions.push({\n key: '',\n value: _this2.translate('TagManager_NoContainersFound')\n });\n\n return;\n }\n\n containers.forEach(function (container) {\n if (!_this2.idContainer) {\n _this2.idContainer = container.idcontainer;\n }\n\n _this2.containerMap[container.idcontainer] = container;\n\n _this2.containerOptions.push({\n key: container.idcontainer,\n value: container.name\n });\n });\n\n _this2.onContainerChange();\n }).finally(function () {\n _this2.isLoading = false;\n });\n },\n onContainerChange: function onContainerChange() {\n var _this3 = this;\n\n this.noReleaseFound = false;\n\n if (!this.idContainer) {\n return;\n }\n\n this.installInstructions = [];\n var container = this.containerMap[this.idContainer];\n var draftVersion = container.draft.idcontainerversion;\n this.environment = '';\n this.environments = [];\n var releases = container.releases || [];\n\n if (releases.find(function (r) {\n return r.environment === 'live';\n })) {\n // we always prefer to pre-select the live environment\n this.environment = 'live';\n }\n\n releases.forEach(function (release) {\n if (release.environment === 'preview') {\n return; // there is nothing to embed for this environment\n }\n\n if (!_this3.environment) {\n _this3.environment = release.environment;\n }\n\n var name = ucfirst(release.environment);\n\n if (release.environment in _this3.environmentNameMap) {\n name = _this3.environmentNameMap[release.environment];\n }\n\n _this3.environments.push({\n key: release.environment,\n value: name\n });\n });\n\n if (!this.environments.length) {\n this.noReleaseFound = true;\n this.environments.push({\n key: '',\n value: this.translate('TagManager_NoReleasesFound')\n });\n }\n\n this.$emit('fetchInstallInstructions');\n this.fetchVariables(draftVersion);\n },\n linkTo: function linkTo(action, idContainer, hash) {\n var newQuery = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action,\n idContainer: idContainer\n }));\n var newUrl = \"\".concat(window.location.pathname, \"?\").concat(newQuery);\n\n if (hash) {\n newUrl += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return newUrl;\n },\n fetchVariables: function fetchVariables(containerDraftVersion) {\n var _this$site2,\n _this4 = this;\n\n this.matomoConfigs = [];\n\n if (!this.idContainer || !((_this$site2 = this.site) !== null && _this$site2 !== void 0 && _this$site2.id) || !containerDraftVersion) {\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariables',\n filter_limit: '-1',\n idContainer: this.idContainer,\n idContainerVersion: containerDraftVersion,\n idSite: this.site.id\n }).then(function (variables) {\n _this4.matomoConfigs = variables.filter(function (v) {\n return v.type === 'MatomoConfiguration';\n });\n }).finally(function () {\n _this4.isLoading = false;\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n currentAction: String,\n showContainerRow: Boolean\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n TagmanagerTrackingCode: _TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n computed: {\n trackingInfoTextLine1: function trackingInfoTextLine1() {\n var manageContainersLink = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'manageContainers'\n })));\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagManagerTrackingInfoLine1', \"\"), '');\n },\n trackingInfoTextLine2: function trackingInfoTextLine2() {\n var gettingStartedLink = \"?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: 'gettingStarted'\n })));\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagManagerTrackingInfoLine2', \"\"), '');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts": -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n showContainerRow: Boolean,\n currentAction: String,\n jsFramework: String\n },\n components: {\n TrackingCodeCommon: _TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n directives: {\n SelectOnFocus: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"SelectOnFocus\"]\n },\n data: function data() {\n return {\n setupStep1: '',\n setupStep2: '',\n setupStep7: '',\n installInstructions: []\n };\n },\n methods: {\n fetchInstallInstructionsSPA: function fetchInstallInstructionsSPA() {\n var _refs$site,\n _refs$site2,\n _this = this;\n\n // eslint-disable-next-line\n var refs = this.$refs.trackingCodeCommon;\n this.installInstructions = [];\n\n if (!(refs !== null && refs !== void 0 && refs.idContainer) || !(refs !== null && refs !== void 0 && refs.environment) || !(refs !== null && refs !== void 0 && (_refs$site = refs.site) !== null && _refs$site !== void 0 && _refs$site.id)) {\n return;\n }\n\n var manageContainerURL = this.linkTo('manageContainers', refs.site.id, refs.idContainer);\n this.setupStep1 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep1', '
', '', \"\"), '');\n var triggersUrl = this.linkTo('manageTriggers', refs.site.id, refs.idContainer);\n this.setupStep2 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep2', \"\"), '');\n var tagsURL = this.linkTo('manageTags', refs.site.id, refs.idContainer);\n this.setupStep7 = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep7', \"\"), '');\n refs.isLoading = true;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerInstallInstructions',\n filter_limit: '-1',\n idContainer: refs === null || refs === void 0 ? void 0 : refs.idContainer,\n environment: refs === null || refs === void 0 ? void 0 : refs.environment,\n idSite: refs === null || refs === void 0 ? void 0 : (_refs$site2 = refs.site) === null || _refs$site2 === void 0 ? void 0 : _refs$site2.id,\n jsFramework: this.jsFramework\n }).then(function (instructions) {\n _this.installInstructions = instructions;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n var codeblocks = Array.isArray(_this.$refs.codeblock) ? _this.$refs.codeblock : [_this.$refs.codeblock];\n codeblocks.forEach(function (n) {\n $(n).effect('highlight', {}, 1500);\n });\n });\n }).finally(function () {\n refs.isLoading = false;\n });\n },\n linkTo: function linkTo(action, idSite, idContainer, hash) {\n var url = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].urlParsed.value), {}, {\n module: 'TagManager',\n action: action,\n idSite: idSite,\n idContainer: idContainer\n }));\n\n if (hash) {\n url += \"#?\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].stringify(hash));\n }\n\n return \"?\".concat(url);\n },\n fetchClickX: function fetchClickX(clickTarget) {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_ClickX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])(clickTarget));\n }\n },\n computed: {\n fetchFollowStep3: function fetchFollowStep3() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep3', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), '', '');\n },\n fetchFollowStep5: function fetchFollowStep5() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep5', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_HistoryChangeTriggerName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CategoryUserEngagement'));\n },\n fetchFollowStep8: function fetchFollowStep8() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep8', \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_MatomoTagName'), \"\"), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), '', '');\n },\n fetchFollowStep9: function fetchFollowStep9() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep9', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ConfigureWhatTagDoes'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomTitle'), '', '');\n },\n fetchFollowStep10: function fetchFollowStep10() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'));\n },\n fetchFollowStep10a: function fetchFollowStep10a() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10a', '', '', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'));\n },\n fetchFollowStep10b: function fetchFollowStep10b() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep10b', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CustomUrl'), '', '');\n },\n fetchFollowStep11: function fetchFollowStep11() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep11', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ConfigureWhenTagDoes'), Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_FireTriggerTitle'), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_HistoryChangeTriggerName'), \"\"), \"\".concat(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_PageViewTriggerName'), \"\"));\n },\n fetchFollowStep13: function fetchFollowStep13() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep13', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Publish'));\n },\n fetchFollowStep14: function fetchFollowStep14() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep14', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionName'), '', '');\n },\n fetchFollowStep15: function fetchFollowStep15() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep15', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateVersionAndPublishRelease'));\n },\n fetchFollowStep16SPA: function fetchFollowStep16SPA() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_SPAFollowStep16', '</head>', '', '');\n },\n fetchFollowStep16React: function fetchFollowStep16React() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ReactFollowStep16', '', '', 'App.js', 'React.useEffect', 'Hello World', 'React.js');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Triggers_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n\n\n\n\n\nvar notificationId = 'tagvariablemanagement';\nvar TRIGGER_TYPE_TO_CONDITION_ACTUAL = {\n AllElementsClick: 'ClickId',\n AllLinksClick: 'ClickId',\n DownloadClick: 'ClickId',\n ElementVisibility: 'VisibleElementClasses',\n FormSubmit: 'FormId',\n JavaScriptError: 'ErrorMessage'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idTrigger: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n newTriggerType: String,\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n chooseTriggerType: false,\n availableTriggers: [],\n availableVariables: [],\n variableIdToName: {},\n editTitle: '',\n trigger: {},\n parameterValues: {},\n isUpdatingTrigger: false\n };\n },\n emits: ['changeTrigger'],\n created: function created() {\n var _this = this;\n\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init();\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion\n }).then(function (categories) {\n categories.forEach(function (category) {\n category.types.forEach(function (v) {\n _this.variableIdToName[v.id] = v.name;\n\n _this.availableVariables.push({\n key: v.id,\n value: v.name,\n group: category.name,\n tooltip: v.description\n });\n });\n });\n }); // needed for suggestNameForType() to make sure it is aware of all names\n\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchTriggersIfNotLoaded(this.idContainer, this.idContainerVersion);\n this.initIdTrigger();\n },\n watch: {\n idTrigger: function idTrigger(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdTrigger();\n },\n triggerParameterValues: {\n handler: function handler(newValue, oldValue) {\n if (!newValue || !oldValue) {\n return;\n }\n\n this.isDirty = true;\n },\n deep: true\n }\n },\n methods: {\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.trigger.name) {\n this.showErrorFieldNotProvidedNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name'));\n return false;\n }\n\n return true;\n },\n removeAnyTriggerNotification: function removeAnyTriggerNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdTrigger: function initIdTrigger() {\n var _this2 = this;\n\n this.trigger = {};\n this.chooseTriggerType = false;\n this.editTitle = '';\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableTriggers = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchAvailableTriggers(container.context);\n }).then(function (triggers) {\n _this2.availableTriggers = triggers;\n }).then(function () {\n if (_this2.edit && _this2.idTrigger) {\n _this2.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditTrigger');\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].findTrigger(_this2.idContainer, _this2.idContainerVersion, _this2.idTrigger).then(function (trigger) {\n if (!trigger) {\n return;\n }\n\n _this2.trigger = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(trigger);\n _this2.parameterValues = Object.fromEntries(trigger.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n\n _this2.addConditionEntryIfNoneExists();\n\n _this2.onConditionChange();\n\n _this2.isDirty = false;\n });\n return;\n }\n\n if (_this2.create) {\n _this2.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseTriggerToContinue');\n _this2.chooseTriggerType = true;\n }\n });\n },\n onConditionChange: function onConditionChange() {\n var hasAll = (this.trigger.conditions || []).every(function (c) {\n return !!(c !== null && c !== void 0 && c.expected);\n });\n\n if (hasAll) {\n this.addConditionEntry();\n }\n },\n addConditionEntryIfNoneExists: function addConditionEntryIfNoneExists() {\n if (!this.trigger.conditions || !Array.isArray(this.trigger.conditions)) {\n this.trigger.conditions = [];\n }\n\n if (!this.trigger.conditions.length) {\n this.trigger.conditions.push(this.makeDefaultCondition());\n }\n },\n addConditionEntry: function addConditionEntry() {\n this.trigger.conditions.push(this.makeDefaultCondition());\n this.isDirty = true;\n },\n removeConditionEntry: function removeConditionEntry(index) {\n if (index > -1) {\n var lastIndex = this.trigger.conditions.length - 1;\n\n if (lastIndex === index) {\n this.trigger.conditions[index] = this.makeDefaultCondition();\n } else {\n this.trigger.conditions.splice(index, 1);\n }\n\n this.isDirty = true;\n }\n },\n createTriggerType: function createTriggerType(triggerTemplate) {\n var _this3 = this;\n\n if (triggerTemplate && this.isTriggerTemplateDisabled[triggerTemplate.id]) {\n return;\n }\n\n this.chooseTriggerType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTrigger');\n this.trigger = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].suggestNameForType(triggerTemplate.name) || '',\n description: '',\n type: triggerTemplate.id,\n idcontainerversion: this.idContainerVersion,\n conditions: [],\n typeMetadata: triggerTemplate\n };\n this.parameterValues = Object.fromEntries(triggerTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.addConditionEntry(); // we directly make the create button visible as sometimes some triggers do not\n // have any settings\n\n this.isDirty = true;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n if (!_this3.$refs.root) {\n return;\n }\n\n var root = _this3.$refs.root;\n root.scrollIntoView();\n var name = root.querySelector('#name');\n\n if (name) {\n name.focus();\n }\n });\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idTrigger;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createTrigger: function createTrigger() {\n var _this4 = this;\n\n this.removeAnyTriggerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTrigger = true;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateTrigger(this.trigger, 'TagManager.addContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n var idTrigger = response.value;\n _this4.isDirty = false;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this4.idContainer, _this4.idContainerVersion).then(function () {\n if (_this4.isEmbedded) {\n _this4.trigger.idtrigger = idTrigger;\n\n _this4.$emit('changeTrigger', {\n trigger: _this4.trigger\n });\n\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTrigger: idTrigger\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Trigger'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this4.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this4.isUpdatingTrigger = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateTrigger: function updateTrigger() {\n var _this5 = this;\n\n this.removeAnyTriggerNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingTrigger = true;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateTrigger(this.trigger, 'TagManager.updateContainerTrigger', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this5.isEmbedded) {\n _this5.$emit('changeTrigger', {\n trigger: _this5.trigger\n });\n\n return;\n }\n\n _this5.isDirty = false;\n _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this5.idContainer, _this5.idContainerVersion).then(function () {\n _this5.initIdTrigger();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Trigger'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this5.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this5.isUpdatingTrigger = false;\n });\n },\n makeDefaultCondition: function makeDefaultCondition() {\n var _this$trigger;\n\n var actual = 'PageUrl';\n\n if ((_this$trigger = this.trigger) !== null && _this$trigger !== void 0 && _this$trigger.typeMetadata) {\n var type = this.trigger.typeMetadata.id;\n\n if (TRIGGER_TYPE_TO_CONDITION_ACTUAL[type]) {\n actual = TRIGGER_TYPE_TO_CONDITION_ACTUAL[type];\n }\n }\n\n return {\n comparison: 'equals',\n actual: actual,\n expected: ''\n };\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value || this.isUpdatingTrigger;\n },\n create: function create() {\n return this.idTrigger === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n canUseCustomTemplates: function canUseCustomTemplates() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates');\n },\n isTriggerDisabled: function isTriggerDisabled() {\n var _this$trigger$typeMet;\n\n return !this.canUseCustomTemplates && ((_this$trigger$typeMet = this.trigger.typeMetadata) === null || _this$trigger$typeMet === void 0 ? void 0 : _this$trigger$typeMet.isCustomTemplate);\n },\n saveButtonText: function saveButtonText() {\n return this.edit ? Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('CoreUpdater_UpdateTitle') : Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewTrigger');\n },\n collectionItemAvatarText: function collectionItemAvatarText() {\n return Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UseCustomTemplateCapabilityRequired', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CapabilityUseCustomTemplates'));\n },\n availableComparisons: function availableComparisons() {\n return _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].comparisonOptions.value;\n },\n isTriggerTemplateDisabled: function isTriggerTemplateDisabled() {\n var _this6 = this;\n\n var result = {};\n this.availableTriggers.forEach(function (triggerCategory) {\n triggerCategory.types.forEach(function (trigger) {\n result[trigger.id] = !_this6.canUseCustomTemplates && trigger.isCustomTemplate;\n });\n });\n return result;\n },\n triggerParameterValues: function triggerParameterValues() {\n var _this$trigger$typeMet2;\n\n if (!((_this$trigger$typeMet2 = this.trigger.typeMetadata) !== null && _this$trigger$typeMet2 !== void 0 && _this$trigger$typeMet2.parameters)) {\n return null;\n }\n\n return this.parameterValues;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Triggers_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Triggers.store */ \"./plugins/TagManager/vue/src/Trigger/Triggers.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n triggersHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write'),\n triggerReferences: []\n };\n },\n created: function created() {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchTriggers(this.idContainer, this.idContainerVersion);\n },\n methods: {\n createTrigger: function createTrigger() {\n this.editTrigger(0);\n },\n editTrigger: function editTrigger(idTrigger) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idTrigger: idTrigger\n }));\n },\n deleteTrigger: function deleteTrigger(trigger) {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggerReferences',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n idTrigger: trigger.idtrigger\n }).then(function (references) {\n if (!references || !references.length) {\n _this.triggerReferences = [];\n\n var doDelete = function doDelete() {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteTrigger(_this.idContainer, _this.idContainerVersion, trigger.idtrigger).then(function () {\n _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this.idContainer, _this.idContainerVersion);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this.$refs.confirmDeleteTrigger, {\n yes: doDelete\n });\n } else {\n _this.triggerReferences = references;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this.$refs.confirmDeleteTriggerNotPossible, {});\n }\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n triggers: function triggers() {\n return _Triggers_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].triggers.value;\n },\n sortedTriggers: function sortedTriggers() {\n var sorted = _toConsumableArray(this.triggers);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_TriggersNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_TriggersDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_TriggersTypeDescription');\n },\n filterTranslatedText: function filterTranslatedText() {\n return this.translate('TagManager_TriggersFilterDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_TriggersLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_TriggersActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _TriggerList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TriggerList.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue\");\n/* harmony import */ var _TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TriggerEdit.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n triggersHelpText: String\n },\n components: {\n TriggerList: _TriggerList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n TriggerEdit: _TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger;\n }, function (idTrigger) {\n _this.onIdTriggerParamChange(idTrigger);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('triggertriggermanagement');\n this.onIdTriggerParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger);\n },\n methods: {\n onIdTriggerParamChange: function onIdTriggerParamChange(idTrigger) {\n // for BC w/ angularjs only invoke event if idVariable is 0\n if (idTrigger === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddTrigger', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idTrigger: function idTrigger() {\n var idTrigger = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idTrigger;\n\n if (!this.isAddAllowed && idTrigger === '0') {\n return null;\n }\n\n return idTrigger ? parseInt(idTrigger, 10) : idTrigger;\n },\n editMode: function editMode() {\n return typeof this.idTrigger === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Variables_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n\n\n\n\n\nvar notificationId = 'tagvariablemanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idVariable: Number,\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n variableType: String,\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n GroupedSettings: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"GroupedSettings\"],\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"]\n },\n data: function data() {\n return {\n isDirty: false,\n showAdvanced: false,\n chooseVariableType: false,\n canUseCustomTemplates: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_use_custom_templates'),\n availableVariables: [],\n editTitle: '',\n variable: {},\n parameterValues: {},\n isUpdatingVar: false\n };\n },\n emits: ['changeVariable'],\n created: function created() {\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init(); // needed for suggestNameForType() to make sure it is aware of all names\n\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchVariablesIfNotLoaded(this.idContainer, this.idContainerVersion);\n this.initIdVariable();\n },\n watch: {\n idVariable: function idVariable(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdVariable();\n },\n variableParameterValues: {\n handler: function handler(newValue, oldValue) {\n if (!newValue || !oldValue) {\n return;\n }\n\n this.isDirty = true;\n },\n deep: true\n },\n variableLookupTable: {\n handler: function handler() {\n var hasAll = (this.variable.lookup_table || []).every(function (t) {\n return !!(t !== null && t !== void 0 && t.out_value);\n });\n\n if (hasAll) {\n this.addLookUpEntry();\n }\n },\n deep: true\n }\n },\n methods: {\n removeAnyVariableNotification: function removeAnyVariableNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdVariable: function initIdVariable() {\n var _this = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n this.availableVariables = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n idContainer: this.idContainer,\n filter_limit: '-1'\n }).then(function (container) {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchAvailableVariables(container.context);\n }).then(function (variables) {\n _this.availableVariables = variables;\n }).then(function () {\n if (_this.edit && _this.idVariable) {\n _this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditVariable');\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].findVariable(_this.idContainer, _this.idContainerVersion, _this.idVariable, _this.isEmbedded).then(function (variable) {\n if (!variable) {\n return;\n }\n\n _this.variable = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(variable);\n _this.parameterValues = Object.fromEntries(variable.typeMetadata.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n\n if (_this.variable.lookup_table && _this.variable.lookup_table.length || _this.variable.default_value) {\n _this.showAdvanced = true; // make sure lookup_table is visible directly if configured\n }\n\n _this.addLookUpEntryIfNoneExists();\n\n _this.isDirty = false;\n });\n return;\n }\n\n if (_this.create) {\n var found = false;\n\n if (_this.variableType) {\n _this.availableVariables.forEach(function (category) {\n if (!found) {\n var variable = category.types.find(function (v) {\n return (v === null || v === void 0 ? void 0 : v.id) === _this.variableType;\n });\n\n if (variable) {\n found = true;\n\n _this.createVariableType(variable);\n }\n }\n });\n }\n\n if (!found) {\n _this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ChooseVariableToContinue');\n _this.chooseVariableType = true;\n }\n }\n });\n },\n addLookUpEntryIfNoneExists: function addLookUpEntryIfNoneExists() {\n if (!this.variable.lookup_table || !Array.isArray(this.variable.lookup_table)) {\n this.variable.lookup_table = [];\n }\n\n if (!this.variable.lookup_table.length) {\n this.variable.lookup_table.push({\n comparison: 'equals',\n match_value: '',\n out_value: ''\n });\n }\n },\n addLookUpEntry: function addLookUpEntry() {\n this.variable.lookup_table.push({\n comparison: 'equals',\n match_value: '',\n out_value: ''\n });\n this.isDirty = true;\n },\n removeLookUpEntry: function removeLookUpEntry(index) {\n if (index > -1) {\n this.variable.lookup_table.splice(index, 1);\n this.isDirty = true;\n }\n },\n createVariableType: function createVariableType(variableTemplate) {\n var _this2 = this;\n\n if (variableTemplate && this.isVariableTemplateDisabled[variableTemplate.id]) {\n return;\n }\n\n this.chooseVariableType = false;\n this.editTitle = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewVariable');\n this.variable = {\n idsite: parseInt(\"\".concat(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite), 10),\n name: _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].suggestNameForType(variableTemplate.name) || '',\n description: '',\n type: variableTemplate.id,\n idcontainer: this.idContainer,\n idcontainerversion: this.idContainerVersion,\n default_value: '',\n lookup_table: [],\n typeMetadata: variableTemplate\n };\n this.parameterValues = Object.fromEntries(variableTemplate.parameters.map(function (s) {\n return [s.name, s.value];\n }));\n this.addLookUpEntry(); // we directly make the create button visible as sometimes some variables do not have\n // any settings\n\n this.isDirty = true;\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"nextTick\"])(function () {\n if (!_this2.$refs.root) {\n return;\n }\n\n var root = _this2.$refs.root;\n root.scrollIntoView();\n var name = root.querySelector('#name');\n\n if (name) {\n name.focus();\n }\n });\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idVariable;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createVariable: function createVariable() {\n var _this3 = this;\n\n this.removeAnyVariableNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVar = true;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, {\n name: encodeURIComponent(this.variable.name)\n }), 'TagManager.addContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n _this3.isDirty = false;\n var idVariable = response.value;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this3.idContainer, _this3.idContainerVersion).then(function () {\n if (_this3.isEmbedded) {\n _this3.variable.idvariable = idVariable;\n\n _this3.$emit('changeVariable', {\n variable: _this3.variable\n });\n\n return;\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idVariable: idVariable\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Variable'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this3.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this3.isUpdatingVar = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateVariable: function updateVariable() {\n var _this4 = this;\n\n this.removeAnyVariableNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVar = true;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].createOrUpdateVariable(Object.assign(Object.assign({}, this.variable), {}, {\n name: encodeURIComponent(this.variable.name)\n }), 'TagManager.updateContainerVariable', this.idContainer, this.idContainerVersion, this.parameterValues).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this4.isEmbedded) {\n _this4.$emit('changeVariable', {\n variable: _this4.variable\n });\n\n return;\n }\n\n _this4.isDirty = false;\n _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this4.idContainer, _this4.idContainerVersion).then(function () {\n _this4.initIdVariable();\n });\n var updatedAt = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Variable'));\n var wantToDeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this4.showNotification(\"\".concat(updatedAt, \" \").concat(wantToDeploy), 'success');\n }).finally(function () {\n _this4.isUpdatingVar = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.variable.name) {\n this.showErrorFieldNotProvidedNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name'));\n return false;\n }\n\n return true;\n }\n },\n computed: {\n typeInlineHelp: function typeInlineHelp() {\n var _this$variable$typeMe, _this$variable$typeMe2;\n\n var desc = ((_this$variable$typeMe = this.variable.typeMetadata) === null || _this$variable$typeMe === void 0 ? void 0 : _this$variable$typeMe.description) || '';\n var help = ((_this$variable$typeMe2 = this.variable.typeMetadata) === null || _this$variable$typeMe2 === void 0 ? void 0 : _this$variable$typeMe2.help) || '';\n return \"\".concat(desc, \" \").concat(help);\n },\n create: function create() {\n return this.idVariable === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value || this.isUpdatingVar;\n },\n availableLookUpComparisons: function availableLookUpComparisons() {\n return _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].comparisonOptions.value;\n },\n isVariableTemplateDisabled: function isVariableTemplateDisabled() {\n var _this5 = this;\n\n var result = {};\n this.availableVariables.forEach(function (variableCategory) {\n variableCategory.types.forEach(function (variable) {\n result[variable.id] = !_this5.canUseCustomTemplates && variable.isCustomTemplate;\n });\n });\n return result;\n },\n isVariableDisabled: function isVariableDisabled() {\n var _this$variable$typeMe3;\n\n return !this.canUseCustomTemplates && ((_this$variable$typeMe3 = this.variable.typeMetadata) === null || _this$variable$typeMe3 === void 0 ? void 0 : _this$variable$typeMe3.isCustomTemplate);\n },\n variableParameterValues: function variableParameterValues() {\n var _this$variable$typeMe4;\n\n if (!((_this$variable$typeMe4 = this.variable.typeMetadata) !== null && _this$variable$typeMe4 !== void 0 && _this$variable$typeMe4.parameters)) {\n return null;\n }\n\n return this.parameterValues;\n },\n variableLookupTable: function variableLookupTable() {\n return this.variable.lookup_table;\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Variables_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: {\n type: Number,\n required: true\n },\n variablesHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n hasWriteAccess: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write'),\n variableReferences: [],\n containerVariables: []\n };\n },\n created: function created() {\n var _this = this;\n\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fetchVariables(this.idContainer, this.idContainerVersion);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n filter_limit: '-1'\n }).then(function (variables) {\n _this.containerVariables = variables;\n });\n },\n methods: {\n createVariable: function createVariable() {\n this.editVariable(0);\n },\n editVariable: function editVariable(idVariable) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idVariable: idVariable\n }));\n },\n deleteVariable: function deleteVariable(variable) {\n var _this2 = this;\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariableReferences',\n idContainer: this.idContainer,\n idContainerVersion: this.idContainerVersion,\n idVariable: variable.idvariable\n }).then(function (references) {\n if (!references || !references.length) {\n _this2.variableReferences = [];\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this2.$refs.confirmDeleteVariable, {\n yes: function yes() {\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].deleteVariable(_this2.idContainer, _this2.idContainerVersion, variable.idvariable).then(function () {\n _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].reload(_this2.idContainer, _this2.idContainerVersion);\n });\n }\n });\n } else {\n _this2.variableReferences = references;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(_this2.$refs.confirmDeleteVariableNotPossible, {});\n }\n });\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n }\n },\n computed: {\n isLoading: function isLoading() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpdating.value;\n },\n variables: function variables() {\n return _Variables_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"].variables.value;\n },\n sortedVariables: function sortedVariables() {\n var sorted = _toConsumableArray(this.variables);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.name < rhs.name) {\n return -1;\n }\n\n return lhs.name > rhs.name ? 1 : 0;\n });\n return sorted;\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_VariablesNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_VariablesDescriptionDescription');\n },\n typeTranslatedText: function typeTranslatedText() {\n return this.translate('TagManager_VariablesTypeDescription');\n },\n lookupTableTranslatedText: function lookupTableTranslatedText() {\n return this.translate('TagManager_VariablesLookupTableDescription');\n },\n lastUpdatedTranslatedText: function lastUpdatedTranslatedText() {\n return this.translate('TagManager_VariablesLastUpdatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_VariablesActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _VariableList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VariableList.vue */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue\");\n/* harmony import */ var _VariableEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VariableEdit.vue */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: Number,\n idContainer: String,\n variablesHelpText: String\n },\n components: {\n VariableList: _VariableList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n VariableEdit: _VariableEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable;\n }, function (idVariable) {\n _this.onIdVariableParamChange(idVariable);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('variablevariablemanagement');\n this.onIdVariableParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable);\n },\n methods: {\n onIdVariableParamChange: function onIdVariableParamChange(idVariable) {\n // for BC w/ angularjs only invoke event if idVariable is 0\n if (idVariable === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVariable', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idVariable: function idVariable() {\n var idVariable = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idVariable;\n\n if (!this.isAddAllowed && idVariable === '0') {\n return null;\n }\n\n return idVariable ? parseInt(idVariable, 10) : idVariable;\n },\n editMode: function editMode() {\n return typeof this.idVariable === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n idContainerVersion: Number\n },\n components: {\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n data: function data() {\n return {\n preconfiguredVariables: [],\n containerVariables: [],\n isLoading: false,\n actualIdContainerVersion: this.idContainerVersion\n };\n },\n emits: ['selectVariable'],\n created: function created() {\n this.fetchAvailableVariables();\n },\n watch: {\n idContainerVersion: function idContainerVersion(newValue) {\n this.actualIdContainerVersion = newValue;\n }\n },\n methods: {\n fetchAvailableVariables: function fetchAvailableVariables() {\n var _this = this;\n\n this.preconfiguredVariables = [];\n this.containerVariables = [];\n this.fetchContainer().then(function (container) {\n _this.isLoading = true;\n _this.actualIdContainerVersion = container.draft.idcontainerversion;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: _this.idContainer,\n idContainerVersion: _this.actualIdContainerVersion\n }).then(function (variables) {\n _this.preconfiguredVariables = [];\n _this.containerVariables = [];\n _this.isLoading = false;\n variables.forEach(function (category) {\n var _this$containerVariab;\n\n var preConfig = Object.assign(Object.assign({}, category), {}, {\n types: category.types.filter(function (c) {\n return c.is_pre_configured;\n })\n });\n\n (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, _toConsumableArray(category.types.filter(function (c) {\n return !c.is_pre_configured;\n })));\n\n if (preConfig.types.length) {\n _this.preconfiguredVariables.push(preConfig);\n }\n });\n }).catch(function () {\n _this.isLoading = false;\n });\n });\n },\n editVariable: function editVariable(variable) {\n var _this2 = this;\n\n if (!this.actualIdContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, variable.idvariable, function () {\n _this2.fetchAvailableVariables();\n });\n },\n createVariable: function createVariable() {\n var _this3 = this;\n\n if (!this.actualIdContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(this.idContainer, this.actualIdContainerVersion, 0, function () {\n _this3.fetchAvailableVariables();\n });\n },\n selectVariable: function selectVariable(variable) {\n this.$emit('selectVariable', {\n variable: variable\n });\n },\n fetchContainer: function fetchContainer() {\n this.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n filter_limit: '-1',\n idContainer: this.idContainer\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n variableTypeName: {\n type: String,\n required: true\n },\n modelValue: String,\n variableType: String\n },\n components: {\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n emits: ['update:modelValue'],\n data: function data() {\n return {\n containerVariables: [],\n isLoading: false,\n idContainerVersion: null\n };\n },\n created: function created() {\n this.fetchAvailableVariables();\n },\n methods: {\n fetchAvailableVariables: function fetchAvailableVariables() {\n var _this = this;\n\n this.containerVariables = [];\n this.fetchContainer().then(function (container) {\n _this.isLoading = true;\n _this.idContainerVersion = container.draft.idcontainerversion;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContainerVariables',\n filter_limit: '-1',\n idContainer: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer,\n idContainerVersion: _this.idContainerVersion\n }).then(function (variables) {\n _this.containerVariables = [];\n _this.isLoading = false;\n variables.forEach(function (category) {\n var _this$containerVariab;\n\n var options = category.types.filter(function (t) {\n return t.type === _this.variableType;\n }).map(function (t) {\n return {\n key: \"{{\".concat(t.id, \"}}\"),\n value: t.name\n };\n });\n\n (_this$containerVariab = _this.containerVariables).push.apply(_this$containerVariab, _toConsumableArray(options));\n });\n\n if (!_this.modelValue && _this.containerVariables.length === 1) {\n // when no value configured and only one selection is available, we preselect that value\n _this.onChange(_this.containerVariables[0].key);\n }\n }).catch(function () {\n _this.isLoading = false;\n });\n });\n },\n onChange: function onChange(newValue) {\n this.$emit('update:modelValue', newValue);\n },\n createVariable: function createVariable() {\n var _this2 = this;\n\n if (!this.idContainerVersion) {\n return;\n }\n\n tagManagerHelper.editVariable(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer, this.idContainerVersion, 0, function (variable) {\n _this2.fetchAvailableVariables();\n\n if (variable) {\n _this2.onChange(\"{{\".concat(variable.name, \"}}\"));\n }\n }, this.variableType);\n },\n fetchContainer: function fetchContainer() {\n this.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainer',\n filter_limit: '-1',\n idContainer: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].parsed.value.idContainer\n });\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n canPublishToLive: Boolean\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AvailableEnvironments.store */ \"./plugins/TagManager/vue/src/AvailableEnvironments.store.ts\");\n/* harmony import */ var _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Variable/Variables.store */ \"./plugins/TagManager/vue/src/Variable/Variables.store.ts\");\n/* harmony import */ var _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../AvailableComparisons.store */ \"./plugins/TagManager/vue/src/AvailableComparisons.store.ts\");\n/* harmony import */ var _diffDraftVersion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./diffDraftVersion */ \"./plugins/TagManager/vue/src/Version/diffDraftVersion.ts\");\n/* harmony import */ var _Versions_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\n/* harmony import */ var _VersionNameHelpText_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./VersionNameHelpText.vue */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue\");\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\n\n\n\n\n\nvar notificationId = 'versiontagmanagement';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainerVersion: {\n type: Number,\n required: true\n },\n idContainer: {\n type: String,\n required: true\n },\n isEmbedded: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n SaveButton: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"SaveButton\"],\n ActivityIndicator: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ActivityIndicator\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n isDirty: false,\n lastVersion: null,\n versionChanges: [],\n isLoadingVersionChanges: false,\n isUpdatingVersion: false,\n version: {}\n };\n },\n emits: ['changeVersion'],\n created: function created() {\n _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].init();\n _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].init();\n this.initIdContainerVersion();\n },\n watch: {\n idContainerVersion: function idContainerVersion(newValue) {\n if (newValue === null) {\n return;\n }\n\n this.initIdContainerVersion();\n }\n },\n methods: {\n removeAnyVersionNotification: function removeAnyVersionNotification() {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove(notificationId);\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('ajaxHelper');\n },\n showNotification: function showNotification(message, context) {\n var notificationInstanceId = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].show({\n message: message,\n context: context,\n id: notificationId,\n type: 'transient'\n });\n setTimeout(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].scrollToNotification(notificationInstanceId);\n }, 200);\n },\n showErrorFieldNotProvidedNotification: function showErrorFieldNotProvidedNotification(title) {\n var message = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_ErrorXNotProvided', [title]);\n this.showNotification(message, 'error');\n },\n initIdContainerVersion: function initIdContainerVersion() {\n var _this = this;\n\n this.version = {};\n this.lastVersion = null;\n this.versionChanges = [];\n this.isLoadingVersionChanges = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].fetchVersions(this.idContainer).then(function () {\n var _versions$;\n\n _this.isLoadingVersionChanges = false;\n _this.lastVersion = null;\n\n var versions = _toConsumableArray(_Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].versions.value);\n\n if (!(versions !== null && versions !== void 0 && versions.length)) {\n return;\n }\n\n versions.sort(function (a, b) {\n return a.revision < b.revision ? 1 : 0;\n });\n var lastContainerVersion = null;\n\n if (_this.create && (_versions$ = versions[0]) !== null && _versions$ !== void 0 && _versions$.name) {\n _this.lastVersion = versions[0].name;\n lastContainerVersion = versions[0].idcontainerversion;\n } else if (_this.edit) {\n versions.forEach(function (v, i) {\n // we stop before the last one because it cannot have an entry\n if (i >= versions.length - 1) {\n return;\n }\n\n if (v.idcontainerversion === _this.idContainerVersion && versions[i + 1]) {\n _this.lastVersion = versions[i + 1].name;\n lastContainerVersion = versions[i + 1].idcontainerversion;\n }\n });\n }\n\n if (_this.lastVersion) {\n _this.isLoadingVersionChanges = true;\n Object(_diffDraftVersion__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_this.idContainer, _this.idContainerVersion, lastContainerVersion).then(function (diff) {\n _this.versionChanges = diff;\n _this.isLoadingVersionChanges = false;\n });\n\n if (_this.create && !_this.version.name && /^\\d+$/.test(_this.lastVersion)) {\n _this.version.name = \"\".concat(parseInt(_this.lastVersion, 10) + 1);\n _this.isDirty = true;\n }\n }\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.lazyScrollToContent();\n\n if (this.edit && this.idContainerVersion) {\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].findVersion(this.idContainer, this.idContainerVersion).then(function (version) {\n if (!version) {\n return;\n }\n\n _this.version = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"clone\"])(version);\n _this.isDirty = false;\n });\n return;\n }\n\n if (this.create) {\n this.version = {\n idSite: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite,\n idcontainer: this.idContainer,\n name: '',\n description: ''\n };\n\n if (this.canPublishToLive) {\n this.version.environments = ['live'];\n } else {\n // If the user can't publish to live, select the next available option.\n var notLive = this.environments.find(function (obj) {\n return obj.key !== 'live';\n });\n this.version.environments = notLive ? [notLive.key] : [];\n }\n\n this.isDirty = false;\n }\n },\n cancel: function cancel() {\n var newParams = Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value);\n delete newParams.idContainerVersion;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(newParams);\n },\n createVersion: function createVersion() {\n var _this2 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return;\n }\n\n _this2.isDirty = false;\n var idContainerVersion = response.value;\n\n if (_this2.isEmbedded) {\n _this2.version.idcontainerversion = idContainerVersion;\n\n _this2.$emit('changeVersion', {\n version: _this2.version\n });\n\n return;\n }\n\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this2.idContainer).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n setTimeout(function () {\n var createdX = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Version'));\n var wantToRedeploy = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_WantToDeployThisChangeCreateVersion', '', '');\n\n _this2.showNotification(\"\".concat(createdX, \" \").concat(wantToRedeploy), 'success');\n }, 200);\n });\n }).finally(function () {\n _this2.isUpdatingVersion = false;\n });\n },\n createVersionAndPublish: function createVersionAndPublish() {\n var _this3 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.createContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return null;\n }\n\n var idContainerVersion = response.value;\n _this3.version.idcontainerversion = idContainerVersion;\n return _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].publishVersion(_this3.idContainer, idContainerVersion, _this3.version.environments[0]).then(function () {\n _this3.isDirty = false;\n\n if (_this3.isEmbedded) {\n _this3.$emit('changeVersion', {\n version: _this3.version\n });\n\n return;\n }\n\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this3.idContainer).then(function () {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n setTimeout(function () {\n _this3.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_VersionPublishSuccess'), 'success');\n }, 200);\n });\n });\n }).finally(function () {\n _this3.isUpdatingVersion = false;\n });\n },\n setValueHasChanged: function setValueHasChanged() {\n this.isDirty = true;\n },\n updateVersion: function updateVersion() {\n var _this4 = this;\n\n this.removeAnyVersionNotification();\n\n if (!this.checkRequiredFieldsAreSet()) {\n return;\n }\n\n this.isUpdatingVersion = true;\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].createOrUpdateVersion(this.version, 'TagManager.updateContainerVersion', this.idContainer).then(function (response) {\n if (!response) {\n return;\n }\n\n if (_this4.isEmbedded) {\n _this4.$emit('changeVersion', {\n version: _this4.version\n });\n\n return;\n }\n\n _this4.isDirty = false;\n _this4.version = {};\n _Versions_store__WEBPACK_IMPORTED_MODULE_7__[\"default\"].reload(_this4.idContainer).then(function () {\n _this4.initIdContainerVersion();\n });\n\n _this4.showNotification(Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_UpdatedX', Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_Version')), 'success');\n }).finally(function () {\n _this4.isUpdatingVersion = false;\n });\n },\n checkRequiredFieldsAreSet: function checkRequiredFieldsAreSet() {\n if (!this.version.name) {\n var title = Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('General_Name');\n this.showErrorFieldNotProvidedNotification(title);\n return false;\n }\n\n return true;\n }\n },\n computed: {\n create: function create() {\n return this.idContainerVersion === 0;\n },\n edit: function edit() {\n return !this.create;\n },\n isLoading: function isLoading() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isLoading.value || _AvailableComparisons_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Variable_Variables_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].isUpdating.value || this.isUpdatingVersion;\n },\n environments: function environments() {\n var environments = _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].environmentsWithPublishOptions.value;\n\n if (!this.canPublishToLive) {\n // If the user can't publish to live, disable that option.\n var liveIndex = environments.findIndex(function (obj) {\n return obj.key === 'live';\n });\n\n if (liveIndex > -1) {\n environments[liveIndex].disabled = true;\n }\n }\n\n return environments;\n },\n canPublishToLive: function canPublishToLive() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_publish_live_container');\n },\n versionNameHelpText: function versionNameHelpText() {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"markRaw\"])(_VersionNameHelpText_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n },\n selectTagManagerEnvironmentHelp: function selectTagManagerEnvironmentHelp() {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"markRaw\"])(_SelectTagManagerEnvironmentHelpText_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\n },\n editTitle: function editTitle() {\n return this.create ? Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_CreateNewVersion') : Object(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"translate\"])('TagManager_EditVersion');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! CorePluginsAdmin */ \"CorePluginsAdmin\");\n/* harmony import */ var CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Versions_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Versions.store */ \"./plugins/TagManager/vue/src/Version/Versions.store.ts\");\n/* harmony import */ var _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AvailableEnvironments.store */ \"./plugins/TagManager/vue/src/AvailableEnvironments.store.ts\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n\n\n\n\nvar _window = window,\n tagManagerHelper = _window.tagManagerHelper;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: {\n type: String,\n required: true\n },\n versionsHelpText: String\n },\n components: {\n ContentBlock: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentBlock\"],\n Field: CorePluginsAdmin__WEBPACK_IMPORTED_MODULE_2__[\"Field\"]\n },\n directives: {\n ContentTable: CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"ContentTable\"]\n },\n data: function data() {\n return {\n versionToBePublished: null\n };\n },\n created: function created() {\n _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init();\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fetchVersions(this.idContainer);\n },\n methods: {\n createVersion: function createVersion() {\n this.editVersion(0);\n },\n truncateText: function truncateText(text, length) {\n return tagManagerHelper.truncateText(text, length);\n },\n publishVersion: function publishVersion(version) {\n var _this = this;\n\n this.versionToBePublished = version;\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmPublishVersion, {\n yes: function yes() {\n var deployEnvironment = _this.availableEnvironmentsToPublish.deployEnvironment;\n\n if (deployEnvironment) {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].publishVersion(version.idcontainer, version.idcontainerversion, deployEnvironment).then(function () {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this.idContainer);\n });\n }\n }\n });\n },\n enableDebugMode: function enableDebugMode(idContainerVersion) {\n tagManagerHelper.enablePreviewMode(this.idContainer, idContainerVersion);\n },\n exportVersion: function exportVersion(idContainerVersion, versionName) {\n var params = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: this.idContainer,\n filter_limit: -1\n };\n\n if (idContainerVersion) {\n params.idContainerVersion = idContainerVersion;\n }\n\n var filename = \"container_\".concat(this.idContainer);\n\n if (versionName) {\n filename += \"_\".concat(versionName);\n }\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch(params).then(function (exportedContainer) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.sendContentAsDownload(\"\".concat(filename, \".json\"), JSON.stringify(exportedContainer));\n });\n },\n editVersion: function editVersion(idContainerVersion) {\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].updateHash(Object.assign(Object.assign({}, CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value), {}, {\n idContainerVersion: idContainerVersion\n }));\n },\n importVersion: function importVersion() {\n tagManagerHelper.importVersion(this.idContainer);\n },\n deleteVersion: function deleteVersion(version) {\n var _this2 = this;\n\n var doDelete = function doDelete() {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].deleteVersion(_this2.idContainer, version.idcontainerversion).then(function () {\n _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].reload(_this2.idContainer);\n });\n };\n\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].helper.modalConfirm(this.$refs.confirmDeleteVersion, {\n yes: doDelete\n });\n },\n ucfirst: function ucfirst(s) {\n return \"\".concat(s.substring(0, 1).toUpperCase()).concat(s.substring(1));\n },\n getExportUrl: function getExportUrl(version) {\n return \"?module=TagManager&action=exportContainerVersion&idContainer=\".concat(this.idContainer) + \"&idContainerVersion=\".concat(version.idcontainerversion, \"&idSite=\").concat(version.idsite) + '&period=day&date=yesterday';\n },\n getExportDraftUrl: function getExportDraftUrl() {\n return \"?module=TagManager&action=exportContainerVersion&idContainer=\".concat(this.idContainer) + \"&idSite=\".concat(this.idSite, \"&period=day&date=yesterday\");\n }\n },\n computed: {\n environments: function environments() {\n return _AvailableEnvironments_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].environmentsWithPublishOptions.value;\n },\n availableEnvironmentsToPublish: function availableEnvironmentsToPublish() {\n var _this3 = this;\n\n var deployEnvironment = '';\n var environnments = this.environments.filter(function (env) {\n var _this3$versionToBePub, _this3$versionToBePub2;\n\n if (!((_this3$versionToBePub = _this3.versionToBePublished) !== null && _this3$versionToBePub !== void 0 && _this3$versionToBePub.releases)) {\n return true;\n }\n\n var found = (_this3$versionToBePub2 = _this3.versionToBePublished) === null || _this3$versionToBePub2 === void 0 ? void 0 : _this3$versionToBePub2.releases.some(function (r) {\n return r.environment === (env === null || env === void 0 ? void 0 : env.key);\n });\n\n if (!found && !deployEnvironment) {\n deployEnvironment = env.key;\n }\n\n return !found;\n });\n return {\n deployEnvironment: deployEnvironment,\n environnments: environnments\n };\n },\n idSite: function idSite() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].idSite;\n },\n isLoading: function isLoading() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isLoading.value;\n },\n isUpdating: function isUpdating() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUpdating.value;\n },\n versions: function versions() {\n return _Versions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"].versions.value;\n },\n sortedVersions: function sortedVersions() {\n var sorted = _toConsumableArray(this.versions);\n\n sorted.sort(function (lhs, rhs) {\n if (lhs.revision < rhs.revision) {\n return 1;\n }\n\n return lhs.revision > rhs.revision ? 0 : 1;\n });\n return sorted;\n },\n hasWriteAccess: function hasWriteAccess() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_write');\n },\n canPublishToLive: function canPublishToLive() {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].hasUserCapability('tagmanager_publish_live_container');\n },\n revisionTranslatedText: function revisionTranslatedText() {\n return this.translate('TagManager_VersionsRevisionDescription');\n },\n nameTranslatedText: function nameTranslatedText() {\n return this.translate('TagManager_VersionsNameDescription');\n },\n descriptionTranslatedText: function descriptionTranslatedText() {\n return this.translate('TagManager_VersionsDescriptionDescription');\n },\n environmentTranslatedText: function environmentTranslatedText() {\n return this.translate('TagManager_VersionsEnvironmentsDescription');\n },\n createdTranslatedText: function createdTranslatedText() {\n return this.translate('TagManager_VersionsCreatedDescription');\n },\n actionTranslatedText: function actionTranslatedText() {\n return this.translate('TagManager_VersionsActionDescription');\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _VersionList_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VersionList.vue */ \"./plugins/TagManager/vue/src/Version/VersionList.vue\");\n/* harmony import */ var _VersionEdit_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VersionEdit.vue */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n idContainer: String,\n versionsHelpText: String\n },\n components: {\n VersionList: _VersionList_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n VersionEdit: _VersionEdit_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data: function data() {\n return {\n isAddAllowed: false\n };\n },\n created: function created() {\n var _this = this;\n\n // doing this in a watch because we don't want to post an event in a computed property\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"watch\"])(function () {\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion;\n }, function (v) {\n _this.onIdContainerVersionParamChange(v);\n });\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"NotificationsStore\"].remove('versiontagmanagement');\n this.onIdContainerVersionParamChange(CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion);\n },\n methods: {\n onIdContainerVersionParamChange: function onIdContainerVersionParamChange(idContainerVersion) {\n // for BC w/ angularjs only invoke event if idContainerVersion is 0\n if (idContainerVersion === '0') {\n var parameters = {\n isAllowed: true\n };\n CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"Matomo\"].postEvent('TagManager.initAddVersion', parameters);\n this.isAddAllowed = !!parameters.isAllowed;\n }\n }\n },\n computed: {\n idContainerVersion: function idContainerVersion() {\n var idContainerVersion = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"MatomoUrl\"].hashParsed.value.idContainerVersion;\n\n if (!this.isAddAllowed && idContainerVersion === '0') {\n return null;\n }\n\n return idContainerVersion ? parseInt(idContainerVersion, 10) : idContainerVersion;\n },\n editMode: function editMode() {\n return typeof this.idContainerVersion === 'number';\n }\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"defineComponent\"])({\n props: {\n lastVersion: String\n }\n}));\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./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"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js ***! - \**********************************************************************************/ -/*! exports provided: ImportVersion, VariableSelect, VariableSelectType, FieldTextareaVariable, FieldVariableTemplate, FieldVariableTypeTemplate, VariableEdit, VariableList, VariableManage, TriggerEdit, TriggerList, TriggerManage, TagEdit, TagList, TagManage, VersionEdit, VersionList, VersionManage, ContainerEdit, ContainerList, ContainerManage, ContainerDashboard, ContainerSelector, ManageInstallTagCode, TagmanagerTrackingCode, TrackingCodeCommon, TrackingCodePage, TrackingSPAPage, Debugging, GettingStarted */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _setPublicPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPublicPath */ \"./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js\");\n/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ~entry */ \"./plugins/TagManager/vue/src/index.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImportVersion\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ImportVersion\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelect\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelectType\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableSelectType\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldTextareaVariable\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldTextareaVariable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTemplate\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldVariableTemplate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTypeTemplate\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"FieldVariableTypeTemplate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VariableManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TriggerManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"VersionManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerEdit\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerEdit\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerList\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerManage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerManage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerDashboard\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerDashboard\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerSelector\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ContainerSelector\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ManageInstallTagCode\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"ManageInstallTagCode\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagmanagerTrackingCode\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TagmanagerTrackingCode\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodeCommon\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingCodeCommon\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodePage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingCodePage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingSPAPage\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"TrackingSPAPage\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Debugging\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"Debugging\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GettingStarted\", function() { return _entry__WEBPACK_IMPORTED_MODULE_1__[\"GettingStarted\"]; });\n\n\n\n\n\n//# sourceURL=webpack://TagManager/./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js?"); - -/***/ }), - -/***/ "./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js ***! - \***************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (false) { var getCurrentScript; }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_require__.p = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\n/* harmony default export */ __webpack_exports__[\"default\"] = (null);\n\n\n//# sourceURL=webpack://TagManager/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableComparisons.store.ts": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableComparisons.store.ts ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableComparisonsStore = /*#__PURE__*/function () {\n function AvailableComparisonsStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableComparisonsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n comparisons: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"comparisons\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.comparisons;\n }));\n\n _defineProperty(this, \"comparisonOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.comparisons.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableComparisonsStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableComparisons();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableComparisons\",\n value: function fetchAvailableComparisons() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableComparisons',\n filter_limit: '-1'\n }).then(function (comparisons) {\n _this2.privateState.comparisons = comparisons;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableComparisonsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableComparisonsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableComparisons.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableContexts.store.ts": -/*!***************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableContexts.store.ts ***! - \***************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableContextStore = /*#__PURE__*/function () {\n function AvailableContextStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableContextStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n contexts: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"contexts\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.contexts;\n }));\n\n _defineProperty(this, \"contextsOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.contexts.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableContextStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableContexts();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableContexts\",\n value: function fetchAvailableContexts() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableContexts',\n filter_limit: '-1'\n }).then(function (contexts) {\n var entities;\n\n if (Array.isArray(contexts)) {\n entities = contexts;\n } else {\n entities = Object.values(contexts);\n }\n\n _this2.privateState.contexts = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableContextStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableContextStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableContexts.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableEnvironments.store.ts": -/*!*******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableEnvironments.store.ts ***! - \*******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableEnvironmentStore = /*#__PURE__*/function () {\n function AvailableEnvironmentStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableEnvironmentStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n environmentsWithPublish: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"environmentsWithPublish\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.environmentsWithPublish;\n }));\n\n _defineProperty(this, \"environmentsWithPublishOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.environmentsWithPublish.value.map( // eslint-disable-next-line\n function (_ref) {\n var id = _ref.id,\n name = _ref.name,\n disabled = _ref.disabled;\n return {\n key: id,\n value: name,\n disabled: false\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableEnvironmentStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchEnvironments();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchEnvironments\",\n value: function fetchEnvironments() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableEnvironmentsWithPublishCapability',\n filter_limit: '-1'\n }).then(function (environmentsWithPublish) {\n var entities;\n\n if (Array.isArray(environmentsWithPublish)) {\n entities = environmentsWithPublish;\n } else {\n entities = Object.values(environmentsWithPublish);\n }\n\n _this2.privateState.environmentsWithPublish = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableEnvironmentStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableEnvironmentStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableEnvironments.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/AvailableFireLimit.store.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/AvailableFireLimit.store.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar AvailableFireLimitStore = /*#__PURE__*/function () {\n function AvailableFireLimitStore() {\n var _this = this;\n\n _classCallCheck(this, AvailableFireLimitStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n fireLimits: [],\n isLoading: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isLoading;\n }));\n\n _defineProperty(this, \"fireLimits\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.fireLimits;\n }));\n\n _defineProperty(this, \"fireLimitsOptions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.fireLimits.value.map(function (_ref) {\n var id = _ref.id,\n name = _ref.name;\n return {\n key: id,\n value: name\n };\n });\n }));\n\n _defineProperty(this, \"initializePromise\", null);\n }\n\n _createClass(AvailableFireLimitStore, [{\n key: \"init\",\n value: function init() {\n if (!this.initializePromise) {\n this.initializePromise = this.fetchAvailableFireLimits();\n }\n\n return this.initializePromise;\n }\n }, {\n key: \"fetchAvailableFireLimits\",\n value: function fetchAvailableFireLimits() {\n var _this2 = this;\n\n this.privateState.isLoading = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTagFireLimits',\n filter_limit: '-1'\n }).then(function (fireLimits) {\n var entities;\n\n if (Array.isArray(fireLimits)) {\n entities = fireLimits;\n } else {\n entities = Object.values(fireLimits);\n }\n\n _this2.privateState.fireLimits = entities;\n }).finally(function () {\n _this2.privateState.isLoading = false;\n });\n }\n }]);\n\n return AvailableFireLimitStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new AvailableFireLimitStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/AvailableFireLimit.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerEdit.vue?vue&type=template&id=3ddae96c */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c\");\n/* harmony import */ var _ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerEdit.vue?vue&type=template&id=3ddae96c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerEdit.vue?vue&type=template&id=3ddae96c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerEdit_vue_vue_type_template_id_3ddae96c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerList.vue?vue&type=template&id=5c6b3844 */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844\");\n/* harmony import */ var _ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844 ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerList.vue?vue&type=template&id=5c6b3844 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerList.vue?vue&type=template&id=5c6b3844\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerList_vue_vue_type_template_id_5c6b3844__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerManage.vue?vue&type=template&id=469f4b25 */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25\");\n/* harmony import */ var _ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Container/ContainerManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts ***! - \******************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25": -/*!************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25 ***! - \************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerManage.vue?vue&type=template&id=469f4b25 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Container/ContainerManage.vue?vue&type=template&id=469f4b25\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerManage_vue_vue_type_template_id_469f4b25__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/ContainerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Container/Containers.store.ts": -/*!******************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Container/Containers.store.ts ***! - \******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar ContainersStore = /*#__PURE__*/function () {\n function ContainersStore() {\n var _this = this;\n\n _classCallCheck(this, ContainersStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n containers: [],\n isLoadingContainers: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingContainers || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"containers\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.containers;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n }\n\n _createClass(ContainersStore, [{\n key: \"reload\",\n value: function reload() {\n this.privateState.containers = [];\n this.fetchPromise = null;\n return this.fetchContainers();\n }\n }, {\n key: \"fetchContainers\",\n value: function fetchContainers() {\n var _this2 = this;\n\n this.privateState.isLoadingContainers = true;\n this.privateState.containers = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainers',\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (containers) {\n _this2.privateState.containers = containers;\n _this2.privateState.isLoadingContainers = false;\n return _this2.containers.value;\n }).finally(function () {\n _this2.privateState.isLoadingContainers = false;\n });\n }\n }, {\n key: \"findContainer\",\n value: function findContainer(idContainer) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded containers\n var found = this.containers.value.find(function (v) {\n return v.idcontainer === idContainer;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n method: 'TagManager.getContainer',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.containers = [].concat(_toConsumableArray(_this3.privateState.containers), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"deleteContainer\",\n value: function deleteContainer(idContainer) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.containers = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n method: 'TagManager.deleteContainer'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"createOrUpdateContainer\",\n value: function createOrUpdateContainer(container, method) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: method,\n idContainer: container.idcontainer\n }, {\n name: container.name,\n description: container.description,\n context: container.context\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }]);\n\n return ContainersStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new ContainersStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Container/Containers.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerDashboard.vue?vue&type=template&id=9b82ef88 */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88\");\n/* harmony import */ var _ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerDashboard.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerDashboard.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerDashboard_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88 ***! - \************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerDashboard.vue?vue&type=template&id=9b82ef88 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?vue&type=template&id=9b82ef88\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerDashboard_vue_vue_type_template_id_9b82ef88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContainerSelector.vue?vue&type=template&id=1a26f35e */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e\");\n/* harmony import */ var _ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContainerSelector.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts ***! - \****************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ContainerSelector.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ContainerSelector_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e ***! - \**********************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ContainerSelector.vue?vue&type=template&id=1a26f35e */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?vue&type=template&id=1a26f35e\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ContainerSelector_vue_vue_type_template_id_1a26f35e__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Debugging.vue?vue&type=template&id=fe13948c */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c\");\n/* harmony import */ var _Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Debugging.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Debugging/Debugging.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./Debugging.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_Debugging_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./Debugging.vue?vue&type=template&id=fe13948c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=fe13948c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Debugging_vue_vue_type_template_id_fe13948c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Debugging/Debugging.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldTextareaVariable.vue?vue&type=template&id=6848eb70 */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70\");\n/* harmony import */ var _FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldTextareaVariable.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldTextareaVariable.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldTextareaVariable.vue?vue&type=template&id=6848eb70 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?vue&type=template&id=6848eb70\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldTextareaVariable_vue_vue_type_template_id_6848eb70__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldVariableTemplate.vue?vue&type=template&id=77309d88 */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88\");\n/* harmony import */ var _FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldVariableTemplate.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldVariableTemplate.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldVariableTemplate.vue?vue&type=template&id=77309d88 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?vue&type=template&id=77309d88\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTemplate_vue_vue_type_template_id_77309d88__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue": -/*!************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue ***! - \************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c\");\n/* harmony import */ var _FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldVariableTypeTemplate.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts": -/*!************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts ***! - \************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./FieldVariableTypeTemplate.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c ***! - \******************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?vue&type=template&id=dbd6623c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_FieldVariableTypeTemplate_vue_vue_type_template_id_dbd6623c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue": -/*!**********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue ***! - \**********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GettingStarted.vue?vue&type=template&id=749015fc */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc\");\n/* harmony import */ var _GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GettingStarted.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./GettingStarted.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_GettingStarted_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc ***! - \****************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./GettingStarted.vue?vue&type=template&id=749015fc */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?vue&type=template&id=749015fc\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_GettingStarted_vue_vue_type_template_id_749015fc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ImportVersion.vue?vue&type=template&id=0daf96f8 */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8\");\n/* harmony import */ var _ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ImportVersion.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ImportVersion.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ImportVersion_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ImportVersion.vue?vue&type=template&id=0daf96f8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?vue&type=template&id=0daf96f8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ImportVersion_vue_vue_type_template_id_0daf96f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue ***! - \**********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ManageInstallTagCode.vue?vue&type=template&id=7c5b617c */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c\");\n/* harmony import */ var _ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ManageInstallTagCode.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./ManageInstallTagCode.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c": -/*!****************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c ***! - \****************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./ManageInstallTagCode.vue?vue&type=template&id=7c5b617c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?vue&type=template&id=7c5b617c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ManageInstallTagCode_vue_vue_type_template_id_7c5b617c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue": -/*!*********************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue ***! - \*********************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagDateInput.vue?vue&type=template&id=cdb1b58c */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c\");\n/* harmony import */ var _TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagDateInput.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagDateInput.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts": -/*!*********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts ***! - \*********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagDateInput.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagDateInput_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c": -/*!***************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c ***! - \***************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagDateInput.vue?vue&type=template&id=cdb1b58c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagDateInput.vue?vue&type=template&id=cdb1b58c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagDateInput_vue_vue_type_template_id_cdb1b58c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagDateInput.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue": -/*!****************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue ***! - \****************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagEdit.vue?vue&type=template&id=19eed008 */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008\");\n/* harmony import */ var _TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008 ***! - \**********************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagEdit.vue?vue&type=template&id=19eed008 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagEdit.vue?vue&type=template&id=19eed008\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagEdit_vue_vue_type_template_id_19eed008__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue": -/*!****************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue ***! - \****************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagList.vue?vue&type=template&id=387f1ee0 */ \"./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0\");\n/* harmony import */ var _TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts": -/*!****************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0 ***! - \**********************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagList.vue?vue&type=template&id=387f1ee0 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagList.vue?vue&type=template&id=387f1ee0\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagList_vue_vue_type_template_id_387f1ee0__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue": -/*!******************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue ***! - \******************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagManage.vue?vue&type=template&id=99761952 */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952\");\n/* harmony import */ var _TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952 ***! - \************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagManage.vue?vue&type=template&id=99761952 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagManage.vue?vue&type=template&id=99761952\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagManage_vue_vue_type_template_id_99761952__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagTriggerArray.vue?vue&type=template&id=5ab79bf3 */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3\");\n/* harmony import */ var _TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagTriggerArray.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Tag/TagTriggerArray.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagTriggerArray.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagTriggerArray_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagTriggerArray.vue?vue&type=template&id=5ab79bf3 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?vue&type=template&id=5ab79bf3\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagTriggerArray_vue_vue_type_template_id_5ab79bf3__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/TagTriggerArray.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Tag/Tags.store.ts": -/*!******************************************************!*\ - !*** ./plugins/TagManager/vue/src/Tag/Tags.store.ts ***! - \******************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar TagsStore = /*#__PURE__*/function () {\n function TagsStore() {\n var _this = this;\n\n _classCallCheck(this, TagsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n tags: [],\n isLoadingTags: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingTags || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"tags\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.tags;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableTagsPromises\", {});\n }\n\n _createClass(TagsStore, [{\n key: \"fetchTags\",\n value: function fetchTags(idContainer, idContainerVersion) {\n var _this2 = this;\n\n this.privateState.isLoadingTags = true;\n this.privateState.tags = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTags',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (tags) {\n _this2.privateState.tags = tags;\n _this2.privateState.isLoadingTags = false;\n return _this2.tags.value;\n }).finally(function () {\n _this2.privateState.isLoadingTags = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.tags = [];\n this.fetchPromise = null;\n this.availableTagsPromises = {};\n return this.fetchTags(idContainer, idContainerVersion);\n }\n }, {\n key: \"findTag\",\n value: function findTag(idContainer, idContainerVersion, idTag) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.tags.value.find(function (v) {\n return v.idtag === idTag;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTag: idTag,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerTag',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.tags = [].concat(_toConsumableArray(_this3.privateState.tags), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"fetchAvailableTags\",\n value: function fetchAvailableTags(idContext) {\n if (!this.availableTagsPromises[idContext]) {\n this.availableTagsPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTagTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n }).then(function (tags) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(tags);\n });\n }\n\n return Promise.resolve(this.availableTagsPromises[idContext]);\n }\n }, {\n key: \"createOrUpdateTag\",\n value: function createOrUpdateTag(tag, method, idContainer, idContainerVersion, parameterValues, fireTriggerIds, blockTriggerIds) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idTag: tag.idtag,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: tag.type,\n name: tag.name,\n description: tag.description,\n startDate: tag.start_date,\n endDate: tag.end_date,\n fireLimit: tag.fire_limit,\n fireDelay: tag.fire_delay,\n priority: tag.priority\n }, {\n parameters: parameters,\n fireTriggerIds: fireTriggerIds,\n blockTriggerIds: blockTriggerIds\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"deleteTag\",\n value: function deleteTag(idContainer, idContainerVersion, idTag) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.tags = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTag: idTag,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerTag'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this6 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this6.tags.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }]);\n\n return TagsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new TagsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Tag/Tags.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688\");\n/* harmony import */ var _TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TagmanagerTrackingCode.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts": -/*!**************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts ***! - \**************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TagmanagerTrackingCode.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688": -/*!********************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 ***! - \********************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TagmanagerTrackingCode.vue?vue&type=template&id=faa04688 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?vue&type=template&id=faa04688\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TagmanagerTrackingCode_vue_vue_type_template_id_faa04688__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue": -/*!**********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue ***! - \**********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4\");\n/* harmony import */ var _TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingCodeCommon.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingCodeCommon.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4": -/*!****************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 ***! - \****************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingCodeCommon.vue?vue&type=template&id=58edc3d4 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?vue&type=template&id=58edc3d4\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodeCommon_vue_vue_type_template_id_58edc3d4__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue": -/*!********************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue ***! - \********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingCodePage.vue?vue&type=template&id=4faf0ab8 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8\");\n/* harmony import */ var _TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingCodePage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts": -/*!********************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts ***! - \********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingCodePage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingCodePage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8": -/*!**************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8 ***! - \**************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingCodePage.vue?vue&type=template&id=4faf0ab8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?vue&type=template&id=4faf0ab8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingCodePage_vue_vue_type_template_id_4faf0ab8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue": -/*!*******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TrackingSPAPage.vue?vue&type=template&id=2c5b4232 */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232\");\n/* harmony import */ var _TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrackingSPAPage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts": -/*!*******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts ***! - \*******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TrackingSPAPage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232": -/*!*************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232 ***! - \*************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TrackingSPAPage.vue?vue&type=template&id=2c5b4232 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=2c5b4232\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TrackingSPAPage_vue_vue_type_template_id_2c5b4232__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerEdit.vue?vue&type=template&id=de645090 */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090\");\n/* harmony import */ var _TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerEdit.vue?vue&type=template&id=de645090 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?vue&type=template&id=de645090\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerEdit_vue_vue_type_template_id_de645090__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerList.vue?vue&type=template&id=fcf49f68 */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68\");\n/* harmony import */ var _TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerList.vue?vue&type=template&id=fcf49f68 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerList.vue?vue&type=template&id=fcf49f68\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerList_vue_vue_type_template_id_fcf49f68__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TriggerManage.vue?vue&type=template&id=168d97da */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da\");\n/* harmony import */ var _TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TriggerManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Trigger/TriggerManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./TriggerManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_TriggerManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./TriggerManage.vue?vue&type=template&id=168d97da */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?vue&type=template&id=168d97da\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TriggerManage_vue_vue_type_template_id_168d97da__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/TriggerManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Trigger/Triggers.store.ts": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Trigger/Triggers.store.ts ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar TriggersStore = /*#__PURE__*/function () {\n function TriggersStore() {\n var _this = this;\n\n _classCallCheck(this, TriggersStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n triggers: [],\n isLoadingTriggers: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingTriggers || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"triggers\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.triggers;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableTriggersPromises\", {});\n }\n\n _createClass(TriggersStore, [{\n key: \"fetchTriggers\",\n value: function fetchTriggers(idContainer, idContainerVersion) {\n var _this2 = this;\n\n this.privateState.triggers = [];\n this.privateState.isLoadingTriggers = true;\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerTriggers',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (triggers) {\n _this2.privateState.triggers = triggers;\n return _this2.triggers.value;\n }).finally(function () {\n _this2.privateState.isLoadingTriggers = false;\n });\n }\n }, {\n key: \"fetchTriggersIfNotLoaded\",\n value: function fetchTriggersIfNotLoaded(idContainer, idContainerVersion) {\n if (!this.fetchPromise) {\n // needed for suggestNameForType() to make sure it is aware of all names\n this.fetchTriggers(idContainer, idContainerVersion);\n }\n }\n }, {\n key: \"fetchAvailableTriggers\",\n value: function fetchAvailableTriggers(idContext) {\n if (!this.availableTriggersPromises[idContext]) {\n this.availableTriggersPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableTriggerTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.availableTriggersPromises[idContext]);\n }\n }, {\n key: \"findTrigger\",\n value: function findTrigger(idContainer, idContainerVersion, idTrigger) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.triggers.value.find(function (v) {\n return v.idtrigger === idTrigger;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTrigger: idTrigger,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerTrigger',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.triggers = [].concat(_toConsumableArray(_this3.privateState.triggers), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this4 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this4.triggers.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }, {\n key: \"createOrUpdateTrigger\",\n value: function createOrUpdateTrigger(trigger, method, idContainer, idContainerVersion, parameterValues) {\n var _this5 = this;\n\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n var conditions = trigger.conditions.filter(function (c) {\n return c && c.actual && c.comparison && c.expected;\n });\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idTrigger: trigger.idtrigger,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: trigger.type,\n name: trigger.name,\n description: trigger.description\n }, {\n parameters: parameters,\n conditions: conditions\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.triggers = [];\n this.fetchPromise = null;\n this.availableTriggersPromises = {};\n return this.fetchTriggers(idContainer, idContainerVersion);\n }\n }, {\n key: \"deleteTrigger\",\n value: function deleteTrigger(idContainer, idContainerVersion, idTrigger) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.triggers = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idTrigger: idTrigger,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerTrigger'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return TriggersStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new TriggersStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Trigger/Triggers.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableEdit.vue?vue&type=template&id=730a9906 */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906\");\n/* harmony import */ var _VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906 ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableEdit.vue?vue&type=template&id=730a9906 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableEdit.vue?vue&type=template&id=730a9906\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableEdit_vue_vue_type_template_id_730a9906__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableList.vue?vue&type=template&id=63c2719a */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a\");\n/* harmony import */ var _VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableList.vue?vue&type=template&id=63c2719a */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableList.vue?vue&type=template&id=63c2719a\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableList_vue_vue_type_template_id_63c2719a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableManage.vue?vue&type=template&id=3acad9e1 */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1\");\n/* harmony import */ var _VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Variable/VariableManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts": -/*!****************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1 ***! - \**********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableManage.vue?vue&type=template&id=3acad9e1 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Variable/VariableManage.vue?vue&type=template&id=3acad9e1\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableManage_vue_vue_type_template_id_3acad9e1__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/VariableManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Variable/Variables.store.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Variable/Variables.store.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar VariablesStore = /*#__PURE__*/function () {\n function VariablesStore() {\n var _this = this;\n\n _classCallCheck(this, VariablesStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n variables: [],\n isLoadingVars: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingVars || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"variables\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.variables;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n\n _defineProperty(this, \"availableVariablesPromises\", {});\n }\n\n _createClass(VariablesStore, [{\n key: \"fetchVariablesIfNotLoaded\",\n value: function fetchVariablesIfNotLoaded(idContainer, idContainerVersion) {\n if (!this.fetchPromise) {\n // needed for suggestNameForType() to make sure it is aware of all names\n this.fetchVariables(idContainer, idContainerVersion);\n }\n }\n }, {\n key: \"findVariable\",\n value: function findVariable(idContainer, idContainerVersion, idVariable, ignoreCache) {\n var _this2 = this;\n\n // before going through an API request we first try to find it in loaded variables\n var found = this.variables.value.find(function (v) {\n return v.idvariable === idVariable;\n });\n\n if (found && !ignoreCache) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idVariable: idVariable,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n method: 'TagManager.getContainerVariable',\n filter_limit: '-1'\n }).then(function (record) {\n _this2.privateState.variables = [].concat(_toConsumableArray(_this2.privateState.variables), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this2.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"fetchVariables\",\n value: function fetchVariables(idContainer, idContainerVersion) {\n var _this3 = this;\n\n this.privateState.isLoadingVars = true;\n this.privateState.variables = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVariables',\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (variables) {\n _this3.privateState.variables = variables;\n _this3.privateState.isLoadingVars = false;\n return _this3.variables.value;\n }).finally(function () {\n _this3.privateState.isLoadingVars = false;\n });\n }\n }, {\n key: \"fetchAvailableVariables\",\n value: function fetchAvailableVariables(idContext) {\n if (!this.availableVariablesPromises[idContext]) {\n this.availableVariablesPromises[idContext] = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getAvailableVariableTypesInContext',\n idContext: idContext,\n filter_limit: '-1'\n }).then(function (variables) {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(variables);\n });\n }\n\n return Promise.resolve(this.availableVariablesPromises[idContext]);\n }\n }, {\n key: \"suggestNameForType\",\n value: function suggestNameForType(templateId) {\n var _this4 = this;\n\n var _loop = function _loop(counter) {\n var name = templateId;\n\n if (counter) {\n name = \"\".concat(name, \" (\").concat(counter, \")\");\n }\n\n var isFree = !_this4.variables.value.some(function (v) {\n return v.name === name;\n });\n\n if (isFree) {\n return {\n v: name\n };\n }\n };\n\n for (var counter = 0; counter < 100; counter += 1) {\n var _ret = _loop(counter);\n\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n\n return undefined;\n }\n }, {\n key: \"createOrUpdateVariable\",\n value: function createOrUpdateVariable(variable, method, idContainer, idContainerVersion, parameterValues) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n var mappedEntries = Object.entries(parameterValues).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n var newValue = value;\n\n if (typeof value === 'boolean') {\n newValue = (+value).toString();\n }\n\n return [key, newValue];\n });\n var parameters = Object.fromEntries(mappedEntries);\n var lookupTable = variable.lookup_table.filter(function (l) {\n return l && l.out_value && l.comparison;\n });\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n idVariable: variable.idvariable,\n method: method,\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n type: variable.type,\n name: variable.name,\n description: variable.description,\n defaultValue: variable.default_value\n }, {\n parameters: parameters,\n lookupTable: lookupTable\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"reload\",\n value: function reload(idContainer, idContainerVersion) {\n this.privateState.variables = [];\n this.fetchPromise = null;\n this.availableVariablesPromises = {};\n return this.fetchVariables(idContainer, idContainerVersion);\n }\n }, {\n key: \"deleteVariable\",\n value: function deleteVariable(idContainer, idContainerVersion, idVariable) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.variables = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idVariable: idVariable,\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerVariable'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return VariablesStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new VariablesStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Variable/Variables.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue": -/*!**********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue ***! - \**********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableSelect.vue?vue&type=template&id=219b309c */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c\");\n/* harmony import */ var _VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelect.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts": -/*!**********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts ***! - \**********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableSelect.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelect_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c": -/*!****************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c ***! - \****************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableSelect.vue?vue&type=template&id=219b309c */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?vue&type=template&id=219b309c\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelect_vue_vue_type_template_id_219b309c__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue": -/*!******************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VariableSelectType.vue?vue&type=template&id=10c7b5dc */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc\");\n/* harmony import */ var _VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelectType.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts": -/*!******************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts ***! - \******************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VariableSelectType.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VariableSelectType_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc ***! - \************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VariableSelectType.vue?vue&type=template&id=10c7b5dc */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?vue&type=template&id=10c7b5dc\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VariableSelectType_vue_vue_type_template_id_10c7b5dc__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230\");\n/* harmony import */ var _SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts": -/*!************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts ***! - \************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230": -/*!******************************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 ***! - \******************************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?vue&type=template&id=f1d03230\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_SelectTagManagerEnvironmentHelpText_vue_vue_type_template_id_f1d03230__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/SelectTagManagerEnvironmentHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionEdit.vue?vue&type=template&id=01b605f8 */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8\");\n/* harmony import */ var _VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionEdit.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionEdit.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionEdit.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionEdit_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionEdit.vue?vue&type=template&id=01b605f8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionEdit.vue?vue&type=template&id=01b605f8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionEdit_vue_vue_type_template_id_01b605f8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionEdit.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue": -/*!************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue ***! - \************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionList.vue?vue&type=template&id=1b2442e8 */ \"./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8\");\n/* harmony import */ var _VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionList.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionList.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts": -/*!************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts ***! - \************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionList.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionList_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8": -/*!******************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8 ***! - \******************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionList.vue?vue&type=template&id=1b2442e8 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionList.vue?vue&type=template&id=1b2442e8\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionList_vue_vue_type_template_id_1b2442e8__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionList.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionManage.vue?vue&type=template&id=67625b5a */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a\");\n/* harmony import */ var _VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionManage.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionManage.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts": -/*!**************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts ***! - \**************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionManage.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionManage_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a ***! - \********************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionManage.vue?vue&type=template&id=67625b5a */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionManage.vue?vue&type=template&id=67625b5a\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionManage_vue_vue_type_template_id_67625b5a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionManage.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue": -/*!********************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue ***! - \********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionNameHelpText.vue?vue&type=template&id=709ad3b2 */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2\");\n/* harmony import */ var _VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VersionNameHelpText.vue?vue&type=script&lang=ts */ \"./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts\");\n/* empty/unused harmony star reexport */\n\n\n_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].render = _VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__[\"render\"]\n/* hot reload */\nif (false) {}\n\n_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"].__file = \"plugins/TagManager/vue/src/Version/VersionNameHelpText.vue\"\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts": -/*!********************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts ***! - \********************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!../../../../../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!./VersionNameHelpText.vue?vue&type=script&lang=ts */ \"./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=script&lang=ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _node_modules_vue_cli_plugin_typescript_node_modules_cache_loader_dist_cjs_js_ref_14_0_node_modules_babel_loader_lib_index_js_node_modules_vue_cli_plugin_typescript_node_modules_ts_loader_index_js_ref_14_2_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_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* empty/unused harmony star reexport */ \n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2": -/*!**************************************************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2 ***! - \**************************************************************************************************/ -/*! exports provided: render */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../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--0-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./VersionNameHelpText.vue?vue&type=template&id=709ad3b2 */ \"./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js?!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?vue&type=template&id=709ad3b2\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_cli_plugin_babel_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_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_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_VersionNameHelpText_vue_vue_type_template_id_709ad3b2__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/VersionNameHelpText.vue?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/Versions.store.ts": -/*!**************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/Versions.store.ts ***! - \**************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_1__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\nvar VersionsStore = /*#__PURE__*/function () {\n function VersionsStore() {\n var _this = this;\n\n _classCallCheck(this, VersionsStore);\n\n _defineProperty(this, \"privateState\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"reactive\"])({\n versions: [],\n isLoadingVersions: false,\n isLoadingSingle: false,\n isUpdating: false\n }));\n\n _defineProperty(this, \"state\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(_this.privateState);\n }));\n\n _defineProperty(this, \"isLoading\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n var state = _this.state.value;\n return state.isLoadingVersions || state.isLoadingSingle;\n }));\n\n _defineProperty(this, \"isUpdating\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.isUpdating;\n }));\n\n _defineProperty(this, \"versions\", Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"computed\"])(function () {\n return _this.state.value.versions;\n }));\n\n _defineProperty(this, \"fetchPromise\", null);\n }\n\n _createClass(VersionsStore, [{\n key: \"reload\",\n value: function reload(idContainer) {\n this.privateState.versions = [];\n this.fetchPromise = null;\n return this.fetchVersions(idContainer);\n }\n }, {\n key: \"fetchVersions\",\n value: function fetchVersions(idContainer) {\n var _this2 = this;\n\n this.privateState.isLoadingVersions = true;\n this.privateState.versions = [];\n\n if (!this.fetchPromise) {\n this.fetchPromise = CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n method: 'TagManager.getContainerVersions',\n idContainer: idContainer,\n filter_limit: '-1'\n });\n }\n\n return Promise.resolve(this.fetchPromise).then(function (versions) {\n _this2.privateState.versions = versions;\n _this2.privateState.isLoadingVersions = false;\n return _this2.versions.value;\n }).finally(function () {\n _this2.privateState.isLoadingVersions = false;\n });\n }\n }, {\n key: \"findVersion\",\n value: function findVersion(idContainer, idContainerVersion) {\n var _this3 = this;\n\n // before going through an API request we first try to find it in loaded versions\n var found = this.versions.value.find(function (v) {\n return v.idcontainerversion === idContainerVersion;\n });\n\n if (found) {\n return Promise.resolve(found);\n } // otherwise we fetch it via API\n\n\n this.privateState.isLoadingSingle = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.getContainerVersion',\n filter_limit: '-1'\n }).then(function (record) {\n _this3.privateState.versions = [].concat(_toConsumableArray(_this3.privateState.versions), [record]);\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"readonly\"])(record);\n }).finally(function () {\n _this3.privateState.isLoadingSingle = false;\n });\n }\n }, {\n key: \"deleteVersion\",\n value: function deleteVersion(idContainer, idContainerVersion) {\n var _this4 = this;\n\n this.privateState.isUpdating = true;\n this.privateState.versions = [];\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainerVersion: idContainerVersion,\n idContainer: idContainer,\n method: 'TagManager.deleteContainerVersion'\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this4.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"publishVersion\",\n value: function publishVersion(idContainer, idContainerVersion, environment) {\n var _this5 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].fetch({\n idContainer: idContainer,\n idContainerVersion: idContainerVersion,\n environment: environment,\n method: 'TagManager.publishContainerVersion'\n }).finally(function () {\n _this5.privateState.isUpdating = false;\n });\n }\n }, {\n key: \"createOrUpdateVersion\",\n value: function createOrUpdateVersion(version, method, idContainer) {\n var _this6 = this;\n\n this.privateState.isUpdating = true;\n return CoreHome__WEBPACK_IMPORTED_MODULE_1__[\"AjaxHelper\"].post({\n method: method,\n idContainer: idContainer,\n idContainerVersion: version.idcontainerversion\n }, {\n name: version.name,\n description: version.description\n }, {\n withTokenInUrl: true\n }).finally(function () {\n _this6.privateState.isUpdating = false;\n });\n }\n }]);\n\n return VersionsStore;\n}();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (new VersionsStore());\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/Versions.store.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/Version/diffDraftVersion.ts": -/*!****************************************************************!*\ - !*** ./plugins/TagManager/vue/src/Version/diffDraftVersion.ts ***! - \****************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return diffDraftVersion; });\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! CoreHome */ \"CoreHome\");\n/* harmony import */ var CoreHome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(CoreHome__WEBPACK_IMPORTED_MODULE_0__);\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n/**\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\nfunction diffDraftVersion(idContainer, idContainerVersionNew, idContainerVersionPrevious) {\n function findEntryInArray(array, name) {\n return array.find(function (v) {\n return v.name === name;\n });\n }\n\n function getDifference(entityType, array1, array2, keysToCheck) {\n var diff = [];\n array1.forEach(function (array1Item) {\n var matchingEntry = findEntryInArray(array2, array1Item.name);\n\n if (matchingEntry) {\n keysToCheck.some(function (key) {\n if (JSON.stringify(array1Item[key]) !== JSON.stringify(matchingEntry[key])) {\n // matching, check if different\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffModified',\n name: array1Item.name,\n lastChanged: array1Item.updated_date_pretty\n });\n return true;\n }\n\n return false;\n });\n return;\n }\n\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffAdded',\n name: array1Item.name,\n lastChanged: array1Item.updated_date_pretty\n });\n });\n array2.forEach(function (array2Item) {\n if (!findEntryInArray(array1, array2Item.name)) {\n diff.push({\n entityType: entityType,\n type: 'TagManager_DiffDeleted',\n name: array2Item.name,\n lastChanged: array2Item.updated_date_pretty\n });\n }\n });\n return diff;\n }\n\n function mixinTagTriggers(tags, triggers) {\n tags.forEach(function (tag) {\n tag.fire_triggers = [];\n tag.block_triggers = [];\n tag.fire_trigger_ids.forEach(function (idtrigger) {\n var trigger = triggers.find(function (t) {\n return t.idtrigger === idtrigger;\n });\n\n if (trigger) {\n tag.fire_triggers.push(trigger.name);\n }\n });\n tag.block_trigger_ids.forEach(function (idtrigger) {\n var trigger = triggers.find(function (t) {\n return t.idtrigger === idtrigger;\n });\n\n if (trigger) {\n tag.block_triggers.push(trigger.name);\n }\n });\n });\n }\n\n var draftVersion = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: idContainer,\n filter_limit: -1\n };\n\n if (idContainerVersionNew) {\n draftVersion.idContainerVersion = idContainerVersionNew;\n }\n\n var lastVersion = {\n module: 'API',\n method: 'TagManager.exportContainerVersion',\n format: 'json',\n idContainer: idContainer,\n idContainerVersion: idContainerVersionPrevious,\n filter_limit: -1\n };\n return CoreHome__WEBPACK_IMPORTED_MODULE_0__[\"AjaxHelper\"].fetch([draftVersion, lastVersion]).then(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n draft = _ref2[0],\n last = _ref2[1];\n\n mixinTagTriggers(draft.tags, draft.triggers);\n mixinTagTriggers(last.tags, last.triggers);\n var diff1 = getDifference('TagManager_Tag', draft.tags, last.tags, ['name', 'type', 'fire_limit', 'priority', 'fire_delay', 'fire_triggers', 'block_triggers', 'parameters']);\n var diff2 = getDifference('TagManager_Trigger', draft.triggers, last.triggers, ['name', 'type', 'conditions', 'parameters']);\n var diff3 = getDifference('TagManager_Variable', draft.variables, last.variables, ['name', 'type', 'lookup_table', 'default_value', 'parameters']);\n return [].concat(_toConsumableArray(diff1), _toConsumableArray(diff2), _toConsumableArray(diff3));\n });\n}\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/Version/diffDraftVersion.ts?"); - -/***/ }), - -/***/ "./plugins/TagManager/vue/src/index.ts": -/*!*********************************************!*\ - !*** ./plugins/TagManager/vue/src/index.ts ***! - \*********************************************/ -/*! exports provided: ImportVersion, VariableSelect, VariableSelectType, FieldTextareaVariable, FieldVariableTemplate, FieldVariableTypeTemplate, VariableEdit, VariableList, VariableManage, TriggerEdit, TriggerList, TriggerManage, TagEdit, TagList, TagManage, VersionEdit, VersionList, VersionManage, ContainerEdit, ContainerList, ContainerManage, ContainerDashboard, ContainerSelector, ManageInstallTagCode, TagmanagerTrackingCode, TrackingCodeCommon, TrackingCodePage, TrackingSPAPage, Debugging, GettingStarted */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ImportVersion_ImportVersion_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ImportVersion/ImportVersion.vue */ \"./plugins/TagManager/vue/src/ImportVersion/ImportVersion.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImportVersion\", function() { return _ImportVersion_ImportVersion_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _VariableSelect_VariableSelect_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./VariableSelect/VariableSelect.vue */ \"./plugins/TagManager/vue/src/VariableSelect/VariableSelect.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelect\", function() { return _VariableSelect_VariableSelect_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VariableSelectType/VariableSelectType.vue */ \"./plugins/TagManager/vue/src/VariableSelectType/VariableSelectType.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableSelectType\", function() { return _VariableSelectType_VariableSelectType_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldTextareaVariable_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Field/FieldTextareaVariable.vue */ \"./plugins/TagManager/vue/src/Field/FieldTextareaVariable.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldTextareaVariable\", function() { return _Field_FieldTextareaVariable_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldVariableTemplate_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Field/FieldVariableTemplate.vue */ \"./plugins/TagManager/vue/src/Field/FieldVariableTemplate.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTemplate\", function() { return _Field_FieldVariableTemplate_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _Field_FieldVariableTypeTemplate_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Field/FieldVariableTypeTemplate.vue */ \"./plugins/TagManager/vue/src/Field/FieldVariableTypeTemplate.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FieldVariableTypeTemplate\", function() { return _Field_FieldVariableTypeTemplate_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableEdit_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Variable/VariableEdit.vue */ \"./plugins/TagManager/vue/src/Variable/VariableEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableEdit\", function() { return _Variable_VariableEdit_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableList_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Variable/VariableList.vue */ \"./plugins/TagManager/vue/src/Variable/VariableList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableList\", function() { return _Variable_VariableList_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _Variable_VariableManage_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Variable/VariableManage.vue */ \"./plugins/TagManager/vue/src/Variable/VariableManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VariableManage\", function() { return _Variable_VariableManage_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Trigger/TriggerEdit.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerEdit\", function() { return _Trigger_TriggerEdit_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerList_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Trigger/TriggerList.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerList\", function() { return _Trigger_TriggerList_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/* harmony import */ var _Trigger_TriggerManage_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Trigger/TriggerManage.vue */ \"./plugins/TagManager/vue/src/Trigger/TriggerManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TriggerManage\", function() { return _Trigger_TriggerManage_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagEdit_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Tag/TagEdit.vue */ \"./plugins/TagManager/vue/src/Tag/TagEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagEdit\", function() { return _Tag_TagEdit_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagList_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Tag/TagList.vue */ \"./plugins/TagManager/vue/src/Tag/TagList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagList\", function() { return _Tag_TagList_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; });\n\n/* harmony import */ var _Tag_TagManage_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Tag/TagManage.vue */ \"./plugins/TagManager/vue/src/Tag/TagManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagManage\", function() { return _Tag_TagManage_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionEdit_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Version/VersionEdit.vue */ \"./plugins/TagManager/vue/src/Version/VersionEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionEdit\", function() { return _Version_VersionEdit_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionList_vue__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Version/VersionList.vue */ \"./plugins/TagManager/vue/src/Version/VersionList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionList\", function() { return _Version_VersionList_vue__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; });\n\n/* harmony import */ var _Version_VersionManage_vue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Version/VersionManage.vue */ \"./plugins/TagManager/vue/src/Version/VersionManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VersionManage\", function() { return _Version_VersionManage_vue__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Container/ContainerEdit.vue */ \"./plugins/TagManager/vue/src/Container/ContainerEdit.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerEdit\", function() { return _Container_ContainerEdit_vue__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerList_vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Container/ContainerList.vue */ \"./plugins/TagManager/vue/src/Container/ContainerList.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerList\", function() { return _Container_ContainerList_vue__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; });\n\n/* harmony import */ var _Container_ContainerManage_vue__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Container/ContainerManage.vue */ \"./plugins/TagManager/vue/src/Container/ContainerManage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerManage\", function() { return _Container_ContainerManage_vue__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; });\n\n/* harmony import */ var _ContainerDashboard_ContainerDashboard_vue__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ContainerDashboard/ContainerDashboard.vue */ \"./plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerDashboard\", function() { return _ContainerDashboard_ContainerDashboard_vue__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; });\n\n/* harmony import */ var _ContainerSelector_ContainerSelector_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ContainerSelector/ContainerSelector.vue */ \"./plugins/TagManager/vue/src/ContainerSelector/ContainerSelector.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerSelector\", function() { return _ContainerSelector_ContainerSelector_vue__WEBPACK_IMPORTED_MODULE_22__[\"default\"]; });\n\n/* harmony import */ var _ManageInstallTagCode_ManageInstallTagCode_vue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./ManageInstallTagCode/ManageInstallTagCode.vue */ \"./plugins/TagManager/vue/src/ManageInstallTagCode/ManageInstallTagCode.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ManageInstallTagCode\", function() { return _ManageInstallTagCode_ManageInstallTagCode_vue__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TagmanagerTrackingCode.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagmanagerTrackingCode\", function() { return _TagmanagerTrackingCode_TagmanagerTrackingCode_vue__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingCodeCommon.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodeCommon\", function() { return _TagmanagerTrackingCode_TrackingCodeCommon_vue__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingCodePage_vue__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingCodePage.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingCodePage\", function() { return _TagmanagerTrackingCode_TrackingCodePage_vue__WEBPACK_IMPORTED_MODULE_26__[\"default\"]; });\n\n/* harmony import */ var _TagmanagerTrackingCode_TrackingSPAPage_vue__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./TagmanagerTrackingCode/TrackingSPAPage.vue */ \"./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingSPAPage\", function() { return _TagmanagerTrackingCode_TrackingSPAPage_vue__WEBPACK_IMPORTED_MODULE_27__[\"default\"]; });\n\n/* harmony import */ var _Debugging_Debugging_vue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Debugging/Debugging.vue */ \"./plugins/TagManager/vue/src/Debugging/Debugging.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Debugging\", function() { return _Debugging_Debugging_vue__WEBPACK_IMPORTED_MODULE_28__[\"default\"]; });\n\n/* harmony import */ var _GettingStarted_GettingStarted_vue__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./GettingStarted/GettingStarted.vue */ \"./plugins/TagManager/vue/src/GettingStarted/GettingStarted.vue\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GettingStarted\", function() { return _GettingStarted_GettingStarted_vue__WEBPACK_IMPORTED_MODULE_29__[\"default\"]; });\n\n/*!\n * Matomo - free/libre analytics platform\n *\n * @link https://matomo.org\n * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://TagManager/./plugins/TagManager/vue/src/index.ts?"); - -/***/ }), - -/***/ "CoreHome": -/*!***************************!*\ - !*** external "CoreHome" ***! - \***************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_CoreHome__;\n\n//# sourceURL=webpack://TagManager/external_%22CoreHome%22?"); - -/***/ }), - -/***/ "CorePluginsAdmin": -/*!***********************************!*\ - !*** external "CorePluginsAdmin" ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_CorePluginsAdmin__;\n\n//# sourceURL=webpack://TagManager/external_%22CorePluginsAdmin%22?"); - -/***/ }), - -/***/ "vue": -/*!******************************************************************!*\ - !*** external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = __WEBPACK_EXTERNAL_MODULE_vue__;\n\n//# sourceURL=webpack://TagManager/external_%7B%22commonjs%22:%22vue%22,%22commonjs2%22:%22vue%22,%22root%22:%22Vue%22%7D?"); - -/***/ }) - -/******/ }); -}); \ No newline at end of file +(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("CoreHome"),require("vue"),require("CorePluginsAdmin")):"function"===typeof define&&define.amd?define(["CoreHome",,"CorePluginsAdmin"],t):"object"===typeof exports?exports["TagManager"]=t(require("CoreHome"),require("vue"),require("CorePluginsAdmin")):e["TagManager"]=t(e["CoreHome"],e["Vue"],e["CorePluginsAdmin"])})("undefined"!==typeof self?self:this,(function(e,t,n){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="plugins/TagManager/vue/dist/",n(n.s="fae3")}({"19dc":function(t,n){t.exports=e},"8bbf":function(e,n){e.exports=t},a5a2:function(e,t){e.exports=n},fae3:function(e,t,n){"use strict";if(n.r(t),n.d(t,"ImportVersion",(function(){return p})),n.d(t,"VariableSelect",(function(){return G})),n.d(t,"VariableSelectType",(function(){return ne})),n.d(t,"FieldTextareaVariable",(function(){return ue})),n.d(t,"FieldVariableTemplate",(function(){return Te})),n.d(t,"FieldVariableTypeTemplate",(function(){return Ne})),n.d(t,"VariableEdit",(function(){return Et})),n.d(t,"VariableList",(function(){return On})),n.d(t,"VariableManage",(function(){return En})),n.d(t,"TriggerEdit",(function(){return Ta})),n.d(t,"TriggerList",(function(){return lr})),n.d(t,"TriggerManage",(function(){return ur})),n.d(t,"TagEdit",(function(){return To})),n.d(t,"TagList",(function(){return ol})),n.d(t,"TagManage",(function(){return gl})),n.d(t,"VersionEdit",(function(){return Tc})),n.d(t,"VersionList",(function(){return ms})),n.d(t,"VersionManage",(function(){return Os})),n.d(t,"ContainerEdit",(function(){return qs})),n.d(t,"ContainerList",(function(){return wd})),n.d(t,"ContainerManage",(function(){return xd})),n.d(t,"ContainerDashboard",(function(){return Eu})),n.d(t,"ContainerSelector",(function(){return Uu})),n.d(t,"ManageInstallTagCode",(function(){return yg})),n.d(t,"TagmanagerTrackingCode",(function(){return nb})),n.d(t,"TrackingCodeCommon",(function(){return eb})),n.d(t,"TrackingCodePage",(function(){return db})),n.d(t,"TrackingSPAPage",(function(){return Ub})),n.d(t,"Debugging",(function(){return Qm})),n.d(t,"GettingStarted",(function(){return bp})),"undefined"!==typeof window){var a=window.document.currentScript,r=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(n.p=r[1])}var i=n("8bbf"),o={class:"tagManagerImportVersion"},l={class:"ui-confirm",id:"confirmImportContainerVersion",ref:"confirmImportContainerVersion"},c=["value"],s=["value"];function d(e,t,n,a,r,d){var u=Object(i["resolveComponent"])("ActivityIndicator"),g=Object(i["resolveComponent"])("Field"),b=Object(i["resolveComponent"])("SaveButton"),m=Object(i["resolveComponent"])("ContentBlock");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",o,[Object(i["createVNode"])(m,{"content-title":e.translate("TagManager_ImportVersion")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_VersionImportInfo")),1),Object(i["createVNode"])(u,{loading:e.isUpdating,"loading-message":e.translate("TagManager_UpdatingData")},null,8,["loading","loading-message"]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(g,{uicontrol:"text",modelValue:e.backupName,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.backupName=t}),name:"backupName",placeholder:" ",title:e.backupNameTitle,"inline-help":e.translate("TagManager_BackupVersionNameHelp")},null,8,["modelValue","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(g,{uicontrol:"textarea",modelValue:e.importContent,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.importContent=t}),name:"importContent",placeholder:" ","full-width":!0,title:e.translate("TagManager_VersionImportContentTitle")},null,8,["modelValue","title"])]),Object(i["createVNode"])(b,{class:"importVersion",disabled:!e.importContent,onConfirm:t[2]||(t[2]=function(t){return e.importVersion(e.backupName,e.importContent)}),value:e.translate("TagManager_VersionImportOverwriteContent")},null,8,["disabled","value"])]})),_:1},8,["content-title"]),Object(i["createElementVNode"])("div",l,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_ConfirmImportContainerVersion")),1),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("General_Yes")},null,8,c),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_No")},null,8,s)],512)])}var u=n("19dc"),g=n("a5a2"),b="importContainerVersion",m=Object(i["defineComponent"])({props:{idContainer:{type:String,required:!0}},components:{ContentBlock:u["ContentBlock"],ActivityIndicator:u["ActivityIndicator"],Field:g["Field"],SaveButton:g["SaveButton"]},data:function(){return{isUpdating:!1,backupName:"",importContent:""}},methods:{showNotification:function(e,t){var n=u["NotificationsStore"].show({message:e,context:t,type:"transient",id:b});setTimeout((function(){u["NotificationsStore"].scrollToNotification(n)}),200)},importVersion:function(e,t){var n=this;if(t){var a;try{a=JSON.parse(t)}catch(r){return void this.showNotification(Object(u["translate"])("TagManager_ErrorInvalidContainerImportFormat"),"error")}"tags"in a&&"triggers"in a&&"variables"in a&&"idcontainer"in a&&"context"in a?u["Matomo"].helper.modalConfirm(this.$refs.confirmImportContainerVersion,{yes:function(){n.isUpdating=!0;var e={exportedContainerVersion:t};u["AjaxHelper"].post({method:"TagManager.importContainerVersion",idContainer:n.idContainer,backupName:n.backupName},e).then((function(){n.showNotification(Object(u["translate"])("TagManager_VersionImportSuccess"),"success"),n.isUpdating=!1,window.location.reload()})).catch((function(){n.isUpdating=!1}))}}):this.showNotification(Object(u["translate"])("TagManager_ErrorContainerVersionImportIncomplete"),"error")}}},computed:{backupNameTitle:function(){return"".concat(Object(u["translate"])("TagManager_BackupVersionName")," (").concat(Object(u["translate"])("General_Recommended"),")")}}});m.render=d;var p=m,h={class:"tagManagerManageSelect tagManagerVariableSelect"},f={class:"tableActionBar"},v=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),j={class:"collection with-header"},O={class:"collection-header"},T=["onClick"],V={class:"title"},y={class:"secondary-content"},C=["onClick","title"],N={class:"collection-header"},E=["onClick"],S={class:"title"},k={class:"secondary-content"},w=["title"],M={class:"tableActionBar"},_=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1);function D(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ActivityIndicator");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",h,[Object(i["createVNode"])(l,{loading:e.isLoading},null,8,["loading"]),Object(i["createElementVNode"])("div",f,[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createNewVariable",onClick:t[0]||(t[0]=function(t){return e.createVariable()})},[v,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVariable")),1)],512),[[i["vShow"],!e.isLoading]])]),Object(i["createElementVNode"])("ul",j,[Object(i["createElementVNode"])("li",O,[Object(i["createElementVNode"])("h4",null,Object(i["toDisplayString"])(e.translate("TagManager_CustomVariables")),1)]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.containerVariables,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"collection-item",onClick:function(n){return e.selectVariable(t)},key:n},[Object(i["createElementVNode"])("span",V,Object(i["toDisplayString"])(t.name)+" ("+Object(i["toDisplayString"])(e.translate("TagManager_Type"))+": "+Object(i["toDisplayString"])(t.type)+") ",1),Object(i["createElementVNode"])("span",y,[Object(i["createElementVNode"])("i",{class:"icon-edit",onClick:Object(i["withModifiers"])((function(n){return e.editVariable(t)}),["stop"]),title:e.translate("General_Edit")},null,8,C)])],8,T)})),128))]),Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_PreconfiguredVariables")),1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.preconfiguredVariables,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",{class:"collection with-header",key:t.name},[Object(i["createElementVNode"])("li",N,[Object(i["createElementVNode"])("h4",null,Object(i["toDisplayString"])(t.name),1)]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.types,(function(t,n){return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"collection-item",key:n,onClick:function(n){return e.selectVariable(t)}},[Object(i["createElementVNode"])("span",S,Object(i["toDisplayString"])(t.name),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",k,[Object(i["createElementVNode"])("i",{class:"icon-help",title:t.description},null,8,w)],512),[[i["vShow"],!!t.description]])],8,E)),[[i["vShow"],t.is_pre_configured]])})),128))])})),128)),Object(i["createElementVNode"])("div",M,[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createNewVariable",onClick:t[1]||(t[1]=function(t){return e.createVariable()})},[_,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVariable",e.translate("TagManager_Variable"))),1)],512),[[i["vShow"],!e.isLoading]])])])}function x(e){return U(e)||L(e)||B(e)||A()}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(e,t){if(e){if("string"===typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}function L(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function U(e){if(Array.isArray(e))return I(e)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);n-1&&(this.variable.lookup_table.splice(e,1),this.isDirty=!0)},createVariableType:function(e){var t=this;e&&this.isVariableTemplateDisabled[e.id]||(this.chooseVariableType=!1,this.editTitle=Object(u["translate"])("TagManager_CreateNewVariable"),this.variable={idsite:parseInt("".concat(u["Matomo"].idSite),10),name:ft.suggestNameForType(e.name)||"",description:"",type:e.id,idcontainer:this.idContainer,idcontainerversion:this.idContainerVersion,default_value:"",lookup_table:[],typeMetadata:e},this.parameterValues=Object.fromEntries(e.parameters.map((function(e){return[e.name,e.value]}))),this.addLookUpEntry(),this.isDirty=!0,Object(i["nextTick"])((function(){if(t.$refs.root){var e=t.$refs.root;e.scrollIntoView();var n=e.querySelector("#name");n&&n.focus()}})))},cancel:function(){var e=Object.assign({},u["MatomoUrl"].hashParsed.value);delete e.idVariable,u["MatomoUrl"].updateHash(e)},createVariable:function(){var e=this;this.removeAnyVariableNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingVar=!0,ft.createOrUpdateVariable(Object.assign(Object.assign({},this.variable),{},{name:encodeURIComponent(this.variable.name)}),"TagManager.addContainerVariable",this.idContainer,this.idContainerVersion,this.parameterValues).then((function(t){if(t){e.isDirty=!1;var n=t.value;ft.reload(e.idContainer,e.idContainerVersion).then((function(){if(e.isEmbedded)return e.variable.idvariable=n,void e.$emit("changeVariable",{variable:e.variable});u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idVariable:n})),setTimeout((function(){var t=Object(u["translate"])("TagManager_CreatedX",Object(u["translate"])("TagManager_Variable")),n=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(t," ").concat(n),"success")}),200)}))}})).finally((function(){e.isUpdatingVar=!1})))},setValueHasChanged:function(){this.isDirty=!0},updateVariable:function(){var e=this;this.removeAnyVariableNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingVar=!0,ft.createOrUpdateVariable(Object.assign(Object.assign({},this.variable),{},{name:encodeURIComponent(this.variable.name)}),"TagManager.updateContainerVariable",this.idContainer,this.idContainerVersion,this.parameterValues).then((function(t){if(t)if(e.isEmbedded)e.$emit("changeVariable",{variable:e.variable});else{e.isDirty=!1,ft.reload(e.idContainer,e.idContainerVersion).then((function(){e.initIdVariable()}));var n=Object(u["translate"])("TagManager_UpdatedX",Object(u["translate"])("TagManager_Variable")),a=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(n," ").concat(a),"success")}})).finally((function(){e.isUpdatingVar=!1})))},checkRequiredFieldsAreSet:function(){return!!this.variable.name||(this.showErrorFieldNotProvidedNotification(Object(u["translate"])("General_Name")),!1)}},computed:{typeInlineHelp:function(){var e,t,n=(null===(e=this.variable.typeMetadata)||void 0===e?void 0:e.description)||"",a=(null===(t=this.variable.typeMetadata)||void 0===t?void 0:t.help)||"";return"".concat(n," ").concat(a)},create:function(){return 0===this.idVariable},edit:function(){return!this.create},isLoading:function(){return ft.isLoading.value||yt.isLoading.value},isUpdating:function(){return ft.isUpdating.value||this.isUpdatingVar},availableLookUpComparisons:function(){return yt.comparisonOptions.value},isVariableTemplateDisabled:function(){var e=this,t={};return this.availableVariables.forEach((function(n){n.types.forEach((function(n){t[n.id]=!e.canUseCustomTemplates&&n.isCustomTemplate}))})),t},isVariableDisabled:function(){var e;return!this.canUseCustomTemplates&&(null===(e=this.variable.typeMetadata)||void 0===e?void 0:e.isCustomTemplate)},variableParameterValues:function(){var e;return null!==(e=this.variable.typeMetadata)&&void 0!==e&&e.parameters?this.parameterValues:null},variableLookupTable:function(){return this.variable.lookup_table}}});Nt.render=et;var Et=Nt,St={class:"tagManagerManageList tagManagerVariableList"},kt=["title"],wt=["title"],Mt=["title"],_t=["title"],Dt=["title"],xt=["title"],At={colspan:"7"},Bt={class:"loadingPiwik"},Lt=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),Ut={colspan:"7"},It=["id"],Pt={class:"name"},Ht=["title"],Ft=["title"],Gt={class:"lookupTable"},$t={class:"icon-ok"},Rt=["title"],zt={class:"action"},Wt=["onClick","title"],qt=["onClick","title"],Xt={class:"tableActionBar"},Kt=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),Jt=["title"],Yt=Object(i["createElementVNode"])("span",{class:"icon-help preconfiguredVariablesHelp"},null,-1),Qt={class:"collection-header"},Zt={class:"title"},en=["textContent"],tn={class:"secondary-content"},nn=["title"],an={class:"ui-confirm",id:"confirmDeleteVariable",ref:"confirmDeleteVariable"},rn=["value"],on=["value"],ln={class:"ui-confirm",id:"confirmDeleteVariableNotPossible",ref:"confirmDeleteVariableNotPossible"},cn={class:"collection"},sn=["value"];function dn(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ContentBlock"),c=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",St,[Object(i["createVNode"])(l,{feature:"Tag Manager",class:"tagManagerCustomVariablesList","content-title":e.translate("TagManager_ManageX",e.translate("TagManager_Variables")),"help-text":e.variablesHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_VariableUsageBenefits")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",{class:"name",title:e.nameTranslatedText},Object(i["toDisplayString"])(e.translate("General_Name")),9,kt),Object(i["createElementVNode"])("th",{class:"description",title:e.descriptionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Description")),9,wt),Object(i["createElementVNode"])("th",{class:"type",title:e.typeTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Type")),9,Mt),Object(i["createElementVNode"])("th",{class:"lookupTable",title:e.lookupTableTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_LookupTable")),9,_t),Object(i["createElementVNode"])("th",{class:"lastUpdated",title:e.lastUpdatedTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_LastUpdated")),9,Dt),Object(i["withDirectives"])(Object(i["createElementVNode"])("th",{class:"action",title:e.actionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Actions")),9,xt),[[i["vShow"],e.hasWriteAccess]])])]),Object(i["createElementVNode"])("tbody",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",At,[Object(i["createElementVNode"])("span",Bt,[Lt,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])])],512),[[i["vShow"],e.isLoading||e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",Ut,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_NoVariablesFound"))+" ",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createContainerVariableNow",onClick:t[0]||(t[0]=function(t){return e.createVariable()})},Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVariableNow")),513),[[i["vShow"],e.hasWriteAccess]])])],512),[[i["vShow"],!e.isLoading&&!e.variables.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedVariables,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{id:"variable".concat(t.idvariable),class:"variables",key:t.idvariable},[Object(i["createElementVNode"])("td",Pt,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",{class:"description",title:t.description},Object(i["toDisplayString"])(e.truncateText(t.description,30)),9,Ht),Object(i["createElementVNode"])("td",{class:"type",title:t.typeMetadata.description},Object(i["toDisplayString"])(t.typeMetadata.name),9,Ft),Object(i["createElementVNode"])("td",Gt,[Object(i["withDirectives"])(Object(i["createElementVNode"])("span",$t,null,512),[[i["vShow"],t.lookup_table.length]])]),Object(i["createElementVNode"])("td",{class:"lastUpdated",title:e.translate("TagManager_CreatedOnX",t.created_date_pretty)},[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.updated_date_pretty),1)],8,Rt),Object(i["withDirectives"])(Object(i["createElementVNode"])("td",zt,[Object(i["createElementVNode"])("a",{class:"table-action icon-edit",onClick:function(n){return e.editVariable(t.idvariable,t.type)},title:e.translate("TagManager_EditVariable")},null,8,Wt),Object(i["createElementVNode"])("a",{class:"table-action icon-delete",onClick:function(n){return e.deleteVariable(t)},title:e.translate("TagManager_DeleteX",e.translate("TagManager_Variable"))},null,8,qt)],512),[[i["vShow"],e.hasWriteAccess]])],8,It)})),128))])],512),[[c]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Xt,[Object(i["createElementVNode"])("a",{class:"createNewVariable",value:"",onClick:t[1]||(t[1]=function(t){return e.createVariable()})},[Kt,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVariable")),1)])],512),[[i["vShow"],e.hasWriteAccess]])]})),_:1},8,["content-title","help-text"]),Object(i["createElementVNode"])("h2",{title:e.translate("TagManager_PreConfiguredInfoTitle")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_PreconfiguredVariables"))+" ",1),Yt],8,Jt),Object(i["createElementVNode"])("div",null,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.containerVariables,(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",{class:"collection with-header",key:t},[Object(i["createElementVNode"])("li",Qt,[Object(i["createElementVNode"])("h4",null,Object(i["toDisplayString"])(e.name),1)]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.types,(function(e){return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"collection-item",key:e.id},[Object(i["createElementVNode"])("span",Zt,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.name)+" ",1),Object(i["createElementVNode"])("span",{class:"variableId",textContent:Object(i["toDisplayString"])("{{".concat(e.id,"}}"))},null,8,en)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",tn,[Object(i["createElementVNode"])("i",{class:"icon-help",title:e.description},null,8,nn)],512),[[i["vShow"],!!e.description]])],512)),[[i["vShow"],e.is_pre_configured]])})),128))])})),128))]),Object(i["createElementVNode"])("div",an,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_DeleteVariableConfirm")),1),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("General_Yes")},null,8,rn),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_No")},null,8,on)],512),Object(i["createElementVNode"])("div",ln,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_VariableCannotBeDeleted")),1),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_VariableBeingUsedBy")),1),Object(i["createElementVNode"])("ul",cn,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.variableReferences,(function(e){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"collection-item",key:"".concat(e.referenceType,".").concat(e.referenceId)},Object(i["toDisplayString"])(e.referenceTypeName)+": "+Object(i["toDisplayString"])(e.referenceName),1)})),128))]),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_VariableBeingUsedNeedsRemove")),1),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_Cancel")},null,8,sn)],512)])}function un(e){return pn(e)||mn(e)||bn(e)||gn()}function gn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bn(e,t){if(e){if("string"===typeof e)return hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hn(e,t):void 0}}function mn(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function pn(e){if(Array.isArray(e))return hn(e)}function hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.name?1:0})),e},nameTranslatedText:function(){return this.translate("TagManager_VariablesNameDescription")},descriptionTranslatedText:function(){return this.translate("TagManager_VariablesDescriptionDescription")},typeTranslatedText:function(){return this.translate("TagManager_VariablesTypeDescription")},lookupTableTranslatedText:function(){return this.translate("TagManager_VariablesLookupTableDescription")},lastUpdatedTranslatedText:function(){return this.translate("TagManager_VariablesLastUpdatedDescription")},actionTranslatedText:function(){return this.translate("TagManager_VariablesActionDescription")}}});jn.render=dn;var On=jn,Tn={class:"manageVariable"},Vn={key:0},yn={key:1};function Cn(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("VariableList"),c=Object(i["resolveComponent"])("VariableEdit");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Tn,[e.editMode?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Vn,[Object(i["createVNode"])(l,{"id-container-version":e.idContainerVersion,"id-container":e.idContainer,"variables-help-text":e.variablesHelpText},null,8,["id-container-version","id-container","variables-help-text"])])),e.editMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",yn,[Object(i["createVNode"])(c,{"id-container-version":e.idContainerVersion,"id-container":e.idContainer,"id-variable":e.idVariable},null,8,["id-container-version","id-container","id-variable"])])):Object(i["createCommentVNode"])("",!0)])}var Nn=Object(i["defineComponent"])({props:{idContainerVersion:Number,idContainer:String,variablesHelpText:String},components:{VariableList:On,VariableEdit:Et},data:function(){return{isAddAllowed:!1}},created:function(){var e=this;Object(i["watch"])((function(){return u["MatomoUrl"].hashParsed.value.idVariable}),(function(t){e.onIdVariableParamChange(t)})),u["NotificationsStore"].remove("variablevariablemanagement"),this.onIdVariableParamChange(u["MatomoUrl"].hashParsed.value.idVariable)},methods:{onIdVariableParamChange:function(e){if("0"===e){var t={isAllowed:!0};u["Matomo"].postEvent("TagManager.initAddVariable",t),this.isAddAllowed=!!t.isAllowed}}},computed:{idVariable:function(){var e=u["MatomoUrl"].hashParsed.value.idVariable;return this.isAddAllowed||"0"!==e?e?parseInt(e,10):e:null},editMode:function(){return"number"===typeof this.idVariable}}});Nn.render=Cn;var En=Nn;function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn={class:"editTrigger tagManagerManageEdit",ref:"root"},wn={class:"loadingPiwik"},Mn=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),_n={class:"loadingPiwik"},Dn=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),xn={class:"form-group row"},An={class:"col s12"},Bn={key:0},Ln={class:"form-group row"},Un={class:"col s12"},In={class:"form-group row multiple"},Pn={class:"col s12 m12"},Hn={class:"innerFormField"},Fn={class:"innerFormField comparisonField"},Gn={class:"innerFormField"},$n=["onClick","title"],Rn={class:"triggerConditionNode"},zn={class:"entityCancel"},Wn={id:"confirmSelectTriggerType"},qn={class:"collection-header"},Xn=["onClick","title"],Kn=["src"],Jn={class:"title"},Yn={class:"secondary-content"},Qn=["title"],Zn={class:"entityCancel"};function ea(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("Field"),c=Object(i["resolveComponent"])("GroupedSettings"),s=Object(i["resolveComponent"])("SaveButton"),d=Object(i["resolveComponent"])("ContentBlock");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",kn,[Object(i["createVNode"])(d,{feature:"Tag Manager","content-title":e.editTitle},{default:Object(i["withCtx"])((function(){var n,a,r,o,d,u,g,b;return[Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",wn,[Mn,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])],512),[[i["vShow"],e.isLoading]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",_n,[Dn,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_UpdatingData")),1)])],512),[[i["vShow"],e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("form",{onSubmit:t[5]||(t[5]=function(t){return e.edit?e.updateTrigger():e.createTrigger()})},[Object(i["createElementVNode"])("div",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"alert alert-warning"},Object(i["toDisplayString"])(e.translate("TagManager_UseCustomTemplateCapabilityRequired",e.translate("TagManager_CapabilityUseCustomTemplates"))),513),[[i["vShow"],e.isTriggerDisabled]]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"type","model-value":null===(n=e.trigger.typeMetadata)||void 0===n?void 0:n.name,disabled:!0,"inline-help":"".concat(null===(a=e.trigger.typeMetadata)||void 0===a?void 0:a.description," ").concat(null===(r=e.trigger.typeMetadata)||void 0===r?void 0:r.help),title:e.translate("TagManager_Type")},null,8,["model-value","inline-help","title"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"name","model-value":e.trigger.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){e.trigger.name=t,e.setValueHasChanged()}),maxlength:50,title:e.translate("General_Name"),"inline-help":e.translate("TagManager_TriggerNameHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"textarea",name:"description","model-value":e.trigger.description,"onUpdate:modelValue":t[1]||(t[1]=function(t){e.trigger.description=t,e.setValueHasChanged()}),maxlength:1e3,title:e.translate("General_Description"),"inline-help":e.translate("TagManager_TriggerDescriptionHelp")},null,8,["model-value","title","inline-help"])]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",xn,[Object(i["createElementVNode"])("div",An,[Object(i["createElementVNode"])("h3",null,Object(i["toDisplayString"])(e.translate("TagManager_ConfigureThisTrigger")),1)])],512),[[i["vShow"],null===(o=e.trigger.typeMetadata)||void 0===o||null===(d=o.parameters)||void 0===d?void 0:d.length]]),e.trigger?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Bn,[Object(i["createVNode"])(c,{settings:(null===(u=e.trigger.typeMetadata)||void 0===u?void 0:u.parameters)||[],"all-setting-values":e.parameterValues,onChange:t[2]||(t[2]=function(t){return e.parameterValues[t.name]=t.value})},null,8,["settings","all-setting-values"])])):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Ln,[Object(i["createElementVNode"])("div",Un,[Object(i["createElementVNode"])("h3",null,Object(i["toDisplayString"])(e.translate("TagManager_OnlyTriggerWhen"))+" "+Object(i["toDisplayString"])(e.translate("Goals_Optional")),1)])],512),[[i["vShow"],null===(g=e.trigger.typeMetadata)||void 0===g?void 0:g.hasAdvancedSettings]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",In,[Object(i["createElementVNode"])("div",Pn,[Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_TriggerConditionsHelp")),1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.trigger.conditions,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:n,class:Object(i["normalizeClass"])(["condition multiple valign-wrapper","condition".concat(n)])},[Object(i["createElementVNode"])("div",Hn,[Object(i["createVNode"])(l,{uicontrol:"expandable-select",name:"condition_actual","model-value":t.actual,"onUpdate:modelValue":function(n){t.actual=n,e.setValueHasChanged()},"full-width":!0,options:e.availableVariables,title:e.variableIdToName[t.actual]||t.actual},null,8,["model-value","onUpdate:modelValue","options","title"])]),Object(i["createElementVNode"])("div",Fn,[Object(i["createVNode"])(l,{uicontrol:"select",name:"condition_comparison","model-value":t.comparison,"onUpdate:modelValue":function(n){t.comparison=n,e.setValueHasChanged()},"full-width":!0,options:e.availableComparisons},null,8,["model-value","onUpdate:modelValue","options"])]),Object(i["createElementVNode"])("div",Gn,[Object(i["createVNode"])(l,{uicontrol:"text",name:"condition_expected","model-value":t.expected,"onUpdate:modelValue":function(n){t.expected=n,e.setValueHasChanged(),e.onConditionChange()},"full-width":!0},null,8,["model-value","onUpdate:modelValue"])]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",{class:"icon-minus valign",onClick:function(t){return e.removeConditionEntry(n)},title:e.translate("General_Remove")},null,8,$n),[[i["vShow"],!(n+1===e.trigger.conditions.length)]])],2)})),128))]),Object(i["createElementVNode"])("p",Rn,Object(i["toDisplayString"])(e.translate("TagManager_TriggerConditionNode")),1)])])],512),[[i["vShow"],null===(b=e.trigger.typeMetadata)||void 0===b?void 0:b.hasAdvancedSettings]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"alert alert-warning"},Object(i["toDisplayString"])(e.translate("TagManager_UseCustomTemplateCapabilityRequired",e.translate("TagManager_CapabilityUseCustomTemplates"))),513),[[i["vShow"],e.isTriggerDisabled]]),Object(i["withDirectives"])(Object(i["createVNode"])(s,{class:"createButton",onConfirm:t[3]||(t[3]=function(t){return e.edit?e.updateTrigger():e.createTrigger()}),disabled:e.isUpdating||!e.isDirty,saving:e.isUpdating,value:e.saveButtonText},null,8,["disabled","saving","value"]),[[i["vShow"],!e.isTriggerDisabled]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",zn,[Object(i["createElementVNode"])("a",{onClick:t[4]||(t[4]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)],512),[[i["vShow"],!e.isEmbedded]])])],544),[[i["vShow"],!e.chooseTriggerType&&e.editTitle]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Wn,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.availableTriggers,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",{class:"collection with-header",key:n},[Object(i["createElementVNode"])("li",qn,[Object(i["createElementVNode"])("h4",null,Object(i["toDisplayString"])(t.name),1)]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.types,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:Object(i["normalizeClass"])(["collection-item avatar",Sn({disabledTemplate:e.isTriggerTemplateDisabled[t.id]},"templateType".concat(t.id),!0)]),onClick:function(n){return e.createTriggerType(t)},key:n,title:e.isTriggerTemplateDisabled[t.id]?e.collectionItemAvatarText:""},[t.icon?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,alt:"",class:"circle",src:t.icon},null,8,Kn)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("span",Jn,Object(i["toDisplayString"])(t.name),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(t.description),513),[[i["vShow"],t.description]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",Yn,[Object(i["createElementVNode"])("i",{class:"icon-help",title:t.help},null,8,Qn)],512),[[i["vShow"],!!t.help]])],10,Xn)})),128))])})),128)),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Zn,[Object(i["createElementVNode"])("a",{onClick:t[6]||(t[6]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)],512),[[i["vShow"],!e.isEmbedded]])],512),[[i["vShow"],e.chooseTriggerType]])]})),_:1},8,["content-title"])],512)}function ta(e,t){return ra(e)||aa(e,t)||ca(e,t)||na()}function na(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function aa(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done);o=!0)if(i.push(a.value),t&&i.length===t)break}catch(c){l=!0,r=c}finally{try{o||null==n["return"]||n["return"]()}finally{if(l)throw r}}return i}}function ra(e){if(Array.isArray(e))return e}function ia(e){return ia="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ia(e)}function oa(e){return da(e)||sa(e)||ca(e)||la()}function la(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ca(e,t){if(e){if("string"===typeof e)return ua(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ua(e,t):void 0}}function sa(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function da(e){if(Array.isArray(e))return ua(e)}function ua(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n-1){var t=this.trigger.conditions.length-1;t===e?this.trigger.conditions[e]=this.makeDefaultCondition():this.trigger.conditions.splice(e,1),this.isDirty=!0}},createTriggerType:function(e){var t=this;e&&this.isTriggerTemplateDisabled[e.id]||(this.chooseTriggerType=!1,this.editTitle=Object(u["translate"])("TagManager_CreateNewTrigger"),this.trigger={idsite:parseInt("".concat(u["Matomo"].idSite),10),name:fa.suggestNameForType(e.name)||"",description:"",type:e.id,idcontainerversion:this.idContainerVersion,conditions:[],typeMetadata:e},this.parameterValues=Object.fromEntries(e.parameters.map((function(e){return[e.name,e.value]}))),this.addConditionEntry(),this.isDirty=!0,Object(i["nextTick"])((function(){if(t.$refs.root){var e=t.$refs.root;e.scrollIntoView();var n=e.querySelector("#name");n&&n.focus()}})))},cancel:function(){var e=Object.assign({},u["MatomoUrl"].hashParsed.value);delete e.idTrigger,u["MatomoUrl"].updateHash(e)},createTrigger:function(){var e=this;this.removeAnyTriggerNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingTrigger=!0,fa.createOrUpdateTrigger(this.trigger,"TagManager.addContainerTrigger",this.idContainer,this.idContainerVersion,this.parameterValues).then((function(t){var n=t.value;e.isDirty=!1,fa.reload(e.idContainer,e.idContainerVersion).then((function(){if(e.isEmbedded)return e.trigger.idtrigger=n,void e.$emit("changeTrigger",{trigger:e.trigger});u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idTrigger:n})),setTimeout((function(){var t=Object(u["translate"])("TagManager_CreatedX",Object(u["translate"])("TagManager_Trigger")),n=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(t," ").concat(n),"success")}),200)}))})).finally((function(){e.isUpdatingTrigger=!1})))},setValueHasChanged:function(){this.isDirty=!0},updateTrigger:function(){var e=this;this.removeAnyTriggerNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingTrigger=!0,fa.createOrUpdateTrigger(this.trigger,"TagManager.updateContainerTrigger",this.idContainer,this.idContainerVersion,this.parameterValues).then((function(t){if(t)if(e.isEmbedded)e.$emit("changeTrigger",{trigger:e.trigger});else{e.isDirty=!1,fa.reload(e.idContainer,e.idContainerVersion).then((function(){e.initIdTrigger()}));var n=Object(u["translate"])("TagManager_UpdatedX",Object(u["translate"])("TagManager_Trigger")),a=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(n," ").concat(a),"success")}})).finally((function(){e.isUpdatingTrigger=!1})))},makeDefaultCondition:function(){var e,t="PageUrl";if(null!==(e=this.trigger)&&void 0!==e&&e.typeMetadata){var n=this.trigger.typeMetadata.id;ja[n]&&(t=ja[n])}return{comparison:"equals",actual:t,expected:""}}},computed:{isLoading:function(){return fa.isLoading.value||yt.isLoading.value},isUpdating:function(){return fa.isUpdating.value||this.isUpdatingTrigger},create:function(){return 0===this.idTrigger},edit:function(){return!this.create},canUseCustomTemplates:function(){return u["Matomo"].hasUserCapability("tagmanager_use_custom_templates")},isTriggerDisabled:function(){var e;return!this.canUseCustomTemplates&&(null===(e=this.trigger.typeMetadata)||void 0===e?void 0:e.isCustomTemplate)},saveButtonText:function(){return this.edit?Object(u["translate"])("CoreUpdater_UpdateTitle"):Object(u["translate"])("TagManager_CreateNewTrigger")},collectionItemAvatarText:function(){return Object(u["translate"])("TagManager_UseCustomTemplateCapabilityRequired",Object(u["translate"])("TagManager_CapabilityUseCustomTemplates"))},availableComparisons:function(){return yt.comparisonOptions.value},isTriggerTemplateDisabled:function(){var e=this,t={};return this.availableTriggers.forEach((function(n){n.types.forEach((function(n){t[n.id]=!e.canUseCustomTemplates&&n.isCustomTemplate}))})),t},triggerParameterValues:function(){var e;return null!==(e=this.trigger.typeMetadata)&&void 0!==e&&e.parameters?this.parameterValues:null}}});Oa.render=ea;var Ta=Oa,Va={class:"tagManagerManageList tagManagerTriggerList"},ya=["title"],Ca=["title"],Na=["title"],Ea=["title"],Sa=["title"],ka=["title"],wa={colspan:"7"},Ma={class:"loadingPiwik"},_a=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),Da={colspan:"7"},xa=["id"],Aa={class:"name"},Ba=["title"],La=["title"],Ua={class:"conditions"},Ia={class:"icon-ok"},Pa=["title"],Ha={class:"action"},Fa=["onClick","title"],Ga=["onClick","title"],$a={class:"tableActionBar"},Ra=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),za={class:"ui-confirm",id:"confirmDeleteTrigger",ref:"confirmDeleteTrigger"},Wa=["value"],qa=["value"],Xa={class:"ui-confirm",id:"confirmDeleteTriggerNotPossible",ref:"confirmDeleteTriggerNotPossible"},Ka={class:"collection"},Ja=["value"];function Ya(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ContentBlock"),c=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Va,[Object(i["createVNode"])(l,{feature:"Tag Manager","content-title":e.translate("TagManager_ManageX",e.translate("TagManager_Triggers")),"help-text":e.triggersHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_TriggerUsageBenefits")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",{class:"name",title:e.nameTranslatedText},Object(i["toDisplayString"])(e.translate("General_Name")),9,ya),Object(i["createElementVNode"])("th",{class:"description",title:e.descriptionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Description")),9,Ca),Object(i["createElementVNode"])("th",{class:"type",title:e.typeTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Type")),9,Na),Object(i["createElementVNode"])("th",{class:"conditions",title:e.filterTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Filter")),9,Ea),Object(i["createElementVNode"])("th",{class:"lastUpdated",title:e.lastUpdatedTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_LastUpdated")),9,Sa),Object(i["withDirectives"])(Object(i["createElementVNode"])("th",{class:"action",title:e.actionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Actions")),9,ka),[[i["vShow"],e.hasWriteAccess]])])]),Object(i["createElementVNode"])("tbody",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",wa,[Object(i["createElementVNode"])("span",Ma,[_a,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])])],512),[[i["vShow"],e.isLoading||e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",Da,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_NoTriggersFound"))+" ",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createContainerTriggerNow",onClick:t[0]||(t[0]=function(t){return e.createTrigger()})},Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTriggerNow")),513),[[i["vShow"],e.hasWriteAccess]])])],512),[[i["vShow"],!e.isLoading&&0===e.triggers.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedTriggers,(function(t){var n;return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{id:"trigger".concat(t.idtrigger),class:"triggers",key:t.idtrigger},[Object(i["createElementVNode"])("td",Aa,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",{class:"description",title:t.description},Object(i["toDisplayString"])(e.truncateText(t.description,30)),9,Ba),Object(i["createElementVNode"])("td",{class:"type",title:t.typeMetadata.description},Object(i["toDisplayString"])(t.typeMetadata.name),9,La),Object(i["createElementVNode"])("td",Ua,[Object(i["withDirectives"])(Object(i["createElementVNode"])("span",Ia,null,512),[[i["vShow"],null===(n=t.conditions)||void 0===n?void 0:n.length]])]),Object(i["createElementVNode"])("td",{class:"lastUpdated",title:e.translate("TagManager_CreatedOnX",t.created_date_pretty)},[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.updated_date_pretty),1)],8,Pa),Object(i["withDirectives"])(Object(i["createElementVNode"])("td",Ha,[Object(i["createElementVNode"])("a",{class:"table-action icon-edit",onClick:function(n){return e.editTrigger(t.idtrigger,t.type)},title:e.translate("TagManager_EditTrigger")},null,8,Fa),Object(i["createElementVNode"])("a",{class:"table-action icon-delete",onClick:function(n){return e.deleteTrigger(t)},title:e.translate("TagManager_DeleteX",e.translate("TagManager_Trigger"))},null,8,Ga)],512),[[i["vShow"],e.hasWriteAccess]])],8,xa)})),128))])],512),[[c]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",$a,[Object(i["createElementVNode"])("a",{class:"createNewTrigger",value:"",onClick:t[1]||(t[1]=function(t){return e.createTrigger()})},[Ra,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTrigger")),1)])],512),[[i["vShow"],e.hasWriteAccess]])]})),_:1},8,["content-title","help-text"]),Object(i["createElementVNode"])("div",za,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_DeleteTriggerConfirm")),1),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("General_Yes")},null,8,Wa),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_No")},null,8,qa)],512),Object(i["createElementVNode"])("div",Xa,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_TriggerCannotBeDeleted")),1),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_TriggerBeingUsedBy")),1),Object(i["createElementVNode"])("ul",Ka,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.triggerReferences,(function(e){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"collection-item",key:e.referenceId},Object(i["toDisplayString"])(e.referenceTypeName)+": "+Object(i["toDisplayString"])(e.referenceName),1)})),128))]),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_TriggerBeingUsedNeedsRemove")),1),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_Cancel")},null,8,Ja)],512)])}function Qa(e){return nr(e)||tr(e)||er(e)||Za()}function Za(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function er(e,t){if(e){if("string"===typeof e)return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ar(e,t):void 0}}function tr(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function nr(e){if(Array.isArray(e))return ar(e)}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.name?1:0})),e},nameTranslatedText:function(){return this.translate("TagManager_TriggersNameDescription")},descriptionTranslatedText:function(){return this.translate("TagManager_TriggersDescriptionDescription")},typeTranslatedText:function(){return this.translate("TagManager_TriggersTypeDescription")},filterTranslatedText:function(){return this.translate("TagManager_TriggersFilterDescription")},lastUpdatedTranslatedText:function(){return this.translate("TagManager_TriggersLastUpdatedDescription")},actionTranslatedText:function(){return this.translate("TagManager_TriggersActionDescription")}}});or.render=Ya;var lr=or,cr={class:"manageTrigger"};function sr(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("TriggerList"),c=Object(i["resolveComponent"])("TriggerEdit");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",cr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{"id-container":e.idContainer,"id-container-version":e.idContainerVersion,"triggers-help-text":e.triggersHelpText},null,8,["id-container","id-container-version","triggers-help-text"])])],512),[[i["vShow"],!e.editMode]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(c,{"id-container":e.idContainer,"id-container-version":e.idContainerVersion,"id-trigger":e.idTrigger},null,8,["id-container","id-container-version","id-trigger"])])],512),[[i["vShow"],e.editMode]])])}var dr=Object(i["defineComponent"])({props:{idContainerVersion:Number,idContainer:String,triggersHelpText:String},components:{TriggerList:lr,TriggerEdit:Ta},data:function(){return{isAddAllowed:!1}},created:function(){var e=this;Object(i["watch"])((function(){return u["MatomoUrl"].hashParsed.value.idTrigger}),(function(t){e.onIdTriggerParamChange(t)})),u["NotificationsStore"].remove("triggertriggermanagement"),this.onIdTriggerParamChange(u["MatomoUrl"].hashParsed.value.idTrigger)},methods:{onIdTriggerParamChange:function(e){if("0"===e){var t={isAllowed:!0};u["Matomo"].postEvent("TagManager.initAddTrigger",t),this.isAddAllowed=!!t.isAllowed}}},computed:{idTrigger:function(){var e=u["MatomoUrl"].hashParsed.value.idTrigger;return this.isAddAllowed||"0"!==e?e?parseInt(e,10):e:null},editMode:function(){return"number"===typeof this.idTrigger}}});dr.render=sr;var ur=dr;function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var br={class:"editTag tagManagerManageEdit",ref:"root"},mr={class:"loadingPiwik"},pr=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),hr={class:"loadingPiwik"},fr=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),vr={class:"form-group row"},jr={class:"col s12"},Or={key:0},Tr={class:"form-group row"},Vr={class:"col s12"},yr={class:"form-group row"},Cr={class:"col s12"},Nr={class:"form-group row tagStartDate"},Er={class:"col s12 m6"},Sr={class:"row"},kr={class:"col s12"},wr={for:"start_date_date",class:"active"},Mr={class:"tagStartDate"},_r={class:"col s12 m6 "},Dr={class:"form-help"},xr={class:"inline-help"},Ar=["innerHTML"],Br=Object(i["createElementVNode"])("br",null,null,-1),Lr=["innerHTML"],Ur={class:"form-group row tagEndDate"},Ir={class:"col s12 m6"},Pr={class:"row"},Hr={class:"col s12"},Fr={for:"end_date_date",class:"active"},Gr={class:"tagEndDate"},$r={class:"col s12 m6"},Rr={class:"form-help"},zr={class:"inline-help"},Wr=["innerHTML"],qr=Object(i["createElementVNode"])("br",null,null,-1),Xr=["innerHTML"],Kr={class:"entityCancel"},Jr={id:"confirmSelectTagType"},Yr={class:"collection-header"},Qr=["onClick","title"],Zr=["src"],ei={class:"title"},ti={class:"secondary-content"},ni=["title"],ai={class:"entityCancel"};function ri(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("Field"),c=Object(i["resolveComponent"])("GroupedSettings"),s=Object(i["resolveComponent"])("TagTriggerArray"),d=Object(i["resolveComponent"])("TagDateInput"),u=Object(i["resolveComponent"])("SaveButton"),g=Object(i["resolveComponent"])("ContentBlock");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",br,[Object(i["createVNode"])(g,{feature:"Tag Manager","content-title":e.editTitle},{default:Object(i["withCtx"])((function(){var n,a,r,o,g,b,m,p;return[Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",mr,[pr,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])],512),[[i["vShow"],e.isLoading]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",hr,[fr,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_UpdatingData")),1)])],512),[[i["vShow"],e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("form",{onSubmit:t[18]||(t[18]=function(t){return e.edit?e.updateTag():e.createTag()})},[Object(i["createElementVNode"])("div",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"alert alert-warning"},Object(i["toDisplayString"])(e.translate("TagManager_UseCustomTemplateCapabilityRequired",e.translate("TagManager_CapabilityUseCustomTemplates"))),513),[[i["vShow"],e.isTagDisabled]]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"type","model-value":null===(n=e.tag.typeMetadata)||void 0===n?void 0:n.name,disabled:!0,"inline-help":(null===(a=e.tag.typeMetadata)||void 0===a?void 0:a.description)+" "+(null===(r=e.tag.typeMetadata)||void 0===r?void 0:r.help),title:e.translate("TagManager_Type")},null,8,["model-value","inline-help","title"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"name","model-value":e.tag.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){e.tag.name=t,e.setValueHasChanged()}),maxlength:50,title:e.translate("General_Name"),"inline-help":e.translate("TagManager_TagNameHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"textarea",name:"description","model-value":e.tag.description,"onUpdate:modelValue":t[1]||(t[1]=function(t){e.tag.description=t,e.setValueHasChanged()}),maxlength:1e3,title:e.translate("General_Description"),"inline-help":e.translate("TagManager_TagDescriptionHelp")},null,8,["model-value","title","inline-help"])]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",vr,[Object(i["createElementVNode"])("div",jr,[Object(i["createElementVNode"])("h3",null,Object(i["toDisplayString"])(e.translate("TagManager_ConfigureWhatTagDoes")),1)])],512),[[i["vShow"],null===(o=e.tag.typeMetadata)||void 0===o?void 0:o.parameters.length]]),e.tag?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Or,[Object(i["createVNode"])(c,{settings:(null===(g=e.tag.typeMetadata)||void 0===g?void 0:g.parameters)||[],"all-setting-values":e.parameterValues,onChange:t[2]||(t[2]=function(t){e.parameterValues[t.name]=t.value,e.setValueHasChanged()})},null,8,["settings","all-setting-values"])])):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Tr,[Object(i["createElementVNode"])("div",Vr,[Object(i["createElementVNode"])("h3",null,Object(i["toDisplayString"])(e.translate("TagManager_ConfigureWhenTagDoes")),1)])],512),[[i["vShow"],null===(b=e.tag.typeMetadata)||void 0===b?void 0:b.parameters.length]]),Object(i["createVNode"])(s,{"container-triggers":e.containerTriggers,type:"fire",title:e.translate("TagManager_FireTriggerTitle"),help:e.translate("TagManager_FireTriggerHelp",e.translate("TagManager_FireLimit")),"model-value":e.fireTriggers,"onUpdate:modelValue":t[3]||(t[3]=function(t){e.fireTriggers=t,e.setValueHasChanged(),e.onFireTriggerChange()}),onCreate:t[4]||(t[4]=function(t){return e.onCreateNewFireTrigger()}),onEdit:t[5]||(t[5]=function(t){return e.editTrigger(t)})},null,8,["container-triggers","title","help","model-value"]),Object(i["createVNode"])(s,{"container-triggers":e.containerTriggers,type:"block",title:e.translate("TagManager_BlockTriggerTitle"),help:e.translate("TagManager_BlockTriggerHelp"),"model-value":e.blockTriggers,"onUpdate:modelValue":t[6]||(t[6]=function(t){e.blockTriggers=t,e.setValueHasChanged(),e.onBlockTriggerChange()}),onCreate:t[7]||(t[7]=function(t){return e.onCreateNewBlockTrigger()}),onEdit:t[8]||(t[8]=function(t){return e.editTrigger(t)})},null,8,["container-triggers","title","help","model-value"]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",yr,[Object(i["createElementVNode"])("div",Cr,[Object(i["createElementVNode"])("h3",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{href:"",class:"showAdvancedSettings",onClick:t[9]||(t[9]=Object(i["withModifiers"])((function(t){return e.showAdvanced=!0}),["prevent"]))},Object(i["toDisplayString"])(e.translate("TagManager_ShowAdvancedSettings")),513),[[i["vShow"],!e.showAdvanced]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{href:"",class:"hideAdvancedSettings",onClick:t[10]||(t[10]=Object(i["withModifiers"])((function(t){return e.showAdvanced=!1}),["prevent"]))},Object(i["toDisplayString"])(e.translate("TagManager_HideAdvancedSettings")),513),[[i["vShow"],e.showAdvanced]])])])],512),[[i["vShow"],null===(m=e.tag.typeMetadata)||void 0===m?void 0:m.hasAdvancedSettings]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"radio",name:"fire_limit","model-value":e.tag.fire_limit,"onUpdate:modelValue":t[11]||(t[11]=function(t){e.tag.fire_limit=t,e.setValueHasChanged()}),options:e.availableFireLimits,title:e.translate("TagManager_FireLimit"),"inline-help":e.fireLimitHelp},null,8,["model-value","options","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"fire_delay","model-value":e.tag.fire_delay,"onUpdate:modelValue":t[12]||(t[12]=function(t){e.tag.fire_delay=t,e.setValueHasChanged()}),maxlength:8,title:e.translate("TagManager_FireDelay"),"inline-help":e.translate("TagManager_FireDelayHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"priority","model-value":e.tag.priority,"onUpdate:modelValue":t[13]||(t[13]=function(t){e.tag.priority=t,e.setValueHasChanged()}),maxlength:4,title:e.translate("TagManager_Priority"),"inline-help":e.translate("TagManager_PriorityHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createElementVNode"])("div",Nr,[Object(i["createElementVNode"])("div",Er,[Object(i["createElementVNode"])("div",Sr,[Object(i["createElementVNode"])("div",kr,[Object(i["createElementVNode"])("label",wr,Object(i["toDisplayString"])(e.translate("TagManager_StartDate"))+":",1)]),Object(i["createElementVNode"])("div",Mr,[Object(i["createVNode"])(d,{name:"start_date","model-value":e.tag.start_date,"onUpdate:modelValue":t[14]||(t[14]=function(t){e.tag.start_date=t,e.setValueHasChanged()}),"default-time":"00:00:00"},null,8,["model-value"])])])]),Object(i["createElementVNode"])("div",_r,[Object(i["createElementVNode"])("div",Dr,[Object(i["createElementVNode"])("span",xr,[Object(i["createElementVNode"])("span",null,[Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.translate("TagManager_TagStartDateHelp","",""))},null,8,Ar),Br,Object(i["createElementVNode"])("span",{class:"currentLocalTime",innerHTML:e.$sanitize(e.translate("TagManager_CurrentTimeInLocalTimezone","",e.currentTime,""))},null,8,Lr)])])])])]),Object(i["createElementVNode"])("div",Ur,[Object(i["createElementVNode"])("div",Ir,[Object(i["createElementVNode"])("div",Pr,[Object(i["createElementVNode"])("div",Hr,[Object(i["createElementVNode"])("label",Fr,Object(i["toDisplayString"])(e.translate("TagManager_EndDate"))+":",1)]),Object(i["createElementVNode"])("div",Gr,[Object(i["createVNode"])(d,{name:"end_date","model-value":e.tag.end_date,"onUpdate:modelValue":t[15]||(t[15]=function(t){e.tag.end_date=t,e.setValueHasChanged()}),"default-time":"23:59:59"},null,8,["model-value"])])])]),Object(i["createElementVNode"])("div",$r,[Object(i["createElementVNode"])("div",Rr,[Object(i["createElementVNode"])("span",zr,[Object(i["createElementVNode"])("span",null,[Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.translate("TagManager_TagEndDateHelp","",""))},null,8,Wr),qr,Object(i["createElementVNode"])("span",{class:"currentLocalTime",innerHTML:e.$sanitize(e.translate("TagManager_CurrentTimeInLocalTimezone","",e.currentTime,""))},null,8,Xr)])])])])])],512),[[i["vShow"],e.showAdvanced&&(null===(p=e.tag.typeMetadata)||void 0===p?void 0:p.hasAdvancedSettings)]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"alert alert-warning"},Object(i["toDisplayString"])(e.translate("TagManager_UseCustomTemplateCapabilityRequired",e.translate("TagManager_CapabilityUseCustomTemplates"))),513),[[i["vShow"],e.isTagDisabled]]),Object(i["withDirectives"])(Object(i["createVNode"])(u,{class:"createButton",onConfirm:t[16]||(t[16]=function(t){return e.edit?e.updateTag():e.createTag()}),disabled:e.isUpdating||!e.isDirty,saving:e.isUpdating,value:e.edit?e.translate("CoreUpdater_UpdateTitle"):e.translate("TagManager_CreateNewTag")},null,8,["disabled","saving","value"]),[[i["vShow"],!e.isTagDisabled]]),Object(i["createElementVNode"])("div",Kr,[Object(i["createElementVNode"])("a",{onClick:t[17]||(t[17]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)])])],544),[[i["vShow"],!e.chooseTagType&&e.editTitle]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Jr,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.availableTags,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",{class:"collection with-header",key:t.name},[Object(i["createElementVNode"])("li",Yr,[Object(i["createElementVNode"])("h4",null,Object(i["toDisplayString"])(t.name),1)]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.types,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:n,class:Object(i["normalizeClass"])(["collection-item avatar",gr({disabledTemplate:e.isTagTemplateDisabled[t.id]},"templateType".concat(t.id),!0)]),onClick:function(n){return e.createTagType(t)},title:e.isTagTemplateDisabled[t.id]?e.collectionItemAvatarText:""},[t.icon?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,alt:"",class:"circle",src:t.icon},null,8,Zr)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("span",ei,Object(i["toDisplayString"])(t.name),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(t.description),513),[[i["vShow"],t.description]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",ti,[Object(i["createElementVNode"])("i",{class:"icon-help",title:t.help},null,8,ni)],512),[[i["vShow"],!!t.help]])],10,Qr)})),128))])})),128)),Object(i["createElementVNode"])("div",ai,[Object(i["createElementVNode"])("a",{onClick:t[19]||(t[19]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)])],512),[[i["vShow"],e.chooseTagType]])]})),_:1},8,["content-title"])],512)}function ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);n-1){var t=this.blockTriggers.length-1;t===e?this.blockTriggers[e]=null:this.blockTriggers.splice(e,1),this.isDirty=!0}},onFireTriggerChange:function(){var e=this.fireTriggers.every((function(e){return!!e}));e&&this.addFireTrigger()},addFireTrigger:function(){this.fireTriggers.push(null),this.isDirty=!0},removeFireTrigger:function(e){if(e>-1){var t=this.fireTriggers.length-1;t===e?this.fireTriggers[e]=null:this.fireTriggers.splice(e,1),this.isDirty=!0}},createTagType:function(e){var t=this;e&&this.isTagTemplateDisabled[e.id]||(this.chooseTagType=!1,this.editTitle=Object(u["translate"])("TagManager_CreateNewTag"),this.tag={idsite:parseInt("".concat(u["Matomo"].idSite),10),name:lo.suggestNameForType(e.name)||"",type:e.id,fire_limit:"unlimited",priority:999,fire_delay:0,typeMetadata:e},this.blockTriggers=[null],this.fireTriggers=[null],this.parameterValues=Object.fromEntries(e.parameters.map((function(e){return[e.name,e.value]}))),this.isDirty=!1,setTimeout((function(){var e=fo(t.$refs.root);e.length&&e[0]&&e[0].scrollIntoView(),e.find("#name").focus()}),1))},cancel:function(){var e=Object.assign({},u["MatomoUrl"].hashParsed.value);delete e.idTag,u["MatomoUrl"].updateHash(e)},createTag:function(){var e=this;this.removeAnyTagNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingTag=!0,lo.createOrUpdateTag(this.tag,"TagManager.addContainerTag",this.idContainer,this.idContainerVersion,this.parameterValues,this.fireTriggers.filter((function(e){return!!e})),this.blockTriggers.filter((function(e){return!!e}))).then((function(t){if(t){e.isDirty=!1;var n=t.value;lo.reload(e.idContainer,e.idContainerVersion).then((function(){u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idTag:n})),setTimeout((function(){var t=Object(u["translate"])("TagManager_CreatedX",Object(u["translate"])("TagManager_Tag")),n=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(t," ").concat(n),"success")}),200)}))}})).finally((function(){e.isUpdatingTag=!1})))},setValueHasChanged:function(){this.isDirty=!0},updateTag:function(){var e=this;this.removeAnyTagNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingTag=!0,lo.createOrUpdateTag(this.tag,"TagManager.updateContainerTag",this.idContainer,this.idContainerVersion,this.parameterValues,this.fireTriggers.filter((function(e){return!!e})),this.blockTriggers.filter((function(e){return!!e}))).then((function(t){if(t){e.isDirty=!1,lo.reload(e.idContainer,e.idContainerVersion).then((function(){e.initIdTag()}));var n=Object(u["translate"])("TagManager_UpdatedX",Object(u["translate"])("TagManager_Tag")),a=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(n," ").concat(a),"success")}})).finally((function(){e.isUpdatingTag=!1})))},checkRequiredFieldsAreSet:function(){if(!this.tag.name){var e=Object(u["translate"])("General_Name");return this.showErrorFieldNotProvidedNotification(e),!1}return!(!this.fireTriggers||!this.fireTriggers.length)||(this.showNotification(Object(u["translate"])("TagManager_TagFireTriggerRequirement"),"error"),!1)}},computed:{availableFireLimits:function(){return di.fireLimitsOptions.value},isLoading:function(){return fa.isLoading.value||di.isLoading.value},isUpdating:function(){return fa.isUpdating.value||this.isUpdatingTag},create:function(){return 0===this.idTag},edit:function(){return!this.create},canUseCustomTemplates:function(){return u["Matomo"].hasUserCapability("tagmanager_use_custom_templates")},isTagDisabled:function(){var e;return!this.canUseCustomTemplates&&(null===(e=this.tag.typeMetadata)||void 0===e?void 0:e.isCustomTemplate)},isTagTemplateDisabled:function(){var e=this,t={};return this.availableTags.forEach((function(n){n.types.forEach((function(n){t[n.id]=!e.canUseCustomTemplates&&n.isCustomTemplate}))})),t},collectionItemAvatarText:function(){return Object(u["translate"])("TagManager_UseCustomTemplateCapabilityRequired",Object(u["translate"])("TagManager_CapabilityUseCustomTemplates"))},fireLimitHelp:function(){return Object(u["translate"])("TagManager_FireLimitHelp",Object(u["translate"])("TagManager_Unlimited"),Object(u["translate"])("TagManager_OncePage"),Object(u["translate"])("TagManager_Once24Hours"),Object(u["translate"])("TagManager_OnceLifetime"))}}});Oo.render=ri;var To=Oo,Vo={class:"tagManagerManageList tagManagerTagList"},yo=["title"],Co=["title"],No=["title"],Eo=["title"],So=["title"],ko=["title"],wo={colspan:"5"},Mo={class:"loadingPiwik"},_o=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),Do={colspan:"5"},xo=["id"],Ao={class:"name"},Bo=["title"],Lo=["title"],Uo={class:"triggers"},Io=["onClick"],Po={key:1,class:"chip"},Ho=["onClick"],Fo=["title"],Go={class:"action"},$o=["onClick","title"],Ro=["onClick","title"],zo={class:"tableActionBar"},Wo=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),qo={class:"ui-confirm",id:"confirmDeleteTag",ref:"confirmDeleteTag"},Xo=["value"],Ko=["value"];function Jo(e,t,n,a,r,o){var l=this,c=Object(i["resolveComponent"])("ContentBlock"),s=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Vo,[Object(i["createVNode"])(c,{feature:"Tag Manager","content-title":e.translate("TagManager_ManageX",e.translate("TagManager_Tags")),"help-text":e.tagsHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_TagUsageBenefits")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",{class:"name",title:e.nameTranslatedText},Object(i["toDisplayString"])(e.translate("General_Name")),9,yo),Object(i["createElementVNode"])("th",{class:"description",title:e.descriptionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Description")),9,Co),Object(i["createElementVNode"])("th",{class:"type",title:e.typeTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Type")),9,No),Object(i["createElementVNode"])("th",{class:"triggers",title:e.triggersTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Triggers")),9,Eo),Object(i["createElementVNode"])("th",{class:"lastUpdated",title:e.lastUpdatedTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_LastUpdated")),9,So),Object(i["withDirectives"])(Object(i["createElementVNode"])("th",{class:"action",title:e.actionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Actions")),9,ko),[[i["vShow"],e.hasWriteAccess]])])]),Object(i["createElementVNode"])("tbody",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",wo,[Object(i["createElementVNode"])("span",Mo,[_o,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])])],512),[[i["vShow"],e.isLoading||e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",Do,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_NoTagsFound"))+" ",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createContainerTagNow",onClick:t[0]||(t[0]=function(t){return e.createTag()})},Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTagNow")),513),[[i["vShow"],e.hasWriteAccess]])])],512),[[i["vShow"],!e.isLoading&&0===e.tags.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedTags,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{class:"tags",key:t.idtag,id:"tag".concat(t.idtag)},[Object(i["createElementVNode"])("td",Ao,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",{class:"description",title:t.description},Object(i["toDisplayString"])(e.truncateText(t.description,30)),9,Bo),Object(i["createElementVNode"])("td",{class:"type",title:t.typeMetadata.description},Object(i["toDisplayString"])(t.typeMetadata.name),9,Lo),Object(i["createElementVNode"])("td",Uo,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.fire_trigger_ids,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n,style:{"margin-right":"3.5px"}},[e.hasWriteAccess?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,style:{display:"inline-block","vertical-align":"top !important"},class:"chip",href:"",onClick:Object(i["withModifiers"])((function(n){return e.editTrigger(t)}),["prevent"])},Object(i["toDisplayString"])(l.triggers[t]),9,Io)):Object(i["createCommentVNode"])("",!0),e.hasWriteAccess?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",Po,Object(i["toDisplayString"])(l.triggers[t]),1))])})),128)),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_Except"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.block_trigger_ids,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n,style:{"margin-right":"3.5px"}},[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"chip",href:"",onClick:Object(i["withModifiers"])((function(n){return e.editTrigger(t)}),["prevent"])},Object(i["toDisplayString"])(l.triggers[t]),9,Ho),[[i["vShow"],e.hasWriteAccess]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",{class:"chip"},Object(i["toDisplayString"])(l.triggers[t]),513),[[i["vShow"],!e.hasWriteAccess]])])})),128))],512),[[i["vShow"],t.block_trigger_ids.length]])]),Object(i["createElementVNode"])("td",{class:"lastUpdated",title:e.translate("TagManager_CreatedOnX",t.created_date_pretty)},[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.updated_date_pretty),1)],8,Fo),Object(i["withDirectives"])(Object(i["createElementVNode"])("td",Go,[Object(i["createElementVNode"])("a",{class:"table-action icon-edit",onClick:function(n){return e.editTag(t.idtag,t.type)},title:e.translate("TagManager_EditTag")},null,8,$o),Object(i["createElementVNode"])("a",{class:"table-action icon-delete",onClick:function(n){return e.deleteTag(t)},title:e.translate("TagManager_DeleteX",e.translate("TagManager_Tag"))},null,8,Ro)],512),[[i["vShow"],e.hasWriteAccess]])],8,xo)})),128))])],512),[[s]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",zo,[Object(i["createElementVNode"])("a",{class:"createNewTag",value:"",onClick:t[1]||(t[1]=function(t){return e.createTag()})},[Wo,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTag")),1)])],512),[[i["vShow"],e.hasWriteAccess]])]})),_:1},8,["content-title","help-text"]),Object(i["createElementVNode"])("div",qo,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_DeleteTagConfirm")),1),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("General_Yes")},null,8,Xo),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_No")},null,8,Ko)],512)])}function Yo(e){return tl(e)||el(e)||Zo(e)||Qo()}function Qo(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zo(e,t){if(e){if("string"===typeof e)return nl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nl(e,t):void 0}}function el(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function tl(e){if(Array.isArray(e))return nl(e)}function nl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.name?1:0})),e},nameTranslatedText:function(){return this.translate("TagManager_TagsNameDescription")},descriptionTranslatedText:function(){return this.translate("TagManager_TagsDescriptionDescription")},typeTranslatedText:function(){return this.translate("TagManager_TagsTypeDescription")},triggersTranslatedText:function(){return this.translate("TagManager_TagsTriggersDescription")},lastUpdatedTranslatedText:function(){return this.translate("TagManager_TagsLastUpdatedDescription")},actionTranslatedText:function(){return this.translate("TagManager_TagsActionDescription")}}});il.render=Jo;var ol=il,ll={class:"manageTag"},cl={key:0},sl={key:1};function dl(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("TagList"),c=Object(i["resolveComponent"])("TagEdit");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ll,[e.editMode?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",cl,[Object(i["createVNode"])(l,{"id-container":e.idContainer,"id-container-version":e.idContainerVersion,"tags-help-text":e.tagsHelpText},null,8,["id-container","id-container-version","tags-help-text"])])),e.editMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",sl,[Object(i["createVNode"])(c,{"id-container":e.idContainer,"id-container-version":e.idContainerVersion,"id-tag":e.idTag},null,8,["id-container","id-container-version","id-tag"])])):Object(i["createCommentVNode"])("",!0)])}var ul=Object(i["defineComponent"])({props:{idContainerVersion:Number,idContainer:String,tagsHelpText:String},components:{TagList:ol,TagEdit:To},data:function(){return{isAddAllowed:!1}},created:function(){var e=this;Object(i["watch"])((function(){return u["MatomoUrl"].hashParsed.value.idTag}),(function(t){e.onIdTagParamChange(t)})),u["NotificationsStore"].remove("tagtagmanagement"),this.onIdTagParamChange(u["MatomoUrl"].hashParsed.value.idTag)},methods:{onIdTagParamChange:function(e){if("0"===e){var t={isAllowed:!0};u["Matomo"].postEvent("TagManager.initAddTag",t),this.isAddAllowed=!!t.isAllowed}}},computed:{idTag:function(){var e=u["MatomoUrl"].hashParsed.value.idTag;return this.isAddAllowed||"0"!==e?e?parseInt(e,10):e:null},editMode:function(){return"number"===typeof this.idTag}}});ul.render=dl;var gl=ul,bl={class:"editVersion tagManagerManageEdit"},ml={class:"loadingPiwik"},pl=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),hl={class:"loadingPiwik"},fl=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),vl={key:0},jl={key:2,class:"versionChanges"},Ol={key:0},Tl={colspan:"4"},Vl={key:1},yl={colspan:"4"},Cl={class:"lastUpdated"},Nl={class:"entityCancel"};function El(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("Field"),c=Object(i["resolveComponent"])("SaveButton"),s=Object(i["resolveComponent"])("ActivityIndicator"),d=Object(i["resolveComponent"])("ContentBlock"),u=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",bl,[Object(i["createVNode"])(d,{feature:"Tag Manager","content-title":e.editTitle},{default:Object(i["withCtx"])((function(){var n;return[Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",ml,[pl,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])],512),[[i["vShow"],e.isLoading]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",hl,[fl,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_UpdatingData")),1)])],512),[[i["vShow"],e.isUpdating]]),Object(i["createElementVNode"])("form",{onSubmit:t[6]||(t[6]=function(t){return e.edit?e.updateVersion():e.createVersion()})},[Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"name","inline-help":e.versionNameHelpText,"inline-help-bind":{lastVersion:e.lastVersion},"model-value":e.version.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){e.version.name=t,e.setValueHasChanged()}),maxlength:30,title:e.translate("TagManager_VersionName")},null,8,["inline-help","inline-help-bind","model-value","title"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"textarea",name:"description","model-value":e.version.description,"onUpdate:modelValue":t[1]||(t[1]=function(t){e.version.description=t,e.setValueHasChanged()}),title:e.translate("TagManager_VersionDescription"),"inline-help":e.translate("TagManager_VersionDescriptionHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createVNode"])(c,{class:"createButton no-publish",onConfirm:t[2]||(t[2]=function(t){return e.edit?e.updateVersion():e.createVersion()}),disabled:e.isUpdating||!e.isDirty,saving:e.isUpdating,value:e.edit?e.translate("CoreUpdater_UpdateTitle"):e.translate("TagManager_CreateVersionWithoutPublishing")},null,8,["disabled","saving","value"]),e.create&&e.environments.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",vl,[Object(i["createVNode"])(l,{uicontrol:"select",name:"environment","inline-help":e.selectTagManagerEnvironmentHelp,"inline-help-bind":{canPublishToLive:e.canPublishToLive},"model-value":null===(n=e.version.environments)||void 0===n?void 0:n[0],"onUpdate:modelValue":t[3]||(t[3]=function(t){e.version.environments[0]=t,e.setValueHasChanged()}),options:e.environments,introduction:e.translate("TagManager_OrCreateAndPublishVersion"),title:e.translate("TagManager_Environment")},null,8,["inline-help","inline-help-bind","model-value","options","introduction","title"])])):Object(i["createCommentVNode"])("",!0),e.create&&e.environments.length?(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:1,class:"publishButton",onConfirm:t[4]||(t[4]=function(t){return e.createVersionAndPublish()}),disabled:e.isUpdating||!e.isDirty,saving:e.isUpdating,value:e.translate("TagManager_CreateVersionAndPublishRelease")},null,8,["disabled","saving","value"])):Object(i["createCommentVNode"])("",!0),e.lastVersion?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",jl,[Object(i["createElementVNode"])("h3",null,Object(i["toDisplayString"])(e.translate("TagManager_ChangesSinceLastVersion"))+":",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,Object(i["toDisplayString"])(e.translate("SitesManager_Type")),1),Object(i["createElementVNode"])("th",null,Object(i["toDisplayString"])(e.translate("General_Name")),1),Object(i["createElementVNode"])("th",null,Object(i["toDisplayString"])(e.translate("TagManager_Change")),1),Object(i["createElementVNode"])("th",null,Object(i["toDisplayString"])(e.translate("TagManager_LastUpdated")),1)])]),Object(i["createElementVNode"])("tbody",null,[e.isLoadingVersionChanges?(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",Ol,[Object(i["createElementVNode"])("td",Tl,[Object(i["createVNode"])(s,{"loading-message":e.translate("TagManager_DetectingChanges"),loading:!0},null,8,["loading-message"])])])):Object(i["createCommentVNode"])("",!0),e.versionChanges.length||e.isLoadingVersionChanges?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",Vl,[Object(i["createElementVNode"])("td",yl,Object(i["toDisplayString"])(e.translate("UserCountryMap_None")),1)])),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.versionChanges,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:n},[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.translate(t.entityType)),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.translate(t.type)),1),Object(i["createElementVNode"])("td",Cl,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.lastChanged),1)])])})),128))])],512),[[u]])])):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Nl,[Object(i["createElementVNode"])("a",{onClick:t[5]||(t[5]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)],512),[[i["vShow"],!e.isEmbedded]])])],32)]})),_:1},8,["content-title"])])}function Sl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kl(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);n".concat(e.lastVersion,"")))},null,8,ic),[[i["vShow"],e.lastVersion]])])}var lc=Object(i["defineComponent"])({props:{lastVersion:String}});lc.render=oc;var cc=lc,sc={id:"selectTagManagerEnvironmentHelp",class:"inline-help-node"};function dc(e,t,n,a,r,o){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",sc,[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.translate("TagManager_VersionEnvironmentHelp")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"alert alert-info",style:{"margin-bottom":"0","padding-bottom":"0"}},Object(i["toDisplayString"])(e.translate("TagManager_PublishLiveEnvironmentCapabilityRequired",e.translate("TagManager_CapabilityPublishLiveContainer"))),513),[[i["vShow"],!e.canPublishToLive]])])}var uc=Object(i["defineComponent"])({props:{canPublishToLive:Boolean}});uc.render=dc;var gc=uc;function bc(e){return fc(e)||hc(e)||pc(e)||mc()}function mc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pc(e,t){if(e){if("string"===typeof e)return vc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vc(e,t):void 0}}function hc(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function fc(e){if(Array.isArray(e))return vc(e)}function vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n=n.length-1||t.idcontainerversion===e.idContainerVersion&&n[r+1]&&(e.lastVersion=n[r+1].name,a=n[r+1].idcontainerversion)})),e.lastVersion&&(e.isLoadingVersionChanges=!0,$l(e.idContainer,e.idContainerVersion,a).then((function(t){e.versionChanges=t,e.isLoadingVersionChanges=!1})),e.create&&!e.version.name&&/^\d+$/.test(e.lastVersion)&&(e.version.name="".concat(parseInt(e.lastVersion,10)+1),e.isDirty=!0))}})),u["Matomo"].helper.lazyScrollToContent(),this.edit&&this.idContainerVersion)tc.findVersion(this.idContainer,this.idContainerVersion).then((function(t){t&&(e.version=Object(u["clone"])(t),e.isDirty=!1)}));else if(this.create){if(this.version={idSite:u["Matomo"].idSite,idcontainer:this.idContainer,name:"",description:""},this.canPublishToLive)this.version.environments=["live"];else{var t=this.environments.find((function(e){return"live"!==e.key}));this.version.environments=t?[t.key]:[]}this.isDirty=!1}},cancel:function(){var e=Object.assign({},u["MatomoUrl"].hashParsed.value);delete e.idContainerVersion,u["MatomoUrl"].updateHash(e)},createVersion:function(){var e=this;this.removeAnyVersionNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingVersion=!0,tc.createOrUpdateVersion(this.version,"TagManager.createContainerVersion",this.idContainer).then((function(t){if(t){e.isDirty=!1;var n=t.value;if(e.isEmbedded)return e.version.idcontainerversion=n,void e.$emit("changeVersion",{version:e.version});tc.reload(e.idContainer).then((function(){u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idContainerVersion:n})),setTimeout((function(){var t=Object(u["translate"])("TagManager_CreatedX",Object(u["translate"])("TagManager_Version")),n=Object(u["translate"])("TagManager_WantToDeployThisChangeCreateVersion",'',"");e.showNotification("".concat(t," ").concat(n),"success")}),200)}))}})).finally((function(){e.isUpdatingVersion=!1})))},createVersionAndPublish:function(){var e=this;this.removeAnyVersionNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingVersion=!0,tc.createOrUpdateVersion(this.version,"TagManager.createContainerVersion",this.idContainer).then((function(t){if(!t)return null;var n=t.value;return e.version.idcontainerversion=n,tc.publishVersion(e.idContainer,n,e.version.environments[0]).then((function(){e.isDirty=!1,e.isEmbedded?e.$emit("changeVersion",{version:e.version}):tc.reload(e.idContainer).then((function(){u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idContainerVersion:n})),setTimeout((function(){e.showNotification(Object(u["translate"])("TagManager_VersionPublishSuccess"),"success")}),200)}))}))})).finally((function(){e.isUpdatingVersion=!1})))},setValueHasChanged:function(){this.isDirty=!0},updateVersion:function(){var e=this;this.removeAnyVersionNotification(),this.checkRequiredFieldsAreSet()&&(this.isUpdatingVersion=!0,tc.createOrUpdateVersion(this.version,"TagManager.updateContainerVersion",this.idContainer).then((function(t){t&&(e.isEmbedded?e.$emit("changeVersion",{version:e.version}):(e.isDirty=!1,e.version={},tc.reload(e.idContainer).then((function(){e.initIdContainerVersion()})),e.showNotification(Object(u["translate"])("TagManager_UpdatedX",Object(u["translate"])("TagManager_Version")),"success")))})).finally((function(){e.isUpdatingVersion=!1})))},checkRequiredFieldsAreSet:function(){if(!this.version.name){var e=Object(u["translate"])("General_Name");return this.showErrorFieldNotProvidedNotification(e),!1}return!0}},computed:{create:function(){return 0===this.idContainerVersion},edit:function(){return!this.create},isLoading:function(){return ft.isLoading.value||yt.isLoading.value},isUpdating:function(){return ft.isUpdating.value||this.isUpdatingVersion},environments:function(){var e=Dl.environmentsWithPublishOptions.value;if(!this.canPublishToLive){var t=e.findIndex((function(e){return"live"===e.key}));t>-1&&(e[t].disabled=!0)}return e},canPublishToLive:function(){return u["Matomo"].hasUserCapability("tagmanager_publish_live_container")},versionNameHelpText:function(){return Object(i["markRaw"])(cc)},selectTagManagerEnvironmentHelp:function(){return Object(i["markRaw"])(gc)},editTitle:function(){return this.create?Object(u["translate"])("TagManager_CreateNewVersion"):Object(u["translate"])("TagManager_EditVersion")}}});Oc.render=El;var Tc=Oc,Vc={class:"tagManagerManageList tagManagerVersionList"},yc=["title"],Cc=["title"],Nc=["title"],Ec=["title"],Sc=["title"],kc=["title"],wc={colspan:"7"},Mc={class:"loadingPiwik"},_c=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),Dc={colspan:"7"},xc=["id"],Ac={class:"index"},Bc={class:"name"},Lc=["title"],Uc={class:"environments"},Ic=["title"],Pc={class:"created"},Hc={class:"action"},Fc=["onClick","title"],Gc=["onClick","title"],$c=["onClick","href","title"],Rc=["onClick","title"],zc=["onClick","title"],Wc={class:"tableActionBar"},qc=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),Xc=["href"],Kc=Object(i["createElementVNode"])("span",{class:"icon-export"}," ",-1),Jc=Object(i["createElementVNode"])("span",{class:"icon-upload"}," ",-1),Yc={class:"ui-confirm",id:"confirmDeleteVersion",ref:"confirmDeleteVersion"},Qc=["value"],Zc=["value"],es={class:"ui-confirm",id:"confirmPublishVersion",ref:"confirmPublishVersion"},ts={key:0,class:"alert alert-info",style:{"margin-top":"16px"}},ns=["value"],as=["value"];function rs(e,t,n,a,r,o){var l,c=Object(i["resolveComponent"])("ContentBlock"),s=Object(i["resolveComponent"])("Field"),d=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Vc,[Object(i["createVNode"])(c,{feature:"Tag Manager","content-title":e.translate("TagManager_ManageX",e.translate("TagManager_Versions")),"help-text":e.versionsHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_VersionUsageBenefits"))+" "+Object(i["toDisplayString"])(e.translate("TagManager_ConfigureEnvironmentsSuperUser")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",{class:"index",title:e.revisionTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Revision")),9,yc),Object(i["createElementVNode"])("th",{class:"name",title:e.nameTranslatedText},Object(i["toDisplayString"])(e.translate("General_Name")),9,Cc),Object(i["createElementVNode"])("th",{class:"description",title:e.descriptionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Description")),9,Nc),Object(i["createElementVNode"])("th",{class:"environments",title:e.environmentTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Environments")),9,Ec),Object(i["createElementVNode"])("th",{class:"created",title:e.createdTranslatedText},Object(i["toDisplayString"])(e.translate("TagManager_Created")),9,Sc),Object(i["createElementVNode"])("th",{class:"action",title:e.actionTranslatedText},Object(i["toDisplayString"])(e.translate("General_Actions")),9,kc)])]),Object(i["createElementVNode"])("tbody",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",wc,[Object(i["createElementVNode"])("span",Mc,[_c,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])])],512),[[i["vShow"],e.isLoading||e.isUpdating]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",Dc,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_NoVersionsFound"))+" ",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createContainerVersionNow",onClick:t[0]||(t[0]=function(t){return e.createVersion()})},Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVersionNow")),513),[[i["vShow"],e.hasWriteAccess]])])],512),[[i["vShow"],!e.isLoading&&0===e.versions.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedVersions,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{id:"version".concat(t.idcontainerversion),class:"versions",key:t.revision},[Object(i["createElementVNode"])("td",Ac,Object(i["toDisplayString"])(t.revision),1),Object(i["createElementVNode"])("td",Bc,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",{class:"description",title:t.description},Object(i["toDisplayString"])(e.truncateText(t.description,30)),9,Lc),Object(i["createElementVNode"])("td",Uc,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.releases,(function(n,a){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:a,title:e.translate("TagManager_ReleaseInfo",n.release_login,n.release_date_pretty)},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.ucfirst(n.environment)),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,", ",512),[[i["vShow"],a!==t.releases.length-1]])],8,Ic)})),128))]),Object(i["createElementVNode"])("td",Pc,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.created_date_pretty),1)]),Object(i["createElementVNode"])("td",Hc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"table-action icon-rocket",onClick:function(n){return e.publishVersion(t)},title:e.translate("TagManager_PublishVersion",t.name)},null,8,Fc),[[i["vShow"],e.hasWriteAccess]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"table-action icon-bug",onClick:function(n){return e.enableDebugMode(t.idcontainerversion)},title:e.translate("TagManager_EnablePreviewDebug")},null,8,Gc),[[i["vShow"],e.hasWriteAccess]]),Object(i["createElementVNode"])("a",{target:"_blank",class:"table-action icon-export",onClick:Object(i["withModifiers"])((function(n){e.exportVersion(t.idcontainerversion,t.name)}),["prevent"]),href:e.getExportUrl(t),title:e.translate("TagManager_ExportX",e.translate("TagManager_Version"))},null,8,$c),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"table-action icon-edit",onClick:function(n){return e.editVersion(t.idcontainerversion)},title:e.translate("TagManager_EditX",e.translate("TagManager_Version"))},null,8,Rc),[[i["vShow"],e.hasWriteAccess]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"table-action icon-delete",onClick:function(n){return e.deleteVersion(t)},title:e.translate("TagManager_DeleteX",e.translate("TagManager_Version"))},null,8,zc),[[i["vShow"],0===t.releases.length&&e.hasWriteAccess]])])],8,xc)})),128))])],512),[[d]]),Object(i["createElementVNode"])("div",Wc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"createNewVersion",onClick:t[1]||(t[1]=function(t){return e.createVersion()})},[qc,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVersion")),1)],512),[[i["vShow"],e.hasWriteAccess]]),Object(i["createElementVNode"])("a",{class:"exportDraft",target:"_blank",onClick:t[2]||(t[2]=function(t){e.exportVersion(null,"draft"),t.preventDefault()}),href:e.getExportDraftUrl()},[Kc,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_ExportDraft")),1)],8,Xc),Object(i["withDirectives"])(Object(i["createElementVNode"])("a",{class:"importVersion",onClick:t[3]||(t[3]=function(t){return e.importVersion()})},[Jc,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_Import")),1)],512),[[i["vShow"],e.hasWriteAccess]])])]})),_:1},8,["content-title","help-text"]),Object(i["createElementVNode"])("div",Yc,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_DeleteVersionConfirm")),1),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("General_Yes")},null,8,Qc),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_No")},null,8,Zc)],512),Object(i["createElementVNode"])("div",es,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_PublishVersion",null===(l=e.versionToBePublished)||void 0===l?void 0:l.name)),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(s,{uicontrol:"select",name:"environment",modelValue:e.availableEnvironmentsToPublish.deployEnvironment,"onUpdate:modelValue":t[4]||(t[4]=function(t){return e.availableEnvironmentsToPublish.deployEnvironment=t}),options:e.availableEnvironmentsToPublish.environnments,"full-width":!0,title:e.translate("TagManager_Environment")},null,8,["modelValue","options","title"])]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{style:{"margin-bottom":"0"},class:"alert alert-info"},Object(i["toDisplayString"])(e.translate("TagManager_PublishLiveEnvironmentCapabilityRequired",e.translate("TagManager_CapabilityPublishLiveContainer"))),513),[[i["vShow"],!e.canPublishToLive]])],512),[[i["vShow"],e.availableEnvironmentsToPublish.environnments.length]]),e.availableEnvironmentsToPublish.environnments.length?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ts,Object(i["toDisplayString"])(e.translate("TagManager_VersionAlreadyPublishedToAllEnvironments")),1)),Object(i["createElementVNode"])("input",{role:"yes",type:"button",value:e.translate("TagManager_PublishRelease")},null,8,ns),Object(i["createElementVNode"])("input",{role:"no",type:"button",value:e.translate("General_Cancel")},null,8,as)],512)])}function is(e){return ss(e)||cs(e)||ls(e)||os()}function os(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ls(e,t){if(e){if("string"===typeof e)return ds(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ds(e,t):void 0}}function cs(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ss(e){if(Array.isArray(e))return ds(e)}function ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.revision?0:1})),e},hasWriteAccess:function(){return u["Matomo"].hasUserCapability("tagmanager_write")},canPublishToLive:function(){return u["Matomo"].hasUserCapability("tagmanager_publish_live_container")},revisionTranslatedText:function(){return this.translate("TagManager_VersionsRevisionDescription")},nameTranslatedText:function(){return this.translate("TagManager_VersionsNameDescription")},descriptionTranslatedText:function(){return this.translate("TagManager_VersionsDescriptionDescription")},environmentTranslatedText:function(){return this.translate("TagManager_VersionsEnvironmentsDescription")},createdTranslatedText:function(){return this.translate("TagManager_VersionsCreatedDescription")},actionTranslatedText:function(){return this.translate("TagManager_VersionsActionDescription")}}});bs.render=rs;var ms=bs,ps={class:"manageVersion"},hs={key:0},fs={key:1};function vs(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("VersionList"),c=Object(i["resolveComponent"])("VersionEdit");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ps,[e.editMode?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",hs,[Object(i["createVNode"])(l,{"id-container":e.idContainer,"versions-help-text":e.versionsHelpText},null,8,["id-container","versions-help-text"])])),e.editMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",fs,[Object(i["createVNode"])(c,{"id-container":e.idContainer,"id-container-version":e.idContainerVersion},null,8,["id-container","id-container-version"])])):Object(i["createCommentVNode"])("",!0)])}var js=Object(i["defineComponent"])({props:{idContainer:String,versionsHelpText:String},components:{VersionList:ms,VersionEdit:Tc},data:function(){return{isAddAllowed:!1}},created:function(){var e=this;Object(i["watch"])((function(){return u["MatomoUrl"].hashParsed.value.idContainerVersion}),(function(t){e.onIdContainerVersionParamChange(t)})),u["NotificationsStore"].remove("versiontagmanagement"),this.onIdContainerVersionParamChange(u["MatomoUrl"].hashParsed.value.idContainerVersion)},methods:{onIdContainerVersionParamChange:function(e){if("0"===e){var t={isAllowed:!0};u["Matomo"].postEvent("TagManager.initAddVersion",t),this.isAddAllowed=!!t.isAllowed}}},computed:{idContainerVersion:function(){var e=u["MatomoUrl"].hashParsed.value.idContainerVersion;return this.isAddAllowed||"0"!==e?e?parseInt(e,10):e:null},editMode:function(){return"number"===typeof this.idContainerVersion}}});js.render=vs;var Os=js,Ts={class:"loadingPiwik"},Vs=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),ys={class:"loadingPiwik"},Cs=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),Ns={class:"entityCancel"};function Es(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("Field"),c=Object(i["resolveComponent"])("SaveButton"),s=Object(i["resolveComponent"])("ContentBlock");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"editContainer tagManagerManageEdit",feature:"Tag Manager","content-title":e.editTitle},{default:Object(i["withCtx"])((function(){return[Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",Ts,[Vs,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])],512),[[i["vShow"],e.isLoading]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",ys,[Cs,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_UpdatingData")),1)])],512),[[i["vShow"],e.isUpdating]]),Object(i["createElementVNode"])("form",{onSubmit:t[5]||(t[5]=function(t){return e.edit?e.updateContainer():e.createContainer()})},[Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",null,[Object(i["withDirectives"])(Object(i["createVNode"])(l,{uicontrol:"text",name:"idcontainer","model-value":e.container.idcontainer,disabled:!0,title:e.translate("General_Id")},null,8,["model-value","title"]),[[i["vShow"],e.edit]])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"select",name:"context","model-value":e.container.context,"onUpdate:modelValue":t[0]||(t[0]=function(t){e.container.context=t,e.setValueHasChanged()}),disabled:!0,options:e.contexts,title:e.translate("TagManager_Context"),"inline-help":e.translate("TagManager_ContainerContextHelp")},null,8,["model-value","options","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"text",name:"name","model-value":e.container.name,"onUpdate:modelValue":t[1]||(t[1]=function(t){e.container.name=t,e.setValueHasChanged()}),maxlength:50,title:e.translate("General_Name"),"inline-help":e.translate("TagManager_ContainerNameHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l,{uicontrol:"textarea",name:"description","model-value":e.container.description,"onUpdate:modelValue":t[2]||(t[2]=function(t){e.container.description=t,e.setValueHasChanged()}),title:e.translate("General_Description"),"inline-help":e.translate("TagManager_ContainerDescriptionHelp")},null,8,["model-value","title","inline-help"])]),Object(i["createVNode"])(c,{class:"createButton",onConfirm:t[3]||(t[3]=function(t){return e.edit?e.updateContainer():e.createContainer()}),disabled:e.isUpdating||!e.isDirty,saving:e.isUpdating,value:e.edit?e.translate("CoreUpdater_UpdateTitle"):e.translate("TagManager_CreateNewContainer")},null,8,["disabled","saving","value"]),Object(i["createElementVNode"])("div",Ns,[Object(i["createElementVNode"])("a",{onClick:t[4]||(t[4]=function(t){return e.cancel()})},Object(i["toDisplayString"])(e.translate("General_Cancel")),1)])])],32)]})),_:1},8,["content-title"])}function Ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ks(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.created_date?-1:0})),e}},methods:{createContainer:function(){this.editContainer("0")},editContainer:function(e){u["MatomoUrl"].updateHash(Object.assign(Object.assign({},u["MatomoUrl"].hashParsed.value),{},{idContainer:e}))},installCode:function(e){Sd.showInstallCode(e)},deleteContainer:function(e){function t(){Rs.deleteContainer(e.idcontainer).then((function(){Rs.reload()}))}u["Matomo"].helper.modalConfirm(this.$refs.confirmDeleteContainer,{yes:t})},truncateText:function(e,t){return e.length>t?"".concat(e.substr(0,t-3),"..."):e}}});kd.render=jd;var wd=kd,Md={class:"manageContainer"};function _d(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ContainerList"),c=Object(i["resolveComponent"])("ContainerEdit");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Md,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(l)],512),[[i["vShow"],!e.editMode]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(c,{"id-container":e.idContainer},null,8,["id-container"])],512),[[i["vShow"],e.editMode]])])}var Dd=Object(i["defineComponent"])({props:{},components:{ContainerList:wd,ContainerEdit:qs},data:function(){return{isAddAllowed:!1}},created:function(){var e=this;Object(i["watch"])((function(){return u["MatomoUrl"].hashParsed.value.idContainer}),(function(t){e.onIdContainerParamChange(t)})),u["NotificationsStore"].remove("containertagmanagement"),this.onIdContainerParamChange(u["MatomoUrl"].hashParsed.value.idContainer)},computed:{idContainer:function(){var e=u["MatomoUrl"].hashParsed.value.idContainer;return this.isAddAllowed||""!==e?e:null},editMode:function(){return!!this.idContainer}},methods:{onIdContainerParamChange:function(e){if("0"===e){var t={isAllowed:!0};u["Matomo"].postEvent("TagManager.initAddVersion",t),this.isAddAllowed=!!t.isAllowed}}}});Dd.render=_d;var xd=Dd,Ad={class:"containerDashboard"},Bd={key:0},Ld={class:"dashboardCreationDate"},Ud={key:0},Id=Object(i["createElementVNode"])("br",null,null,-1),Pd={class:"row",style:{"margin-left":"-0.75rem"}},Hd={class:"col m6 s12"},Fd={key:0},Gd=["href","title"],$d={key:0},Rd=Object(i["createElementVNode"])("hr",null,null,-1),zd=["href"],Wd=Object(i["createElementVNode"])("span",{class:"icon-edit"}," ",-1),qd=["href"],Xd=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),Kd={class:"col m6 s12"},Jd={key:0},Yd=["href","title"],Qd=Object(i["createElementVNode"])("hr",null,null,-1),Zd=["href"],eu=Object(i["createElementVNode"])("span",{class:"icon-edit"}," ",-1),tu=["href"],nu=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),au={class:"row",style:{"margin-left":"-0.75rem"}},ru={class:"col m6 s12"},iu=["href","title"],ou={key:0},lu=Object(i["createElementVNode"])("hr",null,null,-1),cu=["href"],su=Object(i["createElementVNode"])("span",{class:"icon-edit"}," ",-1),du=["href"],uu=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1),gu={class:"col m6 s12"},bu=["title","href"],mu={key:0},pu=Object(i["createElementVNode"])("br",null,null,-1),hu=["title"],fu={key:0},vu=Object(i["createElementVNode"])("hr",null,null,-1),ju=["href"],Ou=Object(i["createElementVNode"])("span",{class:"icon-edit"}," ",-1),Tu=["href"],Vu=Object(i["createElementVNode"])("span",{class:"icon-add"}," ",-1);function yu(e,t,n,a,r,o){var l,c,s=Object(i["resolveComponent"])("ActivityIndicator"),d=Object(i["resolveComponent"])("EnrichedHeadline"),u=Object(i["resolveComponent"])("ContentBlock"),g=Object(i["resolveDirective"])("content-intro");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ad,[Object(i["createVNode"])(s,{loading:e.isLoading},null,8,["loading"]),e.isLoading?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Bd,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("h2",null,[Object(i["createVNode"])(d,{"feature-name":"Tag Manager","inline-help":e.dashboardHelpText},{default:Object(i["withCtx"])((function(){var t;return[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_ContainerX",null===(t=e.container)||void 0===t?void 0:t.name)),1)]})),_:1},8,["inline-help"])]),Object(i["createElementVNode"])("p",Ld,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.containerMetaInformation)+" ",1),null!==(l=e.containerVersion)&&void 0!==l&&l.description?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",Ud,[Id,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_Description"))+": "+Object(i["toDisplayString"])(null===(c=e.containerVersion)||void 0===c?void 0:c.description),1)])):Object(i["createCommentVNode"])("",!0)])],512),[[g]]),Object(i["createElementVNode"])("div",Pd,[Object(i["createElementVNode"])("div",Hd,[Object(i["createVNode"])(u,{feature:"Tag Manager","content-title":"".concat(e.tagCount," ").concat(e.translate("TagManager_Tags")),"help-text":e.tagsHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[e.tagCount?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",Fd,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_Names"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedContainerVersionTags,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n},[Object(i["createElementVNode"])("a",{href:e.linkTo("manageTags",{idTag:t.idtag}),title:e.translate("TagManager_EntityDateTypeMetaInformation",t.created_date_pretty,t.updated_date_pretty,t.type)},Object(i["toDisplayString"])(t.name),9,Gd),n!==e.sortedContainerVersionTags.length-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",$d,", ")):Object(i["createCommentVNode"])("",!0)])})),128))])):Object(i["createCommentVNode"])("",!0)]),Rd,Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageTags")},[Wd,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_EditTags")),1)],8,zd),Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageTags",{idTag:0})},[Xd,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTag")),1)],8,qd)]})),_:1},8,["content-title","help-text"])]),Object(i["createElementVNode"])("div",Kd,[Object(i["createVNode"])(u,{feature:"Tag Manager","content-title":"".concat(e.triggerCount," ").concat(e.translate("TagManager_Triggers")),"help-text":e.triggersHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[e.triggerCount?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",Jd,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_Names"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedTriggers,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n},[Object(i["createElementVNode"])("a",{href:e.linkTo("manageTriggers",{idTrigger:t.idtrigger}),title:e.translate("TagManager_EntityDateTypeMetaInformation",t.created_date_pretty,t.updated_date_pretty,t.type)},Object(i["toDisplayString"])(t.name),9,Yd),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,", ",512),[[i["vShow"],n!==e.sortedTriggers.length-1]])])})),128))])):Object(i["createCommentVNode"])("",!0)]),Qd,Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageTriggers")},[eu,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_EditTriggers")),1)],8,Zd),Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageTriggers",{idTrigger:0})},[nu,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewTrigger")),1)],8,tu)]})),_:1},8,["content-title","help-text"])])]),Object(i["createElementVNode"])("div",au,[Object(i["createElementVNode"])("div",ru,[Object(i["createVNode"])(u,{feature:"Tag Manager","content-title":"".concat(e.variableCount," ").concat(e.translate("TagManager_Variables")),"help-text":e.variablesHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_Names"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedVariables,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n},[Object(i["createElementVNode"])("a",{href:e.linkTo("manageVariables",{idVariable:t.idvariable}),title:e.translate("TagManager_EntityDateTypeMetaInformation",t.created_date_pretty,t.updated_date_pretty,t.type)},Object(i["toDisplayString"])(t.name),9,iu),n!==e.sortedVariables.length-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",ou,", ")):Object(i["createCommentVNode"])("",!0)])})),128))],512),[[i["vShow"],e.variableCount]])]),lu,Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageVariables")},[su,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_EditVariables")),1)],8,cu),Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageVariables",{idVariable:0})},[uu,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVariable")),1)],8,du)]})),_:1},8,["content-title","help-text"])]),Object(i["createElementVNode"])("div",gu,[Object(i["createVNode"])(u,{feature:"Tag Manager","content-title":"".concat(e.versionCount," ").concat(e.translate("TagManager_Versions")),"help-text":e.versionsHelpText},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_LastVersions"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.lastVersions,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n},[Object(i["createElementVNode"])("a",{title:e.lastVersionLinkTitle(t),href:e.linkTo("manageVersions",{idContainerVersion:t.idcontainerversion})},Object(i["toDisplayString"])(t.name),9,bu),n!==e.lastVersions.length-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",mu,", ")):Object(i["createCommentVNode"])("",!0)])})),128))],512),[[i["vShow"],e.lastVersions.length]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",null,[pu,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_Environments"))+": ",1),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.container.releases,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:n},[Object(i["createElementVNode"])("span",{title:e.releaseTooltip(t)},Object(i["toDisplayString"])(e.ucfirst(t.environment)),9,hu),n!==e.container.releases.length-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",fu,", ")):Object(i["createCommentVNode"])("",!0)])})),128))],512),[[i["vShow"],e.container.releases.length]])]),vu,Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageVersions")},[Ou,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_EditVersions")),1)],8,ju),Object(i["createElementVNode"])("a",{class:"btn-flat",href:e.linkTo("manageVersions",{idContainerVersion:0})},[Vu,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_CreateNewVersion")),1)],8,Tu)]})),_:1},8,["content-title","help-text"])])])]))])}function Cu(e){e.sort((function(e,t){return e.namet.name?1:0}))}var Nu=Object(i["defineComponent"])({props:{idContainer:String,dashboardHelpText:String,tagsHelpText:String,triggersHelpText:String,variablesHelpText:String,versionsHelpText:String},components:{ActivityIndicator:u["ActivityIndicator"],EnrichedHeadline:u["EnrichedHeadline"],ContentBlock:u["ContentBlock"]},directives:{ContentIntro:u["ContentIntro"]},data:function(){return{container:null,containerVersion:null,isLoading:!1}},created:function(){var e=this;Ds.init(),this.isLoading=!0;var t=u["AjaxHelper"].fetch({method:"TagManager.getContainer",idContainer:this.idContainer}).then((function(t){e.container=t})),n=u["AjaxHelper"].fetch({method:"TagManager.exportContainerVersion",idContainer:this.idContainer}).then((function(t){e.containerVersion=t}));Promise.all([t,n]).finally((function(){e.isLoading=!1}))},methods:{linkTo:function(e,t){var n=u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:e}));return t&&(n+="#?".concat(u["MatomoUrl"].stringify(t))),"?".concat(n)},lastVersionLinkTitle:function(e){return"Created on ".concat(e.created_date_pretty)+", description: '".concat(e.description,"'")},releaseTooltip:function(e){var t=Object(u["translate"])("TagManager_ReleaseInfo",e.release_login,e.release_date_pretty),n=Object(u["translate"])("TagManager_ReleaseVersionInfo",e.version_name);return"".concat(t," ").concat(n)},ucfirst:function(e){return"".concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}},computed:{lastVersions:function(){var e,t;return null!==(e=this.container)&&void 0!==e&&null!==(t=e.versions)&&void 0!==t&&t.length?this.container.versions.slice(-5):[]},contexts:function(){var e={};return Ds.contexts.value.forEach((function(t){var n=t.id,a=t.name;e[n]=a})),e},containerMetaInformation:function(){var e,t,n;return Object(u["translate"])("TagManager_ContainerMetaInformation",(null===(e=this.containerVersion)||void 0===e?void 0:e.idcontainer)||"",this.contexts[(null===(t=this.container)||void 0===t?void 0:t.context)||""]||"",(null===(n=this.containerVersion)||void 0===n?void 0:n.created_date_pretty)||"")},sortedContainerVersionTags:function(){var e,t=(null===(e=this.containerVersion)||void 0===e?void 0:e.tags)||[];return Cu(t),t},sortedTriggers:function(){var e,t=(null===(e=this.containerVersion)||void 0===e?void 0:e.triggers)||[];return Cu(t),t},sortedVariables:function(){var e,t=(null===(e=this.containerVersion)||void 0===e?void 0:e.variables)||[];return Cu(t),t},tagCount:function(){var e;return null===(e=this.containerVersion)||void 0===e?void 0:e.tags.length},triggerCount:function(){var e;return null===(e=this.containerVersion)||void 0===e?void 0:e.triggers.length},versionCount:function(){var e;return null===(e=this.container)||void 0===e?void 0:e.versions.length},variableCount:function(){var e;return null===(e=this.containerVersion)||void 0===e?void 0:e.variables.length}}});Nu.render=yu;var Eu=Nu,Su=["title"],ku={class:"title"},wu=Object(i["createElementVNode"])("span",{class:"icon icon-chevron-down"}," ",-1),Mu={class:"dropdown positionInViewport"},_u={class:"custom_select_container"},Du={class:"custom_select_ul_list"},xu=["title"],Au=["href"];function Bu(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ActivityIndicator"),c=Object(i["resolveDirective"])("focus-anywhere-but-here");return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["tagContainerSelector piwikSelector borderedControl",{expanded:e.showContainerList}]),onClick:t[1]||(t[1]=function(t){e.fetchContainers(),e.showContainerList=!e.showContainerList}),title:e.translate("TagManager_ChooseContainer")},[Object(i["createElementVNode"])("a",ku,[wu,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.actualContainerName),1)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Mu,[Object(i["createVNode"])(l,{loading:e.isLoading},null,8,["loading"]),Object(i["createElementVNode"])("div",_u,[Object(i["createElementVNode"])("ul",Du,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("a",{tabindex:"-1",onClick:t[0]||(t[0]=Object(i["withModifiers"])((function(){}),["prevent","stop"]))},Object(i["toDisplayString"])(e.translate("TagManager_NoContainersFound")),1)],512),[[i["vShow"],!e.isLoading&&0===e.containers.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.containers,(function(t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{title:"".concat(t.name," (").concat(t.idcontainer,")"),key:t.idcontainer},[Object(i["createElementVNode"])("a",{href:e.linkTo(t.idcontainer)},Object(i["toDisplayString"])(t.name)+" ("+Object(i["toDisplayString"])(t.idcontainer)+") ",9,Au)],8,xu)})),128))])])],512),[[i["vShow"],e.showContainerList]])],10,Su)),[[c,{blur:e.onBlur}]])}var Lu=Object(i["defineComponent"])({props:{containerName:String},components:{ActivityIndicator:u["ActivityIndicator"]},directives:{FocusAnywhereButHere:u["FocusAnywhereButHere"]},data:function(){return{containers:[],isLoading:!1,showContainerList:!1}},created:function(){setTimeout((function(){window.initTopControls()}))},methods:{fetchContainers:function(){var e=this;this.isLoading=!0,this.containers=[],u["AjaxHelper"].fetch({method:"TagManager.getContainers"}).then((function(t){e.containers=t})).finally((function(){e.isLoading=!1}))},linkTo:function(e){var t=u["MatomoUrl"].urlParsed.value.action;t&&"manageContainers"!==t||(t=this.hasWriteAccess?"dashboard":"manageTags");var n=u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{idContainer:e,action:t}));return"".concat(window.location.pathname,"?").concat(n)},onBlur:function(){this.showContainerList=!1}},computed:{actualContainerName:function(){return this.containerName?Object(u["translate"])("TagManager_ContainerX",this.containerName):Object(u["translate"])("TagManager_ChooseContainer")},hasWriteAccess:function(){return u["Matomo"].hasUserCapability("tagmanager_write")}}});Lu.render=Bu;var Uu=Lu,Iu={style:{"margin-left":"-0.75rem"}},Pu=Object(i["createElementVNode"])("br",null,null,-1),Hu=["href"],Fu=["textContent"],Gu={style:{"margin-top":"1rem"}},$u=["innerHTML"],Ru=Object(i["createElementVNode"])("br",null,null,-1),zu={target:"_blank",href:"https://matomo.org/faq/tag-manager/data-layer-in-matomo-tag-manager/"},Wu={class:"environment"},qu={class:"name"},Xu={class:"name"},Ku={class:"released_by"},Ju={class:"released_on"},Yu={key:0},Qu={colspan:"7"},Zu={class:"loadingPiwik"},eg=Object(i["createElementVNode"])("img",{src:"plugins/Morpheus/images/loading-blue.gif"},null,-1),tg={key:1},ng={colspan:"7"},ag={class:"environment"},rg={class:"name"},ig={class:"revision"},og={class:"released_by"},lg={class:"released_on"},cg={class:"date"};function sg(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("Field"),c=Object(i["resolveComponent"])("ActivityIndicator"),s=Object(i["resolveComponent"])("ContentBlock"),d=Object(i["resolveDirective"])("select-on-focus"),u=Object(i["resolveDirective"])("content-table");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"manageInstallTagCode",feature:"Tag Manager","content-title":"Install Code"},{default:Object(i["withCtx"])((function(){var n,a;return[Object(i["createElementVNode"])("div",Iu,[Object(i["createVNode"])(l,{uicontrol:"select",name:"environment","model-value":e.environment,"onUpdate:modelValue":t[0]||(t[0]=function(t){e.environment=t,e.fetchInstallInstructions(e.environment)}),options:e.environments,title:e.translate("TagManager_Environment")},null,8,["model-value","options","title"])]),Object(i["createVNode"])(c,{loading:e.isLoading},null,8,["loading"]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.installInstructions,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:n},[Object(i["createElementVNode"])("p",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(t.description)+" ",1),Pu,t.helpUrl?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,target:"_blank",href:t.helpUrl},Object(i["toDisplayString"])(e.translate("TagManager_LearnMore")),9,Hu)):Object(i["createCommentVNode"])("",!0)]),t.embedCode?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("pre",{key:0,class:"codeblock",textContent:Object(i["toDisplayString"])(t.embedCode),ref:"codeblock"},null,8,Fu)),[[d,{}]]):Object(i["createCommentVNode"])("",!0)])})),128)),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_InstallCodePublishEnvironmentNote","preview"))+" "+Object(i["toDisplayString"])(e.translate("TagManager_ConfigureEnvironmentsSuperUser")),1),Object(i["createElementVNode"])("p",Gu,[Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.translate("TagManager_InstallCodeDataLayerNote","",""))},null,8,$u),Ru,Object(i["createElementVNode"])("a",zu,Object(i["toDisplayString"])(e.translate("TagManager_LearnMore")),1)]),Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_ReleasesOverview")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("table",null,[Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",Wu,Object(i["toDisplayString"])(e.translate("TagManager_Environment")),1),Object(i["createElementVNode"])("th",qu,Object(i["toDisplayString"])(e.translate("TagManager_VersionName")),1),Object(i["createElementVNode"])("th",Xu,Object(i["toDisplayString"])(e.translate("TagManager_VersionRevision")),1),Object(i["createElementVNode"])("th",Ku,Object(i["toDisplayString"])(e.translate("TagManager_ReleasedBy")),1),Object(i["createElementVNode"])("th",Ju,Object(i["toDisplayString"])(e.translate("TagManager_ReleasedOn")),1)])]),Object(i["createElementVNode"])("tbody",null,[e.isLoading?(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",Yu,[Object(i["createElementVNode"])("td",Qu,[Object(i["createElementVNode"])("span",Zu,[eg,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("General_LoadingData")),1)])])])):Object(i["createCommentVNode"])("",!0),e.isLoading||0!==(null===(n=e.container)||void 0===n||null===(a=n.releases)||void 0===a?void 0:a.length)?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",tg,[Object(i["createElementVNode"])("td",ng,Object(i["toDisplayString"])(e.translate("TagManager_NoReleasesFound")),1)])),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.sortedReleases,(function(t){var n,a;return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:t.idcontainerrelease},[Object(i["createElementVNode"])("td",ag,Object(i["toDisplayString"])(e.ucfirst(t.environment)),1),Object(i["createElementVNode"])("td",rg,Object(i["toDisplayString"])(null===(n=e.releaseVersions[t.idcontainerrelease])||void 0===n?void 0:n.name),1),Object(i["createElementVNode"])("td",ig,Object(i["toDisplayString"])(null===(a=e.releaseVersions[t.idcontainerrelease])||void 0===a?void 0:a.revision),1),Object(i["createElementVNode"])("td",og,Object(i["toDisplayString"])(t.release_login),1),Object(i["createElementVNode"])("td",lg,[Object(i["createElementVNode"])("span",cg,Object(i["toDisplayString"])(t.release_date_pretty),1)])])})),128))])],512),[[u]])]})),_:1})}function dg(e){return bg(e)||gg(e)||hg(e)||ug()}function ug(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gg(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function bg(e){if(Array.isArray(e))return fg(e)}function mg(e,t){return jg(e)||vg(e,t)||hg(e,t)||pg()}function pg(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hg(e,t){if(e){if("string"===typeof e)return fg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fg(e,t):void 0}}function fg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt.release_date?-1:t.index-e.index})),t}}});Vg.render=sg;var yg=Vg,Cg={class:"list-style-decimal"},Ng=["innerHTML"];function Eg(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("TrackingCodeCommon");return Object(i["openBlock"])(),Object(i["createElementBlock"])("ol",Cg,[e.showContainerRow?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,innerHTML:e.$sanitize(e.setupStep1)},null,8,Ng)):Object(i["createCommentVNode"])("",!0),Object(i["createVNode"])(l,{"show-container-row":e.showContainerRow,showBottom:!0,showDescription:!1,showPlainMtmSteps:!0,showTestSection:e.showTestSection,onFetchInstallInstructions:e.fetchInstallInstructions,ref:"trackingCodeCommon"},null,8,["show-container-row","showTestSection","onFetchInstallInstructions"])])}var Sg={class:"tagManagerTrackingCode"},kg={key:1,class:"row"},wg={class:"col s12 m4 "},Mg={class:"form-group row"},_g={class:"col s12 input-field"},Dg={for:"tagManagerTrackingCodeSite",class:"siteSelectorLabel"},xg={class:"sites_autocomplete"},Ag={class:"col s12 m4"},Bg={class:"col s12 m4"},Lg={key:2,class:"alert alert-info"},Ug={href:""},Ig={key:0},Pg=["href"],Hg=Object(i["createTextVNode"])(". "),Fg={key:1},Gg=["innerHTML"],$g=Object(i["createTextVNode"])(". "),Rg=["innerHTML"],zg=Object(i["createTextVNode"])(". "),Wg=["innerHTML"],qg=["textContent"],Xg={key:3},Kg=["innerHTML"],Jg={key:1};function Yg(e,t,n,a,r,o){var l=this,c=Object(i["resolveComponent"])("ActivityIndicator"),s=Object(i["resolveComponent"])("SiteSelector"),d=Object(i["resolveComponent"])("Field"),u=Object(i["resolveDirective"])("copy-to-clipboard");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Sg,[e.showContainerRow||e.environments.length>1?(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:0,style:Object(i["normalizeStyle"])({opacity:e.isLoading?1:0}),loading:!0},null,8,["style"])):Object(i["createCommentVNode"])("",!0),e.showContainerRow||e.environments.length>1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",kg,[Object(i["createElementVNode"])("div",wg,[Object(i["createElementVNode"])("div",Mg,[Object(i["createElementVNode"])("div",_g,[Object(i["createElementVNode"])("label",Dg,Object(i["toDisplayString"])(e.translate("General_Website")),1),Object(i["createElementVNode"])("div",xg,[Object(i["createVNode"])(s,{id:"tagManagerTrackingCodeSite",modelValue:e.site,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.site=t}),"show-all-sites-item":!1,"switch-site-on-select":!1,"show-selected-site":!0},null,8,["modelValue"])])])])]),Object(i["createElementVNode"])("div",Ag,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(d,{uicontrol:"select",name:"containers","model-value":e.idContainer,"onUpdate:modelValue":t[1]||(t[1]=function(t){e.idContainer=t,e.onContainerChange()}),options:e.containerOptions,disabled:e.containerOptions.length<=1,"full-width":!0,title:e.translate("TagManager_Container")},null,8,["model-value","options","disabled","title"])])]),Object(i["createElementVNode"])("div",Bg,[Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(d,{uicontrol:"select",name:"environment","model-value":e.environment,"onUpdate:modelValue":t[2]||(t[2]=function(t){e.environment=t,l.$emit("fetchInstallInstructions")}),options:e.environments,disabled:e.environments.length<=1,"full-width":!0,title:e.translate("TagManager_Environment")},null,8,["model-value","options","disabled","title"])])])])):Object(i["createCommentVNode"])("",!0),e.idContainer&&e.noReleaseFound?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Lg,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_NoReleasesFoundForContainer"))+" ",1),Object(i["createElementVNode"])("a",Ug,Object(i["toDisplayString"])(e.translate("TagManager_PublishVersionToEnvironmentToViewEmbedCode")),1)])):Object(i["createCommentVNode"])("",!0),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.installInstructions,(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:n},[e.showDescription?(Object(i["openBlock"])(),Object(i["createElementBlock"])("p",Ig,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(t.description)+" ",1),t.helpUrl?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,target:"_blank",href:t.helpUrl},Object(i["toDisplayString"])(e.translate("TagManager_LearnMore")),9,Pg)):Object(i["createCommentVNode"])("",!0),Hg])):Object(i["createCommentVNode"])("",!0),e.showPlainMtmSteps?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Fg,[Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.getMtmStep2)},null,8,Gg),$g,Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.getLearnMoreLink)},null,8,Rg),zg]),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.getMtmStep3)},null,8,Wg)])):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("div",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("pre",{class:"codeblock",textContent:Object(i["toDisplayString"])(t.embedCode),ref:"codeblock"},null,8,qg),[[u,{}]])])])})),128)),e.showBottom?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Xg,[e.idContainer&&!e.showTestSection?(Object(i["openBlock"])(),Object(i["createElementBlock"])("p",{key:0,innerHTML:e.$sanitize(e.getCongratulationsText)},null,8,Kg)):Object(i["createCommentVNode"])("",!0),e.idContainer&&e.showTestSection?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Jg,[(Object(i["openBlock"])(),Object(i["createBlock"])(Object(i["resolveDynamicComponent"])(e.testComponent),{site:e.site},null,8,["site"]))])):Object(i["createCommentVNode"])("",!0)],512)),[[i["vShow"],!e.noReleaseFound]]):Object(i["createCommentVNode"])("",!0)])}function Qg(e){return"".concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}var Zg=Object(i["defineComponent"])({props:{showContainerRow:Boolean,currentAction:String,showBottom:Boolean,showDescription:Boolean,showPlainMtmSteps:Boolean,showTestSection:Boolean},components:{ActivityIndicator:u["ActivityIndicator"],SiteSelector:u["SiteSelector"],Field:g["Field"]},emits:["fetchInstallInstructions"],directives:{CopyToClipboard:u["CopyToClipboard"]},data:function(){return{containerVariables:[],isLoading:!1,idContainer:"",environment:"",environments:[],environmentNameMap:{},containerMap:{},containerOptions:[],site:{id:u["Matomo"].idSite,name:u["Matomo"].helper.htmlDecode(u["Matomo"].siteName)},matomoConfigs:[],releases:[],installInstructions:[],noReleaseFound:!1}},created:function(){var e=this;u["AjaxHelper"].fetch({method:"TagManager.getAvailableEnvironments",filter_limit:"-1"}).then((function(t){var n;n=Array.isArray(t)?t:Object.values(t),e.environmentNameMap=Object.fromEntries(n.map((function(e){var t=e.id,n=e.name;return[t,n]})))})),this.onSiteChange()},watch:{site:function(){this.onSiteChange()}},methods:{onSiteChange:function(){var e,t=this;this.installInstructions=[],this.containerOptions=[],this.containerMap={},this.environments=[],this.matomoConfigs=[],this.idContainer="",null!==(e=this.site)&&void 0!==e&&e.id&&(this.isLoading=!0,u["AjaxHelper"].fetch({method:"TagManager.getContainers",filter_limit:"-1",idSite:this.site.id}).then((function(e){if(t.containerOptions=[],null===e||void 0===e||!e.length)return t.idContainer="",void t.containerOptions.push({key:"",value:t.translate("TagManager_NoContainersFound")});e.forEach((function(e){t.idContainer||(t.idContainer=e.idcontainer),t.containerMap[e.idcontainer]=e,t.containerOptions.push({key:e.idcontainer,value:e.name})})),t.onContainerChange()})).finally((function(){t.isLoading=!1})))},onContainerChange:function(){var e=this;if(this.noReleaseFound=!1,this.idContainer){this.installInstructions=[];var t=this.containerMap[this.idContainer],n=t.draft.idcontainerversion;this.environment="",this.environments=[];var a=t.releases||[];a.find((function(e){return"live"===e.environment}))&&(this.environment="live"),a.forEach((function(t){if("preview"!==t.environment){e.environment||(e.environment=t.environment);var n=Qg(t.environment);t.environment in e.environmentNameMap&&(n=e.environmentNameMap[t.environment]),e.environments.push({key:t.environment,value:n})}})),this.environments.length||(this.noReleaseFound=!0,this.environments.push({key:"",value:this.translate("TagManager_NoReleasesFound")})),this.$emit("fetchInstallInstructions"),this.fetchVariables(n)}},linkTo:function(e,t,n,a){var r=u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:e,idSite:t,idContainer:n})),i="".concat(window.location.pathname,"?").concat(r);return a&&(i+="#?".concat(u["MatomoUrl"].stringify(a))),i},fetchVariables:function(e){var t,n=this;this.matomoConfigs=[],this.idContainer&&null!==(t=this.site)&&void 0!==t&&t.id&&e&&u["AjaxHelper"].fetch({method:"TagManager.getContainerVariables",filter_limit:"-1",idContainer:this.idContainer,idContainerVersion:e,idSite:this.site.id}).then((function(e){n.matomoConfigs=e.filter((function(e){return"MatomoConfiguration"===e.type}))})).finally((function(){n.isLoading=!1}))}},computed:{getLearnMoreLink:function(){return Object(u["translate"])("TagManager_CustomHtmlTagHelpText",'',"")},getMtmStep2:function(){var e=this.site&&this.site.id?this.site.id:"",t=this.linkTo("dashboard",e,this.idContainer,[]);return Object(u["translate"])("TagManager_SiteWithoutDataMtmStep2",''),"")},getMtmStep3:function(){return Object(u["translate"])("TagManager_SiteWithoutDataMtmStep3","</head>",'',"")},getCongratulationsText:function(){return Object(u["translate"])("TagManager_SiteWithoutDataReactFollowStepCompleted","","")},testComponent:function(){return this.showTestSection?Object(u["useExternalPluginComponent"])("JsTrackerInstallCheck","JsTrackerInstallCheck"):""}}});Zg.render=Yg;var eb=Zg,tb=Object(i["defineComponent"])({props:{showContainerRow:Boolean,showTestSection:Boolean},components:{TrackingCodeCommon:eb},data:function(){return{setupStep1:""}},methods:{fetchInstallInstructions:function(){var e,t,n=this,a=this.$refs.trackingCodeCommon;a.installInstructions=[],this.updateStep1Text(),null!==a&&void 0!==a&&null!==(e=a.site)&&void 0!==e&&e.id&&null!==a&&void 0!==a&&a.environment&&(a.isLoading=!0,u["AjaxHelper"].fetch({method:"TagManager.getContainerInstallInstructions",filter_limit:"-1",idContainer:null===a||void 0===a?void 0:a.idContainer,environment:null===a||void 0===a?void 0:a.environment,idSite:null===a||void 0===a||null===(t=a.site)||void 0===t?void 0:t.id}).then((function(e){a.installInstructions=e,Object(i["nextTick"])((function(){var e=Array.isArray(n.$refs.codeblock)?n.$refs.codeblock:[n.$refs.codeblock];e.forEach((function(e){$(e).effect("highlight",{},1500)}))}))})).finally((function(){a.isLoading=!1})))},linkTo:function(e,t,n,a){var r=u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:e,idSite:t,idContainer:n}));return a&&(r+="#?".concat(u["MatomoUrl"].stringify(a))),"?".concat(r)},updateStep1Text:function(){var e,t=this.$refs.trackingCodeCommon;if(null!==t&&void 0!==t&&null!==(e=t.site)&&void 0!==e&&e.id){var n=null!==t&&void 0!==t&&t.idContainer?t.idContainer:"",a=this.linkTo("manageContainers",t.site.id,n);this.setupStep1=Object(u["translate"])("TagManager_SPAFollowStep1","
","",''),"")}}},mounted:function(){this.updateStep1Text()}});tb.render=Eg;var nb=tb,ab={key:0},rb=["innerHTML"],ib=Object(i["createElementVNode"])("br",null,null,-1),ob=["innerHTML"],lb=Object(i["createElementVNode"])("br",null,null,-1);function cb(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("TagmanagerTrackingCode"),c=Object(i["resolveComponent"])("ContentBlock");return"siteWithoutDataTabs"===e.currentAction?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ab,[Object(i["createElementVNode"])("p",{innerHTML:e.$sanitize(e.siteWithoutDataMtmIntro)},null,8,rb),ib,Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("strong",null,Object(i["toDisplayString"])(e.translate("SitesManager_SiteWithoutDataCloudflareFollowStepsIntro")),1)]),Object(i["createVNode"])(l,{"show-container-row":e.showContainerRow,"current-action":e.currentAction,showTestSection:e.isJsTrackerInstallCheckAvailable},null,8,["show-container-row","current-action","showTestSection"])])):(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:1,anchor:"tagmanager","content-title":e.translate("TagManager_MatomoTagManager")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",{innerHTML:e.$sanitize(e.siteWithoutDataMtmIntro)},null,8,ob),lb,Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("strong",null,Object(i["toDisplayString"])(e.translate("SitesManager_SiteWithoutDataCloudflareFollowStepsIntro")),1)]),Object(i["createVNode"])(l,{"show-container-row":e.showContainerRow,"current-action":e.currentAction,showTestSection:!1},null,8,["show-container-row","current-action"])]})),_:1},8,["content-title"]))}var sb=Object(i["defineComponent"])({props:{currentAction:String,showContainerRow:Boolean,isJsTrackerInstallCheckAvailable:Boolean},components:{ContentBlock:u["ContentBlock"],TagmanagerTrackingCode:nb},computed:{trackingInfoTextLine1:function(){var e="?".concat(u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:"manageContainers"})));return Object(u["translate"])("TagManager_MatomoTagManagerTrackingInfoLine1",''),"")},trackingInfoTextLine2:function(){var e="?".concat(u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:"gettingStarted"})));return Object(u["translate"])("TagManager_MatomoTagManagerTrackingInfoLine2",''),"")},siteWithoutDataMtmIntro:function(){var e="?".concat(u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:"gettingStarted"})));return Object(u["translate"])("TagManager_SiteWithoutDataMtmIntro",''),"")}}});sb.render=cb;var db=sb,ub={class:"list-style-decimal"},gb=["innerHTML"],bb=["innerHTML"],mb=["innerHTML"],pb=["textContent"],hb=["innerHTML"],fb=["textContent"],vb=["innerHTML"],jb=["innerHTML"],Ob=["innerHTML"],Tb=["textContent"],Vb={style:{"list-style":"lower-alpha","list-style-position":"inside","text-indent":"1.2rem"}},yb=["innerHTML"],Cb=["innerHTML"],Nb=["innerHTML"],Eb=["textContent"],Sb=["textContent"],kb=["innerHTML"],wb=["textContent"],Mb=["innerHTML"],_b=["innerHTML"],Db=["textContent"];function xb(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("TrackingCodeCommon"),c=Object(i["resolveDirective"])("select-on-focus");return Object(i["openBlock"])(),Object(i["createElementBlock"])("ol",ub,[e.showContainerRow?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,innerHTML:e.$sanitize(e.setupStep1)},null,8,gb)):Object(i["createCommentVNode"])("",!0),Object(i["createVNode"])(l,{"show-container-row":e.showContainerRow,"current-action":e.currentAction,showBottom:!1,showDescription:!1,onFetchInstallInstructions:e.fetchInstallInstructionsSPA,ref:"trackingCodeCommon"},null,8,["show-container-row","current-action","onFetchInstallInstructions"]),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.setupStep2)},null,8,bb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep3)},null,8,mb),Object(i["createElementVNode"])("li",{textContent:Object(i["toDisplayString"])(e.fetchClickX("TagManager_CreateNewTrigger"))},null,8,pb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep5)},null,8,hb),Object(i["createElementVNode"])("li",{textContent:Object(i["toDisplayString"])(e.fetchClickX("TagManager_CreateNewTrigger"))},null,8,fb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.setupStep7)},null,8,vb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep8)},null,8,jb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep9)},null,8,Ob),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("span",{textContent:Object(i["toDisplayString"])(e.fetchFollowStep10)},null,8,Tb),Object(i["createElementVNode"])("ol",Vb,[Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep10a)},null,8,yb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep10b)},null,8,Cb)])]),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep11)},null,8,Nb),Object(i["createElementVNode"])("li",{textContent:Object(i["toDisplayString"])(e.fetchClickX("General_Update"))},null,8,Eb),Object(i["createElementVNode"])("li",{textContent:Object(i["toDisplayString"])(e.fetchFollowStep13)},null,8,Sb),Object(i["createElementVNode"])("li",{innerHTML:e.$sanitize(e.fetchFollowStep14)},null,8,kb),Object(i["createElementVNode"])("li",{textContent:Object(i["toDisplayString"])(e.fetchFollowStep15)},null,8,wb),"react"===e.jsFramework?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,innerHTML:e.$sanitize(e.fetchFollowStep16React)},null,8,Mb)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,innerHTML:e.$sanitize(e.fetchFollowStep16SPA)},null,8,_b)),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.installInstructions,(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:t},[Object(i["withDirectives"])(Object(i["createElementVNode"])("pre",{class:"codeblock",textContent:Object(i["toDisplayString"])(e.embedCode),ref:"codeblock"},null,8,Db),[[c,{}]])])})),128))])}var Ab=Object(i["defineComponent"])({props:{showContainerRow:Boolean,currentAction:String,jsFramework:String},components:{TrackingCodeCommon:eb},directives:{SelectOnFocus:u["SelectOnFocus"]},data:function(){return{setupStep1:"",setupStep2:"",setupStep7:"",installInstructions:[]}},methods:{fetchInstallInstructionsSPA:function(){var e,t,n=this,a=this.$refs.trackingCodeCommon;if(this.installInstructions=[],null!==a&&void 0!==a&&a.idContainer&&null!==a&&void 0!==a&&a.environment&&null!==a&&void 0!==a&&null!==(e=a.site)&&void 0!==e&&e.id){var r=this.linkTo("manageContainers",a.site.id,a.idContainer);this.setupStep1=Object(u["translate"])("TagManager_SPAFollowStep1","
","",''),"");var o=this.linkTo("manageTriggers",a.site.id,a.idContainer);this.setupStep2=Object(u["translate"])("TagManager_SPAFollowStep2",''),"");var l=this.linkTo("manageTags",a.site.id,a.idContainer);this.setupStep7=Object(u["translate"])("TagManager_SPAFollowStep7",''),""),a.isLoading=!0,u["AjaxHelper"].fetch({method:"TagManager.getContainerInstallInstructions",filter_limit:"-1",idContainer:null===a||void 0===a?void 0:a.idContainer,environment:null===a||void 0===a?void 0:a.environment,idSite:null===a||void 0===a||null===(t=a.site)||void 0===t?void 0:t.id,jsFramework:this.jsFramework}).then((function(e){n.installInstructions=e,Object(i["nextTick"])((function(){var e=Array.isArray(n.$refs.codeblock)?n.$refs.codeblock:[n.$refs.codeblock];e.forEach((function(e){$(e).effect("highlight",{},1500)}))}))})).finally((function(){a.isLoading=!1}))}},linkTo:function(e,t,n,a){var r=u["MatomoUrl"].stringify(Object.assign(Object.assign({},u["MatomoUrl"].urlParsed.value),{},{module:"TagManager",action:e,idSite:t,idContainer:n}));return a&&(r+="#?".concat(u["MatomoUrl"].stringify(a))),"?".concat(r)},fetchClickX:function(e){return Object(u["translate"])("General_ClickX",Object(u["translate"])(e))}},computed:{fetchFollowStep3:function(){return Object(u["translate"])("TagManager_SPAFollowStep3","".concat(Object(u["translate"])("TagManager_PageViewTriggerName"),""),Object(u["translate"])("TagManager_PageViewTriggerName"),'',"")},fetchFollowStep5:function(){return Object(u["translate"])("TagManager_SPAFollowStep5","".concat(Object(u["translate"])("TagManager_HistoryChangeTriggerName"),""),Object(u["translate"])("TagManager_CategoryUserEngagement"))},fetchFollowStep8:function(){return Object(u["translate"])("TagManager_SPAFollowStep8","".concat(Object(u["translate"])("TagManager_PageViewTriggerName"),""),"".concat(Object(u["translate"])("TagManager_MatomoTagName"),""),Object(u["translate"])("TagManager_PageViewTriggerName"),'',"")},fetchFollowStep9:function(){return Object(u["translate"])("TagManager_SPAFollowStep9",Object(u["translate"])("TagManager_ConfigureWhatTagDoes"),Object(u["translate"])("TagManager_CustomTitle"),"","")},fetchFollowStep10:function(){return Object(u["translate"])("TagManager_SPAFollowStep10",Object(u["translate"])("TagManager_CustomUrl"))},fetchFollowStep10a:function(){return Object(u["translate"])("TagManager_SPAFollowStep10a","","",Object(u["translate"])("TagManager_CustomUrl"))},fetchFollowStep10b:function(){return Object(u["translate"])("TagManager_SPAFollowStep10b",Object(u["translate"])("TagManager_CustomUrl"),"","")},fetchFollowStep11:function(){return Object(u["translate"])("TagManager_SPAFollowStep11",Object(u["translate"])("TagManager_ConfigureWhenTagDoes"),Object(u["translate"])("TagManager_FireTriggerTitle"),"".concat(Object(u["translate"])("TagManager_HistoryChangeTriggerName"),""),"".concat(Object(u["translate"])("TagManager_PageViewTriggerName"),""))},fetchFollowStep13:function(){return Object(u["translate"])("TagManager_SPAFollowStep13",Object(u["translate"])("TagManager_Publish"))},fetchFollowStep14:function(){return Object(u["translate"])("TagManager_SPAFollowStep14",Object(u["translate"])("TagManager_VersionName"),"","")},fetchFollowStep15:function(){return Object(u["translate"])("TagManager_SPAFollowStep15",Object(u["translate"])("TagManager_CreateVersionAndPublishRelease"))},fetchFollowStep16SPA:function(){return Object(u["translate"])("TagManager_SPAFollowStep16","</head>",'',"")},fetchFollowStep16React:function(){return Object(u["translate"])("TagManager_ReactFollowStep16","","","App.js","React.useEffect","Hello World","React.js")}}});Ab.render=xb;var Bb,Lb,Ub=Ab,Ib={class:"nav-wrapper"},Pb={class:"pull-right"},Hb=Object(i["createElementVNode"])("svg",{"aria-hidden":"true",style:{position:"absolute",width:"0",height:"0",overflow:"hidden"},version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[Object(i["createElementVNode"])("defs",null,[Object(i["createElementVNode"])("symbol",{id:"tm-icon-checkmark",viewBox:"0 0 32 32"},[Object(i["createElementVNode"])("path",{d:"M27 4l-15 15-7-7-5 5 12 12 20-20z"})])])],-1),Fb={class:"page",style:{clear:"both"}},Gb={key:0,id:"secondNavBar",class:"Menu--dashboard z-depth-1"},$b={class:"navbar",role:"menu",style:{padding:"0"}},Rb={class:"menuTab",role:"menuitem"},zb={class:"item",style:{"font-weight":"normal"}},Wb=Object(i["createTextVNode"])(" Events "),qb={key:0},Xb=Object(i["createElementVNode"])("br",null,null,-1),Kb=Object(i["createElementVNode"])("br",null,null,-1),Jb=Object(i["createElementVNode"])("label",{for:"onlyfiredTags",class:"lbl-onlyfiredTags"},"Only fired tags",-1),Yb={key:0,style:{padding:"0 0 1rem 1.2rem"}},Qb=["onClick","title"],Zb={title:"This tag was fired"},em=Object(i["createElementVNode"])("svg",{class:"tm-icon tm-icon-checkmark"},[Object(i["createElementVNode"])("use",{"xlink:href":"#tm-icon-checkmark"})],-1),tm=[em],nm={class:"pageWrap"},am={class:"home",id:"content"},rm=Object(i["createElementVNode"])("h3",null,"Fired Tags",-1),im={class:"entityTable"},om=Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,"Action"),Object(i["createElementVNode"])("th",null,"Name"),Object(i["createElementVNode"])("th",null,"Type"),Object(i["createElementVNode"])("th",null,"Fired count")])],-1),lm={key:0},cm=Object(i["createElementVNode"])("td",{colspan:"4"},"No tags",-1),sm=[cm],dm=Object(i["createElementVNode"])("h3",{style:{"margin-top":"30px"}},"Not Yet Fired Tags",-1),um={class:"entityTable"},gm=Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,"Name"),Object(i["createElementVNode"])("th",null,"Type")])],-1),bm=Object(i["createElementVNode"])("td",{colspan:"4"},"No tags",-1),mm=[bm],pm=Object(i["createElementVNode"])("h3",null,"Triggers",-1),hm={class:"entityTable"},fm=Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,"Name"),Object(i["createElementVNode"])("th",null,"Type")])],-1),vm={key:0},jm=Object(i["createElementVNode"])("td",{colspan:"4"},"No trigger",-1),Om=[jm],Tm={key:1},Vm=Object(i["createElementVNode"])("h3",null,"Pushed data by this event",-1),ym={class:"entityTable"},Cm={style:{"word-break":"break-all"}},Nm=Object(i["createElementVNode"])("br",null,null,-1),Em=Object(i["createElementVNode"])("h3",null,"Content after this event",-1),Sm={class:"entityTable"},km={style:{"word-break":"break-all"}},wm={class:"entityTable"},Mm=Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,"Name"),Object(i["createElementVNode"])("th",null,"Type"),Object(i["createElementVNode"])("th",null,"Value")])],-1),_m={key:0},Dm=Object(i["createElementVNode"])("td",{colspan:"3"},"No variables",-1),xm=[Dm],Am={style:{"word-break":"break-all"}},Bm={class:"entityTable"},Lm=Object(i["createElementVNode"])("thead",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("th",null,"Time"),Object(i["createElementVNode"])("th",null,"Message")])],-1),Um={style:{"word-break":"break-all"}},Im=Object(i["createElementVNode"])("br",null,null,-1);function Pm(e,t,n,a,r,o){var l,c,s,d,u,g,b,m,p,h;return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("nav",null,[Object(i["createElementVNode"])("div",Ib,[Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",null,[Object(i["renderSlot"])(e.$slots,"logo")]),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])({active:"tags"===e.contentTab||!e.contentTab})},[Object(i["createElementVNode"])("a",{onClick:t[0]||(t[0]=function(t){return e.contentTab="tags"})},"Tags")],2),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])({active:"triggers"===e.contentTab})},[Object(i["createElementVNode"])("a",{onClick:t[1]||(t[1]=function(t){return e.contentTab="triggers"})},"Triggers")],2),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])({active:"variables"===e.contentTab})},[Object(i["createElementVNode"])("a",{onClick:t[2]||(t[2]=function(t){return e.contentTab="variables"})},"Variables")],2),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])({active:"dataLayer"===e.contentTab})},[Object(i["createElementVNode"])("a",{onClick:t[3]||(t[3]=function(t){return e.contentTab="dataLayer"})},"Data Layer")],2),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])({active:"logs"===e.contentTab})},[Object(i["createElementVNode"])("a",{onClick:t[4]||(t[4]=function(t){return e.contentTab="logs"})},"Logs")],2),Object(i["createElementVNode"])("li",Pb,[Object(i["createElementVNode"])("a",{id:"mtmUpdateDebugPosition",onClick:t[5]||(t[5]=function(t){return e.mtmUpdateDebugPosition()})},Object(i["toDisplayString"])(e.positionText),1)])])])]),Hb,Object(i["createElementVNode"])("div",Fb,["logs"!==e.contentTab?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Gb,[Object(i["createElementVNode"])("ul",$b,[Object(i["createElementVNode"])("li",Rb,[Object(i["createElementVNode"])("span",zb,[Wb,e.mtmEvents.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",qb,[Xb,Kb,Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{type:"checkbox",class:"onlyFiredTags-chk",name:"onlyfiredTags",id:"onlyfiredTags",value:"1","onUpdate:modelValue":t[6]||(t[6]=function(t){return e.onlyfiredTags=t}),style:{"margin-right":"3.5px"}},null,512),[[i["vModelCheckbox"],e.onlyfiredTags]]),Jb])):Object(i["createCommentVNode"])("",!0)])]),0===e.mtmEvents.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Yb,"No event executed")):Object(i["createCommentVNode"])("",!0),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.mtmEventsReversed,(function(t,n){var a,r;return Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:Object(i["normalizeClass"])(["menuTab",{active:n===e.selectedEventIndex}]),role:"menuitem",key:n},[(t.tags||[]).length||!e.onlyfiredTags?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,class:"item",onClick:function(n){return e.selectEvent(t.index0)},title:"Time: ".concat(t.time,". Trigger: ").concat(null===(a=t.metTrigger)||void 0===a?void 0:a.name)},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(t.index)+": "+Object(i["toDisplayString"])(t.name)+" ",1),Object(i["withDirectives"])(Object(i["createElementVNode"])("span",Zb,tm,512),[[i["vShow"],null===(r=t.tags)||void 0===r?void 0:r.length]])],8,Qb)):Object(i["createCommentVNode"])("",!0)],2)})),128))])])):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("div",nm,[Object(i["createElementVNode"])("div",am,[Object(i["withDirectives"])(Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.homeTabTitle),513),[[i["vShow"],"logs"!==e.contentTab]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[rm,Object(i["createElementVNode"])("table",im,[om,Object(i["createElementVNode"])("tbody",null,[null!==(l=e.selectedEvent)&&void 0!==l&&null!==(c=l.tags)&&void 0!==c&&c.length?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",lm,sm)),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])((null===(s=e.selectedEvent)||void 0===s?void 0:s.tags)||[],(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:t},[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.action),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.name),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.type),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.numExecuted),1)])})),128))])]),dm,Object(i["createElementVNode"])("table",um,[gm,Object(i["createElementVNode"])("tbody",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("tr",null,mm,512),[[i["vShow"],0===e.notFiredTags.length]]),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.notFiredTags,(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:t},[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.name),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.type),1)])})),128))])])],512),[[i["vShow"],"tags"===e.contentTab||!e.contentTab]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[pm,Object(i["createElementVNode"])("table",hm,[fm,Object(i["createElementVNode"])("tbody",null,[null!==(d=e.selectedEvent)&&void 0!==d&&d.metTrigger?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",vm,Om)),null!==(u=e.selectedEvent)&&void 0!==u&&u.metTrigger?(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",Tm,[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.selectedEvent.metTrigger.name),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.selectedEvent.metTrigger.type),1)])):Object(i["createCommentVNode"])("",!0)])])],512),[[i["vShow"],"triggers"===e.contentTab]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Vm,Object(i["createElementVNode"])("table",ym,[Object(i["createElementVNode"])("tbody",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",Cm,Object(i["toDisplayString"])(e.selectedEventData),1)])])]),Nm,Em,Object(i["createElementVNode"])("table",Sm,[Object(i["createElementVNode"])("tbody",null,[Object(i["createElementVNode"])("tr",null,[Object(i["createElementVNode"])("td",km,Object(i["toDisplayString"])(e.selectedEventContainerDataLayer),1)])])])],512),[[i["vShow"],"dataLayer"===e.contentTab]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("table",wm,[Mm,Object(i["createElementVNode"])("tbody",null,[null!==(g=e.selectedEvent)&&void 0!==g&&null!==(b=g.container)&&void 0!==b&&null!==(m=b.variables)&&void 0!==m&&m.length?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",_m,xm)),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])((null===(p=e.selectedEvent)||void 0===p||null===(h=p.container)||void 0===h?void 0:h.variables)||[],(function(t,n){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:n},[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(t.name),1),Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(t.type),1),Object(i["createElementVNode"])("td",Am,Object(i["toDisplayString"])(e.stringifySelectedVariable(t)),1)])})),128))])])],512),[[i["vShow"],"variables"===e.contentTab]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("table",Bm,[Lm,Object(i["createElementVNode"])("tbody",null,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.mtmLogs,(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("tr",{key:t},[Object(i["createElementVNode"])("td",null,Object(i["toDisplayString"])(e.time),1),Object(i["createElementVNode"])("td",Um,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.messages,(function(e,t){return Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:t},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e),1),Im])})),128))])])})),128))])])],512),[[i["vShow"],"logs"===e.contentTab]])])])])])}function Hm(e){return Rm(e)||$m(e)||Gm(e)||Fm()}function Fm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gm(e,t){if(e){if("string"===typeof e)return zm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zm(e,t):void 0}}function $m(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Rm(e){if(Array.isArray(e))return zm(e)}function zm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nt||n.push.apply(n,Hm(e.tags.map((function(e){return e.name}))))}));var a=[];return this.selectedEvent.container.tags.forEach((function(e){-1===n.indexOf(e.name)&&a.push(e)})),a},selectedEvent:function(){return this.mtmEvents[this.selectedEventIndex]},mtmEvents:function(){return window.mtmDbgData.mtmEvents},mtmEventsReversed:function(){var e=Hm(this.mtmEvents);return e.reverse(),e},mtmLogs:function(){return window.mtmDbgData.mtmLogs},selectedEventData:function(){var e;return(null===(e=this.selectedEvent)||void 0===e?void 0:e.eventData)&&JSON.stringify(this.selectedEvent.eventData,Jm())},selectedEventContainerDataLayer:function(){var e,t;return(null===(e=this.selectedEvent)||void 0===e||null===(t=e.container)||void 0===t?void 0:t.dataLayer)&&JSON.stringify(this.selectedEvent.container.dataLayer,Jm())}}});Ym.render=Pm;var Qm=Ym,Zm={class:"tagManagerGettingStarted"},ep=Object(i["createElementVNode"])("br",null,null,-1),tp=Object(i["createElementVNode"])("br",null,null,-1),np=Object(i["createElementVNode"])("br",null,null,-1),ap=Object(i["createElementVNode"])("br",null,null,-1),rp=Object(i["createElementVNode"])("br",null,null,-1),ip=["innerHTML"],op=Object(i["createElementVNode"])("br",null,null,-1),lp=Object(i["createElementVNode"])("br",null,null,-1),cp=Object(i["createElementVNode"])("br",null,null,-1),sp=Object(i["createElementVNode"])("br",null,null,-1),dp=["innerHTML"];function up(e,t,n,a,r,o){var l=Object(i["resolveComponent"])("ContentBlock");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Zm,[Object(i["createElementVNode"])("h2",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStarted")),1),Object(i["createVNode"])(l,{"content-title":e.translate("CorePluginsAdmin_WhatIsTagManager")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedWhatIsIntro")),1),Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedAnalyticsTracking")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedConversionTracking")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedNewsletterSignups")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedExitActions")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedRemarketing")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedSocialWidgets")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedAffiliates")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedAds")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedAndMore")),1)]),Object(i["createElementVNode"])("p",null,[ep,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedMainComponents")),1)]),Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedTagComponent")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedTriggerComponent")),1),Object(i["createElementVNode"])("li",null,Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedVariableComponent")),1)])]})),_:1},8,["content-title"]),Object(i["createVNode"])(l,{"content-title":e.translate("TagManager_GettingStartedWhyDoINeed")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedWhyMakesLifeEasier"))+" ",1),tp,np,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedWhyThirdPartySnippets"))+" ",1),ap,rp,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedWhyAccuracyPerformance")),1)])]})),_:1},8,["content-title"]),e.canEdit?(Object(i["openBlock"])(),Object(i["createBlock"])(l,{key:0,"content-title":e.translate("TagManager_GettingStartedHowDoI")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.gettingStartedHowCreateContainerText)},null,8,ip),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedHowCopyCode"))+" ",1),op,lp,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedHowAddTagsToContainer")),1)])]})),_:1},8,["content-title"])):Object(i["createCommentVNode"])("",!0),Object(i["createVNode"])(l,{"content-title":e.translate("TagManager_GettingStartedWhatIfUnsupported")},{default:Object(i["withCtx"])((function(){return[Object(i["createElementVNode"])("p",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.translate("TagManager_GettingStartedCustomTags"))+" ",1),cp,sp,Object(i["createElementVNode"])("span",{innerHTML:e.$sanitize(e.gettingStartedContributeTagsText)},null,8,dp)])]})),_:1},8,["content-title"])])}var gp=Object(i["defineComponent"])({props:{canEdit:Boolean},components:{ContentBlock:u["ContentBlock"]},computed:{gettingStartedHowCreateContainerText:function(){var e="?".concat(u["MatomoUrl"].stringify({module:"TagManager",action:"manageContainers"}),"}");return Object(u["translate"])("TagManager_GettingStartedHowCreateContainer",''),"")},gettingStartedContributeTagsText:function(){var e="https://developer.matomo.org/guides/tagmanager/settingup";return Object(u["translate"])("TagManager_GettingStartedContributeTags",''),"")}}});gp.render=up;var bp=gp; +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */}})})); +//# sourceMappingURL=TagManager.umd.min.js.map \ No newline at end of file diff --git a/vue/src/TagmanagerTrackingCode/TagManagerTrackingCode.less b/vue/src/TagmanagerTrackingCode/TagManagerTrackingCode.less index 41543b5b3..5b414601a 100644 --- a/vue/src/TagmanagerTrackingCode/TagManagerTrackingCode.less +++ b/vue/src/TagmanagerTrackingCode/TagManagerTrackingCode.less @@ -1,11 +1,13 @@ -div[anchor='tagmanager'] div[matomo-tagmanager-tracking-code] { +div.admin > div[vue-entry='TagManager.TrackingCodePage'] { .list-style-decimal { list-style-type: decimal; list-style-position: inside; } - .tagManagerTrackingCode .row { - margin-bottom: 0rem !important; - margin-top: -0.5rem !important; + .tagManagerTrackingCode { + > .row, > .row .row { + margin-bottom: -0.5rem !important; + margin-top: -0.5rem !important; + } } } \ No newline at end of file diff --git a/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue b/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue index 51a42adc1..cac5d3c00 100644 --- a/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue +++ b/vue/src/TagmanagerTrackingCode/TagmanagerTrackingCode.vue @@ -4,22 +4,26 @@ @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later --> diff --git a/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue b/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue index 5796c713e..0ac20243f 100644 --- a/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue +++ b/vue/src/TagmanagerTrackingCode/TrackingCodeCommon.vue @@ -74,38 +74,27 @@ :href="installInstruction.helpUrl" >{{ translate('TagManager_LearnMore') }}.

-
-    
-    
-

- {{ translate('TagManager_CustomizeTracking') }} -

-

{{ translate('TagManager_CustomizeTrackingTeaser') }}

- -

- -  {{ translate('TagManager_ViewContainerDashboard') }} - -

+
  • +
    +
    +
    +      
    + +
    +

    +
    @@ -116,10 +105,12 @@ import { AjaxHelper, ActivityIndicator, SiteSelector, - SelectOnFocus, SiteRef, MatomoUrl, Matomo, + translate, + CopyToClipboard, + useExternalPluginComponent, } from 'CoreHome'; import { Field } from 'CorePluginsAdmin'; import { @@ -165,6 +156,8 @@ export default defineComponent({ currentAction: String, showBottom: Boolean, showDescription: Boolean, + showPlainMtmSteps: Boolean, + showTestSection: Boolean, }, components: { ActivityIndicator, @@ -173,7 +166,7 @@ export default defineComponent({ }, emits: ['fetchInstallInstructions'], directives: { - SelectOnFocus, + CopyToClipboard, }, data(): TagmanagerTrackingCodeState { return { @@ -315,11 +308,12 @@ export default defineComponent({ this.$emit('fetchInstallInstructions'); this.fetchVariables(draftVersion); }, - linkTo(action: string, idContainer: string, hash: QueryParameters) { + linkTo(action: string, idSite: string, idContainer: string, hash: QueryParameters) { const newQuery = MatomoUrl.stringify({ ...MatomoUrl.urlParsed.value, module: 'TagManager', action, + idSite, idContainer, }); @@ -349,5 +343,43 @@ export default defineComponent({ }); }, }, + computed: { + getLearnMoreLink() { + return translate( + 'TagManager_CustomHtmlTagHelpText', + '', + '', + ); + }, + getMtmStep2() { + const idSite = this.site && this.site.id ? this.site.id as string : ''; + const link = this.linkTo('dashboard', idSite, this.idContainer, []); + return translate( + 'TagManager_SiteWithoutDataMtmStep2', + ``, + '', + ); + }, + getMtmStep3() { + return translate( + 'TagManager_SiteWithoutDataMtmStep3', '</head>', + '', + '', + ); + }, + getCongratulationsText() { + return translate( + 'TagManager_SiteWithoutDataReactFollowStepCompleted', + '', + '', + ); + }, + testComponent() { + if (this.showTestSection) { + return useExternalPluginComponent('JsTrackerInstallCheck', 'JsTrackerInstallCheck'); + } + return ''; + }, + }, }); diff --git a/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue b/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue index ae44f558f..250a0dfbb 100644 --- a/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue +++ b/vue/src/TagmanagerTrackingCode/TrackingCodePage.vue @@ -6,20 +6,30 @@ @@ -32,6 +42,7 @@ export default defineComponent({ props: { currentAction: String, showContainerRow: Boolean, + isJsTrackerInstallCheckAvailable: Boolean, }, components: { ContentBlock, @@ -64,6 +75,19 @@ export default defineComponent({ '', ); }, + siteWithoutDataMtmIntro() { + const gettingStartedLink = `?${MatomoUrl.stringify({ + ...MatomoUrl.urlParsed.value, + module: 'TagManager', + action: 'gettingStarted', + })}`; + + return translate( + 'TagManager_SiteWithoutDataMtmIntro', + ``, + '', + ); + }, }, });