@forsakringskassan/docs-generator 3.16.0 → 3.17.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.
@@ -17028,7 +17028,7 @@ class Connector extends EventEmitter {
17028
17028
  }
17029
17029
  }
17030
17030
 
17031
- const get$1 = () => ({
17031
+ const get = () => ({
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$1();
17143
+ const defOpts = get();
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$1());
17525
+ const languageUtils = this.services?.languageUtils || new LanguageUtil(get());
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$1();
17575
+ const defOpts = get();
17576
17576
  const mergedInterpolation = {
17577
17577
  ...defOpts.interpolation,
17578
17578
  ...this.options.interpolation,
@@ -45876,44 +45876,6 @@ 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
-
45917
45879
  var getProto;
45918
45880
  var hasRequiredGetProto;
45919
45881
 
@@ -45924,8 +45886,6 @@ function requireGetProto () {
45924
45886
  var reflectGetProto = requireReflect_getPrototypeOf();
45925
45887
  var originalGetProto = requireObject_getPrototypeOf();
45926
45888
 
45927
- var getDunderProto = /*@__PURE__*/ requireGet();
45928
-
45929
45889
  /** @type {import('.')} */
45930
45890
  getProto = reflectGetProto
45931
45891
  ? function getProto(O) {
@@ -45940,12 +45900,7 @@ function requireGetProto () {
45940
45900
  // @ts-expect-error TS can't narrow inside a closure, for some reason
45941
45901
  return originalGetProto(O);
45942
45902
  }
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;
45903
+ : null;
45949
45904
  return getProto;
45950
45905
  }
45951
45906
 
@@ -69226,5 +69181,5 @@ var yaml = /*#__PURE__*/Object.freeze({
69226
69181
  printers: cl
69227
69182
  });
69228
69183
 
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, tinylr as n, createInstance as o, fse as p, inter as q, runAsWorker as r, strToU8 as s, ts$9 as t, watch$1 as w, zlibSync as z };
69230
- //# sourceMappingURL=vendor-BLfCdre8.mjs.map
69184
+ 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-i-8GIz5x.mjs.map