@ea-lab/reactive-json 0.7.0 → 1.0.0-alpha.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/README.md +1 -3
- package/dist/TemplateSystem-kQJEKjik.js +3568 -0
- package/dist/assets/VariablesDebug.css +1 -4
- package/dist/assets/reset.css +4 -0
- package/dist/assets/usePagination.css +1 -0
- package/dist/component/action/HashChangeListener.js +29 -7
- package/dist/component/action/MessageListener.js +26 -8
- package/dist/component/action/ReactOnEvent.js +64 -8
- package/dist/component/action/Redirect.js +9 -5
- package/dist/component/action/SetAttributeValue.js +37 -5
- package/dist/component/action/ToggleAttributeValue.js +56 -5
- package/dist/component/action/UnsetAttribute.js +20 -5
- package/dist/component/action/UnsetAttributeValue.js +58 -5
- package/dist/component/action/index.js +19 -15
- package/dist/component/dataMapping/index.js +6 -3
- package/dist/component/dataMapping/simpleMapping.js +93 -2
- package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +110 -13
- package/dist/component/element/debug/index.js +2 -2
- package/dist/component/element/html/FolderSortableTree.js +131 -8
- package/dist/component/element/html/FormatNumeral.js +57 -6
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +25 -6
- package/dist/component/element/html/PreformattedMarkup.js +50 -7
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +10 -5
- package/dist/component/element/html/index.js +12 -10
- package/dist/component/element/index.js +35 -30
- package/dist/component/element/special/Count.js +21 -10
- package/dist/component/element/special/DataFilter.js +75 -6
- package/dist/component/element/special/DelayedActions.js +46 -7
- package/dist/component/element/special/Phantom.js +12 -3
- package/dist/component/element/special/ReactiveJsonBasicComponentWrapper.js +29 -0
- package/dist/component/element/special/ReactiveJsonSubroot.js +4 -3
- package/dist/component/element/special/Switch.js +78 -8
- package/dist/component/element/special/index.js +16 -10
- package/dist/component/hook/index.js +1 -1
- package/dist/component/hook/usePagination.js +172 -4
- package/dist/component/index.js +85 -63
- package/dist/component/reaction/addData.js +23 -3
- package/dist/component/reaction/fetchData.js +12 -2
- package/dist/component/reaction/index.js +34 -12
- package/dist/component/reaction/moveData.js +34 -2
- package/dist/component/reaction/postMessage.js +23 -2
- package/dist/component/reaction/redirectNow.js +6 -2
- package/dist/component/reaction/removeData.js +27 -2
- package/dist/component/reaction/setClipboardData.js +16 -2
- package/dist/component/reaction/setData.js +22 -3
- package/dist/component/reaction/submitData.js +25 -2
- package/dist/component/reaction/utility/httpRequestCommon.js +3 -2
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/coreComponentsPlugin.js +5 -2
- package/dist/dnd-kit-sortable-tree.esm-Cz1RJyIg.js +4135 -0
- package/dist/engine/Actions.js +4 -7
- package/dist/engine/ParsingDebugDisplay/ParsingDebugDisplay.js +692 -3
- package/dist/engine/ReactiveJsonRoot.js +8 -6
- package/dist/engine/TemplateSystem.js +3 -3
- package/dist/engine/View.js +2 -7
- package/dist/engine/index.js +38 -37
- package/dist/engine/utility/alterData.js +7 -1
- package/dist/engine/utility/analyzeDataOverrideReferences.js +41 -2
- package/dist/engine/utility/formElementsCommon.js +34 -0
- package/dist/engine/utility/formatString.js +19 -3
- package/dist/engine/utility/index.js +12 -11
- package/dist/httpRequestCommon-BFntjNdS.js +1799 -0
- package/dist/index-BA09SSaJ.js +26 -0
- package/dist/index-Bzk15m61.js +19 -0
- package/dist/index-CACLSxWi.js +8 -0
- package/dist/index-NNBvIV0S.js +1873 -0
- package/dist/index-OhHUX6nj.js +460 -0
- package/dist/main.js +124 -102
- package/package.json +4 -4
- package/dist/HashChangeListener-D6HwdXBJ.js +0 -8526
- package/dist/ParsingDebugDisplay-8f4yL4Jw.js +0 -696
- package/dist/VariablesDebug-pv5GGWel.js +0 -9262
- package/dist/component/action/Popover.js +0 -6
- package/dist/component/action/Tooltip.js +0 -5
- package/dist/component/element/form/CheckBoxField.js +0 -8
- package/dist/component/element/form/DateField.js +0 -8
- package/dist/component/element/form/NumberField.js +0 -8
- package/dist/component/element/form/SelectField.js +0 -8
- package/dist/component/element/form/TextAreaField.js +0 -8
- package/dist/component/element/form/TextField.js +0 -8
- package/dist/component/element/form/formElementsCommon.js +0 -4
- package/dist/component/element/form/index.js +0 -10
- package/dist/component/element/html/AccordionItem.js +0 -6
- package/dist/component/element/html/Modal.js +0 -8
- package/dist/component/element/html/Tabs.js +0 -8
- package/dist/component/element/special/BootstrapElement.js +0 -5
- package/dist/engine/PaginationProvider.js +0 -30
- package/dist/usePagination-Bb6lefHG.js +0 -353
package/dist/main.js
CHANGED
|
@@ -1,104 +1,126 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Hide as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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 {
|
|
20
|
-
import {
|
|
1
|
+
import { HashChangeListener as o } from "./component/action/HashChangeListener.js";
|
|
2
|
+
import { Hide as a } from "./component/action/Hide.js";
|
|
3
|
+
import { MessageListener as m } from "./component/action/MessageListener.js";
|
|
4
|
+
import { ReactOnEvent as s } from "./component/action/ReactOnEvent.js";
|
|
5
|
+
import { Redirect as f } from "./component/action/Redirect.js";
|
|
6
|
+
import { SetAttributeValue as l } from "./component/action/SetAttributeValue.js";
|
|
7
|
+
import { ToggleAttributeValue as c } from "./component/action/ToggleAttributeValue.js";
|
|
8
|
+
import { UnsetAttribute as D } from "./component/action/UnsetAttribute.js";
|
|
9
|
+
import { UnsetAttributeValue as g } from "./component/action/UnsetAttributeValue.js";
|
|
10
|
+
import { VisuallyHide as C } from "./component/action/VisuallyHide.js";
|
|
11
|
+
import { coreDataMappingComponents as V } from "./component/dataMapping/index.js";
|
|
12
|
+
import { coreDataProcessorComponents as T } from "./component/dataProcessor/index.js";
|
|
13
|
+
import { a as P, R as h, c as F } from "./index-OhHUX6nj.js";
|
|
14
|
+
import { usePagination as H } from "./component/hook/usePagination.js";
|
|
15
|
+
import { coreReactionComponents as M } from "./component/reaction/index.js";
|
|
16
|
+
import { A as B, H as J, V as w, d as z, e as G, a as N, b as O, c as U, i as j, n as k, u as q } from "./TemplateSystem-kQJEKjik.js";
|
|
17
|
+
import { mergeComponentCollections as W } from "./engine/ComponentCollector.js";
|
|
18
|
+
import { EventDispatcherContext as Q } from "./engine/EventDispatcherContext.js";
|
|
19
|
+
import { EventDispatcherProvider as Y, addEventListener as Z, removeEventListener as _ } from "./engine/EventDispatcherProvider.js";
|
|
20
|
+
import { GlobalDataContext as ee } from "./engine/GlobalDataContext.js";
|
|
21
|
+
import { GlobalDataContextProvider as oe } from "./engine/GlobalDataContextProvider.js";
|
|
22
|
+
import { PaginationContext as ae } from "./engine/PaginationContext.js";
|
|
23
|
+
import { TemplateContext as me } from "./engine/TemplateContext.js";
|
|
24
|
+
import { alterData as se } from "./engine/utility/alterData.js";
|
|
25
|
+
import { analyzeDataOverrideReferences as fe } from "./engine/utility/analyzeDataOverrideReferences.js";
|
|
26
|
+
import { applyDataMapping as le } from "./engine/utility/dataMappingSystem.js";
|
|
27
|
+
import { formatString as ce, maybeFormatString as de } from "./engine/utility/formatString.js";
|
|
28
|
+
import { parseRjBuild as be } from "./engine/utility/parseRjBuild.js";
|
|
29
|
+
import { stringToBoolean as ve } from "./engine/utility/stringToBoolean.js";
|
|
30
|
+
import { simpleMapping as Re } from "./component/dataMapping/simpleMapping.js";
|
|
31
|
+
import { VariablesDebug as Ae } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
|
|
32
|
+
import { FolderSortableTree as Ee } from "./component/element/html/FolderSortableTree.js";
|
|
33
|
+
import { FormatNumeral as he } from "./component/element/html/FormatNumeral.js";
|
|
34
|
+
import { LabelFromValue as Se } from "./component/element/html/LabelFromValue.js";
|
|
35
|
+
import { PreformattedMarkup as Le } from "./component/element/html/PreformattedMarkup.js";
|
|
36
|
+
import { SortableTreeItemCollapseButton as ye } from "./component/element/html/SortableTreeItemCollapseButton.js";
|
|
37
|
+
import { Count as Je } from "./component/element/special/Count.js";
|
|
38
|
+
import { DataFilter as ze } from "./component/element/special/DataFilter.js";
|
|
39
|
+
import { DelayedActions as Ne, getReactionFunctionsToExecute as Oe } from "./component/element/special/DelayedActions.js";
|
|
40
|
+
import { PageControls as je } from "./component/element/special/PageControls.js";
|
|
41
|
+
import { Phantom as qe } from "./component/element/special/Phantom.js";
|
|
42
|
+
import { ReactiveJsonBasicComponentWrapper as We } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
43
|
+
import { Switch as Qe } from "./component/element/special/Switch.js";
|
|
44
|
+
import { addData as Ye } from "./component/reaction/addData.js";
|
|
45
|
+
import { fetchData as _e } from "./component/reaction/fetchData.js";
|
|
46
|
+
import { e as et } from "./httpRequestCommon-BFntjNdS.js";
|
|
47
|
+
import { moveData as ot } from "./component/reaction/moveData.js";
|
|
48
|
+
import { postMessage as at } from "./component/reaction/postMessage.js";
|
|
49
|
+
import { redirectNow as mt } from "./component/reaction/redirectNow.js";
|
|
50
|
+
import { removeData as st } from "./component/reaction/removeData.js";
|
|
51
|
+
import { setClipboardData as ft } from "./component/reaction/setClipboardData.js";
|
|
52
|
+
import { setData as lt } from "./component/reaction/setData.js";
|
|
53
|
+
import { submitData as ct } from "./component/reaction/submitData.js";
|
|
54
|
+
import { triggerEvent as Dt } from "./component/reaction/triggerEvent.js";
|
|
21
55
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
ea as reactionFunctions,
|
|
93
|
-
ta as redirectNow,
|
|
94
|
-
oa as removeData,
|
|
95
|
-
La as removeEventListener,
|
|
96
|
-
sa as setClipboardData,
|
|
97
|
-
ra as setData,
|
|
98
|
-
ia as simpleMapping,
|
|
99
|
-
Wa as stringToBoolean,
|
|
100
|
-
na as submitData,
|
|
101
|
-
Fa as triggerEvent,
|
|
102
|
-
la as useEvaluatedAttributes,
|
|
103
|
-
Ca as usePagination
|
|
56
|
+
B as ActionDependant,
|
|
57
|
+
Je as Count,
|
|
58
|
+
ze as DataFilter,
|
|
59
|
+
Ne as DelayedActions,
|
|
60
|
+
Q as EventDispatcherContext,
|
|
61
|
+
Y as EventDispatcherProvider,
|
|
62
|
+
Ee as FolderSortableTree,
|
|
63
|
+
he as FormatNumeral,
|
|
64
|
+
ee as GlobalDataContext,
|
|
65
|
+
oe as GlobalDataContextProvider,
|
|
66
|
+
o as HashChangeListener,
|
|
67
|
+
a as Hide,
|
|
68
|
+
J as Html,
|
|
69
|
+
Se as LabelFromValue,
|
|
70
|
+
m as MessageListener,
|
|
71
|
+
je as PageControls,
|
|
72
|
+
ae as PaginationContext,
|
|
73
|
+
qe as Phantom,
|
|
74
|
+
Le as PreformattedMarkup,
|
|
75
|
+
s as ReactOnEvent,
|
|
76
|
+
We as ReactiveJsonBasicComponentWrapper,
|
|
77
|
+
P as ReactiveJsonRoot,
|
|
78
|
+
h as ReactiveJsonSubroot,
|
|
79
|
+
f as Redirect,
|
|
80
|
+
l as SetAttributeValue,
|
|
81
|
+
ye as SortableTreeItemCollapseButton,
|
|
82
|
+
Qe as Switch,
|
|
83
|
+
me as TemplateContext,
|
|
84
|
+
c as ToggleAttributeValue,
|
|
85
|
+
D as UnsetAttribute,
|
|
86
|
+
g as UnsetAttributeValue,
|
|
87
|
+
Ae as VariablesDebug,
|
|
88
|
+
w as View,
|
|
89
|
+
C as VisuallyHide,
|
|
90
|
+
Ye as addData,
|
|
91
|
+
Z as addEventListener,
|
|
92
|
+
se as alterData,
|
|
93
|
+
fe as analyzeDataOverrideReferences,
|
|
94
|
+
le as applyDataMapping,
|
|
95
|
+
V as coreDataMappingComponents,
|
|
96
|
+
T as coreDataProcessorComponents,
|
|
97
|
+
F as coreElementComponents,
|
|
98
|
+
M as coreReactionComponents,
|
|
99
|
+
z as dataLocationToPath,
|
|
100
|
+
G as evaluateAttributes,
|
|
101
|
+
N as evaluateTemplateValue,
|
|
102
|
+
O as evaluateTemplateValueCollection,
|
|
103
|
+
et as executeHttpRequest,
|
|
104
|
+
_e as fetchData,
|
|
105
|
+
ce as formatString,
|
|
106
|
+
Oe as getReactionFunctionsToExecute,
|
|
107
|
+
U as isTemplateValue,
|
|
108
|
+
j as isValid,
|
|
109
|
+
de as maybeFormatString,
|
|
110
|
+
W as mergeComponentCollections,
|
|
111
|
+
ot as moveData,
|
|
112
|
+
k as normalizeAttributesForReactJsx,
|
|
113
|
+
be as parseRjBuild,
|
|
114
|
+
at as postMessage,
|
|
115
|
+
mt as redirectNow,
|
|
116
|
+
st as removeData,
|
|
117
|
+
_ as removeEventListener,
|
|
118
|
+
ft as setClipboardData,
|
|
119
|
+
lt as setData,
|
|
120
|
+
Re as simpleMapping,
|
|
121
|
+
ve as stringToBoolean,
|
|
122
|
+
ct as submitData,
|
|
123
|
+
Dt as triggerEvent,
|
|
124
|
+
q as useEvaluatedAttributes,
|
|
125
|
+
H as usePagination
|
|
104
126
|
};
|
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": "1.0.0-alpha.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"jsonpath": "^1.1.1",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
48
|
"react": "^19.1.0",
|
|
49
|
-
"react-bootstrap": "^2.10.9",
|
|
50
49
|
"react-dom": "^19.1.0"
|
|
51
50
|
},
|
|
52
51
|
"devDependencies": {
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
"@types/react-dom": "^19.1.2",
|
|
60
59
|
"@vitejs/plugin-react": "^4.4.1",
|
|
61
60
|
"axios": "^1.8.4",
|
|
62
|
-
"bootstrap": "^5.3.5",
|
|
63
61
|
"clsx": "^2.1.1",
|
|
64
62
|
"dnd-kit-sortable-tree": "^0.1.73",
|
|
65
63
|
"eslint": "^9.25.0",
|
|
@@ -72,7 +70,6 @@
|
|
|
72
70
|
"js-yaml": "^4.1.0",
|
|
73
71
|
"jsonpath": "^1.1.1",
|
|
74
72
|
"lodash": "^4.17.21",
|
|
75
|
-
"react-bootstrap": "^2.10.9",
|
|
76
73
|
"react-router-dom": "^7.5.0",
|
|
77
74
|
"typescript": "~5.8.3",
|
|
78
75
|
"typescript-eslint": "^8.30.1",
|
|
@@ -94,5 +91,8 @@
|
|
|
94
91
|
"entrypoint": "README_LLM.md",
|
|
95
92
|
"description": "AI/LLM guide for reactive-json development",
|
|
96
93
|
"purpose": "Component creation and reactive-json usage patterns for AI assistants"
|
|
94
|
+
},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"prop-types": "^15.8.1"
|
|
97
97
|
}
|
|
98
98
|
}
|