@forsakringskassan/docs-generator 3.18.0 → 3.19.1
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-DrDHT9bZ.mjs → create-markdown-renderer-DSov_Gkx.mjs} +4 -4
- package/dist/{create-markdown-renderer-DrDHT9bZ.mjs.map → create-markdown-renderer-DSov_Gkx.mjs.map} +1 -1
- package/dist/{format-code.worker-CFQ372Nb.mjs → format-code.worker-DR9lHLhH.mjs} +2 -2
- package/dist/{format-code.worker-CFQ372Nb.mjs.map → format-code.worker-DR9lHLhH.mjs.map} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +167 -137
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/{vendor-i-8GIz5x.mjs → vendor-CLyw83WG.mjs} +51 -6
- package/dist/{vendor-i-8GIz5x.mjs.map → vendor-CLyw83WG.mjs.map} +1 -1
- package/dist/{worker--TrTGmqL.mjs → worker-DfUDllYf.mjs} +3 -3
- package/dist/worker-DfUDllYf.mjs.map +1 -0
- package/package.json +2 -2
- package/templates/base.template.html +1 -1
- package/templates/component.template.html +4 -28
- package/templates/partials/component-aside.html +27 -0
- package/dist/worker--TrTGmqL.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-DSov_Gkx.mjs';
|
|
6
|
+
import './vendor-CLyw83WG.mjs';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'fs';
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -17028,7 +17028,7 @@ class Connector extends EventEmitter {
|
|
|
17028
17028
|
}
|
|
17029
17029
|
}
|
|
17030
17030
|
|
|
17031
|
-
const get = () => ({
|
|
17031
|
+
const get$1 = () => ({
|
|
17032
17032
|
debug: false,
|
|
17033
17033
|
initAsync: true,
|
|
17034
17034
|
ns: ['translation'],
|
|
@@ -17140,7 +17140,7 @@ class I18n extends EventEmitter {
|
|
|
17140
17140
|
options.defaultNS = options.ns[0];
|
|
17141
17141
|
}
|
|
17142
17142
|
}
|
|
17143
|
-
const defOpts = get();
|
|
17143
|
+
const defOpts = get$1();
|
|
17144
17144
|
this.options = {
|
|
17145
17145
|
...defOpts,
|
|
17146
17146
|
...this.options,
|
|
@@ -17522,7 +17522,7 @@ class I18n extends EventEmitter {
|
|
|
17522
17522
|
}
|
|
17523
17523
|
} catch (e) {}
|
|
17524
17524
|
const rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ug', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam', 'ckb'];
|
|
17525
|
-
const languageUtils = this.services?.languageUtils || new LanguageUtil(get());
|
|
17525
|
+
const languageUtils = this.services?.languageUtils || new LanguageUtil(get$1());
|
|
17526
17526
|
if (lng.toLowerCase().indexOf('-latn') > 1) return 'ltr';
|
|
17527
17527
|
return rtlLngs.includes(languageUtils.getLanguagePartFromCode(lng)) || lng.toLowerCase().indexOf('-arab') > 1 ? 'rtl' : 'ltr';
|
|
17528
17528
|
}
|
|
@@ -17572,7 +17572,7 @@ class I18n extends EventEmitter {
|
|
|
17572
17572
|
clone.services.resourceStore = clone.store;
|
|
17573
17573
|
}
|
|
17574
17574
|
if (options.interpolation) {
|
|
17575
|
-
const defOpts = get();
|
|
17575
|
+
const defOpts = get$1();
|
|
17576
17576
|
const mergedInterpolation = {
|
|
17577
17577
|
...defOpts.interpolation,
|
|
17578
17578
|
...this.options.interpolation,
|
|
@@ -45876,6 +45876,44 @@ function requireCallBindApplyHelpers () {
|
|
|
45876
45876
|
return callBindApplyHelpers;
|
|
45877
45877
|
}
|
|
45878
45878
|
|
|
45879
|
+
var get;
|
|
45880
|
+
var hasRequiredGet;
|
|
45881
|
+
|
|
45882
|
+
function requireGet () {
|
|
45883
|
+
if (hasRequiredGet) return get;
|
|
45884
|
+
hasRequiredGet = 1;
|
|
45885
|
+
|
|
45886
|
+
var callBind = requireCallBindApplyHelpers();
|
|
45887
|
+
var gOPD = /*@__PURE__*/ requireGopd();
|
|
45888
|
+
|
|
45889
|
+
var hasProtoAccessor;
|
|
45890
|
+
try {
|
|
45891
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
45892
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
45893
|
+
} catch (e) {
|
|
45894
|
+
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
45895
|
+
throw e;
|
|
45896
|
+
}
|
|
45897
|
+
}
|
|
45898
|
+
|
|
45899
|
+
// eslint-disable-next-line no-extra-parens
|
|
45900
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
45901
|
+
|
|
45902
|
+
var $Object = Object;
|
|
45903
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
45904
|
+
|
|
45905
|
+
/** @type {import('./get')} */
|
|
45906
|
+
get = desc && typeof desc.get === 'function'
|
|
45907
|
+
? callBind([desc.get])
|
|
45908
|
+
: typeof $getPrototypeOf === 'function'
|
|
45909
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
45910
|
+
// eslint-disable-next-line eqeqeq
|
|
45911
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
45912
|
+
}
|
|
45913
|
+
: false;
|
|
45914
|
+
return get;
|
|
45915
|
+
}
|
|
45916
|
+
|
|
45879
45917
|
var getProto;
|
|
45880
45918
|
var hasRequiredGetProto;
|
|
45881
45919
|
|
|
@@ -45886,6 +45924,8 @@ function requireGetProto () {
|
|
|
45886
45924
|
var reflectGetProto = requireReflect_getPrototypeOf();
|
|
45887
45925
|
var originalGetProto = requireObject_getPrototypeOf();
|
|
45888
45926
|
|
|
45927
|
+
var getDunderProto = /*@__PURE__*/ requireGet();
|
|
45928
|
+
|
|
45889
45929
|
/** @type {import('.')} */
|
|
45890
45930
|
getProto = reflectGetProto
|
|
45891
45931
|
? function getProto(O) {
|
|
@@ -45900,7 +45940,12 @@ function requireGetProto () {
|
|
|
45900
45940
|
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
45901
45941
|
return originalGetProto(O);
|
|
45902
45942
|
}
|
|
45903
|
-
:
|
|
45943
|
+
: getDunderProto
|
|
45944
|
+
? function getProto(O) {
|
|
45945
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
45946
|
+
return getDunderProto(O);
|
|
45947
|
+
}
|
|
45948
|
+
: null;
|
|
45904
45949
|
return getProto;
|
|
45905
45950
|
}
|
|
45906
45951
|
|
|
@@ -69182,4 +69227,4 @@ var yaml = /*#__PURE__*/Object.freeze({
|
|
|
69182
69227
|
});
|
|
69183
69228
|
|
|
69184
69229
|
export { HighlightJS as H, MarkdownItCallable as M, Ze$b as Z, resolveConfig as a, createTwoFilesPatch$1 as b, createSyncFn as c, dedent$1 as d, deflist_plugin as e, format2 as f, fm$3 as g, strFromU8 as h, closest as i, distance as j, isCI as k, cliProgress as l, moduleImporter as m, createInstance as n, fse as o, inter as p, runAsWorker as r, strToU8 as s, tinylr as t, watch$1 as w, zlibSync as z };
|
|
69185
|
-
//# sourceMappingURL=vendor-
|
|
69230
|
+
//# sourceMappingURL=vendor-CLyw83WG.mjs.map
|