@commercetools-frontend/application-shell 21.25.2 → 22.0.0
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/dist/{application-entry-point-b3bcec77.esm.js → application-entry-point-2ead2033.esm.js} +1 -1
- package/dist/{application-entry-point-d95a9561.cjs.dev.js → application-entry-point-b7e42426.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-1a8ee591.cjs.prod.js → application-entry-point-bd022c84.cjs.prod.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -7
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -7
- package/dist/commercetools-frontend-application-shell.esm.js +2 -5
- package/dist/{configure-apollo-1d40c1c0.esm.js → configure-apollo-0834f9f9.esm.js} +2 -2
- package/dist/{configure-apollo-17cc744d.cjs.dev.js → configure-apollo-509ab9d6.cjs.dev.js} +1 -2
- package/dist/{configure-apollo-45ac18ec.cjs.prod.js → configure-apollo-5e92dbd3.cjs.prod.js} +1 -2
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -3
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +0 -3
- package/dist/declarations/src/components/navbar/index.d.ts +1 -2
- package/dist/declarations/src/components/navbar/menu-items.d.ts +1 -1
- package/dist/declarations/src/components/project-container/index.d.ts +0 -1
- package/dist/declarations/src/index.d.ts +0 -2
- package/dist/{index-29e03033.cjs.prod.js → index-a08033ac.cjs.prod.js} +47 -566
- package/dist/{index-ca5ab60d.esm.js → index-c0a21b90.esm.js} +69 -584
- package/dist/{index-1a690bd0.cjs.dev.js → index-ed9d9b61.cjs.dev.js} +65 -586
- package/dist/{navbar-074548aa.cjs.prod.js → navbar-714d85e3.cjs.prod.js} +3 -8
- package/dist/{navbar-eed85121.cjs.dev.js → navbar-9cd04855.cjs.dev.js} +3 -8
- package/dist/{navbar-1d5c0bd9.esm.js → navbar-de9b7fe3.esm.js} +4 -9
- package/dist/{oidc-callback-08bafc1e.cjs.dev.js → oidc-callback-14e2a1ac.cjs.dev.js} +2 -5
- package/dist/{oidc-callback-a9b72d66.esm.js → oidc-callback-2911bfc8.esm.js} +2 -5
- package/dist/{oidc-callback-3cabbbe4.cjs.prod.js → oidc-callback-a1967dab.cjs.prod.js} +2 -5
- package/dist/{project-container-c0fc1b58.esm.js → project-container-22667bce.esm.js} +11 -15
- package/dist/{project-container-785342fe.cjs.prod.js → project-container-a11af4ef.cjs.prod.js} +7 -11
- package/dist/{project-container-37858fcc.cjs.dev.js → project-container-f2f953d5.cjs.dev.js} +11 -15
- package/dist/{project-expired-03193fc7.cjs.dev.js → project-expired-2e942136.cjs.dev.js} +3 -6
- package/dist/{project-expired-dd1de938.esm.js → project-expired-627f2156.esm.js} +3 -6
- package/dist/{project-expired-eae0e6a1.cjs.prod.js → project-expired-8ac5a660.cjs.prod.js} +3 -6
- package/dist/{project-not-found-17401d07.esm.js → project-not-found-9685968d.esm.js} +3 -6
- package/dist/{project-not-found-110ae2dc.cjs.dev.js → project-not-found-9d135988.cjs.dev.js} +3 -6
- package/dist/{project-not-found-f4d1a682.cjs.prod.js → project-not-found-f51bedb9.cjs.prod.js} +3 -6
- package/dist/{project-not-initialized-d9fb3355.cjs.dev.js → project-not-initialized-9448f284.cjs.dev.js} +3 -6
- package/dist/{project-not-initialized-a67bec4a.esm.js → project-not-initialized-e6d12bfa.esm.js} +3 -6
- package/dist/{project-not-initialized-8cf7d70b.cjs.prod.js → project-not-initialized-f74d8369.cjs.prod.js} +3 -6
- package/dist/{project-suspended-2f17eae5.cjs.dev.js → project-suspended-acae7644.cjs.dev.js} +3 -6
- package/dist/{project-suspended-2992da58.cjs.prod.js → project-suspended-ed1eb6ca.cjs.prod.js} +3 -6
- package/dist/{project-suspended-f5e67ddd.esm.js → project-suspended-f87506b4.esm.js} +3 -6
- package/dist/{quick-access-fa740d8c.cjs.dev.js → quick-access-7f7a5d71.cjs.dev.js} +2 -5
- package/dist/{quick-access-9375d13a.cjs.prod.js → quick-access-a79f3f92.cjs.prod.js} +2 -5
- package/dist/{quick-access-09707bb3.esm.js → quick-access-dba66e3e.esm.js} +2 -5
- package/dist/{redirect-to-login-7cc9ed4d.cjs.dev.js → redirect-to-login-3f4814e8.cjs.dev.js} +1 -1
- package/dist/{redirect-to-login-2666e1fc.cjs.prod.js → redirect-to-login-4d848c5e.cjs.prod.js} +1 -1
- package/dist/{redirect-to-login-b89d8b23.esm.js → redirect-to-login-aa9f9423.esm.js} +1 -1
- package/dist/{redirect-to-logout-3cd584da.cjs.prod.js → redirect-to-logout-376399b9.cjs.prod.js} +2 -4
- package/dist/{redirect-to-logout-8a7a32f9.cjs.dev.js → redirect-to-logout-5fc86295.cjs.dev.js} +2 -4
- package/dist/{redirect-to-logout-3bc651f2.esm.js → redirect-to-logout-cab881b5.esm.js} +2 -4
- package/dist/{requests-in-flight-loader-bd92b447.cjs.prod.js → requests-in-flight-loader-30bbc0dd.cjs.prod.js} +2 -5
- package/dist/{requests-in-flight-loader-01d02f35.esm.js → requests-in-flight-loader-6031adf7.esm.js} +2 -5
- package/dist/{requests-in-flight-loader-092b6a76.cjs.dev.js → requests-in-flight-loader-ce5be9da.cjs.dev.js} +2 -5
- package/dist/{service-page-project-switcher-994c9218.cjs.prod.js → service-page-project-switcher-833a4a57.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-d4433778.cjs.dev.js → service-page-project-switcher-8d2973f5.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-6ee2be90.esm.js → service-page-project-switcher-f8232713.esm.js} +1 -1
- package/dist/{use-applications-menu-860949b7.cjs.dev.js → use-applications-menu-62897f6b.cjs.dev.js} +1 -1
- package/dist/{use-applications-menu-5d1e1f15.cjs.prod.js → use-applications-menu-ae97919c.cjs.prod.js} +1 -1
- package/dist/{use-applications-menu-7907ec1a.esm.js → use-applications-menu-f322d2fb.esm.js} +1 -1
- package/dist/{user-settings-menu-d16dbd52.cjs.dev.js → user-settings-menu-0656f4ad.cjs.dev.js} +10 -16
- package/dist/{user-settings-menu-028a53f0.cjs.prod.js → user-settings-menu-b5787284.cjs.prod.js} +3 -9
- package/dist/{user-settings-menu-2d09fbae.esm.js → user-settings-menu-f26bd809.esm.js} +10 -16
- package/dist/{version-tracker-2d8cd103.cjs.dev.js → version-tracker-1caea263.cjs.dev.js} +1 -1
- package/dist/{version-tracker-98782eb4.esm.js → version-tracker-c82ae4cc.esm.js} +1 -1
- package/dist/{version-tracker-02448315.cjs.prod.js → version-tracker-f8b257ab.cjs.prod.js} +1 -1
- package/package.json +33 -34
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
- package/dist/declarations/src/components/gtm-application-tracker/gtm-application-tracker.d.ts +0 -10
- package/dist/declarations/src/components/gtm-application-tracker/index.d.ts +0 -1
- package/dist/declarations/src/components/gtm-booter/gtm-booter.d.ts +0 -20
- package/dist/declarations/src/components/gtm-booter/index.d.ts +0 -2
- package/dist/declarations/src/components/gtm-user-logout-tracker/gtm-user-logout-tracker.d.ts +0 -5
- package/dist/declarations/src/components/gtm-user-logout-tracker/index.d.ts +0 -1
- package/dist/declarations/src/components/gtm-user-tracker/gtm-user-tracker.d.ts +0 -10
- package/dist/declarations/src/components/gtm-user-tracker/index.d.ts +0 -1
- package/dist/declarations/src/components/navbar/tracking-events.d.ts +0 -18
- package/dist/declarations/src/components/quick-access/tracking-events.d.ts +0 -8
- package/dist/declarations/src/track-performance.d.ts +0 -2
- package/dist/declarations/src/tracking-event-list.d.ts +0 -19
- package/dist/declarations/src/utils/gtm.d.ts +0 -27
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
5
5
|
var sdk = require('@commercetools-frontend/sdk');
|
|
6
|
-
var configureApollo = require('./configure-apollo-
|
|
6
|
+
var configureApollo = require('./configure-apollo-509ab9d6.cjs.dev.js');
|
|
7
7
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
8
8
|
var constants = require('@commercetools-frontend/constants');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, version } from 'react';
|
|
2
2
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
3
3
|
import { actions, useAsyncDispatch } from '@commercetools-frontend/sdk';
|
|
4
|
-
import { f as applicationShellVersion } from './configure-apollo-
|
|
4
|
+
import { f as applicationShellVersion } from './configure-apollo-0834f9f9.esm.js';
|
|
5
5
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
6
6
|
import { MC_API_PROXY_TARGETS } from '@commercetools-frontend/constants';
|
|
7
7
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
5
5
|
var sdk = require('@commercetools-frontend/sdk');
|
|
6
|
-
var configureApollo = require('./configure-apollo-
|
|
6
|
+
var configureApollo = require('./configure-apollo-5e92dbd3.cjs.prod.js');
|
|
7
7
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
8
8
|
var constants = require('@commercetools-frontend/constants');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "React component to bootstrap the general MC application logic",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -33,33 +33,33 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.20.13",
|
|
35
35
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
36
|
-
"@commercetools-frontend/actions-global": "
|
|
37
|
-
"@commercetools-frontend/application-components": "
|
|
38
|
-
"@commercetools-frontend/application-config": "
|
|
39
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
40
|
-
"@commercetools-frontend/assets": "
|
|
41
|
-
"@commercetools-frontend/browser-history": "
|
|
42
|
-
"@commercetools-frontend/constants": "
|
|
43
|
-
"@commercetools-frontend/i18n": "
|
|
44
|
-
"@commercetools-frontend/l10n": "
|
|
45
|
-
"@commercetools-frontend/notifications": "
|
|
46
|
-
"@commercetools-frontend/permissions": "
|
|
47
|
-
"@commercetools-frontend/react-notifications": "
|
|
48
|
-
"@commercetools-frontend/sdk": "
|
|
49
|
-
"@commercetools-frontend/sentry": "
|
|
50
|
-
"@commercetools-frontend/url-utils": "
|
|
51
|
-
"@commercetools-uikit/accessible-hidden": "^
|
|
52
|
-
"@commercetools-uikit/avatar": "^
|
|
53
|
-
"@commercetools-uikit/card": "^
|
|
54
|
-
"@commercetools-uikit/constraints": "^
|
|
55
|
-
"@commercetools-uikit/design-system": "^
|
|
56
|
-
"@commercetools-uikit/flat-button": "^
|
|
57
|
-
"@commercetools-uikit/icons": "^
|
|
58
|
-
"@commercetools-uikit/loading-spinner": "^
|
|
59
|
-
"@commercetools-uikit/notifications": "^
|
|
60
|
-
"@commercetools-uikit/select-input": "^
|
|
61
|
-
"@commercetools-uikit/spacings": "^
|
|
62
|
-
"@commercetools-uikit/text": "^
|
|
36
|
+
"@commercetools-frontend/actions-global": "22.0.0",
|
|
37
|
+
"@commercetools-frontend/application-components": "22.0.0",
|
|
38
|
+
"@commercetools-frontend/application-config": "22.0.0",
|
|
39
|
+
"@commercetools-frontend/application-shell-connectors": "22.0.0",
|
|
40
|
+
"@commercetools-frontend/assets": "22.0.0",
|
|
41
|
+
"@commercetools-frontend/browser-history": "22.0.0",
|
|
42
|
+
"@commercetools-frontend/constants": "22.0.0",
|
|
43
|
+
"@commercetools-frontend/i18n": "22.0.0",
|
|
44
|
+
"@commercetools-frontend/l10n": "22.0.0",
|
|
45
|
+
"@commercetools-frontend/notifications": "22.0.0",
|
|
46
|
+
"@commercetools-frontend/permissions": "22.0.0",
|
|
47
|
+
"@commercetools-frontend/react-notifications": "22.0.0",
|
|
48
|
+
"@commercetools-frontend/sdk": "22.0.0",
|
|
49
|
+
"@commercetools-frontend/sentry": "22.0.0",
|
|
50
|
+
"@commercetools-frontend/url-utils": "22.0.0",
|
|
51
|
+
"@commercetools-uikit/accessible-hidden": "^16.0.0",
|
|
52
|
+
"@commercetools-uikit/avatar": "^16.0.0",
|
|
53
|
+
"@commercetools-uikit/card": "^16.0.0",
|
|
54
|
+
"@commercetools-uikit/constraints": "^16.0.0",
|
|
55
|
+
"@commercetools-uikit/design-system": "^16.0.0",
|
|
56
|
+
"@commercetools-uikit/flat-button": "^16.0.0",
|
|
57
|
+
"@commercetools-uikit/icons": "^16.0.0",
|
|
58
|
+
"@commercetools-uikit/loading-spinner": "^16.0.0",
|
|
59
|
+
"@commercetools-uikit/notifications": "^16.0.0",
|
|
60
|
+
"@commercetools-uikit/select-input": "^16.0.0",
|
|
61
|
+
"@commercetools-uikit/spacings": "^16.0.0",
|
|
62
|
+
"@commercetools-uikit/text": "^16.0.0",
|
|
63
63
|
"@commercetools/http-user-agent": "3.0.0",
|
|
64
64
|
"@emotion/react": "11.10.6",
|
|
65
65
|
"@emotion/styled": "11.10.6",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@types/react-router": "^5.1.20",
|
|
80
80
|
"@types/react-router-dom": "^5.3.3",
|
|
81
81
|
"@types/redux-logger": "^3.0.9",
|
|
82
|
-
"@types/uuid": "
|
|
82
|
+
"@types/uuid": "^9.0.1",
|
|
83
83
|
"apollo-link-logger": "2.0.1",
|
|
84
84
|
"classnames": "^2.3.2",
|
|
85
85
|
"common-tags": "1.8.2",
|
|
@@ -95,7 +95,6 @@
|
|
|
95
95
|
"moment": "^2.29.4",
|
|
96
96
|
"moment-timezone": "^0.5.40",
|
|
97
97
|
"omit-empty-es": "1.1.3",
|
|
98
|
-
"perfume.js": "6.4.0",
|
|
99
98
|
"prop-types": "15.8.1",
|
|
100
99
|
"qss": "2.0.3",
|
|
101
100
|
"react-required-if": "1.0.3",
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
"redux-thunk": "2.4.2",
|
|
105
104
|
"tiny-invariant": "1.3.1",
|
|
106
105
|
"unfetch": "4.2.0",
|
|
107
|
-
"uuid": "
|
|
106
|
+
"uuid": "9.0.0"
|
|
108
107
|
},
|
|
109
108
|
"devDependencies": {
|
|
110
109
|
"@apollo/client": "3.7.10",
|
|
@@ -113,7 +112,7 @@
|
|
|
113
112
|
"msw": "0.49.3",
|
|
114
113
|
"react": "17.0.2",
|
|
115
114
|
"react-dom": "17.0.2",
|
|
116
|
-
"react-intl": "^
|
|
115
|
+
"react-intl": "^6.3.2",
|
|
117
116
|
"react-redux": "7.2.9",
|
|
118
117
|
"react-router-dom": "5.3.4",
|
|
119
118
|
"redux": "4.2.1",
|
|
@@ -125,12 +124,12 @@
|
|
|
125
124
|
"@testing-library/react-hooks": "7.x || 8.x",
|
|
126
125
|
"react": "17.x",
|
|
127
126
|
"react-dom": "17.x",
|
|
128
|
-
"react-intl": "
|
|
127
|
+
"react-intl": "6.x",
|
|
129
128
|
"react-redux": "7.x",
|
|
130
129
|
"react-router-dom": "5.x",
|
|
131
130
|
"redux": "4.x"
|
|
132
131
|
},
|
|
133
132
|
"engines": {
|
|
134
|
-
"node": "
|
|
133
|
+
"node": "16.x || >=18.0.0"
|
|
135
134
|
}
|
|
136
135
|
}
|
|
@@ -35,8 +35,8 @@ var history = require('@commercetools-frontend/browser-history');
|
|
|
35
35
|
var constants = require('@commercetools-frontend/constants');
|
|
36
36
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
-
var configureApollo = require('../../dist/configure-apollo-
|
|
38
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-b7e42426.cjs.dev.js');
|
|
39
|
+
var configureApollo = require('../../dist/configure-apollo-509ab9d6.cjs.dev.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@commercetools-frontend/application-components');
|
|
42
42
|
require('@commercetools-frontend/permissions');
|
|
@@ -35,8 +35,8 @@ var history = require('@commercetools-frontend/browser-history');
|
|
|
35
35
|
var constants = require('@commercetools-frontend/constants');
|
|
36
36
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
-
var configureApollo = require('../../dist/configure-apollo-
|
|
38
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-bd022c84.cjs.prod.js');
|
|
39
|
+
var configureApollo = require('../../dist/configure-apollo-5e92dbd3.cjs.prod.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@commercetools-frontend/application-components');
|
|
42
42
|
require('@commercetools-frontend/permissions');
|
|
@@ -32,8 +32,8 @@ import { createEnhancedHistory } from '@commercetools-frontend/browser-history';
|
|
|
32
32
|
import { DOMAINS } from '@commercetools-frontend/constants';
|
|
33
33
|
import { NotificationProviderForCustomComponent, NotificationsList } from '@commercetools-frontend/react-notifications';
|
|
34
34
|
import { createTestMiddleware } from '@commercetools-frontend/sdk/test-utils';
|
|
35
|
-
import { A as ApplicationEntryPoint } from '../../dist/application-entry-point-
|
|
36
|
-
import {
|
|
35
|
+
import { A as ApplicationEntryPoint } from '../../dist/application-entry-point-2ead2033.esm.js';
|
|
36
|
+
import { n as createReduxStore, d as createApolloClient } from '../../dist/configure-apollo-0834f9f9.esm.js';
|
|
37
37
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
38
38
|
import '@commercetools-frontend/application-components';
|
|
39
39
|
import '@commercetools-frontend/permissions';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './gtm-application-tracker';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type TGtmTrackingEventList = {
|
|
3
|
-
[key: string]: string;
|
|
4
|
-
};
|
|
5
|
-
export type Props = {
|
|
6
|
-
trackingEventList: {
|
|
7
|
-
[key: string]: string | TGtmTrackingEventList;
|
|
8
|
-
};
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
export declare const GtmContext: import("react").Context<{
|
|
12
|
-
track: (action: string, category: string, label?: string | undefined) => void;
|
|
13
|
-
getHierarchy: (node: Node | null) => string;
|
|
14
|
-
trackUserBusinessRole: (userBusinessRole?: string | undefined) => void;
|
|
15
|
-
}>;
|
|
16
|
-
declare const GtmBooter: {
|
|
17
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
export default GtmBooter;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './gtm-user-logout-tracker';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TFetchLoggedInUserQuery } from '../../types/generated/mc';
|
|
2
|
-
type TFetchedUser = TFetchLoggedInUserQuery['user'];
|
|
3
|
-
type Props = {
|
|
4
|
-
user: TFetchedUser;
|
|
5
|
-
};
|
|
6
|
-
declare const GtmUserTracker: {
|
|
7
|
-
(props: Props): null;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
export default GtmUserTracker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './gtm-user-tracker';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
readonly collapseMainNav: {
|
|
3
|
-
readonly action: "CollapseMainNav";
|
|
4
|
-
readonly category: "Main-Navigation";
|
|
5
|
-
readonly label: "Collapse Main Navigation";
|
|
6
|
-
};
|
|
7
|
-
readonly expandMainNav: {
|
|
8
|
-
readonly action: "ExpandMainNav";
|
|
9
|
-
readonly category: "Main-Navigation";
|
|
10
|
-
readonly label: "Expand Main Navigation";
|
|
11
|
-
};
|
|
12
|
-
readonly goToSupport: {
|
|
13
|
-
readonly action: "GoToSupport";
|
|
14
|
-
readonly category: "Main-Navigation";
|
|
15
|
-
readonly label: "Go to Support";
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const trackingEventList: {
|
|
2
|
-
readonly 'Navigation-Categories': "Navigation-Categories";
|
|
3
|
-
readonly 'Navigation-CategoriesSearch': "Navigation-CategoriesSearch";
|
|
4
|
-
readonly 'Navigation-AddCategory': "Navigation-AddCategory";
|
|
5
|
-
readonly 'Navigation-Customers': "Navigation-Customers";
|
|
6
|
-
readonly 'Navigation-AddCustomer': "Navigation-AddCustomer";
|
|
7
|
-
readonly 'Navigation-Dashboard': "Navigation-Dashboard";
|
|
8
|
-
readonly 'Navigation-ProductDiscounts': "Navigation-ProductDiscounts";
|
|
9
|
-
readonly 'Navigation-AddDiscount': "Navigation-AddDiscount";
|
|
10
|
-
readonly 'Navigation-CartDiscounts': "Navigation-CartDiscounts";
|
|
11
|
-
readonly 'Navigation-Orders': "Navigation-Orders";
|
|
12
|
-
readonly 'Navigation-Products': "Navigation-Products";
|
|
13
|
-
readonly 'Navigation-ProductList': "Navigation-ProductList";
|
|
14
|
-
readonly 'Navigation-AddProduct': "Navigation-AddProduct";
|
|
15
|
-
readonly 'Navigation-DirectAccess': "Navigation-DirectAccess";
|
|
16
|
-
readonly 'Navigation-Taxes': "Navigation-Taxes";
|
|
17
|
-
readonly 'Navigation-Support-links': "Navigation-Support-links";
|
|
18
|
-
};
|
|
19
|
-
export default trackingEventList;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
type TrackingListValueMap = {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
};
|
|
4
|
-
type TrackingListValue = string | TrackingListValueMap;
|
|
5
|
-
export type TrackingList = {
|
|
6
|
-
[key: string]: TrackingListValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultEventList: {
|
|
9
|
-
LanguageSwitch: string;
|
|
10
|
-
ProjectSwitch: string;
|
|
11
|
-
ForgotPassword: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const track: (action: string, category: string, label?: string) => void;
|
|
14
|
-
export declare const trackTiming: ({ category, variable, value, label, }: {
|
|
15
|
-
category: string;
|
|
16
|
-
variable: string;
|
|
17
|
-
value: string | number;
|
|
18
|
-
label?: string | undefined;
|
|
19
|
-
}) => void;
|
|
20
|
-
export declare const trackApplicationName: (applicationName: string) => void;
|
|
21
|
-
export declare const trackProjectKey: (projectKey?: string) => void;
|
|
22
|
-
export declare const trackUserBusinessRole: (userBusinessRole?: string) => void;
|
|
23
|
-
export declare const getHierarchy: (node: Node | null) => string;
|
|
24
|
-
export declare const boot: (trackingEventList: TrackingList) => void;
|
|
25
|
-
export declare const updateUser: (userId: string) => void;
|
|
26
|
-
export declare const stopTrackingUser: () => void;
|
|
27
|
-
export {};
|