@epigraph/epigraph-std-lib 4.7.0-alpha → 4.7.1-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 +179 -227
- package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalyticsEventLibrary.d.ts +83 -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 +61 -54
- package/package.json +1 -1
|
@@ -25,6 +25,67 @@ 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_SHOW = "dimension_show",
|
|
62
|
+
DIMENSION_HIDE = "dimension_hide",
|
|
63
|
+
HOTSPOTS_SHOW = "hotspots_show",
|
|
64
|
+
HOTSPOTS_HIDE = "hotspots_hide",
|
|
65
|
+
HELP_SHOW = "help_show",
|
|
66
|
+
HELP_HIDE = "help_hide",
|
|
67
|
+
HOTSPOT_ENTER = "hotspot_enter",
|
|
68
|
+
HOTSPOT_EXIT = "hotspot_exit",
|
|
69
|
+
SHARE = "share",
|
|
70
|
+
PDF_DOWNLOAD = "pdf_download",
|
|
71
|
+
COPY = "copy",
|
|
72
|
+
RESTART = "restart",
|
|
73
|
+
INSTRUCTIONS_SHOW = "show_instructions",
|
|
74
|
+
REVIEW_CART = "review_cart",
|
|
75
|
+
SHOP_NOW = "shop_now",
|
|
76
|
+
SUB_CATEGORY = "sub_category",
|
|
77
|
+
NEXT_STEP = "next_step",
|
|
78
|
+
PREVIOUS_STEP = "previous_step"
|
|
79
|
+
}
|
|
80
|
+
export declare enum ACTION_PERFORMED {
|
|
81
|
+
ZOOM = "zoom",
|
|
82
|
+
ROTATE = "rotate"
|
|
83
|
+
}
|
|
84
|
+
export declare enum INTERACTION_TYPE {
|
|
85
|
+
ROTATE = "rotate",
|
|
86
|
+
ZOOM = "zoom",
|
|
87
|
+
PAN = "pan"
|
|
88
|
+
}
|
|
28
89
|
export declare class EpigraphArRequestedEvent extends BaseAnalyticsEvent {
|
|
29
90
|
constructor(items: IAnalyticsParameterItems);
|
|
30
91
|
}
|
|
@@ -41,121 +102,44 @@ export declare class EpigraphModuleClosedEvent extends BaseAnalyticsEvent {
|
|
|
41
102
|
constructor(items: IAnalyticsParameterItems);
|
|
42
103
|
}
|
|
43
104
|
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>);
|
|
105
|
+
static readonly SUPPORT_TYPE: typeof SUPPORT_TYPE;
|
|
106
|
+
constructor(supportType: SUPPORT_TYPE, deviceCapabilities?: Record<string, unknown>);
|
|
50
107
|
}
|
|
51
108
|
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);
|
|
109
|
+
static readonly BUTTON_TYPE: typeof BUTTON_TYPE;
|
|
110
|
+
constructor(buttonType: BUTTON_TYPE, buttonName: string);
|
|
74
111
|
}
|
|
75
112
|
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);
|
|
113
|
+
static readonly PANEL_TYPE: typeof PANEL_TYPE;
|
|
114
|
+
static readonly TRIGGER_SOURCE: typeof TRIGGER_SOURCE;
|
|
115
|
+
constructor(isInteractive: boolean, panelType: PANEL_TYPE, triggerSource: TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
97
116
|
}
|
|
98
117
|
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);
|
|
118
|
+
static readonly PANEL_TYPE: typeof PANEL_TYPE;
|
|
119
|
+
static readonly TRIGGER_SOURCE: typeof TRIGGER_SOURCE;
|
|
120
|
+
constructor(isInteractive: boolean, panelType: PANEL_TYPE, triggerSource: TRIGGER_SOURCE, items: IAnalyticsParameterItems);
|
|
120
121
|
}
|
|
121
122
|
export declare class EpigraphAddToFavouritesEvent extends BaseAnalyticsEvent {
|
|
122
123
|
constructor(items: IAnalyticsParameterItems);
|
|
123
124
|
}
|
|
124
125
|
export declare class EpigraphKeyboardInteractionEvent extends BaseAnalyticsEvent {
|
|
125
|
-
static readonly ACTION_PERFORMED:
|
|
126
|
-
|
|
127
|
-
ROTATE: string;
|
|
128
|
-
};
|
|
129
|
-
constructor(actionPerformed: typeof EpigraphKeyboardInteractionEvent.ACTION_PERFORMED);
|
|
126
|
+
static readonly ACTION_PERFORMED: typeof ACTION_PERFORMED;
|
|
127
|
+
constructor(actionPerformed: ACTION_PERFORMED);
|
|
130
128
|
}
|
|
131
129
|
export declare class EpigraphTouchInteractionEvent extends BaseAnalyticsEvent {
|
|
132
|
-
static readonly INTERACTION_TYPE:
|
|
133
|
-
|
|
134
|
-
ZOOM: string;
|
|
135
|
-
PAN: string;
|
|
136
|
-
};
|
|
137
|
-
constructor(interactionType: string);
|
|
130
|
+
static readonly INTERACTION_TYPE: typeof INTERACTION_TYPE;
|
|
131
|
+
constructor(interactionType: INTERACTION_TYPE);
|
|
138
132
|
}
|
|
139
133
|
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);
|
|
134
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
135
|
+
constructor(isInteractive: boolean, value: number, currency: CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
147
136
|
}
|
|
148
137
|
export declare class EpigraphItemMovedEvent extends BaseAnalyticsEvent {
|
|
149
138
|
constructor(items: IAnalyticsParameterItems);
|
|
150
139
|
}
|
|
151
140
|
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);
|
|
141
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
142
|
+
constructor(value: number, currency: CURRENCY, quantity: number, items: IAnalyticsParameterItems);
|
|
159
143
|
}
|
|
160
144
|
export declare class EpigraphVariantChangedEvent extends BaseAnalyticsEvent {
|
|
161
145
|
constructor(changeType: string, items: IAnalyticsParameterItems);
|
|
@@ -164,22 +148,12 @@ export declare class EpigraphContentSharedEvent extends BaseAnalyticsEvent {
|
|
|
164
148
|
constructor(contentType: string, shareDestination: string, items: IAnalyticsParameterItems);
|
|
165
149
|
}
|
|
166
150
|
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);
|
|
151
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
152
|
+
constructor(value: number, currency: CURRENCY, items: IAnalyticsParameterItems);
|
|
174
153
|
}
|
|
175
154
|
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);
|
|
155
|
+
static readonly CURRENCY: typeof CURRENCY;
|
|
156
|
+
constructor(value: number, currency: CURRENCY, items: IAnalyticsParameterItems);
|
|
183
157
|
}
|
|
184
158
|
export declare class EpigraphChangeRateEvent extends BaseAnalyticsEvent {
|
|
185
159
|
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.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.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,69 @@
|
|
|
1
|
-
import { ENVIRONMENT_TYPE as
|
|
1
|
+
import { ENVIRONMENT_TYPE as E, 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, CURRENCY as s, ConsentPluginNames as h, EpigraphAddToFavouritesEvent as u, EpigraphAnalytics as l, EpigraphArRequestedEvent as d, EpigraphButtonClickEvent as v, EpigraphChangeRateEvent as R, EpigraphCheckoutEvent as P, EpigraphCompletionRateEvent as T, EpigraphContentSharedEvent as m, EpigraphConversionEvent as A, EpigraphCustomEvent as N, EpigraphEngagementRateEvent as C, EpigraphItemAddedEvent as I, EpigraphItemMovedEvent as c, EpigraphItemRemovedEvent as x, EpigraphKeyboardInteractionEvent as M, EpigraphModuleClosedEvent as _, EpigraphModuleFailedEvent as f, EpigraphModuleLoadingEvent as O, EpigraphModuleReadyEvent as U, EpigraphPanelClosedEvent as S, EpigraphPanelOpenedEvent as Y, EpigraphSupportDetectedEvent as y, EpigraphTouchInteractionEvent as L, EpigraphVariantChangedEvent as B, GA4AnalyticsPlugin as D, INTERACTION_TYPE as G, NexusAnalyticsPlugin as F, OneTrustConsentPlugin as Q, PANEL_TYPE as V, SUPPORT_TYPE as k, TRIGGER_SOURCE as H } from "./EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js";
|
|
4
|
+
import { EpigraphLogger as q, LogTypes as K, LoggerModeNames as j } from "./EpigraphLibs/EpigraphLogger/epigraphLogger.js";
|
|
5
|
+
import { EpigraphNexusAPI as z, HTTPMethod as J, NexusAPIResourceIdentifier as W, NexusAPIRoutes as X, NexusAPIVersions as Z, NexusEndpoints as $ } from "./EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js";
|
|
6
|
+
import { EpigraphQrCodeGenerator as te } from "./EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js";
|
|
7
|
+
import { Result as pe, failureResult as re, successResult as ne } from "./EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.js";
|
|
8
|
+
import { Distance as ae, DistanceUnits as ie, UnitTypes as ge } from "./EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js";
|
|
9
|
+
import { EpigraphUrlProcessor as he, QUERY_PARAMETER_ACTION_NAMES as ue, QUERY_PARAMETER_NAMES as le } 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 CURRENCY,
|
|
14
|
+
h as ConsentPluginNames,
|
|
15
|
+
ae as Distance,
|
|
16
|
+
ie as DistanceUnits,
|
|
17
|
+
E as ENVIRONMENT_TYPE,
|
|
18
|
+
p as Epigraph,
|
|
19
|
+
u as EpigraphAddToFavouritesEvent,
|
|
20
|
+
l as EpigraphAnalytics,
|
|
21
|
+
d as EpigraphArRequestedEvent,
|
|
19
22
|
n as EpigraphBaseSolutionHtmlElement,
|
|
20
23
|
o as EpigraphBaseSolutionLitElement,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
v as EpigraphButtonClickEvent,
|
|
25
|
+
R as EpigraphChangeRateEvent,
|
|
26
|
+
P as EpigraphCheckoutEvent,
|
|
27
|
+
T as EpigraphCompletionRateEvent,
|
|
25
28
|
m as EpigraphContentSharedEvent,
|
|
26
29
|
A as EpigraphConversionEvent,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
N as EpigraphCustomEvent,
|
|
31
|
+
C as EpigraphEngagementRateEvent,
|
|
32
|
+
I as EpigraphItemAddedEvent,
|
|
33
|
+
c as EpigraphItemMovedEvent,
|
|
34
|
+
x as EpigraphItemRemovedEvent,
|
|
35
|
+
M as EpigraphKeyboardInteractionEvent,
|
|
36
|
+
q as EpigraphLogger,
|
|
37
|
+
_ as EpigraphModuleClosedEvent,
|
|
38
|
+
f as EpigraphModuleFailedEvent,
|
|
39
|
+
O as EpigraphModuleLoadingEvent,
|
|
40
|
+
U as EpigraphModuleReadyEvent,
|
|
41
|
+
z as EpigraphNexusAPI,
|
|
42
|
+
S as EpigraphPanelClosedEvent,
|
|
43
|
+
Y as EpigraphPanelOpenedEvent,
|
|
44
|
+
te as EpigraphQrCodeGenerator,
|
|
45
|
+
y as EpigraphSupportDetectedEvent,
|
|
43
46
|
L as EpigraphTouchInteractionEvent,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
he as EpigraphUrlProcessor,
|
|
48
|
+
B as EpigraphVariantChangedEvent,
|
|
49
|
+
D as GA4AnalyticsPlugin,
|
|
50
|
+
J as HTTPMethod,
|
|
51
|
+
G as INTERACTION_TYPE,
|
|
52
|
+
K as LogTypes,
|
|
53
|
+
j as LoggerModeNames,
|
|
54
|
+
W as NexusAPIResourceIdentifier,
|
|
55
|
+
X as NexusAPIRoutes,
|
|
56
|
+
Z as NexusAPIVersions,
|
|
57
|
+
F as NexusAnalyticsPlugin,
|
|
58
|
+
$ as NexusEndpoints,
|
|
59
|
+
Q as OneTrustConsentPlugin,
|
|
60
|
+
V as PANEL_TYPE,
|
|
61
|
+
ue as QUERY_PARAMETER_ACTION_NAMES,
|
|
62
|
+
le as QUERY_PARAMETER_NAMES,
|
|
63
|
+
pe as Result,
|
|
64
|
+
k as SUPPORT_TYPE,
|
|
65
|
+
H as TRIGGER_SOURCE,
|
|
66
|
+
ge as UnitTypes,
|
|
67
|
+
re as failureResult,
|
|
68
|
+
ne as successResult
|
|
62
69
|
};
|