@forsakringskassan/docs-generator 2.29.2 → 2.30.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/{create-markdown-renderer-B7-jbpT6.mjs → create-markdown-renderer-D5LtM0yF.mjs} +52 -41
- package/dist/create-markdown-renderer-D5LtM0yF.mjs.map +1 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +67 -46
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.d.mts +8 -8
- package/dist/markdown.mjs +2 -2
- package/dist/processors/selectable-version.mjs +3 -2
- package/dist/runtime.mjs +87106 -86492
- package/dist/style/core.css +1 -1
- package/dist/style/index.css +66 -2
- package/dist/style/site.css +65 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/{vendor-xg15tfEs.mjs → vendor-B6t9njJr.mjs} +83 -22
- package/dist/vendor-B6t9njJr.mjs.map +1 -0
- package/package.json +2 -1
- package/dist/create-markdown-renderer-B7-jbpT6.mjs.map +0 -1
- package/dist/vendor-xg15tfEs.mjs.map +0 -1
package/dist/style/core.css
CHANGED
package/dist/style/index.css
CHANGED
|
@@ -316,7 +316,7 @@ header {
|
|
|
316
316
|
#primary {
|
|
317
317
|
display: grid;
|
|
318
318
|
grid-area: primary;
|
|
319
|
-
|
|
319
|
+
gap: 0 2rem;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
footer {
|
|
@@ -1337,7 +1337,7 @@ kbd {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
1339
|
:root {
|
|
1340
|
-
--docs-font-family:
|
|
1340
|
+
--docs-font-family: "Inter Variable", sans-serif;
|
|
1341
1341
|
--docs-font-weight: normal;
|
|
1342
1342
|
--docs-text-color-default: #1b1e23;
|
|
1343
1343
|
--docs-text-color-discrete: #5f6165;
|
|
@@ -1455,6 +1455,69 @@ textarea {
|
|
|
1455
1455
|
margin: 0;
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
|
+
/* inter-cyrillic-ext-wght-normal */
|
|
1459
|
+
@font-face {
|
|
1460
|
+
font-family: "Inter Variable";
|
|
1461
|
+
font-style: normal;
|
|
1462
|
+
font-display: swap;
|
|
1463
|
+
font-weight: 100 900;
|
|
1464
|
+
src: url(./inter-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
|
|
1465
|
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
1466
|
+
}
|
|
1467
|
+
/* inter-cyrillic-wght-normal */
|
|
1468
|
+
@font-face {
|
|
1469
|
+
font-family: "Inter Variable";
|
|
1470
|
+
font-style: normal;
|
|
1471
|
+
font-display: swap;
|
|
1472
|
+
font-weight: 100 900;
|
|
1473
|
+
src: url(./inter-cyrillic-wght-normal.woff2) format("woff2-variations");
|
|
1474
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
1475
|
+
}
|
|
1476
|
+
/* inter-greek-ext-wght-normal */
|
|
1477
|
+
@font-face {
|
|
1478
|
+
font-family: "Inter Variable";
|
|
1479
|
+
font-style: normal;
|
|
1480
|
+
font-display: swap;
|
|
1481
|
+
font-weight: 100 900;
|
|
1482
|
+
src: url(./inter-greek-ext-wght-normal.woff2) format("woff2-variations");
|
|
1483
|
+
unicode-range: U+1F00-1FFF;
|
|
1484
|
+
}
|
|
1485
|
+
/* inter-greek-wght-normal */
|
|
1486
|
+
@font-face {
|
|
1487
|
+
font-family: "Inter Variable";
|
|
1488
|
+
font-style: normal;
|
|
1489
|
+
font-display: swap;
|
|
1490
|
+
font-weight: 100 900;
|
|
1491
|
+
src: url(./inter-greek-wght-normal.woff2) format("woff2-variations");
|
|
1492
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
1493
|
+
}
|
|
1494
|
+
/* inter-vietnamese-wght-normal */
|
|
1495
|
+
@font-face {
|
|
1496
|
+
font-family: "Inter Variable";
|
|
1497
|
+
font-style: normal;
|
|
1498
|
+
font-display: swap;
|
|
1499
|
+
font-weight: 100 900;
|
|
1500
|
+
src: url(./inter-vietnamese-wght-normal.woff2) format("woff2-variations");
|
|
1501
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
1502
|
+
}
|
|
1503
|
+
/* inter-latin-ext-wght-normal */
|
|
1504
|
+
@font-face {
|
|
1505
|
+
font-family: "Inter Variable";
|
|
1506
|
+
font-style: normal;
|
|
1507
|
+
font-display: swap;
|
|
1508
|
+
font-weight: 100 900;
|
|
1509
|
+
src: url(./inter-latin-ext-wght-normal.woff2) format("woff2-variations");
|
|
1510
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
1511
|
+
}
|
|
1512
|
+
/* inter-latin-wght-normal */
|
|
1513
|
+
@font-face {
|
|
1514
|
+
font-family: "Inter Variable";
|
|
1515
|
+
font-style: normal;
|
|
1516
|
+
font-display: swap;
|
|
1517
|
+
font-weight: 100 900;
|
|
1518
|
+
src: url(./inter-latin-wght-normal.woff2) format("woff2-variations");
|
|
1519
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
1520
|
+
}
|
|
1458
1521
|
.cookie-warning {
|
|
1459
1522
|
background: var(--docs-cookie-background-color);
|
|
1460
1523
|
border-bottom: 2px solid var(--docs-cookie-border-color);
|
|
@@ -1521,6 +1584,7 @@ body {
|
|
|
1521
1584
|
font-family: var(--docs-font-family);
|
|
1522
1585
|
font-weight: var(--docs-font-weight);
|
|
1523
1586
|
font-size: var(--f-font-size-default-rem);
|
|
1587
|
+
font-feature-settings: "liga" 1, "calt" 1;
|
|
1524
1588
|
min-width: 400px;
|
|
1525
1589
|
}
|
|
1526
1590
|
@media (width >= 1024px) {
|
package/dist/style/site.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--docs-font-family:
|
|
2
|
+
--docs-font-family: "Inter Variable", sans-serif;
|
|
3
3
|
--docs-font-weight: normal;
|
|
4
4
|
--docs-text-color-default: #1b1e23;
|
|
5
5
|
--docs-text-color-discrete: #5f6165;
|
|
@@ -117,6 +117,69 @@ textarea {
|
|
|
117
117
|
margin: 0;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
/* inter-cyrillic-ext-wght-normal */
|
|
121
|
+
@font-face {
|
|
122
|
+
font-family: "Inter Variable";
|
|
123
|
+
font-style: normal;
|
|
124
|
+
font-display: swap;
|
|
125
|
+
font-weight: 100 900;
|
|
126
|
+
src: url(./inter-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
|
|
127
|
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
128
|
+
}
|
|
129
|
+
/* inter-cyrillic-wght-normal */
|
|
130
|
+
@font-face {
|
|
131
|
+
font-family: "Inter Variable";
|
|
132
|
+
font-style: normal;
|
|
133
|
+
font-display: swap;
|
|
134
|
+
font-weight: 100 900;
|
|
135
|
+
src: url(./inter-cyrillic-wght-normal.woff2) format("woff2-variations");
|
|
136
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
137
|
+
}
|
|
138
|
+
/* inter-greek-ext-wght-normal */
|
|
139
|
+
@font-face {
|
|
140
|
+
font-family: "Inter Variable";
|
|
141
|
+
font-style: normal;
|
|
142
|
+
font-display: swap;
|
|
143
|
+
font-weight: 100 900;
|
|
144
|
+
src: url(./inter-greek-ext-wght-normal.woff2) format("woff2-variations");
|
|
145
|
+
unicode-range: U+1F00-1FFF;
|
|
146
|
+
}
|
|
147
|
+
/* inter-greek-wght-normal */
|
|
148
|
+
@font-face {
|
|
149
|
+
font-family: "Inter Variable";
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-display: swap;
|
|
152
|
+
font-weight: 100 900;
|
|
153
|
+
src: url(./inter-greek-wght-normal.woff2) format("woff2-variations");
|
|
154
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
155
|
+
}
|
|
156
|
+
/* inter-vietnamese-wght-normal */
|
|
157
|
+
@font-face {
|
|
158
|
+
font-family: "Inter Variable";
|
|
159
|
+
font-style: normal;
|
|
160
|
+
font-display: swap;
|
|
161
|
+
font-weight: 100 900;
|
|
162
|
+
src: url(./inter-vietnamese-wght-normal.woff2) format("woff2-variations");
|
|
163
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
164
|
+
}
|
|
165
|
+
/* inter-latin-ext-wght-normal */
|
|
166
|
+
@font-face {
|
|
167
|
+
font-family: "Inter Variable";
|
|
168
|
+
font-style: normal;
|
|
169
|
+
font-display: swap;
|
|
170
|
+
font-weight: 100 900;
|
|
171
|
+
src: url(./inter-latin-ext-wght-normal.woff2) format("woff2-variations");
|
|
172
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
173
|
+
}
|
|
174
|
+
/* inter-latin-wght-normal */
|
|
175
|
+
@font-face {
|
|
176
|
+
font-family: "Inter Variable";
|
|
177
|
+
font-style: normal;
|
|
178
|
+
font-display: swap;
|
|
179
|
+
font-weight: 100 900;
|
|
180
|
+
src: url(./inter-latin-wght-normal.woff2) format("woff2-variations");
|
|
181
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
182
|
+
}
|
|
120
183
|
.cookie-warning {
|
|
121
184
|
background: var(--docs-cookie-background-color);
|
|
122
185
|
border-bottom: 2px solid var(--docs-cookie-border-color);
|
|
@@ -189,6 +252,7 @@ body {
|
|
|
189
252
|
font-family: var(--docs-font-family);
|
|
190
253
|
font-weight: var(--docs-font-weight);
|
|
191
254
|
font-size: var(--f-font-size-default-rem);
|
|
255
|
+
font-feature-settings: "liga" 1, "calt" 1;
|
|
192
256
|
min-width: 400px;
|
|
193
257
|
}
|
|
194
258
|
@media (width >= 1024px) {
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -16271,6 +16271,7 @@ function createDedent(options) {
|
|
|
16271
16271
|
function dedent(strings, ...values) {
|
|
16272
16272
|
const raw = typeof strings === "string" ? [strings] : strings.raw;
|
|
16273
16273
|
const {
|
|
16274
|
+
alignValues = false,
|
|
16274
16275
|
escapeSpecialCharacters = Array.isArray(strings),
|
|
16275
16276
|
trimWhitespace = true
|
|
16276
16277
|
} = options;
|
|
@@ -16285,8 +16286,10 @@ function createDedent(options) {
|
|
|
16285
16286
|
}
|
|
16286
16287
|
result += next;
|
|
16287
16288
|
if (i < values.length) {
|
|
16289
|
+
const value = alignValues ? alignValue(values[i], result) : values[i];
|
|
16290
|
+
|
|
16288
16291
|
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
|
16289
|
-
result +=
|
|
16292
|
+
result += value;
|
|
16290
16293
|
}
|
|
16291
16294
|
}
|
|
16292
16295
|
|
|
@@ -16326,6 +16329,22 @@ function createDedent(options) {
|
|
|
16326
16329
|
}
|
|
16327
16330
|
}
|
|
16328
16331
|
|
|
16332
|
+
/**
|
|
16333
|
+
* Adjusts the indentation of a multi-line interpolated value to match the current line.
|
|
16334
|
+
*/
|
|
16335
|
+
function alignValue(value, precedingText) {
|
|
16336
|
+
if (typeof value !== "string" || !value.includes("\n")) {
|
|
16337
|
+
return value;
|
|
16338
|
+
}
|
|
16339
|
+
const currentLine = precedingText.slice(precedingText.lastIndexOf("\n") + 1);
|
|
16340
|
+
const indentMatch = currentLine.match(/^(\s+)/);
|
|
16341
|
+
if (indentMatch) {
|
|
16342
|
+
const indent = indentMatch[1];
|
|
16343
|
+
return value.replace(/\n/g, `\n${indent}`);
|
|
16344
|
+
}
|
|
16345
|
+
return value;
|
|
16346
|
+
}
|
|
16347
|
+
|
|
16329
16348
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
16330
16349
|
|
|
16331
16350
|
function getDefaultExportFromCjs (x) {
|
|
@@ -21182,6 +21201,18 @@ function requireIsCi () {
|
|
|
21182
21201
|
var isCiExports = requireIsCi();
|
|
21183
21202
|
var isCI = /*@__PURE__*/getDefaultExportFromCjs(isCiExports);
|
|
21184
21203
|
|
|
21204
|
+
var subsets = [
|
|
21205
|
+
"cyrillic",
|
|
21206
|
+
"cyrillic-ext",
|
|
21207
|
+
"greek",
|
|
21208
|
+
"greek-ext",
|
|
21209
|
+
"latin",
|
|
21210
|
+
"latin-ext",
|
|
21211
|
+
"vietnamese"
|
|
21212
|
+
];
|
|
21213
|
+
var inter = {
|
|
21214
|
+
subsets: subsets};
|
|
21215
|
+
|
|
21185
21216
|
var fs = {};
|
|
21186
21217
|
|
|
21187
21218
|
var universalify = {};
|
|
@@ -22665,6 +22696,43 @@ function requireStat () {
|
|
|
22665
22696
|
return stat;
|
|
22666
22697
|
}
|
|
22667
22698
|
|
|
22699
|
+
var async;
|
|
22700
|
+
var hasRequiredAsync;
|
|
22701
|
+
|
|
22702
|
+
function requireAsync () {
|
|
22703
|
+
if (hasRequiredAsync) return async;
|
|
22704
|
+
hasRequiredAsync = 1;
|
|
22705
|
+
|
|
22706
|
+
// https://github.com/jprichardson/node-fs-extra/issues/1056
|
|
22707
|
+
// Performing parallel operations on each item of an async iterator is
|
|
22708
|
+
// surprisingly hard; you need to have handlers in place to avoid getting an
|
|
22709
|
+
// UnhandledPromiseRejectionWarning.
|
|
22710
|
+
// NOTE: This function does not presently handle return values, only errors
|
|
22711
|
+
async function asyncIteratorConcurrentProcess (iterator, fn) {
|
|
22712
|
+
const promises = [];
|
|
22713
|
+
for await (const item of iterator) {
|
|
22714
|
+
promises.push(
|
|
22715
|
+
fn(item).then(
|
|
22716
|
+
() => null,
|
|
22717
|
+
(err) => err ?? new Error('unknown error')
|
|
22718
|
+
)
|
|
22719
|
+
);
|
|
22720
|
+
}
|
|
22721
|
+
await Promise.all(
|
|
22722
|
+
promises.map((promise) =>
|
|
22723
|
+
promise.then((possibleErr) => {
|
|
22724
|
+
if (possibleErr !== null) throw possibleErr
|
|
22725
|
+
})
|
|
22726
|
+
)
|
|
22727
|
+
);
|
|
22728
|
+
}
|
|
22729
|
+
|
|
22730
|
+
async = {
|
|
22731
|
+
asyncIteratorConcurrentProcess
|
|
22732
|
+
};
|
|
22733
|
+
return async;
|
|
22734
|
+
}
|
|
22735
|
+
|
|
22668
22736
|
var copy_1;
|
|
22669
22737
|
var hasRequiredCopy$1;
|
|
22670
22738
|
|
|
@@ -22678,6 +22746,7 @@ function requireCopy$1 () {
|
|
|
22678
22746
|
const { pathExists } = requirePathExists();
|
|
22679
22747
|
const { utimesMillis } = requireUtimes();
|
|
22680
22748
|
const stat = requireStat();
|
|
22749
|
+
const { asyncIteratorConcurrentProcess } = requireAsync();
|
|
22681
22750
|
|
|
22682
22751
|
async function copy (src, dest, opts = {}) {
|
|
22683
22752
|
if (typeof opts === 'function') {
|
|
@@ -22785,28 +22854,20 @@ function requireCopy$1 () {
|
|
|
22785
22854
|
await fs.mkdir(dest);
|
|
22786
22855
|
}
|
|
22787
22856
|
|
|
22788
|
-
|
|
22789
|
-
|
|
22790
|
-
// loop through the files in the current directory to copy everything
|
|
22791
|
-
for await (const item of await fs.opendir(src)) {
|
|
22857
|
+
// iterate through the files in the current directory to copy everything
|
|
22858
|
+
await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
|
|
22792
22859
|
const srcItem = path.join(src, item.name);
|
|
22793
22860
|
const destItem = path.join(dest, item.name);
|
|
22794
22861
|
|
|
22795
|
-
|
|
22796
|
-
|
|
22797
|
-
|
|
22798
|
-
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22803
|
-
|
|
22804
|
-
}
|
|
22805
|
-
})
|
|
22806
|
-
);
|
|
22807
|
-
}
|
|
22808
|
-
|
|
22809
|
-
await Promise.all(promises);
|
|
22862
|
+
const include = await runFilter(srcItem, destItem, opts);
|
|
22863
|
+
// only copy the item if it matches the filter function
|
|
22864
|
+
if (include) {
|
|
22865
|
+
const { destStat } = await stat.checkPaths(srcItem, destItem, 'copy', opts);
|
|
22866
|
+
// If the item is a copyable file, `getStatsAndPerformCopy` will copy it
|
|
22867
|
+
// If the item is a directory, `getStatsAndPerformCopy` will call `onDir` recursively
|
|
22868
|
+
await getStatsAndPerformCopy(destStat, srcItem, destItem, opts);
|
|
22869
|
+
}
|
|
22870
|
+
});
|
|
22810
22871
|
|
|
22811
22872
|
if (!destStat) {
|
|
22812
22873
|
await fs.chmod(dest, srcStat.mode);
|
|
@@ -56150,5 +56211,5 @@ function requireSrc () {
|
|
|
56150
56211
|
var srcExports = requireSrc();
|
|
56151
56212
|
var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
56152
56213
|
|
|
56153
|
-
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, tinylr as t, watch$1 as w };
|
|
56154
|
-
//# sourceMappingURL=vendor-
|
|
56214
|
+
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-B6t9njJr.mjs.map
|