@equinor/fusion-framework-dev-portal 11.0.1 → 11.0.2
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/CHANGELOG.md +12 -0
- package/dist/main.js +23457 -18013
- package/package.json +17 -17
- package/src/version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/esm-DvtZJzKT.js +0 -5859
- package/dist/lib-DxzGPKRI.js +0 -44
- package/dist/lib-KqyyWfOy.js +0 -286
package/dist/lib-DxzGPKRI.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { $ as e, F as t, G as n, L as r, M as i, N as a, O as o, k as s, t as c } from "./esm-DvtZJzKT.js";
|
|
2
|
-
Object.keys(c);
|
|
3
|
-
var l;
|
|
4
|
-
(function(e) {
|
|
5
|
-
e.EDS = "eds";
|
|
6
|
-
})(l ||= {});
|
|
7
|
-
var u = ({ height: e, width: t, svgPathData: n }) => a`
|
|
8
|
-
<svg viewBox="0 0 ${t} ${e}">
|
|
9
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="${n}"></path>
|
|
10
|
-
</svg>
|
|
11
|
-
`, d = (e, t = l.EDS) => {
|
|
12
|
-
switch (t) {
|
|
13
|
-
case l.EDS: {
|
|
14
|
-
let t = e;
|
|
15
|
-
if (c[t]) return u(c[t]);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}, f = t`
|
|
19
|
-
:host {
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
height: 1.5em;
|
|
22
|
-
width: 1.5em;
|
|
23
|
-
}
|
|
24
|
-
::slotted(svg),
|
|
25
|
-
svg {
|
|
26
|
-
height: 100%;
|
|
27
|
-
width: auto;
|
|
28
|
-
fill: currentColor;
|
|
29
|
-
}
|
|
30
|
-
`, p = class extends s {
|
|
31
|
-
render() {
|
|
32
|
-
return this.icon ? d(this.icon, this.type) : i`<slot></slot>`;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
p.styles = [f], n([o()], p.prototype, "icon", void 0), n([o()], p.prototype, "type", void 0);
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-icon@2.4.3/node_modules/@equinor/fusion-wc-icon/lib/index.js
|
|
38
|
-
var m = /* @__PURE__ */ e({
|
|
39
|
-
IconElement: () => p,
|
|
40
|
-
tag: () => h
|
|
41
|
-
}), h = "fwc-icon", g = class extends p {};
|
|
42
|
-
g = n([r(h)], g);
|
|
43
|
-
//#endregion
|
|
44
|
-
export { l as n, m as t };
|
package/dist/lib-KqyyWfOy.js
DELETED
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
import { $ as e, F as t, G as n, L as r, M as i, N as a, O as o, k as s, t as c } from "./esm-DvtZJzKT.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/lit-html.js
|
|
3
|
-
var l = globalThis, u = (e) => e, d = l.trustedTypes, f = d ? d.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, p = "$lit$", m = `lit$${Math.random().toFixed(9).slice(2)}$`, h = "?" + m, g = `<${h}>`, _ = document, v = () => _.createComment(""), y = (e) => e === null || typeof e != "object" && typeof e != "function", b = Array.isArray, x = (e) => b(e) || typeof e?.[Symbol.iterator] == "function", S = "[ \n\f\r]", C = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, w = /-->/g, T = />/g, E = RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), D = /'/g, O = /"/g, k = /^(?:script|style|textarea|title)$/i, A = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), M = /* @__PURE__ */ new WeakMap(), N = _.createTreeWalker(_, 129);
|
|
4
|
-
function P(e, t) {
|
|
5
|
-
if (!b(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
6
|
-
return f === void 0 ? t : f.createHTML(t);
|
|
7
|
-
}
|
|
8
|
-
var F = (e, t) => {
|
|
9
|
-
let n = e.length - 1, r = [], i, a = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = C;
|
|
10
|
-
for (let t = 0; t < n; t++) {
|
|
11
|
-
let n = e[t], s, c, l = -1, u = 0;
|
|
12
|
-
for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === C ? c[1] === "!--" ? o = w : c[1] === void 0 ? c[2] === void 0 ? c[3] !== void 0 && (o = E) : (k.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = E) : o = T : o === E ? c[0] === ">" ? (o = i ?? C, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, s = c[1], o = c[3] === void 0 ? E : c[3] === "\"" ? O : D) : o === O || o === D ? o = E : o === w || o === T ? o = C : (o = E, i = void 0);
|
|
13
|
-
let d = o === E && e[t + 1].startsWith("/>") ? " " : "";
|
|
14
|
-
a += o === C ? n + g : l >= 0 ? (r.push(s), n.slice(0, l) + p + n.slice(l) + m + d) : n + m + (l === -2 ? t : d);
|
|
15
|
-
}
|
|
16
|
-
return [P(e, a + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
17
|
-
}, I = class e {
|
|
18
|
-
constructor({ strings: t, _$litType$: n }, r) {
|
|
19
|
-
let i;
|
|
20
|
-
this.parts = [];
|
|
21
|
-
let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] = F(t, n);
|
|
22
|
-
if (this.el = e.createElement(l, r), N.currentNode = this.el.content, n === 2 || n === 3) {
|
|
23
|
-
let e = this.el.content.firstChild;
|
|
24
|
-
e.replaceWith(...e.childNodes);
|
|
25
|
-
}
|
|
26
|
-
for (; (i = N.nextNode()) !== null && c.length < s;) {
|
|
27
|
-
if (i.nodeType === 1) {
|
|
28
|
-
if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(p)) {
|
|
29
|
-
let t = u[o++], n = i.getAttribute(e).split(m), r = /([.?@])?(.*)/.exec(t);
|
|
30
|
-
c.push({
|
|
31
|
-
type: 1,
|
|
32
|
-
index: a,
|
|
33
|
-
name: r[2],
|
|
34
|
-
strings: n,
|
|
35
|
-
ctor: r[1] === "." ? V : r[1] === "?" ? H : r[1] === "@" ? U : B
|
|
36
|
-
}), i.removeAttribute(e);
|
|
37
|
-
} else e.startsWith(m) && (c.push({
|
|
38
|
-
type: 6,
|
|
39
|
-
index: a
|
|
40
|
-
}), i.removeAttribute(e));
|
|
41
|
-
if (k.test(i.tagName)) {
|
|
42
|
-
let e = i.textContent.split(m), t = e.length - 1;
|
|
43
|
-
if (t > 0) {
|
|
44
|
-
i.textContent = d ? d.emptyScript : "";
|
|
45
|
-
for (let n = 0; n < t; n++) i.append(e[n], v()), N.nextNode(), c.push({
|
|
46
|
-
type: 2,
|
|
47
|
-
index: ++a
|
|
48
|
-
});
|
|
49
|
-
i.append(e[t], v());
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
} else if (i.nodeType === 8) {
|
|
53
|
-
if (i.data === h) c.push({
|
|
54
|
-
type: 2,
|
|
55
|
-
index: a
|
|
56
|
-
});
|
|
57
|
-
else {
|
|
58
|
-
let e = -1;
|
|
59
|
-
for (; (e = i.data.indexOf(m, e + 1)) !== -1;) c.push({
|
|
60
|
-
type: 7,
|
|
61
|
-
index: a
|
|
62
|
-
}), e += m.length - 1;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
a++;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
static createElement(e, t) {
|
|
69
|
-
let n = _.createElement("template");
|
|
70
|
-
return n.innerHTML = e, n;
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
function L(e, t, n = e, r) {
|
|
74
|
-
if (t === A) return t;
|
|
75
|
-
let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = y(t) ? void 0 : t._$litDirective$;
|
|
76
|
-
return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = L(e, i._$AS(e, t.values), i, r)), t;
|
|
77
|
-
}
|
|
78
|
-
var R = class {
|
|
79
|
-
constructor(e, t) {
|
|
80
|
-
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
81
|
-
}
|
|
82
|
-
get parentNode() {
|
|
83
|
-
return this._$AM.parentNode;
|
|
84
|
-
}
|
|
85
|
-
get _$AU() {
|
|
86
|
-
return this._$AM._$AU;
|
|
87
|
-
}
|
|
88
|
-
u(e) {
|
|
89
|
-
let { el: { content: t }, parts: n } = this._$AD, r = (e?.creationScope ?? _).importNode(t, !0);
|
|
90
|
-
N.currentNode = r;
|
|
91
|
-
let i = N.nextNode(), a = 0, o = 0, s = n[0];
|
|
92
|
-
for (; s !== void 0;) {
|
|
93
|
-
if (a === s.index) {
|
|
94
|
-
let t;
|
|
95
|
-
s.type === 2 ? t = new z(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new W(i, this, e)), this._$AV.push(t), s = n[++o];
|
|
96
|
-
}
|
|
97
|
-
a !== s?.index && (i = N.nextNode(), a++);
|
|
98
|
-
}
|
|
99
|
-
return N.currentNode = _, r;
|
|
100
|
-
}
|
|
101
|
-
p(e) {
|
|
102
|
-
let t = 0;
|
|
103
|
-
for (let n of this._$AV) n !== void 0 && (n.strings === void 0 ? n._$AI(e[t]) : (n._$AI(e, n, t), t += n.strings.length - 2)), t++;
|
|
104
|
-
}
|
|
105
|
-
}, z = class e {
|
|
106
|
-
get _$AU() {
|
|
107
|
-
return this._$AM?._$AU ?? this._$Cv;
|
|
108
|
-
}
|
|
109
|
-
constructor(e, t, n, r) {
|
|
110
|
-
this.type = 2, this._$AH = j, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = r, this._$Cv = r?.isConnected ?? !0;
|
|
111
|
-
}
|
|
112
|
-
get parentNode() {
|
|
113
|
-
let e = this._$AA.parentNode, t = this._$AM;
|
|
114
|
-
return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
|
|
115
|
-
}
|
|
116
|
-
get startNode() {
|
|
117
|
-
return this._$AA;
|
|
118
|
-
}
|
|
119
|
-
get endNode() {
|
|
120
|
-
return this._$AB;
|
|
121
|
-
}
|
|
122
|
-
_$AI(e, t = this) {
|
|
123
|
-
e = L(this, e, t), y(e) ? e === j || e == null || e === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : e !== this._$AH && e !== A && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? x(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
|
|
124
|
-
}
|
|
125
|
-
O(e) {
|
|
126
|
-
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
127
|
-
}
|
|
128
|
-
T(e) {
|
|
129
|
-
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
130
|
-
}
|
|
131
|
-
_(e) {
|
|
132
|
-
this._$AH !== j && y(this._$AH) ? this._$AA.nextSibling.data = e : this.T(_.createTextNode(e)), this._$AH = e;
|
|
133
|
-
}
|
|
134
|
-
$(e) {
|
|
135
|
-
let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = I.createElement(P(n.h, n.h[0]), this.options)), n);
|
|
136
|
-
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
137
|
-
else {
|
|
138
|
-
let e = new R(r, this), n = e.u(this.options);
|
|
139
|
-
e.p(t), this.T(n), this._$AH = e;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
_$AC(e) {
|
|
143
|
-
let t = M.get(e.strings);
|
|
144
|
-
return t === void 0 && M.set(e.strings, t = new I(e)), t;
|
|
145
|
-
}
|
|
146
|
-
k(t) {
|
|
147
|
-
b(this._$AH) || (this._$AH = [], this._$AR());
|
|
148
|
-
let n = this._$AH, r, i = 0;
|
|
149
|
-
for (let a of t) i === n.length ? n.push(r = new e(this.O(v()), this.O(v()), this, this.options)) : r = n[i], r._$AI(a), i++;
|
|
150
|
-
i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
|
|
151
|
-
}
|
|
152
|
-
_$AR(e = this._$AA.nextSibling, t) {
|
|
153
|
-
for (this._$AP?.(!1, !0, t); e !== this._$AB;) {
|
|
154
|
-
let t = u(e).nextSibling;
|
|
155
|
-
u(e).remove(), e = t;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
setConnected(e) {
|
|
159
|
-
this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
|
|
160
|
-
}
|
|
161
|
-
}, B = class {
|
|
162
|
-
get tagName() {
|
|
163
|
-
return this.element.tagName;
|
|
164
|
-
}
|
|
165
|
-
get _$AU() {
|
|
166
|
-
return this._$AM._$AU;
|
|
167
|
-
}
|
|
168
|
-
constructor(e, t, n, r, i) {
|
|
169
|
-
this.type = 1, this._$AH = j, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = i, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(/* @__PURE__ */ new String()), this.strings = n) : this._$AH = j;
|
|
170
|
-
}
|
|
171
|
-
_$AI(e, t = this, n, r) {
|
|
172
|
-
let i = this.strings, a = !1;
|
|
173
|
-
if (i === void 0) e = L(this, e, t, 0), a = !y(e) || e !== this._$AH && e !== A, a && (this._$AH = e);
|
|
174
|
-
else {
|
|
175
|
-
let r = e, o, s;
|
|
176
|
-
for (e = i[0], o = 0; o < i.length - 1; o++) s = L(this, r[n + o], t, o), s === A && (s = this._$AH[o]), a ||= !y(s) || s !== this._$AH[o], s === j ? e = j : e !== j && (e += (s ?? "") + i[o + 1]), this._$AH[o] = s;
|
|
177
|
-
}
|
|
178
|
-
a && !r && this.j(e);
|
|
179
|
-
}
|
|
180
|
-
j(e) {
|
|
181
|
-
e === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
182
|
-
}
|
|
183
|
-
}, V = class extends B {
|
|
184
|
-
constructor() {
|
|
185
|
-
super(...arguments), this.type = 3;
|
|
186
|
-
}
|
|
187
|
-
j(e) {
|
|
188
|
-
this.element[this.name] = e === j ? void 0 : e;
|
|
189
|
-
}
|
|
190
|
-
}, H = class extends B {
|
|
191
|
-
constructor() {
|
|
192
|
-
super(...arguments), this.type = 4;
|
|
193
|
-
}
|
|
194
|
-
j(e) {
|
|
195
|
-
this.element.toggleAttribute(this.name, !!e && e !== j);
|
|
196
|
-
}
|
|
197
|
-
}, U = class extends B {
|
|
198
|
-
constructor(e, t, n, r, i) {
|
|
199
|
-
super(e, t, n, r, i), this.type = 5;
|
|
200
|
-
}
|
|
201
|
-
_$AI(e, t = this) {
|
|
202
|
-
if ((e = L(this, e, t, 0) ?? j) === A) return;
|
|
203
|
-
let n = this._$AH, r = e === j && n !== j || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, i = e !== j && (n === j || r);
|
|
204
|
-
r && this.element.removeEventListener(this.name, this, n), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
205
|
-
}
|
|
206
|
-
handleEvent(e) {
|
|
207
|
-
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
208
|
-
}
|
|
209
|
-
}, W = class {
|
|
210
|
-
constructor(e, t, n) {
|
|
211
|
-
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
|
212
|
-
}
|
|
213
|
-
get _$AU() {
|
|
214
|
-
return this._$AM._$AU;
|
|
215
|
-
}
|
|
216
|
-
_$AI(e) {
|
|
217
|
-
L(this, e);
|
|
218
|
-
}
|
|
219
|
-
}, G = {
|
|
220
|
-
M: p,
|
|
221
|
-
P: m,
|
|
222
|
-
A: h,
|
|
223
|
-
C: 1,
|
|
224
|
-
L: F,
|
|
225
|
-
R,
|
|
226
|
-
D: x,
|
|
227
|
-
V: L,
|
|
228
|
-
I: z,
|
|
229
|
-
H: B,
|
|
230
|
-
N: H,
|
|
231
|
-
U,
|
|
232
|
-
B: V,
|
|
233
|
-
F: W
|
|
234
|
-
}, K = l.litHtmlPolyfillSupport;
|
|
235
|
-
K?.(I, z), (l.litHtmlVersions ??= []).push("3.3.3");
|
|
236
|
-
var q = (e, t, n) => {
|
|
237
|
-
let r = n?.renderBefore ?? t, i = r._$litPart$;
|
|
238
|
-
if (i === void 0) {
|
|
239
|
-
let e = n?.renderBefore ?? null;
|
|
240
|
-
r._$litPart$ = i = new z(t.insertBefore(v(), e), e, void 0, n ?? {});
|
|
241
|
-
}
|
|
242
|
-
return i._$AI(e), i;
|
|
243
|
-
};
|
|
244
|
-
Object.keys(c);
|
|
245
|
-
var J;
|
|
246
|
-
(function(e) {
|
|
247
|
-
e.EDS = "eds";
|
|
248
|
-
})(J ||= {});
|
|
249
|
-
var Y = ({ height: e, width: t, svgPathData: n }) => a`
|
|
250
|
-
<svg viewBox="0 0 ${t} ${e}">
|
|
251
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="${n}"></path>
|
|
252
|
-
</svg>
|
|
253
|
-
`, X = (e, t = J.EDS) => {
|
|
254
|
-
switch (t) {
|
|
255
|
-
case J.EDS: {
|
|
256
|
-
let t = e;
|
|
257
|
-
if (c[t]) return Y(c[t]);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}, ee = t`
|
|
261
|
-
:host {
|
|
262
|
-
display: inline-flex;
|
|
263
|
-
height: 1.5em;
|
|
264
|
-
width: 1.5em;
|
|
265
|
-
}
|
|
266
|
-
::slotted(svg),
|
|
267
|
-
svg {
|
|
268
|
-
height: 100%;
|
|
269
|
-
width: auto;
|
|
270
|
-
fill: currentColor;
|
|
271
|
-
}
|
|
272
|
-
`, Z = class extends s {
|
|
273
|
-
render() {
|
|
274
|
-
return this.icon ? X(this.icon, this.type) : i`<slot></slot>`;
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
Z.styles = [ee], n([o()], Z.prototype, "icon", void 0), n([o()], Z.prototype, "type", void 0);
|
|
278
|
-
//#endregion
|
|
279
|
-
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-icon@2.4.4/node_modules/@equinor/fusion-wc-icon/lib/index.js
|
|
280
|
-
var te = /* @__PURE__ */ e({
|
|
281
|
-
IconElement: () => Z,
|
|
282
|
-
tag: () => Q
|
|
283
|
-
}), Q = "fwc-icon", $ = class extends Z {};
|
|
284
|
-
$ = n([r(Q)], $);
|
|
285
|
-
//#endregion
|
|
286
|
-
export { G as a, A as i, j as n, q as r, te as t };
|