@microsoft/applicationinsights-clickanalytics-js 3.3.5-nightly3.2411-12 → 3.3.5-nightly3.2411-13

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 (47) hide show
  1. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.cjs.js → ai.clck.3.3.5-nightly3.2411-13.cjs.js} +4 -4
  2. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.cjs.js.map → ai.clck.3.3.5-nightly3.2411-13.cjs.js.map} +1 -1
  3. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.cjs.min.js → ai.clck.3.3.5-nightly3.2411-13.cjs.min.js} +3 -3
  4. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.cjs.min.js.map → ai.clck.3.3.5-nightly3.2411-13.cjs.min.js.map} +1 -1
  5. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.gbl.js → ai.clck.3.3.5-nightly3.2411-13.gbl.js} +6 -6
  6. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.gbl.js.map → ai.clck.3.3.5-nightly3.2411-13.gbl.js.map} +1 -1
  7. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.gbl.min.js → ai.clck.3.3.5-nightly3.2411-13.gbl.min.js} +3 -3
  8. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.gbl.min.js.map → ai.clck.3.3.5-nightly3.2411-13.gbl.min.js.map} +1 -1
  9. package/browser/es5/ai.clck.3.3.5-nightly3.2411-13.integrity.json +66 -0
  10. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.js → ai.clck.3.3.5-nightly3.2411-13.js} +6 -6
  11. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.js.map → ai.clck.3.3.5-nightly3.2411-13.js.map} +1 -1
  12. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.min.js → ai.clck.3.3.5-nightly3.2411-13.min.js} +3 -3
  13. package/browser/es5/{ai.clck.3.3.5-nightly3.2411-12.min.js.map → ai.clck.3.3.5-nightly3.2411-13.min.js.map} +1 -1
  14. package/browser/es5/ai.clck.3.cjs.js +3 -3
  15. package/browser/es5/ai.clck.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.clck.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.clck.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.clck.3.gbl.js +5 -5
  19. package/browser/es5/ai.clck.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.clck.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.clck.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.clck.3.integrity.json +25 -25
  23. package/browser/es5/ai.clck.3.js +5 -5
  24. package/browser/es5/ai.clck.3.js.map +1 -1
  25. package/browser/es5/ai.clck.3.min.js +2 -2
  26. package/browser/es5/ai.clck.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-clickanalytics-js.js +3 -3
  28. package/dist/es5/applicationinsights-clickanalytics-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-clickanalytics-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-clickanalytics-js.min.js.map +1 -1
  31. package/dist-es5/Behaviours.js +1 -1
  32. package/dist-es5/ClickAnalyticsPlugin.js +2 -2
  33. package/dist-es5/ClickAnalyticsPlugin.js.map +1 -1
  34. package/dist-es5/DataCollector.js +1 -1
  35. package/dist-es5/Enums.js +1 -1
  36. package/dist-es5/Interfaces/Datamodel.js +1 -1
  37. package/dist-es5/__DynamicConstants.js +1 -1
  38. package/dist-es5/applicationinsights-clickanalytics-js.js +1 -1
  39. package/dist-es5/common/Utils.js +1 -1
  40. package/dist-es5/events/PageAction.js +1 -1
  41. package/dist-es5/events/WebEvent.js +1 -1
  42. package/dist-es5/handlers/AutoCaptureHandler.js +1 -1
  43. package/dist-es5/handlers/DomContentHandler.js +1 -1
  44. package/package.json +4 -4
  45. package/types/applicationinsights-clickanalytics-js.d.ts +1 -1
  46. package/types/applicationinsights-clickanalytics-js.namespaced.d.ts +6 -8
  47. package/browser/es5/ai.clck.3.3.5-nightly3.2411-12.integrity.json +0 -66
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -146,7 +146,7 @@ var ClickAnalyticsPlugin = /** @class */ (function (_super) {
146
146
  // Removed Stub for ClickAnalyticsPlugin.prototype.initialize.
147
147
  // Removed Stub for ClickAnalyticsPlugin.prototype.processTelemetry.
148
148
  // Removed Stub for ClickAnalyticsPlugin.prototype.trackPageAction.
149
- ClickAnalyticsPlugin.Version = '3.3.5-nightly3.2411-12';
149
+ ClickAnalyticsPlugin.Version = '3.3.5-nightly3.2411-13';
150
150
  return ClickAnalyticsPlugin;
151
151
  }(BaseTelemetryPlugin));
152
152
  export { ClickAnalyticsPlugin };
@@ -1 +1 @@
1
- {"version":3,"file":"ClickAnalyticsPlugin.js.map","sources":["ClickAnalyticsPlugin.js"],"sourcesContent":["/**\r\n* @copyright Microsoft 2020\r\n*/\r\nvar _a, _b, _c, _d;\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { PropertiesPluginIdentifier } from \"@microsoft/applicationinsights-common\";\r\nimport { BaseTelemetryPlugin, _throwInternal, arrForEach, cfgDfFunc, cfgDfMerge, cfgDfString, cfgDfValidate, createProcessTelemetryContext, dumpObj, getExceptionName, isNullOrUndefined, onConfigChange, throwError, unloadComponents } from \"@microsoft/applicationinsights-core-js\";\r\nimport { getDocument, hasDocument, objDeepFreeze, strSubstring, strTrim } from \"@nevware21/ts-utils\";\r\nimport { _DYN_BEHAVIOR_VALIDATOR, _DYN_CAPTURE_ALL_META_DAT2, _DYN_CONTENT_NAME, _DYN_DEFAULT_RIGHT_CLICK_3, _DYN_INDEX_OF, _DYN_LENGTH, _DYN_META_DATA_PREFIX, _DYN_PAGE_ACTION_PAGE_TAG0, _DYN_PAGE_NAME, _DYN_PAGE_TYPE, _DYN_PARENT_DATA_TAG, _DYN_REQUEST_URI, _DYN_TRACK_PAGE_ACTION, _DYN_USE_DEFAULT_CONTENT_1, _DYN__DO_UNLOAD } from \"./__DynamicConstants\";\r\nimport { BehaviorEnumValidator, BehaviorMapValidator, BehaviorValueValidator, DEFAULT_AI_BLOB_ATTRIBUTE_TAG, DEFAULT_DATA_PREFIX, DEFAULT_DONOT_TRACK_TAG } from \"./common/Utils\";\r\nimport { PageAction } from \"./events/PageAction\";\r\nimport { AutoCaptureHandler } from \"./handlers/AutoCaptureHandler\";\r\nimport { DomContentHandler } from \"./handlers/DomContentHandler\";\r\nexport { BehaviorMapValidator, BehaviorValueValidator, BehaviorEnumValidator };\r\nvar defaultValues = objDeepFreeze((_a = {\r\n autoCapture: true,\r\n callback: cfgDfMerge((_b = {},\r\n _b[_DYN_PAGE_ACTION_PAGE_TAG0 /* @min:pageActionPageTags */] = cfgDfFunc(),\r\n _b[_DYN_PAGE_NAME /* @min:pageName */] = cfgDfFunc(),\r\n _b[_DYN_CONTENT_NAME /* @min:contentName */] = cfgDfFunc(),\r\n _b)),\r\n pageTags: {},\r\n coreData: cfgDfMerge((_c = {\r\n referrerUri: hasDocument() ? getDocument().referrer : \"\"\r\n },\r\n _c[_DYN_REQUEST_URI /* @min:requestUri */] = cfgDfString(),\r\n _c[_DYN_PAGE_NAME /* @min:pageName */] = cfgDfString(),\r\n _c[_DYN_PAGE_TYPE /* @min:pageType */] = cfgDfString(),\r\n _c)),\r\n dataTags: cfgDfMerge((_d = {},\r\n _d[_DYN_USE_DEFAULT_CONTENT_1 /* @min:useDefaultContentNameOrId */] = false,\r\n _d.aiBlobAttributeTag = DEFAULT_AI_BLOB_ATTRIBUTE_TAG,\r\n _d.customDataPrefix = cfgDfValidate(_dataPrefixChk, DEFAULT_DATA_PREFIX),\r\n _d[_DYN_CAPTURE_ALL_META_DAT2 /* @min:captureAllMetaDataContent */] = false,\r\n _d.dntDataTag = DEFAULT_DONOT_TRACK_TAG,\r\n _d[_DYN_META_DATA_PREFIX /* @min:metaDataPrefix */] = cfgDfString(),\r\n _d[_DYN_PARENT_DATA_TAG /* @min:parentDataTag */] = cfgDfString(),\r\n _d))\r\n },\r\n _a[_DYN_BEHAVIOR_VALIDATOR /* @min:behaviorValidator */] = cfgDfFunc(function (key) { return key || \"\"; }),\r\n _a[_DYN_DEFAULT_RIGHT_CLICK_3 /* @min:defaultRightClickBhvr */] = cfgDfString(),\r\n _a.dropInvalidEvents = false,\r\n _a.urlCollectHash = false,\r\n _a.urlCollectQuery = false,\r\n _a));\r\nfunction _dataPrefixChk(val) {\r\n return val && val[_DYN_INDEX_OF /* @min:%2eindexOf */](DEFAULT_DATA_PREFIX) === 0;\r\n}\r\nvar ClickAnalyticsPlugin = /** @class */ (function (_super) {\r\n __extends(ClickAnalyticsPlugin, _super);\r\n function ClickAnalyticsPlugin() {\r\n var _this = _super.call(this) || this;\r\n _this.identifier = \"ClickAnalyticsPlugin\";\r\n _this.priority = 181;\r\n var _config;\r\n var _pageAction;\r\n var _autoCaptureHandler;\r\n var _contentHandler;\r\n var _autoCapture;\r\n dynamicProto(ClickAnalyticsPlugin, _this, function (_self, _base) {\r\n var _identifier = _self.identifier;\r\n _initDefaults();\r\n _self.initialize = function (config, core, extensions, pluginChain) {\r\n if (isNullOrUndefined(core)) {\r\n throwError(\"Error initializing\");\r\n }\r\n _super.prototype.initialize.call(_this, config, core, extensions, pluginChain);\r\n _populateDefaults(config);\r\n // Find the properties plugin.\r\n var _propertiesExtension;\r\n arrForEach(extensions, function (extension) {\r\n if (extension.identifier === PropertiesPluginIdentifier) {\r\n _propertiesExtension = extension;\r\n }\r\n });\r\n // Append Click Analytics Plugin Version to SDK version.\r\n if (_propertiesExtension && _propertiesExtension.context && _propertiesExtension.context.internal) {\r\n var theVersion = _propertiesExtension.context.internal.sdkVersion;\r\n if (theVersion) {\r\n theVersion += \"_ClickPlugin\" + ClickAnalyticsPlugin.Version;\r\n if (theVersion[_DYN_LENGTH /* @min:%2elength */] > 64) {\r\n theVersion = strTrim(strSubstring(theVersion, 0, 64));\r\n }\r\n _propertiesExtension.context.internal.sdkVersion = theVersion;\r\n }\r\n }\r\n };\r\n _self.processTelemetry = function (env, itemCtx) {\r\n _self.processNext(env, itemCtx);\r\n };\r\n _self[_DYN_TRACK_PAGE_ACTION /* @min:%2etrackPageAction */] = function (pageAction, customProperties) {\r\n try {\r\n _pageAction[_DYN_TRACK_PAGE_ACTION /* @min:%2etrackPageAction */](pageAction, customProperties);\r\n }\r\n catch (e) {\r\n _throwInternal(_self.diagLog(), 1 /* eLoggingSeverity.CRITICAL */, 103 /* _eInternalMessageId.TrackPageActionEventFailed */, \"trackPageAction failed, page action event will not be collected: \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n };\r\n _self._doTeardown = function (unloadCtx, unloadState, asyncCallback) {\r\n return unloadComponents([\r\n _autoCaptureHandler,\r\n _contentHandler,\r\n _pageAction\r\n ], unloadCtx, unloadState, function () {\r\n _initDefaults();\r\n asyncCallback && asyncCallback();\r\n });\r\n };\r\n function _populateDefaults(config) {\r\n var core = _self.core;\r\n _self._addHook(onConfigChange(config, function (details) {\r\n var config = details.cfg;\r\n var ctx = createProcessTelemetryContext(null, config, core);\r\n var _config = ctx.getExtCfg(_identifier, defaultValues);\r\n var logger = _self.diagLog();\r\n _contentHandler = new DomContentHandler(_config, logger);\r\n var metaTags = _contentHandler.getMetadata();\r\n _pageAction = new PageAction(_self, _config, _contentHandler, _config.callback[_DYN_PAGE_ACTION_PAGE_TAG0 /* @min:%2epageActionPageTags */], metaTags, logger);\r\n // Default to DOM autoCapture handler\r\n if (_autoCaptureHandler) {\r\n _autoCaptureHandler[_DYN__DO_UNLOAD /* @min:%2e_doUnload */]();\r\n }\r\n _autoCaptureHandler = new AutoCaptureHandler(_self, _config, _pageAction, logger);\r\n var autoCapture = !!_config.autoCapture;\r\n if (!_autoCapture && autoCapture) {\r\n _autoCaptureHandler.click();\r\n }\r\n _autoCapture = autoCapture;\r\n }));\r\n }\r\n function _initDefaults() {\r\n _config = null;\r\n _pageAction = null;\r\n _autoCaptureHandler = null;\r\n _contentHandler = null;\r\n _autoCapture = false;\r\n }\r\n });\r\n return _this;\r\n }\r\n ClickAnalyticsPlugin.prototype.initialize = function (config, core, extensions, pluginChain) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ClickAnalyticsPlugin.prototype.processTelemetry = function (env, itemCtx) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Logs a page action event.\r\n * @param IPageActionTelemetry\r\n * @param customProperties - Additional data used to filter events and metrics. Defaults to empty.\r\n */\r\n ClickAnalyticsPlugin.prototype.trackPageAction = function (pageAction, customProperties) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ClickAnalyticsPlugin.Version = '3.3.5-nightly3.2411-12';\r\n return ClickAnalyticsPlugin;\r\n}(BaseTelemetryPlugin));\r\nexport { ClickAnalyticsPlugin };\r\n//# sourceMappingURL=ClickAnalyticsPlugin.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA,gFAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;mEAaM;AACN;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"ClickAnalyticsPlugin.js.map","sources":["ClickAnalyticsPlugin.js"],"sourcesContent":["/**\r\n* @copyright Microsoft 2020\r\n*/\r\nvar _a, _b, _c, _d;\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { PropertiesPluginIdentifier } from \"@microsoft/applicationinsights-common\";\r\nimport { BaseTelemetryPlugin, _throwInternal, arrForEach, cfgDfFunc, cfgDfMerge, cfgDfString, cfgDfValidate, createProcessTelemetryContext, dumpObj, getExceptionName, isNullOrUndefined, onConfigChange, throwError, unloadComponents } from \"@microsoft/applicationinsights-core-js\";\r\nimport { getDocument, hasDocument, objDeepFreeze, strSubstring, strTrim } from \"@nevware21/ts-utils\";\r\nimport { _DYN_BEHAVIOR_VALIDATOR, _DYN_CAPTURE_ALL_META_DAT2, _DYN_CONTENT_NAME, _DYN_DEFAULT_RIGHT_CLICK_3, _DYN_INDEX_OF, _DYN_LENGTH, _DYN_META_DATA_PREFIX, _DYN_PAGE_ACTION_PAGE_TAG0, _DYN_PAGE_NAME, _DYN_PAGE_TYPE, _DYN_PARENT_DATA_TAG, _DYN_REQUEST_URI, _DYN_TRACK_PAGE_ACTION, _DYN_USE_DEFAULT_CONTENT_1, _DYN__DO_UNLOAD } from \"./__DynamicConstants\";\r\nimport { BehaviorEnumValidator, BehaviorMapValidator, BehaviorValueValidator, DEFAULT_AI_BLOB_ATTRIBUTE_TAG, DEFAULT_DATA_PREFIX, DEFAULT_DONOT_TRACK_TAG } from \"./common/Utils\";\r\nimport { PageAction } from \"./events/PageAction\";\r\nimport { AutoCaptureHandler } from \"./handlers/AutoCaptureHandler\";\r\nimport { DomContentHandler } from \"./handlers/DomContentHandler\";\r\nexport { BehaviorMapValidator, BehaviorValueValidator, BehaviorEnumValidator };\r\nvar defaultValues = objDeepFreeze((_a = {\r\n autoCapture: true,\r\n callback: cfgDfMerge((_b = {},\r\n _b[_DYN_PAGE_ACTION_PAGE_TAG0 /* @min:pageActionPageTags */] = cfgDfFunc(),\r\n _b[_DYN_PAGE_NAME /* @min:pageName */] = cfgDfFunc(),\r\n _b[_DYN_CONTENT_NAME /* @min:contentName */] = cfgDfFunc(),\r\n _b)),\r\n pageTags: {},\r\n coreData: cfgDfMerge((_c = {\r\n referrerUri: hasDocument() ? getDocument().referrer : \"\"\r\n },\r\n _c[_DYN_REQUEST_URI /* @min:requestUri */] = cfgDfString(),\r\n _c[_DYN_PAGE_NAME /* @min:pageName */] = cfgDfString(),\r\n _c[_DYN_PAGE_TYPE /* @min:pageType */] = cfgDfString(),\r\n _c)),\r\n dataTags: cfgDfMerge((_d = {},\r\n _d[_DYN_USE_DEFAULT_CONTENT_1 /* @min:useDefaultContentNameOrId */] = false,\r\n _d.aiBlobAttributeTag = DEFAULT_AI_BLOB_ATTRIBUTE_TAG,\r\n _d.customDataPrefix = cfgDfValidate(_dataPrefixChk, DEFAULT_DATA_PREFIX),\r\n _d[_DYN_CAPTURE_ALL_META_DAT2 /* @min:captureAllMetaDataContent */] = false,\r\n _d.dntDataTag = DEFAULT_DONOT_TRACK_TAG,\r\n _d[_DYN_META_DATA_PREFIX /* @min:metaDataPrefix */] = cfgDfString(),\r\n _d[_DYN_PARENT_DATA_TAG /* @min:parentDataTag */] = cfgDfString(),\r\n _d))\r\n },\r\n _a[_DYN_BEHAVIOR_VALIDATOR /* @min:behaviorValidator */] = cfgDfFunc(function (key) { return key || \"\"; }),\r\n _a[_DYN_DEFAULT_RIGHT_CLICK_3 /* @min:defaultRightClickBhvr */] = cfgDfString(),\r\n _a.dropInvalidEvents = false,\r\n _a.urlCollectHash = false,\r\n _a.urlCollectQuery = false,\r\n _a));\r\nfunction _dataPrefixChk(val) {\r\n return val && val[_DYN_INDEX_OF /* @min:%2eindexOf */](DEFAULT_DATA_PREFIX) === 0;\r\n}\r\nvar ClickAnalyticsPlugin = /** @class */ (function (_super) {\r\n __extends(ClickAnalyticsPlugin, _super);\r\n function ClickAnalyticsPlugin() {\r\n var _this = _super.call(this) || this;\r\n _this.identifier = \"ClickAnalyticsPlugin\";\r\n _this.priority = 181;\r\n var _config;\r\n var _pageAction;\r\n var _autoCaptureHandler;\r\n var _contentHandler;\r\n var _autoCapture;\r\n dynamicProto(ClickAnalyticsPlugin, _this, function (_self, _base) {\r\n var _identifier = _self.identifier;\r\n _initDefaults();\r\n _self.initialize = function (config, core, extensions, pluginChain) {\r\n if (isNullOrUndefined(core)) {\r\n throwError(\"Error initializing\");\r\n }\r\n _super.prototype.initialize.call(_this, config, core, extensions, pluginChain);\r\n _populateDefaults(config);\r\n // Find the properties plugin.\r\n var _propertiesExtension;\r\n arrForEach(extensions, function (extension) {\r\n if (extension.identifier === PropertiesPluginIdentifier) {\r\n _propertiesExtension = extension;\r\n }\r\n });\r\n // Append Click Analytics Plugin Version to SDK version.\r\n if (_propertiesExtension && _propertiesExtension.context && _propertiesExtension.context.internal) {\r\n var theVersion = _propertiesExtension.context.internal.sdkVersion;\r\n if (theVersion) {\r\n theVersion += \"_ClickPlugin\" + ClickAnalyticsPlugin.Version;\r\n if (theVersion[_DYN_LENGTH /* @min:%2elength */] > 64) {\r\n theVersion = strTrim(strSubstring(theVersion, 0, 64));\r\n }\r\n _propertiesExtension.context.internal.sdkVersion = theVersion;\r\n }\r\n }\r\n };\r\n _self.processTelemetry = function (env, itemCtx) {\r\n _self.processNext(env, itemCtx);\r\n };\r\n _self[_DYN_TRACK_PAGE_ACTION /* @min:%2etrackPageAction */] = function (pageAction, customProperties) {\r\n try {\r\n _pageAction[_DYN_TRACK_PAGE_ACTION /* @min:%2etrackPageAction */](pageAction, customProperties);\r\n }\r\n catch (e) {\r\n _throwInternal(_self.diagLog(), 1 /* eLoggingSeverity.CRITICAL */, 103 /* _eInternalMessageId.TrackPageActionEventFailed */, \"trackPageAction failed, page action event will not be collected: \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n };\r\n _self._doTeardown = function (unloadCtx, unloadState, asyncCallback) {\r\n return unloadComponents([\r\n _autoCaptureHandler,\r\n _contentHandler,\r\n _pageAction\r\n ], unloadCtx, unloadState, function () {\r\n _initDefaults();\r\n asyncCallback && asyncCallback();\r\n });\r\n };\r\n function _populateDefaults(config) {\r\n var core = _self.core;\r\n _self._addHook(onConfigChange(config, function (details) {\r\n var config = details.cfg;\r\n var ctx = createProcessTelemetryContext(null, config, core);\r\n var _config = ctx.getExtCfg(_identifier, defaultValues);\r\n var logger = _self.diagLog();\r\n _contentHandler = new DomContentHandler(_config, logger);\r\n var metaTags = _contentHandler.getMetadata();\r\n _pageAction = new PageAction(_self, _config, _contentHandler, _config.callback[_DYN_PAGE_ACTION_PAGE_TAG0 /* @min:%2epageActionPageTags */], metaTags, logger);\r\n // Default to DOM autoCapture handler\r\n if (_autoCaptureHandler) {\r\n _autoCaptureHandler[_DYN__DO_UNLOAD /* @min:%2e_doUnload */]();\r\n }\r\n _autoCaptureHandler = new AutoCaptureHandler(_self, _config, _pageAction, logger);\r\n var autoCapture = !!_config.autoCapture;\r\n if (!_autoCapture && autoCapture) {\r\n _autoCaptureHandler.click();\r\n }\r\n _autoCapture = autoCapture;\r\n }));\r\n }\r\n function _initDefaults() {\r\n _config = null;\r\n _pageAction = null;\r\n _autoCaptureHandler = null;\r\n _contentHandler = null;\r\n _autoCapture = false;\r\n }\r\n });\r\n return _this;\r\n }\r\n ClickAnalyticsPlugin.prototype.initialize = function (config, core, extensions, pluginChain) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ClickAnalyticsPlugin.prototype.processTelemetry = function (env, itemCtx) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Logs a page action event.\r\n * @param IPageActionTelemetry\r\n * @param customProperties - Additional data used to filter events and metrics. Defaults to empty.\r\n */\r\n ClickAnalyticsPlugin.prototype.trackPageAction = function (pageAction, customProperties) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ClickAnalyticsPlugin.Version = '3.3.5-nightly3.2411-13';\r\n return ClickAnalyticsPlugin;\r\n}(BaseTelemetryPlugin));\r\nexport { ClickAnalyticsPlugin };\r\n//# sourceMappingURL=ClickAnalyticsPlugin.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA,gFAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;mEAaM;AACN;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
package/dist-es5/Enums.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-12
2
+ * Application Insights JavaScript SDK - Click Analytics, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-clickanalytics-js",
3
- "version": "3.3.5-nightly3.2411-12",
3
+ "version": "3.3.5-nightly3.2411-13",
4
4
  "description": "Microsoft Application Insights Click Analytics extension",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -52,9 +52,9 @@
52
52
  "dependencies": {
53
53
  "@microsoft/dynamicproto-js": "^2.0.3",
54
54
  "@microsoft/applicationinsights-shims": "3.0.1",
55
- "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-12",
56
- "@microsoft/applicationinsights-common": "3.3.5-nightly3.2411-12",
57
- "@microsoft/applicationinsights-properties-js": "3.3.5-nightly3.2411-12",
55
+ "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-13",
56
+ "@microsoft/applicationinsights-common": "3.3.5-nightly3.2411-13",
57
+ "@microsoft/applicationinsights-properties-js": "3.3.5-nightly3.2411-13",
58
58
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x"
59
59
  },
60
60
  "repository": {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.3.5-nightly3.2411-12
2
+ * Microsoft.ApplicationInsights, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.3.5-nightly3.2411-12
2
+ * Microsoft.ApplicationInsights, 3.3.5-nightly3.2411-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -383,7 +383,7 @@ declare namespace ApplicationInsights {
383
383
  * @param unloadComplete - An optional callback that will be called once the unload has completed
384
384
  * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the
385
385
  * unload. Defaults to 5 seconds.
386
- * @return Nothing or if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
386
+ * @returns Nothing or if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
387
387
  * which will be resolved once the unload is complete, the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
388
388
  * will only be returned when no callback is provided and isAsync is true
389
389
  */
@@ -1251,7 +1251,7 @@ declare namespace ApplicationInsights {
1251
1251
  * Unload and remove any state that this ICookieMgr may be holding, this is generally called when the
1252
1252
  * owning SDK is being unloaded.
1253
1253
  * @param isAsync - Can the unload be performed asynchronously (default)
1254
- * @return If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1254
+ * @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1255
1255
  * the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
1256
1256
  * / Promise to allow any listeners to wait for the operation to complete.
1257
1257
  */
@@ -1421,7 +1421,7 @@ declare namespace ApplicationInsights {
1421
1421
  * Unload and remove any state that this IDiagnosticLogger may be holding, this is generally called when the
1422
1422
  * owning SDK is being unloaded.
1423
1423
  * @param isAsync - Can the unload be performed asynchronously (default)
1424
- * @return If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1424
+ * @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1425
1425
  * the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
1426
1426
  * / Promise to allow any listeners to wait for the operation to complete.
1427
1427
  */
@@ -1476,13 +1476,11 @@ declare namespace ApplicationInsights {
1476
1476
  /**
1477
1477
  * @description An event name string
1478
1478
  * @type {string}
1479
- * @memberof IEventTelemetry
1480
1479
  */
1481
1480
  name: string;
1482
1481
  /**
1483
1482
  * @description custom defined iKey
1484
1483
  * @type {string}
1485
- * @memberof IEventTelemetry
1486
1484
  */
1487
1485
  iKey?: string;
1488
1486
  }
@@ -1675,7 +1673,7 @@ declare namespace ApplicationInsights {
1675
1673
  * Unload and remove any state that this INotificationListener may be holding, this is generally called when the
1676
1674
  * owning Manager is being unloaded.
1677
1675
  * @param isAsync - Can the unload be performed asynchronously (default)
1678
- * @return If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1676
+ * @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1679
1677
  * the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
1680
1678
  * / Promise to allow any listeners to wait for the operation to complete.
1681
1679
  */
@@ -1744,7 +1742,7 @@ declare namespace ApplicationInsights {
1744
1742
  * Unload and remove any state that this INotificationManager may be holding, this is generally called when the
1745
1743
  * owning SDK is being unloaded.
1746
1744
  * @param isAsync - Can the unload be performed asynchronously (default)
1747
- * @return If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1745
+ * @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
1748
1746
  * the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
1749
1747
  * / Promise to allow any listeners to wait for the operation to complete.
1750
1748
  */
@@ -1,66 +0,0 @@
1
- {
2
- "name": "ai.clck",
3
- "version": "3.3.5-nightly3.2411-12",
4
- "ext": {
5
- "@cjs.js": {
6
- "file": "ai.clck.3.3.5-nightly3.2411-12.cjs.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-/KpNaHCipvtcDWXR7E8h7Xoz4y6ar5SiUq/YKp+v+a4= sha384-OrqLINGdrXMnrZCD/Paxy7zcqerL5GrHCF7cxhwXCDuuv6XbqBpZYO/BHDn1W1p6 sha512-RDI+tJn1Pm1By09AHkVNgNXSvmbFzU7b4W74TV9s531+otZbl9PeFiYec+Qc7QKGjUjMx43s1jg/EqSifeHWGQ==",
9
- "hashes": {
10
- "sha256": "/KpNaHCipvtcDWXR7E8h7Xoz4y6ar5SiUq/YKp+v+a4=",
11
- "sha384": "OrqLINGdrXMnrZCD/Paxy7zcqerL5GrHCF7cxhwXCDuuv6XbqBpZYO/BHDn1W1p6",
12
- "sha512": "RDI+tJn1Pm1By09AHkVNgNXSvmbFzU7b4W74TV9s531+otZbl9PeFiYec+Qc7QKGjUjMx43s1jg/EqSifeHWGQ=="
13
- }
14
- },
15
- "@cjs.min.js": {
16
- "file": "ai.clck.3.3.5-nightly3.2411-12.cjs.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-nk6R5OiwiUaKURODdIsBTusF7ktCqzdnh4DEq/w54B4= sha384-OuvReq+BSTvCNnwe1kXBkkzjfnBUrkFoj58oa9T4G0ri3aZuiqxPlrT9neXhv2DL sha512-2yhTYTAXFQVgSu6qFVxRcx/E+pWAKiJkQ2vV05cFROwmzBRP20XfbITRUFK7EIMOYl0JfleyA81mmjTgxmGZng==",
19
- "hashes": {
20
- "sha256": "nk6R5OiwiUaKURODdIsBTusF7ktCqzdnh4DEq/w54B4=",
21
- "sha384": "OuvReq+BSTvCNnwe1kXBkkzjfnBUrkFoj58oa9T4G0ri3aZuiqxPlrT9neXhv2DL",
22
- "sha512": "2yhTYTAXFQVgSu6qFVxRcx/E+pWAKiJkQ2vV05cFROwmzBRP20XfbITRUFK7EIMOYl0JfleyA81mmjTgxmGZng=="
23
- }
24
- },
25
- "@gbl.js": {
26
- "file": "ai.clck.3.3.5-nightly3.2411-12.gbl.js",
27
- "type": "text/javascript; charset=utf-8",
28
- "integrity": "sha256-zT9XTpkjyRWUIMzOwPvBBh8sJYlq88Zuf3P+LAAzMYE= sha384-PT8hruWoANir+pNeBs1eODcwoZ/UKzdqfhGYnyfuUGzepr/xb8kEaieGT0SB+l2h sha512-skUNAoni6N8LBoXdLMGT6F3nvIg1q/BxcfWC2VHOWoeKURr+jKqEGJX5fhzNcSiX51wiBSJjWCRgDSnsKifiGw==",
29
- "hashes": {
30
- "sha256": "zT9XTpkjyRWUIMzOwPvBBh8sJYlq88Zuf3P+LAAzMYE=",
31
- "sha384": "PT8hruWoANir+pNeBs1eODcwoZ/UKzdqfhGYnyfuUGzepr/xb8kEaieGT0SB+l2h",
32
- "sha512": "skUNAoni6N8LBoXdLMGT6F3nvIg1q/BxcfWC2VHOWoeKURr+jKqEGJX5fhzNcSiX51wiBSJjWCRgDSnsKifiGw=="
33
- }
34
- },
35
- "@gbl.min.js": {
36
- "file": "ai.clck.3.3.5-nightly3.2411-12.gbl.min.js",
37
- "type": "text/javascript; charset=utf-8",
38
- "integrity": "sha256-HgmxW0XpUa/GdYdpjBbumaHCW4DhWWPaF0IdJx0jX2s= sha384-Auz6rynRHFIaz2GlV8D3VsyAGlYlQxPYvoBgdt8Z3l9n3uZ0B7nlbhGK3vKg+VOF sha512-74BMFMXWrICFAppvSNFOyVx03tjhm6lNV3k7bhvZLgNghkdMs119+9Vw87hA3bj9Fsd10Tebvm61tu6mO0HFAg==",
39
- "hashes": {
40
- "sha256": "HgmxW0XpUa/GdYdpjBbumaHCW4DhWWPaF0IdJx0jX2s=",
41
- "sha384": "Auz6rynRHFIaz2GlV8D3VsyAGlYlQxPYvoBgdt8Z3l9n3uZ0B7nlbhGK3vKg+VOF",
42
- "sha512": "74BMFMXWrICFAppvSNFOyVx03tjhm6lNV3k7bhvZLgNghkdMs119+9Vw87hA3bj9Fsd10Tebvm61tu6mO0HFAg=="
43
- }
44
- },
45
- "@js": {
46
- "file": "ai.clck.3.3.5-nightly3.2411-12.js",
47
- "type": "text/javascript; charset=utf-8",
48
- "integrity": "sha256-whBAHE3tusTyaldTx/nBGLXgmm8J3re2S8WaouMfifA= sha384-YXf+PAA00h7XVI9ZiXmHqfFVUJwKq4q4xZP+9z3Y5PsaTfRVKKSlyKw17mIep8Fe sha512-2PJS/CuyvKI+7B3MUdCemS0BZwwaDp2fN4cg6qrhwEybeXAroT5e6BH8hYYadhhDMBodO04Q2JxfqENzXqtvEA==",
49
- "hashes": {
50
- "sha256": "whBAHE3tusTyaldTx/nBGLXgmm8J3re2S8WaouMfifA=",
51
- "sha384": "YXf+PAA00h7XVI9ZiXmHqfFVUJwKq4q4xZP+9z3Y5PsaTfRVKKSlyKw17mIep8Fe",
52
- "sha512": "2PJS/CuyvKI+7B3MUdCemS0BZwwaDp2fN4cg6qrhwEybeXAroT5e6BH8hYYadhhDMBodO04Q2JxfqENzXqtvEA=="
53
- }
54
- },
55
- "@min.js": {
56
- "file": "ai.clck.3.3.5-nightly3.2411-12.min.js",
57
- "type": "text/javascript; charset=utf-8",
58
- "integrity": "sha256-N4SosY4M+ux5uwOxEt+BskWCBMxZrUwRwNHL9/W4xwE= sha384-NFZSZ+sspS5f8FsuS1SrmEyqm84Ofp493GoWpK3GjSHhPAYopJTjXAse+LlehCrD sha512-29YYlMWSQ6U4suU+eI3dbYoO1dE4PJj0A6DJTRcIpG8kl2mIKYQqtsaQmCmSaNrJMn26htHpxnJP+wqKlJGhFw==",
59
- "hashes": {
60
- "sha256": "N4SosY4M+ux5uwOxEt+BskWCBMxZrUwRwNHL9/W4xwE=",
61
- "sha384": "NFZSZ+sspS5f8FsuS1SrmEyqm84Ofp493GoWpK3GjSHhPAYopJTjXAse+LlehCrD",
62
- "sha512": "29YYlMWSQ6U4suU+eI3dbYoO1dE4PJj0A6DJTRcIpG8kl2mIKYQqtsaQmCmSaNrJMn26htHpxnJP+wqKlJGhFw=="
63
- }
64
- }
65
- }
66
- }