@eox/itemfilter 1.13.2 → 1.13.3

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.
@@ -1,4 +1,4 @@
1
- const Ft = globalThis, Pr = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = Symbol(), Ur = /* @__PURE__ */ new WeakMap();
1
+ const Ft = globalThis, Pr = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = /* @__PURE__ */ Symbol(), Ur = /* @__PURE__ */ new WeakMap();
2
2
  let k1 = class {
3
3
  constructor(e, r, i) {
4
4
  if (this._$cssResult$ = !0, i !== zi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -57,7 +57,7 @@ const { is: $1, defineProperty: A1, getOwnPropertyDescriptor: M1, getOwnProperty
57
57
  }
58
58
  return r;
59
59
  } }, Si = (t, e) => !$1(t, e), Yr = { attribute: !0, type: String, converter: Cr, reflect: !1, useDefault: !1, hasChanged: Si };
60
- Symbol.metadata ??= Symbol("metadata"), qt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
60
+ Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), qt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
61
61
  let Se = class extends HTMLElement {
62
62
  static addInitializer(e) {
63
63
  this._$Ei(), (this.l ??= []).push(e);
@@ -67,7 +67,7 @@ let Se = class extends HTMLElement {
67
67
  }
68
68
  static createProperty(e, r = Yr) {
69
69
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
70
- const i = Symbol(), n = this.getPropertyDescriptor(e, i, r);
70
+ const i = /* @__PURE__ */ Symbol(), n = this.getPropertyDescriptor(e, i, r);
71
71
  n !== void 0 && A1(this.prototype, e, n);
72
72
  }
73
73
  }
@@ -242,7 +242,7 @@ let Se = class extends HTMLElement {
242
242
  Se.elementStyles = [], Se.shadowRootOptions = { mode: "open" }, Se[lt("elementProperties")] = /* @__PURE__ */ new Map(), Se[lt("finalized")] = /* @__PURE__ */ new Map(), B1?.({ ReactiveElement: Se }), (qt.reactiveElementVersions ??= []).push("2.1.1");
243
243
  const Tr = globalThis, Ht = Tr.trustedTypes, Kr = Ht ? Ht.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ei = "$lit$", I0 = `lit$${Math.random().toFixed(9).slice(2)}$`, Di = "?" + I0, P1 = `<${Di}>`, se = document, ct = () => se.createComment(""), dt = (t) => t === null || typeof t != "object" && typeof t != "function", Rr = Array.isArray, T1 = (t) => Rr(t) || typeof t?.[Symbol.iterator] == "function", hr = `[
244
244
  \f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gr = /-->/g, Xr = />/g, ie = RegExp(`>|${hr}(?:([^\\s"'>=/]+)(${hr}*=${hr}*(?:[^
245
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Jr = /'/g, Qr = /"/g, Bi = /^(?:script|style|textarea|title)$/i, R1 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), J = R1(1), V0 = Symbol.for("lit-noChange"), k2 = Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), ae = se.createTreeWalker(se, 129);
245
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Jr = /'/g, Qr = /"/g, Bi = /^(?:script|style|textarea|title)$/i, R1 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), J = R1(1), V0 = /* @__PURE__ */ Symbol.for("lit-noChange"), k2 = /* @__PURE__ */ Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), ae = se.createTreeWalker(se, 129);
246
246
  function Pi(t, e) {
247
247
  if (!Rr(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
248
248
  return Kr !== void 0 ? Kr.createHTML(e) : e;
@@ -4657,7 +4657,7 @@ function Za(t, e, r) {
4657
4657
  ).filter((c) => r.filters[i].state[c])), (a?.length ? a.includes(e) : !0) && Array.isArray(o) ? o.includes(e) : o === e;
4658
4658
  });
4659
4659
  }
4660
- const g1 = Symbol.for(""), Ua = (t) => {
4660
+ const g1 = /* @__PURE__ */ Symbol.for(""), Ua = (t) => {
4661
4661
  if (t?.r === g1) return t?._$litStatic$;
4662
4662
  }, ze = (t) => ({ _$litStatic$: t, r: g1 }), xi = /* @__PURE__ */ new Map(), qa = (t) => (e, ...r) => {
4663
4663
  const i = r.length;
@@ -4855,6 +4855,8 @@ function C1(t, e) {
4855
4855
  t.resultType === "cards",
4856
4856
  () => a0(n.imageProperty, a) ? J`
4857
4857
  <img
4858
+ loading="lazy"
4859
+ fetchpriority="low"
4858
4860
  class="image"
4859
4861
  src="${a0(n.imageProperty, a)}"
4860
4862
  />
@@ -4876,6 +4878,8 @@ function C1(t, e) {
4876
4878
  <i class="small">
4877
4879
  ${a0(n.imageProperty, a) ? J`
4878
4880
  <img
4881
+ loading="lazy"
4882
+ fetchpriority="low"
4879
4883
  class="image"
4880
4884
  src="${a0(n.imageProperty, a)}"
4881
4885
  />
@@ -704,6 +704,8 @@ input {
704
704
  ${H2(n.subTitleProperty||n.imageProperty,()=>J`
705
705
  ${H2(t.resultType==="cards",()=>i0(n.imageProperty,a)?J`
706
706
  <img
707
+ loading="lazy"
708
+ fetchpriority="low"
707
709
  class="image"
708
710
  src="${i0(n.imageProperty,a)}"
709
711
  />
@@ -724,6 +726,8 @@ input {
724
726
  <i class="small">
725
727
  ${i0(n.imageProperty,a)?J`
726
728
  <img
729
+ loading="lazy"
730
+ fetchpriority="low"
727
731
  class="image"
728
732
  src="${i0(n.imageProperty,a)}"
729
733
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/itemfilter",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -120,6 +120,8 @@ export function createItemListMethod(
120
120
  getValue(config.imageProperty, item)
121
121
  ? html`
122
122
  <img
123
+ loading="lazy"
124
+ fetchpriority="low"
123
125
  class="image"
124
126
  src="${getValue(config.imageProperty, item)}"
125
127
  />
@@ -143,6 +145,8 @@ export function createItemListMethod(
143
145
  ${getValue(config.imageProperty, item)
144
146
  ? html`
145
147
  <img
148
+ loading="lazy"
149
+ fetchpriority="low"
146
150
  class="image"
147
151
  src="${getValue(config.imageProperty, item)}"
148
152
  />
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,8BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,sFAHW,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CA2KxC"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,8BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,sFAHW,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CA+KxC"}