@epigraph/epigraph-std-lib 4.0.2-alpha → 4.2.0
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.
- package/dist/Epigraph/epigraph.cjs +1 -0
- package/dist/Epigraph/epigraph.d.ts +10 -3
- package/dist/Epigraph/epigraph.js +33 -20
- package/dist/Epigraph/epigraphBaseSolutions.cjs +1 -0
- package/dist/Epigraph/{epigraphBaseSolution.d.ts → epigraphBaseSolutions.d.ts} +1 -1
- package/dist/{lib/Epigraph/epigraphBaseSolution.js → Epigraph/epigraphBaseSolutions.js} +2 -2
- package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.cjs +16 -0
- package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js +354 -27
- package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.cjs +1 -0
- package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.cjs +1 -0
- package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.d.ts +34 -5
- package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js +229 -64
- package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.cjs +7 -0
- package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.d.ts +2 -2
- package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js +31 -22
- package/dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.cjs +1 -0
- package/dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.cjs +1 -0
- package/dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js +51 -30
- package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.cjs +1 -0
- package/dist/epigraph-std-lib.cjs +1 -0
- package/dist/epigraph-std-lib.d.ts +9 -1
- package/dist/epigraph-std-lib.js +40 -1
- package/dist/lit-element-C3moVMGu.js +524 -0
- package/dist/lit-element-CYaaFRfk.cjs +19 -0
- package/package.json +4 -35
- package/dist/EpigraphLibs/EpigraphAnalytics/types/index.d.ts +0 -7
- package/dist/lib/Epigraph/constants/enums.js +0 -4
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/consent-plugins/consent-plugin-names.js +0 -4
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/consent-plugins/one-trust-consent-plugin.js +0 -29
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/node.js +0 -22
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/queue.js +0 -23
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/single-linked-list.js +0 -30
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/ga3-analytics-plugin.js +0 -87
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/ga4-analytics-plugin.js +0 -121
- package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/nexus-analytics-plugin.js +0 -45
- package/dist/lib/EpigraphLibs/EpigraphUnitsConverter/conversions.js +0 -26
- package/dist/lib/EpigraphLibs/EpigraphUnitsConverter/enums.js +0 -5
- package/dist/node_modules/lit-html/async-directive.js +0 -67
- package/dist/node_modules/lit-html/directive-helpers.js +0 -10
- package/dist/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/lit-html/directives/ref.js +0 -40
- package/dist/node_modules/lit-html/lit-html.js +0 -225
- package/dist/vite-env.d.ts +0 -1
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
|
-
const w = globalThis, T = w.trustedTypes, I = T ? T.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, L = "$lit$", p = `lit$${Math.random().toFixed(9).slice(2)}$`, P = "?" + p, V = `<${P}>`, f = document, b = () => f.createComment(""), y = (r) => r === null || typeof r != "object" && typeof r != "function", E = Array.isArray, D = (r) => E(r) || typeof r?.[Symbol.iterator] == "function", S = `[
|
|
7
|
-
\f\r]`, v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, U = /-->/g, O = />/g, u = RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^
|
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), R = /'/g, j = /"/g, W = /^(?:script|style|textarea|title)$/i, x = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), B = /* @__PURE__ */ new WeakMap(), g = f.createTreeWalker(f, 129);
|
|
9
|
-
function k(r, t) {
|
|
10
|
-
if (!E(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
11
|
-
return I !== void 0 ? I.createHTML(t) : t;
|
|
12
|
-
}
|
|
13
|
-
const z = (r, t) => {
|
|
14
|
-
const s = r.length - 1, e = [];
|
|
15
|
-
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = v;
|
|
16
|
-
for (let _ = 0; _ < s; _++) {
|
|
17
|
-
const h = r[_];
|
|
18
|
-
let $, a, l = -1, c = 0;
|
|
19
|
-
for (; c < h.length && (o.lastIndex = c, a = o.exec(h), a !== null); ) c = o.lastIndex, o === v ? a[1] === "!--" ? o = U : a[1] !== void 0 ? o = O : a[2] !== void 0 ? (W.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = u) : a[3] !== void 0 && (o = u) : o === u ? a[0] === ">" ? (o = i ?? v, l = -1) : a[1] === void 0 ? l = -2 : (l = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? u : a[3] === '"' ? j : R) : o === j || o === R ? o = u : o === U || o === O ? o = v : (o = u, i = void 0);
|
|
20
|
-
const d = o === u && r[_ + 1].startsWith("/>") ? " " : "";
|
|
21
|
-
n += o === v ? h + V : l >= 0 ? (e.push($), h.slice(0, l) + L + h.slice(l) + p + d) : h + p + (l === -2 ? _ : d);
|
|
22
|
-
}
|
|
23
|
-
return [k(r, n + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), e];
|
|
24
|
-
};
|
|
25
|
-
class H {
|
|
26
|
-
constructor({ strings: t, _$litType$: s }, e) {
|
|
27
|
-
let i;
|
|
28
|
-
this.parts = [];
|
|
29
|
-
let n = 0, o = 0;
|
|
30
|
-
const _ = t.length - 1, h = this.parts, [$, a] = z(t, s);
|
|
31
|
-
if (this.el = H.createElement($, e), g.currentNode = this.el.content, s === 2 || s === 3) {
|
|
32
|
-
const l = this.el.content.firstChild;
|
|
33
|
-
l.replaceWith(...l.childNodes);
|
|
34
|
-
}
|
|
35
|
-
for (; (i = g.nextNode()) !== null && h.length < _; ) {
|
|
36
|
-
if (i.nodeType === 1) {
|
|
37
|
-
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(L)) {
|
|
38
|
-
const c = a[o++], d = i.getAttribute(l).split(p), N = /([.?@])?(.*)/.exec(c);
|
|
39
|
-
h.push({ type: 1, index: n, name: N[2], strings: d, ctor: N[1] === "." ? F : N[1] === "?" ? q : N[1] === "@" ? G : M }), i.removeAttribute(l);
|
|
40
|
-
} else l.startsWith(p) && (h.push({ type: 6, index: n }), i.removeAttribute(l));
|
|
41
|
-
if (W.test(i.tagName)) {
|
|
42
|
-
const l = i.textContent.split(p), c = l.length - 1;
|
|
43
|
-
if (c > 0) {
|
|
44
|
-
i.textContent = T ? T.emptyScript : "";
|
|
45
|
-
for (let d = 0; d < c; d++) i.append(l[d], b()), g.nextNode(), h.push({ type: 2, index: ++n });
|
|
46
|
-
i.append(l[c], b());
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
} else if (i.nodeType === 8) if (i.data === P) h.push({ type: 2, index: n });
|
|
50
|
-
else {
|
|
51
|
-
let l = -1;
|
|
52
|
-
for (; (l = i.data.indexOf(p, l + 1)) !== -1; ) h.push({ type: 7, index: n }), l += p.length - 1;
|
|
53
|
-
}
|
|
54
|
-
n++;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
static createElement(t, s) {
|
|
58
|
-
const e = f.createElement("template");
|
|
59
|
-
return e.innerHTML = t, e;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function m(r, t, s = r, e) {
|
|
63
|
-
if (t === x) return t;
|
|
64
|
-
let i = e !== void 0 ? s._$Co?.[e] : s._$Cl;
|
|
65
|
-
const n = y(t) ? void 0 : t._$litDirective$;
|
|
66
|
-
return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, s, e)), e !== void 0 ? (s._$Co ??= [])[e] = i : s._$Cl = i), i !== void 0 && (t = m(r, i._$AS(r, t.values), i, e)), t;
|
|
67
|
-
}
|
|
68
|
-
class Z {
|
|
69
|
-
constructor(t, s) {
|
|
70
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
|
|
71
|
-
}
|
|
72
|
-
get parentNode() {
|
|
73
|
-
return this._$AM.parentNode;
|
|
74
|
-
}
|
|
75
|
-
get _$AU() {
|
|
76
|
-
return this._$AM._$AU;
|
|
77
|
-
}
|
|
78
|
-
u(t) {
|
|
79
|
-
const { el: { content: s }, parts: e } = this._$AD, i = (t?.creationScope ?? f).importNode(s, !0);
|
|
80
|
-
g.currentNode = i;
|
|
81
|
-
let n = g.nextNode(), o = 0, _ = 0, h = e[0];
|
|
82
|
-
for (; h !== void 0; ) {
|
|
83
|
-
if (o === h.index) {
|
|
84
|
-
let $;
|
|
85
|
-
h.type === 2 ? $ = new C(n, n.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && ($ = new J(n, this, t)), this._$AV.push($), h = e[++_];
|
|
86
|
-
}
|
|
87
|
-
o !== h?.index && (n = g.nextNode(), o++);
|
|
88
|
-
}
|
|
89
|
-
return g.currentNode = f, i;
|
|
90
|
-
}
|
|
91
|
-
p(t) {
|
|
92
|
-
let s = 0;
|
|
93
|
-
for (const e of this._$AV) e !== void 0 && (e.strings !== void 0 ? (e._$AI(t, e, s), s += e.strings.length - 2) : e._$AI(t[s])), s++;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
class C {
|
|
97
|
-
get _$AU() {
|
|
98
|
-
return this._$AM?._$AU ?? this._$Cv;
|
|
99
|
-
}
|
|
100
|
-
constructor(t, s, e, i) {
|
|
101
|
-
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = e, this.options = i, this._$Cv = i?.isConnected ?? !0;
|
|
102
|
-
}
|
|
103
|
-
get parentNode() {
|
|
104
|
-
let t = this._$AA.parentNode;
|
|
105
|
-
const s = this._$AM;
|
|
106
|
-
return s !== void 0 && t?.nodeType === 11 && (t = s.parentNode), t;
|
|
107
|
-
}
|
|
108
|
-
get startNode() {
|
|
109
|
-
return this._$AA;
|
|
110
|
-
}
|
|
111
|
-
get endNode() {
|
|
112
|
-
return this._$AB;
|
|
113
|
-
}
|
|
114
|
-
_$AI(t, s = this) {
|
|
115
|
-
t = m(this, t, s), y(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : D(t) ? this.k(t) : this._(t);
|
|
116
|
-
}
|
|
117
|
-
O(t) {
|
|
118
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
119
|
-
}
|
|
120
|
-
T(t) {
|
|
121
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
122
|
-
}
|
|
123
|
-
_(t) {
|
|
124
|
-
this._$AH !== A && y(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
|
|
125
|
-
}
|
|
126
|
-
$(t) {
|
|
127
|
-
const { values: s, _$litType$: e } = t, i = typeof e == "number" ? this._$AC(t) : (e.el === void 0 && (e.el = H.createElement(k(e.h, e.h[0]), this.options)), e);
|
|
128
|
-
if (this._$AH?._$AD === i) this._$AH.p(s);
|
|
129
|
-
else {
|
|
130
|
-
const n = new Z(i, this), o = n.u(this.options);
|
|
131
|
-
n.p(s), this.T(o), this._$AH = n;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
_$AC(t) {
|
|
135
|
-
let s = B.get(t.strings);
|
|
136
|
-
return s === void 0 && B.set(t.strings, s = new H(t)), s;
|
|
137
|
-
}
|
|
138
|
-
k(t) {
|
|
139
|
-
E(this._$AH) || (this._$AH = [], this._$AR());
|
|
140
|
-
const s = this._$AH;
|
|
141
|
-
let e, i = 0;
|
|
142
|
-
for (const n of t) i === s.length ? s.push(e = new C(this.O(b()), this.O(b()), this, this.options)) : e = s[i], e._$AI(n), i++;
|
|
143
|
-
i < s.length && (this._$AR(e && e._$AB.nextSibling, i), s.length = i);
|
|
144
|
-
}
|
|
145
|
-
_$AR(t = this._$AA.nextSibling, s) {
|
|
146
|
-
for (this._$AP?.(!1, !0, s); t && t !== this._$AB; ) {
|
|
147
|
-
const e = t.nextSibling;
|
|
148
|
-
t.remove(), t = e;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
setConnected(t) {
|
|
152
|
-
this._$AM === void 0 && (this._$Cv = t, this._$AP?.(t));
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
class M {
|
|
156
|
-
get tagName() {
|
|
157
|
-
return this.element.tagName;
|
|
158
|
-
}
|
|
159
|
-
get _$AU() {
|
|
160
|
-
return this._$AM._$AU;
|
|
161
|
-
}
|
|
162
|
-
constructor(t, s, e, i, n) {
|
|
163
|
-
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = s, this._$AM = i, this.options = n, e.length > 2 || e[0] !== "" || e[1] !== "" ? (this._$AH = Array(e.length - 1).fill(new String()), this.strings = e) : this._$AH = A;
|
|
164
|
-
}
|
|
165
|
-
_$AI(t, s = this, e, i) {
|
|
166
|
-
const n = this.strings;
|
|
167
|
-
let o = !1;
|
|
168
|
-
if (n === void 0) t = m(this, t, s, 0), o = !y(t) || t !== this._$AH && t !== x, o && (this._$AH = t);
|
|
169
|
-
else {
|
|
170
|
-
const _ = t;
|
|
171
|
-
let h, $;
|
|
172
|
-
for (t = n[0], h = 0; h < n.length - 1; h++) $ = m(this, _[e + h], s, h), $ === x && ($ = this._$AH[h]), o ||= !y($) || $ !== this._$AH[h], $ === A ? t = A : t !== A && (t += ($ ?? "") + n[h + 1]), this._$AH[h] = $;
|
|
173
|
-
}
|
|
174
|
-
o && !i && this.j(t);
|
|
175
|
-
}
|
|
176
|
-
j(t) {
|
|
177
|
-
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
class F extends M {
|
|
181
|
-
constructor() {
|
|
182
|
-
super(...arguments), this.type = 3;
|
|
183
|
-
}
|
|
184
|
-
j(t) {
|
|
185
|
-
this.element[this.name] = t === A ? void 0 : t;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
class q extends M {
|
|
189
|
-
constructor() {
|
|
190
|
-
super(...arguments), this.type = 4;
|
|
191
|
-
}
|
|
192
|
-
j(t) {
|
|
193
|
-
this.element.toggleAttribute(this.name, !!t && t !== A);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
class G extends M {
|
|
197
|
-
constructor(t, s, e, i, n) {
|
|
198
|
-
super(t, s, e, i, n), this.type = 5;
|
|
199
|
-
}
|
|
200
|
-
_$AI(t, s = this) {
|
|
201
|
-
if ((t = m(this, t, s, 0) ?? A) === x) return;
|
|
202
|
-
const e = this._$AH, i = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive, n = t !== A && (e === A || i);
|
|
203
|
-
i && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
204
|
-
}
|
|
205
|
-
handleEvent(t) {
|
|
206
|
-
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
class J {
|
|
210
|
-
constructor(t, s, e) {
|
|
211
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = e;
|
|
212
|
-
}
|
|
213
|
-
get _$AU() {
|
|
214
|
-
return this._$AM._$AU;
|
|
215
|
-
}
|
|
216
|
-
_$AI(t) {
|
|
217
|
-
m(this, t);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
const K = w.litHtmlPolyfillSupport;
|
|
221
|
-
K?.(H, C), (w.litHtmlVersions ??= []).push("3.3.0");
|
|
222
|
-
export {
|
|
223
|
-
x as noChange,
|
|
224
|
-
A as nothing
|
|
225
|
-
};
|
package/dist/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|