Skip to content

Commit 35aaf0f

Browse files
committed
Build with svg2pdf fix
1 parent 63aa71e commit 35aaf0f

File tree

2 files changed

+83
-83
lines changed

2 files changed

+83
-83
lines changed

build/jsroot.js

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const version_id = '7.9.x',
1212

1313
/** @summary version date
1414
* @desc Release date in format day/month/year like '14/04/2022' */
15-
version_date = '16/06/2025',
15+
version_date = '26/06/2025',
1616

1717
/** @summary version id and date
1818
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -148165,84 +148165,84 @@ jsPDF.API.PDFObject = (function() {
148165148165
*/
148166148166

148167148167

148168-
/******************************************************************************
148169-
Copyright (c) Microsoft Corporation.
148170-
148171-
Permission to use, copy, modify, and/or distribute this software for any
148172-
purpose with or without fee is hereby granted.
148173-
148174-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
148175-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
148176-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
148177-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
148178-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
148179-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
148180-
PERFORMANCE OF THIS SOFTWARE.
148181-
***************************************************************************** */
148182-
/* global Reflect, Promise */
148183-
148184-
var extendStatics = function(d, b) {
148185-
extendStatics = Object.setPrototypeOf ||
148186-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
148187-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
148188-
return extendStatics(d, b);
148189-
};
148190-
148191-
function __extends(d, b) {
148192-
if (typeof b !== "function" && b !== null)
148193-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
148194-
extendStatics(d, b);
148195-
function __() { this.constructor = d; }
148196-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
148197-
}
148198-
148199-
var __assign = function() {
148200-
__assign = Object.assign || function __assign(t) {
148201-
for (var s, i = 1, n = arguments.length; i < n; i++) {
148202-
s = arguments[i];
148203-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
148204-
}
148205-
return t;
148206-
};
148207-
return __assign.apply(this, arguments);
148208-
};
148209-
148210-
function __awaiter(thisArg, _arguments, P, generator) {
148211-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
148212-
return new (P || (P = Promise))(function (resolve, reject) {
148213-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
148214-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
148215-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
148216-
step((generator = generator.apply(thisArg, _arguments || [])).next());
148217-
});
148218-
}
148219-
148220-
function __generator(thisArg, body) {
148221-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
148222-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
148223-
function verb(n) { return function (v) { return step([n, v]); }; }
148224-
function step(op) {
148225-
if (f) throw new TypeError("Generator is already executing.");
148226-
while (_) try {
148227-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
148228-
if (y = 0, t) op = [op[0] & 2, t.value];
148229-
switch (op[0]) {
148230-
case 0: case 1: t = op; break;
148231-
case 4: _.label++; return { value: op[1], done: false };
148232-
case 5: _.label++; y = op[1]; op = [0]; continue;
148233-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
148234-
default:
148235-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
148236-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
148237-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
148238-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
148239-
if (t[2]) _.ops.pop();
148240-
_.trys.pop(); continue;
148241-
}
148242-
op = body.call(thisArg, _);
148243-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
148244-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
148245-
}
148168+
/******************************************************************************
148169+
Copyright (c) Microsoft Corporation.
148170+
148171+
Permission to use, copy, modify, and/or distribute this software for any
148172+
purpose with or without fee is hereby granted.
148173+
148174+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
148175+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
148176+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
148177+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
148178+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
148179+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
148180+
PERFORMANCE OF THIS SOFTWARE.
148181+
***************************************************************************** */
148182+
/* global Reflect, Promise */
148183+
148184+
var extendStatics = function(d, b) {
148185+
extendStatics = Object.setPrototypeOf ||
148186+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
148187+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
148188+
return extendStatics(d, b);
148189+
};
148190+
148191+
function __extends(d, b) {
148192+
if (typeof b !== "function" && b !== null)
148193+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
148194+
extendStatics(d, b);
148195+
function __() { this.constructor = d; }
148196+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
148197+
}
148198+
148199+
var __assign = function() {
148200+
__assign = Object.assign || function __assign(t) {
148201+
for (var s, i = 1, n = arguments.length; i < n; i++) {
148202+
s = arguments[i];
148203+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
148204+
}
148205+
return t;
148206+
};
148207+
return __assign.apply(this, arguments);
148208+
};
148209+
148210+
function __awaiter(thisArg, _arguments, P, generator) {
148211+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
148212+
return new (P || (P = Promise))(function (resolve, reject) {
148213+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
148214+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
148215+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
148216+
step((generator = generator.apply(thisArg, _arguments || [])).next());
148217+
});
148218+
}
148219+
148220+
function __generator(thisArg, body) {
148221+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
148222+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
148223+
function verb(n) { return function (v) { return step([n, v]); }; }
148224+
function step(op) {
148225+
if (f) throw new TypeError("Generator is already executing.");
148226+
while (_) try {
148227+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
148228+
if (y = 0, t) op = [op[0] & 2, t.value];
148229+
switch (op[0]) {
148230+
case 0: case 1: t = op; break;
148231+
case 4: _.label++; return { value: op[1], done: false };
148232+
case 5: _.label++; y = op[1]; op = [0]; continue;
148233+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
148234+
default:
148235+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
148236+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
148237+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
148238+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
148239+
if (t[2]) _.ops.pop();
148240+
_.trys.pop(); continue;
148241+
}
148242+
op = body.call(thisArg, _);
148243+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
148244+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
148245+
}
148246148246
}
148247148247

148248148248
/* eslint-disable @typescript-eslint/no-explicit-any,@typescript-eslint/explicit-module-boundary-types */
@@ -150554,7 +150554,7 @@ var GeometryNode = /** @class */ (function (_super) {
150554150554
if (prev instanceof MoveTo || prev instanceof LineTo || prev instanceof CurveTo) {
150555150555
if (curr instanceof CurveTo) {
150556150556
hasStartMarker &&
150557-
markers.addMarker(new Marker(markerStart, [prev.x, prev.y],
150557+
markers.addMarker(new Marker(markerStart, [prev.x, prev.y],
150558150558
// @ts-ignore
150559150559
getAngle(last_1 ? [last_1.x, last_1.y] : [prev.x, prev.y], [curr.x1, curr.y1]), true));
150560150560
hasEndMarker &&
@@ -151272,7 +151272,7 @@ var TextNode = /** @class */ (function (_super) {
151272151272
textChunks = [];
151273151273
currentTextSegment = new TextChunk(this, context.attributeState.textAnchor, textX + dx, textY + dy);
151274151274
textChunks.push({ type: '', chunk: currentTextSegment });
151275-
initialSpace = this.processTSpans(this, this.element, context, textChunks, currentTextSegment,
151275+
initialSpace = this.processTSpans(this, this.element, context, textChunks, currentTextSegment,
151276151276
// Set prevText to ' ' so any spaces on left of <text> are trimmed
151277151277
{ prevText: ' ', prevContext: context });
151278151278
lengthAdjustment = initialSpace ? 0 : 1;
@@ -153554,7 +153554,7 @@ var Anchor = /** @class */ (function (_super) {
153554153554
box = this.getBoundingBox(context);
153555153555
scale = context.pdf.internal.scaleFactor;
153556153556
ph = context.pdf.internal.pageSize.getHeight();
153557-
context.pdf.link(scale * (box[0] * context.transform.sx + context.transform.tx), ph - scale * (box[1] * context.transform.sy + context.transform.ty), scale * box[2], scale * box[3], { url: href });
153557+
context.pdf.link(scale * (box[0] * context.transform.sx + context.transform.tx), scale * (ph - box[1] * context.transform.sy - context.transform.ty), scale * context.transform.sx * box[2], scale * context.transform.sy * box[3], { url: href });
153558153558
}
153559153559
return [2 /*return*/];
153560153560
}

modules/core.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const version_id = '7.9.x',
44

55
/** @summary version date
66
* @desc Release date in format day/month/year like '14/04/2022' */
7-
version_date = '16/06/2025',
7+
version_date = '26/06/2025',
88

99
/** @summary version id and date
1010
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

0 commit comments

Comments
 (0)