ahdjs 0.0.19 → 0.0.21
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 +30 -25
- package/build/css/index.css +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/testing.html +29 -10
package/package.json
CHANGED
package/testing.html
CHANGED
|
@@ -6,12 +6,20 @@
|
|
|
6
6
|
<body>
|
|
7
7
|
<div class="tour-container">
|
|
8
8
|
User input: <input id="user-input" /> <br /><br />
|
|
9
|
-
<div id="try-and-buy" class="tour-section"
|
|
9
|
+
<div id="try-and-buy" class="tour-section" data-ahd="create-new-entity">
|
|
10
|
+
Try & Buy
|
|
11
|
+
</div>
|
|
10
12
|
<div id="subscription" class="tour-section">Subscription</div>
|
|
11
13
|
<div id="pricing-table" class="tour-section" data-ahd="heading">
|
|
12
14
|
Pricing Table
|
|
13
15
|
</div>
|
|
14
|
-
<div
|
|
16
|
+
<div
|
|
17
|
+
id="multi-feature"
|
|
18
|
+
class="tour-section"
|
|
19
|
+
data-ahd="add-fields-application"
|
|
20
|
+
>
|
|
21
|
+
Multi-Feature
|
|
22
|
+
</div>
|
|
15
23
|
<div id="node-locked" class="tour-section" data-ahd="widget-video">
|
|
16
24
|
Node-Locked
|
|
17
25
|
</div>
|
|
@@ -20,7 +28,7 @@
|
|
|
20
28
|
<script>
|
|
21
29
|
const tour1 = [
|
|
22
30
|
{
|
|
23
|
-
element: "#user-
|
|
31
|
+
element: "#user-input2",
|
|
24
32
|
title: "Try & Buy",
|
|
25
33
|
description:
|
|
26
34
|
"Move to the next step is only possible if user input provided.",
|
|
@@ -204,16 +212,27 @@
|
|
|
204
212
|
},
|
|
205
213
|
];
|
|
206
214
|
const AHDjs = window.AHDjs.default;
|
|
207
|
-
|
|
208
|
-
|
|
215
|
+
let _ahdJs = new AHDjs(undefined, {
|
|
216
|
+
applicationId: "64d2b934c6cfdc96aa3734c5",
|
|
217
|
+
apiHost: "http://localhost:8080/ahd",
|
|
218
|
+
});
|
|
219
|
+
_ahdJs.initializeSiteMap();
|
|
220
|
+
|
|
221
|
+
setTimeout(() => {
|
|
222
|
+
// _ahdJs.clearCachedData()
|
|
223
|
+
}, 50000);
|
|
224
|
+
|
|
225
|
+
// _ahdJs.start();
|
|
226
|
+
_ahdJs.showPageTour("/auth/signin");
|
|
227
|
+
// _ahdJs.showPageBeacons("/configurator/view/xxxx");
|
|
209
228
|
// _ahdJs.showInformation(beacons);
|
|
210
229
|
debugger;
|
|
211
|
-
_ahdJs.updatePageUrl("/testing.html");
|
|
230
|
+
//_ahdJs.updatePageUrl("/testing.html");
|
|
212
231
|
// _ahdJs.start();
|
|
213
|
-
setTimeout(() => {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}, 10000);
|
|
232
|
+
// setTimeout(() => {
|
|
233
|
+
// // _ahdJs.updatePageUrl("/testing.html");
|
|
234
|
+
// _ahdJs.beacons();
|
|
235
|
+
// }, 10000);
|
|
217
236
|
// setTimeout(async () => {
|
|
218
237
|
// await _ahdJs.stop();
|
|
219
238
|
// debugger;
|