@ea-lab/reactive-json 0.5.0 → 0.6.0
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/HashChangeListener-CZjn9YZy.js +8550 -0
- package/dist/ParsingDebugDisplay-8f4yL4Jw.js +696 -0
- package/dist/VariablesDebug-DgS3E2aX.js +9305 -0
- package/dist/assets/DebugJson.css +1 -0
- package/dist/assets/DebugList.css +1 -0
- package/dist/assets/ParsingDebugDisplay.css +1 -0
- package/dist/assets/VariablesDebug.css +4 -0
- 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/DebugMode.enum.js +4 -0
- package/dist/component/element/debug/VariablesDebug/ModeDisplay/DebugJson/DebugJson.js +7 -0
- package/dist/component/element/debug/VariablesDebug/ModeDisplay/DebugList/DebugList.js +14 -0
- package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +18 -0
- package/dist/component/element/debug/VariablesDebug/utils.js +19 -0
- package/dist/component/element/debug/index.js +4 -0
- 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 +1 -1
- 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 -3
- package/dist/component/element/html/FormatNumeral.js +1 -1
- 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 +3 -2
- 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 +28 -26
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +7 -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 +5 -4
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +20 -18
- 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 +5 -4
- package/dist/engine/ParsingDebugDisplay/ParsingDebugDisplay.js +6 -0
- package/dist/engine/ReactiveJsonRoot.js +6 -3
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +7 -3
- package/dist/engine/index.js +2 -2
- package/dist/engine/utility/alterData.js +21 -2
- 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 +39 -991
- package/dist/js-yaml-Bw0KO4XO.js +983 -0
- package/dist/{alterData-CjaFWyAA.js → lodash-CYNxjS-I.js} +1348 -1368
- package/dist/main.js +46 -44
- package/dist/utils.d.ts +5 -0
- package/package.json +4 -2
- package/dist/HashChangeListener-BaaJxyFq.js +0 -18247
package/dist/main.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { A as t, X as o, B as s, C as r, o as i, q as n, D as l, t as p, F as m, h as u, H as
|
|
1
|
+
import { A as t, X as o, B as s, C as r, o as i, q as n, D as l, t as p, F as m, h as u, H as x, i as c, L as d, M as f, j as D, N as b, v as g, P as v, k as C, R as T, Y as F, w as P, a as V, e as A, S as h, l as R, x as E, m as S, f as L, g as M, T as y, b as B, U as H, c as w, a6 as J, y as N, a3 as k, d as z, Z as G, _ as I, $ as O, a0 as U, E as j, z as q, a4 as K, u as Q, a1 as W, W as X, a5 as Y, G as Z, n as _, I as $, p as aa, r as ea, J as ta, K as oa, O as sa, Q as ra, s as ia, V as na, a2 as la } from "./HashChangeListener-CZjn9YZy.js";
|
|
2
2
|
import { Hide as ma } from "./component/action/Hide.js";
|
|
3
|
-
import { VisuallyHide as
|
|
4
|
-
import { coreDataProcessorComponents as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
3
|
+
import { VisuallyHide as xa } from "./component/action/VisuallyHide.js";
|
|
4
|
+
import { coreDataProcessorComponents as da } from "./component/dataProcessor/index.js";
|
|
5
|
+
import { V as Da } from "./VariablesDebug-DgS3E2aX.js";
|
|
6
|
+
import { PageControls as ga } from "./component/element/special/PageControls.js";
|
|
7
|
+
import { u as Ca } from "./usePagination-Bb6lefHG.js";
|
|
8
|
+
import { triggerEvent as Fa } from "./component/reaction/triggerEvent.js";
|
|
9
|
+
import { mergeComponentCollections as Va } from "./engine/ComponentCollector.js";
|
|
10
|
+
import { EventDispatcherContext as ha } from "./engine/EventDispatcherContext.js";
|
|
11
|
+
import { EventDispatcherProvider as Ea, addEventListener as Sa, removeEventListener as La } from "./engine/EventDispatcherProvider.js";
|
|
12
|
+
import { GlobalDataContext as ya } from "./engine/GlobalDataContext.js";
|
|
13
|
+
import { GlobalDataContextProvider as Ha } from "./engine/GlobalDataContextProvider.js";
|
|
14
|
+
import { PaginationContext as Ja } from "./engine/PaginationContext.js";
|
|
15
|
+
import { PaginationProvider as ka } from "./engine/PaginationProvider.js";
|
|
16
|
+
import { TemplateContext as Ga } from "./engine/TemplateContext.js";
|
|
17
|
+
import { alterData as Oa } from "./engine/utility/alterData.js";
|
|
18
|
+
import { applyDataMapping as ja } from "./engine/utility/dataMappingSystem.js";
|
|
19
|
+
import { parseRjBuild as Ka } from "./engine/utility/parseRjBuild.js";
|
|
20
|
+
import { stringToBoolean as Wa } from "./engine/utility/stringToBoolean.js";
|
|
20
21
|
export {
|
|
21
22
|
t as AccordionItem,
|
|
22
23
|
o as ActionDependant,
|
|
@@ -26,50 +27,51 @@ export {
|
|
|
26
27
|
n as DataFilter,
|
|
27
28
|
l as DateField,
|
|
28
29
|
p as DelayedActions,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
ha as EventDispatcherContext,
|
|
31
|
+
Ea as EventDispatcherProvider,
|
|
31
32
|
m as FolderSortableTree,
|
|
32
33
|
u as FormatNumeral,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
ya as GlobalDataContext,
|
|
35
|
+
Ha as GlobalDataContextProvider,
|
|
36
|
+
x as HashChangeListener,
|
|
36
37
|
ma as Hide,
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
c as Html,
|
|
39
|
+
d as LabelFromValue,
|
|
39
40
|
f as MessageListener,
|
|
40
41
|
D as Modal,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
b as NumberField,
|
|
43
|
+
ga as PageControls,
|
|
44
|
+
Ja as PaginationContext,
|
|
45
|
+
ka as PaginationProvider,
|
|
45
46
|
g as Phantom,
|
|
46
|
-
|
|
47
|
+
v as Popover,
|
|
47
48
|
C as PreformattedMarkup,
|
|
48
49
|
T as ReactOnEvent,
|
|
49
50
|
F as ReactiveJsonRoot,
|
|
50
51
|
P as ReactiveJsonSubroot,
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
V as Redirect,
|
|
53
|
+
A as SelectField,
|
|
53
54
|
h as SetAttributeValue,
|
|
54
55
|
R as SortableTreeItemCollapseButton,
|
|
55
56
|
E as Switch,
|
|
56
57
|
S as Tabs,
|
|
57
|
-
|
|
58
|
+
Ga as TemplateContext,
|
|
58
59
|
L as TextAreaField,
|
|
59
60
|
M as TextField,
|
|
60
61
|
y as ToggleAttributeValue,
|
|
61
62
|
B as Tooltip,
|
|
62
63
|
H as UnsetAttribute,
|
|
63
64
|
w as UnsetAttributeValue,
|
|
65
|
+
Da as VariablesDebug,
|
|
64
66
|
J as View,
|
|
65
|
-
|
|
67
|
+
xa as VisuallyHide,
|
|
66
68
|
N as addData,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
Sa as addEventListener,
|
|
70
|
+
Oa as alterData,
|
|
69
71
|
k as analyzeDataOverrideReferences,
|
|
70
|
-
|
|
72
|
+
ja as applyDataMapping,
|
|
71
73
|
z as coreDataMappingComponents,
|
|
72
|
-
|
|
74
|
+
da as coreDataProcessorComponents,
|
|
73
75
|
G as dataLocationToPath,
|
|
74
76
|
I as evaluateAttributes,
|
|
75
77
|
O as evaluateTemplateValue,
|
|
@@ -81,22 +83,22 @@ export {
|
|
|
81
83
|
W as isTemplateValue,
|
|
82
84
|
X as isValid,
|
|
83
85
|
Y as maybeFormatString,
|
|
84
|
-
|
|
86
|
+
Va as mergeComponentCollections,
|
|
85
87
|
Z as moveData,
|
|
86
88
|
_ as normalizeAttributesForReactJsx,
|
|
87
|
-
|
|
89
|
+
Ka as parseRjBuild,
|
|
88
90
|
$ as postMessage,
|
|
89
91
|
aa as propsDataLocationToPathAndValue,
|
|
90
92
|
ea as reactionFunctions,
|
|
91
93
|
ta as redirectNow,
|
|
92
94
|
oa as removeData,
|
|
93
|
-
|
|
95
|
+
La as removeEventListener,
|
|
94
96
|
sa as setClipboardData,
|
|
95
97
|
ra as setData,
|
|
96
98
|
ia as simpleMapping,
|
|
97
|
-
|
|
99
|
+
Wa as stringToBoolean,
|
|
98
100
|
na as submitData,
|
|
99
|
-
|
|
101
|
+
Fa as triggerEvent,
|
|
100
102
|
la as useEvaluatedAttributes,
|
|
101
|
-
|
|
103
|
+
Ca as usePagination
|
|
102
104
|
};
|
package/dist/utils.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ea-lab/reactive-json",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"build": "tsc -b ./tsconfig.lib.json && vite build",
|
|
35
35
|
"lint": "eslint .",
|
|
36
36
|
"prepublishOnly": "npm run build",
|
|
37
|
-
"preview": "vite preview"
|
|
37
|
+
"preview": "vite preview",
|
|
38
|
+
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"axios": "^1.8.4",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"glob": "^11.0.2",
|
|
68
69
|
"globals": "^16.0.0",
|
|
69
70
|
"html-react-parser": "^5.2.3",
|
|
71
|
+
"jest": "^30.0.5",
|
|
70
72
|
"js-yaml": "^4.1.0",
|
|
71
73
|
"jsonpath": "^1.1.1",
|
|
72
74
|
"lodash": "^4.17.21",
|