@appcues/web-sdk 7.13.2 → 7.14.0
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/{index.Cty2E-ly.js → index.CNTsRt0K.js} +1 -1
- package/build/{index.DCWKwjwZ.js → index.DrCNsfZm.js} +10 -10
- package/build/{index.npm.B27mU3af.js → index.npm.CPoOsJAY.js} +1 -1
- package/build/index.npm.js +1 -1
- package/build/{open-builder.XILUARRq.js → open-builder.UVoUZZqH.js} +1118 -1114
- package/package.json +3 -3
- /package/build/{checklist.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → checklist.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{container.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → container.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{debugger.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → debugger.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{modal-step-legacy-render.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → modal-step-legacy-render.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{modal.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → modal.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{satisfaction-survey.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → satisfaction-survey.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{test-mode.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → test-mode.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
- /package/build/{tooltip.4bae8e05ac380a69e24ade68263281fa3ab8f126.css → tooltip.99c3b93c77d3842606e558b25b9d34cb5d02d069.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @appcues/web-sdk
|
|
2
2
|
|
|
3
|
+
## 7.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f76c9d4: Add alignment options for embed experiences. You can now choose how content is placed within the target container: prepend (before existing content), append (after existing content), or replace (clear and replace all content).
|
|
8
|
+
|
|
9
|
+
## 7.13.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1a289d5: SDK's versions should not contain preview hashes
|
|
14
|
+
|
|
3
15
|
## 7.13.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./index.
|
|
1
|
+
import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./index.DrCNsfZm.js";
|
|
2
2
|
const pt = window, Vt = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wt = /* @__PURE__ */ Symbol(), ee = /* @__PURE__ */ new WeakMap();
|
|
3
3
|
let xe = class {
|
|
4
4
|
constructor(t, i, s) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as z, a as Un, A as Tt, M as _d, b as Id, c as te, d as qt, V as go, e as _r, f as Ke, g as Nt, B as mt, T as Wi, h as Ad, i as vd, j as bd, k as Vo, l as Pn, F as q, G as Wo, m as kl, E as cn, n as wd, D as Go, o as Nd, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as Kt, t as qo, N as Dn, u as Ol, v as kd, w as yo, W as Od, x as ci, y as Rd, z as Cn, U as Ko, H as Ld, I as xd, J as Yo, K as ln, O as So, P as Si, Q as li, R as Pd, X as Gi, Y as Rl, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Dd, a4 as Fd } from "./index.npm.
|
|
1
|
+
import { C as z, a as Un, A as Tt, M as _d, b as Id, c as te, d as qt, V as go, e as _r, f as Ke, g as Nt, B as mt, T as Wi, h as Ad, i as vd, j as bd, k as Vo, l as Pn, F as q, G as Wo, m as kl, E as cn, n as wd, D as Go, o as Nd, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as Kt, t as qo, N as Dn, u as Ol, v as kd, w as yo, W as Od, x as ci, y as Rd, z as Cn, U as Ko, H as Ld, I as xd, J as Yo, K as ln, O as So, P as Si, Q as li, R as Pd, X as Gi, Y as Rl, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Dd, a4 as Fd } from "./index.npm.CPoOsJAY.js";
|
|
2
2
|
var Ud = Object.assign || function(e) {
|
|
3
3
|
for (var t = 1; t < arguments.length; t++) {
|
|
4
4
|
var n = arguments[t];
|
|
@@ -2153,7 +2153,7 @@ function Bt(e) {
|
|
|
2153
2153
|
}
|
|
2154
2154
|
return `https://fast.appcues.com${e}`;
|
|
2155
2155
|
}
|
|
2156
|
-
const wh = "/generic/main/7.
|
|
2156
|
+
const wh = "/generic/main/7.14.0/checklist.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", Nh = "sha256-+r+pTslgzdZXKHuCvF/3Xv/1BVTSc8g1KqjkV3G1icQ=", Ji = Bt(wh), uc = 30, kh = -300, Oh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
|
|
2157
2157
|
let ur = null, dr = null;
|
|
2158
2158
|
const Rh = (e) => {
|
|
2159
2159
|
const {
|
|
@@ -5984,7 +5984,7 @@ function ys(e, t, n, r) {
|
|
|
5984
5984
|
gh(e.defaultView, i), window.setTimeout(i, 200);
|
|
5985
5985
|
}
|
|
5986
5986
|
}
|
|
5987
|
-
const Ng = "/generic/main/7.
|
|
5987
|
+
const Ng = "/generic/main/7.14.0/modal.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", kg = "/generic/main/7.14.0/modal-step-legacy-render.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", Og = "sha256-gMdbP/xfvtptqP/0vvPGgdlUKg1OcJp09by8eMIzx4Q=", Rg = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Lg = Bt(kg), zr = Bt(Ng), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
|
|
5988
5988
|
function jc(e) {
|
|
5989
5989
|
if (!e) return;
|
|
5990
5990
|
const { style: t } = e, n = t.transform;
|
|
@@ -6256,7 +6256,7 @@ function Fg({ patternType: e, hidden: t }) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
);
|
|
6258
6258
|
}
|
|
6259
|
-
const Ug = "/generic/main/7.
|
|
6259
|
+
const Ug = "/generic/main/7.14.0/tooltip.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", Hg = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", Xr = Bt(Ug), Kc = "//twemoji.maxcdn.com/2/svg/", Mg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
|
|
6260
6260
|
function $g(e, t) {
|
|
6261
6261
|
return {
|
|
6262
6262
|
skippable: e.skippable,
|
|
@@ -7551,7 +7551,7 @@ function dy(e) {
|
|
|
7551
7551
|
)
|
|
7552
7552
|
)));
|
|
7553
7553
|
}
|
|
7554
|
-
const fy = "/generic/main/7.
|
|
7554
|
+
const fy = "/generic/main/7.14.0/satisfaction-survey.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", py = "sha256-orClVQ0cwyOjh8QFSBbV42LCG1fNHRPUyzFj1HntWSY=", co = Bt(fy);
|
|
7555
7555
|
let nl, Jr;
|
|
7556
7556
|
function hy(e) {
|
|
7557
7557
|
const t = ye(e), n = Lr(e), r = Ve(e), i = tt(e), o = st(e), s = zt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, h = Li(e.settings), y = r !== te.SHOWING;
|
|
@@ -12863,7 +12863,7 @@ function Al({ user: e }) {
|
|
|
12863
12863
|
};
|
|
12864
12864
|
return /* @__PURE__ */ a.html("table", null, /* @__PURE__ */ a.html("thead", null, /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("th", null, "Property"), /* @__PURE__ */ a.html("th", null, "Value"))), /* @__PURE__ */ a.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("td", null, i.name), /* @__PURE__ */ a.html("td", null, JSON.stringify(i.value))))));
|
|
12865
12865
|
}
|
|
12866
|
-
const f_ = "/generic/main/7.
|
|
12866
|
+
const f_ = "/generic/main/7.14.0/debugger.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", p_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", h_ = Bt(f_), ho = Jn(
|
|
12867
12867
|
[
|
|
12868
12868
|
tr,
|
|
12869
12869
|
er,
|
|
@@ -12967,7 +12967,7 @@ const y_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", S_ = (
|
|
|
12967
12967
|
},
|
|
12968
12968
|
"Restart"
|
|
12969
12969
|
), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
|
|
12970
|
-
}, T_ = "/generic/main/7.
|
|
12970
|
+
}, T_ = "/generic/main/7.14.0/test-mode.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", C_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", __ = Bt(T_), mo = Jn(
|
|
12971
12971
|
[
|
|
12972
12972
|
tr,
|
|
12973
12973
|
er,
|
|
@@ -14069,7 +14069,7 @@ const PI = "v2", DI = (e) => {
|
|
|
14069
14069
|
return window.createAppcues(t);
|
|
14070
14070
|
}, FI = async () => {
|
|
14071
14071
|
{
|
|
14072
|
-
const e = await import("./open-builder.
|
|
14072
|
+
const e = await import("./open-builder.UVoUZZqH.js");
|
|
14073
14073
|
window.createAppcues = e.default;
|
|
14074
14074
|
}
|
|
14075
14075
|
return DI;
|
|
@@ -14116,7 +14116,7 @@ function* HI({ payload: e }) {
|
|
|
14116
14116
|
(o) => o.type === "launchpad"
|
|
14117
14117
|
);
|
|
14118
14118
|
if (i) {
|
|
14119
|
-
yield import("./index.
|
|
14119
|
+
yield import("./index.CNTsRt0K.js");
|
|
14120
14120
|
const o = yield v(ye);
|
|
14121
14121
|
if (!(o?.type === z.HOTSPOTS) && o) {
|
|
14122
14122
|
const { experiences: c, launchpads: l } = gi(n);
|
|
@@ -14338,7 +14338,7 @@ function* nA() {
|
|
|
14338
14338
|
)
|
|
14339
14339
|
];
|
|
14340
14340
|
}
|
|
14341
|
-
const rA = "/generic/main/7.
|
|
14341
|
+
const rA = "/generic/main/7.14.0/container.99c3b93c77d3842606e558b25b9d34cb5d02d069.css", iA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
|
|
14342
14342
|
window.performance && window.performance.mark && window.performance.mark("apc-init");
|
|
14343
14343
|
XS();
|
|
14344
14344
|
const bt = window.AppcuesBundleSettings;
|
|
@@ -221,7 +221,7 @@ function O(s, e) {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
async function d() {
|
|
224
|
-
await import("./index.
|
|
224
|
+
await import("./index.DrCNsfZm.js").then((s) => s.i), E = !0;
|
|
225
225
|
}
|
|
226
226
|
async function u() {
|
|
227
227
|
window.Appcues.forEach((s) => {
|
package/build/index.npm.js
CHANGED