Skip to content

Commit d027b7f

Browse files
authored
Release v1.4.1 (#3360)
Signed-off-by: Daniel Valdivia <[email protected]>
1 parent f1524b0 commit d027b7f

File tree

106 files changed

+267
-322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+267
-322
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ swagger-console:
6464

6565
assets:
6666
@(if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use && npm install -g yarn ; fi &&\
67-
cd web-app; yarn install --prefer-offline; make build-static; yarn prettier --write . --loglevel warn; cd ..)
67+
cd web-app; corepack enable; yarn install --prefer-offline; make build-static; yarn prettier --write . --loglevel warn; cd ..)
6868

6969
test-integration:
7070
@(docker stop pgsqlcontainer || true)

web-app/build/asset-manifest.json

+97-97
Large diffs are not rendered by default.

web-app/build/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><meta name="minio-license" content="agpl"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.bc79b8d1.js"></script><link href="./static/css/main.e60e4760.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><meta name="minio-license" content="agpl"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.77c2c9f2.js"></script><link href="./static/css/main.e60e4760.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>

web-app/build/scripts/pdf.worker.min.js

+22-77
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,7 @@
512512
finishWorkerTask(i);
513513
s &&
514514
(0, r.info)(
515-
`page=${n + 1} - getOperatorList: time=${
516-
Date.now() - s
517-
}ms, len=${e.length}`,
515+
`page=${n + 1} - getOperatorList: time=${Date.now() - s}ms, len=${e.length}`,
518516
);
519517
t.close();
520518
},
@@ -5086,10 +5084,7 @@
50865084
this.backgroundColor &&
50875085
(s = `${(0, i.getPdfColor)(this.backgroundColor, !0)} ${n} f `);
50885086
if (this.borderColor) {
5089-
s += `${this.borderStyle.width || 1} w ${(0, i.getPdfColor)(
5090-
this.borderColor,
5091-
!1,
5092-
)} ${n} S `;
5087+
s += `${this.borderStyle.width || 1} w ${(0, i.getPdfColor)(this.borderColor, !1)} ${n} S `;
50935088
}
50945089
return s;
50955090
}
@@ -5372,23 +5367,12 @@
53725367
return (
53735368
`/Tx BMC q ${h}BT ` +
53745369
p +
5375-
` 1 0 0 1 ${(0, n.numberToString)(2)} ${(0, n.numberToString)(
5376-
v,
5377-
)} Tm (${(0, n.escapeString)(w[0])}) Tj ET Q EMC`
5370+
` 1 0 0 1 ${(0, n.numberToString)(2)} ${(0, n.numberToString)(v)} Tm (${(0, n.escapeString)(w[0])}) Tj ET Q EMC`
53785371
);
53795372
return (
53805373
`/Tx BMC q ${h}BT ` +
53815374
p +
5382-
` 1 0 0 1 0 0 Tm ${this._renderText(
5383-
w[0],
5384-
y,
5385-
m,
5386-
g,
5387-
k,
5388-
{ shift: 0 },
5389-
2,
5390-
v,
5391-
)} ET Q EMC`
5375+
` 1 0 0 1 0 0 Tm ${this._renderText(w[0], y, m, g, k, { shift: 0 }, 2, v)} ET Q EMC`
53925376
);
53935377
}
53945378
static async _getFontData(e, t, a, r) {
@@ -5470,8 +5454,7 @@
54705454
} else l = o;
54715455
const h = (0, n.numberToString)(l - s.shift);
54725456
s.shift = l;
5473-
return `${h} ${(c = (0, n.numberToString)(c))} Td (${(0,
5474-
n.escapeString)(e)}) Tj`;
5457+
return `${h} ${(c = (0, n.numberToString)(c))} Td (${(0, n.escapeString)(e)}) Tj`;
54755458
}
54765459
_getSaveFieldResources(e) {
54775460
const {
@@ -5547,9 +5530,7 @@
55475530
return (
55485531
`/Tx BMC q ${f}BT ` +
55495532
e +
5550-
` 1 0 0 1 ${(0, n.numberToString)(o)} ${(0, n.numberToString)(
5551-
c + l,
5552-
)} Tm ${m} ET Q EMC`
5533+
` 1 0 0 1 ${(0, n.numberToString)(o)} ${(0, n.numberToString)(c + l)} Tm ${m} ET Q EMC`
55535534
);
55545535
}
55555536
_getMultilineAppearance(e, t, a, r, i, s, o, c, l, h, u, d) {
@@ -5788,11 +5769,7 @@
57885769
(0, r.unreachable)(
57895770
`_getDefaultCheckedAppearance - unsupported type: ${t}`,
57905771
);
5791-
const d = `q BT /PdfJsZaDb ${l} Tf 0 g ${(0, n.numberToString)(
5792-
(a - h.width) / 2,
5793-
)} ${(0, n.numberToString)(
5794-
(i - h.height) / 2,
5795-
)} Td (${u}) Tj ET Q`,
5772+
const d = `q BT /PdfJsZaDb ${l} Tf 0 g ${(0, n.numberToString)((a - h.width) / 2)} ${(0, n.numberToString)((i - h.height) / 2)} Td (${u}) Tj ET Q`,
57965773
f = new s.Dict(e.xref);
57975774
f.set("FormType", 1);
57985775
f.set("Subtype", s.Name.get("Form"));
@@ -6631,9 +6608,7 @@
66316608
for (const { bezier: e } of l) {
66326609
f.length = 0;
66336610
f.push(
6634-
`${(0, n.numberToString)(e[0])} ${(0, n.numberToString)(
6635-
e[1],
6636-
)} m`,
6611+
`${(0, n.numberToString)(e[0])} ${(0, n.numberToString)(e[1])} m`,
66376612
);
66386613
for (let t = 2, a = e.length; t < a; t += 6) {
66396614
const a = e
@@ -7280,13 +7255,9 @@
72807255
const v = s * Math.min(w, S),
72817256
F = [
72827257
"q",
7283-
`0 0 ${(0, n.numberToString)(b)} ${(0, n.numberToString)(
7284-
y,
7285-
)} re W n`,
7258+
`0 0 ${(0, n.numberToString)(b)} ${(0, n.numberToString)(y)} re W n`,
72867259
"BT",
7287-
`1 0 0 1 0 ${(0, n.numberToString)(
7288-
y + C,
7289-
)} Tm 0 Tc ${getPdfColor(o, !0)}`,
7260+
`1 0 0 1 0 ${(0, n.numberToString)(y + C)} Tm 0 Tc ${getPdfColor(o, !0)}`,
72907261
`/${this.fontName.name} ${(0, n.numberToString)(v)} Tf`,
72917262
],
72927263
{ resources: O } = this;
@@ -12816,9 +12787,7 @@
1281612787
const e = s.peekBytes(a + 1)[a];
1281712788
if (!(0, i.isWhiteSpace)(e)) break;
1281812789
(0, r.info)(
12819-
`Found "${(0, r.bytesToString)(
12820-
c,
12821-
)}" when searching for endstream command.`,
12790+
`Found "${(0, r.bytesToString)(c)}" when searching for endstream command.`,
1282212791
);
1282312792
t = l;
1282412793
break;
@@ -12977,9 +12946,7 @@
1297712946
e = this.nextChar();
1297812947
}
1297912948
if (e < 48 || e > 57) {
12980-
const t = `Invalid number: ${String.fromCharCode(
12981-
e,
12982-
)} (charCode ${e})`;
12949+
const t = `Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;
1298312950
if ((0, i.isWhiteSpace)(e) || -1 === e) {
1298412951
(0, r.info)(`Lexer.getNumber - "${t}".`);
1298512952
return 0;
@@ -13126,9 +13093,7 @@
1312613093
const i = toHexDigit(e);
1312713094
if (-1 === i) {
1312813095
(0, r.warn)(
13129-
`Lexer_getName: Illegal digit (${String.fromCharCode(
13130-
e,
13131-
)}) in hexadecimal number.`,
13096+
`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`,
1313213097
);
1313313098
a.push("#", String.fromCharCode(t));
1313413099
if (b[e]) break;
@@ -46911,9 +46876,7 @@
4691146876
} else
4691246877
this.nodeValue
4691346878
? e.push(
46914-
`>${(0, r.encodeToXmlString)(this.nodeValue)}</${
46915-
this.nodeName
46916-
}>`,
46879+
`>${(0, r.encodeToXmlString)(this.nodeValue)}</${this.nodeName}>`,
4691746880
)
4691846881
: e.push("/>");
4691946882
} else e.push((0, r.encodeToXmlString)(this.nodeValue));
@@ -51254,9 +51217,7 @@
5125451217
const t = (0, s.toStyle)(this, "border", "margin"),
5125551218
a = this[r.$getParent]()[r.$getParent](),
5125651219
n = {
51257-
fontSize: `calc(${
51258-
a.font?.size || 10
51259-
}px * var(--scale-factor))`,
51220+
fontSize: `calc(${a.font?.size || 10}px * var(--scale-factor))`,
5126051221
},
5126151222
i = [];
5126251223
if (a.items.children.length > 0) {
@@ -53129,11 +53090,7 @@
5312953090
}
5313053091
[r.$toStyle](e) {
5313153092
e = e ? e[r.$toStyle]() : "#FFFFFF";
53132-
return `linear-gradient(${this.type
53133-
.replace(/([RBLT])/, " $1")
53134-
.toLowerCase()}, ${e}, ${
53135-
this.color ? this.color[r.$toStyle]() : "#000000"
53136-
})`;
53093+
return `linear-gradient(${this.type.replace(/([RBLT])/, " $1").toLowerCase()}, ${e}, ${this.color ? this.color[r.$toStyle]() : "#000000"})`;
5313753094
}
5313853095
}
5313953096
class LockDocument extends o.ContentObject {
@@ -53872,9 +53829,7 @@
5387253829
[r.$toStyle](e) {
5387353830
e = e ? e[r.$toStyle]() : "#FFFFFF";
5387453831
const t = this.color ? this.color[r.$toStyle]() : "#000000";
53875-
return `radial-gradient(circle at center, ${
53876-
"toEdge" === this.type ? `${e},${t}` : `${t},${e}`
53877-
})`;
53832+
return `radial-gradient(circle at center, ${"toEdge" === this.type ? `${e},${t}` : `${t},${e}`})`;
5387853833
}
5387953834
}
5388053835
class Reason extends o.StringObject {
@@ -56767,9 +56722,7 @@
5676756722
? (n = ` (id: ${this.id})`)
5676856723
: this.name && (n = ` (name: ${this.name} ${this.h.value})`);
5676956724
(0, i.warn)(
56770-
`XFA - node "${
56771-
this[r.$nodeName]
56772-
}"${n} has already enough "${t}"!`,
56725+
`XFA - node "${this[r.$nodeName]}"${n} has already enough "${t}"!`,
5677356726
);
5677456727
return !1;
5677556728
}
@@ -56990,9 +56943,7 @@
5699056943
}
5699156944
if (s[r.$nodeName] !== this[r.$nodeName]) {
5699256945
(0, i.warn)(
56993-
`XFA - Incompatible prototype: ${s[r.$nodeName]} !== ${
56994-
this[r.$nodeName]
56995-
}.`,
56946+
`XFA - Incompatible prototype: ${s[r.$nodeName]} !== ${this[r.$nodeName]}.`,
5699656947
);
5699756948
return null;
5699856949
}
@@ -57123,9 +57074,7 @@
5712357074
return !0;
5712457075
}
5712557076
(0, i.warn)(
57126-
`XFA - node "${e[r.$nodeName]}" accepts no more than ${
57127-
this[S]
57128-
} children`,
57077+
`XFA - node "${e[r.$nodeName]}" accepts no more than ${this[S]} children`,
5712957078
);
5713057079
return !1;
5713157080
}
@@ -60108,16 +60057,12 @@
6010860057
[
6010960058
"xfa-font-horizontal-scale",
6011060059
(e) =>
60111-
`scaleX(${Math.max(0, Math.min(parseInt(e) / 100)).toFixed(
60112-
2,
60113-
)})`,
60060+
`scaleX(${Math.max(0, Math.min(parseInt(e) / 100)).toFixed(2)})`,
6011460061
],
6011560062
[
6011660063
"xfa-font-vertical-scale",
6011760064
(e) =>
60118-
`scaleY(${Math.max(0, Math.min(parseInt(e) / 100)).toFixed(
60119-
2,
60120-
)})`,
60065+
`scaleY(${Math.max(0, Math.min(parseInt(e) / 100)).toFixed(2)})`,
6012160066
],
6012260067
["xfa-spacerun", ""],
6012360068
["xfa-tab-stops", ""],

0 commit comments

Comments
 (0)