@appcues/web-sdk 7.12.0 → 7.12.1

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.IZAOhXe4.js → index.BuZNFSp9.js} +1 -1
  3. package/build/{index.CjjO9fkV.js → index.hFy7K6-k.js} +10 -10
  4. package/build/{index.npm.C2mgLvsr.js → index.npm.CJPwNkdY.js} +1 -1
  5. package/build/index.npm.js +1 -1
  6. package/build/{open-builder.BiBgluKT.js → open-builder.EGguuLk7.js} +3201 -3081
  7. package/package.json +1 -1
  8. /package/build/{checklist.9b4caeae8c95b7e55917db3db9558a23e797772e.css → checklist.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  9. /package/build/{container.9b4caeae8c95b7e55917db3db9558a23e797772e.css → container.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  10. /package/build/{debugger.9b4caeae8c95b7e55917db3db9558a23e797772e.css → debugger.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  11. /package/build/{modal-step-legacy-render.9b4caeae8c95b7e55917db3db9558a23e797772e.css → modal-step-legacy-render.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  12. /package/build/{modal.9b4caeae8c95b7e55917db3db9558a23e797772e.css → modal.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  13. /package/build/{satisfaction-survey.9b4caeae8c95b7e55917db3db9558a23e797772e.css → satisfaction-survey.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  14. /package/build/{test-mode.9b4caeae8c95b7e55917db3db9558a23e797772e.css → test-mode.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
  15. /package/build/{tooltip.9b4caeae8c95b7e55917db3db9558a23e797772e.css → tooltip.598b45060492f10b6adf252b89fc93453592cb19.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @appcues/web-sdk
2
2
 
3
+ ## 7.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a0ed745: Support hot-reloading traits for experiences
8
+
3
9
  ## 7.12.0
4
10
 
5
11
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import { c as vt, g as gi, o as mi, a as $i, n as fe, b as bi } from "./index.CjjO9fkV.js";
1
+ import { c as vt, g as gi, o as mi, a as $i, n as fe, b as bi } from "./index.hFy7K6-k.js";
2
2
  const gt = window, ie = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, We = /* @__PURE__ */ Symbol(), ve = /* @__PURE__ */ new WeakMap();
3
3
  let yi = class {
4
4
  constructor(t, e, s) {
@@ -1,4 +1,4 @@
1
- import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Gt, V as go, e as _r, f as Ke, g as wt, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as cn, n as bd, D as Go, o as wd, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as jt, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as ci, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as ln, O as So, P as Si, Q as li, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.C2mgLvsr.js";
1
+ import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Gt, V as go, e as _r, f as Ke, g as wt, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as cn, n as bd, D as Go, o as wd, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as jt, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as ci, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as ln, O as So, P as Si, Q as li, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.CJPwNkdY.js";
2
2
  var Fd = 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 $t(e) {
2153
2153
  }
2154
2154
  return `https://fast.appcues.com${e}`;
2155
2155
  }
2156
- const bh = "/generic/main/7.12.0/checklist.9b4caeae8c95b7e55917db3db9558a23e797772e.css", wh = "sha256-+r+pTslgzdZXKHuCvF/3Xv/1BVTSc8g1KqjkV3G1icQ=", Ji = $t(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2156
+ const bh = "/generic/main/7.12.1/checklist.598b45060492f10b6adf252b89fc93453592cb19.css", wh = "sha256-+r+pTslgzdZXKHuCvF/3Xv/1BVTSc8g1KqjkV3G1icQ=", Ji = $t(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2157
2157
  let ur = null, dr = null;
2158
2158
  const Oh = (e) => {
2159
2159
  const {
@@ -5984,7 +5984,7 @@ function ys(e, t, n, r) {
5984
5984
  Eh(e.defaultView, i), window.setTimeout(i, 200);
5985
5985
  }
5986
5986
  }
5987
- const wg = "/generic/main/7.12.0/modal.9b4caeae8c95b7e55917db3db9558a23e797772e.css", Ng = "/generic/main/7.12.0/modal-step-legacy-render.9b4caeae8c95b7e55917db3db9558a23e797772e.css", kg = "sha256-gMdbP/xfvtptqP/0vvPGgdlUKg1OcJp09by8eMIzx4Q=", Og = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Rg = $t(Ng), zr = $t(wg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
5987
+ const wg = "/generic/main/7.12.1/modal.598b45060492f10b6adf252b89fc93453592cb19.css", Ng = "/generic/main/7.12.1/modal-step-legacy-render.598b45060492f10b6adf252b89fc93453592cb19.css", kg = "sha256-gMdbP/xfvtptqP/0vvPGgdlUKg1OcJp09by8eMIzx4Q=", Og = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Rg = $t(Ng), zr = $t(wg), 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 Dg({ patternType: e, hidden: t }) {
6256
6256
  }
6257
6257
  );
6258
6258
  }
6259
- const Fg = "/generic/main/7.12.0/tooltip.9b4caeae8c95b7e55917db3db9558a23e797772e.css", Ug = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", Xr = $t(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6259
+ const Fg = "/generic/main/7.12.1/tooltip.598b45060492f10b6adf252b89fc93453592cb19.css", Ug = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", Xr = $t(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6260
6260
  function Mg(e, t) {
6261
6261
  return {
6262
6262
  skippable: e.skippable,
@@ -7551,7 +7551,7 @@ function uy(e) {
7551
7551
  )
7552
7552
  )));
7553
7553
  }
7554
- const dy = "/generic/main/7.12.0/satisfaction-survey.9b4caeae8c95b7e55917db3db9558a23e797772e.css", fy = "sha256-orClVQ0cwyOjh8QFSBbV42LCG1fNHRPUyzFj1HntWSY=", co = $t(dy);
7554
+ const dy = "/generic/main/7.12.1/satisfaction-survey.598b45060492f10b6adf252b89fc93453592cb19.css", fy = "sha256-orClVQ0cwyOjh8QFSBbV42LCG1fNHRPUyzFj1HntWSY=", co = $t(dy);
7555
7555
  let nl, Jr;
7556
7556
  function py(e) {
7557
7557
  const t = ye(e), n = Lr(e), r = Ve(e), i = tt(e), o = st(e), s = Kt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, p = Li(e.settings), y = r !== te.SHOWING;
@@ -12854,7 +12854,7 @@ function Il({ user: e }) {
12854
12854
  };
12855
12855
  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))))));
12856
12856
  }
12857
- const d_ = "/generic/main/7.12.0/debugger.9b4caeae8c95b7e55917db3db9558a23e797772e.css", f_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", p_ = $t(d_), ho = Jn(
12857
+ const d_ = "/generic/main/7.12.1/debugger.598b45060492f10b6adf252b89fc93453592cb19.css", f_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", p_ = $t(d_), ho = Jn(
12858
12858
  [
12859
12859
  tr,
12860
12860
  er,
@@ -12958,7 +12958,7 @@ const g_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", y_ = (
12958
12958
  },
12959
12959
  "Restart"
12960
12960
  ), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
12961
- }, S_ = "/generic/main/7.12.0/test-mode.9b4caeae8c95b7e55917db3db9558a23e797772e.css", T_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", C_ = $t(S_), mo = Jn(
12961
+ }, S_ = "/generic/main/7.12.1/test-mode.598b45060492f10b6adf252b89fc93453592cb19.css", T_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", C_ = $t(S_), mo = Jn(
12962
12962
  [
12963
12963
  tr,
12964
12964
  er,
@@ -14060,7 +14060,7 @@ const xI = "v2", PI = (e) => {
14060
14060
  return window.createAppcues(t);
14061
14061
  }, DI = async () => {
14062
14062
  {
14063
- const e = await import("./open-builder.BiBgluKT.js");
14063
+ const e = await import("./open-builder.EGguuLk7.js");
14064
14064
  window.createAppcues = e.default;
14065
14065
  }
14066
14066
  return PI;
@@ -14107,7 +14107,7 @@ function* UI({ payload: e }) {
14107
14107
  (o) => o.type === "launchpad"
14108
14108
  );
14109
14109
  if (i) {
14110
- yield import("./index.IZAOhXe4.js");
14110
+ yield import("./index.BuZNFSp9.js");
14111
14111
  const o = yield v(ye);
14112
14112
  if (!(o?.type === z.HOTSPOTS) && o) {
14113
14113
  const { experiences: c, launchpads: l } = gi(n);
@@ -14329,7 +14329,7 @@ function* tA() {
14329
14329
  )
14330
14330
  ];
14331
14331
  }
14332
- const nA = "/generic/main/7.12.0/container.9b4caeae8c95b7e55917db3db9558a23e797772e.css", rA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
14332
+ const nA = "/generic/main/7.12.1/container.598b45060492f10b6adf252b89fc93453592cb19.css", rA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
14333
14333
  window.performance && window.performance.mark && window.performance.mark("apc-init");
14334
14334
  zS();
14335
14335
  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.CjjO9fkV.js").then((s) => s.i), E = !0;
224
+ await import("./index.hFy7K6-k.js").then((s) => s.i), E = !0;
225
225
  }
226
226
  async function u() {
227
227
  window.Appcues.forEach((s) => {
@@ -1,4 +1,4 @@
1
- import { a6 as s, a5 as t } from "./index.npm.C2mgLvsr.js";
1
+ import { a6 as s, a5 as t } from "./index.npm.CJPwNkdY.js";
2
2
  export {
3
3
  s as default,
4
4
  t as setup