@forsakringskassan/docs-generator 2.38.3 → 2.38.5

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/index.mjs CHANGED
@@ -4,8 +4,8 @@ const require = $createRequire(import.meta.url);
4
4
 
5
5
  import fs from 'node:fs/promises';
6
6
  import path from 'node:path/posix';
7
- import { t as ts, m as minimatch, M as MarkdownIt, d as dedent, g as closest, h as distance, i as fm, j as isCI, Z as Ze, k as moduleImporter, l as cliProgress, n as tinylr, w as watch, o as createInstance, p as fse, q as inter } from './vendor-BK-uA6Uv.mjs';
8
- import { g as generateId, p as parseInfostring, i as isDocumentPage, n as normalizePath, a as getFingerprint, h as hasTag, f as findTag, b as getOutputFilePath, d as htmlencode, e as filePath, c as createMarkdownRenderer, j as generateExample } from './create-markdown-renderer-1_yCrnbT.mjs';
7
+ import { t as ts, m as minimatch, M as MarkdownIt, d as dedent, g as closest, h as distance, i as fm, j as isCI, Z as Ze, k as moduleImporter, l as cliProgress, n as tinylr, w as watch, o as createInstance, p as fse, q as inter } from './vendor-BnFYrp5U.mjs';
8
+ import { g as generateId, p as parseInfostring, i as isDocumentPage, n as normalizePath, a as getFingerprint, h as hasTag, f as findTag, b as getOutputFilePath, d as htmlencode, e as filePath, c as createMarkdownRenderer, j as generateExample } from './create-markdown-renderer-3vzQq-PG.mjs';
9
9
  import path__default from 'node:path';
10
10
  import crypto from 'node:crypto';
11
11
  import { exec, execSync } from 'node:child_process';
@@ -43,7 +43,6 @@ import 'crypto';
43
43
  import 'net';
44
44
  import 'tls';
45
45
  import 'tty';
46
- import 'os';
47
46
  import 'querystring';
48
47
  import 'module';
49
48
  import 'fs/promises';
@@ -766,6 +765,10 @@ function selectableVersionProcessor(pkg, container, options) {
766
765
  filename: "partials/selectable-version.html",
767
766
  data: { pkg }
768
767
  });
768
+ context.addTemplateBlock("body:end", "version-modal", {
769
+ filename: "partials/version-modal.html",
770
+ data: { pkg }
771
+ });
769
772
  }
770
773
  };
771
774
  }
@@ -2161,9 +2164,24 @@ var translation$1 = {
2161
2164
  component: "Component",
2162
2165
  status: "Status"
2163
2166
  },
2167
+ "cookie-warning": {
2168
+ title: "Cookies on this website",
2169
+ "consent-all": "Yes, I accept all cookies",
2170
+ "consent-functional": "No, I only accept necessary cookies",
2171
+ message: "We use cookies to make this website work as well as possible for you.<br />We also use cookies for web analytics to improve the website.",
2172
+ accept: "Do you also accept cookies for web analytics?"
2173
+ },
2174
+ modal: {
2175
+ close: "Close"
2176
+ },
2164
2177
  outline: {
2165
2178
  "in-this-article": "In this article"
2166
2179
  },
2180
+ "selectable-version": {
2181
+ button: "Switch version",
2182
+ title: "Select version",
2183
+ loading: "Please wait, loading version data..."
2184
+ },
2167
2185
  search: {
2168
2186
  button: "Search",
2169
2187
  instructions: "<kbd>Esc</kbd> to close <kbd>Arrow up/down</kbd> to navigate <kbd>Enter</kbd> to select",
@@ -2180,9 +2198,24 @@ var translation = {
2180
2198
  component: "Komponent",
2181
2199
  status: "Status"
2182
2200
  },
2201
+ "cookie-warning": {
2202
+ title: "Kakor på webbplatsen",
2203
+ "consent-all": "Ja, jag godkänner alla kakor",
2204
+ "consent-functional": "Nej, jag godkänner bara nödvändiga kakor",
2205
+ message: "Vi använder kakor (cookies) för att webbplatsen ska fungera så bra som möjligt för dig.<br />Vi använder också kakor för webbanalys för att göra webbplatsen bättre.",
2206
+ accept: "Godkänner du att vi också använder kakor för webbanalys?"
2207
+ },
2208
+ modal: {
2209
+ close: "Stäng"
2210
+ },
2183
2211
  outline: {
2184
2212
  "in-this-article": "Innehåll"
2185
2213
  },
2214
+ "selectable-version": {
2215
+ button: "Byt version",
2216
+ title: "Välj version",
2217
+ loading: "Var god vänta, laddar versionsdata..."
2218
+ },
2186
2219
  search: {
2187
2220
  button: "Sök",
2188
2221
  instructions: "<kbd>Esc</kbd> för att stänga <kbd>Pil upp/ner</kbd> för att navigera <kbd>Enter</kbd> för att välja",