@ea-lab/reactive-json 0.6.0 → 0.7.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/dist/VariablesDebug-1UzZWgD7.js +17782 -0
- package/dist/{lodash-CYNxjS-I.js → alterData-CjaFWyAA.js} +1368 -1348
- package/dist/component/action/HashChangeListener.js +1 -1
- package/dist/component/action/MessageListener.js +2 -2
- package/dist/component/action/Popover.js +1 -1
- package/dist/component/action/ReactOnEvent.js +1 -1
- package/dist/component/action/Redirect.js +1 -1
- package/dist/component/action/SetAttributeValue.js +1 -1
- package/dist/component/action/ToggleAttributeValue.js +1 -1
- package/dist/component/action/Tooltip.js +1 -1
- package/dist/component/action/UnsetAttribute.js +1 -1
- package/dist/component/action/UnsetAttributeValue.js +1 -1
- package/dist/component/action/index.js +1 -1
- package/dist/component/dataMapping/index.js +1 -1
- package/dist/component/dataMapping/simpleMapping.js +1 -1
- package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +6 -6
- package/dist/component/element/debug/VariablesDebug/utils.js +1 -3
- package/dist/component/element/debug/index.js +1 -1
- package/dist/component/element/form/CheckBoxField.js +1 -1
- package/dist/component/element/form/DateField.js +1 -1
- package/dist/component/element/form/NumberField.js +1 -1
- package/dist/component/element/form/SelectField.js +2 -2
- package/dist/component/element/form/TextAreaField.js +1 -1
- package/dist/component/element/form/TextField.js +1 -1
- package/dist/component/element/form/formElementsCommon.js +1 -1
- package/dist/component/element/form/index.js +1 -1
- package/dist/component/element/html/AccordionItem.js +1 -1
- package/dist/component/element/html/FolderSortableTree.js +4 -5
- package/dist/component/element/html/FormatNumeral.js +2 -2
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +1 -1
- package/dist/component/element/html/Modal.js +1 -1
- package/dist/component/element/html/PreformattedMarkup.js +2 -3
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
- package/dist/component/element/html/Tabs.js +1 -1
- package/dist/component/element/html/index.js +1 -1
- package/dist/component/element/index.js +29 -30
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +4 -5
- package/dist/component/element/special/DataFilter.js +1 -1
- package/dist/component/element/special/DelayedActions.js +1 -1
- package/dist/component/element/special/Phantom.js +1 -1
- package/dist/component/element/special/ReactiveJsonSubroot.js +4 -5
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +36 -37
- package/dist/component/reaction/addData.js +2 -2
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/moveData.js +1 -1
- package/dist/component/reaction/postMessage.js +1 -1
- package/dist/component/reaction/redirectNow.js +1 -1
- package/dist/component/reaction/removeData.js +1 -1
- package/dist/component/reaction/setClipboardData.js +1 -1
- package/dist/component/reaction/setData.js +2 -2
- package/dist/component/reaction/submitData.js +1 -1
- package/dist/component/reaction/utility/httpRequestCommon.js +3 -3
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/coreComponentsPlugin.js +1 -1
- package/dist/engine/Actions.js +4 -5
- package/dist/engine/ReactiveJsonRoot.js +3 -5
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +5 -6
- package/dist/engine/index.js +4 -4
- package/dist/engine/utility/alterData.js +2 -21
- package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
- package/dist/engine/utility/formatString.js +1 -1
- package/dist/engine/utility/index.js +4 -4
- package/dist/engine/utility/parseRjBuild.js +1002 -23
- package/dist/main.js +72 -73
- package/package.json +1 -1
- package/dist/HashChangeListener-CZjn9YZy.js +0 -8550
- package/dist/VariablesDebug-DgS3E2aX.js +0 -9305
- package/dist/js-yaml-Bw0KO4XO.js +0 -983
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as m } from "../../../
|
|
2
|
-
import "../../../
|
|
1
|
+
import { E as m } from "../../../VariablesDebug-1UzZWgD7.js";
|
|
2
|
+
import "../../../alterData-CjaFWyAA.js";
|
|
3
3
|
import "../../../engine/utility/dataMappingSystem.js";
|
|
4
|
-
import "../../../
|
|
4
|
+
import "../../../engine/utility/parseRjBuild.js";
|
|
5
5
|
export {
|
|
6
6
|
m as executeHttpRequest
|
|
7
7
|
};
|
package/dist/engine/Actions.js
CHANGED
|
@@ -2,12 +2,11 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "./GlobalDataContext.js";
|
|
4
4
|
import "./TemplateContext.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Y as s, X as d } from "../VariablesDebug-1UzZWgD7.js";
|
|
6
6
|
import "../component/action/Hide.js";
|
|
7
7
|
import "../component/action/VisuallyHide.js";
|
|
8
|
-
import "../
|
|
9
|
-
import "../VariablesDebug-DgS3E2aX.js";
|
|
8
|
+
import "../alterData-CjaFWyAA.js";
|
|
10
9
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
s as ActionDependant,
|
|
11
|
+
d as isValid
|
|
13
12
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as v } from "../VariablesDebug-1UzZWgD7.js";
|
|
3
3
|
import "./ComponentCollector.js";
|
|
4
4
|
import "./EventDispatcherProvider.js";
|
|
5
5
|
import "./GlobalDataContextProvider.js";
|
|
6
6
|
import "../ParsingDebugDisplay-8f4yL4Jw.js";
|
|
7
7
|
import "./TemplateContext.js";
|
|
8
|
-
import "
|
|
8
|
+
import "../alterData-CjaFWyAA.js";
|
|
9
9
|
import "./utility/dataMappingSystem.js";
|
|
10
10
|
import "./utility/parseRjBuild.js";
|
|
11
11
|
import "./utility/stringToBoolean.js";
|
|
12
|
-
import "../lodash-CYNxjS-I.js";
|
|
13
12
|
import "react";
|
|
14
|
-
import "../VariablesDebug-DgS3E2aX.js";
|
|
15
13
|
export {
|
|
16
|
-
|
|
14
|
+
v as ReactiveJsonRoot
|
|
17
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "./GlobalDataContext.js";
|
|
3
3
|
import "./TemplateContext.js";
|
|
4
|
-
import {
|
|
4
|
+
import { _ as u, a9 as o, $ as i, a0 as m, a1 as p, a2 as r, a3 as v } from "../VariablesDebug-1UzZWgD7.js";
|
|
5
5
|
export {
|
|
6
6
|
u as dataLocationToPath,
|
|
7
7
|
o as default,
|
package/dist/engine/View.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "./EventDispatcherContext.js";
|
|
3
4
|
import "./GlobalDataContext.js";
|
|
4
5
|
import "./TemplateContext.js";
|
|
5
|
-
import {
|
|
6
|
-
import "../
|
|
7
|
-
import "
|
|
8
|
-
import "./EventDispatcherContext.js";
|
|
9
|
-
import "../VariablesDebug-DgS3E2aX.js";
|
|
6
|
+
import { a7 as w } from "../VariablesDebug-1UzZWgD7.js";
|
|
7
|
+
import "../alterData-CjaFWyAA.js";
|
|
8
|
+
import "./utility/parseRjBuild.js";
|
|
10
9
|
import "../component/element/special/PageControls.js";
|
|
11
10
|
export {
|
|
12
|
-
|
|
11
|
+
w as View
|
|
13
12
|
};
|
package/dist/engine/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as t, Z as o, a7 as r, a4 as n, _ as i, $ as s, a0 as p, a1 as l, a5 as m, a2 as x, X as f, a6 as v, a3 as d } from "../VariablesDebug-1UzZWgD7.js";
|
|
2
2
|
import { mergeComponentCollections as c } from "./ComponentCollector.js";
|
|
3
3
|
import { EventDispatcherContext as D } from "./EventDispatcherContext.js";
|
|
4
4
|
import { EventDispatcherProvider as P, addEventListener as T, removeEventListener as b } from "./EventDispatcherProvider.js";
|
|
@@ -7,10 +7,10 @@ import { GlobalDataContextProvider as h } from "./GlobalDataContextProvider.js";
|
|
|
7
7
|
import { PaginationContext as A } from "./PaginationContext.js";
|
|
8
8
|
import { PaginationProvider as B } from "./PaginationProvider.js";
|
|
9
9
|
import { TemplateContext as S } from "./TemplateContext.js";
|
|
10
|
-
import {
|
|
10
|
+
import { a as w } from "../alterData-CjaFWyAA.js";
|
|
11
11
|
import { applyDataMapping as F } from "./utility/dataMappingSystem.js";
|
|
12
12
|
import { parseRjBuild as M } from "./utility/parseRjBuild.js";
|
|
13
|
-
import { stringToBoolean as
|
|
13
|
+
import { stringToBoolean as X } from "./utility/stringToBoolean.js";
|
|
14
14
|
export {
|
|
15
15
|
t as ActionDependant,
|
|
16
16
|
D as EventDispatcherContext,
|
|
@@ -37,6 +37,6 @@ export {
|
|
|
37
37
|
c as mergeComponentCollections,
|
|
38
38
|
M as parseRjBuild,
|
|
39
39
|
b as removeEventListener,
|
|
40
|
-
|
|
40
|
+
X as stringToBoolean,
|
|
41
41
|
d as useEvaluatedAttributes
|
|
42
42
|
};
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const D = ({ requestContext: l, responseContext: f, responseBody: e, isRjBuild: t = !1, dataProcessors: a = {} }) => {
|
|
3
|
-
if (Object.keys(a).length === 0)
|
|
4
|
-
return e;
|
|
5
|
-
const o = n.cloneDeep(e), c = t ? o.data : o;
|
|
6
|
-
let r = n.cloneDeep(c);
|
|
7
|
-
for (const [p, s] of Object.entries(a))
|
|
8
|
-
if (typeof s.callback == "function")
|
|
9
|
-
try {
|
|
10
|
-
r = s.callback({
|
|
11
|
-
requestContext: l,
|
|
12
|
-
responseContext: f,
|
|
13
|
-
dataToProcess: r,
|
|
14
|
-
originalDataToProcess: c
|
|
15
|
-
});
|
|
16
|
-
} catch (i) {
|
|
17
|
-
console.error(`Error in dataProcessor "${p}":`, i);
|
|
18
|
-
}
|
|
19
|
-
return t ? (o.data = r, o) : r;
|
|
20
|
-
};
|
|
1
|
+
import { a as t } from "../../alterData-CjaFWyAA.js";
|
|
21
2
|
export {
|
|
22
|
-
|
|
3
|
+
t as alterData
|
|
23
4
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as e } from "../../alterData-CjaFWyAA.js";
|
|
2
|
+
import { a4 as t, a5 as p, a6 as m } from "../../VariablesDebug-1UzZWgD7.js";
|
|
3
3
|
import { applyDataMapping as n } from "./dataMappingSystem.js";
|
|
4
|
-
import { parseRjBuild as
|
|
4
|
+
import { parseRjBuild as i } from "./parseRjBuild.js";
|
|
5
5
|
import { stringToBoolean as x } from "./stringToBoolean.js";
|
|
6
6
|
export {
|
|
7
7
|
e as alterData,
|
|
@@ -9,6 +9,6 @@ export {
|
|
|
9
9
|
n as applyDataMapping,
|
|
10
10
|
p as formatString,
|
|
11
11
|
m as maybeFormatString,
|
|
12
|
-
|
|
12
|
+
i as parseRjBuild,
|
|
13
13
|
x as stringToBoolean
|
|
14
14
|
};
|