@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.
- package/@types/types.d.ts +0 -11
- package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js +48 -46
- package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.js +81 -85
- package/components/extended/index.d.ts +0 -1
- package/components/extended/index.d.ts.map +1 -1
- package/components/hook-form/index.d.ts +0 -1
- package/components/hook-form/index.d.ts.map +1 -1
- package/index.js +552 -565
- package/package.json +7 -10
- package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts +0 -5
- package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts.map +0 -1
- package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.js +0 -14
- package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts +0 -2
- package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts +0 -6
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.js +0 -380
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts +0 -3
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.js +0 -344
- package/components/extended/ReactSimpleCodeEditor/constants.d.ts +0 -83
- package/components/extended/ReactSimpleCodeEditor/constants.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/constants.js +0 -149
- package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts +0 -12
- package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/dictionary.js +0 -8
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts +0 -58
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.js +0 -1063
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts +0 -6
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.js +0 -7
- package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts +0 -6
- package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.js +0 -9
- package/components/extended/ReactSimpleCodeEditor/index.d.ts +0 -4
- package/components/extended/ReactSimpleCodeEditor/index.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts +0 -20
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.js +0 -4
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +0 -90
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.js +0 -73
- package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts +0 -3
- package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/types.d.ts +0 -460
- package/components/extended/ReactSimpleCodeEditor/types.d.ts.map +0 -1
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts +0 -7
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts.map +0 -1
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.js +0 -6
- package/components/hook-form/RHFCodeEditor/index.d.ts +0 -3
- 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;
|
|
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"}
|
package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
import { useNetwork as
|
|
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
|
|
6
|
-
import { isRecord as
|
|
7
|
-
import { normalizeEndpointParams as
|
|
8
|
-
const
|
|
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
|
|
16
|
-
const { fieldType: n, options:
|
|
17
|
-
return !n?.componentId || !
|
|
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
|
|
20
|
-
return M(t) ?
|
|
19
|
+
function j(t) {
|
|
20
|
+
return M(t) ? P(t) : !1;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return Array.isArray(t) ? `[${t.map((n) =>
|
|
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
|
|
26
|
+
return q(t.fieldType) || !I(n) ? [] : [n];
|
|
27
27
|
}
|
|
28
|
-
function
|
|
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 (!
|
|
38
|
+
if (!j(t) || !t.endpoint)
|
|
39
39
|
return;
|
|
40
|
-
const n =
|
|
40
|
+
const n = T(t.endpointParams ?? {});
|
|
41
41
|
return {
|
|
42
|
+
endpoint: t.endpoint,
|
|
42
43
|
field: t,
|
|
43
|
-
key:
|
|
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
|
|
53
|
-
const { fields: n } = t, { networkOperation:
|
|
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
|
-
}),
|
|
57
|
-
|
|
58
|
-
);
|
|
59
|
-
return h(() => {
|
|
57
|
+
}), [n]);
|
|
58
|
+
return m(() => {
|
|
60
59
|
const r = new Set(
|
|
61
|
-
|
|
60
|
+
f.map(({ key: e }) => e)
|
|
62
61
|
);
|
|
63
|
-
|
|
64
|
-
[...
|
|
65
|
-
),
|
|
66
|
-
r.has(o) || (e.abort(),
|
|
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
|
-
}, [
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
-
|
|
84
|
+
u.current.set(o, i), c({
|
|
83
85
|
method: "GET",
|
|
84
|
-
endPoint: e
|
|
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
|
|
94
|
-
d((
|
|
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)),
|
|
100
|
+
O((a) => Math.max(0, a - 1)), u.current.delete(o);
|
|
99
101
|
});
|
|
100
102
|
}));
|
|
101
|
-
}, [
|
|
102
|
-
fields:
|
|
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 =
|
|
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:
|
|
115
|
+
isLoadingOptions: b > 0
|
|
114
116
|
};
|
|
115
117
|
}
|
|
116
118
|
export {
|
|
117
|
-
|
|
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;
|
|
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
|
|
2
|
-
import { useMemo as h, useCallback as
|
|
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
|
|
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
|
|
17
|
-
import { ToastContainer as
|
|
18
|
-
import { PopupsProvider as
|
|
19
|
-
import { AreasProvider as
|
|
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
|
|
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
|
|
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:
|
|
65
|
-
environment_assets:
|
|
66
|
-
moduleId:
|
|
67
|
-
skeletonFlags:
|
|
68
|
-
moduleNameField:
|
|
69
|
-
privileges:
|
|
70
|
-
componentsDictionary:
|
|
71
|
-
onLoad:
|
|
72
|
-
activeAreasNetwork:
|
|
73
|
-
activeCookiesFromNetwork:
|
|
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:
|
|
76
|
-
forcedDeviceType:
|
|
77
|
-
areasStoreId:
|
|
78
|
-
areasStoreDevtoolsEnabled:
|
|
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,
|
|
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
|
-
|
|
104
|
+
_.configure({
|
|
106
105
|
showSpinner: !0
|
|
107
|
-
}),
|
|
106
|
+
}), _.start();
|
|
108
107
|
}, J = () => {
|
|
109
|
-
|
|
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:
|
|
118
|
-
hostApiLocal:
|
|
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:
|
|
123
|
-
environment_assets:
|
|
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
|
-
),
|
|
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(
|
|
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:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
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
|
-
|
|
195
|
+
Xo as MFIsolationApp
|
|
200
196
|
};
|
|
@@ -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,
|
|
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,
|
|
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"}
|