@ea-lab/reactive-json 1.0.0-alpha.2 → 1.0.0-alpha.4
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/assets/VariablesDebug.css +4 -1
- package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +15 -16
- package/dist/component/element/index.js +37 -31
- package/dist/component/element/special/ReactiveJsonBasicComponentWrapper.js +11 -24
- package/dist/component/element/special/ReactiveJsonSubroot.js +53 -12
- package/dist/component/element/special/index.js +6 -6
- package/dist/component/index.js +63 -62
- package/dist/coreComponentsPlugin.js +13 -6
- package/dist/engine/ReactiveJsonRoot.js +373 -18
- package/dist/engine/index.js +24 -22
- package/dist/engine/utility/index.js +15 -13
- package/dist/index-Ya6_R5yr.js +23 -0
- package/dist/main.js +92 -88
- package/package.json +1 -1
- package/dist/assets/reset.css +0 -4
- package/dist/index-CBEHeXej.js +0 -463
package/dist/main.js
CHANGED
|
@@ -3,128 +3,132 @@ import { Hide as a } from "./component/action/Hide.js";
|
|
|
3
3
|
import { MessageListener as m } from "./component/action/MessageListener.js";
|
|
4
4
|
import { ReactOnEvent as n } from "./component/action/ReactOnEvent.js";
|
|
5
5
|
import { Redirect as i } from "./component/action/Redirect.js";
|
|
6
|
-
import { SetAttributeValue as
|
|
6
|
+
import { SetAttributeValue as s } from "./component/action/SetAttributeValue.js";
|
|
7
7
|
import { ToggleAttributeValue as c } from "./component/action/ToggleAttributeValue.js";
|
|
8
8
|
import { UnsetAttribute as D } from "./component/action/UnsetAttribute.js";
|
|
9
9
|
import { UnsetAttributeValue as v } from "./component/action/UnsetAttributeValue.js";
|
|
10
10
|
import { VisuallyHide as C } from "./component/action/VisuallyHide.js";
|
|
11
11
|
import { coreDataMappingComponents as V } from "./component/dataMapping/index.js";
|
|
12
12
|
import { coreDataProcessorComponents as A } from "./component/dataProcessor/index.js";
|
|
13
|
-
import {
|
|
14
|
-
import { usePagination as
|
|
15
|
-
import { coreReactionComponents as
|
|
16
|
-
import { ActionDependant as
|
|
17
|
-
import { mergeComponentCollections as
|
|
18
|
-
import { EventDispatcherContext as
|
|
19
|
-
import { EventDispatcherProvider as
|
|
20
|
-
import { GlobalDataContext as
|
|
21
|
-
import { GlobalDataContextProvider as
|
|
22
|
-
import { PaginationContext as
|
|
13
|
+
import { coreElementComponents as h } from "./component/element/index.js";
|
|
14
|
+
import { usePagination as F } from "./component/hook/usePagination.js";
|
|
15
|
+
import { coreReactionComponents as S } from "./component/reaction/index.js";
|
|
16
|
+
import { ActionDependant as y, isValid as H } from "./engine/Actions.js";
|
|
17
|
+
import { mergeComponentCollections as J } from "./engine/ComponentCollector.js";
|
|
18
|
+
import { EventDispatcherContext as z } from "./engine/EventDispatcherContext.js";
|
|
19
|
+
import { EventDispatcherProvider as N, addEventListener as O, removeEventListener as U } from "./engine/EventDispatcherProvider.js";
|
|
20
|
+
import { GlobalDataContext as k } from "./engine/GlobalDataContext.js";
|
|
21
|
+
import { GlobalDataContextProvider as I } from "./engine/GlobalDataContextProvider.js";
|
|
22
|
+
import { PaginationContext as K } from "./engine/PaginationContext.js";
|
|
23
|
+
import { ReactiveJsonRoot as X } from "./engine/ReactiveJsonRoot.js";
|
|
23
24
|
import { TemplateContext as Z } from "./engine/TemplateContext.js";
|
|
24
25
|
import { dataLocationToPath as $, evaluateAttributes as ee, evaluateTemplateValue as oe, evaluateTemplateValueCollection as te, isTemplateValue as re, useEvaluatedAttributes as ae } from "./engine/TemplateSystem.js";
|
|
25
26
|
import { alterData as me } from "./engine/utility/alterData.js";
|
|
26
27
|
import { analyzeDataOverrideReferences as ne } from "./engine/utility/analyzeDataOverrideReferences.js";
|
|
27
28
|
import { applyDataMapping as ie } from "./engine/utility/dataMappingSystem.js";
|
|
28
|
-
import { formatString as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
29
|
+
import { formatString as se, maybeFormatString as ue } from "./engine/utility/formatString.js";
|
|
30
|
+
import { propsDataLocationToPathAndValue as de } from "./engine/utility/formElementsCommon.js";
|
|
31
|
+
import { parseRjBuild as ge } from "./engine/utility/parseRjBuild.js";
|
|
32
|
+
import { normalizeAttributesForReactJsx as be } from "./engine/utility/reactJsxHelpers.js";
|
|
33
|
+
import { stringToBoolean as Re } from "./engine/utility/stringToBoolean.js";
|
|
34
|
+
import { View as Te } from "./engine/View.js";
|
|
35
|
+
import { simpleMapping as Pe } from "./component/dataMapping/simpleMapping.js";
|
|
34
36
|
import { VariablesDebug as Ee } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
|
|
35
|
-
import { FolderSortableTree as
|
|
36
|
-
import { FormatNumeral as
|
|
37
|
-
import { Html as
|
|
38
|
-
import { LabelFromValue as
|
|
39
|
-
import { PreformattedMarkup as
|
|
40
|
-
import { SortableTreeItemCollapseButton as
|
|
41
|
-
import { Count as
|
|
42
|
-
import { DataFilter as
|
|
43
|
-
import { DelayedActions as
|
|
44
|
-
import { PageControls as
|
|
45
|
-
import { Phantom as
|
|
46
|
-
import { ReactiveJsonBasicComponentWrapper as
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
37
|
+
import { FolderSortableTree as Le } from "./component/element/html/FolderSortableTree.js";
|
|
38
|
+
import { FormatNumeral as Me } from "./component/element/html/FormatNumeral.js";
|
|
39
|
+
import { Html as He } from "./component/element/html/Html.js";
|
|
40
|
+
import { LabelFromValue as Je } from "./component/element/html/LabelFromValue.js";
|
|
41
|
+
import { PreformattedMarkup as ze } from "./component/element/html/PreformattedMarkup.js";
|
|
42
|
+
import { SortableTreeItemCollapseButton as Ne } from "./component/element/html/SortableTreeItemCollapseButton.js";
|
|
43
|
+
import { Count as Ue } from "./component/element/special/Count.js";
|
|
44
|
+
import { DataFilter as ke } from "./component/element/special/DataFilter.js";
|
|
45
|
+
import { DelayedActions as Ie, getReactionFunctionsToExecute as We } from "./component/element/special/DelayedActions.js";
|
|
46
|
+
import { PageControls as Qe } from "./component/element/special/PageControls.js";
|
|
47
|
+
import { Phantom as Ye } from "./component/element/special/Phantom.js";
|
|
48
|
+
import { ReactiveJsonBasicComponentWrapper as _e } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
49
|
+
import { ReactiveJsonSubroot as eo } from "./component/element/special/ReactiveJsonSubroot.js";
|
|
50
|
+
import { Switch as to } from "./component/element/special/Switch.js";
|
|
51
|
+
import { addData as ao } from "./component/reaction/addData.js";
|
|
52
|
+
import { fetchData as mo } from "./component/reaction/fetchData.js";
|
|
53
|
+
import { e as no } from "./httpRequestCommon-DUo2Oxgl.js";
|
|
54
|
+
import { moveData as io } from "./component/reaction/moveData.js";
|
|
55
|
+
import { postMessage as so } from "./component/reaction/postMessage.js";
|
|
56
|
+
import { redirectNow as co } from "./component/reaction/redirectNow.js";
|
|
57
|
+
import { removeData as go } from "./component/reaction/removeData.js";
|
|
58
|
+
import { setClipboardData as bo } from "./component/reaction/setClipboardData.js";
|
|
59
|
+
import { setData as Ro } from "./component/reaction/setData.js";
|
|
60
|
+
import { submitData as To } from "./component/reaction/submitData.js";
|
|
61
|
+
import { triggerEvent as Po } from "./component/reaction/triggerEvent.js";
|
|
59
62
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
y as ActionDependant,
|
|
64
|
+
Ue as Count,
|
|
65
|
+
ke as DataFilter,
|
|
66
|
+
Ie as DelayedActions,
|
|
67
|
+
z as EventDispatcherContext,
|
|
68
|
+
N as EventDispatcherProvider,
|
|
69
|
+
Le as FolderSortableTree,
|
|
70
|
+
Me as FormatNumeral,
|
|
71
|
+
k as GlobalDataContext,
|
|
72
|
+
I as GlobalDataContextProvider,
|
|
70
73
|
t as HashChangeListener,
|
|
71
74
|
a as Hide,
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
He as Html,
|
|
76
|
+
Je as LabelFromValue,
|
|
74
77
|
m as MessageListener,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
Qe as PageControls,
|
|
79
|
+
K as PaginationContext,
|
|
80
|
+
Ye as Phantom,
|
|
81
|
+
ze as PreformattedMarkup,
|
|
79
82
|
n as ReactOnEvent,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
_e as ReactiveJsonBasicComponentWrapper,
|
|
84
|
+
X as ReactiveJsonRoot,
|
|
85
|
+
eo as ReactiveJsonSubroot,
|
|
83
86
|
i as Redirect,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
s as SetAttributeValue,
|
|
88
|
+
Ne as SortableTreeItemCollapseButton,
|
|
89
|
+
to as Switch,
|
|
87
90
|
Z as TemplateContext,
|
|
88
91
|
c as ToggleAttributeValue,
|
|
89
92
|
D as UnsetAttribute,
|
|
90
93
|
v as UnsetAttributeValue,
|
|
91
94
|
Ee as VariablesDebug,
|
|
92
|
-
|
|
95
|
+
Te as View,
|
|
93
96
|
C as VisuallyHide,
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
ao as addData,
|
|
98
|
+
O as addEventListener,
|
|
96
99
|
me as alterData,
|
|
97
100
|
ne as analyzeDataOverrideReferences,
|
|
98
101
|
ie as applyDataMapping,
|
|
99
102
|
V as coreDataMappingComponents,
|
|
100
103
|
A as coreDataProcessorComponents,
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
h as coreElementComponents,
|
|
105
|
+
S as coreReactionComponents,
|
|
103
106
|
$ as dataLocationToPath,
|
|
104
107
|
ee as evaluateAttributes,
|
|
105
108
|
oe as evaluateTemplateValue,
|
|
106
109
|
te as evaluateTemplateValueCollection,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
no as executeHttpRequest,
|
|
111
|
+
mo as fetchData,
|
|
112
|
+
se as formatString,
|
|
113
|
+
We as getReactionFunctionsToExecute,
|
|
111
114
|
re as isTemplateValue,
|
|
112
|
-
|
|
115
|
+
H as isValid,
|
|
113
116
|
ue as maybeFormatString,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
117
|
+
J as mergeComponentCollections,
|
|
118
|
+
io as moveData,
|
|
119
|
+
be as normalizeAttributesForReactJsx,
|
|
120
|
+
ge as parseRjBuild,
|
|
121
|
+
so as postMessage,
|
|
122
|
+
de as propsDataLocationToPathAndValue,
|
|
123
|
+
co as redirectNow,
|
|
124
|
+
go as removeData,
|
|
125
|
+
U as removeEventListener,
|
|
126
|
+
bo as setClipboardData,
|
|
127
|
+
Ro as setData,
|
|
128
|
+
Pe as simpleMapping,
|
|
129
|
+
Re as stringToBoolean,
|
|
130
|
+
To as submitData,
|
|
131
|
+
Po as triggerEvent,
|
|
128
132
|
ae as useEvaluatedAttributes,
|
|
129
|
-
|
|
133
|
+
F as usePagination
|
|
130
134
|
};
|
package/package.json
CHANGED
package/dist/assets/reset.css
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
https://serp.co/tools/css-reset/
|
|
3
|
-
<link rel="stylesheet" href="https://css.serp.co/css-reset/normalize.css/">
|
|
4
|
-
*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|