@xwadex/fesd 0.0.14-re.23 → 0.0.14-re.25

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.
@@ -409,14 +409,14 @@ sa = new WeakSet(), Or = function() {
409
409
  if (!ha(n) || !_t(n))
410
410
  return;
411
411
  const { SETTINGS: a, EVENTS: r } = _a;
412
- if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
412
+ if (this.elements = Pi(n + ":not([data-anchor-active])"), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
413
413
  for (const [l, f] of Object.entries(this.options.on))
414
414
  this.__events__[l] = [f];
415
415
  ge(this, Ga, nc).call(this);
416
416
  }, Ga = new WeakSet(), nc = function() {
417
417
  const { elements: n, options: t } = this;
418
418
  n.forEach((a) => {
419
- a.anchor = {}, a.anchor.instance = this, a.anchor.eventHandler = ge(this, Xa, ic), a.anchor.defaultOptions = t, a.anchor.methods = {}, a.anchor.methods.destroy = this.destroy, a.anchor.methods.update = this.update, a.addEventListener("click", a.anchor.eventHandler);
419
+ a.anchor = {}, a.anchor.instance = this, a.anchor.eventHandler = ge(this, Xa, ic), a.anchor.defaultOptions = t, a.anchor.methods = {}, a.anchor.methods.destroy = this.destroy, a.anchor.methods.update = this.update, a.addEventListener("click", a.anchor.eventHandler), a.setAttribute("data-anchor-active", "");
420
420
  }), this.emit("afterInit");
421
421
  }, Xa = new WeakSet(), ic = function() {
422
422
  const { defaultOptions: n, eventHandler: t, instance: a } = this.anchor, r = {
@@ -1940,14 +1940,14 @@ ra = new WeakSet(), Zr = function() {
1940
1940
  if (!ha(n) || !_t(n))
1941
1941
  return;
1942
1942
  const { SETTINGS: a, EVENTS: r } = Bn;
1943
- if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
1943
+ if (this.elements = Pi(n + ":not([data-modal-active])"), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
1944
1944
  for (const [l, f] of Object.entries(this.options.on))
1945
1945
  this.__events__[l] = [f];
1946
1946
  ge(this, Qa, Qc).call(this);
1947
1947
  }, Qa = new WeakSet(), Qc = function() {
1948
1948
  const { elements: n, options: t } = this;
1949
1949
  n.forEach((a) => {
1950
- a.modal = {}, a.modal.instance = this, a.modal.eventHandler = ge(this, es, eu), a.modal.defaultOptions = t, a.modal.methods = {}, a.modal.methods.destroy = this.destroy, a.modal.methods.update = this.update, a.addEventListener("click", a.modal.eventHandler);
1950
+ a.modal = {}, a.modal.instance = this, a.modal.eventHandler = ge(this, es, eu), a.modal.defaultOptions = t, a.modal.methods = {}, a.modal.methods.destroy = this.destroy, a.modal.methods.update = this.update, a.addEventListener("click", a.modal.eventHandler), a.setAttribute("data-modal-active", "");
1951
1951
  }), this.emit("init");
1952
1952
  }, es = new WeakSet(), eu = function(n) {
1953
1953
  const { defaultOptions: t, eventHandler: a, instance: r } = this.modal, l = hf(this.getAttribute("data-modal-on"));
@@ -2014,7 +2014,7 @@ oa = new WeakSet(), Qr = function() {
2014
2014
  if (!ha(n) || !_t(n))
2015
2015
  return;
2016
2016
  const { SETTINGS: a, EVENTS: r } = Jl;
2017
- if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
2017
+ if (this.elements = Pi(n + ":not([data-aost-active])"), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
2018
2018
  for (const [l, f] of Object.entries(this.options.on))
2019
2019
  this.__events__[l] = [f];
2020
2020
  ge(this, ts, nu).call(this);
@@ -13055,14 +13055,14 @@ class yv {
13055
13055
  }
13056
13056
  la = new WeakSet(), ro = function() {
13057
13057
  const { el: n, options: t } = this.__storage__, { SETTINGS: a, EVENTS: r } = Ki;
13058
- if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
13058
+ if (this.elements = Pi(n + ":not([data-video-active])"), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
13059
13059
  for (const [l, f] of Object.entries(this.options.on))
13060
13060
  this.__events__[l] = [f];
13061
13061
  ge(this, cs, Ju).call(this);
13062
13062
  }, cs = new WeakSet(), Ju = function() {
13063
13063
  const { elements: n, options: t } = this;
13064
13064
  n.forEach((a) => {
13065
- a.video = {}, a.video.instance = this, a.video.defaultOptions = t, a.video.params = ge(this, ds, Qu).call(this, a), a.video.methods = {}, a.video.methods.update = this.update, Vl(a.video.params) && !vv(a.video.params) && (a.setAttribute("video4-active", "on"), ge(this, us, Zu).call(this, a)), Vl(a.video.params) || ul("video4", "無法取得影片 ID");
13065
+ a.video = {}, a.video.instance = this, a.video.defaultOptions = t, a.video.params = ge(this, ds, Qu).call(this, a), a.video.methods = {}, a.video.methods.update = this.update, a.setAttribute("data-video-active", ""), Vl(a.video.params) && !vv(a.video.params) && (a.setAttribute("video4-active", "on"), ge(this, us, Zu).call(this, a)), Vl(a.video.params) || ul("video4", "無法取得影片 ID");
13066
13066
  }), this.emit("init");
13067
13067
  }, us = new WeakSet(), Zu = function(n) {
13068
13068
  const { LAYOUT: t } = Ki, a = n.video.params, { $selector: r, videoLayoutNo: l, videoId: f, videoType: m, videoMode: c, videoButton: u, videoCover: h } = a;
@@ -14605,14 +14605,14 @@ class $v {
14605
14605
  }
14606
14606
  da = new WeakSet(), co = function() {
14607
14607
  const { el: n, options: t } = this.__storage__, { SETTINGS: a, EVENTS: r } = Ql;
14608
- if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
14608
+ if (this.elements = Pi(n + ":not([data-collapse-active])"), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
14609
14609
  for (const [l, f] of Object.entries(this.options.on))
14610
14610
  this.__events__[l] = [f];
14611
14611
  ge(this, Ls, xd).call(this);
14612
14612
  }, Ls = new WeakSet(), xd = function() {
14613
14613
  const { elements: n, options: t } = this;
14614
14614
  n.forEach((a) => {
14615
- a.collapse = {}, a.collapse.instance = this, a.collapse.defaultOptions = t, a.collapse.methods = {}, a.collapse.methods.update = this.update, ge(this, _s, Ed).call(this, a);
14615
+ a.collapse = {}, a.collapse.instance = this, a.collapse.defaultOptions = t, a.collapse.methods = {}, a.collapse.methods.update = this.update, a.setAttribute("data-collapse-active", ""), ge(this, _s, Ed).call(this, a);
14616
14616
  }), this.emit("init");
14617
14617
  }, _s = new WeakSet(), Ed = function(n) {
14618
14618
  const { options: t } = this, { collapseClass: a, block: r, target: l, defaultOpen: f, targetStopPropagation: m, defaultActiveMark: c } = t, u = n, h = u.querySelector(l);