@forsakringskassan/docs-generator 3.1.1 → 3.1.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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.58.7"
8
+ "packageVersion": "7.58.9"
9
9
  }
10
10
  ]
11
11
  }
@@ -69180,7 +69180,7 @@ async function getParser(file, options8) {
69180
69180
  var get_file_info_default = getFileInfo;
69181
69181
 
69182
69182
  // src/main/version.evaluate.js
69183
- var version_evaluate_default = "3.8.3";
69183
+ var version_evaluate_default = "3.8.4";
69184
69184
 
69185
69185
  // src/utilities/public.js
69186
69186
  var public_exports = {};
@@ -69970,7 +69970,7 @@ ${e}`};var pf$1=new Set(["position","raw"]);function xi$2(e,r,t){if((e.type==="c
69970
69970
  `," ")),e.type==="wikiLink"&&(r.value=R$1(0,e.value.trim(),/[\t\n]+/gu," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0, bi$2.default)(e.label)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of "<>")r.url=R$1(0,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=R$1(0,e.title,/\\(?=["')])/gu,"")),t?.type==="root"&&t.children.length>0&&(t.children[0]===e||kt$2(t.children[0])&&t.children[1]===e)&&e.type==="html"&&Lr(e.value))return null}xi$2.ignoredProperties=pf$1;var yi$2=xi$2;var wi$1=/(?:[\u{2c7}\u{2c9}-\u{2cb}\u{2d9}\u{2ea}-\u{2eb}\u{305}\u{323}\u{1100}-\u{11ff}\u{2e80}-\u{2e99}\u{2e9b}-\u{2ef3}\u{2f00}-\u{2fd5}\u{2ff0}-\u{303f}\u{3041}-\u{3096}\u{3099}-\u{30ff}\u{3105}-\u{312f}\u{3131}-\u{318e}\u{3190}-\u{4dbf}\u{4e00}-\u{9fff}\u{a700}-\u{a707}\u{a960}-\u{a97c}\u{ac00}-\u{d7a3}\u{d7b0}-\u{d7c6}\u{d7cb}-\u{d7fb}\u{f900}-\u{fa6d}\u{fa70}-\u{fad9}\u{fe10}-\u{fe1f}\u{fe30}-\u{fe6f}\u{ff00}-\u{ffef}\u{16fe3}\u{16ff2}-\u{16ff6}\u{1aff0}-\u{1aff3}\u{1aff5}-\u{1affb}\u{1affd}-\u{1affe}\u{1b000}-\u{1b122}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b167}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81d}\u{2b820}-\u{2cead}\u{2ceb0}-\u{2ebe0}\u{2ebf0}-\u{2ee5d}\u{2f800}-\u{2fa1d}\u{30000}-\u{3134a}\u{31350}-\u{33479}])(?:[\u{fe00}-\u{fe0f}\u{e0100}-\u{e01ef}])?/u,Oe$2=/(?:[\u{21}-\u{2f}\u{3a}-\u{40}\u{5b}-\u{60}\u{7b}-\u{7e}]|\p{General_Category=Connector_Punctuation}|\p{General_Category=Dash_Punctuation}|\p{General_Category=Close_Punctuation}|\p{General_Category=Final_Punctuation}|\p{General_Category=Initial_Punctuation}|\p{General_Category=Other_Punctuation}|\p{General_Category=Open_Punctuation})/u;var qe$2=e=>e.position.start.offset,Ne$2=e=>e.position.end.offset;var Tt$2=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Rr=new Set([...Tt$2,"tableCell","paragraph","heading"]),We$1="non-cjk",ae$2="cj-letter",Pe$2="k-letter",cr="cjk-punctuation",hf$1=/\p{Script_Extensions=Hangul}/u;function Mr(e){let r=[],t=e.split(/([\t\n ]+)/u);for(let[i,u]of t.entries()){if(i%2===1){r.push({type:"whitespace",value:/\n/u.test(u)?`
69971
69971
  `:" "});continue}if((i===0||i===t.length-1)&&u==="")continue;let a=u.split(new RegExp(`(${wi$1.source})`,"u"));for(let[o,s]of a.entries())if(!((o===0||o===a.length-1)&&s==="")){if(o%2===0){s!==""&&n({type:"word",value:s,kind:We$1,isCJ:false,hasLeadingPunctuation:Oe$2.test(s[0]),hasTrailingPunctuation:Oe$2.test(U$1(0,s,-1))});continue}if(Oe$2.test(s)){n({type:"word",value:s,kind:cr,isCJ:true,hasLeadingPunctuation:true,hasTrailingPunctuation:true});continue}if(hf$1.test(s)){n({type:"word",value:s,kind:Pe$2,isCJ:false,hasLeadingPunctuation:false,hasTrailingPunctuation:false});continue}n({type:"word",value:s,kind:ae$2,isCJ:true,hasLeadingPunctuation:false,hasTrailingPunctuation:false});}}return r;function n(i){let u=U$1(0,r,-1);u?.type==="word"&&!a(We$1,cr)&&![u.value,i.value].some(o=>/\u3000/u.test(o))&&r.push({type:"whitespace",value:""}),r.push(i);function a(o,s){return u.kind===o&&i.kind===s||u.kind===s&&i.kind===o}}}function ze$1(e,r){let t=r.originalText.slice(e.position.start.offset,e.position.end.offset),{numberText:n,leadingSpaces:i}=t.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/u).groups;return {number:Number(n),leadingSpaces:i}}function ki$1(e,r){return !e.ordered||e.children.length<2||ze$1(e.children[1],r).number!==1?false:ze$1(e.children[0],r).number!==0?true:e.children.length>2&&ze$1(e.children[2],r).number===1}function Ur(e,r){let{value:t}=e;return e.position.end.offset===r.length&&t.endsWith(`
69972
69972
  `)&&r.endsWith(`
69973
- `)?t.slice(0,-1):t}function ye$3(e,r){return (function t(n,i,u){let a={...r(n,i,u)};return a.children&&(a.children=a.children.map((o,s)=>t(o,s,[a,...u]))),a})(e,null,[])}function Yr$2(e){if(e?.type!=="link"||e.children.length!==1)return false;let[r]=e.children;return qe$2(e)===qe$2(r)&&Ne$2(e)===Ne$2(r)}function lr(e){let r;if(e.type==="html")r=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);else {let t;e.type==="esComment"?t=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(t=e.children[0]),t&&(r=t.value.match(/^prettier-ignore(?:-(start|end))?$/u));}return r?r[1]||"next":false}function Gr$1(e,r){return t(e,r,n=>n.ordered===e.ordered);function t(n,i,u){let a=-1;for(let o of i.children)if(o.type===n.type&&u(o)?a++:a=-1,o===n)return a}}function df$1(e,r){let{node:t}=e;switch(t.type){case "code":{let{lang:n}=t;if(!n)return;let i;return n==="angular-ts"?i=wt$1(r,{language:"typescript"}):n==="angular-html"?i="angular":i=wt$1(r,{language:n}),i?async u=>{let a={parser:i};n==="ts"||n==="typescript"?a.filepath="dummy.ts":n==="tsx"&&(a.filepath="dummy.tsx");let o=await u(Ur(t,r.originalText),a),s=r.__inJsTemplate?"~":"`",l=s.repeat(Math.max(3,Ir(t.value,s)+1));return ur([l,t.lang,t.meta?" "+t.meta:"",M$2,xe$2(o),M$2,l])}:void 0}case "import":case "export":return n=>n(t.value,{__onHtmlBindingRoot:i=>mf$1(i,t.type),parser:"babel"});case "jsx":return n=>n(`<$>${t.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}function mf$1(e,r){let{program:{body:t}}=e;if(!t.every(n=>n.type==="ImportDeclaration"||n.type==="ExportDefaultDeclaration"||n.type==="ExportNamedDeclaration"))throw new Error(`Unexpected '${r}' in MDX.`)}var Ti$2=df$1;var fr$1=null;function Dr$1(e){if(fr$1!==null&&typeof fr$1.property){let r=fr$1;return fr$1=Dr$1.prototype=null,r}return fr$1=Dr$1.prototype=e??Object.create(null),new Dr$1}var Ff$1=10;for(let e=0;e<=Ff$1;e++)Dr$1();function Bt$2(e){return Dr$1(e)}function gf$1(e,r="type"){Bt$2(e);function t(n){let i=n[r],u=e[i];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return u}return t}var Bi=gf$1;var q$2=[["children"],[]],_i$1={root:q$2[0],paragraph:q$2[0],sentence:q$2[0],word:q$2[1],whitespace:q$2[1],emphasis:q$2[0],strong:q$2[0],delete:q$2[0],inlineCode:q$2[1],wikiLink:q$2[1],link:q$2[0],image:q$2[1],blockquote:q$2[0],heading:q$2[0],code:q$2[1],html:q$2[1],list:q$2[0],thematicBreak:q$2[1],linkReference:q$2[0],imageReference:q$2[1],definition:q$2[1],footnote:q$2[0],footnoteReference:q$2[1],footnoteDefinition:q$2[0],table:q$2[0],tableCell:q$2[0],break:q$2[1],liquidNode:q$2[1],import:q$2[1],export:q$2[1],esComment:q$2[1],jsx:q$2[1],math:q$2[1],inlineMath:q$2[1],tableRow:q$2[0],listItem:q$2[0],text:q$2[1]};var Ef$1=Bi(_i$1),Oi$1=Ef$1;function z$2(e,r,t,n={}){let{processor:i=t}=n,u=[];return e.each(()=>{let a=i(e);a!==false&&(u.length>0&&Cf$1(e)&&(u.push(M$2),(Af$1(e,r)||qi(e))&&u.push(M$2),qi(e)&&u.push(M$2)),u.push(a));},"children"),u}function Cf$1({node:e,parent:r}){let t=Tt$2.has(e.type),n=e.type==="html"&&Rr.has(r.type);return !t&&!n}var vf$1=new Set(["listItem","definition"]);function Af$1({node:e,previous:r,parent:t},n){if(Ni(r,n)||e.type==="list"&&t.type==="listItem"&&r.type==="code")return true;let u=r.type===e.type&&vf$1.has(e.type),a=t.type==="listItem"&&(e.type==="list"||!Ni(t,n)),o=lr(r)==="next",s=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,l=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return !(u||a||o||s||l)}function qi({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function Ni(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===`
69973
+ `)?t.slice(0,-1):t}function ye$3(e,r){return (function t(n,i,u){let a={...r(n,i,u)};return a.children&&(a.children=a.children.map((o,s)=>t(o,s,[a,...u]))),a})(e,null,[])}function Yr$2(e){if(e?.type!=="link"||e.children.length!==1)return false;let[r]=e.children;return qe$2(e)===qe$2(r)&&Ne$2(e)===Ne$2(r)}function lr(e){let r;if(e.type==="html")r=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);else {let t;e.type==="esComment"?t=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(t=e.children[0]),t&&(r=t.value.match(/^prettier-ignore(?:-(start|end))?$/u));}return r?r[1]||"next":false}function Gr$1(e,r){return t(e,r,n=>n.ordered===e.ordered);function t(n,i,u){let a=-1;for(let o of i.children)if(o.type===n.type&&u(o)?a++:a=-1,o===n)return a}}function df$1(e,r){let{node:t}=e;switch(t.type){case "code":{let{lang:n}=t;if(!n)return;let i;return n==="angular-ts"?i=wt$1(r,{language:"typescript"}):n==="angular-html"?i="angular":i=wt$1(r,{language:n}),i?async u=>{let a={parser:i};n==="ts"||n==="typescript"?a.filepath="dummy.ts":n==="tsx"&&(a.filepath="dummy.tsx");let o=await u(Ur(t,r.originalText),a),s=r.__inJsTemplate?"~":"`",l=s.repeat(Math.max(3,Ir(t.value,s)+1));return ur([l,t.lang,t.meta?" "+t.meta:"",M$2,xe$2(o),M$2,l])}:void 0}case "import":case "export":return n=>n(t.value,{__onHtmlBindingRoot:i=>mf$1(i,t.type),parser:"babel"});case "jsx":return n=>n(`<$>${t.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}function mf$1(e,r){let{program:{body:t}}=e;if(!t.every(n=>n.type==="ImportDeclaration"||n.type==="ExportDefaultDeclaration"||n.type==="ExportNamedDeclaration"))throw new Error(`Unexpected '${r}' in MDX.`)}var Ti$2=df$1;var fr$1=null;function Dr$1(e){if(fr$1!==null&&typeof fr$1.property){let r=fr$1;return fr$1=Dr$1.prototype=null,r}return fr$1=Dr$1.prototype=e??Object.create(null),new Dr$1}var Ff$1=10;for(let e=0;e<=Ff$1;e++)Dr$1();function Bt$2(e){return Dr$1(e)}function gf$1(e,r="type"){Bt$2(e);function t(n){let i=n[r],u=e[i];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return u}return t}var Bi=gf$1;var q$2=[["children"],[]],_i$1={root:q$2[0],paragraph:q$2[0],sentence:q$2[0],word:q$2[1],whitespace:q$2[1],emphasis:q$2[0],strong:q$2[0],delete:q$2[0],inlineCode:q$2[1],wikiLink:q$2[1],link:q$2[0],image:q$2[1],blockquote:q$2[0],heading:q$2[0],code:q$2[1],html:q$2[1],list:q$2[0],thematicBreak:q$2[1],linkReference:q$2[0],imageReference:q$2[1],definition:q$2[1],footnote:q$2[0],footnoteReference:q$2[1],footnoteDefinition:q$2[0],table:q$2[0],tableCell:q$2[0],break:q$2[1],liquidNode:q$2[1],import:q$2[1],export:q$2[1],esComment:q$2[1],jsx:q$2[1],math:q$2[1],inlineMath:q$2[1],tableRow:q$2[0],listItem:q$2[0],text:q$2[1]};var Ef$1=Bi(_i$1),Oi$1=Ef$1;function z$2(e,r,t,n={}){let{processor:i=t}=n,u=[];return e.each(()=>{let a=i(e);a!==false&&(u.length>0&&Cf$1(e)&&(u.push(M$2),(Af$1(e,r)||qi(e))&&u.push(M$2),qi(e)&&u.push(M$2)),u.push(a));},"children"),u}function Cf$1({node:e,parent:r}){let t=Tt$2.has(e.type),n=e.type==="html"&&Rr.has(r.type);return !t&&!n}var vf$1=new Set(["listItem","definition"]);function Af$1({node:e,previous:r,parent:t},n){if(Ni(r,n)||e.type==="list"&&t.type==="listItem"&&(r.type==="code"||r.type==="paragraph")&&r.position.end.line+1<e.position.start.line)return true;let u=r.type===e.type&&vf$1.has(e.type),a=t.type==="listItem"&&(e.type==="list"||!Ni(t,n)),o=lr(r)==="next",s=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,l=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return !(u||a||o||s||l)}function qi({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function Ni(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===`
69974
69974
  `)}function Ii(e,r,t){let{node:n}=e,i=Gr$1(n,e.parent),u=ki$1(n,r);return z$2(e,r,t,{processor(){let a=s(),{node:o}=e;if(o.children.length===2&&o.children[1].type==="html"&&o.children[0].position.start.column!==o.children[1].position.start.column)return [a,Pi(e,r,t,a)];return [a,Fe$1(" ".repeat(a.length),Pi(e,r,t,a))];function s(){let l=n.ordered?(e.isFirst?n.start:u?1:n.start+e.index)+(i%2===0?". ":") "):i%2===0?"- ":"* ";return (n.isAligned||n.hasIndentedCodeblock)&&n.ordered?bf$1(l,r):l}}})}function Pi(e,r,t,n){let{node:i}=e,u=i.checked===null?"":i.checked?"[x] ":"[ ] ";return [u,z$2(e,r,t,{processor({node:a,isFirst:o}){if(o&&a.type!=="list")return Fe$1(" ".repeat(u.length),t());let s=" ".repeat(xf$1(r.tabWidth-n.length,0,3));return [s,Fe$1(s,t())]}})]}function bf$1(e,r){let t=n();return e+" ".repeat(t>=4?0:t);function n(){let i=e.length%r.tabWidth;return i===0?0:r.tabWidth-i}}function xf$1(e,r,t){return Math.max(r,Math.min(e,t))}function Si$2(e,r,t){let{node:n}=e,i=[],u=e.map(()=>e.map(({index:f})=>{let D=ai$1(t(),r).formatted,m=or(D);return i[f]=Math.max(i[f]??3,m),{text:D,width:m}},"children"),"children"),a=s(false);if(r.proseWrap!=="never")return [Ue$2,a];let o=s(true);return [Ue$2,Ge$2(Zn$3(o,a))];function s(f){return _r(ar,[c(u[0],f),l(f),...u.slice(1).map(D=>c(D,f))].map(D=>`| ${D.join(" | ")} |`))}function l(f){return i.map((D,m)=>{let p=n.align[m],h=p==="center"||p==="left"?":":"-",F=p==="center"||p==="right"?":":"-",g=f?"-":"-".repeat(D-2);return `${h}${g}${F}`})}function c(f,D){return f.map(({text:m,width:p},h)=>{if(D)return m;let F=i[h]-p,g=n.align[h],E=0;g==="right"?E=F:g==="center"&&(E=Math.floor(F/2));let v=F-E;return `${" ".repeat(E)}${m}${" ".repeat(v)}`})}}function Li(e){let{node:r}=e,t=R$1(0,R$1(0,r.value,"*","\\*"),new RegExp([`(^|${Oe$2.source})(_+)`,`(_+)(${Oe$2.source}|$)`].join("|"),"gu"),(u,a,o,s,l)=>R$1(0,o?`${a}${o}`:`${s}${l}`,"_","\\_")),n=(u,a,o)=>u.type==="sentence"&&o===0,i=(u,a,o)=>Yr$2(u.children[o-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(u,a,o)=>u.type==="emphasis"&&o===0,i))&&(t=t.replace(/^(\\?[*_])+/u,u=>R$1(0,u,"\\",""))),t}function Ri(e,r,t){let n=e.map(t,"children");return yf$1(n)}function yf$1(e){let r=[""];return (function t(n){for(let i of n){let u=W$1(i);if(u===j$2){t(i);continue}let a=i,o=[];u===J$2&&([a,...o]=i.parts),r.push([r.pop(),a],...o);}})(e),Ye$2(r)}var _t$1=class _t{#e;constructor(r){this.#e=new Set(r);}getLeadingWhitespaceCount(r){let t=this.#e,n=0;for(let i=0;i<r.length&&t.has(r.charAt(i));i++)n++;return n}getTrailingWhitespaceCount(r){let t=this.#e,n=0;for(let i=r.length-1;i>=0&&t.has(r.charAt(i));i--)n++;return n}getLeadingWhitespace(r){let t=this.getLeadingWhitespaceCount(r);return r.slice(0,t)}getTrailingWhitespace(r){let t=this.getTrailingWhitespaceCount(r);return r.slice(r.length-t)}hasLeadingWhitespace(r){return this.#e.has(r.charAt(0))}hasTrailingWhitespace(r){return this.#e.has(U$1(0,r,-1))}trimStart(r){let t=this.getLeadingWhitespaceCount(r);return r.slice(t)}trimEnd(r){let t=this.getTrailingWhitespaceCount(r);return r.slice(0,r.length-t)}trim(r){return this.trimEnd(this.trimStart(r))}split(r,t=false){let n=`[${fe$2([...this.#e].join(""))}]+`,i=new RegExp(t?`(${n})`:n,"u");return r.split(i)}hasWhitespaceCharacter(r){let t=this.#e;return Array.prototype.some.call(r,n=>t.has(n))}hasNonWhitespaceCharacter(r){let t=this.#e;return Array.prototype.some.call(r,n=>!t.has(n))}isWhitespaceOnly(r){let t=this.#e;return Array.prototype.every.call(r,n=>t.has(n))}#r(r){let t=Number.POSITIVE_INFINITY;for(let n of r.split(`
69975
69975
  `)){if(n.length===0)continue;let i=this.getLeadingWhitespaceCount(n);if(i===0)return 0;n.length!==i&&i<t&&(t=i);}return t===Number.POSITIVE_INFINITY?0:t}dedentString(r){let t=this.#r(r);return t===0?r:r.split(`
69976
69976
  `).map(n=>n.slice(t)).join(`
@@ -70103,4 +70103,4 @@ var typescript = /*#__PURE__*/Object.freeze({
70103
70103
  });
70104
70104
 
70105
70105
  export { HighlightJS as H, MarkdownIt as M, Ze$a as Z, resolveConfig as a, createTwoFilesPatch$1 as b, createSyncFn as c, dedent$1 as d, deflist_plugin as e, format2 as f, closest as g, distance as h, fm$2 as i, isCI as j, cliProgress as k, tinylr as l, moduleImporter as m, createInstance as n, fse as o, inter as p, runAsWorker as r, ts$6 as t, watch$1 as w };
70106
- //# sourceMappingURL=vendor-DO1GigtJ.mjs.map
70106
+ //# sourceMappingURL=vendor-DWCXj2K2.mjs.map