@floegence/floe-webapp-core 0.36.31 → 0.36.32

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.
@@ -4,42 +4,22 @@ const l = {
4
4
  inlayHintsCache: !0,
5
5
  treeViewsDnd: !0,
6
6
  actionWidget: !0
7
- }, r = "editor_full";
8
- function s(e) {
7
+ }, a = "editor_full";
8
+ function u(e) {
9
9
  return {
10
10
  ...l,
11
11
  ...e ?? {}
12
12
  };
13
13
  }
14
- const u = [
14
+ const s = [
15
15
  {
16
- id: "edcore.main",
17
- load: () => import("monaco-editor/esm/vs/editor/edcore.main.js")
18
- },
19
- {
20
- id: "suggestMemory",
21
- load: () => import("monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestMemory.js")
22
- },
23
- {
24
- id: "codeLensCache",
25
- load: () => import("monaco-editor/esm/vs/editor/contrib/codelens/browser/codeLensCache.js")
26
- },
27
- {
28
- id: "inlayHintsContribution",
29
- load: () => import("monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.js")
30
- },
31
- {
32
- id: "treeViewsDndService",
33
- load: () => import("monaco-editor/esm/vs/editor/common/services/treeViewsDndService.js")
34
- },
35
- {
36
- id: "actionWidget",
37
- load: () => import("monaco-editor/esm/vs/platform/actionWidget/browser/actionWidget.js")
16
+ id: "editor.main",
17
+ load: () => import("monaco-editor/esm/vs/editor/editor.main.js")
38
18
  }
39
19
  ], d = {
40
20
  editor_full: {
41
21
  profile: "editor_full",
42
- modules: u
22
+ modules: s
43
23
  },
44
24
  preview_basic: {
45
25
  profile: "preview_basic",
@@ -49,16 +29,16 @@ const u = [
49
29
  function f(e) {
50
30
  return e.suggestMemory === !1 && e.codeLensCache === !1 && e.inlayHintsCache === !1 && e.treeViewsDnd === !1 && e.actionWidget === !1;
51
31
  }
52
- function m(e) {
32
+ function _(e) {
53
33
  if (e?.profile)
54
34
  return e.profile;
55
35
  if (!e?.standaloneFeatures)
56
- return r;
57
- const n = s(e.standaloneFeatures);
58
- return f(n) ? "preview_basic" : r;
36
+ return a;
37
+ const n = u(e.standaloneFeatures);
38
+ return f(n) ? "preview_basic" : a;
59
39
  }
60
- function p(e) {
61
- const n = m(e);
40
+ function m(e) {
41
+ const n = _(e);
62
42
  return {
63
43
  profile: n,
64
44
  cacheKey: `profile:${n}`,
@@ -67,29 +47,29 @@ function p(e) {
67
47
  }
68
48
  function M(e) {
69
49
  const n = /* @__PURE__ */ new Map();
70
- return (a) => {
71
- const t = p(a), o = n.get(t.cacheKey);
50
+ return (i) => {
51
+ const t = m(i), o = n.get(t.cacheKey);
72
52
  if (o) return o;
73
- const i = e(t).then(() => {
53
+ const r = e(t).then(() => {
74
54
  }).catch((c) => {
75
55
  throw n.delete(t.cacheKey), c;
76
56
  });
77
- return n.set(t.cacheKey, i), i;
57
+ return n.set(t.cacheKey, r), r;
78
58
  };
79
59
  }
80
- function _(e) {
60
+ function p(e) {
81
61
  return Promise.all(e.blueprint.modules.map((n) => n.load()));
82
62
  }
83
63
  const R = M(
84
- _
64
+ p
85
65
  );
86
66
  export {
87
- r as DEFAULT_MONACO_RUNTIME_PROFILE,
67
+ a as DEFAULT_MONACO_RUNTIME_PROFILE,
88
68
  l as DEFAULT_MONACO_STANDALONE_FEATURES,
89
69
  d as MONACO_RUNTIME_BLUEPRINTS,
90
70
  M as createMonacoStandaloneRuntime,
91
71
  R as ensureMonacoStandaloneRuntime,
92
- s as normalizeMonacoRuntimeFeatureSet,
93
- m as resolveMonacoRuntimeProfile,
94
- p as resolveMonacoRuntimeRequest
72
+ u as normalizeMonacoRuntimeFeatureSet,
73
+ _ as resolveMonacoRuntimeProfile,
74
+ m as resolveMonacoRuntimeRequest
95
75
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.36.31",
3
+ "version": "0.36.32",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",