@epigraph/epigraph-std-lib 4.7.0-alpha → 5.0.0-alpha
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/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.cjs +2 -2
- package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js +245 -285
- package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalyticsEventLibrary.d.ts +96 -109
- package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.cjs +1 -1
- package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.d.ts +2 -1
- package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.js +1 -1
- package/dist/epigraph-std-lib.cjs +1 -1
- package/dist/epigraph-std-lib.js +66 -57
- package/package.json +1 -1
|
@@ -25,6 +25,78 @@ declare class BaseAnalyticsEvent implements IAnalyticsEvent {
|
|
|
25
25
|
interactive_event: boolean;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
+
export declare enum PANEL_TYPE {
|
|
29
|
+
AR = "ar",
|
|
30
|
+
QR = "qr",
|
|
31
|
+
INFO = "info",
|
|
32
|
+
DOWNLOAD = "download",
|
|
33
|
+
PREVIEW_CART = "preview_cart",
|
|
34
|
+
HOTSPOT_PANEL = "hotspot_panel",
|
|
35
|
+
SHARE_MODAL = "share_modal",
|
|
36
|
+
RESTART_MODAL = "restart_modal",
|
|
37
|
+
REMOVE_MODAL = "remove_modal",
|
|
38
|
+
LOAD_PRECONFIG_MODAL = "load_preconfig_modal",
|
|
39
|
+
MOVE_MODAL = "move_modal",
|
|
40
|
+
OUT_OF_STOCK_MODAL = "out_of_stock_modal"
|
|
41
|
+
}
|
|
42
|
+
export declare enum TRIGGER_SOURCE {
|
|
43
|
+
AUTO = "auto",
|
|
44
|
+
BUTTON = "button",
|
|
45
|
+
HOTSPOT = "hotspot",
|
|
46
|
+
GESTURE = "gesture"
|
|
47
|
+
}
|
|
48
|
+
export declare enum CURRENCY {
|
|
49
|
+
USD = "USD",
|
|
50
|
+
EUR = "EUR",
|
|
51
|
+
GBP = "GBP",
|
|
52
|
+
CAD = "CAD"
|
|
53
|
+
}
|
|
54
|
+
export declare enum SUPPORT_TYPE {
|
|
55
|
+
AR = "ar",
|
|
56
|
+
QR = "qr",
|
|
57
|
+
WEBGL2 = "webgl2"
|
|
58
|
+
}
|
|
59
|
+
export declare enum BUTTON_TYPE {
|
|
60
|
+
AR_VIEW = "ar_view",
|
|
61
|
+
DIMENSION_TOGGLE = "dimension_toggle",
|
|
62
|
+
HOTSPOTS_TOGGLE = "hotspots_toggle",
|
|
63
|
+
HELP_TOGGLE = "help_toggle",
|
|
64
|
+
UTILITY_MENU_TOGGLE = "utility_menu_toggle",
|
|
65
|
+
HOTSPOT_ENTER = "hotspot_enter",
|
|
66
|
+
HOTSPOT_EXIT = "hotspot_exit",
|
|
67
|
+
SHARE = "share",
|
|
68
|
+
PDF_DOWNLOAD = "pdf_download",
|
|
69
|
+
COPY = "copy",
|
|
70
|
+
RESTART = "restart",
|
|
71
|
+
INSTRUCTIONS_SHOW = "show_instructions",
|
|
72
|
+
REVIEW_CART = "review_cart",
|
|
73
|
+
SHOP_NOW = "shop_now",
|
|
74
|
+
SUB_CATEGORY = "sub_category",
|
|
75
|
+
NEXT_STEP = "next_step",
|
|
76
|
+
PREVIOUS_STEP = "previous_step"
|
|
77
|
+
}
|
|
78
|
+
export declare enum ACTION_PERFORMED {
|
|
79
|
+
ZOOM = "zoom",
|
|
80
|
+
ROTATE = "rotate"
|
|
81
|
+
}
|
|
82
|
+
export declare enum INTERACTION_TYPE {
|
|
83
|
+
ROTATE = "rotate",
|
|
84
|
+
ZOOM = "zoom",
|
|
85
|
+
PAN = "pan"
|
|
86
|
+
}
|
|
87
|
+
export declare enum CONTENT_TYPES {
|
|
88
|
+
CONFIGURATION = "configuration",
|
|
89
|
+
SCENE = "scene",
|
|
90
|
+
PRODUCT = "product"
|
|
91
|
+
}
|
|
92
|
+
export declare enum SHARE_DESTINATIONS {
|
|
93
|
+
FACEBOOK = "facebook",
|
|
94
|
+
TWITTER = "twitter",
|
|
95
|
+
EMAIL = "email",
|
|
96
|
+
COPY_LINK = "copy_link",
|
|
97
|
+
WHATSAPP = "whatsapp",
|
|
98
|
+
LINKEDIN = "linkedin"
|
|
99
|
+
}
|
|
28
100
|
export declare class EpigraphArRequestedEvent extends BaseAnalyticsEvent {
|
|
29
101
|
constructor(items: IAnalyticsParameterItems);
|
|
30
102
|
}
|
|
@@ -41,145 +113,60 @@ export declare class EpigraphModuleClosedEvent extends BaseAnalyticsEvent {
|
|
|
41
113
|
constructor(items: IAnalyticsParameterItems);
|
|
42
114
|
}
|
|
43
115
|
export declare class EpigraphSupportDetectedEvent extends BaseAnalyticsEvent {
|
|
44
|
-
static readonly SUPPORT_TYPE:
|
|
45
|
-
|
|
46
|
-
QR: string;
|
|
47
|
-
WEBGL2: string;
|
|
48
|
-
};
|
|
49
|
-
constructor(supportType: typeof EpigraphSupportDetectedEvent.SUPPORT_TYPE, deviceCapabilities?: Record<string, unknown>);
|
|
116
|
+
static readonly SUPPORT_TYPE: typeof SUPPORT_TYPE;
|
|
117
|
+
constructor(supportType: SUPPORT_TYPE, deviceCapabilities?: Record<string, unknown>);
|
|
50
118
|
}
|
|
51
119
|
export declare class EpigraphButtonClickEvent extends BaseAnalyticsEvent {
|
|
52
|
-
static readonly BUTTON_TYPE:
|
|
53
|
-
|
|
54
|
-
DIMENSION_SHOW: string;
|
|
55
|
-
DIMENSION_HIDE: string;
|
|
56
|
-
HOTSPOTS_SHOW: string;
|
|
57
|
-
HOTSPOTS_HIDE: string;
|
|
58
|
-
HELP_SHOW: string;
|
|
59
|
-
HELP_HIDE: string;
|
|
60
|
-
HOTSPOT_ENTER: string;
|
|
61
|
-
HOTSPOT_EXIT: string;
|
|
62
|
-
SHARE: string;
|
|
63
|
-
PDF_DOWNLOAD: string;
|
|
64
|
-
COPY: string;
|
|
65
|
-
RESTART: string;
|
|
66
|
-
INSTRUCTIONS_SHOW: string;
|
|
67
|
-
REVIEW_CART: string;
|
|
68
|
-
SHOP_NOW: string;
|
|
69
|
-
SUB_CATEGORY: string;
|
|
70
|
-
NEXT_STEP: string;
|
|
71
|
-
PREVIOUS_STEP: string;
|
|
72
|
-
};
|
|
73
|
-
constructor(buttonType: typeof EpigraphButtonClickEvent.BUTTON_TYPE, buttonName: string);
|
|
120
|
+
static readonly BUTTON_TYPE: typeof BUTTON_TYPE;
|
|
121
|
+
constructor(buttonType: BUTTON_TYPE, buttonName: string);
|
|
74
122
|
}
|
|
75
123
|
export declare class EpigraphPanelOpenedEvent extends BaseAnalyticsEvent {
|
|
76
|
-
static readonly PANEL_TYPE:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
INFO: string;
|
|
80
|
-
DOWNLOAD: string;
|
|
81
|
-
PREVIEW_CART: string;
|
|
82
|
-
HOTSPOT_PANEL: string;
|
|
83
|
-
SHARE_MODAL: string;
|
|
84
|
-
RESTART_MODAL: string;
|
|
85
|
-
REMOVE_MODAL: string;
|
|
86
|
-
LOAD_PRECONFIG_MODAL: string;
|
|
87
|
-
MOVE_MODAL: string;
|
|
88
|
-
OUT_OF_STOCK_MODAL: string;
|
|
89
|
-
};
|
|
90
|
-
static readonly TRIGGER_SOURCE: {
|
|
91
|
-
AUTO: string;
|
|
92
|
-
BUTTON: string;
|
|
93
|
-
HOTSPOT: string;
|
|
94
|
-
GESTURE: string;
|
|
95
|
-
};
|
|
96
|
-
constructor(isInteractive: boolean, panelType: typeof EpigraphPanelOpenedEvent.PANEL_TYPE, triggerSource: typeof EpigraphPanelOpenedEvent.TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
124
|
+
static readonly PANEL_TYPE: typeof PANEL_TYPE;
|
|
125
|
+
static readonly TRIGGER_SOURCE: typeof TRIGGER_SOURCE;
|
|
126
|
+
constructor(isInteractive: boolean, panelType: PANEL_TYPE, triggerSource: TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
97
127
|
}
|
|
98
128
|
export declare class EpigraphPanelClosedEvent extends BaseAnalyticsEvent {
|
|
99
|
-
static readonly PANEL_TYPE:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
INFO: string;
|
|
103
|
-
DOWNLOAD: string;
|
|
104
|
-
PREVIEW_CART: string;
|
|
105
|
-
HOTSPOT_PANEL: string;
|
|
106
|
-
SHARE_MODAL: string;
|
|
107
|
-
RESTART_MODAL: string;
|
|
108
|
-
REMOVE_MODAL: string;
|
|
109
|
-
LOAD_PRECONFIG_MODAL: string;
|
|
110
|
-
MOVE_MODAL: string;
|
|
111
|
-
OUT_OF_STOCK_MODAL: string;
|
|
112
|
-
};
|
|
113
|
-
static readonly TRIGGER_SOURCE: {
|
|
114
|
-
AUTO: string;
|
|
115
|
-
BUTTON: string;
|
|
116
|
-
HOTSPOT: string;
|
|
117
|
-
GESTURE: string;
|
|
118
|
-
};
|
|
119
|
-
constructor(isInteractive: boolean, panelType: typeof EpigraphPanelOpenedEvent.PANEL_TYPE, triggerSource: typeof EpigraphPanelOpenedEvent.TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
129
|
+
static readonly PANEL_TYPE: typeof PANEL_TYPE;
|
|
130
|
+
static readonly TRIGGER_SOURCE: typeof TRIGGER_SOURCE;
|
|
131
|
+
constructor(isInteractive: boolean, panelType: PANEL_TYPE, triggerSource: TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
120
132
|
}
|
|
121
133
|
export declare class EpigraphAddToFavouritesEvent extends BaseAnalyticsEvent {
|
|
122
134
|
constructor(items: IAnalyticsParameterItems);
|
|
123
135
|
}
|
|
124
136
|
export declare class EpigraphKeyboardInteractionEvent extends BaseAnalyticsEvent {
|
|
125
|
-
static readonly ACTION_PERFORMED:
|
|
126
|
-
|
|
127
|
-
ROTATE: string;
|
|
128
|
-
};
|
|
129
|
-
constructor(actionPerformed: typeof EpigraphKeyboardInteractionEvent.ACTION_PERFORMED);
|
|
137
|
+
static readonly ACTION_PERFORMED: typeof ACTION_PERFORMED;
|
|
138
|
+
constructor(actionPerformed: ACTION_PERFORMED);
|
|
130
139
|
}
|
|
131
140
|
export declare class EpigraphTouchInteractionEvent extends BaseAnalyticsEvent {
|
|
132
|
-
static readonly INTERACTION_TYPE:
|
|
133
|
-
|
|
134
|
-
ZOOM: string;
|
|
135
|
-
PAN: string;
|
|
136
|
-
};
|
|
137
|
-
constructor(interactionType: string);
|
|
141
|
+
static readonly INTERACTION_TYPE: typeof INTERACTION_TYPE;
|
|
142
|
+
constructor(interactionType: INTERACTION_TYPE);
|
|
138
143
|
}
|
|
139
144
|
export declare class EpigraphItemAddedEvent extends BaseAnalyticsEvent {
|
|
140
|
-
static readonly CURRENCY:
|
|
141
|
-
|
|
142
|
-
EUR: string;
|
|
143
|
-
GBP: string;
|
|
144
|
-
CAD: string;
|
|
145
|
-
};
|
|
146
|
-
constructor(isInteractive: boolean, value: number, currency: typeof EpigraphItemAddedEvent.CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
145
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
146
|
+
constructor(isInteractive: boolean, value: number, currency: CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
147
147
|
}
|
|
148
148
|
export declare class EpigraphItemMovedEvent extends BaseAnalyticsEvent {
|
|
149
149
|
constructor(items: IAnalyticsParameterItems);
|
|
150
150
|
}
|
|
151
151
|
export declare class EpigraphItemRemovedEvent extends BaseAnalyticsEvent {
|
|
152
|
-
static readonly CURRENCY:
|
|
153
|
-
|
|
154
|
-
EUR: string;
|
|
155
|
-
GBP: string;
|
|
156
|
-
CAD: string;
|
|
157
|
-
};
|
|
158
|
-
constructor(value: number, currency: typeof EpigraphItemRemovedEvent.CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
152
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
153
|
+
constructor(value: number, currency: CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
159
154
|
}
|
|
160
155
|
export declare class EpigraphVariantChangedEvent extends BaseAnalyticsEvent {
|
|
161
156
|
constructor(changeType: string, items: IAnalyticsParameterItems);
|
|
162
157
|
}
|
|
163
158
|
export declare class EpigraphContentSharedEvent extends BaseAnalyticsEvent {
|
|
159
|
+
static readonly CONTENT_TYPES: typeof CONTENT_TYPES;
|
|
160
|
+
static readonly SHARE_DESTINATIONS: typeof SHARE_DESTINATIONS;
|
|
164
161
|
constructor(contentType: string, shareDestination: string, items: IAnalyticsParameterItems);
|
|
165
162
|
}
|
|
166
163
|
export declare class EpigraphCheckoutEvent extends BaseAnalyticsEvent {
|
|
167
|
-
static readonly CURRENCY:
|
|
168
|
-
|
|
169
|
-
EUR: string;
|
|
170
|
-
GBP: string;
|
|
171
|
-
CAD: string;
|
|
172
|
-
};
|
|
173
|
-
constructor(value: number, currency: typeof EpigraphCheckoutEvent.CURRENCY, items: IAnalyticsParameterItems);
|
|
164
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
165
|
+
constructor(value: number, currency: CURRENCY, items: IAnalyticsParameterItems);
|
|
174
166
|
}
|
|
175
167
|
export declare class EpigraphConversionEvent extends BaseAnalyticsEvent {
|
|
176
|
-
static readonly CURRENCY:
|
|
177
|
-
|
|
178
|
-
EUR: string;
|
|
179
|
-
GBP: string;
|
|
180
|
-
CAD: string;
|
|
181
|
-
};
|
|
182
|
-
constructor(value: number, currency: typeof EpigraphConversionEvent.CURRENCY, items: IAnalyticsParameterItems);
|
|
168
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
169
|
+
constructor(value: number, currency: CURRENCY, items: IAnalyticsParameterItems);
|
|
183
170
|
}
|
|
184
171
|
export declare class EpigraphChangeRateEvent extends BaseAnalyticsEvent {
|
|
185
172
|
constructor(value: number);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=(r=>(r.AR="ar",r))(n||{}),i=(r=>(r.type="t",r.identifierType="idt",r.identifier="id",r.epigraphSessionId="eid",r.action="a",r))(i||{});class l{constructor(e=window.location.href){this._baseUrl=e}get baseUrl(){return this._baseUrl}set baseUrl(e){this._baseUrl=e}getParameterInUrl(e){const a=new URL(this._baseUrl);let t=a.searchParams.get(e);return t||(t=this.decryptQueryParametersInUrl(a).searchParams.get(e)),t}hasParameterInUrl(e){return!!this.getParameterInUrl(e)}generateQrCodeUrl(e={},a=!0){const t=new URL(this._baseUrl);for(const[s,c]of Object.entries(e))t.searchParams.set(s,c);return a&&this.encryptQueryParametersInUrl(t),t}encryptQueryParametersInUrl(e){return e.search=btoa(e.search),e}decryptQueryParametersInUrl(e){let a=e;try{e.search=atob(e.search.slice(1)),a=e}catch(t){window.epigraph.logger.info({title:`Couldn't decode URL: ${e}`,details:t})}return a}}exports.EpigraphUrlProcessor=l;exports.QUERY_PARAMETER_ACTION_NAMES=n;exports.QUERY_PARAMETER_NAMES=i;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=(r=>(r.AR="ar",r))(n||{}),i=(r=>(r.type="t",r.identifierType="idt",r.identifier="id",r.epigraphSessionId="eid",r.action="a",r.sharedConfig="sc",r))(i||{});class l{constructor(e=window.location.href){this._baseUrl=e}get baseUrl(){return this._baseUrl}set baseUrl(e){this._baseUrl=e}getParameterInUrl(e){const a=new URL(this._baseUrl);let t=a.searchParams.get(e);return t||(t=this.decryptQueryParametersInUrl(a).searchParams.get(e)),t}hasParameterInUrl(e){return!!this.getParameterInUrl(e)}generateQrCodeUrl(e={},a=!0){const t=new URL(this._baseUrl);for(const[s,c]of Object.entries(e))t.searchParams.set(s,c);return a&&this.encryptQueryParametersInUrl(t),t}encryptQueryParametersInUrl(e){return e.search=btoa(e.search),e}decryptQueryParametersInUrl(e){let a=e;try{e.search=atob(e.search.slice(1)),a=e}catch(t){window.epigraph.logger.info({title:`Couldn't decode URL: ${e}`,details:t})}return a}}exports.EpigraphUrlProcessor=l;exports.QUERY_PARAMETER_ACTION_NAMES=n;exports.QUERY_PARAMETER_NAMES=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var i = /* @__PURE__ */ ((r) => (r.AR = "ar", r))(i || {}), c = /* @__PURE__ */ ((r) => (r.type = "t", r.identifierType = "idt", r.identifier = "id", r.epigraphSessionId = "eid", r.action = "a", r))(c || {});
|
|
1
|
+
var i = /* @__PURE__ */ ((r) => (r.AR = "ar", r))(i || {}), c = /* @__PURE__ */ ((r) => (r.type = "t", r.identifierType = "idt", r.identifier = "id", r.epigraphSessionId = "eid", r.action = "a", r.sharedConfig = "sc", r))(c || {});
|
|
2
2
|
class l {
|
|
3
3
|
constructor(e = window.location.href) {
|
|
4
4
|
this._baseUrl = e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./Epigraph/epigraph.cjs"),n=require("./Epigraph/epigraphBaseSolutions.cjs"),e=require("./EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.cjs"),E=require("./EpigraphLibs/EpigraphLogger/epigraphLogger.cjs"),p=require("./EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.cjs"),g=require("./EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.cjs"),r=require("./EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.cjs"),t=require("./EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.cjs"),i=require("./EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.cjs");exports.ENVIRONMENT_TYPE=a.ENVIRONMENT_TYPE;exports.Epigraph=a.Epigraph;exports.EpigraphBaseSolutionHtmlElement=n.EpigraphBaseSolutionHtmlElement;exports.EpigraphBaseSolutionLitElement=n.EpigraphBaseSolutionLitElement;exports.ACTION_PERFORMED=e.ACTION_PERFORMED;exports.BUTTON_TYPE=e.BUTTON_TYPE;exports.CONTENT_TYPES=e.CONTENT_TYPES;exports.CURRENCY=e.CURRENCY;exports.ConsentPluginNames=e.ConsentPluginNames;exports.EpigraphAddToFavouritesEvent=e.EpigraphAddToFavouritesEvent;exports.EpigraphAnalytics=e.EpigraphAnalytics;exports.EpigraphArRequestedEvent=e.EpigraphArRequestedEvent;exports.EpigraphButtonClickEvent=e.EpigraphButtonClickEvent;exports.EpigraphChangeRateEvent=e.EpigraphChangeRateEvent;exports.EpigraphCheckoutEvent=e.EpigraphCheckoutEvent;exports.EpigraphCompletionRateEvent=e.EpigraphCompletionRateEvent;exports.EpigraphContentSharedEvent=e.EpigraphContentSharedEvent;exports.EpigraphConversionEvent=e.EpigraphConversionEvent;exports.EpigraphCustomEvent=e.EpigraphCustomEvent;exports.EpigraphEngagementRateEvent=e.EpigraphEngagementRateEvent;exports.EpigraphItemAddedEvent=e.EpigraphItemAddedEvent;exports.EpigraphItemMovedEvent=e.EpigraphItemMovedEvent;exports.EpigraphItemRemovedEvent=e.EpigraphItemRemovedEvent;exports.EpigraphKeyboardInteractionEvent=e.EpigraphKeyboardInteractionEvent;exports.EpigraphModuleClosedEvent=e.EpigraphModuleClosedEvent;exports.EpigraphModuleFailedEvent=e.EpigraphModuleFailedEvent;exports.EpigraphModuleLoadingEvent=e.EpigraphModuleLoadingEvent;exports.EpigraphModuleReadyEvent=e.EpigraphModuleReadyEvent;exports.EpigraphPanelClosedEvent=e.EpigraphPanelClosedEvent;exports.EpigraphPanelOpenedEvent=e.EpigraphPanelOpenedEvent;exports.EpigraphSupportDetectedEvent=e.EpigraphSupportDetectedEvent;exports.EpigraphTouchInteractionEvent=e.EpigraphTouchInteractionEvent;exports.EpigraphVariantChangedEvent=e.EpigraphVariantChangedEvent;exports.GA4AnalyticsPlugin=e.GA4AnalyticsPlugin;exports.INTERACTION_TYPE=e.INTERACTION_TYPE;exports.NexusAnalyticsPlugin=e.NexusAnalyticsPlugin;exports.OneTrustConsentPlugin=e.OneTrustConsentPlugin;exports.PANEL_TYPE=e.PANEL_TYPE;exports.SHARE_DESTINATIONS=e.SHARE_DESTINATIONS;exports.SUPPORT_TYPE=e.SUPPORT_TYPE;exports.TRIGGER_SOURCE=e.TRIGGER_SOURCE;exports.EpigraphLogger=E.EpigraphLogger;exports.LogTypes=E.LogTypes;exports.LoggerModeNames=E.LoggerModeNames;exports.EpigraphNexusAPI=p.EpigraphNexusAPI;exports.HTTPMethod=p.HTTPMethod;exports.NexusAPIResourceIdentifier=p.NexusAPIResourceIdentifier;exports.NexusAPIRoutes=p.NexusAPIRoutes;exports.NexusAPIVersions=p.NexusAPIVersions;exports.NexusEndpoints=p.NexusEndpoints;exports.EpigraphQrCodeGenerator=g.EpigraphQrCodeGenerator;exports.Result=r.Result;exports.failureResult=r.failureResult;exports.successResult=r.successResult;exports.Distance=t.Distance;exports.DistanceUnits=t.DistanceUnits;exports.UnitTypes=t.UnitTypes;exports.EpigraphUrlProcessor=i.EpigraphUrlProcessor;exports.QUERY_PARAMETER_ACTION_NAMES=i.QUERY_PARAMETER_ACTION_NAMES;exports.QUERY_PARAMETER_NAMES=i.QUERY_PARAMETER_NAMES;
|
package/dist/epigraph-std-lib.js
CHANGED
|
@@ -1,62 +1,71 @@
|
|
|
1
|
-
import { ENVIRONMENT_TYPE as
|
|
1
|
+
import { ENVIRONMENT_TYPE as t, Epigraph as p } from "./Epigraph/epigraph.js";
|
|
2
2
|
import { EpigraphBaseSolutionHtmlElement as n, EpigraphBaseSolutionLitElement as o } from "./Epigraph/epigraphBaseSolutions.js";
|
|
3
|
-
import {
|
|
4
|
-
import { EpigraphLogger as
|
|
5
|
-
import { EpigraphNexusAPI as
|
|
6
|
-
import { EpigraphQrCodeGenerator as
|
|
7
|
-
import { Result as
|
|
8
|
-
import { Distance as
|
|
9
|
-
import { EpigraphUrlProcessor as
|
|
3
|
+
import { ACTION_PERFORMED as i, BUTTON_TYPE as g, CONTENT_TYPES as s, CURRENCY as h, ConsentPluginNames as u, EpigraphAddToFavouritesEvent as l, EpigraphAnalytics as R, EpigraphArRequestedEvent as T, EpigraphButtonClickEvent as d, EpigraphChangeRateEvent as v, EpigraphCheckoutEvent as N, EpigraphCompletionRateEvent as P, EpigraphContentSharedEvent as A, EpigraphConversionEvent as m, EpigraphCustomEvent as C, EpigraphEngagementRateEvent as I, EpigraphItemAddedEvent as c, EpigraphItemMovedEvent as x, EpigraphItemRemovedEvent as _, EpigraphKeyboardInteractionEvent as M, EpigraphModuleClosedEvent as O, EpigraphModuleFailedEvent as S, EpigraphModuleLoadingEvent as f, EpigraphModuleReadyEvent as U, EpigraphPanelClosedEvent as Y, EpigraphPanelOpenedEvent as y, EpigraphSupportDetectedEvent as L, EpigraphTouchInteractionEvent as D, EpigraphVariantChangedEvent as B, GA4AnalyticsPlugin as G, INTERACTION_TYPE as F, NexusAnalyticsPlugin as H, OneTrustConsentPlugin as Q, PANEL_TYPE as V, SHARE_DESTINATIONS as k, SUPPORT_TYPE as b, TRIGGER_SOURCE as q } from "./EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js";
|
|
4
|
+
import { EpigraphLogger as j, LogTypes as w, LoggerModeNames as z } from "./EpigraphLibs/EpigraphLogger/epigraphLogger.js";
|
|
5
|
+
import { EpigraphNexusAPI as W, HTTPMethod as X, NexusAPIResourceIdentifier as Z, NexusAPIRoutes as $, NexusAPIVersions as ee, NexusEndpoints as Ee } from "./EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js";
|
|
6
|
+
import { EpigraphQrCodeGenerator as pe } from "./EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js";
|
|
7
|
+
import { Result as ne, failureResult as oe, successResult as ae } from "./EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.js";
|
|
8
|
+
import { Distance as ge, DistanceUnits as se, UnitTypes as he } from "./EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js";
|
|
9
|
+
import { EpigraphUrlProcessor as le, QUERY_PARAMETER_ACTION_NAMES as Re, QUERY_PARAMETER_NAMES as Te } from "./EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.js";
|
|
10
10
|
export {
|
|
11
|
-
i as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
i as ACTION_PERFORMED,
|
|
12
|
+
g as BUTTON_TYPE,
|
|
13
|
+
s as CONTENT_TYPES,
|
|
14
|
+
h as CURRENCY,
|
|
15
|
+
u as ConsentPluginNames,
|
|
16
|
+
ge as Distance,
|
|
17
|
+
se as DistanceUnits,
|
|
18
|
+
t as ENVIRONMENT_TYPE,
|
|
19
|
+
p as Epigraph,
|
|
20
|
+
l as EpigraphAddToFavouritesEvent,
|
|
21
|
+
R as EpigraphAnalytics,
|
|
22
|
+
T as EpigraphArRequestedEvent,
|
|
19
23
|
n as EpigraphBaseSolutionHtmlElement,
|
|
20
24
|
o as EpigraphBaseSolutionLitElement,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
25
|
+
d as EpigraphButtonClickEvent,
|
|
26
|
+
v as EpigraphChangeRateEvent,
|
|
27
|
+
N as EpigraphCheckoutEvent,
|
|
28
|
+
P as EpigraphCompletionRateEvent,
|
|
29
|
+
A as EpigraphContentSharedEvent,
|
|
30
|
+
m as EpigraphConversionEvent,
|
|
31
|
+
C as EpigraphCustomEvent,
|
|
32
|
+
I as EpigraphEngagementRateEvent,
|
|
33
|
+
c as EpigraphItemAddedEvent,
|
|
34
|
+
x as EpigraphItemMovedEvent,
|
|
35
|
+
_ as EpigraphItemRemovedEvent,
|
|
36
|
+
M as EpigraphKeyboardInteractionEvent,
|
|
37
|
+
j as EpigraphLogger,
|
|
38
|
+
O as EpigraphModuleClosedEvent,
|
|
39
|
+
S as EpigraphModuleFailedEvent,
|
|
40
|
+
f as EpigraphModuleLoadingEvent,
|
|
41
|
+
U as EpigraphModuleReadyEvent,
|
|
42
|
+
W as EpigraphNexusAPI,
|
|
43
|
+
Y as EpigraphPanelClosedEvent,
|
|
44
|
+
y as EpigraphPanelOpenedEvent,
|
|
45
|
+
pe as EpigraphQrCodeGenerator,
|
|
46
|
+
L as EpigraphSupportDetectedEvent,
|
|
47
|
+
D as EpigraphTouchInteractionEvent,
|
|
48
|
+
le as EpigraphUrlProcessor,
|
|
49
|
+
B as EpigraphVariantChangedEvent,
|
|
50
|
+
G as GA4AnalyticsPlugin,
|
|
51
|
+
X as HTTPMethod,
|
|
52
|
+
F as INTERACTION_TYPE,
|
|
53
|
+
w as LogTypes,
|
|
54
|
+
z as LoggerModeNames,
|
|
55
|
+
Z as NexusAPIResourceIdentifier,
|
|
56
|
+
$ as NexusAPIRoutes,
|
|
57
|
+
ee as NexusAPIVersions,
|
|
58
|
+
H as NexusAnalyticsPlugin,
|
|
59
|
+
Ee as NexusEndpoints,
|
|
60
|
+
Q as OneTrustConsentPlugin,
|
|
61
|
+
V as PANEL_TYPE,
|
|
62
|
+
Re as QUERY_PARAMETER_ACTION_NAMES,
|
|
63
|
+
Te as QUERY_PARAMETER_NAMES,
|
|
64
|
+
ne as Result,
|
|
65
|
+
k as SHARE_DESTINATIONS,
|
|
66
|
+
b as SUPPORT_TYPE,
|
|
67
|
+
q as TRIGGER_SOURCE,
|
|
68
|
+
he as UnitTypes,
|
|
69
|
+
oe as failureResult,
|
|
70
|
+
ae as successResult
|
|
62
71
|
};
|