@appcues/web-sdk 7.17.0 → 7.17.2

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.
Files changed (15) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/{index.Dunwnb9Q.js → index.BgmU7Ys3.js} +1 -1
  3. package/build/{index.BYadaR35.js → index.DfBmy9bf.js} +10 -10
  4. package/build/{index.npm.DbVSP1KB.js → index.npm.DAyeX4RX.js} +1 -1
  5. package/build/index.npm.js +1 -1
  6. package/build/{open-builder.CZd8R04x.js → open-builder.BvFjsGSd.js} +1623 -1593
  7. package/package.json +1 -1
  8. /package/build/{checklist.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → checklist.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  9. /package/build/{container.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → container.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  10. /package/build/{debugger.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → debugger.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  11. /package/build/{modal-step-legacy-render.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → modal-step-legacy-render.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  12. /package/build/{modal.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → modal.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  13. /package/build/{satisfaction-survey.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → satisfaction-survey.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  14. /package/build/{test-mode.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → test-mode.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
  15. /package/build/{tooltip.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → tooltip.43ebd3b611a51702154cfc2bc5282a4363505e1f.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @appcues/web-sdk
2
2
 
3
+ ## 7.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1abb4ca: Support for multiple embed experiences on the same page. Embeds targeting different containers will now render side-by-side, while embeds targeting the same container continue to show only the highest-priority experience.
8
+
3
9
  ## 7.16.3
4
10
 
5
11
  ### 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.BYadaR35.js";
1
+ import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./index.DfBmy9bf.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 Hn, A as Tt, M as Nd, b as kd, c as te, d as qt, V as _o, e as Ir, f as Ke, g as Nt, B as Et, T as Ki, h as Od, i as Rd, j as Ld, k as Ko, l as Dn, F as K, G as Yo, m as Pl, E as an, n as xd, D as zo, o as Pd, p as _i, L as Fe, S as Ks, q as Xo, r as Ie, s as Kt, t as Jo, N as Fn, u as Dl, v as Dd, w as Io, W as Fd, x as di, y as Ud, z as An, U as Qo, H as Hd, I as Md, J as Zo, K as un, O as Ao, P as Ii, Q as fi, R as $d, X as Yi, Y as Fl, Z as Mn, _ as zi, $ as Ln, a0 as vo, a1 as Ys, a2 as $n, a3 as Bd, a4 as Vd } from "./index.npm.DbVSP1KB.js";
1
+ import { C as z, a as Hn, A as Tt, M as Nd, b as kd, c as te, d as qt, V as _o, e as Ir, f as Ke, g as Nt, B as Et, T as Ki, h as Od, i as Rd, j as Ld, k as Ko, l as Dn, F as K, G as Yo, m as Pl, E as an, n as xd, D as zo, o as Pd, p as _i, L as Fe, S as Ks, q as Xo, r as Ie, s as Kt, t as Jo, N as Fn, u as Dl, v as Dd, w as Io, W as Fd, x as di, y as Ud, z as An, U as Qo, H as Hd, I as Md, J as Zo, K as un, O as Ao, P as Ii, Q as fi, R as $d, X as Yi, Y as Fl, Z as Mn, _ as zi, $ as Ln, a0 as vo, a1 as Ys, a2 as $n, a3 as Bd, a4 as Vd } from "./index.npm.DAyeX4RX.js";
2
2
  var Wd = Object.assign || function(e) {
3
3
  for (var t = 1; t < arguments.length; t++) {
4
4
  var n = arguments[t];
@@ -2164,7 +2164,7 @@ function Vt(e) {
2164
2164
  }
2165
2165
  return `https://fast.appcues.com${e}`;
2166
2166
  }
2167
- const Lh = "/generic/main/7.17.0/checklist.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", xh = "sha256-B3IM66R3am8teThQaWvlSxHaPUFXo+mNdS8RK5z2nsw=", to = Vt(Lh), no = 30, Ph = -300, Dh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2167
+ const Lh = "/generic/main/7.17.2/checklist.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", xh = "sha256-B3IM66R3am8teThQaWvlSxHaPUFXo+mNdS8RK5z2nsw=", to = Vt(Lh), no = 30, Ph = -300, Dh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2168
2168
  let ur = null, dr = null, fr = null, zr = null;
2169
2169
  const Fh = (e) => {
2170
2170
  const {
@@ -6026,7 +6026,7 @@ function Is(e, t, n, r) {
6026
6026
  _h(e.defaultView, i), window.setTimeout(i, 200);
6027
6027
  }
6028
6028
  }
6029
- const xg = "/generic/main/7.17.0/modal.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", Pg = "/generic/main/7.17.0/modal-step-legacy-render.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", Dg = "sha256-4/hpW9ONoiD80NHCgX4Nn/iogB1Wblm1nx1DUXqgDZk=", Fg = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Ug = Vt(Pg), Zr = Vt(xg), zc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
6029
+ const xg = "/generic/main/7.17.2/modal.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", Pg = "/generic/main/7.17.2/modal-step-legacy-render.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", Dg = "sha256-4/hpW9ONoiD80NHCgX4Nn/iogB1Wblm1nx1DUXqgDZk=", Fg = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Ug = Vt(Pg), Zr = Vt(xg), zc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
6030
6030
  function Xc(e) {
6031
6031
  if (!e) return;
6032
6032
  const { style: t } = e, n = t.transform;
@@ -6298,7 +6298,7 @@ function Bg({ patternType: e, hidden: t }) {
6298
6298
  }
6299
6299
  );
6300
6300
  }
6301
- const Vg = "/generic/main/7.17.0/tooltip.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", Wg = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", ei = Vt(Vg), Qc = "//twemoji.maxcdn.com/2/svg/", Gg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Cr = "hs", Zc = "pattern-title", el = "Hide these tips";
6301
+ const Vg = "/generic/main/7.17.2/tooltip.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", Wg = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", ei = Vt(Vg), Qc = "//twemoji.maxcdn.com/2/svg/", Gg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Cr = "hs", Zc = "pattern-title", el = "Hide these tips";
6302
6302
  function jg(e, t) {
6303
6303
  return {
6304
6304
  skippable: e.skippable,
@@ -7593,7 +7593,7 @@ function Ey(e) {
7593
7593
  )
7594
7594
  )));
7595
7595
  }
7596
- const gy = "/generic/main/7.17.0/satisfaction-survey.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", yy = "sha256-sxJdJpfLXrOLqMGRB1bfYQKkawXgstmlKYOqA1Z9CPo=", po = Vt(gy);
7596
+ const gy = "/generic/main/7.17.2/satisfaction-survey.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", yy = "sha256-sxJdJpfLXrOLqMGRB1bfYQKkawXgstmlKYOqA1Z9CPo=", po = Vt(gy);
7597
7597
  let cl, ti;
7598
7598
  function Sy(e) {
7599
7599
  const t = ye(e), n = xr(e), r = Ve(e), i = nt(e), o = ct(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 = Fi(e.settings), y = r !== te.SHOWING;
@@ -12956,7 +12956,7 @@ function kl({ user: e }) {
12956
12956
  };
12957
12957
  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))))));
12958
12958
  }
12959
- const T_ = "/generic/main/7.17.0/debugger.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", C_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", __ = Vt(T_), So = Qn(
12959
+ const T_ = "/generic/main/7.17.2/debugger.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", C_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", __ = Vt(T_), So = Qn(
12960
12960
  [
12961
12961
  nr,
12962
12962
  tr,
@@ -13060,7 +13060,7 @@ const b_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", w_ = (
13060
13060
  },
13061
13061
  "Restart"
13062
13062
  ), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
13063
- }, N_ = "/generic/main/7.17.0/test-mode.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", k_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", O_ = Vt(N_), To = Qn(
13063
+ }, N_ = "/generic/main/7.17.2/test-mode.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", k_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", O_ = Vt(N_), To = Qn(
13064
13064
  [
13065
13065
  nr,
13066
13066
  tr,
@@ -14168,7 +14168,7 @@ const VI = "v2", WI = (e) => {
14168
14168
  return window.createAppcues(n);
14169
14169
  }, GI = async () => {
14170
14170
  {
14171
- const e = await import("./open-builder.CZd8R04x.js");
14171
+ const e = await import("./open-builder.BvFjsGSd.js");
14172
14172
  window.createAppcues = e.default;
14173
14173
  }
14174
14174
  return WI;
@@ -14215,7 +14215,7 @@ function* qI({ payload: e }) {
14215
14215
  (o) => o.type === "launchpad"
14216
14216
  );
14217
14217
  if (i) {
14218
- yield import("./index.Dunwnb9Q.js");
14218
+ yield import("./index.BgmU7Ys3.js");
14219
14219
  const o = yield v(ye);
14220
14220
  if (!(o?.type === z.HOTSPOTS) && o) {
14221
14221
  const { experiences: c, launchpads: l } = Ci(n);
@@ -14437,7 +14437,7 @@ function* uA() {
14437
14437
  )
14438
14438
  ];
14439
14439
  }
14440
- const dA = "/generic/main/7.17.0/container.1abb4cabde29d8c941c5030c6c9e6556326c226f.css", fA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
14440
+ const dA = "/generic/main/7.17.2/container.43ebd3b611a51702154cfc2bc5282a4363505e1f.css", fA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
14441
14441
  window.performance && window.performance.mark && window.performance.mark("apc-init");
14442
14442
  tT();
14443
14443
  const bt = window.AppcuesBundleSettings;
@@ -222,7 +222,7 @@ function O(t, e, s) {
222
222
  };
223
223
  }
224
224
  async function d() {
225
- await import("./index.BYadaR35.js").then((t) => t.i), E = !0;
225
+ await import("./index.DfBmy9bf.js").then((t) => t.i), E = !0;
226
226
  }
227
227
  async function u() {
228
228
  window.Appcues.forEach((t) => {
@@ -1,4 +1,4 @@
1
- import { a6 as s, a5 as t } from "./index.npm.DbVSP1KB.js";
1
+ import { a6 as s, a5 as t } from "./index.npm.DAyeX4RX.js";
2
2
  export {
3
3
  s as default,
4
4
  t as setup