@appcues/web-sdk 7.24.1 → 7.24.3
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/CHANGELOG.md +12 -0
- package/build/{bootstrap.npm.DOAXwcKF.js → bootstrap.npm.Df7K6kQi.js} +25 -15
- package/build/index.npm.js +1 -1
- package/build/{open-builder.D0GqutyR.js → open-builder.D24FICI0.js} +768 -760
- package/build/sagas/sagas.d.ts.map +1 -1
- package/package.json +1 -1
- /package/build/{checklist.337650133924744b50ef043c4a91c308ad019cdb.css → checklist.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{container.337650133924744b50ef043c4a91c308ad019cdb.css → container.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{debugger.337650133924744b50ef043c4a91c308ad019cdb.css → debugger.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{modal-step-legacy-render.337650133924744b50ef043c4a91c308ad019cdb.css → modal-step-legacy-render.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{modal.337650133924744b50ef043c4a91c308ad019cdb.css → modal.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{satisfaction-survey.337650133924744b50ef043c4a91c308ad019cdb.css → satisfaction-survey.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{test-mode.337650133924744b50ef043c4a91c308ad019cdb.css → test-mode.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
- /package/build/{tooltip.337650133924744b50ef043c4a91c308ad019cdb.css → tooltip.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @appcues/web-sdk
|
|
2
2
|
|
|
3
|
+
## 7.24.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 57e582f: Add entrance and exit animation controls to tooltip steps, and remove the incidental first-placement slide from all anchored overlays (tooltips, pins, hotspots).
|
|
8
|
+
|
|
9
|
+
## 7.24.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3376501: Add an "Advance if selector can't be found" option to tooltip step settings, letting a flow automatically move to the next or a chosen step when a tooltip's target element is missing.
|
|
14
|
+
|
|
3
15
|
## 7.24.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1946,7 +1946,7 @@ function ys(e) {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
//#endregion
|
|
1948
1948
|
//#region src/styles/checklist.css?url
|
|
1949
|
-
var bs = "/generic/main/7.24.
|
|
1949
|
+
var bs = "/generic/main/7.24.3/checklist.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", xs = "sha256-V0XysNBfj4XuJbDIW5aWcjP7IedHdnAvCi8DeLwGv2o=", Ss = ys(bs), Cs = 30, ws = -300, Ts = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Es = null, Ds = null, Os = null, ks = null, As = (e) => {
|
|
1950
1950
|
let { id: t, name: n, styles: r, text_tokens: i, items: a, is_checklist_expanded: o, is_first_view: s, frameHeight: c, beaconWidth: l, onBeaconClicked: u, onItemClicked: d, onOutsideClicked: f, onDismissClicked: p, onDismissCanceled: m, onDismissConfirmed: h, onCSSLoaded: g, onMinimizedClicked: _, shouldShowConfirmDismiss: v, onExpandChecklistResize: y, onCollapseBeaconResize: b, status: x, progress_state: S, is_sequential: C, is_dismissable: ee, showBadge: te, collisionMode: ne, collisionCoordinates: re, isInjectableSDK: ie, styling: ae } = e, oe = (e) => {
|
|
1951
1951
|
ie || setTimeout(() => {
|
|
1952
1952
|
as(e.elm);
|
|
@@ -3782,8 +3782,8 @@ var _u = (e, t, n) => {
|
|
|
3782
3782
|
flowVersion: e.version_id,
|
|
3783
3783
|
...a ? { workflowId: a } : {},
|
|
3784
3784
|
...o ? { workflowTaskId: o } : {},
|
|
3785
|
-
campaignId: e.campaign_id
|
|
3786
|
-
tacticId: e.tactic_id
|
|
3785
|
+
...e.campaign_id != null && { campaignId: e.campaign_id },
|
|
3786
|
+
...e.tactic_id != null && { tacticId: e.tactic_id },
|
|
3787
3787
|
timestamp: Date.now(),
|
|
3788
3788
|
sessionId: t,
|
|
3789
3789
|
localeName: r,
|
|
@@ -3800,8 +3800,8 @@ function yu(e, t, n) {
|
|
|
3800
3800
|
return {
|
|
3801
3801
|
checklistId: e.id,
|
|
3802
3802
|
checklistName: e.internal_name,
|
|
3803
|
-
campaignId: e.campaign_id
|
|
3804
|
-
tacticId: e.tactic_id
|
|
3803
|
+
...e.campaign_id != null && { campaignId: e.campaign_id },
|
|
3804
|
+
...e.tactic_id != null && { tacticId: e.tactic_id },
|
|
3805
3805
|
timestamp: Date.now(),
|
|
3806
3806
|
sessionId: t,
|
|
3807
3807
|
...n
|
|
@@ -3812,8 +3812,8 @@ function bu(e, t, n, r) {
|
|
|
3812
3812
|
checklistId: e.id,
|
|
3813
3813
|
checklistName: e.internal_name,
|
|
3814
3814
|
checklistVersion: e.version_id,
|
|
3815
|
-
campaignId: e.campaign_id
|
|
3816
|
-
tacticId: e.tactic_id
|
|
3815
|
+
...e.campaign_id != null && { campaignId: e.campaign_id },
|
|
3816
|
+
...e.tactic_id != null && { tacticId: e.tactic_id },
|
|
3817
3817
|
itemId: t.id,
|
|
3818
3818
|
itemIndex: t.index,
|
|
3819
3819
|
itemLabel: t.label,
|
|
@@ -5296,7 +5296,7 @@ function vf(e, t, n, r) {
|
|
|
5296
5296
|
}
|
|
5297
5297
|
//#endregion
|
|
5298
5298
|
//#region src/styles/modal.css?url
|
|
5299
|
-
var yf = "/generic/main/7.24.
|
|
5299
|
+
var yf = "/generic/main/7.24.3/modal.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", bf = "/generic/main/7.24.3/modal-step-legacy-render.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", xf = "sha256-Ull2pU6HfREgLRggKNNGV6AHaWBAw5OeIuetlkHnUZY=", Sf = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Cf = ys(bf), wf = ys(yf), Tf = new Set(["shorty", "slideout"]);
|
|
5300
5300
|
function Ef(e) {
|
|
5301
5301
|
if (!e) return;
|
|
5302
5302
|
let { style: t } = e;
|
|
@@ -5493,7 +5493,7 @@ function Mf({ patternType: e, hidden: t }) {
|
|
|
5493
5493
|
}
|
|
5494
5494
|
//#endregion
|
|
5495
5495
|
//#region src/styles/tooltip.css?url
|
|
5496
|
-
var Nf = "/generic/main/7.24.
|
|
5496
|
+
var Nf = "/generic/main/7.24.3/tooltip.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", Pf = "sha256-r4KmO5sl5F5wxrVA5ANjinquA8nBo4ZaSoFboEJwvzs=", Ff = ys(Nf), If = "//twemoji.maxcdn.com/2/svg/", Lf = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Rf = "pattern-title", zf = "Hide these tips";
|
|
5497
5497
|
function Bf(e, t) {
|
|
5498
5498
|
return {
|
|
5499
5499
|
skippable: e.skippable,
|
|
@@ -6415,7 +6415,7 @@ function Ep(e) {
|
|
|
6415
6415
|
}
|
|
6416
6416
|
//#endregion
|
|
6417
6417
|
//#region src/styles/satisfaction-survey.css?url
|
|
6418
|
-
var Dp = "/generic/main/7.24.
|
|
6418
|
+
var Dp = "/generic/main/7.24.3/satisfaction-survey.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", Op = "sha256-sj4TgtPXrfHc+Sox7I2a7KJr+2zaoe/PhcBrvvCXAEw=", kp = ys(Dp), Ap, jp;
|
|
6419
6419
|
function Mp(e) {
|
|
6420
6420
|
let t = L(e), n = hr(e), r = mr(e), i = Sr(e), a = xr(e, br(e)), o = i[a], s = t.attributes.pattern_type, { position: c } = t.attributes, l = e.views.callbacks[w.SATISFACTION_SURVEY], u = n.cssLoaded, d = Ns(e.settings), f = r !== T.SHOWING, p = {}, m = u && P.inArray([T.SHOWING, T.WILL_CLOSE], r);
|
|
6421
6421
|
m || (p = { display: "none" }), p = {
|
|
@@ -8291,7 +8291,7 @@ var h_ = "v2", g_ = (e) => {
|
|
|
8291
8291
|
return window.createAppcues(n);
|
|
8292
8292
|
}, __ = async () => {
|
|
8293
8293
|
if (typeof window.createAppcues != "function") {
|
|
8294
|
-
let e = await import("./open-builder.
|
|
8294
|
+
let e = await import("./open-builder.D24FICI0.js");
|
|
8295
8295
|
window.createAppcues = e.default;
|
|
8296
8296
|
}
|
|
8297
8297
|
}, v_ = async () => (await __(), g_), y_ = "EVENTS_TRIGGERED", b_ = q(y_), x_ = q(uc.SET_SESSION), S_ = q(uc.START_SESSION), C_ = q(uc.SESSION_STARTED);
|
|
@@ -9424,7 +9424,17 @@ function* Ny() {
|
|
|
9424
9424
|
let t, n;
|
|
9425
9425
|
if (yield j(_v, "apc_next_content_id")) {
|
|
9426
9426
|
let r = yield j(vv, ne);
|
|
9427
|
-
yield j(gv, ne), e
|
|
9427
|
+
if (yield j(gv, ne), !e) {
|
|
9428
|
+
if (e = r, yield j(_v, "apc_next_campaign_id")) {
|
|
9429
|
+
let e = yield j(vv, te);
|
|
9430
|
+
t = e === "null" ? null : e;
|
|
9431
|
+
}
|
|
9432
|
+
if (yield j(_v, "apc_next_tactic_id")) {
|
|
9433
|
+
let e = yield j(vv, y);
|
|
9434
|
+
n = e === "null" ? null : e;
|
|
9435
|
+
}
|
|
9436
|
+
}
|
|
9437
|
+
yield j(gv, te), yield j(gv, y);
|
|
9428
9438
|
}
|
|
9429
9439
|
e && (yield A(kc(e, {
|
|
9430
9440
|
...t !== void 0 && { campaignId: t },
|
|
@@ -10468,7 +10478,7 @@ function Vb({ user: e }) {
|
|
|
10468
10478
|
}
|
|
10469
10479
|
//#endregion
|
|
10470
10480
|
//#region src/styles/debugger.css?url
|
|
10471
|
-
var Hb = "/generic/main/7.24.
|
|
10481
|
+
var Hb = "/generic/main/7.24.3/debugger.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css";
|
|
10472
10482
|
//#endregion
|
|
10473
10483
|
//#region src/scripts/views/renderers/render-debugger.jsx
|
|
10474
10484
|
qa();
|
|
@@ -10551,7 +10561,7 @@ var Xb = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", Zb = (e)
|
|
|
10551
10561
|
"class-clickable": !0,
|
|
10552
10562
|
"on-click": t.onCancelClicked
|
|
10553
10563
|
}, "End Test"))));
|
|
10554
|
-
}, Qb = "/generic/main/7.24.
|
|
10564
|
+
}, Qb = "/generic/main/7.24.3/test-mode.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css";
|
|
10555
10565
|
//#endregion
|
|
10556
10566
|
//#region src/scripts/views/renderers/render-test-mode-banner.jsx
|
|
10557
10567
|
qa();
|
|
@@ -11971,7 +11981,7 @@ function* jC() {
|
|
|
11971
11981
|
}
|
|
11972
11982
|
//#endregion
|
|
11973
11983
|
//#region src/styles/container.css?url
|
|
11974
|
-
var MC = "/generic/main/7.24.
|
|
11984
|
+
var MC = "/generic/main/7.24.3/container.07f7c83fff0257b203b1c7148408d89cc3bbcdf8.css", NC = "sha256-lSNoLP5iR6z+5ZIuDIIBsSUCzS4XW0jHmE9J8Qsp1ao=";
|
|
11975
11985
|
window.performance && window.performance.mark && window.performance.mark("apc-init"), wg();
|
|
11976
11986
|
var PC = window.AppcuesBundleSettings;
|
|
11977
11987
|
[...document.documentElement.querySelectorAll("link")].forEach((e) => {
|
package/build/index.npm.js
CHANGED