@m4l/components 9.33.1-beta-feature-731-code-editor.0 → 9.33.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.
Files changed (54) hide show
  1. package/@types/types.d.ts +0 -11
  2. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts.map +1 -1
  3. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js +48 -46
  4. package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
  5. package/components/MFIsolationApp/MFIsolationApp.js +81 -85
  6. package/components/extended/index.d.ts +0 -1
  7. package/components/extended/index.d.ts.map +1 -1
  8. package/components/hook-form/index.d.ts +0 -1
  9. package/components/hook-form/index.d.ts.map +1 -1
  10. package/index.js +552 -565
  11. package/package.json +7 -10
  12. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts +0 -5
  13. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts.map +0 -1
  14. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.js +0 -14
  15. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts +0 -2
  16. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts.map +0 -1
  17. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts +0 -6
  18. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts.map +0 -1
  19. package/components/extended/ReactSimpleCodeEditor/CodeEditor.js +0 -380
  20. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts +0 -3
  21. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts.map +0 -1
  22. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.js +0 -344
  23. package/components/extended/ReactSimpleCodeEditor/constants.d.ts +0 -83
  24. package/components/extended/ReactSimpleCodeEditor/constants.d.ts.map +0 -1
  25. package/components/extended/ReactSimpleCodeEditor/constants.js +0 -149
  26. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts +0 -12
  27. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts.map +0 -1
  28. package/components/extended/ReactSimpleCodeEditor/dictionary.js +0 -8
  29. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts +0 -58
  30. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts.map +0 -1
  31. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.js +0 -1063
  32. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts +0 -6
  33. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts.map +0 -1
  34. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.js +0 -7
  35. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts +0 -6
  36. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts.map +0 -1
  37. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.js +0 -9
  38. package/components/extended/ReactSimpleCodeEditor/index.d.ts +0 -4
  39. package/components/extended/ReactSimpleCodeEditor/index.d.ts.map +0 -1
  40. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts +0 -20
  41. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts.map +0 -1
  42. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.js +0 -4
  43. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +0 -90
  44. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts.map +0 -1
  45. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.js +0 -73
  46. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts +0 -3
  47. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts.map +0 -1
  48. package/components/extended/ReactSimpleCodeEditor/types.d.ts +0 -460
  49. package/components/extended/ReactSimpleCodeEditor/types.d.ts.map +0 -1
  50. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts +0 -7
  51. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts.map +0 -1
  52. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.js +0 -6
  53. package/components/hook-form/RHFCodeEditor/index.d.ts +0 -3
  54. package/components/hook-form/RHFCodeEditor/index.d.ts.map +0 -1
package/@types/types.d.ts CHANGED
@@ -373,10 +373,6 @@ import {
373
373
  ReactJsonViewerOwnerState,
374
374
  ReactJsonViewerSlotsType,
375
375
  } from '../components/extended/React-Json-Viewer/types';
376
- import {
377
- CodeEditorOwnerState,
378
- CodeEditorSlotsType,
379
- } from '../components/extended/ReactSimpleCodeEditor/types';
380
376
  import {
381
377
  ResizableOwnerState as ReactResizableOwnerState,
382
378
  ResizableSlotsType,
@@ -503,7 +499,6 @@ declare module '@mui/material/styles' {
503
499
  M4LFixedSizeList: FixedSizeListSlotsType;
504
500
  M4LVariableSizeList: VariableSizeListSlotsType;
505
501
  M4LReactJsonViewer: ReactJsonViewerSlotsType;
506
- M4LCodeEditor: CodeEditorSlotsType;
507
502
  M4LResizable: ResizableSlotsType;
508
503
  M4LResizableBox: ResizableBoxSlotsType;
509
504
  M4LImageSelector: ImageSelectorSlotsType;
@@ -619,7 +614,6 @@ declare module '@mui/material/styles' {
619
614
  M4LFixedSizeList: Partial<FixedSizeListOwnerState>;
620
615
  M4LVariableSizeList: Partial<VariableSizeListOwnerState>;
621
616
  M4LReactJsonViewer: Partial<ReactJsonViewerOwnerState>;
622
- M4LCodeEditor: Partial<CodeEditorOwnerState>;
623
617
  M4LResizable: Partial<ReactResizableOwnerState>;
624
618
  M4LResizableBox: Partial<ResizableBoxOwnerState>;
625
619
  M4LImageSelector: Partial<ImageSelectorOwnerState>;
@@ -1174,11 +1168,6 @@ declare module '@mui/material/styles' {
1174
1168
  styleOverrides?: ComponentsOverrides<Theme>['M4LReactJsonViewer'];
1175
1169
  variants?: ComponentsVariants['M4LReactJsonViewer'];
1176
1170
  };
1177
- M4LCodeEditor?: {
1178
- defaultProps?: ComponentsPropsList['M4LCodeEditor'];
1179
- styleOverrides?: ComponentsOverrides<Theme>['M4LCodeEditor'];
1180
- variants?: ComponentsVariants['M4LCodeEditor'];
1181
- };
1182
1171
  M4LResizable?: {
1183
1172
  defaultProps?: ComponentsPropsList['M4LResizable'];
1184
1173
  styleOverrides?: ComponentsOverrides<Theme>['M4LResizable'];
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldsWithFetchedOptions.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAuIjB;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,gCAAgC,GACtC,iCAAiC,CAiInC"}
1
+ {"version":3,"file":"useFieldsWithFetchedOptions.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAyIjB;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,gCAAgC,GACtC,iCAAiC,CAkInC"}
@@ -1,31 +1,31 @@
1
- import { useState as y, useRef as R, useEffect as h, useMemo as C } from "react";
2
- import { useNetwork as q } from "@m4l/core";
1
+ import { useState as g, useRef as y, useMemo as R, useEffect as m } from "react";
2
+ import { useNetwork as w } from "@m4l/core";
3
3
  import { normalizeOptionsResponse as E } from "./normalizeOptionsResponse.js";
4
4
  import { isSupportedDynamicFormField as M } from "../../helpers/fieldContractAllowlist/fieldContractAllowlist.js";
5
- import { isMultipleOptionField as I } from "../../helpers/optionFieldValueContract/isMultipleOptionField.js";
6
- import { isRecord as T } from "../../helpers/isRecord/isRecord.js";
7
- import { normalizeEndpointParams as N } from "../../helpers/normalizeEndpointParams/normalizeEndpointParams.js";
8
- const P = /* @__PURE__ */ new Set([
5
+ import { isMultipleOptionField as q } from "../../helpers/optionFieldValueContract/isMultipleOptionField.js";
6
+ import { isRecord as I } from "../../helpers/isRecord/isRecord.js";
7
+ import { normalizeEndpointParams as T } from "../../helpers/normalizeEndpointParams/normalizeEndpointParams.js";
8
+ const N = /* @__PURE__ */ new Set([
9
9
  "RHFSelect",
10
10
  "RHFCheckableList",
11
11
  "RHFAutocomplete",
12
12
  "RHFRadioGroup",
13
13
  "RHFImageSelector"
14
14
  ]);
15
- function j(t) {
16
- const { fieldType: n, options: u, endpoint: p } = t;
17
- return !n?.componentId || !P.has(n.componentId) || !p ? !1 : !Array.isArray(u) || u.length === 0;
15
+ function P(t) {
16
+ const { fieldType: n, options: c, endpoint: p } = t;
17
+ return !n?.componentId || !N.has(n.componentId) || !p ? !1 : !Array.isArray(c) || c.length === 0;
18
18
  }
19
- function H(t) {
20
- return M(t) ? j(t) : !1;
19
+ function j(t) {
20
+ return M(t) ? P(t) : !1;
21
21
  }
22
- function l(t) {
23
- return Array.isArray(t) ? `[${t.map((n) => l(n)).join(",")}]` : typeof t == "object" && t !== null ? `{${Object.keys(t).sort().map((n) => `${JSON.stringify(n)}:${l(t[n])}`).join(",")}}` : JSON.stringify(t);
22
+ function h(t) {
23
+ return Array.isArray(t) ? `[${t.map((n) => h(n)).join(",")}]` : typeof t == "object" && t !== null ? `{${Object.keys(t).sort().map((n) => `${JSON.stringify(n)}:${h(t[n])}`).join(",")}}` : JSON.stringify(t);
24
24
  }
25
25
  function S(t, n) {
26
- return I(t.fieldType) || !T(n) ? [] : [n];
26
+ return q(t.fieldType) || !I(n) ? [] : [n];
27
27
  }
28
- function V(t) {
28
+ function H(t) {
29
29
  if (Array.isArray(t.currentValue))
30
30
  return t.currentValue;
31
31
  const n = S(
@@ -35,12 +35,13 @@ function V(t) {
35
35
  return n.length > 0 ? n : Array.isArray(t.defaultValue) ? t.defaultValue : S(t, t.defaultValue);
36
36
  }
37
37
  function F(t) {
38
- if (!H(t) || !t.endpoint)
38
+ if (!j(t) || !t.endpoint)
39
39
  return;
40
- const n = N(t.endpointParams ?? {});
40
+ const n = T(t.endpointParams ?? {});
41
41
  return {
42
+ endpoint: t.endpoint,
42
43
  field: t,
43
- key: l({
44
+ key: h({
44
45
  componentId: t.fieldType.componentId,
45
46
  endPoint: t.endpoint,
46
47
  fieldId: t.id,
@@ -49,21 +50,19 @@ function F(t) {
49
50
  parms: n
50
51
  };
51
52
  }
52
- function K(t) {
53
- const { fields: n } = t, { networkOperation: u } = q(), [p, d] = y({}), [A, O] = y(0), c = R(/* @__PURE__ */ new Map()), f = R(/* @__PURE__ */ new Set()), m = n.flatMap((r) => {
53
+ function J(t) {
54
+ const { fields: n } = t, { networkOperation: c } = w(), [p, d] = g({}), [b, O] = g(0), u = y(/* @__PURE__ */ new Map()), l = y(/* @__PURE__ */ new Set()), f = R(() => n.flatMap((r) => {
54
55
  const e = F(r);
55
56
  return e ? [e] : [];
56
- }), g = l(
57
- m.map(({ key: r }) => r)
58
- );
59
- return h(() => {
57
+ }), [n]);
58
+ return m(() => {
60
59
  const r = new Set(
61
- m.map(({ key: e }) => e)
60
+ f.map(({ key: e }) => e)
62
61
  );
63
- f.current = new Set(
64
- [...f.current].filter((e) => r.has(e))
65
- ), c.current.forEach((e, o) => {
66
- r.has(o) || (e.abort(), c.current.delete(o));
62
+ l.current = new Set(
63
+ [...l.current].filter((e) => r.has(e))
64
+ ), u.current.forEach((e, o) => {
65
+ r.has(o) || (e.abort(), u.current.delete(o));
67
66
  }), d((e) => {
68
67
  let o = !1;
69
68
  const s = {};
@@ -71,17 +70,20 @@ function K(t) {
71
70
  r.has(i) ? s[i] = a : o = !0;
72
71
  return o ? s : e;
73
72
  });
74
- }, [g]), h(() => () => {
75
- c.current.forEach((r) => {
76
- r.abort();
77
- }), c.current.clear();
78
- }, []), h(() => {
79
- const r = m.filter(({ key: e }) => !f.current.has(e));
80
- r.length !== 0 && (r.forEach(({ key: e }) => f.current.add(e)), O((e) => e + r.length), r.forEach(({ field: e, key: o, parms: s }) => {
73
+ }, [f]), m(() => {
74
+ const r = u.current;
75
+ return () => {
76
+ r.forEach((e) => {
77
+ e.abort();
78
+ }), r.clear();
79
+ };
80
+ }, []), m(() => {
81
+ const r = f.filter(({ key: e }) => !l.current.has(e));
82
+ r.length !== 0 && (r.forEach(({ key: e }) => l.current.add(e)), O((e) => e + r.length), r.forEach(({ endpoint: e, key: o, parms: s }) => {
81
83
  const i = new AbortController();
82
- c.current.set(o, i), u({
84
+ u.current.set(o, i), c({
83
85
  method: "GET",
84
- endPoint: e.endpoint,
86
+ endPoint: e,
85
87
  parms: s,
86
88
  timeout: 3e4,
87
89
  isRemote: !0,
@@ -90,29 +92,29 @@ function K(t) {
90
92
  }).then((a) => {
91
93
  if (i.signal.aborted)
92
94
  return;
93
- const b = E(a);
94
- d((w) => ({ ...w, [o]: b }));
95
+ const A = E(a);
96
+ d((C) => ({ ...C, [o]: A }));
95
97
  }).catch(() => {
96
98
  i.signal.aborted || d((a) => ({ ...a, [o]: [] }));
97
99
  }).finally(() => {
98
- O((a) => Math.max(0, a - 1)), c.current.delete(o);
100
+ O((a) => Math.max(0, a - 1)), u.current.delete(o);
99
101
  });
100
102
  }));
101
- }, [g, u]), {
102
- fields: C(() => n.map((r) => {
103
+ }, [f, c]), {
104
+ fields: R(() => n.map((r) => {
103
105
  const e = F(r);
104
106
  if (!e)
105
107
  return r;
106
- const o = V(r), s = p[e.key] ?? o;
108
+ const o = H(r), s = p[e.key] ?? o;
107
109
  return {
108
110
  ...r,
109
111
  options: s.length > 0 ? s : o,
110
112
  endpoint: void 0
111
113
  };
112
114
  }), [p, n]),
113
- isLoadingOptions: A > 0
115
+ isLoadingOptions: b > 0
114
116
  };
115
117
  }
116
118
  export {
117
- K as useFieldsWithFetchedOptions
119
+ J as useFieldsWithFetchedOptions
118
120
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAuEjB;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,oDAkLxD"}
1
+ {"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAsEjB;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,oDAiLxD"}
@@ -1,9 +1,9 @@
1
- import { jsx as o, jsxs as A } from "@emotion/react/jsx-runtime";
2
- import { useMemo as h, useCallback as _, useId as X } from "react";
1
+ import { jsx as o, jsxs as w } from "@emotion/react/jsx-runtime";
2
+ import { useMemo as h, useCallback as A, useId as X } from "react";
3
3
  import { unstable_HistoryRouter as Y } from "react-router-dom";
4
4
  import { createBrowserHistory as oo } from "history";
5
5
  import eo from "eventemitter3";
6
- import P from "nprogress";
6
+ import _ from "nprogress";
7
7
  import { DeviceTypeProvider as to, ThemeSettingsProvider as ro, LocalesProvider as so, getLocaleFromNetwork as io, AppearanceComponentProvider as no } from "@m4l/graphics";
8
8
  import { axiosOperation as ao, EnvironmentProvider as mo, HostToolsProvider as lo, NetworkProvider as po, AuthProvider as co, useAuth as ho, useEnvironment as uo, useNetwork as vo } from "@m4l/core";
9
9
  import { WrapperAppBarContentChildrenStyled as fo, WrapperContentChildrenStyled as Ao } from "./slots/MFIsolationAppSlots.js";
@@ -11,15 +11,14 @@ import { MFIsolationAppErrorBoundary as _o } from "./MFIsolationAppErrorBoundary
11
11
  import Po from "../ToastContainer/helpers/toaster.js";
12
12
  import { ShellObservabilityProvider as Io } from "../../contexts/ShellObservabilityContext/ShellObservabilityContext.js";
13
13
  import { MFAuthApp as bo } from "./subcomponents/MFAuthApp/MFAuthApp.js";
14
- import { ThemeSettingsHostToolsBridge as go } from "./subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.js";
15
14
  import { BaseModule as yo } from "../BaseModule/BaseModule.js";
16
- import { SettingsLayout as ko } from "../SettingsLayout/SettingsLayout.js";
17
- import { ToastContainer as wo } from "../ToastContainer/ToastContainer.js";
18
- import { PopupsProvider as Ro } from "../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
19
- import { AreasProvider as So } from "../areas/contexts/AreasContext/index.js";
15
+ import { SettingsLayout as go } from "../SettingsLayout/SettingsLayout.js";
16
+ import { ToastContainer as ko } from "../ToastContainer/ToastContainer.js";
17
+ import { PopupsProvider as wo } from "../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
18
+ import { AreasProvider as Ro } from "../areas/contexts/AreasContext/index.js";
20
19
  import { AppBarSettings as Fo } from "./subcomponents/AppBarSettings/AppBarSettings.js";
21
20
  import { HostRuntimeProvider as Lo } from "../../contexts/HostRuntimeContext/HostRuntimeContext.js";
22
- import { MFObservabilityProvider as To } from "../WindowBase/contexts/MFObservabilityContext/MFObservabilityContext.js";
21
+ import { MFObservabilityProvider as So } from "../WindowBase/contexts/MFObservabilityContext/MFObservabilityContext.js";
23
22
  const R = oo({ window });
24
23
  function Co(u) {
25
24
  const { children: v, hostRuntime: i, resolveHostRuntime: n } = u, { user: t } = ho(), {
@@ -48,7 +47,7 @@ function Co(u) {
48
47
  ]);
49
48
  return /* @__PURE__ */ o(Lo, { value: f, children: v });
50
49
  }
51
- function oe(u) {
50
+ function Xo(u) {
52
51
  const {
53
52
  children: v,
54
53
  user: i,
@@ -61,33 +60,33 @@ function oe(u) {
61
60
  host_api_icons: p,
62
61
  hostApiRemote: c,
63
62
  host_api_remote: f,
64
- host_static_assets: S,
65
- environment_assets: F,
66
- moduleId: I,
67
- skeletonFlags: L,
68
- moduleNameField: T,
69
- privileges: C,
70
- componentsDictionary: E,
71
- onLoad: H,
72
- activeAreasNetwork: M = !1,
73
- activeCookiesFromNetwork: x = !1,
63
+ host_static_assets: F,
64
+ environment_assets: L,
65
+ moduleId: P,
66
+ skeletonFlags: S,
67
+ moduleNameField: C,
68
+ privileges: E,
69
+ componentsDictionary: M,
70
+ onLoad: T,
71
+ activeAreasNetwork: x = !1,
72
+ activeCookiesFromNetwork: H = !1,
74
73
  // observedDivRef,
75
- moduleDictionaryLoaded: B,
76
- forcedDeviceType: N,
77
- areasStoreId: b,
78
- areasStoreDevtoolsEnabled: g,
74
+ moduleDictionaryLoaded: N,
75
+ forcedDeviceType: B,
76
+ areasStoreId: I,
77
+ areasStoreDevtoolsEnabled: b,
79
78
  appBarSettings: D = !0,
80
79
  axiosOperation: O = ao,
81
80
  googleMapsApiKey: j,
82
81
  hostRuntime: W,
83
82
  observability: y,
84
83
  resolveHostRuntime: $
85
- } = u, k = a ?? m ?? "", d = c ?? f ?? "", K = l ?? p ?? `${d}/main/icons`, e = h(() => new eo(), []), Z = _(
84
+ } = u, g = a ?? m ?? "", d = c ?? f ?? "", K = l ?? p ?? `${d}/main/icons`, e = h(() => new eo(), []), Z = A(
86
85
  (r, s) => {
87
86
  e.on(r, s);
88
87
  },
89
88
  [e]
90
- ), q = _(
89
+ ), q = A(
91
90
  (r, s) => {
92
91
  if (s === null) {
93
92
  e.removeListener(r);
@@ -96,17 +95,17 @@ function oe(u) {
96
95
  e.removeListener(r, s);
97
96
  },
98
97
  [e]
99
- ), z = _(
98
+ ), z = A(
100
99
  (r, s) => {
101
100
  e.emit(r, s);
102
101
  },
103
102
  [e]
104
103
  ), G = () => {
105
- P.configure({
104
+ _.configure({
106
105
  showSpinner: !0
107
- }), P.start();
106
+ }), _.start();
108
107
  }, J = () => {
109
- P.done();
108
+ _.done();
110
109
  }, Q = h(
111
110
  () => ({
112
111
  host: "",
@@ -114,19 +113,19 @@ function oe(u) {
114
113
  domain_token: "lab1",
115
114
  domainToken: "lab1",
116
115
  database: t,
117
- host_api_local: k,
118
- hostApiLocal: k,
116
+ host_api_local: g,
117
+ hostApiLocal: g,
119
118
  host_api_remote: d,
120
119
  hostApiRemote: d,
121
120
  hostRemote: d,
122
- host_static_assets: S,
123
- environment_assets: F,
121
+ host_static_assets: F,
122
+ environment_assets: L,
124
123
  hostApiIcons: K,
125
124
  googleMapsApiKey: j
126
125
  }),
127
126
  // eslint-disable-next-line react-hooks/exhaustive-deps
128
127
  []
129
- ), w = X(), U = Po(w), V = h(
128
+ ), k = X(), U = Po(k), V = h(
130
129
  () => ({
131
130
  history: R,
132
131
  toast: U,
@@ -139,62 +138,59 @@ function oe(u) {
139
138
  // eslint-disable-next-line react-hooks/exhaustive-deps
140
139
  []
141
140
  );
142
- return /* @__PURE__ */ o(mo, { ...Q, children: /* @__PURE__ */ o(lo, { ...V, children: /* @__PURE__ */ o(po, { axiosOperation: O, children: /* @__PURE__ */ o(Io, { value: y, children: /* @__PURE__ */ o(To, { value: y, children: /* @__PURE__ */ o(
141
+ return /* @__PURE__ */ o(mo, { ...Q, children: /* @__PURE__ */ o(lo, { ...V, children: /* @__PURE__ */ o(po, { axiosOperation: O, children: /* @__PURE__ */ o(Io, { value: y, children: /* @__PURE__ */ o(So, { value: y, children: /* @__PURE__ */ o(
143
142
  Y,
144
143
  {
145
144
  history: R,
146
145
  future: { v7_startTransition: !0, v7_relativeSplatPath: !0 },
147
- children: /* @__PURE__ */ o(to, { forcedDeviceType: N, children: /* @__PURE__ */ o(co, { children: /* @__PURE__ */ o(bo, { user: i, pwd: n, children: /* @__PURE__ */ A(ro, { children: [
148
- /* @__PURE__ */ o(go, {}),
149
- /* @__PURE__ */ o(so, { isMicroFrontEnd: !1, getLocaleFromNetwork: io, children: /* @__PURE__ */ o(
150
- yo,
151
- {
152
- moduleId: I,
153
- privileges: C,
154
- skeletonFlags: L,
155
- componentsDictionary: E,
156
- moduleNameField: T,
157
- moduleDictionaryLoaded: B,
158
- children: /* @__PURE__ */ o(_o, { moduleId: I, children: /* @__PURE__ */ A(no, { children: [
159
- /* @__PURE__ */ o(ko, {}),
160
- /* @__PURE__ */ o(wo, { containerId: w }),
161
- " ",
162
- /* @__PURE__ */ o(
163
- Co,
164
- {
165
- hostRuntime: W,
166
- resolveHostRuntime: $,
167
- children: /* @__PURE__ */ o(
168
- Ro,
169
- {
170
- baseZindex: 1e3,
171
- storeId: b,
172
- storeDevtoolsEnabled: g,
173
- children: /* @__PURE__ */ o(
174
- So,
175
- {
176
- storeId: b,
177
- storeDevtoolsEnabled: g,
178
- onLoad: H,
179
- loadAreasFromNetwork: M,
180
- loadCookiesFromNetwork: x,
181
- children: /* @__PURE__ */ A(fo, { children: [
182
- D && /* @__PURE__ */ o(Fo, {}),
183
- /* @__PURE__ */ o(Ao, { children: v })
184
- ] })
185
- }
186
- )
187
- }
188
- )
189
- }
190
- )
191
- ] }) })
192
- }
193
- ) })
194
- ] }) }) }) })
146
+ children: /* @__PURE__ */ o(to, { forcedDeviceType: B, children: /* @__PURE__ */ o(co, { children: /* @__PURE__ */ o(bo, { user: i, pwd: n, children: /* @__PURE__ */ o(ro, { children: /* @__PURE__ */ o(so, { isMicroFrontEnd: !1, getLocaleFromNetwork: io, children: /* @__PURE__ */ o(
147
+ yo,
148
+ {
149
+ moduleId: P,
150
+ privileges: E,
151
+ skeletonFlags: S,
152
+ componentsDictionary: M,
153
+ moduleNameField: C,
154
+ moduleDictionaryLoaded: N,
155
+ children: /* @__PURE__ */ o(_o, { moduleId: P, children: /* @__PURE__ */ w(no, { children: [
156
+ /* @__PURE__ */ o(go, {}),
157
+ /* @__PURE__ */ o(ko, { containerId: k }),
158
+ " ",
159
+ /* @__PURE__ */ o(
160
+ Co,
161
+ {
162
+ hostRuntime: W,
163
+ resolveHostRuntime: $,
164
+ children: /* @__PURE__ */ o(
165
+ wo,
166
+ {
167
+ baseZindex: 1e3,
168
+ storeId: I,
169
+ storeDevtoolsEnabled: b,
170
+ children: /* @__PURE__ */ o(
171
+ Ro,
172
+ {
173
+ storeId: I,
174
+ storeDevtoolsEnabled: b,
175
+ onLoad: T,
176
+ loadAreasFromNetwork: x,
177
+ loadCookiesFromNetwork: H,
178
+ children: /* @__PURE__ */ w(fo, { children: [
179
+ D && /* @__PURE__ */ o(Fo, {}),
180
+ /* @__PURE__ */ o(Ao, { children: v })
181
+ ] })
182
+ }
183
+ )
184
+ }
185
+ )
186
+ }
187
+ )
188
+ ] }) })
189
+ }
190
+ ) }) }) }) }) })
195
191
  }
196
192
  ) }) }) }) }) });
197
193
  }
198
194
  export {
199
- oe as MFIsolationApp
195
+ Xo as MFIsolationApp
200
196
  };
@@ -3,6 +3,5 @@ export * from './React-resizable-panels';
3
3
  export * from './React-Spinners';
4
4
  export * from './React-Window';
5
5
  export * from './React-Json-Viewer';
6
- export * from './ReactSimpleCodeEditor';
7
6
  export * from './mui';
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/extended/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/extended/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export { RHFAutocomplete } from './RHFAutocomplete/RHFAutocomplete';
2
2
  export * from './RHFColorPicker';
3
- export * from './RHFCodeEditor';
4
3
  export { getRHFAutocompleteComponentsDictionary } from './RHFAutocomplete/dictionary';
5
4
  export { RHFAutocompleteAsync } from './RHFAutocompleteAsync/RHFAutocompleteAsync';
6
5
  export * from './RHFImageSelector';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}