@forsakringskassan/docs-generator 2.30.0 → 2.30.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/dist/{create-markdown-renderer-D5LtM0yF.mjs → create-markdown-renderer-D5JN5FPy.mjs} +38 -38
- package/dist/create-markdown-renderer-D5JN5FPy.mjs.map +1 -0
- package/dist/index.mjs +612 -612
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +3 -3
- package/dist/processors/selectable-version.mjs +43 -21
- package/dist/runtime.mjs +91 -91
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/{vendor-B6t9njJr.mjs → vendor-0oN9XFM9.mjs} +13 -3
- package/dist/vendor-0oN9XFM9.mjs.map +1 -0
- package/dist/{vue3-CRwEnRGE.mjs → vue3-Bvwupe7o.mjs} +9 -4
- package/dist/vue3-Bvwupe7o.mjs.map +1 -0
- package/dist/{worker-DE8HC-uI.mjs → worker-Bx6igFDd.mjs} +3 -3
- package/dist/{worker-DE8HC-uI.mjs.map → worker-Bx6igFDd.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/create-markdown-renderer-D5LtM0yF.mjs.map +0 -1
- package/dist/vendor-B6t9njJr.mjs.map +0 -1
- package/dist/vue3-CRwEnRGE.mjs.map +0 -1
package/dist/markdown.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
|
|
|
2
2
|
|
|
3
3
|
const require = $createRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
-
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-
|
|
6
|
-
import './vendor-
|
|
5
|
+
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-D5JN5FPy.mjs';
|
|
6
|
+
import './vendor-0oN9XFM9.mjs';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'fs';
|
|
@@ -35,6 +35,6 @@ import 'node:path/posix';
|
|
|
35
35
|
import 'node:crypto';
|
|
36
36
|
import 'node:child_process';
|
|
37
37
|
import 'vue';
|
|
38
|
-
import './vue3-
|
|
38
|
+
import './vue3-Bvwupe7o.mjs';
|
|
39
39
|
import 'vue/compiler-sfc';
|
|
40
40
|
//# sourceMappingURL=markdown.mjs.map
|
|
@@ -179,6 +179,9 @@ var require_identifiers = __commonJS({
|
|
|
179
179
|
"use strict";
|
|
180
180
|
var numeric = /^[0-9]+$/;
|
|
181
181
|
var compareIdentifiers = (a, b) => {
|
|
182
|
+
if (typeof a === "number" && typeof b === "number") {
|
|
183
|
+
return a === b ? 0 : a < b ? -1 : 1;
|
|
184
|
+
}
|
|
182
185
|
const anum = numeric.test(a);
|
|
183
186
|
const bnum = numeric.test(b);
|
|
184
187
|
if (anum && bnum) {
|
|
@@ -285,7 +288,25 @@ var require_semver = __commonJS({
|
|
|
285
288
|
if (!(other instanceof _SemVer)) {
|
|
286
289
|
other = new _SemVer(other, this.options);
|
|
287
290
|
}
|
|
288
|
-
|
|
291
|
+
if (this.major < other.major) {
|
|
292
|
+
return -1;
|
|
293
|
+
}
|
|
294
|
+
if (this.major > other.major) {
|
|
295
|
+
return 1;
|
|
296
|
+
}
|
|
297
|
+
if (this.minor < other.minor) {
|
|
298
|
+
return -1;
|
|
299
|
+
}
|
|
300
|
+
if (this.minor > other.minor) {
|
|
301
|
+
return 1;
|
|
302
|
+
}
|
|
303
|
+
if (this.patch < other.patch) {
|
|
304
|
+
return -1;
|
|
305
|
+
}
|
|
306
|
+
if (this.patch > other.patch) {
|
|
307
|
+
return 1;
|
|
308
|
+
}
|
|
309
|
+
return 0;
|
|
289
310
|
}
|
|
290
311
|
comparePre(other) {
|
|
291
312
|
if (!(other instanceof _SemVer)) {
|
|
@@ -1046,6 +1067,7 @@ var require_range = __commonJS({
|
|
|
1046
1067
|
return result;
|
|
1047
1068
|
};
|
|
1048
1069
|
var parseComparator = (comp, options) => {
|
|
1070
|
+
comp = comp.replace(re[t.BUILD], "");
|
|
1049
1071
|
debug("comp", comp, options);
|
|
1050
1072
|
comp = replaceCarets(comp, options);
|
|
1051
1073
|
debug("caret", comp);
|
|
@@ -1935,6 +1957,26 @@ var require_semver2 = __commonJS({
|
|
|
1935
1957
|
// src/runtime/select-version.ts
|
|
1936
1958
|
var import_semver = __toESM(require_semver2(), 1);
|
|
1937
1959
|
|
|
1960
|
+
// src/runtime/motd/motd-symbol.ts
|
|
1961
|
+
var motdSymbol = Symbol.for("motd");
|
|
1962
|
+
|
|
1963
|
+
// src/runtime/motd/motd-proxy.ts
|
|
1964
|
+
var motdProxy = {
|
|
1965
|
+
get enabled() {
|
|
1966
|
+
return Boolean(window[motdSymbol]);
|
|
1967
|
+
},
|
|
1968
|
+
showMessage(...args) {
|
|
1969
|
+
const api = window[motdSymbol];
|
|
1970
|
+
if (api) {
|
|
1971
|
+
api.showMessage(...args);
|
|
1972
|
+
} else {
|
|
1973
|
+
throw new Error(
|
|
1974
|
+
"motdProcessor(..) not enabled, cannot call showMessage(..)!"
|
|
1975
|
+
);
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1938
1980
|
// src/runtime/utils/get-url.ts
|
|
1939
1981
|
function getUrl(document2, ...paths) {
|
|
1940
1982
|
const { documentElement } = document2;
|
|
@@ -1961,26 +2003,6 @@ function memoize(callback) {
|
|
|
1961
2003
|
};
|
|
1962
2004
|
}
|
|
1963
2005
|
|
|
1964
|
-
// src/runtime/motd/motd-symbol.ts
|
|
1965
|
-
var motdSymbol = Symbol.for("motd");
|
|
1966
|
-
|
|
1967
|
-
// src/runtime/motd/motd-proxy.ts
|
|
1968
|
-
var motdProxy = {
|
|
1969
|
-
get enabled() {
|
|
1970
|
-
return Boolean(window[motdSymbol]);
|
|
1971
|
-
},
|
|
1972
|
-
showMessage(...args) {
|
|
1973
|
-
const api = window[motdSymbol];
|
|
1974
|
-
if (api) {
|
|
1975
|
-
api.showMessage(...args);
|
|
1976
|
-
} else {
|
|
1977
|
-
throw new Error(
|
|
1978
|
-
"motdProcessor(..) not enabled, cannot call showMessage(..)!"
|
|
1979
|
-
);
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
};
|
|
1983
|
-
|
|
1984
2006
|
// src/runtime/select-version.ts
|
|
1985
2007
|
var current = __PKG_VERSION__;
|
|
1986
2008
|
var message = __MESSAGE__;
|
package/dist/runtime.mjs
CHANGED
|
@@ -147696,6 +147696,12 @@ mermaid_default.initialize({
|
|
|
147696
147696
|
}
|
|
147697
147697
|
});
|
|
147698
147698
|
|
|
147699
|
+
// src/runtime/breakpoints.ts
|
|
147700
|
+
var style3 = getComputedStyle(document.documentElement);
|
|
147701
|
+
var BREAKPOINT_SMALL = style3.getPropertyValue("--docs-breakpoint-sm");
|
|
147702
|
+
var BREAKPOINT_MEDIUM = style3.getPropertyValue("--docs-breakpoint-md");
|
|
147703
|
+
var BREAKPOINT_LARGE = style3.getPropertyValue("--docs-breakpoint-lg");
|
|
147704
|
+
|
|
147699
147705
|
// src/runtime/on-content-ready.ts
|
|
147700
147706
|
function onContentReady(callback) {
|
|
147701
147707
|
const { readyState } = document;
|
|
@@ -147706,12 +147712,6 @@ function onContentReady(callback) {
|
|
|
147706
147712
|
}
|
|
147707
147713
|
}
|
|
147708
147714
|
|
|
147709
|
-
// src/runtime/breakpoints.ts
|
|
147710
|
-
var style3 = getComputedStyle(document.documentElement);
|
|
147711
|
-
var BREAKPOINT_SMALL = style3.getPropertyValue("--docs-breakpoint-sm");
|
|
147712
|
-
var BREAKPOINT_MEDIUM = style3.getPropertyValue("--docs-breakpoint-md");
|
|
147713
|
-
var BREAKPOINT_LARGE = style3.getPropertyValue("--docs-breakpoint-lg");
|
|
147714
|
-
|
|
147715
147715
|
// src/runtime/table-of-contents.ts
|
|
147716
147716
|
function tableOfContents(toc, headings) {
|
|
147717
147717
|
function visibilityChange(entries2) {
|
|
@@ -147946,91 +147946,6 @@ if (toggle && navigation) {
|
|
|
147946
147946
|
});
|
|
147947
147947
|
}
|
|
147948
147948
|
|
|
147949
|
-
// node_modules/compute-scroll-into-view/dist/index.js
|
|
147950
|
-
var t4 = (t5) => "object" == typeof t5 && null != t5 && 1 === t5.nodeType;
|
|
147951
|
-
var e3 = (t5, e6) => (!e6 || "hidden" !== t5) && ("visible" !== t5 && "clip" !== t5);
|
|
147952
|
-
var n2 = (t5, n3) => {
|
|
147953
|
-
if (t5.clientHeight < t5.scrollHeight || t5.clientWidth < t5.scrollWidth) {
|
|
147954
|
-
const o4 = getComputedStyle(t5, null);
|
|
147955
|
-
return e3(o4.overflowY, n3) || e3(o4.overflowX, n3) || ((t6) => {
|
|
147956
|
-
const e6 = ((t7) => {
|
|
147957
|
-
if (!t7.ownerDocument || !t7.ownerDocument.defaultView) return null;
|
|
147958
|
-
try {
|
|
147959
|
-
return t7.ownerDocument.defaultView.frameElement;
|
|
147960
|
-
} catch (t8) {
|
|
147961
|
-
return null;
|
|
147962
|
-
}
|
|
147963
|
-
})(t6);
|
|
147964
|
-
return !!e6 && (e6.clientHeight < t6.scrollHeight || e6.clientWidth < t6.scrollWidth);
|
|
147965
|
-
})(t5);
|
|
147966
|
-
}
|
|
147967
|
-
return false;
|
|
147968
|
-
};
|
|
147969
|
-
var o2 = (t5, e6, n3, o4, l5, r3, i3, s2) => r3 < t5 && i3 > e6 || r3 > t5 && i3 < e6 ? 0 : r3 <= t5 && s2 <= n3 || i3 >= e6 && s2 >= n3 ? r3 - t5 - o4 : i3 > e6 && s2 < n3 || r3 < t5 && s2 > n3 ? i3 - e6 + l5 : 0;
|
|
147970
|
-
var l4 = (t5) => {
|
|
147971
|
-
const e6 = t5.parentElement;
|
|
147972
|
-
return null == e6 ? t5.getRootNode().host || null : e6;
|
|
147973
|
-
};
|
|
147974
|
-
var r2 = (e6, r3) => {
|
|
147975
|
-
var i3, s2, d3, h3;
|
|
147976
|
-
if ("undefined" == typeof document) return [];
|
|
147977
|
-
const { scrollMode: c3, block: f2, inline: u2, boundary: a2, skipOverflowHiddenElements: g2 } = r3, p3 = "function" == typeof a2 ? a2 : (t5) => t5 !== a2;
|
|
147978
|
-
if (!t4(e6)) throw new TypeError("Invalid target");
|
|
147979
|
-
const m3 = document.scrollingElement || document.documentElement, w4 = [];
|
|
147980
|
-
let W3 = e6;
|
|
147981
|
-
for (; t4(W3) && p3(W3); ) {
|
|
147982
|
-
if (W3 = l4(W3), W3 === m3) {
|
|
147983
|
-
w4.push(W3);
|
|
147984
|
-
break;
|
|
147985
|
-
}
|
|
147986
|
-
null != W3 && W3 === document.body && n2(W3) && !n2(document.documentElement) || null != W3 && n2(W3, g2) && w4.push(W3);
|
|
147987
|
-
}
|
|
147988
|
-
const b3 = null != (s2 = null == (i3 = window.visualViewport) ? void 0 : i3.width) ? s2 : innerWidth, H2 = null != (h3 = null == (d3 = window.visualViewport) ? void 0 : d3.height) ? h3 : innerHeight, { scrollX: y6, scrollY: M3 } = window, { height: v3, width: E3, top: x5, right: C3, bottom: I3, left: R3 } = e6.getBoundingClientRect(), { top: T3, right: B3, bottom: F3, left: V3 } = ((t5) => {
|
|
147989
|
-
const e7 = window.getComputedStyle(t5);
|
|
147990
|
-
return { top: parseFloat(e7.scrollMarginTop) || 0, right: parseFloat(e7.scrollMarginRight) || 0, bottom: parseFloat(e7.scrollMarginBottom) || 0, left: parseFloat(e7.scrollMarginLeft) || 0 };
|
|
147991
|
-
})(e6);
|
|
147992
|
-
let k2 = "start" === f2 || "nearest" === f2 ? x5 - T3 : "end" === f2 ? I3 + F3 : x5 + v3 / 2 - T3 + F3, D4 = "center" === u2 ? R3 + E3 / 2 - V3 + B3 : "end" === u2 ? C3 + B3 : R3 - V3;
|
|
147993
|
-
const L3 = [];
|
|
147994
|
-
for (let t5 = 0; t5 < w4.length; t5++) {
|
|
147995
|
-
const e7 = w4[t5], { height: l5, width: r4, top: i4, right: s3, bottom: d4, left: h4 } = e7.getBoundingClientRect();
|
|
147996
|
-
if ("if-needed" === c3 && x5 >= 0 && R3 >= 0 && I3 <= H2 && C3 <= b3 && (e7 === m3 && !n2(e7) || x5 >= i4 && I3 <= d4 && R3 >= h4 && C3 <= s3)) return L3;
|
|
147997
|
-
const a3 = getComputedStyle(e7), g3 = parseInt(a3.borderLeftWidth, 10), p4 = parseInt(a3.borderTopWidth, 10), W4 = parseInt(a3.borderRightWidth, 10), T4 = parseInt(a3.borderBottomWidth, 10);
|
|
147998
|
-
let B4 = 0, F4 = 0;
|
|
147999
|
-
const V4 = "offsetWidth" in e7 ? e7.offsetWidth - e7.clientWidth - g3 - W4 : 0, S4 = "offsetHeight" in e7 ? e7.offsetHeight - e7.clientHeight - p4 - T4 : 0, X4 = "offsetWidth" in e7 ? 0 === e7.offsetWidth ? 0 : r4 / e7.offsetWidth : 0, Y3 = "offsetHeight" in e7 ? 0 === e7.offsetHeight ? 0 : l5 / e7.offsetHeight : 0;
|
|
148000
|
-
if (m3 === e7) B4 = "start" === f2 ? k2 : "end" === f2 ? k2 - H2 : "nearest" === f2 ? o2(M3, M3 + H2, H2, p4, T4, M3 + k2, M3 + k2 + v3, v3) : k2 - H2 / 2, F4 = "start" === u2 ? D4 : "center" === u2 ? D4 - b3 / 2 : "end" === u2 ? D4 - b3 : o2(y6, y6 + b3, b3, g3, W4, y6 + D4, y6 + D4 + E3, E3), B4 = Math.max(0, B4 + M3), F4 = Math.max(0, F4 + y6);
|
|
148001
|
-
else {
|
|
148002
|
-
B4 = "start" === f2 ? k2 - i4 - p4 : "end" === f2 ? k2 - d4 + T4 + S4 : "nearest" === f2 ? o2(i4, d4, l5, p4, T4 + S4, k2, k2 + v3, v3) : k2 - (i4 + l5 / 2) + S4 / 2, F4 = "start" === u2 ? D4 - h4 - g3 : "center" === u2 ? D4 - (h4 + r4 / 2) + V4 / 2 : "end" === u2 ? D4 - s3 + W4 + V4 : o2(h4, s3, r4, g3, W4 + V4, D4, D4 + E3, E3);
|
|
148003
|
-
const { scrollLeft: t6, scrollTop: n3 } = e7;
|
|
148004
|
-
B4 = 0 === Y3 ? 0 : Math.max(0, Math.min(n3 + B4 / Y3, e7.scrollHeight - l5 / Y3 + S4)), F4 = 0 === X4 ? 0 : Math.max(0, Math.min(t6 + F4 / X4, e7.scrollWidth - r4 / X4 + V4)), k2 += n3 - B4, D4 += t6 - F4;
|
|
148005
|
-
}
|
|
148006
|
-
L3.push({ el: e7, top: B4, left: F4 });
|
|
148007
|
-
}
|
|
148008
|
-
return L3;
|
|
148009
|
-
};
|
|
148010
|
-
|
|
148011
|
-
// node_modules/scroll-into-view-if-needed/dist/index.js
|
|
148012
|
-
var o3 = (t5) => false === t5 ? { block: "end", inline: "nearest" } : ((t6) => t6 === Object(t6) && 0 !== Object.keys(t6).length)(t5) ? t5 : { block: "start", inline: "nearest" };
|
|
148013
|
-
function e4(e6, r3) {
|
|
148014
|
-
if (!e6.isConnected || !((t5) => {
|
|
148015
|
-
let o4 = t5;
|
|
148016
|
-
for (; o4 && o4.parentNode; ) {
|
|
148017
|
-
if (o4.parentNode === document) return true;
|
|
148018
|
-
o4 = o4.parentNode instanceof ShadowRoot ? o4.parentNode.host : o4.parentNode;
|
|
148019
|
-
}
|
|
148020
|
-
return false;
|
|
148021
|
-
})(e6)) return;
|
|
148022
|
-
const n3 = ((t5) => {
|
|
148023
|
-
const o4 = window.getComputedStyle(t5);
|
|
148024
|
-
return { top: parseFloat(o4.scrollMarginTop) || 0, right: parseFloat(o4.scrollMarginRight) || 0, bottom: parseFloat(o4.scrollMarginBottom) || 0, left: parseFloat(o4.scrollMarginLeft) || 0 };
|
|
148025
|
-
})(e6);
|
|
148026
|
-
if (((t5) => "object" == typeof t5 && "function" == typeof t5.behavior)(r3)) return r3.behavior(r2(e6, r3));
|
|
148027
|
-
const l5 = "boolean" == typeof r3 || null == r3 ? void 0 : r3.behavior;
|
|
148028
|
-
for (const { el: a2, top: i3, left: s2 } of r2(e6, o3(r3))) {
|
|
148029
|
-
const t5 = i3 - n3.top + n3.bottom, o4 = s2 - n3.left + n3.right;
|
|
148030
|
-
a2.scroll({ top: t5, left: o4, behavior: l5 });
|
|
148031
|
-
}
|
|
148032
|
-
}
|
|
148033
|
-
|
|
148034
147949
|
// node_modules/@leeoniya/ufuzzy/dist/uFuzzy.mjs
|
|
148035
147950
|
var cmp = (a2, b3) => a2 > b3 ? 1 : a2 < b3 ? -1 : 0;
|
|
148036
147951
|
var inf = Infinity;
|
|
@@ -148744,6 +148659,91 @@ uFuzzy.permute = (arr) => {
|
|
|
148744
148659
|
};
|
|
148745
148660
|
uFuzzy.highlight = highlight;
|
|
148746
148661
|
|
|
148662
|
+
// node_modules/compute-scroll-into-view/dist/index.js
|
|
148663
|
+
var t4 = (t5) => "object" == typeof t5 && null != t5 && 1 === t5.nodeType;
|
|
148664
|
+
var e3 = (t5, e6) => (!e6 || "hidden" !== t5) && ("visible" !== t5 && "clip" !== t5);
|
|
148665
|
+
var n2 = (t5, n3) => {
|
|
148666
|
+
if (t5.clientHeight < t5.scrollHeight || t5.clientWidth < t5.scrollWidth) {
|
|
148667
|
+
const o4 = getComputedStyle(t5, null);
|
|
148668
|
+
return e3(o4.overflowY, n3) || e3(o4.overflowX, n3) || ((t6) => {
|
|
148669
|
+
const e6 = ((t7) => {
|
|
148670
|
+
if (!t7.ownerDocument || !t7.ownerDocument.defaultView) return null;
|
|
148671
|
+
try {
|
|
148672
|
+
return t7.ownerDocument.defaultView.frameElement;
|
|
148673
|
+
} catch (t8) {
|
|
148674
|
+
return null;
|
|
148675
|
+
}
|
|
148676
|
+
})(t6);
|
|
148677
|
+
return !!e6 && (e6.clientHeight < t6.scrollHeight || e6.clientWidth < t6.scrollWidth);
|
|
148678
|
+
})(t5);
|
|
148679
|
+
}
|
|
148680
|
+
return false;
|
|
148681
|
+
};
|
|
148682
|
+
var o2 = (t5, e6, n3, o4, l5, r3, i3, s2) => r3 < t5 && i3 > e6 || r3 > t5 && i3 < e6 ? 0 : r3 <= t5 && s2 <= n3 || i3 >= e6 && s2 >= n3 ? r3 - t5 - o4 : i3 > e6 && s2 < n3 || r3 < t5 && s2 > n3 ? i3 - e6 + l5 : 0;
|
|
148683
|
+
var l4 = (t5) => {
|
|
148684
|
+
const e6 = t5.parentElement;
|
|
148685
|
+
return null == e6 ? t5.getRootNode().host || null : e6;
|
|
148686
|
+
};
|
|
148687
|
+
var r2 = (e6, r3) => {
|
|
148688
|
+
var i3, s2, d3, h3;
|
|
148689
|
+
if ("undefined" == typeof document) return [];
|
|
148690
|
+
const { scrollMode: c3, block: f2, inline: u2, boundary: a2, skipOverflowHiddenElements: g2 } = r3, p3 = "function" == typeof a2 ? a2 : (t5) => t5 !== a2;
|
|
148691
|
+
if (!t4(e6)) throw new TypeError("Invalid target");
|
|
148692
|
+
const m3 = document.scrollingElement || document.documentElement, w4 = [];
|
|
148693
|
+
let W3 = e6;
|
|
148694
|
+
for (; t4(W3) && p3(W3); ) {
|
|
148695
|
+
if (W3 = l4(W3), W3 === m3) {
|
|
148696
|
+
w4.push(W3);
|
|
148697
|
+
break;
|
|
148698
|
+
}
|
|
148699
|
+
null != W3 && W3 === document.body && n2(W3) && !n2(document.documentElement) || null != W3 && n2(W3, g2) && w4.push(W3);
|
|
148700
|
+
}
|
|
148701
|
+
const b3 = null != (s2 = null == (i3 = window.visualViewport) ? void 0 : i3.width) ? s2 : innerWidth, H2 = null != (h3 = null == (d3 = window.visualViewport) ? void 0 : d3.height) ? h3 : innerHeight, { scrollX: y6, scrollY: M3 } = window, { height: v3, width: E3, top: x5, right: C3, bottom: I3, left: R3 } = e6.getBoundingClientRect(), { top: T3, right: B3, bottom: F3, left: V3 } = ((t5) => {
|
|
148702
|
+
const e7 = window.getComputedStyle(t5);
|
|
148703
|
+
return { top: parseFloat(e7.scrollMarginTop) || 0, right: parseFloat(e7.scrollMarginRight) || 0, bottom: parseFloat(e7.scrollMarginBottom) || 0, left: parseFloat(e7.scrollMarginLeft) || 0 };
|
|
148704
|
+
})(e6);
|
|
148705
|
+
let k2 = "start" === f2 || "nearest" === f2 ? x5 - T3 : "end" === f2 ? I3 + F3 : x5 + v3 / 2 - T3 + F3, D4 = "center" === u2 ? R3 + E3 / 2 - V3 + B3 : "end" === u2 ? C3 + B3 : R3 - V3;
|
|
148706
|
+
const L3 = [];
|
|
148707
|
+
for (let t5 = 0; t5 < w4.length; t5++) {
|
|
148708
|
+
const e7 = w4[t5], { height: l5, width: r4, top: i4, right: s3, bottom: d4, left: h4 } = e7.getBoundingClientRect();
|
|
148709
|
+
if ("if-needed" === c3 && x5 >= 0 && R3 >= 0 && I3 <= H2 && C3 <= b3 && (e7 === m3 && !n2(e7) || x5 >= i4 && I3 <= d4 && R3 >= h4 && C3 <= s3)) return L3;
|
|
148710
|
+
const a3 = getComputedStyle(e7), g3 = parseInt(a3.borderLeftWidth, 10), p4 = parseInt(a3.borderTopWidth, 10), W4 = parseInt(a3.borderRightWidth, 10), T4 = parseInt(a3.borderBottomWidth, 10);
|
|
148711
|
+
let B4 = 0, F4 = 0;
|
|
148712
|
+
const V4 = "offsetWidth" in e7 ? e7.offsetWidth - e7.clientWidth - g3 - W4 : 0, S4 = "offsetHeight" in e7 ? e7.offsetHeight - e7.clientHeight - p4 - T4 : 0, X4 = "offsetWidth" in e7 ? 0 === e7.offsetWidth ? 0 : r4 / e7.offsetWidth : 0, Y3 = "offsetHeight" in e7 ? 0 === e7.offsetHeight ? 0 : l5 / e7.offsetHeight : 0;
|
|
148713
|
+
if (m3 === e7) B4 = "start" === f2 ? k2 : "end" === f2 ? k2 - H2 : "nearest" === f2 ? o2(M3, M3 + H2, H2, p4, T4, M3 + k2, M3 + k2 + v3, v3) : k2 - H2 / 2, F4 = "start" === u2 ? D4 : "center" === u2 ? D4 - b3 / 2 : "end" === u2 ? D4 - b3 : o2(y6, y6 + b3, b3, g3, W4, y6 + D4, y6 + D4 + E3, E3), B4 = Math.max(0, B4 + M3), F4 = Math.max(0, F4 + y6);
|
|
148714
|
+
else {
|
|
148715
|
+
B4 = "start" === f2 ? k2 - i4 - p4 : "end" === f2 ? k2 - d4 + T4 + S4 : "nearest" === f2 ? o2(i4, d4, l5, p4, T4 + S4, k2, k2 + v3, v3) : k2 - (i4 + l5 / 2) + S4 / 2, F4 = "start" === u2 ? D4 - h4 - g3 : "center" === u2 ? D4 - (h4 + r4 / 2) + V4 / 2 : "end" === u2 ? D4 - s3 + W4 + V4 : o2(h4, s3, r4, g3, W4 + V4, D4, D4 + E3, E3);
|
|
148716
|
+
const { scrollLeft: t6, scrollTop: n3 } = e7;
|
|
148717
|
+
B4 = 0 === Y3 ? 0 : Math.max(0, Math.min(n3 + B4 / Y3, e7.scrollHeight - l5 / Y3 + S4)), F4 = 0 === X4 ? 0 : Math.max(0, Math.min(t6 + F4 / X4, e7.scrollWidth - r4 / X4 + V4)), k2 += n3 - B4, D4 += t6 - F4;
|
|
148718
|
+
}
|
|
148719
|
+
L3.push({ el: e7, top: B4, left: F4 });
|
|
148720
|
+
}
|
|
148721
|
+
return L3;
|
|
148722
|
+
};
|
|
148723
|
+
|
|
148724
|
+
// node_modules/scroll-into-view-if-needed/dist/index.js
|
|
148725
|
+
var o3 = (t5) => false === t5 ? { block: "end", inline: "nearest" } : ((t6) => t6 === Object(t6) && 0 !== Object.keys(t6).length)(t5) ? t5 : { block: "start", inline: "nearest" };
|
|
148726
|
+
function e4(e6, r3) {
|
|
148727
|
+
if (!e6.isConnected || !((t5) => {
|
|
148728
|
+
let o4 = t5;
|
|
148729
|
+
for (; o4 && o4.parentNode; ) {
|
|
148730
|
+
if (o4.parentNode === document) return true;
|
|
148731
|
+
o4 = o4.parentNode instanceof ShadowRoot ? o4.parentNode.host : o4.parentNode;
|
|
148732
|
+
}
|
|
148733
|
+
return false;
|
|
148734
|
+
})(e6)) return;
|
|
148735
|
+
const n3 = ((t5) => {
|
|
148736
|
+
const o4 = window.getComputedStyle(t5);
|
|
148737
|
+
return { top: parseFloat(o4.scrollMarginTop) || 0, right: parseFloat(o4.scrollMarginRight) || 0, bottom: parseFloat(o4.scrollMarginBottom) || 0, left: parseFloat(o4.scrollMarginLeft) || 0 };
|
|
148738
|
+
})(e6);
|
|
148739
|
+
if (((t5) => "object" == typeof t5 && "function" == typeof t5.behavior)(r3)) return r3.behavior(r2(e6, r3));
|
|
148740
|
+
const l5 = "boolean" == typeof r3 || null == r3 ? void 0 : r3.behavior;
|
|
148741
|
+
for (const { el: a2, top: i3, left: s2 } of r2(e6, o3(r3))) {
|
|
148742
|
+
const t5 = i3 - n3.top + n3.bottom, o4 = s2 - n3.left + n3.right;
|
|
148743
|
+
a2.scroll({ top: t5, left: o4, behavior: l5 });
|
|
148744
|
+
}
|
|
148745
|
+
}
|
|
148746
|
+
|
|
148747
148747
|
// src/runtime/search.ts
|
|
148748
148748
|
function isMoreSpecific(a2, b3) {
|
|
148749
148749
|
if (b3 === null) {
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -20814,6 +20814,11 @@ var require$$0 = [
|
|
|
20814
20814
|
constant: "CLOUDFLARE_PAGES",
|
|
20815
20815
|
env: "CF_PAGES"
|
|
20816
20816
|
},
|
|
20817
|
+
{
|
|
20818
|
+
name: "Cloudflare Workers",
|
|
20819
|
+
constant: "CLOUDFLARE_WORKERS",
|
|
20820
|
+
env: "WORKERS_CI"
|
|
20821
|
+
},
|
|
20817
20822
|
{
|
|
20818
20823
|
name: "Codefresh",
|
|
20819
20824
|
constant: "CODEFRESH",
|
|
@@ -21119,7 +21124,7 @@ function requireCiInfo () {
|
|
|
21119
21124
|
env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'
|
|
21120
21125
|
(env.BUILD_ID || // Jenkins, Cloudbees
|
|
21121
21126
|
env.BUILD_NUMBER || // Jenkins, TeamCity
|
|
21122
|
-
env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari, Cloudflare Pages
|
|
21127
|
+
env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari, Cloudflare Pages/Workers
|
|
21123
21128
|
env.CI_APP_ID || // Appflow
|
|
21124
21129
|
env.CI_BUILD_ID || // Appflow
|
|
21125
21130
|
env.CI_BUILD_NUMBER || // Appflow
|
|
@@ -24476,7 +24481,12 @@ class Translator extends EventEmitter {
|
|
|
24476
24481
|
};
|
|
24477
24482
|
if (key == null) return false;
|
|
24478
24483
|
const resolved = this.resolve(key, opt);
|
|
24479
|
-
|
|
24484
|
+
if (resolved?.res === undefined) return false;
|
|
24485
|
+
const isObject = shouldHandleAsObject(resolved.res);
|
|
24486
|
+
if (opt.returnObjects === false && isObject) {
|
|
24487
|
+
return false;
|
|
24488
|
+
}
|
|
24489
|
+
return true;
|
|
24480
24490
|
}
|
|
24481
24491
|
extractFromKey(key, opt) {
|
|
24482
24492
|
let nsSeparator = opt.nsSeparator !== undefined ? opt.nsSeparator : this.options.nsSeparator;
|
|
@@ -56212,4 +56222,4 @@ var srcExports = requireSrc();
|
|
|
56212
56222
|
var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
56213
56223
|
|
|
56214
56224
|
export { HighlightJS as H, MarkdownIt as M, deflist_plugin as a, closest as b, createTwoFilesPatch as c, dedent as d, distance as e, fm as f, globSync as g, glob as h, isCI as i, moduleImporter as j, cliProgress as k, createInstance as l, minimatch as m, fse as n, inter as o, tinylr as t, watch$1 as w };
|
|
56215
|
-
//# sourceMappingURL=vendor-
|
|
56225
|
+
//# sourceMappingURL=vendor-0oN9XFM9.mjs.map
|