@microsoft/applicationinsights-clickanalytics-js 3.4.6-nightly3.2610-15 → 3.4.6
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/README.md +8 -0
- package/browser/es5/{ai.clck.3.4.6-nightly3.2610-15.cjs.js → ai.clck.3.4.6.cjs.js} +27 -21
- package/browser/es5/ai.clck.3.4.6.cjs.js.map +1 -0
- package/browser/es5/ai.clck.3.4.6.cjs.min.js +6 -0
- package/browser/es5/ai.clck.3.4.6.cjs.min.js.map +1 -0
- package/browser/es5/{ai.clck.3.4.6-nightly3.2610-15.gbl.js → ai.clck.3.4.6.gbl.js} +29 -23
- package/browser/es5/ai.clck.3.4.6.gbl.js.map +1 -0
- package/browser/es5/ai.clck.3.4.6.gbl.min.js +6 -0
- package/browser/es5/ai.clck.3.4.6.gbl.min.js.map +1 -0
- package/browser/es5/ai.clck.3.4.6.integrity.json +66 -0
- package/browser/es5/{ai.clck.3.4.6-nightly3.2610-15.js → ai.clck.3.4.6.js} +29 -23
- package/browser/es5/ai.clck.3.4.6.js.map +1 -0
- package/browser/es5/ai.clck.3.4.6.min.js +6 -0
- package/browser/es5/ai.clck.3.4.6.min.js.map +1 -0
- package/browser/es5/ai.clck.3.cjs.js +26 -20
- package/browser/es5/ai.clck.3.cjs.js.map +1 -1
- package/browser/es5/ai.clck.3.cjs.min.js +2 -2
- package/browser/es5/ai.clck.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.clck.3.gbl.js +28 -22
- package/browser/es5/ai.clck.3.gbl.js.map +1 -1
- package/browser/es5/ai.clck.3.gbl.min.js +2 -2
- package/browser/es5/ai.clck.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.clck.3.integrity.json +25 -25
- package/browser/es5/ai.clck.3.js +28 -22
- package/browser/es5/ai.clck.3.js.map +1 -1
- package/browser/es5/ai.clck.3.min.js +2 -2
- package/browser/es5/ai.clck.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-clickanalytics-js.js +26 -20
- package/dist/es5/applicationinsights-clickanalytics-js.js.map +1 -1
- package/dist/es5/applicationinsights-clickanalytics-js.min.js +2 -2
- package/dist/es5/applicationinsights-clickanalytics-js.min.js.map +1 -1
- package/dist-es5/Behaviours.js +1 -1
- package/dist-es5/ClickAnalyticsPlugin.js +5 -7
- package/dist-es5/ClickAnalyticsPlugin.js.map +1 -1
- package/dist-es5/DataCollector.js +3 -3
- package/dist-es5/DataCollector.js.map +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/Interfaces/Datamodel.js +1 -1
- package/dist-es5/__DynamicConstants.js +3 -4
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-clickanalytics-js.js +1 -1
- package/dist-es5/common/Utils.js +1 -1
- package/dist-es5/events/PageAction.js +1 -1
- package/dist-es5/events/WebEvent.js +1 -1
- package/dist-es5/handlers/AutoCaptureHandler.js +13 -8
- package/dist-es5/handlers/AutoCaptureHandler.js.map +1 -1
- package/dist-es5/handlers/DomContentHandler.js +11 -4
- package/dist-es5/handlers/DomContentHandler.js.map +1 -1
- package/package.json +70 -73
- package/types/applicationinsights-clickanalytics-js.d.ts +12 -1
- package/types/applicationinsights-clickanalytics-js.namespaced.d.ts +23 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.cjs.js.map +0 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.cjs.min.js +0 -6
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.cjs.min.js.map +0 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.gbl.js.map +0 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.gbl.min.js +0 -6
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.integrity.json +0 -66
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.js.map +0 -1
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.min.js +0 -6
- package/browser/es5/ai.clck.3.4.6-nightly3.2610-15.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,73 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-clickanalytics-js",
|
|
3
|
-
"version": "3.4.6
|
|
4
|
-
"description": "Microsoft Application Insights Click Analytics extension",
|
|
5
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
-
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/es5/applicationinsights-clickanalytics-js.js",
|
|
8
|
-
"module": "dist-es5/applicationinsights-clickanalytics-js.js",
|
|
9
|
-
"types": "types/applicationinsights-clickanalytics-js.d.ts",
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"scripts": {
|
|
12
|
-
"clean": "git clean -xdf",
|
|
13
|
-
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
14
|
-
"build:esm": "grunt clickanalytics",
|
|
15
|
-
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
16
|
-
"rebuild": "npm run build",
|
|
17
|
-
"test": "grunt clickanalyticstests",
|
|
18
|
-
"mintest": "grunt clickanalytics-mintests",
|
|
19
|
-
"lint": "tslint -p tsconfig.json",
|
|
20
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
21
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
22
|
-
"ai-min": "grunt clickanalytics-min",
|
|
23
|
-
"ai-restore": "grunt clickanalytics-restore",
|
|
24
|
-
"npm-pack": "npm pack",
|
|
25
|
-
"api-docs": "typedoc"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@microsoft/ai-test-framework": "0.0.1",
|
|
29
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
30
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
31
|
-
"@microsoft/api-extractor": "^7.40.0",
|
|
32
|
-
"typescript": "^4.9.3",
|
|
33
|
-
"tslib": "^2.0.0",
|
|
34
|
-
"globby": "^11.0.0",
|
|
35
|
-
"magic-string": "^0.25.7",
|
|
36
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
37
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
38
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
39
|
-
"rollup": "^3.20.0",
|
|
40
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
41
|
-
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
42
|
-
"typedoc": "^0.26.6",
|
|
43
|
-
"grunt": "^1.6.1",
|
|
44
|
-
"grunt-cli": "^1.5.0",
|
|
45
|
-
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
46
|
-
"@nevware21/grunt-eslint-ts": "^0.5.2",
|
|
47
|
-
"eslint": "^8.56.0",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
49
|
-
"@typescript-eslint/parser": "^7.14.1",
|
|
50
|
-
"eslint-plugin-security": "^1.5.0",
|
|
51
|
-
"grunt-contrib-connect": "^5.0.0",
|
|
52
|
-
"eventemitter2": "6.4.9",
|
|
53
|
-
"puppeteer": "^24.40.0"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"tslib": ">= 1.0.0"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
-
"@microsoft/applicationinsights-core-js": "3.4.6
|
|
62
|
-
"@microsoft/applicationinsights-properties-js": "3.4.6
|
|
63
|
-
"@nevware21/ts-utils": ">= 0.14.0 < 2.x"
|
|
64
|
-
},
|
|
65
|
-
"repository": {
|
|
66
|
-
"type": "git",
|
|
67
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-clickanalytics-js"
|
|
68
|
-
},
|
|
69
|
-
"license": "MIT"
|
|
70
|
-
|
|
71
|
-
"tag": "nightly3"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-clickanalytics-js",
|
|
3
|
+
"version": "3.4.6",
|
|
4
|
+
"description": "Microsoft Application Insights Click Analytics extension",
|
|
5
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
+
"author": "Microsoft Application Insights Team",
|
|
7
|
+
"main": "dist/es5/applicationinsights-clickanalytics-js.js",
|
|
8
|
+
"module": "dist-es5/applicationinsights-clickanalytics-js.js",
|
|
9
|
+
"types": "types/applicationinsights-clickanalytics-js.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"scripts": {
|
|
12
|
+
"clean": "git clean -xdf",
|
|
13
|
+
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
14
|
+
"build:esm": "grunt clickanalytics",
|
|
15
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
16
|
+
"rebuild": "npm run build",
|
|
17
|
+
"test": "grunt clickanalyticstests",
|
|
18
|
+
"mintest": "grunt clickanalytics-mintests",
|
|
19
|
+
"lint": "tslint -p tsconfig.json",
|
|
20
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
21
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
22
|
+
"ai-min": "grunt clickanalytics-min",
|
|
23
|
+
"ai-restore": "grunt clickanalytics-restore",
|
|
24
|
+
"npm-pack": "npm pack",
|
|
25
|
+
"api-docs": "typedoc"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
29
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
30
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
31
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
32
|
+
"typescript": "^4.9.3",
|
|
33
|
+
"tslib": "^2.0.0",
|
|
34
|
+
"globby": "^11.0.0",
|
|
35
|
+
"magic-string": "^0.25.7",
|
|
36
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
37
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
38
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
39
|
+
"rollup": "^3.20.0",
|
|
40
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
41
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
42
|
+
"typedoc": "^0.26.6",
|
|
43
|
+
"grunt": "^1.6.1",
|
|
44
|
+
"grunt-cli": "^1.5.0",
|
|
45
|
+
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
46
|
+
"@nevware21/grunt-eslint-ts": "^0.5.2",
|
|
47
|
+
"eslint": "^8.56.0",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
49
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
50
|
+
"eslint-plugin-security": "^1.5.0",
|
|
51
|
+
"grunt-contrib-connect": "^5.0.0",
|
|
52
|
+
"eventemitter2": "6.4.9",
|
|
53
|
+
"puppeteer": "^24.40.0"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"tslib": ">= 1.0.0"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
+
"@microsoft/applicationinsights-core-js": "3.4.6",
|
|
62
|
+
"@microsoft/applicationinsights-properties-js": "3.4.6",
|
|
63
|
+
"@nevware21/ts-utils": ">= 0.14.0 < 2.x"
|
|
64
|
+
},
|
|
65
|
+
"repository": {
|
|
66
|
+
"type": "git",
|
|
67
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-clickanalytics-js"
|
|
68
|
+
},
|
|
69
|
+
"license": "MIT"
|
|
70
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.4.6
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.4.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -197,6 +197,17 @@ export declare interface IClickAnalyticsConfiguration {
|
|
|
197
197
|
* If set, it will combine with the default element types.
|
|
198
198
|
*/
|
|
199
199
|
trackElementTypes?: string;
|
|
200
|
+
/**
|
|
201
|
+
* A comma separated list of `<input>` element `type` values that are automatically captured when `INPUT` is included in
|
|
202
|
+
* `trackElementTypes`. Clicks on `<input>` elements with any other type (including `text`, `email`, `number`, `search`
|
|
203
|
+
* and inputs without a `type` attribute, which default to `text`) are not automatically captured.
|
|
204
|
+
* Default is "BUTTON,CHECKBOX,RADIO,RESET,SUBMIT".
|
|
205
|
+
*
|
|
206
|
+
* To avoid collecting user entered data, the `value` of inputs other than `button`, `checkbox`, `radio`, `reset` and `submit`
|
|
207
|
+
* is never used as the default content name.
|
|
208
|
+
* @example "BUTTON,CHECKBOX,RADIO,RESET,SUBMIT,TEXT,SEARCH"
|
|
209
|
+
*/
|
|
210
|
+
trackInputTypes?: string;
|
|
200
211
|
}
|
|
201
212
|
|
|
202
213
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.4.6
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.4.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1143,6 +1143,17 @@ declare namespace ApplicationInsights {
|
|
|
1143
1143
|
* If set, it will combine with the default element types.
|
|
1144
1144
|
*/
|
|
1145
1145
|
trackElementTypes?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* A comma separated list of `<input>` element `type` values that are automatically captured when `INPUT` is included in
|
|
1148
|
+
* `trackElementTypes`. Clicks on `<input>` elements with any other type (including `text`, `email`, `number`, `search`
|
|
1149
|
+
* and inputs without a `type` attribute, which default to `text`) are not automatically captured.
|
|
1150
|
+
* Default is "BUTTON,CHECKBOX,RADIO,RESET,SUBMIT".
|
|
1151
|
+
*
|
|
1152
|
+
* To avoid collecting user entered data, the `value` of inputs other than `button`, `checkbox`, `radio`, `reset` and `submit`
|
|
1153
|
+
* is never used as the default content name.
|
|
1154
|
+
* @example "BUTTON,CHECKBOX,RADIO,RESET,SUBMIT,TEXT,SEARCH"
|
|
1155
|
+
*/
|
|
1156
|
+
trackInputTypes?: string;
|
|
1146
1157
|
}
|
|
1147
1158
|
|
|
1148
1159
|
/**
|
|
@@ -2699,6 +2710,17 @@ declare namespace ApplicationInsights {
|
|
|
2699
2710
|
*/
|
|
2700
2711
|
interface INotificationManager {
|
|
2701
2712
|
listeners: INotificationListener[];
|
|
2713
|
+
/**
|
|
2714
|
+
* Optional hint indicating whether a notification has a matching listener or custom handler.
|
|
2715
|
+
* @param name - The notification method to query.
|
|
2716
|
+
* @returns False only when calling the method would have no effect. Callers must retain their
|
|
2717
|
+
* existing dispatch behavior when this hint is absent or does not return false.
|
|
2718
|
+
* @remarks
|
|
2719
|
+
* Implementations must account for custom notification handling as well as registered listeners.
|
|
2720
|
+
* The built-in manager returns true for overridden notification methods, even without matching listeners.
|
|
2721
|
+
* This method must not dispatch notifications or change listener state.
|
|
2722
|
+
*/
|
|
2723
|
+
hasListener?(name: string): boolean;
|
|
2702
2724
|
/**
|
|
2703
2725
|
* Adds a notification listener.
|
|
2704
2726
|
* @param listener - The notification listener to be added.
|