ahdjs 0.0.40 → 0.0.42
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/build/css/index.css +2 -2
- package/build/css/index.css.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types/GuideChimp.d.ts +9 -0
- package/build/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -45,11 +45,20 @@ export default class GuideChimp {
|
|
|
45
45
|
tour: any;
|
|
46
46
|
notifications: any[];
|
|
47
47
|
elements: Map<any, any>;
|
|
48
|
+
actions: {
|
|
49
|
+
onNextStep: any;
|
|
50
|
+
onPrevStep: any;
|
|
51
|
+
onCloseStep: any;
|
|
52
|
+
};
|
|
48
53
|
/**
|
|
49
54
|
* Called after construction, this hook allows you to add some extra setup
|
|
50
55
|
* logic without having to override the constructor.
|
|
51
56
|
*/
|
|
52
57
|
init(): void;
|
|
58
|
+
handleClick(e: any): void;
|
|
59
|
+
onNextStep(): void;
|
|
60
|
+
onPrevStep(): void;
|
|
61
|
+
onCloseStep(): void;
|
|
53
62
|
setDefaults(): GuideChimp;
|
|
54
63
|
previousStep: any;
|
|
55
64
|
currentStep: any;
|
package/build/types/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare class AHD extends GuideChimp {
|
|
|
11
11
|
attachPlugins(): Promise<void>;
|
|
12
12
|
initializeSiteMap(refetch: boolean): Promise<void>;
|
|
13
13
|
getHelpContent(url: string, refetch: boolean): Promise<any>;
|
|
14
|
-
showPageTour(url: string, refetch: boolean): Promise<void>;
|
|
14
|
+
showPageTour(url: string, refetch: boolean, forceShow: boolean): Promise<void>;
|
|
15
15
|
showAppBanner(url: string, refetch: boolean): Promise<any>;
|
|
16
16
|
fetchFaqs(slug: any): Promise<any>;
|
|
17
17
|
showPageBeacons(url: string, refetch: boolean): Promise<void>;
|