@ea-lab/reactive-json 1.1.2 → 1.2.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/component/action/ReactOnEvent.js +38 -18
- package/dist/component/element/form/CheckBoxField.js +84 -0
- package/dist/component/element/form/SelectField.js +64 -0
- package/dist/component/element/form/TextAreaField.js +59 -0
- package/dist/component/element/form/index.js +36 -30
- package/dist/component/element/index.js +72 -66
- package/dist/component/index.js +111 -105
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/submitData.js +12 -13
- package/dist/component/reaction/utility/httpRequestCommon.js +1 -1
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/engine/ReactiveJsonRoot.js +1 -1
- package/dist/{httpRequestCommon-COBq6B-n.js → httpRequestCommon-BNA1zivP.js} +491 -489
- package/dist/index-CpGvV5AF.js +46 -0
- package/dist/main.js +108 -102
- package/package.json +1 -1
- package/dist/index-2EvkwDZS.js +0 -40
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Input as o } from "./component/element/form/Input.js";
|
|
2
|
+
import { CheckBoxField as r } from "./component/element/form/CheckBoxField.js";
|
|
3
|
+
import { ColorField as e } from "./component/element/form/ColorField.js";
|
|
4
|
+
import { DateField as m } from "./component/element/form/DateField.js";
|
|
5
|
+
import { DateTimeField as i } from "./component/element/form/DateTimeField.js";
|
|
6
|
+
import { EmailField as t } from "./component/element/form/EmailField.js";
|
|
7
|
+
import { FileField as l } from "./component/element/form/FileField.js";
|
|
8
|
+
import { HiddenField as p } from "./component/element/form/HiddenField.js";
|
|
9
|
+
import { MonthField as d } from "./component/element/form/MonthField.js";
|
|
10
|
+
import { NumberField as f } from "./component/element/form/NumberField.js";
|
|
11
|
+
import { PasswordField as F } from "./component/element/form/PasswordField.js";
|
|
12
|
+
import { RangeField as a } from "./component/element/form/RangeField.js";
|
|
13
|
+
import { SearchField as n } from "./component/element/form/SearchField.js";
|
|
14
|
+
import { SelectField as c } from "./component/element/form/SelectField.js";
|
|
15
|
+
import { TelField as T } from "./component/element/form/TelField.js";
|
|
16
|
+
import { TextAreaField as s } from "./component/element/form/TextAreaField.js";
|
|
17
|
+
import { TextField as u } from "./component/element/form/TextField.js";
|
|
18
|
+
import { TimeField as b } from "./component/element/form/TimeField.js";
|
|
19
|
+
import { UrlField as x } from "./component/element/form/UrlField.js";
|
|
20
|
+
import { WeekField as S } from "./component/element/form/WeekField.js";
|
|
21
|
+
const R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
|
+
__proto__: null,
|
|
23
|
+
CheckBoxField: r,
|
|
24
|
+
ColorField: e,
|
|
25
|
+
DateField: m,
|
|
26
|
+
DateTimeField: i,
|
|
27
|
+
EmailField: t,
|
|
28
|
+
FileField: l,
|
|
29
|
+
HiddenField: p,
|
|
30
|
+
Input: o,
|
|
31
|
+
MonthField: d,
|
|
32
|
+
NumberField: f,
|
|
33
|
+
PasswordField: F,
|
|
34
|
+
RangeField: a,
|
|
35
|
+
SearchField: n,
|
|
36
|
+
SelectField: c,
|
|
37
|
+
TelField: T,
|
|
38
|
+
TextAreaField: s,
|
|
39
|
+
TextField: u,
|
|
40
|
+
TimeField: b,
|
|
41
|
+
UrlField: x,
|
|
42
|
+
WeekField: S
|
|
43
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
44
|
+
export {
|
|
45
|
+
R as f
|
|
46
|
+
};
|
package/dist/main.js
CHANGED
|
@@ -6,16 +6,16 @@ import { ReactOnEvent as l } from "./component/action/ReactOnEvent.js";
|
|
|
6
6
|
import { Redirect as s } from "./component/action/Redirect.js";
|
|
7
7
|
import { SetAttributeValue as u } from "./component/action/SetAttributeValue.js";
|
|
8
8
|
import { ToggleAttributeValue as F } from "./component/action/ToggleAttributeValue.js";
|
|
9
|
-
import { UnsetAttribute as
|
|
9
|
+
import { UnsetAttribute as C } from "./component/action/UnsetAttribute.js";
|
|
10
10
|
import { UnsetAttributeValue as b } from "./component/action/UnsetAttributeValue.js";
|
|
11
11
|
import { VisuallyHide as T } from "./component/action/VisuallyHide.js";
|
|
12
12
|
import { coreDataMappingComponents as h } from "./component/dataMapping/index.js";
|
|
13
|
-
import { coreDataProcessorComponents as
|
|
13
|
+
import { coreDataProcessorComponents as E } from "./component/dataProcessor/index.js";
|
|
14
14
|
import { coreElementComponents as P } from "./component/element/index.js";
|
|
15
|
-
import { coreHookComponents as
|
|
15
|
+
import { coreHookComponents as L } from "./component/hook/index.js";
|
|
16
16
|
import { coreReactionComponents as M } from "./component/reaction/index.js";
|
|
17
|
-
import { ActionDependant as
|
|
18
|
-
import { mergeComponentCollections as
|
|
17
|
+
import { ActionDependant as B, isValid as J } from "./engine/Actions.js";
|
|
18
|
+
import { mergeComponentCollections as w } from "./engine/ComponentCollector.js";
|
|
19
19
|
import { EventDispatcherContext as z } from "./engine/EventDispatcherContext.js";
|
|
20
20
|
import { EventDispatcherProvider as G, addEventListener as I, removeEventListener as O } from "./engine/EventDispatcherProvider.js";
|
|
21
21
|
import { GlobalDataContext as j } from "./engine/GlobalDataContext.js";
|
|
@@ -29,145 +29,151 @@ import { analyzeDataOverrideReferences as le } from "./engine/utility/analyzeDat
|
|
|
29
29
|
import { applyDataMapping as se } from "./engine/utility/dataMappingSystem.js";
|
|
30
30
|
import { replaceEventPlaceholders as ue } from "./engine/utility/eventPlaceholderSystem.js";
|
|
31
31
|
import { formatString as Fe, maybeFormatString as De } from "./engine/utility/formatString.js";
|
|
32
|
-
import { propsDataLocationToPathAndValue as
|
|
32
|
+
import { propsDataLocationToPathAndValue as ve } from "./engine/utility/formElementsCommon.js";
|
|
33
33
|
import { parseRjBuild as ge } from "./engine/utility/parseRjBuild.js";
|
|
34
34
|
import { normalizeAttributeNameForReactJsx as Re, normalizeAttributesForReactJsx as he } from "./engine/utility/reactJsxHelpers.js";
|
|
35
|
-
import { stringToBoolean as
|
|
35
|
+
import { stringToBoolean as Ee } from "./engine/utility/stringToBoolean.js";
|
|
36
36
|
import { View as Pe } from "./engine/View.js";
|
|
37
|
-
import { simpleMapping as
|
|
37
|
+
import { simpleMapping as Le } from "./component/dataMapping/simpleMapping.js";
|
|
38
38
|
import { VariablesDebug as Me } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
|
|
39
|
-
import { Input as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
39
|
+
import { Input as Be } from "./component/element/form/Input.js";
|
|
40
|
+
import { CheckBoxField as ke } from "./component/element/form/CheckBoxField.js";
|
|
41
|
+
import { ColorField as Ne } from "./component/element/form/ColorField.js";
|
|
42
|
+
import { DateField as Ue } from "./component/element/form/DateField.js";
|
|
43
|
+
import { DateTimeField as Ie } from "./component/element/form/DateTimeField.js";
|
|
44
|
+
import { EmailField as We } from "./component/element/form/EmailField.js";
|
|
45
|
+
import { FileField as qe } from "./component/element/form/FileField.js";
|
|
46
|
+
import { HiddenField as Qe } from "./component/element/form/HiddenField.js";
|
|
47
|
+
import { MonthField as Ye } from "./component/element/form/MonthField.js";
|
|
48
|
+
import { NumberField as _e } from "./component/element/form/NumberField.js";
|
|
49
|
+
import { PasswordField as eo } from "./component/element/form/PasswordField.js";
|
|
50
|
+
import { RangeField as ro } from "./component/element/form/RangeField.js";
|
|
51
|
+
import { SearchField as ao } from "./component/element/form/SearchField.js";
|
|
52
|
+
import { SelectField as po } from "./component/element/form/SelectField.js";
|
|
53
|
+
import { TelField as fo } from "./component/element/form/TelField.js";
|
|
54
|
+
import { TextAreaField as lo } from "./component/element/form/TextAreaField.js";
|
|
55
|
+
import { TextField as so } from "./component/element/form/TextField.js";
|
|
56
|
+
import { TimeField as co } from "./component/element/form/TimeField.js";
|
|
57
|
+
import { UrlField as Do } from "./component/element/form/UrlField.js";
|
|
58
|
+
import { WeekField as vo } from "./component/element/form/WeekField.js";
|
|
59
|
+
import { FolderSortableTree as go } from "./component/element/html/FolderSortableTree.js";
|
|
60
|
+
import { FormatNumeral as Ro } from "./component/element/html/FormatNumeral.js";
|
|
61
|
+
import { Html as Ao } from "./component/element/html/Html.js";
|
|
62
|
+
import { LabelFromValue as Vo } from "./component/element/html/LabelFromValue.js";
|
|
63
|
+
import { PreformattedMarkup as So } from "./component/element/html/PreformattedMarkup.js";
|
|
64
|
+
import { SortableTreeItemCollapseButton as Ho } from "./component/element/html/SortableTreeItemCollapseButton.js";
|
|
65
|
+
import { Count as yo } from "./component/element/special/Count.js";
|
|
66
|
+
import { DataFilter as Jo } from "./component/element/special/DataFilter.js";
|
|
67
|
+
import { DelayedActions as wo, getReactionFunctionsToExecute as No } from "./component/element/special/DelayedActions.js";
|
|
68
|
+
import { PageControls as Uo } from "./component/element/special/PageControls.js";
|
|
69
|
+
import { Phantom as Io } from "./component/element/special/Phantom.js";
|
|
70
|
+
import { ReactiveJsonBasicComponentWrapper as Wo } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
71
|
+
import { ReactiveJsonSubroot as qo } from "./component/element/special/ReactiveJsonSubroot.js";
|
|
72
|
+
import { Switch as Qo } from "./component/element/special/Switch.js";
|
|
73
|
+
import { addData as Yo } from "./component/reaction/addData.js";
|
|
74
|
+
import { fetchData as _o } from "./component/reaction/fetchData.js";
|
|
75
|
+
import { e as er } from "./httpRequestCommon-BNA1zivP.js";
|
|
76
|
+
import { moveData as rr } from "./component/reaction/moveData.js";
|
|
77
|
+
import { postMessage as ar } from "./component/reaction/postMessage.js";
|
|
78
|
+
import { redirectNow as pr } from "./component/reaction/redirectNow.js";
|
|
79
|
+
import { removeData as fr } from "./component/reaction/removeData.js";
|
|
80
|
+
import { setClipboardData as lr } from "./component/reaction/setClipboardData.js";
|
|
81
|
+
import { setData as sr } from "./component/reaction/setData.js";
|
|
82
|
+
import { submitData as ur } from "./component/reaction/submitData.js";
|
|
83
|
+
import { triggerEvent as Fr } from "./component/reaction/triggerEvent.js";
|
|
81
84
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
B as ActionDependant,
|
|
86
|
+
ke as CheckBoxField,
|
|
87
|
+
Ne as ColorField,
|
|
88
|
+
yo as Count,
|
|
85
89
|
r as CustomEventListener,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
Jo as DataFilter,
|
|
91
|
+
Ue as DateField,
|
|
92
|
+
Ie as DateTimeField,
|
|
93
|
+
wo as DelayedActions,
|
|
94
|
+
We as EmailField,
|
|
91
95
|
z as EventDispatcherContext,
|
|
92
96
|
G as EventDispatcherProvider,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
qe as FileField,
|
|
98
|
+
go as FolderSortableTree,
|
|
99
|
+
Ro as FormatNumeral,
|
|
96
100
|
j as GlobalDataContext,
|
|
97
101
|
K as GlobalDataContextProvider,
|
|
98
102
|
a as HashChangeListener,
|
|
99
|
-
|
|
103
|
+
Qe as HiddenField,
|
|
100
104
|
p as Hide,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
Ao as Html,
|
|
106
|
+
Be as Input,
|
|
107
|
+
Vo as LabelFromValue,
|
|
104
108
|
f as MessageListener,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
109
|
+
Ye as MonthField,
|
|
110
|
+
_e as NumberField,
|
|
111
|
+
Uo as PageControls,
|
|
108
112
|
X as PaginationContext,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
eo as PasswordField,
|
|
114
|
+
Io as Phantom,
|
|
115
|
+
So as PreformattedMarkup,
|
|
116
|
+
ro as RangeField,
|
|
113
117
|
l as ReactOnEvent,
|
|
114
|
-
|
|
118
|
+
Wo as ReactiveJsonBasicComponentWrapper,
|
|
115
119
|
Z as ReactiveJsonRoot,
|
|
116
|
-
|
|
120
|
+
qo as ReactiveJsonSubroot,
|
|
117
121
|
s as Redirect,
|
|
118
|
-
|
|
122
|
+
ao as SearchField,
|
|
123
|
+
po as SelectField,
|
|
119
124
|
u as SetAttributeValue,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
125
|
+
Ho as SortableTreeItemCollapseButton,
|
|
126
|
+
Qo as Switch,
|
|
127
|
+
fo as TelField,
|
|
123
128
|
$ as TemplateContext,
|
|
124
|
-
|
|
125
|
-
|
|
129
|
+
lo as TextAreaField,
|
|
130
|
+
so as TextField,
|
|
131
|
+
co as TimeField,
|
|
126
132
|
F as ToggleAttributeValue,
|
|
127
|
-
|
|
133
|
+
C as UnsetAttribute,
|
|
128
134
|
b as UnsetAttributeValue,
|
|
129
|
-
|
|
135
|
+
Do as UrlField,
|
|
130
136
|
Me as VariablesDebug,
|
|
131
137
|
Pe as View,
|
|
132
138
|
T as VisuallyHide,
|
|
133
|
-
|
|
134
|
-
|
|
139
|
+
vo as WeekField,
|
|
140
|
+
Yo as addData,
|
|
135
141
|
I as addEventListener,
|
|
136
142
|
fe as alterData,
|
|
137
143
|
le as analyzeDataOverrideReferences,
|
|
138
144
|
se as applyDataMapping,
|
|
139
145
|
h as coreDataMappingComponents,
|
|
140
|
-
|
|
146
|
+
E as coreDataProcessorComponents,
|
|
141
147
|
P as coreElementComponents,
|
|
142
|
-
|
|
148
|
+
L as coreHookComponents,
|
|
143
149
|
M as coreReactionComponents,
|
|
144
150
|
oe as dataLocationToPath,
|
|
145
151
|
re as evaluateAttributes,
|
|
146
152
|
te as evaluateTemplateValue,
|
|
147
153
|
ae as evaluateTemplateValueCollection,
|
|
148
|
-
|
|
149
|
-
|
|
154
|
+
er as executeHttpRequest,
|
|
155
|
+
_o as fetchData,
|
|
150
156
|
Fe as formatString,
|
|
151
|
-
|
|
157
|
+
No as getReactionFunctionsToExecute,
|
|
152
158
|
me as isTemplateValue,
|
|
153
|
-
|
|
159
|
+
J as isValid,
|
|
154
160
|
De as maybeFormatString,
|
|
155
|
-
|
|
156
|
-
|
|
161
|
+
w as mergeComponentCollections,
|
|
162
|
+
rr as moveData,
|
|
157
163
|
Re as normalizeAttributeNameForReactJsx,
|
|
158
164
|
he as normalizeAttributesForReactJsx,
|
|
159
165
|
ge as parseRjBuild,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
ar as postMessage,
|
|
167
|
+
ve as propsDataLocationToPathAndValue,
|
|
168
|
+
pr as redirectNow,
|
|
169
|
+
fr as removeData,
|
|
164
170
|
O as removeEventListener,
|
|
165
171
|
ue as replaceEventPlaceholders,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
+
lr as setClipboardData,
|
|
173
|
+
sr as setData,
|
|
174
|
+
Le as simpleMapping,
|
|
175
|
+
Ee as stringToBoolean,
|
|
176
|
+
ur as submitData,
|
|
177
|
+
Fr as triggerEvent,
|
|
172
178
|
pe as useEvaluatedAttributes
|
|
173
179
|
};
|
package/package.json
CHANGED
package/dist/index-2EvkwDZS.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Input as o } from "./component/element/form/Input.js";
|
|
2
|
-
import { ColorField as r } from "./component/element/form/ColorField.js";
|
|
3
|
-
import { DateField as e } from "./component/element/form/DateField.js";
|
|
4
|
-
import { DateTimeField as m } from "./component/element/form/DateTimeField.js";
|
|
5
|
-
import { EmailField as i } from "./component/element/form/EmailField.js";
|
|
6
|
-
import { FileField as t } from "./component/element/form/FileField.js";
|
|
7
|
-
import { HiddenField as l } from "./component/element/form/HiddenField.js";
|
|
8
|
-
import { MonthField as p } from "./component/element/form/MonthField.js";
|
|
9
|
-
import { NumberField as d } from "./component/element/form/NumberField.js";
|
|
10
|
-
import { PasswordField as f } from "./component/element/form/PasswordField.js";
|
|
11
|
-
import { RangeField as F } from "./component/element/form/RangeField.js";
|
|
12
|
-
import { SearchField as n } from "./component/element/form/SearchField.js";
|
|
13
|
-
import { TelField as a } from "./component/element/form/TelField.js";
|
|
14
|
-
import { TextField as s } from "./component/element/form/TextField.js";
|
|
15
|
-
import { TimeField as u } from "./component/element/form/TimeField.js";
|
|
16
|
-
import { UrlField as T } from "./component/element/form/UrlField.js";
|
|
17
|
-
import { WeekField as b } from "./component/element/form/WeekField.js";
|
|
18
|
-
const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
|
-
__proto__: null,
|
|
20
|
-
ColorField: r,
|
|
21
|
-
DateField: e,
|
|
22
|
-
DateTimeField: m,
|
|
23
|
-
EmailField: i,
|
|
24
|
-
FileField: t,
|
|
25
|
-
HiddenField: l,
|
|
26
|
-
Input: o,
|
|
27
|
-
MonthField: p,
|
|
28
|
-
NumberField: d,
|
|
29
|
-
PasswordField: f,
|
|
30
|
-
RangeField: F,
|
|
31
|
-
SearchField: n,
|
|
32
|
-
TelField: a,
|
|
33
|
-
TextField: s,
|
|
34
|
-
TimeField: u,
|
|
35
|
-
UrlField: T,
|
|
36
|
-
WeekField: b
|
|
37
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
38
|
-
export {
|
|
39
|
-
E as f
|
|
40
|
-
};
|