akpm-procedures 1.1.12 → 1.1.13

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 (2) hide show
  1. package/CDN/akpm-procedures.js +127 -124
  2. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- /* Version: 1.1.12 */
1
+ /* Version: 1.1.13 */
2
2
  var Zs = Object.defineProperty;
3
3
  var ua = (t) => {
4
4
  throw TypeError(t);
5
5
  };
6
6
  var Ws = (t, e, r) => e in t ? Zs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
7
- var F = (t, e, r) => Ws(t, typeof e != "symbol" ? e + "" : e, r), ca = (t, e, r) => e.has(t) || ua("Cannot " + r);
7
+ var R = (t, e, r) => Ws(t, typeof e != "symbol" ? e + "" : e, r), ca = (t, e, r) => e.has(t) || ua("Cannot " + r);
8
8
  var Rt = (t, e, r) => (ca(t, e, "read from private field"), r ? r.call(t) : e.get(t)), ei = (t, e, r) => e.has(t) ? ua("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), ri = (t, e, r, n) => (ca(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
9
9
  const Qs = "5";
10
10
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qs);
@@ -1502,13 +1502,13 @@ function eu(t, e, r, n, i, a, o) {
1502
1502
  if (f !== null || v !== void 0) {
1503
1503
  for (var U = v === void 0 ? [] : Mi(v); f !== null; )
1504
1504
  (a || !(f.e.f & ce)) && U.push(f), f = f.next;
1505
- var R = U.length;
1506
- if (R > 0) {
1505
+ var F = U.length;
1506
+ if (F > 0) {
1507
1507
  var tt = i & Ja && u === 0 ? r : null;
1508
1508
  if (s) {
1509
- for (b = 0; b < R; b += 1)
1509
+ for (b = 0; b < F; b += 1)
1510
1510
  (xt = U[b].a) == null || xt.measure();
1511
- for (b = 0; b < R; b += 1)
1511
+ for (b = 0; b < F; b += 1)
1512
1512
  (X = U[b].a) == null || X.fix();
1513
1513
  }
1514
1514
  tu(e, U, tt, c);
@@ -2282,25 +2282,25 @@ typeof HTMLElement == "function" && (Fo = class extends HTMLElement {
2282
2282
  constructor(e, r, n) {
2283
2283
  super();
2284
2284
  /** The Svelte component constructor */
2285
- F(this, "$$ctor");
2285
+ R(this, "$$ctor");
2286
2286
  /** Slots */
2287
- F(this, "$$s");
2287
+ R(this, "$$s");
2288
2288
  /** @type {any} The Svelte component instance */
2289
- F(this, "$$c");
2289
+ R(this, "$$c");
2290
2290
  /** Whether or not the custom element is connected */
2291
- F(this, "$$cn", !1);
2291
+ R(this, "$$cn", !1);
2292
2292
  /** @type {Record<string, any>} Component props data */
2293
- F(this, "$$d", {});
2293
+ R(this, "$$d", {});
2294
2294
  /** `true` if currently in the process of reflecting component props back to attributes */
2295
- F(this, "$$r", !1);
2295
+ R(this, "$$r", !1);
2296
2296
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
2297
- F(this, "$$p_d", {});
2297
+ R(this, "$$p_d", {});
2298
2298
  /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
2299
- F(this, "$$l", {});
2299
+ R(this, "$$l", {});
2300
2300
  /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
2301
- F(this, "$$l_u", /* @__PURE__ */ new Map());
2301
+ R(this, "$$l_u", /* @__PURE__ */ new Map());
2302
2302
  /** @type {any} The managed render effect for reflecting attributes */
2303
- F(this, "$$me");
2303
+ R(this, "$$me");
2304
2304
  this.$$ctor = e, this.$$s = r, n && this.attachShadow({ mode: "open" });
2305
2305
  }
2306
2306
  /**
@@ -6045,11 +6045,11 @@ function vs(t, e) {
6045
6045
  Q(vs, {}, [], [], !0);
6046
6046
  class $r {
6047
6047
  constructor(e, r, n, i = [], a) {
6048
- F(this, "ID");
6049
- F(this, "opId");
6050
- F(this, "companyId");
6051
- F(this, "level");
6052
- F(this, "plans");
6048
+ R(this, "ID");
6049
+ R(this, "opId");
6050
+ R(this, "companyId");
6051
+ R(this, "level");
6052
+ R(this, "plans");
6053
6053
  this.opId = e, this.companyId = r, this.plans = i, this.level = n, this.ID = a;
6054
6054
  }
6055
6055
  getLevel(e) {
@@ -6101,9 +6101,9 @@ class $r {
6101
6101
  }
6102
6102
  class Nn {
6103
6103
  constructor(e, r, n) {
6104
- F(this, "planName");
6105
- F(this, "moduleId");
6106
- F(this, "level");
6104
+ R(this, "planName");
6105
+ R(this, "moduleId");
6106
+ R(this, "level");
6107
6107
  this.planName = e, this.moduleId = r, this.level = n;
6108
6108
  }
6109
6109
  isAdmin() {
@@ -6184,7 +6184,7 @@ const di = (t) => {
6184
6184
  });
6185
6185
  }
6186
6186
  };
6187
- F(nr, "URL");
6187
+ R(nr, "URL");
6188
6188
  let se = nr;
6189
6189
  class ps extends se {
6190
6190
  static async login() {
@@ -6425,16 +6425,16 @@ function $a(t, { delay: e = 0, duration: r = 400, easing: n = Yd } = {}) {
6425
6425
  }
6426
6426
  class Pr {
6427
6427
  constructor(e, r, n, i, a, o, s) {
6428
- F(this, "_id", "");
6429
- F(this, "path", "");
6430
- F(this, "name");
6431
- F(this, "userId");
6432
- F(this, "companyId");
6433
- F(this, "isPrivate");
6434
- F(this, "isTemplate");
6435
- F(this, "tags", []);
6436
- F(this, "createdAt");
6437
- F(this, "updatedAt");
6428
+ R(this, "_id", "");
6429
+ R(this, "path", "");
6430
+ R(this, "name");
6431
+ R(this, "userId");
6432
+ R(this, "companyId");
6433
+ R(this, "isPrivate");
6434
+ R(this, "isTemplate");
6435
+ R(this, "tags", []);
6436
+ R(this, "createdAt");
6437
+ R(this, "updatedAt");
6438
6438
  this._id = e, this.path = r, this.name = n, this.userId = i, this.companyId = a, this.isPrivate = o, this.isTemplate = s, this.createdAt = Date.now(), this.updatedAt = Date.now();
6439
6439
  }
6440
6440
  static fromJSON(e) {
@@ -6503,9 +6503,9 @@ function ta(t, e) {
6503
6503
  Q(ta, { color: {}, width: {}, height: {} }, [], [], !0);
6504
6504
  class zn {
6505
6505
  constructor(e, r, n) {
6506
- F(this, "labels");
6507
- F(this, "datasets");
6508
- F(this, "chartType");
6506
+ R(this, "labels");
6507
+ R(this, "datasets");
6508
+ R(this, "chartType");
6509
6509
  this.labels = e, this.datasets = r, this.chartType = n;
6510
6510
  }
6511
6511
  static fromJson(e) {
@@ -6532,8 +6532,8 @@ class zn {
6532
6532
  }
6533
6533
  class or {
6534
6534
  constructor(e, r) {
6535
- F(this, "data");
6536
- F(this, "backgroundColor");
6535
+ R(this, "data");
6536
+ R(this, "backgroundColor");
6537
6537
  this.data = e, this.backgroundColor = r;
6538
6538
  }
6539
6539
  static fromJson(e) {
@@ -6558,7 +6558,7 @@ class or {
6558
6558
  const Jd = (t) => t.text != null ? Ur.fromJSON(t) : t.data != null ? In.fromJSON(t) : t.chart && t.chart.labels != null ? On.fromJSON(t) : t.url != null ? Ln.fromJSON(t) : new De(t.index);
6559
6559
  class De {
6560
6560
  constructor(e) {
6561
- F(this, "Index");
6561
+ R(this, "Index");
6562
6562
  this.Index = e;
6563
6563
  }
6564
6564
  toJSON() {
@@ -6585,7 +6585,7 @@ class De {
6585
6585
  class Ur extends De {
6586
6586
  constructor(r, n) {
6587
6587
  super(r);
6588
- F(this, "Text");
6588
+ R(this, "Text");
6589
6589
  this.Text = n;
6590
6590
  }
6591
6591
  toJSON() {
@@ -6613,8 +6613,8 @@ class Ur extends De {
6613
6613
  class In extends De {
6614
6614
  constructor(r, n) {
6615
6615
  super(r);
6616
- F(this, "data");
6617
- F(this, "classes");
6616
+ R(this, "data");
6617
+ R(this, "classes");
6618
6618
  this.data = n, this.classes = [];
6619
6619
  }
6620
6620
  toJSON() {
@@ -6654,7 +6654,7 @@ class In extends De {
6654
6654
  class On extends De {
6655
6655
  constructor(r, n) {
6656
6656
  super(r);
6657
- F(this, "Chart");
6657
+ R(this, "Chart");
6658
6658
  this.Chart = n;
6659
6659
  }
6660
6660
  toJSON() {
@@ -6690,7 +6690,7 @@ class On extends De {
6690
6690
  class Ln extends De {
6691
6691
  constructor(r, n) {
6692
6692
  super(r);
6693
- F(this, "Url");
6693
+ R(this, "Url");
6694
6694
  this.Url = n;
6695
6695
  }
6696
6696
  toJSON() {
@@ -6717,16 +6717,16 @@ class Ln extends De {
6717
6717
  }
6718
6718
  class Pn {
6719
6719
  constructor(e, r, n, i, a, o, s, l, u = [], c = "it_IT") {
6720
- F(this, "_id");
6721
- F(this, "documentId");
6722
- F(this, "number");
6723
- F(this, "confirmed");
6724
- F(this, "paragraphs");
6725
- F(this, "defaultFirstPage");
6726
- F(this, "segnaposto");
6727
- F(this, "updatedAt");
6728
- F(this, "createdAt");
6729
- F(this, "language");
6720
+ R(this, "_id");
6721
+ R(this, "documentId");
6722
+ R(this, "number");
6723
+ R(this, "confirmed");
6724
+ R(this, "paragraphs");
6725
+ R(this, "defaultFirstPage");
6726
+ R(this, "segnaposto");
6727
+ R(this, "updatedAt");
6728
+ R(this, "createdAt");
6729
+ R(this, "language");
6730
6730
  this._id = l ?? "", this.documentId = n, this.number = e, this.confirmed = r, this.paragraphs = i, this.defaultFirstPage = a, this.segnaposto = u, this.updatedAt = o, this.createdAt = s, this.language = c;
6731
6731
  }
6732
6732
  toJSON() {
@@ -6793,16 +6793,16 @@ class Pn {
6793
6793
  }
6794
6794
  class Ie {
6795
6795
  constructor(e, r, n, i, a, o, s, l) {
6796
- F(this, "id");
6797
- F(this, "indexes");
6798
- F(this, "title");
6799
- F(this, "validated");
6800
- F(this, "column");
6801
- F(this, "children");
6802
- F(this, "lastUpdateUserId");
6803
- F(this, "updatedAt");
6804
- F(this, "classes");
6805
- F(this, "lastIndex", () => this.indexes.length === 1 ? this.indexes[0] : this.indexes[this.indexes.length - 1]);
6796
+ R(this, "id");
6797
+ R(this, "indexes");
6798
+ R(this, "title");
6799
+ R(this, "validated");
6800
+ R(this, "column");
6801
+ R(this, "children");
6802
+ R(this, "lastUpdateUserId");
6803
+ R(this, "updatedAt");
6804
+ R(this, "classes");
6805
+ R(this, "lastIndex", () => this.indexes.length === 1 ? this.indexes[0] : this.indexes[this.indexes.length - 1]);
6806
6806
  this.id = e, this.indexes = r, this.title = n, this.column = a, this.children = o, this.validated = i, this.lastUpdateUserId = s, this.updatedAt = l;
6807
6807
  }
6808
6808
  toJSON() {
@@ -6870,13 +6870,14 @@ class Ie {
6870
6870
  }
6871
6871
  }
6872
6872
  class ea {
6873
- constructor(e, r, n = "", i = "", a) {
6874
- F(this, "id");
6875
- F(this, "nome");
6876
- F(this, "domanda");
6877
- F(this, "idSuite");
6878
- F(this, "valore");
6879
- this.id = e, this.nome = r, this.domanda = n, this.idSuite = i, this.valore = a;
6873
+ constructor(e, r, n = "", i = "", a = "", o = !1) {
6874
+ R(this, "id");
6875
+ R(this, "nome");
6876
+ R(this, "domanda");
6877
+ R(this, "idSuite");
6878
+ R(this, "valore");
6879
+ R(this, "addToFilename", !1);
6880
+ this.id = e, this.nome = r, this.domanda = n, this.idSuite = i, this.valore = a, this.addToFilename = o;
6880
6881
  }
6881
6882
  toJSON() {
6882
6883
  return {
@@ -6884,7 +6885,8 @@ class ea {
6884
6885
  nome: this.nome,
6885
6886
  domanda: this.domanda,
6886
6887
  idSuite: this.idSuite,
6887
- valore: this.valore
6888
+ valore: this.valore,
6889
+ addToFilename: this.addToFilename
6888
6890
  };
6889
6891
  }
6890
6892
  static fromJSON(e) {
@@ -6893,7 +6895,8 @@ class ea {
6893
6895
  e.nome,
6894
6896
  e.domanda,
6895
6897
  e.idSuite,
6896
- e.valore
6898
+ e.valore,
6899
+ e.addToFilename ?? !1
6897
6900
  );
6898
6901
  }
6899
6902
  }
@@ -6992,11 +6995,11 @@ function gs(t, e) {
6992
6995
  };
6993
6996
  return new Intl.DateTimeFormat("it-IT", U).format(B).replace(",", "");
6994
6997
  };
6995
- let u = a().filter((B, U, R) => R.findIndex((tt) => tt.number === B.number) === U), c = Y(0), d = Y(-1), f = (B = "it_IT") => {
6998
+ let u = a().filter((B, U, F) => F.findIndex((tt) => tt.number === B.number) === U), c = Y(0), d = Y(-1), f = (B = "it_IT") => {
6996
6999
  let U;
6997
7000
  switch (h(c)) {
6998
7001
  case 0:
6999
- if (U = a().filter((R) => R.number === h(d)), U.length == 1) {
7002
+ if (U = a().filter((F) => F.number === h(d)), U.length == 1) {
7000
7003
  o()(U[0]._id);
7001
7004
  return;
7002
7005
  } else {
@@ -7004,7 +7007,7 @@ function gs(t, e) {
7004
7007
  return;
7005
7008
  }
7006
7009
  case 1:
7007
- if (U = a().filter((R) => R.number === h(d) && (R.language === B || R.language == null)), U.length == 1) {
7010
+ if (U = a().filter((F) => F.number === h(d) && (F.language === B || F.language == null)), U.length == 1) {
7008
7011
  o()(U[0]._id);
7009
7012
  return;
7010
7013
  } else {
@@ -7020,8 +7023,8 @@ function gs(t, e) {
7020
7023
  var b = P(L, 2);
7021
7024
  {
7022
7025
  var k = (B) => {
7023
- var U = rf(), R = Lt(U);
7024
- Ct(R, 21, () => u, Tt, (xt, X) => {
7026
+ var U = rf(), F = Lt(U);
7027
+ Ct(F, 21, () => u, Tt, (xt, X) => {
7025
7028
  var V = tf();
7026
7029
  V.__click = [
7027
7030
  Wd,
@@ -7051,8 +7054,8 @@ function gs(t, e) {
7051
7054
  });
7052
7055
  }
7053
7056
  g(V), C(xt, V);
7054
- }), g(R);
7055
- var tt = P(R, 2), it = w(tt);
7057
+ }), g(F);
7058
+ var tt = P(F, 2), it = w(tt);
7056
7059
  {
7057
7060
  var dt = (xt) => {
7058
7061
  var X = ef(), V = w(X);
@@ -7069,7 +7072,7 @@ function gs(t, e) {
7069
7072
  }
7070
7073
  g(tt), C(B, U);
7071
7074
  }, x = (B) => {
7072
- var U = je(), R = Lt(U);
7075
+ var U = je(), F = Lt(U);
7073
7076
  {
7074
7077
  var tt = (it) => {
7075
7078
  var dt = lf();
@@ -7102,7 +7105,7 @@ function gs(t, e) {
7102
7105
  }), g(dt), C(it, dt);
7103
7106
  };
7104
7107
  ut(
7105
- R,
7108
+ F,
7106
7109
  (it) => {
7107
7110
  h(c) == 1 && it(tt);
7108
7111
  },
@@ -9559,17 +9562,17 @@ function bs(t, e) {
9559
9562
  h(x).idSuite && h(x).idSuite !== "anagrafica" && X(U);
9560
9563
  });
9561
9564
  }
9562
- var R = P(B, 2);
9565
+ var F = P(B, 2);
9563
9566
  {
9564
9567
  var tt = (X) => {
9565
9568
  var V = Wh(), _t = w(V, !0);
9566
9569
  g(V), z(() => at(_t, h(x).domanda)), C(X, V);
9567
9570
  };
9568
- ut(R, (X) => {
9571
+ ut(F, (X) => {
9569
9572
  h(x).domanda && X(tt);
9570
9573
  });
9571
9574
  }
9572
- var it = P(R, 2);
9575
+ var it = P(F, 2);
9573
9576
  {
9574
9577
  var dt = (X) => {
9575
9578
  var V = Qh();
@@ -9929,7 +9932,7 @@ function ys(t, e) {
9929
9932
  width: "20",
9930
9933
  height: "27.5"
9931
9934
  }), g(x), g(k);
9932
- var H = P(k), B = w(H), U = w(B), R = w(U, !0);
9935
+ var H = P(k), B = w(H), U = w(B), F = w(U, !0);
9933
9936
  g(U), g(B), g(H);
9934
9937
  var tt = P(H), it = w(tt), dt = w(it), xt = w(dt, !0);
9935
9938
  z(() => at(xt, y(a().updatedAt))), g(dt), g(it), g(tt);
@@ -10007,7 +10010,7 @@ function ys(t, e) {
10007
10010
  });
10008
10011
  }
10009
10012
  return g(V), g(X), g(b), z(() => {
10010
- D(b, "data-step", s() ? 2 : ""), at(R, a().name);
10013
+ D(b, "data-step", s() ? 2 : ""), at(F, a().name);
10011
10014
  }), C(t, I), W({
10012
10015
  get documents() {
10013
10016
  return i();
@@ -10461,37 +10464,37 @@ function Ts(t, e) {
10461
10464
  U.sent(), U.label = 2;
10462
10465
  case 2:
10463
10466
  return r = document.querySelector(".introjs-helperLayer"), n = document.querySelector(".introjs-tooltipReferenceLayer"), i = "introjs-helperLayer", typeof e.highlightClass == "string" && (i += " ".concat(e.highlightClass)), typeof t._options.highlightClass == "string" && (i += " ".concat(t._options.highlightClass)), r !== null && n !== null ? (l = n.querySelector(".introjs-helperNumberLayer"), u = n.querySelector(".introjs-tooltiptext"), c = n.querySelector(".introjs-tooltip-title"), d = n.querySelector(".introjs-arrow"), f = n.querySelector(".introjs-tooltip"), s = n.querySelector(".introjs-skipbutton"), o = n.querySelector(".introjs-prevbutton"), a = n.querySelector(".introjs-nextbutton"), r.className = i, f.style.opacity = "0", f.style.display = "none", qa(t._options.scrollToElement, e.element), be(t, e, r), be(t, e, n), ks(), t._lastShowElementTimer && window.clearTimeout(t._lastShowElementTimer), t._lastShowElementTimer = window.setTimeout(function() {
10464
- l !== null && (l.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), u.innerHTML = e.intro || "", c.innerHTML = e.title || "", f.style.display = "block", Hn(t, e, f, d), function(R, tt, it) {
10465
- if (R) {
10467
+ l !== null && (l.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), u.innerHTML = e.intro || "", c.innerHTML = e.title || "", f.style.display = "block", Hn(t, e, f, d), function(F, tt, it) {
10468
+ if (F) {
10466
10469
  var dt = tt.querySelector(".introjs-bullets li > a.active"), xt = tt.querySelector('.introjs-bullets li > a[data-step-number="'.concat(it.step, '"]'));
10467
10470
  dt && xt && (dt.className = "", xt.className = "active");
10468
10471
  }
10469
10472
  }(t._options.showBullets, n, e), As(n, t._currentStep, t._introItems.length), f.style.opacity = "1", (a != null && /introjs-donebutton/gi.test(a.className) || a != null) && a.focus(), Ga(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, u);
10470
- }, 350)) : (v = lt("div", { className: i }), _ = lt("div", { className: "introjs-tooltipReferenceLayer" }), y = lt("div", { className: "introjs-arrow" }), S = lt("div", { className: "introjs-tooltip" }), L = lt("div", { className: "introjs-tooltiptext" }), I = lt("div", { className: "introjs-tooltip-header" }), T = lt("h1", { className: "introjs-tooltip-title" }), N = lt("div"), Me(v, { "box-shadow": "0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(), ") 0 0 0 5000px") }), qa(t._options.scrollToElement, e.element), be(t, e, v), be(t, e, _), Va(t._targetElement, v, !0), Va(t._targetElement, _), L.innerHTML = e.intro, T.innerHTML = e.title, N.className = "introjs-tooltipbuttons", t._options.showButtons === !1 && (N.style.display = "none"), I.appendChild(T), S.appendChild(I), S.appendChild(L), t._options.dontShowAgain && (b = lt("div", { className: "introjs-dontShowAgain" }), (k = lt("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(R) {
10471
- t.setDontShowAgain(R.target.checked);
10472
- }, (x = lt("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, b.appendChild(k), b.appendChild(x), S.appendChild(b)), S.appendChild(Ss(t, e)), S.appendChild(function(R) {
10473
+ }, 350)) : (v = lt("div", { className: i }), _ = lt("div", { className: "introjs-tooltipReferenceLayer" }), y = lt("div", { className: "introjs-arrow" }), S = lt("div", { className: "introjs-tooltip" }), L = lt("div", { className: "introjs-tooltiptext" }), I = lt("div", { className: "introjs-tooltip-header" }), T = lt("h1", { className: "introjs-tooltip-title" }), N = lt("div"), Me(v, { "box-shadow": "0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(), ") 0 0 0 5000px") }), qa(t._options.scrollToElement, e.element), be(t, e, v), be(t, e, _), Va(t._targetElement, v, !0), Va(t._targetElement, _), L.innerHTML = e.intro, T.innerHTML = e.title, N.className = "introjs-tooltipbuttons", t._options.showButtons === !1 && (N.style.display = "none"), I.appendChild(T), S.appendChild(I), S.appendChild(L), t._options.dontShowAgain && (b = lt("div", { className: "introjs-dontShowAgain" }), (k = lt("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(F) {
10474
+ t.setDontShowAgain(F.target.checked);
10475
+ }, (x = lt("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, b.appendChild(k), b.appendChild(x), S.appendChild(b)), S.appendChild(Ss(t, e)), S.appendChild(function(F) {
10473
10476
  var tt = lt("div");
10474
- tt.className = "introjs-progress", R._options.showProgress === !1 && (tt.style.display = "none");
10477
+ tt.className = "introjs-progress", F._options.showProgress === !1 && (tt.style.display = "none");
10475
10478
  var it = lt("div", { className: "introjs-progressbar" });
10476
- R._options.progressBarAdditionalClass && (it.className += " " + R._options.progressBarAdditionalClass);
10477
- var dt = Es(R._currentStep, R._introItems.length);
10479
+ F._options.progressBarAdditionalClass && (it.className += " " + F._options.progressBarAdditionalClass);
10480
+ var dt = Es(F._currentStep, F._introItems.length);
10478
10481
  return it.setAttribute("role", "progress"), it.setAttribute("aria-valuemin", "0"), it.setAttribute("aria-valuemax", "100"), it.setAttribute("aria-valuenow", dt.toString()), it.style.cssText = "width:".concat(dt, "%;"), tt.appendChild(it), tt;
10479
10482
  }(t)), E = lt("div"), t._options.showStepNumbers === !0 && (E.className = "introjs-helperNumberLayer", E.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length), S.appendChild(E)), S.appendChild(y), _.appendChild(S), (a = lt("a")).onclick = function() {
10480
10483
  return mt(B, void 0, void 0, function() {
10481
- return gt(this, function(R) {
10482
- switch (R.label) {
10484
+ return gt(this, function(F) {
10485
+ switch (F.label) {
10483
10486
  case 0:
10484
10487
  return t._introItems.length - 1 === t._currentStep ? [3, 2] : [4, Ye(t)];
10485
10488
  case 1:
10486
- return R.sent(), [3, 6];
10489
+ return F.sent(), [3, 6];
10487
10490
  case 2:
10488
10491
  return /introjs-donebutton/gi.test(a.className) ? kt(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
10489
10492
  case 3:
10490
- R.sent(), R.label = 4;
10493
+ F.sent(), F.label = 4;
10491
10494
  case 4:
10492
10495
  return [4, Xe(t, t._targetElement)];
10493
10496
  case 5:
10494
- R.sent(), R.label = 6;
10497
+ F.sent(), F.label = 6;
10495
10498
  case 6:
10496
10499
  return [2];
10497
10500
  }
@@ -10499,12 +10502,12 @@ function Ts(t, e) {
10499
10502
  });
10500
10503
  }, jr(a), a.innerHTML = t._options.nextLabel, (o = lt("a")).onclick = function() {
10501
10504
  return mt(B, void 0, void 0, function() {
10502
- return gt(this, function(R) {
10503
- switch (R.label) {
10505
+ return gt(this, function(F) {
10506
+ switch (F.label) {
10504
10507
  case 0:
10505
10508
  return t._currentStep > 0 ? [4, Bn(t)] : [3, 2];
10506
10509
  case 1:
10507
- R.sent(), R.label = 2;
10510
+ F.sent(), F.label = 2;
10508
10511
  case 2:
10509
10512
  return [2];
10510
10513
  }
@@ -10512,30 +10515,30 @@ function Ts(t, e) {
10512
10515
  });
10513
10516
  }, jr(o), o.innerHTML = t._options.prevLabel, jr(s = lt("a", { className: "introjs-skipbutton" })), s.innerHTML = t._options.skipLabel, s.onclick = function() {
10514
10517
  return mt(B, void 0, void 0, function() {
10515
- return gt(this, function(R) {
10516
- switch (R.label) {
10518
+ return gt(this, function(F) {
10519
+ switch (F.label) {
10517
10520
  case 0:
10518
10521
  return t._introItems.length - 1 === t._currentStep && kt(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
10519
10522
  case 1:
10520
- R.sent(), R.label = 2;
10523
+ F.sent(), F.label = 2;
10521
10524
  case 2:
10522
10525
  return kt(t._introSkipCallback) ? [4, t._introSkipCallback.call(t, t._currentStep)] : [3, 4];
10523
10526
  case 3:
10524
- R.sent(), R.label = 4;
10527
+ F.sent(), F.label = 4;
10525
10528
  case 4:
10526
10529
  return [4, Xe(t, t._targetElement)];
10527
10530
  case 5:
10528
- return R.sent(), [2];
10531
+ return F.sent(), [2];
10529
10532
  }
10530
10533
  });
10531
10534
  });
10532
- }, I.appendChild(s), t._introItems.length > 1 && N.appendChild(o), N.appendChild(a), S.appendChild(N), Hn(t, e, S, y), Ga(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, S)), (H = t._targetElement.querySelector(".introjs-disableInteraction")) && H.parentNode && H.parentNode.removeChild(H), e.disableInteraction && function(R, tt) {
10535
+ }, I.appendChild(s), t._introItems.length > 1 && N.appendChild(o), N.appendChild(a), S.appendChild(N), Hn(t, e, S, y), Ga(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, S)), (H = t._targetElement.querySelector(".introjs-disableInteraction")) && H.parentNode && H.parentNode.removeChild(H), e.disableInteraction && function(F, tt) {
10533
10536
  var it = document.querySelector(".introjs-disableInteraction");
10534
- it === null && (it = lt("div", { className: "introjs-disableInteraction" }), R._targetElement.appendChild(it)), be(R, tt, it);
10535
- }(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), a.innerHTML = t._options.nextLabel), t._options.hidePrev === !0 ? (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-hidden")), a != null && ue(a, "introjs-fullbutton")) : o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-disabled"))) : t._introItems.length - 1 === t._currentStep || t._introItems.length === 1 ? (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), t._options.hideNext === !0 ? (a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-hidden")), o != null && ue(o, "introjs-fullbutton")) : a != null && (t._options.nextToDone === !0 ? (a.innerHTML = t._options.doneLabel, ue(a, "".concat(t._options.buttonClass, " introjs-nextbutton introjs-donebutton"))) : a.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-disabled"))) : (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), a.innerHTML = t._options.nextLabel)), o != null && o.setAttribute("role", "button"), a != null && a.setAttribute("role", "button"), s != null && s.setAttribute("role", "button"), a != null && a.focus(), function(R) {
10536
- ue(R, "introjs-showElement");
10537
- var tt = na(R, "position");
10538
- tt !== "absolute" && tt !== "relative" && tt !== "sticky" && tt !== "fixed" && ue(R, "introjs-relativePosition");
10537
+ it === null && (it = lt("div", { className: "introjs-disableInteraction" }), F._targetElement.appendChild(it)), be(F, tt, it);
10538
+ }(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), a.innerHTML = t._options.nextLabel), t._options.hidePrev === !0 ? (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-hidden")), a != null && ue(a, "introjs-fullbutton")) : o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-disabled"))) : t._introItems.length - 1 === t._currentStep || t._introItems.length === 1 ? (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), t._options.hideNext === !0 ? (a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-hidden")), o != null && ue(o, "introjs-fullbutton")) : a != null && (t._options.nextToDone === !0 ? (a.innerHTML = t._options.doneLabel, ue(a, "".concat(t._options.buttonClass, " introjs-nextbutton introjs-donebutton"))) : a.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-disabled"))) : (o != null && (o.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), a != null && (a.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), a.innerHTML = t._options.nextLabel)), o != null && o.setAttribute("role", "button"), a != null && a.setAttribute("role", "button"), s != null && s.setAttribute("role", "button"), a != null && a.focus(), function(F) {
10539
+ ue(F, "introjs-showElement");
10540
+ var tt = na(F, "position");
10541
+ tt !== "absolute" && tt !== "relative" && tt !== "sticky" && tt !== "fixed" && ue(F, "introjs-relativePosition");
10539
10542
  }(e.element), kt(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
10540
10543
  case 3:
10541
10544
  U.sent(), U.label = 4;
@@ -11328,8 +11331,8 @@ function Hs(t, e) {
11328
11331
  H.__click = [Wv, i], g(k);
11329
11332
  var B = P(k, 2), U = w(B);
11330
11333
  le(U);
11331
- var R = P(U, 2);
11332
- Mn(R, {
11334
+ var F = P(U, 2);
11335
+ Mn(F, {
11333
11336
  selectNorm: y,
11334
11337
  addNorm: _,
11335
11338
  removeSelectedNorm: L,
@@ -11352,7 +11355,7 @@ function Hs(t, e) {
11352
11355
  A(d, M($));
11353
11356
  }
11354
11357
  });
11355
- var tt = P(R, 2), it = w(tt), dt = w(it);
11358
+ var tt = P(F, 2), it = w(tt), dt = w(it);
11356
11359
  le(dt), z(() => D(dt, "placeholder", n()("add-document.add-custom-tag"))), dt.__keydown = [Qv, v];
11357
11360
  var xt = P(dt, 2);
11358
11361
  xt.__click = v, g(it);
@@ -11507,9 +11510,9 @@ function Bs(t, e) {
11507
11510
  n,
11508
11511
  v
11509
11512
  ], g(H), g(E);
11510
- var U = P(E, 2), R = w(U);
11511
- R.__click = [cp], D(R, "aria-label", "Tutorial");
11512
- var tt = P(R, 2);
11513
+ var U = P(E, 2), F = w(U);
11514
+ F.__click = [cp], D(F, "aria-label", "Tutorial");
11515
+ var tt = P(F, 2);
11513
11516
  tt.__click = [dp, o], z(() => D(tt, "data-intro", n()("tutorial-step.6")));
11514
11517
  var it = P(w(tt));
11515
11518
  z(() => at(it, ` ${n()("add") ?? ""}`)), g(tt), g(U), g(N);
@@ -11688,7 +11691,7 @@ function Ds(t, e) {
11688
11691
  function U(G) {
11689
11692
  G != n()("no-norms") && !h(f).includes(G) && A(f, M([...h(f), G]));
11690
11693
  }
11691
- function R(G) {
11694
+ function F(G) {
11692
11695
  A(d, M(h(d).filter((Nt) => Nt !== G)));
11693
11696
  }
11694
11697
  function tt(G) {
@@ -11762,7 +11765,7 @@ function Ds(t, e) {
11762
11765
  var Kn = _p(), ti = w(Kn), Xs = w(ti, !0);
11763
11766
  g(ti);
11764
11767
  var Js = P(ti, 2);
11765
- Js.__click = [bp, R, la], g(Kn), z(() => at(Xs, h(la))), C(Ys, Kn);
11768
+ Js.__click = [bp, F, la], g(Kn), z(() => at(Xs, h(la))), C(Ys, Kn);
11766
11769
  }), g(Qn), C(Gt, Qn);
11767
11770
  };
11768
11771
  ut(Gs, (Gt) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "akpm-procedures",
3
3
  "private": false,
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "CDN"