@microsoft/applicationinsights-debugplugin-js 2.8.4 → 2.8.5-nightly.2206-04
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{ai.dbg.2.8.4.cjs.js → ai.dbg.2.8.5-nightly.2206-04.cjs.js} +6 -3
- package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.js.map +1 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.min.js +6 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.min.js.map +1 -0
- package/browser/{ai.dbg.2.8.4.gbl.js → ai.dbg.2.8.5-nightly.2206-04.gbl.js} +6 -3
- package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.js.map +1 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.min.js +6 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.min.js.map +1 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.integrity.json +66 -0
- package/browser/{ai.dbg.2.8.4.js → ai.dbg.2.8.5-nightly.2206-04.js} +6 -3
- package/browser/ai.dbg.2.8.5-nightly.2206-04.js.map +1 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.min.js +6 -0
- package/browser/ai.dbg.2.8.5-nightly.2206-04.min.js.map +1 -0
- package/browser/ai.dbg.2.cjs.js +5 -2
- package/browser/ai.dbg.2.cjs.js.map +1 -1
- package/browser/ai.dbg.2.cjs.min.js +2 -2
- package/browser/ai.dbg.2.cjs.min.js.map +1 -1
- package/browser/ai.dbg.2.gbl.js +5 -2
- package/browser/ai.dbg.2.gbl.js.map +1 -1
- package/browser/ai.dbg.2.gbl.min.js +2 -2
- package/browser/ai.dbg.2.gbl.min.js.map +1 -1
- package/browser/ai.dbg.2.js +5 -2
- package/browser/ai.dbg.2.js.map +1 -1
- package/browser/ai.dbg.2.min.js +2 -2
- package/browser/ai.dbg.2.min.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.api.json +13 -6
- package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
- package/dist/applicationinsights-debugplugin-js.js +5 -2
- package/dist/applicationinsights-debugplugin-js.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.min.js +2 -2
- package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
- package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
- package/dist-esm/DebugPlugin.js +1 -1
- package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
- package/dist-esm/components/Dashboard.js +6 -1
- package/dist-esm/components/Dashboard.js.map +1 -1
- package/dist-esm/components/LogEntry.js +1 -1
- package/dist-esm/components/debugBins.js +1 -1
- package/dist-esm/components/filterList.js +1 -1
- package/dist-esm/components/helpers.js +1 -1
- package/dist-esm/components/styleNodeSrc.js +1 -1
- package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
- package/package.json +57 -54
- package/types/tsdoc-metadata.json +1 -1
- package/browser/ai.dbg.2.8.4.cjs.js.map +0 -1
- package/browser/ai.dbg.2.8.4.cjs.min.js +0 -6
- package/browser/ai.dbg.2.8.4.cjs.min.js.map +0 -1
- package/browser/ai.dbg.2.8.4.gbl.js.map +0 -1
- package/browser/ai.dbg.2.8.4.gbl.min.js +0 -6
- package/browser/ai.dbg.2.8.4.gbl.min.js.map +0 -1
- package/browser/ai.dbg.2.8.4.integrity.json +0 -66
- package/browser/ai.dbg.2.8.4.js.map +0 -1
- package/browser/ai.dbg.2.8.4.min.js +0 -6
- package/browser/ai.dbg.2.8.4.min.js.map +0 -1
package/dist-esm/DebugPlugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 2.8.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 2.8.5-nightly.2206-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { arrForEach, arrIndexOf } from "@microsoft/applicationinsights-core-js";
|
|
@@ -209,6 +209,11 @@ var Dashboard = /** @class */ (function () {
|
|
|
209
209
|
// Removed Stub for Dashboard.prototype.render.
|
|
210
210
|
// Removed Stub for Dashboard.prototype.show.
|
|
211
211
|
// Removed Stub for Dashboard.prototype.hide.
|
|
212
|
+
// This is a workaround for an IE8 bug when using dynamicProto() with classes that don't have any
|
|
213
|
+
// non-dynamic functions or static properties/functions when using uglify-js to minify the resulting code.
|
|
214
|
+
// this will be removed when ES3 support is dropped.
|
|
215
|
+
Dashboard.__ieDyn=1;
|
|
216
|
+
|
|
212
217
|
return Dashboard;
|
|
213
218
|
}());
|
|
214
219
|
export { Dashboard };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js.map","sources":["Dashboard.js"],"sourcesContent":["import { arrForEach, arrIndexOf } from \"@microsoft/applicationinsights-core-js\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { tempStyle } from \"./styleNodeSrc\";\r\nimport { FilterList } from \"./filterList\";\r\nimport { LogEntry } from \"./LogEntry\";\r\nimport { copySelectedTree } from \"./helpers\";\r\nvar Dashboard = /** @class */ (function () {\r\n function Dashboard(config) {\r\n var _this = this;\r\n var msgTracker = [];\r\n var textFilter = \"\";\r\n /**\r\n * the root element of the logger\r\n */\r\n var rootElement;\r\n /**\r\n * the style that is only on the webpage when the log is active\r\n */\r\n var tempStyleEl;\r\n var filterList;\r\n var loggerEl;\r\n dynamicProto(Dashboard, this, function (_self) {\r\n var prefix = config.prefix;\r\n var trackers = config.trackers;\r\n var rootEl = rootElement = document.createElement(\"div\");\r\n rootEl.className = \"\".concat(prefix, \"-dbg-lgr-dashboard\");\r\n tempStyleEl = document.createElement(\"style\");\r\n tempStyleEl.innerHTML = tempStyle(prefix);\r\n // TODO: research more accessibility (aria)\r\n rootEl.style.position = \"fixed\";\r\n rootEl.style.width = \"100vw\";\r\n rootEl.style.height = \"100vh\";\r\n rootEl.style.backgroundColor = \"#ffffff\";\r\n rootEl.style.opacity = \"1\";\r\n rootEl.style.pointerEvents = \"auto\";\r\n rootEl.style.top = \"-100%\";\r\n rootEl.style.transition = \".2s top cubic-bezier(0.87, 0, 0.13, 1)\";\r\n var logHeading = document.createElement(\"h1\");\r\n logHeading.textContent = \"dashboard\";\r\n logHeading.style.fontFamily = \"monospace\";\r\n logHeading.style.textAlign = \"center\";\r\n rootEl.appendChild(logHeading);\r\n _createLogger(rootEl, prefix, trackers);\r\n _self.getElm = function () {\r\n return rootEl;\r\n };\r\n _self.isDisplayed = function () {\r\n return !!(rootEl.parentElement || rootEl.parentNode);\r\n };\r\n _self.getTextFilter = function () {\r\n return textFilter;\r\n };\r\n _self.setTextFilter = function (value) {\r\n if (value !== textFilter) {\r\n textFilter = value;\r\n _self.render();\r\n }\r\n };\r\n _self.getTrackers = function () {\r\n return trackers;\r\n };\r\n _self.newLogEntry = function (target, tm, key, level, kind, keep) {\r\n var _self = _this;\r\n msgTracker.push(new LogEntry(target, tm, key, level, kind, keep));\r\n if (msgTracker.length > config.maxMessages) {\r\n var lp = 0;\r\n while (lp < msgTracker.length) {\r\n var entry = msgTracker[lp];\r\n if (!entry.isKeep()) {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n msgTracker.splice(lp, 1);\r\n break;\r\n }\r\n lp++;\r\n }\r\n }\r\n _self.render();\r\n };\r\n _self.show = function () {\r\n if (!_this.isDisplayed()) {\r\n document.body.appendChild(rootEl);\r\n document.head.appendChild(tempStyleEl);\r\n rootEl.style.top = \"0%\";\r\n rootEl.style.pointerEvents = \"auto\";\r\n _self.render();\r\n }\r\n };\r\n _self.hide = function () {\r\n if (_self.isDisplayed()) {\r\n rootEl.style.top = \"-100%\";\r\n rootEl.style.pointerEvents = \"none\";\r\n document.head.removeChild(tempStyleEl);\r\n document.body.removeChild(rootEl);\r\n }\r\n };\r\n _self.render = function () {\r\n if (_self.isDisplayed()) {\r\n var excludedTypes_1 = filterList.getCurrentFilter();\r\n arrForEach(msgTracker, function (entry) {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n if (!entry.isMatch(textFilter, config.excludeKeys, config.includeFunctions)) {\r\n return;\r\n }\r\n var type = entry.getKind();\r\n var allowOther = arrIndexOf(excludedTypes_1, \"other\") === -1; // Other types are not excluded\r\n if (arrIndexOf(trackers, type) === -1 && !allowOther) {\r\n // Not a tracked type and we are not allowing other types\r\n return;\r\n }\r\n else if (arrIndexOf(excludedTypes_1, type) !== -1) {\r\n // This type is explicitly excluded\r\n return;\r\n }\r\n var newEl = entry.render(textFilter, config.excludeKeys, config.includeFunctions);\r\n if (newEl) {\r\n loggerEl.appendChild(newEl);\r\n }\r\n });\r\n }\r\n };\r\n function clearEvents() {\r\n var newEvents = [];\r\n arrForEach(msgTracker, function (entry) {\r\n if (entry.isKeep()) {\r\n newEvents.push(entry);\r\n }\r\n else {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n }\r\n });\r\n msgTracker = newEvents;\r\n _self.render();\r\n }\r\n function closeDashboard() {\r\n _self.hide();\r\n }\r\n function _createLogger(hostDiv, prefix, trackers) {\r\n loggerEl = document.createElement(\"div\");\r\n loggerEl.className = \"\".concat(prefix, \"-dbg-lgr\");\r\n var controlDiv = document.createElement(\"div\");\r\n controlDiv.className = \"controls\";\r\n var textFilterInput = document.createElement(\"input\");\r\n textFilterInput.className = \"text-filter-input\";\r\n textFilterInput.setAttribute(\"placeholder\", \"filter text\");\r\n textFilterInput.onchange = function (evt) {\r\n _self.setTextFilter(textFilterInput.value);\r\n };\r\n textFilterInput.onblur = function (evt) {\r\n _self.setTextFilter(textFilterInput.value);\r\n };\r\n textFilterInput.onkeyup = function (evt) {\r\n if (keyupTimer != null) {\r\n clearTimeout(keyupTimer);\r\n }\r\n var newValue = textFilterInput.value;\r\n if (newValue !== _self.getTextFilter()) {\r\n keyupTimer = setTimeout(function () {\r\n keyupTimer = null;\r\n _self.setTextFilter(textFilterInput.value);\r\n }, 200);\r\n }\r\n };\r\n controlDiv.appendChild(textFilterInput);\r\n var copyButton = document.createElement(\"button\");\r\n copyButton.innerText = \"copy current node\";\r\n copyButton.className = \"btn-secondary\";\r\n copyButton.onclick = copySelectedTree;\r\n copyButton.ontouchend = copySelectedTree;\r\n var keyupTimer = null;\r\n filterList = new FilterList(controlDiv, trackers.slice(0), function () { return _self.render(); });\r\n controlDiv.appendChild(copyButton);\r\n var clearEventsBtn = document.createElement(\"button\");\r\n clearEventsBtn.innerText = \"clear events\";\r\n clearEventsBtn.className = \"btn-secondary\";\r\n clearEventsBtn.onclick = clearEvents;\r\n clearEventsBtn.ontouchend = clearEvents;\r\n controlDiv.appendChild(clearEventsBtn);\r\n var closeEventsBtn = document.createElement(\"button\");\r\n closeEventsBtn.id = \"close-dashboard\";\r\n closeEventsBtn.innerText = \"close dashboard\";\r\n closeEventsBtn.className = \"btn-primary\";\r\n closeEventsBtn.onclick = closeDashboard;\r\n closeEventsBtn.ontouchend = closeDashboard;\r\n controlDiv.appendChild(closeEventsBtn);\r\n hostDiv.appendChild(controlDiv);\r\n hostDiv.appendChild(loggerEl);\r\n }\r\n });\r\n }\r\n Dashboard.prototype.getElm = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.isDisplayed = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return false;\r\n };\r\n Dashboard.prototype.getTextFilter = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.setTextFilter = function (value) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.getTrackers = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.newLogEntry = function (target, tm, key, level, kind, keep) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.render = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.show = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.hide = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n return Dashboard;\r\n}());\r\nexport { Dashboard };\r\n//# sourceMappingURL=Dashboard.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;6CA8BM;AACN;AACA;AACA;AACA"}
|
|
1
|
+
{"version":3,"file":"Dashboard.js.map","sources":["Dashboard.js"],"sourcesContent":["import { arrForEach, arrIndexOf } from \"@microsoft/applicationinsights-core-js\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { tempStyle } from \"./styleNodeSrc\";\r\nimport { FilterList } from \"./filterList\";\r\nimport { LogEntry } from \"./LogEntry\";\r\nimport { copySelectedTree } from \"./helpers\";\r\nvar Dashboard = /** @class */ (function () {\r\n function Dashboard(config) {\r\n var _this = this;\r\n var msgTracker = [];\r\n var textFilter = \"\";\r\n /**\r\n * the root element of the logger\r\n */\r\n var rootElement;\r\n /**\r\n * the style that is only on the webpage when the log is active\r\n */\r\n var tempStyleEl;\r\n var filterList;\r\n var loggerEl;\r\n dynamicProto(Dashboard, this, function (_self) {\r\n var prefix = config.prefix;\r\n var trackers = config.trackers;\r\n var rootEl = rootElement = document.createElement(\"div\");\r\n rootEl.className = \"\".concat(prefix, \"-dbg-lgr-dashboard\");\r\n tempStyleEl = document.createElement(\"style\");\r\n tempStyleEl.innerHTML = tempStyle(prefix);\r\n // TODO: research more accessibility (aria)\r\n rootEl.style.position = \"fixed\";\r\n rootEl.style.width = \"100vw\";\r\n rootEl.style.height = \"100vh\";\r\n rootEl.style.backgroundColor = \"#ffffff\";\r\n rootEl.style.opacity = \"1\";\r\n rootEl.style.pointerEvents = \"auto\";\r\n rootEl.style.top = \"-100%\";\r\n rootEl.style.transition = \".2s top cubic-bezier(0.87, 0, 0.13, 1)\";\r\n var logHeading = document.createElement(\"h1\");\r\n logHeading.textContent = \"dashboard\";\r\n logHeading.style.fontFamily = \"monospace\";\r\n logHeading.style.textAlign = \"center\";\r\n rootEl.appendChild(logHeading);\r\n _createLogger(rootEl, prefix, trackers);\r\n _self.getElm = function () {\r\n return rootEl;\r\n };\r\n _self.isDisplayed = function () {\r\n return !!(rootEl.parentElement || rootEl.parentNode);\r\n };\r\n _self.getTextFilter = function () {\r\n return textFilter;\r\n };\r\n _self.setTextFilter = function (value) {\r\n if (value !== textFilter) {\r\n textFilter = value;\r\n _self.render();\r\n }\r\n };\r\n _self.getTrackers = function () {\r\n return trackers;\r\n };\r\n _self.newLogEntry = function (target, tm, key, level, kind, keep) {\r\n var _self = _this;\r\n msgTracker.push(new LogEntry(target, tm, key, level, kind, keep));\r\n if (msgTracker.length > config.maxMessages) {\r\n var lp = 0;\r\n while (lp < msgTracker.length) {\r\n var entry = msgTracker[lp];\r\n if (!entry.isKeep()) {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n msgTracker.splice(lp, 1);\r\n break;\r\n }\r\n lp++;\r\n }\r\n }\r\n _self.render();\r\n };\r\n _self.show = function () {\r\n if (!_this.isDisplayed()) {\r\n document.body.appendChild(rootEl);\r\n document.head.appendChild(tempStyleEl);\r\n rootEl.style.top = \"0%\";\r\n rootEl.style.pointerEvents = \"auto\";\r\n _self.render();\r\n }\r\n };\r\n _self.hide = function () {\r\n if (_self.isDisplayed()) {\r\n rootEl.style.top = \"-100%\";\r\n rootEl.style.pointerEvents = \"none\";\r\n document.head.removeChild(tempStyleEl);\r\n document.body.removeChild(rootEl);\r\n }\r\n };\r\n _self.render = function () {\r\n if (_self.isDisplayed()) {\r\n var excludedTypes_1 = filterList.getCurrentFilter();\r\n arrForEach(msgTracker, function (entry) {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n if (!entry.isMatch(textFilter, config.excludeKeys, config.includeFunctions)) {\r\n return;\r\n }\r\n var type = entry.getKind();\r\n var allowOther = arrIndexOf(excludedTypes_1, \"other\") === -1; // Other types are not excluded\r\n if (arrIndexOf(trackers, type) === -1 && !allowOther) {\r\n // Not a tracked type and we are not allowing other types\r\n return;\r\n }\r\n else if (arrIndexOf(excludedTypes_1, type) !== -1) {\r\n // This type is explicitly excluded\r\n return;\r\n }\r\n var newEl = entry.render(textFilter, config.excludeKeys, config.includeFunctions);\r\n if (newEl) {\r\n loggerEl.appendChild(newEl);\r\n }\r\n });\r\n }\r\n };\r\n function clearEvents() {\r\n var newEvents = [];\r\n arrForEach(msgTracker, function (entry) {\r\n if (entry.isKeep()) {\r\n newEvents.push(entry);\r\n }\r\n else {\r\n var el = entry.getEl();\r\n if (el && el.parentElement) {\r\n el.parentElement.removeChild(el);\r\n }\r\n }\r\n });\r\n msgTracker = newEvents;\r\n _self.render();\r\n }\r\n function closeDashboard() {\r\n _self.hide();\r\n }\r\n function _createLogger(hostDiv, prefix, trackers) {\r\n loggerEl = document.createElement(\"div\");\r\n loggerEl.className = \"\".concat(prefix, \"-dbg-lgr\");\r\n var controlDiv = document.createElement(\"div\");\r\n controlDiv.className = \"controls\";\r\n var textFilterInput = document.createElement(\"input\");\r\n textFilterInput.className = \"text-filter-input\";\r\n textFilterInput.setAttribute(\"placeholder\", \"filter text\");\r\n textFilterInput.onchange = function (evt) {\r\n _self.setTextFilter(textFilterInput.value);\r\n };\r\n textFilterInput.onblur = function (evt) {\r\n _self.setTextFilter(textFilterInput.value);\r\n };\r\n textFilterInput.onkeyup = function (evt) {\r\n if (keyupTimer != null) {\r\n clearTimeout(keyupTimer);\r\n }\r\n var newValue = textFilterInput.value;\r\n if (newValue !== _self.getTextFilter()) {\r\n keyupTimer = setTimeout(function () {\r\n keyupTimer = null;\r\n _self.setTextFilter(textFilterInput.value);\r\n }, 200);\r\n }\r\n };\r\n controlDiv.appendChild(textFilterInput);\r\n var copyButton = document.createElement(\"button\");\r\n copyButton.innerText = \"copy current node\";\r\n copyButton.className = \"btn-secondary\";\r\n copyButton.onclick = copySelectedTree;\r\n copyButton.ontouchend = copySelectedTree;\r\n var keyupTimer = null;\r\n filterList = new FilterList(controlDiv, trackers.slice(0), function () { return _self.render(); });\r\n controlDiv.appendChild(copyButton);\r\n var clearEventsBtn = document.createElement(\"button\");\r\n clearEventsBtn.innerText = \"clear events\";\r\n clearEventsBtn.className = \"btn-secondary\";\r\n clearEventsBtn.onclick = clearEvents;\r\n clearEventsBtn.ontouchend = clearEvents;\r\n controlDiv.appendChild(clearEventsBtn);\r\n var closeEventsBtn = document.createElement(\"button\");\r\n closeEventsBtn.id = \"close-dashboard\";\r\n closeEventsBtn.innerText = \"close dashboard\";\r\n closeEventsBtn.className = \"btn-primary\";\r\n closeEventsBtn.onclick = closeDashboard;\r\n closeEventsBtn.ontouchend = closeDashboard;\r\n controlDiv.appendChild(closeEventsBtn);\r\n hostDiv.appendChild(controlDiv);\r\n hostDiv.appendChild(loggerEl);\r\n }\r\n });\r\n }\r\n Dashboard.prototype.getElm = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.isDisplayed = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return false;\r\n };\r\n Dashboard.prototype.getTextFilter = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.setTextFilter = function (value) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.getTrackers = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n Dashboard.prototype.newLogEntry = function (target, tm, key, level, kind, keep) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.render = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.show = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n Dashboard.prototype.hide = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n return Dashboard;\r\n}());\r\nexport { Dashboard };\r\n//# sourceMappingURL=Dashboard.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;6CA8BM,CAAC;;;;;;qBACc;AACrB;AACA;AACA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 2.8.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 2.8.5-nightly.2206-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { isBoolean, isNumber, isObject, isString, objToString } from "@microsoft/applicationinsights-core-js";
|
package/package.json
CHANGED
|
@@ -1,54 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
-
"version": "2.8.
|
|
4
|
-
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
-
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/applicationinsights-debugplugin-js.js",
|
|
8
|
-
"module": "dist-esm/applicationinsights-debugplugin-js.js",
|
|
9
|
-
"types": "types/applicationinsights-debugplugin-js.d.ts",
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-debugplugin-js"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
17
|
-
"build:esm": "grunt debugplugin",
|
|
18
|
-
"build:browser": "rollup -c",
|
|
19
|
-
"rebuild": "npm run build",
|
|
20
|
-
"test": "",
|
|
21
|
-
"lint": "tslint -p tsconfig.json",
|
|
22
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
23
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
27
|
-
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
|
|
28
|
-
"@microsoft/api-extractor": "^7.18.1",
|
|
29
|
-
"typescript": "^4.3.4",
|
|
30
|
-
"tslib": "^2.0.0",
|
|
31
|
-
"grunt": "^1.5.3",
|
|
32
|
-
"grunt-cli": "^1.4.3",
|
|
33
|
-
"grunt-contrib-qunit": "^5.0.1",
|
|
34
|
-
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
35
|
-
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
36
|
-
"globby": "^11.0.0",
|
|
37
|
-
"magic-string": "^0.25.7",
|
|
38
|
-
"@rollup/plugin-commonjs": "^18.0.0",
|
|
39
|
-
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
40
|
-
"@rollup/plugin-replace": "^2.3.3",
|
|
41
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
42
|
-
"rollup": "^2.32.0"
|
|
43
|
-
},
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"tslib": "*"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@microsoft/dynamicproto-js": "^1.1.6",
|
|
49
|
-
"@microsoft/applicationinsights-common": "2.8.
|
|
50
|
-
"@microsoft/applicationinsights-core-js": "2.8.
|
|
51
|
-
"@microsoft/applicationinsights-shims": "2.0.1"
|
|
52
|
-
},
|
|
53
|
-
"license": "MIT"
|
|
54
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
+
"version": "2.8.5-nightly.2206-04",
|
|
4
|
+
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
+
"author": "Microsoft Application Insights Team",
|
|
7
|
+
"main": "dist/applicationinsights-debugplugin-js.js",
|
|
8
|
+
"module": "dist-esm/applicationinsights-debugplugin-js.js",
|
|
9
|
+
"types": "types/applicationinsights-debugplugin-js.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-debugplugin-js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
17
|
+
"build:esm": "grunt debugplugin",
|
|
18
|
+
"build:browser": "rollup -c",
|
|
19
|
+
"rebuild": "npm run build",
|
|
20
|
+
"test": "",
|
|
21
|
+
"lint": "tslint -p tsconfig.json",
|
|
22
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
23
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
27
|
+
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
|
|
28
|
+
"@microsoft/api-extractor": "^7.18.1",
|
|
29
|
+
"typescript": "^4.3.4",
|
|
30
|
+
"tslib": "^2.0.0",
|
|
31
|
+
"grunt": "^1.5.3",
|
|
32
|
+
"grunt-cli": "^1.4.3",
|
|
33
|
+
"grunt-contrib-qunit": "^5.0.1",
|
|
34
|
+
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
35
|
+
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
36
|
+
"globby": "^11.0.0",
|
|
37
|
+
"magic-string": "^0.25.7",
|
|
38
|
+
"@rollup/plugin-commonjs": "^18.0.0",
|
|
39
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
40
|
+
"@rollup/plugin-replace": "^2.3.3",
|
|
41
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
42
|
+
"rollup": "^2.32.0"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"tslib": "*"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@microsoft/dynamicproto-js": "^1.1.6",
|
|
49
|
+
"@microsoft/applicationinsights-common": "2.8.5-nightly.2206-04",
|
|
50
|
+
"@microsoft/applicationinsights-core-js": "2.8.5-nightly.2206-04",
|
|
51
|
+
"@microsoft/applicationinsights-shims": "2.0.1"
|
|
52
|
+
},
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"tag": "nightly"
|
|
56
|
+
}
|
|
57
|
+
}
|