@microsoft/applicationinsights-debugplugin-js 2.7.5-nightly.2203-03 → 2.7.5

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.
Files changed (65) hide show
  1. package/browser/{ai.dbg.2.7.5-nightly.2203-03.cjs.js → ai.dbg.2.7.5.cjs.js} +483 -1040
  2. package/browser/ai.dbg.2.7.5.cjs.js.map +1 -0
  3. package/browser/ai.dbg.2.7.5.cjs.min.js +6 -0
  4. package/browser/ai.dbg.2.7.5.cjs.min.js.map +1 -0
  5. package/browser/{ai.dbg.2.7.5-nightly.2203-03.gbl.js → ai.dbg.2.7.5.gbl.js} +483 -1040
  6. package/browser/ai.dbg.2.7.5.gbl.js.map +1 -0
  7. package/browser/ai.dbg.2.7.5.gbl.min.js +6 -0
  8. package/browser/ai.dbg.2.7.5.gbl.min.js.map +1 -0
  9. package/browser/ai.dbg.2.7.5.integrity.json +66 -0
  10. package/browser/{ai.dbg.2.7.5-nightly.2203-03.js → ai.dbg.2.7.5.js} +483 -1040
  11. package/browser/ai.dbg.2.7.5.js.map +1 -0
  12. package/browser/ai.dbg.2.7.5.min.js +6 -0
  13. package/browser/ai.dbg.2.7.5.min.js.map +1 -0
  14. package/browser/ai.dbg.2.cjs.js +482 -1039
  15. package/browser/ai.dbg.2.cjs.js.map +1 -1
  16. package/browser/ai.dbg.2.cjs.min.js +2 -2
  17. package/browser/ai.dbg.2.cjs.min.js.map +1 -1
  18. package/browser/ai.dbg.2.gbl.js +482 -1039
  19. package/browser/ai.dbg.2.gbl.js.map +1 -1
  20. package/browser/ai.dbg.2.gbl.min.js +2 -2
  21. package/browser/ai.dbg.2.gbl.min.js.map +1 -1
  22. package/browser/ai.dbg.2.js +482 -1039
  23. package/browser/ai.dbg.2.js.map +1 -1
  24. package/browser/ai.dbg.2.min.js +2 -2
  25. package/browser/ai.dbg.2.min.js.map +1 -1
  26. package/dist/applicationinsights-debugplugin-js.api.json +17 -10
  27. package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
  28. package/dist/applicationinsights-debugplugin-js.js +482 -1039
  29. package/dist/applicationinsights-debugplugin-js.js.map +1 -1
  30. package/dist/applicationinsights-debugplugin-js.min.js +2 -2
  31. package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
  32. package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
  33. package/dist-esm/DebugPlugin.js +8 -8
  34. package/dist-esm/DebugPlugin.js.map +1 -1
  35. package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
  36. package/dist-esm/components/Dashboard.js +5 -5
  37. package/dist-esm/components/Dashboard.js.map +1 -1
  38. package/dist-esm/components/LogEntry.js +3 -3
  39. package/dist-esm/components/LogEntry.js.map +1 -1
  40. package/dist-esm/components/debugBins.js +1 -1
  41. package/dist-esm/components/filterList.js +3 -2
  42. package/dist-esm/components/filterList.js.map +1 -1
  43. package/dist-esm/components/helpers.js +4 -4
  44. package/dist-esm/components/helpers.js.map +1 -1
  45. package/dist-esm/components/styleNodeSrc.js +1 -1
  46. package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
  47. package/package.json +54 -57
  48. package/src/DebugPlugin.ts +7 -7
  49. package/src/components/Dashboard.ts +4 -4
  50. package/src/components/LogEntry.ts +2 -2
  51. package/src/components/debugBins.ts +6 -7
  52. package/src/components/filterList.ts +3 -1
  53. package/src/components/helpers.ts +48 -58
  54. package/src/components/styleNodeSrc.ts +33 -33
  55. package/types/tsdoc-metadata.json +1 -1
  56. package/browser/ai.dbg.2.7.5-nightly.2203-03.cjs.js.map +0 -1
  57. package/browser/ai.dbg.2.7.5-nightly.2203-03.cjs.min.js +0 -6
  58. package/browser/ai.dbg.2.7.5-nightly.2203-03.cjs.min.js.map +0 -1
  59. package/browser/ai.dbg.2.7.5-nightly.2203-03.gbl.js.map +0 -1
  60. package/browser/ai.dbg.2.7.5-nightly.2203-03.gbl.min.js +0 -6
  61. package/browser/ai.dbg.2.7.5-nightly.2203-03.gbl.min.js.map +0 -1
  62. package/browser/ai.dbg.2.7.5-nightly.2203-03.integrity.json +0 -66
  63. package/browser/ai.dbg.2.7.5-nightly.2203-03.js.map +0 -1
  64. package/browser/ai.dbg.2.7.5-nightly.2203-03.min.js +0 -6
  65. package/browser/ai.dbg.2.7.5-nightly.2203-03.min.js.map +0 -1
package/package.json CHANGED
@@ -1,57 +1,54 @@
1
- {
2
- "name": "@microsoft/applicationinsights-debugplugin-js",
3
- "version": "2.7.5-nightly.2203-03",
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.4.1",
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.4",
49
- "@microsoft/applicationinsights-common": "2.7.5-nightly.2203-03",
50
- "@microsoft/applicationinsights-core-js": "2.7.5-nightly.2203-03",
51
- "@microsoft/applicationinsights-shims": "2.0.1"
52
- },
53
- "license": "MIT",
54
- "publishConfig": {
55
- "tag": "nightly"
56
- }
57
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-debugplugin-js",
3
+ "version": "2.7.5",
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.4.1",
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.5",
49
+ "@microsoft/applicationinsights-common": "2.7.5",
50
+ "@microsoft/applicationinsights-core-js": "2.7.5",
51
+ "@microsoft/applicationinsights-shims": "2.0.1"
52
+ },
53
+ "license": "MIT"
54
+ }
@@ -5,7 +5,7 @@ import {
5
5
  BaseTelemetryPlugin, IConfiguration, arrForEach,
6
6
  IAppInsightsCore, IPlugin, ITelemetryItem, IProcessTelemetryContext, _InternalLogMessage, _InternalMessageId,
7
7
  ITelemetryPluginChain, InstrumentFunc, IInstrumentCallDetails, InstrumentorHooksCallback, IPerfEvent, IChannelControls,
8
- objForEachKey, isFunction, dateNow, isArray, isUndefined, getDebugExt
8
+ objForEachKey, isFunction, dateNow, isArray, isUndefined, getDebugExt, arrIndexOf
9
9
  } from "@microsoft/applicationinsights-core-js";
10
10
  import { Dashboard } from "./components/Dashboard";
11
11
  import { getTargetName } from "./components/helpers";
@@ -162,16 +162,16 @@ export default class DebugPlugin extends BaseTelemetryPlugin {
162
162
  }
163
163
  });
164
164
 
165
- if (trackers.indexOf("eventsSent") !== -1) {
165
+ if (arrIndexOf(trackers, "eventsSent") !== -1) {
166
166
  foundTrackers.push("eventsSent");
167
167
  }
168
- if (trackers.indexOf("eventsSendRequest") !== -1) {
168
+ if (arrIndexOf(trackers, "eventsSendRequest") !== -1) {
169
169
  foundTrackers.push("eventsSendRequest");
170
170
  }
171
- if (trackers.indexOf("eventsDiscarded") !== -1) {
171
+ if (arrIndexOf(trackers, "eventsDiscarded") !== -1) {
172
172
  foundTrackers.push("eventsDiscarded");
173
173
  }
174
- if (trackers.indexOf("perfEvent") !== -1) {
174
+ if (arrIndexOf(trackers, "perfEvent") !== -1) {
175
175
  foundTrackers.push("perfEvent");
176
176
  }
177
177
  }
@@ -217,7 +217,7 @@ export default class DebugPlugin extends BaseTelemetryPlugin {
217
217
  }, true);
218
218
 
219
219
  if (val) {
220
- if (foundTrackers.indexOf(tracker) === -1) {
220
+ if (arrIndexOf(foundTrackers, tracker) === -1) {
221
221
  foundTrackers.push(tracker);
222
222
  }
223
223
  }
@@ -271,7 +271,7 @@ export default class DebugPlugin extends BaseTelemetryPlugin {
271
271
  }
272
272
 
273
273
  function _addTarget(targetObjects: any[], ext:any) {
274
- if (ext && targetObjects.indexOf(ext) === -1) {
274
+ if (ext && arrIndexOf(targetObjects, ext) === -1) {
275
275
  targetObjects.push(ext);
276
276
  return true;
277
277
  }
@@ -1,4 +1,4 @@
1
- import { arrForEach } from "@microsoft/applicationinsights-core-js";
1
+ import { arrForEach, arrIndexOf } from "@microsoft/applicationinsights-core-js";
2
2
  import dynamicProto from "@microsoft/dynamicproto-js";
3
3
  import { tempStyle } from "./styleNodeSrc";
4
4
  import { FilterList } from "./filterList";
@@ -138,11 +138,11 @@ export class Dashboard {
138
138
  }
139
139
 
140
140
  let type = entry.getKind();
141
- let allowOther = excludedTypes.indexOf("other") === -1; // Other types are not excluded
142
- if (trackers.indexOf(type) === -1 && !allowOther) {
141
+ let allowOther = arrIndexOf(excludedTypes, "other") === -1; // Other types are not excluded
142
+ if (arrIndexOf(trackers, type) === -1 && !allowOther) {
143
143
  // Not a tracked type and we are not allowing other types
144
144
  return;
145
- } else if (excludedTypes.indexOf(type) !== -1) {
145
+ } else if (arrIndexOf(excludedTypes, type) !== -1) {
146
146
  // This type is explicitly excluded
147
147
  return;
148
148
  }
@@ -1,4 +1,4 @@
1
- import { isBoolean, isNumber, isObject, isString, objToString } from "@microsoft/applicationinsights-core-js";
1
+ import { isBoolean, isNumber, isObject, isString } from "@microsoft/applicationinsights-core-js";
2
2
  import { makeRegex, traverseAndReplace, toggleClassName, MAX_DEPTH, formatLogElements, getTargetName, getTargetKeys } from "./helpers";
3
3
  import { Util } from "@microsoft/applicationinsights-common";
4
4
 
@@ -44,7 +44,7 @@ export class LogEntry {
44
44
  }
45
45
  }
46
46
  } else if (isString(value) || isNumber(value) || isBoolean(value)) {
47
- return _testValue(rg, objToString(value));
47
+ return _testValue(rg, value.toString());
48
48
  }
49
49
  }
50
50
 
@@ -73,16 +73,15 @@ export class DebugBinParent {
73
73
  if (ch instanceof DebugBin) {
74
74
  if (ch.el.parentElement !== _self.el && _self.showChildren) {
75
75
  _self.el.appendChild(ch.el);
76
- } else if (ch.el.parentElement === _self.el && !_self.showChildren) {
77
- _self.el.removeChild(ch.el);
78
76
  }
79
- } else {
80
- if (_self.showChildren) {
81
- _self.el.appendChild(ch);
82
- } else {
83
- _self.el.removeChild(ch);
77
+ else if (ch.el.parentElement === _self.el && !_self.showChildren) {
78
+ _self.el.removeChild(ch.el);
84
79
  }
85
80
  }
81
+ else {
82
+ if (_self.showChildren) { _self.el.appendChild(ch); }
83
+ else { _self.el.removeChild(ch); }
84
+ }
86
85
  }
87
86
  }
88
87
  }
@@ -1,6 +1,8 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
3
 
4
+ import { arrIndexOf } from "@microsoft/applicationinsights-core-js";
5
+
4
6
  export class FilterList {
5
7
 
6
8
  private el: HTMLElement;
@@ -70,7 +72,7 @@ export class FilterList {
70
72
  (ch.childNodes[0] as HTMLElement).className = "checkbox off";
71
73
  }
72
74
  }
73
- _self.filterList.splice(_self.filterList.indexOf(t), 1);
75
+ _self.filterList.splice(arrIndexOf(_self.filterList, t), 1);
74
76
  checkbox.className = "checkbox on";
75
77
  } else {
76
78
  if (evt.shiftKey) {
@@ -47,7 +47,8 @@ export function traverseAndReplace(target: Object, maxDepth: number, currentDept
47
47
 
48
48
  if (targetValue !== null && arrIndexOf(thingsReferenced, targetValue) !== -1) {
49
49
  out[key] = `<circular (${key} - "${getTargetName(targetValue)}")>`;
50
- } else if (targetValue !== null && isObject(targetValue)) {
50
+ }
51
+ else if (targetValue !== null && isObject(targetValue)) {
51
52
  if (currentDepth >= maxDepth) {
52
53
  out[key] = "<max allowed depth reached>";
53
54
  } else {
@@ -55,7 +56,8 @@ export function traverseAndReplace(target: Object, maxDepth: number, currentDept
55
56
  out[key] = traverseAndReplace(targetValue, maxDepth, currentDepth + 1, thingsReferenced, excludedKeys, includeFunctions);
56
57
  thingsReferenced.pop();
57
58
  }
58
- } else {
59
+ }
60
+ else {
59
61
  out[key] = targetValue;
60
62
  }
61
63
  }
@@ -127,9 +129,7 @@ export function focusHandler(evt: Event, target: Object, level: number, excludeK
127
129
  }
128
130
  lastSelectedElement = (evt.target as HTMLElement);
129
131
  for (let i = 0; i < 10; i++) {
130
- if (lastSelectedElement.tagName === "DIV") {
131
- break;
132
- }
132
+ if (lastSelectedElement.tagName === "DIV") { break; }
133
133
  lastSelectedElement = lastSelectedElement.parentElement;
134
134
  }
135
135
  lastSelectedElement.className += " last-selected-element";
@@ -139,49 +139,41 @@ export function focusHandler(evt: Event, target: Object, level: number, excludeK
139
139
  function _navHandler(evt: KeyboardEvent, openHandler?: (evt: Event, forceState?: boolean) => void, currentState?: boolean) {
140
140
  const el = evt.target as HTMLElement;
141
141
  switch (evt.which) {
142
- // Enter
143
- case 13: (openHandler) ? openHandler(evt) : void 0; break;
142
+ // Enter
143
+ case 13: (openHandler) ? openHandler(evt) : void 0; break;
144
144
  // ArrowUp
145
- case 38:
146
- evt.preventDefault();
147
- const prev = el.previousElementSibling as HTMLElement;
148
- if (prev && prev.tagName !== "BUTTON") {
149
- prev.focus();
150
- }
151
- break;
145
+ case 38:
146
+ evt.preventDefault();
147
+ const prev = el.previousElementSibling as HTMLElement;
148
+ if (prev && prev.tagName !== "BUTTON") { prev.focus(); }
149
+ break;
152
150
  // ArrowDown
153
- case 40:
154
- evt.preventDefault();
155
- const next = el.nextElementSibling as HTMLElement;
156
- if (next) {
157
- next.focus();
158
- }
159
- break;
151
+ case 40:
152
+ evt.preventDefault();
153
+ const next = el.nextElementSibling as HTMLElement;
154
+ if (next) { next.focus(); }
155
+ break;
160
156
  // ArrowRight
161
- case 39:
162
- if (openHandler) {
163
- openHandler(evt, true);
164
- if (currentState) {
165
- (el.firstElementChild.nextSibling as HTMLElement).focus();
157
+ case 39:
158
+ if (openHandler) {
159
+ openHandler(evt, true);
160
+ if (currentState) {
161
+ (el.firstElementChild.nextSibling as HTMLElement).focus();
162
+ }
166
163
  }
167
- }
168
- break;
164
+ break;
169
165
  // ArrowLeft
170
- case 37:
171
- if (openHandler) {
172
- openHandler(evt, false);
173
- }
174
- if (!currentState) {
175
- (el.parentElement as HTMLElement).focus();
176
- }
177
- break;
166
+ case 37:
167
+ if (openHandler) { openHandler(evt, false); }
168
+ if (!currentState) { (el.parentElement as HTMLElement).focus(); }
169
+ break;
178
170
  // c
179
- case 67:
180
- if (evt.ctrlKey) {
181
- copySelectedTree();
182
- (evt.target as HTMLElement).focus();
183
- }
184
- break;
171
+ case 67:
172
+ if (evt.ctrlKey) {
173
+ copySelectedTree();
174
+ (evt.target as HTMLElement).focus();
175
+ }
176
+ break;
185
177
  }
186
178
  }
187
179
 
@@ -233,7 +225,7 @@ export function getTargetKeys(target: any, excludedKeys: string[], includeFuncti
233
225
  if (propKeys) {
234
226
  arrForEach(propKeys, (key) => {
235
227
  const theKey = _toString(key);
236
- if (theKey && keys.indexOf(theKey) === -1) {
228
+ if (theKey && arrIndexOf(keys, theKey) === -1) {
237
229
  keys.push(key);
238
230
  }
239
231
  });
@@ -253,7 +245,7 @@ export function getTargetKeys(target: any, excludedKeys: string[], includeFuncti
253
245
  }
254
246
 
255
247
  const theKey = _toString(key);
256
- if (theKey && excludedKeys.indexOf(theKey) === -1) {
248
+ if (theKey && arrIndexOf(excludedKeys, theKey) === -1) {
257
249
  theKeys.push(theKey);
258
250
  }
259
251
  });
@@ -298,14 +290,10 @@ export function formatLogElements(target: Object, tmLabel: string, key: string,
298
290
  let matched = false;
299
291
  let childOpened = false;
300
292
  const keys = getTargetKeys(target, excludeKeys, includeFunctions);
301
- if (keys.length === 0) {
302
- keys.push("<empty>");
303
- }
304
- if (level >= MAX_DEPTH) {
305
- keys.unshift("<maxdepth>");
306
- }
293
+ if (keys.length === 0) { keys.push("<empty>"); }
294
+ if (level >= MAX_DEPTH) { keys.unshift("<maxdepth>"); }
307
295
  for (const key of keys) {
308
- if (excludeKeys.indexOf(key) !== -1) {
296
+ if (arrIndexOf(excludeKeys, key) !== -1) {
309
297
  continue;
310
298
  }
311
299
 
@@ -320,17 +308,20 @@ export function formatLogElements(target: Object, tmLabel: string, key: string,
320
308
  builder.innerText = "<max allowed depth reached>";
321
309
  children.push(builder);
322
310
  break;
323
- } else if (key === "<empty>") {
311
+ }
312
+ else if (key === "<empty>") {
324
313
  const builder = document.createElement("div");
325
314
  builder.className = "empty";
326
315
  builder.innerText = "<empty>";
327
316
  children.push(builder);
328
- } else if (targetValue !== null && arrIndexOf(thingsReferenced, targetValue) !== -1) {
317
+ }
318
+ else if (targetValue !== null && arrIndexOf(thingsReferenced, targetValue) !== -1) {
329
319
  const builder = document.createElement("div");
330
320
  builder.className = "empty";
331
321
  builder.innerText = `<circular (${key}) - "${getTargetName(targetValue)}">`;
332
322
  children.push(builder);
333
- } else if (targetValue !== null && (isObject(targetValue) || Util.isError(targetValue))) {
323
+ }
324
+ else if (targetValue !== null && (isObject(targetValue) || Util.isError(targetValue))) {
334
325
  thingsReferenced.push(target);
335
326
  let formatted = formatLogElements(targetValue, null, key, level + 1, textFilter, excludeKeys, thingsReferenced, includeFunctions);
336
327
  thingsReferenced.pop();
@@ -430,9 +421,7 @@ export function formatLogElements(target: Object, tmLabel: string, key: string,
430
421
  _openNode(currentLine);
431
422
  }
432
423
  if (isObj) {
433
- if (isErr) {
434
- rootDiv.className = "exception"
435
- }
424
+ if (isErr) { rootDiv.className = "exception" }
436
425
  const openHandler = (evt: Event, forceState?: boolean) => {
437
426
  evt.stopPropagation();
438
427
  if (Util.getIEVersion()) {
@@ -444,7 +433,8 @@ export function formatLogElements(target: Object, tmLabel: string, key: string,
444
433
  if (lastSelectedElement === rootDiv) {
445
434
  if (openState) {
446
435
  _collapseNode(currentLine);
447
- } else {
436
+ }
437
+ else {
448
438
  _openNode(currentLine);
449
439
  }
450
440
  }
@@ -4,15 +4,15 @@
4
4
  import { Util } from "@microsoft/applicationinsights-common";
5
5
 
6
6
  const BG_INFO = "#F0F6FF",
7
- BG_ERROR = "#FEF0F1",
8
- ICON_ERROR = "#E00B1C",
9
- BTN_PRIMARY = "#0078d4",
10
- BTN_HOVER = "#106EBE",
11
- BTN_ACTIVE = "#005A9E",
12
- TEXT_PRIMARY = "#323130",
13
- TEXT_MATCHED = "yellow",
14
- BORDER_GREY_160 = "1px solid #605E5C",
15
- BORDER_GREY_60 = "1px solid #B3B0AD";
7
+ BG_ERROR = "#FEF0F1",
8
+ ICON_ERROR = "#E00B1C",
9
+ BTN_PRIMARY = "#0078d4",
10
+ BTN_HOVER = "#106EBE",
11
+ BTN_ACTIVE = "#005A9E",
12
+ TEXT_PRIMARY = "#323130",
13
+ TEXT_MATCHED = "yellow",
14
+ BORDER_GREY_160 = "1px solid #605E5C",
15
+ BORDER_GREY_60 = "1px solid #B3B0AD";
16
16
 
17
17
  console.log(Util.getIEVersion());
18
18
 
@@ -66,15 +66,15 @@ export const tempStyle = (prefix: string) => `
66
66
  }
67
67
 
68
68
  ${Util.getIEVersion() && Util.getIEVersion() < 9
69
- ? ""
70
- : `.${prefix}-dbg-lgr .tree-root div::before {
69
+ ? ""
70
+ : `.${prefix}-dbg-lgr .tree-root div::before {
71
71
  content: '';
72
72
  position: absolute;
73
73
  left: -1.25em;
74
74
  height: 100%;
75
75
  border-right: 2px dotted #CCCCCC;
76
76
  }`
77
- }
77
+ }
78
78
 
79
79
  .${prefix}-dbg-lgr .tree-root div:hover::before {
80
80
  border-right: 2px solid #000;
@@ -111,8 +111,8 @@ export const tempStyle = (prefix: string) => `
111
111
  }
112
112
 
113
113
  ${Util.getIEVersion() && Util.getIEVersion() < 9
114
- ? ""
115
- : `.${prefix}-dbg-lgr .expandable.open::before {
114
+ ? ""
115
+ : `.${prefix}-dbg-lgr .expandable.open::before {
116
116
  content: '[-] ';
117
117
  font-weight: bold;
118
118
  }
@@ -121,7 +121,7 @@ export const tempStyle = (prefix: string) => `
121
121
  content: '[+] ';
122
122
  font-weight: bold;
123
123
  }`
124
- }
124
+ }
125
125
 
126
126
  .${prefix}-dbg-lgr div:hover > .obj-key {
127
127
  text-decoration: underline;
@@ -218,8 +218,8 @@ export const tempStyle = (prefix: string) => `
218
218
  }
219
219
 
220
220
  ${Util.getIEVersion() && Util.getIEVersion() < 9
221
- ? ""
222
- : `.${prefix}-dbg-lgr-dashboard .filterlist-input::after {
221
+ ? ""
222
+ : `.${prefix}-dbg-lgr-dashboard .filterlist-input::after {
223
223
  content: '';
224
224
  width: 8px;
225
225
  height: 8px;
@@ -232,7 +232,7 @@ export const tempStyle = (prefix: string) => `
232
232
  border-top: none;
233
233
  border-left: none;
234
234
  }`
235
- }
235
+ }
236
236
 
237
237
  .${prefix}-dbg-lgr-dashboard .filterlist-input:focus {
238
238
  border: ${BORDER_GREY_60}
@@ -296,8 +296,8 @@ export const tempStyle = (prefix: string) => `
296
296
  }
297
297
 
298
298
  ${Util.getIEVersion() && Util.getIEVersion() < 9
299
- ? ""
300
- : `.${prefix}-dbg-lgr-dashboard .checkbox.on::after {
299
+ ? ""
300
+ : `.${prefix}-dbg-lgr-dashboard .checkbox.on::after {
301
301
  content: '';
302
302
  width: 5px;
303
303
  height: 10px;
@@ -309,7 +309,7 @@ export const tempStyle = (prefix: string) => `
309
309
  border-top: none;
310
310
  border-left: none;
311
311
  }`
312
- }
312
+ }
313
313
 
314
314
 
315
315
  .${prefix}-dbg-lgr-dashboard .checkbox.off {
@@ -317,14 +317,14 @@ export const tempStyle = (prefix: string) => `
317
317
  }
318
318
 
319
319
  ${Util.getIEVersion() && Util.getIEVersion() < 9
320
- ? ""
321
- : `@media only screen and (max-width: 600px) {
320
+ ? ""
321
+ : `@media only screen and (max-width: 600px) {
322
322
  .${prefix}-dbg-lgr {
323
323
  width: 100%;
324
324
  min-width: 200px;
325
325
  }
326
326
  }`
327
- }
327
+ }
328
328
 
329
329
  `;
330
330
 
@@ -332,13 +332,13 @@ export const permStyle = (prefix: string) => `
332
332
  .${prefix}-debug-bin-container {
333
333
  position: fixed;
334
334
  ${Util.getIEVersion() && Util.getIEVersion() < 9
335
- ? `width: 100%;
335
+ ? `width: 100%;
336
336
  height: 100%;
337
337
  top: 0;
338
338
  left: 0;`
339
- : `width: 100vw;
339
+ : `width: 100vw;
340
340
  height: 100vh;`
341
- }
341
+ }
342
342
  pointer-events: none;
343
343
  }
344
344
 
@@ -411,11 +411,11 @@ export const permStyle = (prefix: string) => `
411
411
  }
412
412
 
413
413
  ${Util.getIEVersion() && Util.getIEVersion() < 9
414
- ? ""
415
- : `.${prefix}-debug-bin-parent.notify::after {
414
+ ? ""
415
+ : `.${prefix}-debug-bin-parent.notify::after {
416
416
  content: " (!)";
417
417
  }`
418
- }
418
+ }
419
419
 
420
420
  .${prefix}-debug-bin-parent .el-value.incremented {
421
421
  transform: scale(1.5);
@@ -424,11 +424,11 @@ export const permStyle = (prefix: string) => `
424
424
  }
425
425
 
426
426
  ${Util.getIEVersion() && Util.getIEVersion() < 9
427
- ? ""
428
- : `.${prefix}-debug-bin-parent:focus > span::before,
427
+ ? ""
428
+ : `.${prefix}-debug-bin-parent:focus > span::before,
429
429
  .${prefix}-debug-bin-parent:hover > span::before,
430
430
  .${prefix}-debug-bin-parent.active > span::before {
431
431
  content: attr(data-name) ": ";
432
432
  }`
433
- }
433
+ }
434
434
  `
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.19.5"
8
+ "packageVersion": "7.23.0"
9
9
  }
10
10
  ]
11
11
  }