@ea-lab/reactive-json 0.7.1 → 1.0.0-alpha.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/README.md +1 -3
- package/dist/View-D8TN1L2h.js +126 -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 -12
- package/dist/component/element/debug/index.js +2 -2
- package/dist/component/element/html/FolderSortableTree.js +133 -7
- package/dist/component/element/html/FormatNumeral.js +58 -6
- package/dist/component/element/html/Html.js +5 -3
- package/dist/component/element/html/LabelFromValue.js +27 -6
- package/dist/component/element/html/PreformattedMarkup.js +51 -6
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +10 -5
- package/dist/component/element/html/index.js +11 -10
- package/dist/component/element/index.js +34 -29
- package/dist/component/element/special/Count.js +23 -12
- package/dist/component/element/special/DataFilter.js +76 -6
- package/dist/component/element/special/DelayedActions.js +47 -7
- package/dist/component/element/special/Phantom.js +13 -3
- package/dist/component/element/special/ReactiveJsonBasicComponentWrapper.js +32 -0
- package/dist/component/element/special/ReactiveJsonSubroot.js +8 -5
- package/dist/component/element/special/Switch.js +80 -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 +84 -62
- 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 +5 -4
- 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 +161 -10
- package/dist/engine/ParsingDebugDisplay/ParsingDebugDisplay.js +692 -3
- package/dist/engine/ReactiveJsonRoot.js +10 -5
- package/dist/engine/TemplateSystem.js +117 -11
- package/dist/engine/View.js +3 -6
- package/dist/engine/index.js +45 -40
- package/dist/engine/utility/alterData.js +27 -2
- 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 +15 -12
- package/dist/engine/utility/parseRjBuild.js +23 -1002
- package/dist/engine/utility/reactJsxHelpers.js +15 -0
- package/dist/httpRequestCommon-DUo2Oxgl.js +1799 -0
- package/dist/index-B3RKTGQ2.js +18 -0
- package/dist/index-BA09SSaJ.js +26 -0
- package/dist/index-BYLJtf9L.js +462 -0
- package/dist/index-CACLSxWi.js +8 -0
- package/dist/index-NNBvIV0S.js +1873 -0
- package/dist/js-yaml-Bw0KO4XO.js +983 -0
- package/dist/jsonpath-B9kE9k9e.js +3168 -0
- package/dist/{alterData-CjaFWyAA.js → lodash-CYNxjS-I.js} +1348 -1368
- package/dist/main.js +127 -101
- package/package.json +4 -4
- package/dist/ParsingDebugDisplay-8f4yL4Jw.js +0 -696
- package/dist/VariablesDebug-1UzZWgD7.js +0 -17782
- 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,103 +1,129 @@
|
|
|
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 {
|
|
1
|
+
import { HashChangeListener as t } 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 n } from "./component/action/ReactOnEvent.js";
|
|
5
|
+
import { Redirect as i } 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 v } 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 A } from "./component/dataProcessor/index.js";
|
|
13
|
+
import { a as P, R as h, c as F } from "./index-BYLJtf9L.js";
|
|
14
|
+
import { usePagination as H } from "./component/hook/usePagination.js";
|
|
15
|
+
import { coreReactionComponents as M } from "./component/reaction/index.js";
|
|
16
|
+
import { ActionDependant as B, isValid as J } from "./engine/Actions.js";
|
|
17
|
+
import { mergeComponentCollections as z } from "./engine/ComponentCollector.js";
|
|
18
|
+
import { EventDispatcherContext as N } from "./engine/EventDispatcherContext.js";
|
|
19
|
+
import { EventDispatcherProvider as U, addEventListener as j, removeEventListener as k } from "./engine/EventDispatcherProvider.js";
|
|
20
|
+
import { GlobalDataContext as I } from "./engine/GlobalDataContext.js";
|
|
21
|
+
import { GlobalDataContextProvider as K } from "./engine/GlobalDataContextProvider.js";
|
|
22
|
+
import { PaginationContext as X } from "./engine/PaginationContext.js";
|
|
23
|
+
import { TemplateContext as Z } from "./engine/TemplateContext.js";
|
|
24
|
+
import { dataLocationToPath as $, evaluateAttributes as ee, evaluateTemplateValue as oe, evaluateTemplateValueCollection as te, isTemplateValue as re, useEvaluatedAttributes as ae } from "./engine/TemplateSystem.js";
|
|
25
|
+
import { alterData as me } from "./engine/utility/alterData.js";
|
|
26
|
+
import { analyzeDataOverrideReferences as ne } from "./engine/utility/analyzeDataOverrideReferences.js";
|
|
27
|
+
import { applyDataMapping as ie } from "./engine/utility/dataMappingSystem.js";
|
|
28
|
+
import { formatString as le, maybeFormatString as ue } from "./engine/utility/formatString.js";
|
|
29
|
+
import { parseRjBuild as de } from "./engine/utility/parseRjBuild.js";
|
|
30
|
+
import { normalizeAttributesForReactJsx as ge } from "./engine/utility/reactJsxHelpers.js";
|
|
31
|
+
import { stringToBoolean as be } from "./engine/utility/stringToBoolean.js";
|
|
32
|
+
import { H as Re, V as Ve } from "./View-D8TN1L2h.js";
|
|
33
|
+
import { simpleMapping as Ae } from "./component/dataMapping/simpleMapping.js";
|
|
34
|
+
import { VariablesDebug as Pe } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
|
|
35
|
+
import { FolderSortableTree as Fe } from "./component/element/html/FolderSortableTree.js";
|
|
36
|
+
import { FormatNumeral as He } from "./component/element/html/FormatNumeral.js";
|
|
37
|
+
import { LabelFromValue as Me } from "./component/element/html/LabelFromValue.js";
|
|
38
|
+
import { PreformattedMarkup as Be } from "./component/element/html/PreformattedMarkup.js";
|
|
39
|
+
import { SortableTreeItemCollapseButton as we } from "./component/element/html/SortableTreeItemCollapseButton.js";
|
|
40
|
+
import { Count as Ge } from "./component/element/special/Count.js";
|
|
41
|
+
import { DataFilter as Oe } from "./component/element/special/DataFilter.js";
|
|
42
|
+
import { DelayedActions as je, getReactionFunctionsToExecute as ke } from "./component/element/special/DelayedActions.js";
|
|
43
|
+
import { PageControls as Ie } from "./component/element/special/PageControls.js";
|
|
44
|
+
import { Phantom as Ke } from "./component/element/special/Phantom.js";
|
|
45
|
+
import { ReactiveJsonBasicComponentWrapper as Xe } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
46
|
+
import { Switch as Ze } from "./component/element/special/Switch.js";
|
|
47
|
+
import { addData as $e } from "./component/reaction/addData.js";
|
|
48
|
+
import { fetchData as oo } from "./component/reaction/fetchData.js";
|
|
49
|
+
import { e as ro } from "./httpRequestCommon-DUo2Oxgl.js";
|
|
50
|
+
import { moveData as po } from "./component/reaction/moveData.js";
|
|
51
|
+
import { postMessage as xo } from "./component/reaction/postMessage.js";
|
|
52
|
+
import { redirectNow as fo } from "./component/reaction/redirectNow.js";
|
|
53
|
+
import { removeData as so } from "./component/reaction/removeData.js";
|
|
54
|
+
import { setClipboardData as uo } from "./component/reaction/setClipboardData.js";
|
|
55
|
+
import { setData as Do } from "./component/reaction/setData.js";
|
|
56
|
+
import { submitData as vo } from "./component/reaction/submitData.js";
|
|
57
|
+
import { triggerEvent as Co } from "./component/reaction/triggerEvent.js";
|
|
20
58
|
export {
|
|
21
|
-
|
|
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
|
-
ta as reactionFunctions,
|
|
92
|
-
oa as redirectNow,
|
|
93
|
-
sa as removeData,
|
|
94
|
-
Sa as removeEventListener,
|
|
95
|
-
ra as setClipboardData,
|
|
96
|
-
ia as setData,
|
|
97
|
-
na as simpleMapping,
|
|
98
|
-
Qa as stringToBoolean,
|
|
99
|
-
la as submitData,
|
|
100
|
-
Ta as triggerEvent,
|
|
101
|
-
pa as useEvaluatedAttributes,
|
|
102
|
-
va as usePagination
|
|
59
|
+
B as ActionDependant,
|
|
60
|
+
Ge as Count,
|
|
61
|
+
Oe as DataFilter,
|
|
62
|
+
je as DelayedActions,
|
|
63
|
+
N as EventDispatcherContext,
|
|
64
|
+
U as EventDispatcherProvider,
|
|
65
|
+
Fe as FolderSortableTree,
|
|
66
|
+
He as FormatNumeral,
|
|
67
|
+
I as GlobalDataContext,
|
|
68
|
+
K as GlobalDataContextProvider,
|
|
69
|
+
t as HashChangeListener,
|
|
70
|
+
a as Hide,
|
|
71
|
+
Re as Html,
|
|
72
|
+
Me as LabelFromValue,
|
|
73
|
+
m as MessageListener,
|
|
74
|
+
Ie as PageControls,
|
|
75
|
+
X as PaginationContext,
|
|
76
|
+
Ke as Phantom,
|
|
77
|
+
Be as PreformattedMarkup,
|
|
78
|
+
n as ReactOnEvent,
|
|
79
|
+
Xe as ReactiveJsonBasicComponentWrapper,
|
|
80
|
+
P as ReactiveJsonRoot,
|
|
81
|
+
h as ReactiveJsonSubroot,
|
|
82
|
+
i as Redirect,
|
|
83
|
+
l as SetAttributeValue,
|
|
84
|
+
we as SortableTreeItemCollapseButton,
|
|
85
|
+
Ze as Switch,
|
|
86
|
+
Z as TemplateContext,
|
|
87
|
+
c as ToggleAttributeValue,
|
|
88
|
+
D as UnsetAttribute,
|
|
89
|
+
v as UnsetAttributeValue,
|
|
90
|
+
Pe as VariablesDebug,
|
|
91
|
+
Ve as View,
|
|
92
|
+
C as VisuallyHide,
|
|
93
|
+
$e as addData,
|
|
94
|
+
j as addEventListener,
|
|
95
|
+
me as alterData,
|
|
96
|
+
ne as analyzeDataOverrideReferences,
|
|
97
|
+
ie as applyDataMapping,
|
|
98
|
+
V as coreDataMappingComponents,
|
|
99
|
+
A as coreDataProcessorComponents,
|
|
100
|
+
F as coreElementComponents,
|
|
101
|
+
M as coreReactionComponents,
|
|
102
|
+
$ as dataLocationToPath,
|
|
103
|
+
ee as evaluateAttributes,
|
|
104
|
+
oe as evaluateTemplateValue,
|
|
105
|
+
te as evaluateTemplateValueCollection,
|
|
106
|
+
ro as executeHttpRequest,
|
|
107
|
+
oo as fetchData,
|
|
108
|
+
le as formatString,
|
|
109
|
+
ke as getReactionFunctionsToExecute,
|
|
110
|
+
re as isTemplateValue,
|
|
111
|
+
J as isValid,
|
|
112
|
+
ue as maybeFormatString,
|
|
113
|
+
z as mergeComponentCollections,
|
|
114
|
+
po as moveData,
|
|
115
|
+
ge as normalizeAttributesForReactJsx,
|
|
116
|
+
de as parseRjBuild,
|
|
117
|
+
xo as postMessage,
|
|
118
|
+
fo as redirectNow,
|
|
119
|
+
so as removeData,
|
|
120
|
+
k as removeEventListener,
|
|
121
|
+
uo as setClipboardData,
|
|
122
|
+
Do as setData,
|
|
123
|
+
Ae as simpleMapping,
|
|
124
|
+
be as stringToBoolean,
|
|
125
|
+
vo as submitData,
|
|
126
|
+
Co as triggerEvent,
|
|
127
|
+
ae as useEvaluatedAttributes,
|
|
128
|
+
H as usePagination
|
|
103
129
|
};
|
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.1",
|
|
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
|
}
|