@dxs-ts/eveli-ide 0.0.314 → 0.0.315

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,6 +5,7 @@ export type LocalCode = string;
5
5
  export interface LocaleProviderProps {
6
6
  children: React.ReactNode;
7
7
  options?: LocaleApi.Localizations;
8
+ defaultLocale?: () => string;
8
9
  }
9
10
  export declare const LocaleProvider: React.FC<LocaleProviderProps>;
10
11
  export declare const useLocale: () => LocaleApi.LocaleContextType;
@@ -1,4 +1,4 @@
1
- import { m as et } from "./index-BeBIAqVh.js";
1
+ import { m as et } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-BeBIAqVh.js";
1
+ import { m as f } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-BeBIAqVh.js";
1
+ import { m as l } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-BeBIAqVh.js";
1
+ import { m as s } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as lt } from "./index-BeBIAqVh.js";
1
+ import { m as lt } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -170896,37 +170896,37 @@ zr({
170896
170896
  id: "freemarker2",
170897
170897
  extensions: [".ftl", ".ftlh", ".ftlx"],
170898
170898
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
170899
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagAutoInterpolationDollar)
170899
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagAutoInterpolationDollar)
170900
170900
  });
170901
170901
  zr({
170902
170902
  id: "freemarker2.tag-angle.interpolation-dollar",
170903
170903
  aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
170904
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagAngleInterpolationDollar)
170904
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagAngleInterpolationDollar)
170905
170905
  });
170906
170906
  zr({
170907
170907
  id: "freemarker2.tag-bracket.interpolation-dollar",
170908
170908
  aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
170909
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagBracketInterpolationDollar)
170909
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagBracketInterpolationDollar)
170910
170910
  });
170911
170911
  zr({
170912
170912
  id: "freemarker2.tag-angle.interpolation-bracket",
170913
170913
  aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
170914
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagAngleInterpolationBracket)
170914
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagAngleInterpolationBracket)
170915
170915
  });
170916
170916
  zr({
170917
170917
  id: "freemarker2.tag-bracket.interpolation-bracket",
170918
170918
  aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
170919
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagBracketInterpolationBracket)
170919
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagBracketInterpolationBracket)
170920
170920
  });
170921
170921
  zr({
170922
170922
  id: "freemarker2.tag-auto.interpolation-dollar",
170923
170923
  aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
170924
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagAutoInterpolationDollar)
170924
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagAutoInterpolationDollar)
170925
170925
  });
170926
170926
  zr({
170927
170927
  id: "freemarker2.tag-auto.interpolation-bracket",
170928
170928
  aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
170929
- loader: () => import("./freemarker2-BHQ2drUK.js").then((i) => i.TagAutoInterpolationBracket)
170929
+ loader: () => import("./freemarker2-CuCjQKg2.js").then((i) => i.TagAutoInterpolationBracket)
170930
170930
  });
170931
170931
  /*!-----------------------------------------------------------------------------
170932
170932
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -170964,7 +170964,7 @@ zr({
170964
170964
  extensions: [".handlebars", ".hbs"],
170965
170965
  aliases: ["Handlebars", "handlebars", "hbs"],
170966
170966
  mimetypes: ["text/x-handlebars-template"],
170967
- loader: () => import("./handlebars-C7JYuIDU.js")
170967
+ loader: () => import("./handlebars-BM0Ge2Lp.js")
170968
170968
  });
170969
170969
  /*!-----------------------------------------------------------------------------
170970
170970
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -170989,7 +170989,7 @@ zr({
170989
170989
  extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
170990
170990
  aliases: ["HTML", "htm", "html", "xhtml"],
170991
170991
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
170992
- loader: () => import("./html-2pWgwral.js")
170992
+ loader: () => import("./html-BDOvZDof.js")
170993
170993
  });
170994
170994
  /*!-----------------------------------------------------------------------------
170995
170995
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171030,7 +171030,7 @@ zr({
171030
171030
  filenames: ["jakefile"],
171031
171031
  aliases: ["JavaScript", "javascript", "js"],
171032
171032
  mimetypes: ["text/javascript"],
171033
- loader: () => import("./javascript-DPvcpgLm.js")
171033
+ loader: () => import("./javascript-Q_a2S6Ok.js")
171034
171034
  });
171035
171035
  /*!-----------------------------------------------------------------------------
171036
171036
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171105,7 +171105,7 @@ zr({
171105
171105
  extensions: [".liquid", ".html.liquid"],
171106
171106
  aliases: ["Liquid", "liquid"],
171107
171107
  mimetypes: ["application/liquid"],
171108
- loader: () => import("./liquid-0f245olI.js")
171108
+ loader: () => import("./liquid-BjljuavZ.js")
171109
171109
  });
171110
171110
  /*!-----------------------------------------------------------------------------
171111
171111
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171141,7 +171141,7 @@ zr({
171141
171141
  id: "mdx",
171142
171142
  extensions: [".mdx"],
171143
171143
  aliases: ["MDX", "mdx"],
171144
- loader: () => import("./mdx-C2zQg16X.js")
171144
+ loader: () => import("./mdx-cVlp82KX.js")
171145
171145
  });
171146
171146
  /*!-----------------------------------------------------------------------------
171147
171147
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171336,7 +171336,7 @@ zr({
171336
171336
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
171337
171337
  aliases: ["Python", "py"],
171338
171338
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
171339
- loader: () => import("./python-BpySB54s.js")
171339
+ loader: () => import("./python-DF4LKK2S.js")
171340
171340
  });
171341
171341
  /*!-----------------------------------------------------------------------------
171342
171342
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171373,7 +171373,7 @@ zr({
171373
171373
  extensions: [".cshtml"],
171374
171374
  aliases: ["Razor", "razor"],
171375
171375
  mimetypes: ["text/x-cshtml"],
171376
- loader: () => import("./razor-BV2rWr-o.js")
171376
+ loader: () => import("./razor-CU3PWZH4.js")
171377
171377
  });
171378
171378
  /*!-----------------------------------------------------------------------------
171379
171379
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171625,7 +171625,7 @@ zr({
171625
171625
  extensions: [".ts", ".tsx", ".cts", ".mts"],
171626
171626
  aliases: ["TypeScript", "ts", "typescript"],
171627
171627
  mimetypes: ["text/typescript"],
171628
- loader: () => import("./typescript-9_S_HZdP.js")
171628
+ loader: () => import("./typescript-CNTCLmx4.js")
171629
171629
  });
171630
171630
  /*!-----------------------------------------------------------------------------
171631
171631
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171693,7 +171693,7 @@ zr({
171693
171693
  firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
171694
171694
  aliases: ["XML", "xml"],
171695
171695
  mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
171696
- loader: () => import("./xml-B1MD7PMR.js")
171696
+ loader: () => import("./xml-B3ppzT7u.js")
171697
171697
  });
171698
171698
  /*!-----------------------------------------------------------------------------
171699
171699
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171706,7 +171706,7 @@ zr({
171706
171706
  extensions: [".yaml", ".yml"],
171707
171707
  aliases: ["YAML", "yaml", "YML", "yml"],
171708
171708
  mimetypes: ["application/x-yaml", "text/x-yaml"],
171709
- loader: () => import("./yaml-FPPwBAHs.js")
171709
+ loader: () => import("./yaml-DrkdS-x7.js")
171710
171710
  });
171711
171711
  /*!-----------------------------------------------------------------------------
171712
171712
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -171809,7 +171809,7 @@ var Xvt = class {
171809
171809
  );
171810
171810
  WQ.languages.css = { cssDefaults: tFn, lessDefaults: iFn, scssDefaults: nFn };
171811
171811
  function qvt() {
171812
- return import("./cssMode-1AMQXxtB.js");
171812
+ return import("./cssMode-CLC8uOs-.js");
171813
171813
  }
171814
171814
  WQ.languages.onLanguage("less", () => {
171815
171815
  qvt().then((i) => i.setupMode(iFn));
@@ -171915,7 +171915,7 @@ L5e.languages.html = {
171915
171915
  registerHTMLLanguageService: I5e
171916
171916
  };
171917
171917
  function Ebr() {
171918
- return import("./htmlMode-DIrtDufo.js");
171918
+ return import("./htmlMode-BUngA79x.js");
171919
171919
  }
171920
171920
  function I5e(i, e = E5e, t = T5e(i)) {
171921
171921
  const r = new Cbr(i, e, t);
@@ -171992,7 +171992,7 @@ var Obr = class {
171992
171992
  ), Fbr = () => lFn().then((i) => i.getWorker());
171993
171993
  Oge.languages.json = { jsonDefaults: aFn, getWorker: Fbr };
171994
171994
  function lFn() {
171995
- return import("./jsonMode-kxToGJP4.js");
171995
+ return import("./jsonMode-Cvjc8nTA.js");
171996
171996
  }
171997
171997
  Oge.languages.register({
171998
171998
  id: "json",
@@ -172156,7 +172156,7 @@ Fq.languages.typescript = {
172156
172156
  getJavaScriptWorker: Zbr
172157
172157
  };
172158
172158
  function N5e() {
172159
- return import("./tsMode-BTsrJqY5.js");
172159
+ return import("./tsMode-BLAFyNmJ.js");
172160
172160
  }
172161
172161
  Fq.languages.onLanguage("typescript", () => N5e().then((i) => i.setupTypeScript(mFn)));
172162
172162
  Fq.languages.onLanguage("javascript", () => N5e().then((i) => i.setupJavaScript(bFn)));
@@ -253570,7 +253570,7 @@ function S7r(i) {
253570
253570
  });
253571
253571
  return { tenantConfig: o, pending: a };
253572
253572
  }
253573
- const mEn = { tag: "eveli-ide-0.0.314", built: "28/05/2025" }, a_n = Os("worker/rest/api/version.GET")({
253573
+ const mEn = { tag: "eveli-ide-0.0.315", built: "29/05/2025" }, a_n = Os("worker/rest/api/version.GET")({
253574
253574
  hook: k7r
253575
253575
  });
253576
253576
  function k7r(i) {
@@ -254147,7 +254147,7 @@ const XPe = "EveliLocales", q6r = () => ki({
254147
254147
  fi: BSi,
254148
254148
  sv: zSi
254149
254149
  }, d_n = de.createContext({}), ZYr = (i) => {
254150
- const { options: e = {} } = i, t = de.useMemo(() => rjr(e), [e]), [r, o] = de.useState(sjr()), a = de.useMemo(() => Object.freeze({ locale: r, setLocale: o }), [r]), c = t[r];
254150
+ const { options: e = {} } = i, t = de.useMemo(() => rjr(e), [e]), [r, o] = de.useState(sjr(i)), a = de.useMemo(() => Object.freeze({ locale: r, setLocale: o }), [r]), c = t[r];
254151
254151
  return /* @__PURE__ */ k(d_n.Provider, { value: a, children: /* @__PURE__ */ k(eTn, { locale: r, messages: c, onError: () => {
254152
254152
  }, children: /* @__PURE__ */ k(WSi, { dateAdapter: HSi, adapterLocale: ijr[r], children: i.children }) }) });
254153
254153
  }, Zm = () => de.useContext(d_n);
@@ -254161,26 +254161,29 @@ function rjr(i) {
254161
254161
  e[t] || (e[t] = r);
254162
254162
  return e;
254163
254163
  }
254164
- const sjr = () => {
254165
- let i = "", e = !1;
254166
- for (const r of window.location.pathname.split("/")) {
254167
- if (r === "secured" || r === "public") {
254168
- e = !0;
254164
+ const sjr = (i) => {
254165
+ const e = i.defaultLocale ? i.defaultLocale() : void 0;
254166
+ if (e)
254167
+ return e;
254168
+ let t = "", r = !1;
254169
+ for (const a of window.location.pathname.split("/")) {
254170
+ if (a === "secured" || a === "public") {
254171
+ r = !0;
254169
254172
  continue;
254170
254173
  }
254171
- if (e) {
254172
- i = r;
254174
+ if (r) {
254175
+ t = a;
254173
254176
  break;
254174
254177
  }
254175
254178
  }
254176
- let t = "en";
254177
- if (i)
254178
- t = i;
254179
+ let o = "en";
254180
+ if (t)
254181
+ o = t;
254179
254182
  else {
254180
- const r = navigator.language;
254181
- r.length > 2 ? t = r.split("-")[0] : t = r;
254183
+ const a = navigator.language;
254184
+ a.length > 2 ? o = a.split("-")[0] : o = a;
254182
254185
  }
254183
- return t !== "en" && t !== "fi" ? "en" : t;
254186
+ return o !== "en" && o !== "fi" ? "en" : o;
254184
254187
  }, KPe = "EveliLogin", ojr = nn("div", {
254185
254188
  name: KPe,
254186
254189
  slot: "Root",
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J as s, K as i, j as o, i as l, E as t, n, o as r, d as v, b as E, c, x as T, y as C, q as m, h as u, k as S, g as d, f as L, w as P, p as b, u as k, v as p, s as x, a2 as I, z as g, F as f, Z as A, I as h, C as F, H as R, Q as D, U as y, M as B, N as O, P as H, R as M, _, S as K, T as N, $ as Q, a0 as U, W, Y as Z, e as j, a as q, l as w, A as z, B as G, r as J, L as V, D as X, G as Y, V as $, O as ee, X as ae, a1 as se } from "./index-BeBIAqVh.js";
1
+ import { J as s, K as i, j as o, i as l, E as t, n, o as r, d as v, b as E, c, x as T, y as C, q as m, h as u, k as S, g as d, f as L, w as P, p as b, u as k, v as p, s as x, a2 as I, z as g, F as f, Z as A, I as h, C as F, H as R, Q as D, U as y, M as B, N as O, P as H, R as M, _, S as K, T as N, $ as Q, a0 as U, W, Y as Z, e as j, a as q, l as w, A as z, B as G, r as J, L as V, D as X, G as Y, V as $, O as ee, X as ae, a1 as se } from "./index-o9Fqoh2C.js";
2
2
  export {
3
3
  s as ConfigContext,
4
4
  i as ConfigContextProvider,
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-9_S_HZdP.js";
1
+ import { conf as t, language as e } from "./typescript-CNTCLmx4.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as Et } from "./index-BeBIAqVh.js";
1
+ import { m as Et } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-BeBIAqVh.js";
1
+ import { m as l } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-BeBIAqVh.js";
1
+ import { m as s } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as o } from "./index-BeBIAqVh.js";
1
+ import { m as o } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m } from "./index-BeBIAqVh.js";
1
+ import { m } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { t as O, m as I } from "./index-BeBIAqVh.js";
1
+ import { t as O, m as I } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-BeBIAqVh.js";
1
+ import { m as s } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as r } from "./index-BeBIAqVh.js";
1
+ import { m as r } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-BeBIAqVh.js";
1
+ import { m as l } from "./index-o9Fqoh2C.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxs-ts/eveli-ide",
3
- "version": "0.0.314",
3
+ "version": "0.0.315",
4
4
  "homepage": "https://github.com/digiexpress-io/digiexpress-parent",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",