@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.
@@ -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 v } from "./component/action/UnsetAttribute.js";
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 V } from "./component/dataProcessor/index.js";
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 S } from "./component/hook/index.js";
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 J, isValid as w } from "./engine/Actions.js";
18
- import { mergeComponentCollections as N } from "./engine/ComponentCollector.js";
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 Ce } from "./engine/utility/formElementsCommon.js";
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 Ve } from "./engine/utility/stringToBoolean.js";
35
+ import { stringToBoolean as Ee } from "./engine/utility/stringToBoolean.js";
36
36
  import { View as Pe } from "./engine/View.js";
37
- import { simpleMapping as Se } from "./component/dataMapping/simpleMapping.js";
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 Je } from "./component/element/form/Input.js";
40
- import { ColorField as Be } from "./component/element/form/ColorField.js";
41
- import { DateField as ke } from "./component/element/form/DateField.js";
42
- import { DateTimeField as Ue } from "./component/element/form/DateTimeField.js";
43
- import { EmailField as Ie } from "./component/element/form/EmailField.js";
44
- import { FileField as We } from "./component/element/form/FileField.js";
45
- import { HiddenField as qe } from "./component/element/form/HiddenField.js";
46
- import { MonthField as Qe } from "./component/element/form/MonthField.js";
47
- import { NumberField as Ye } from "./component/element/form/NumberField.js";
48
- import { PasswordField as _e } from "./component/element/form/PasswordField.js";
49
- import { RangeField as eo } from "./component/element/form/RangeField.js";
50
- import { SearchField as ro } from "./component/element/form/SearchField.js";
51
- import { TelField as ao } from "./component/element/form/TelField.js";
52
- import { TextField as po } from "./component/element/form/TextField.js";
53
- import { TimeField as fo } from "./component/element/form/TimeField.js";
54
- import { UrlField as lo } from "./component/element/form/UrlField.js";
55
- import { WeekField as so } from "./component/element/form/WeekField.js";
56
- import { FolderSortableTree as co } from "./component/element/html/FolderSortableTree.js";
57
- import { FormatNumeral as Do } from "./component/element/html/FormatNumeral.js";
58
- import { Html as Co } from "./component/element/html/Html.js";
59
- import { LabelFromValue as go } from "./component/element/html/LabelFromValue.js";
60
- import { PreformattedMarkup as Ro } from "./component/element/html/PreformattedMarkup.js";
61
- import { SortableTreeItemCollapseButton as Eo } from "./component/element/html/SortableTreeItemCollapseButton.js";
62
- import { Count as Ao } from "./component/element/special/Count.js";
63
- import { DataFilter as Lo } from "./component/element/special/DataFilter.js";
64
- import { DelayedActions as Ho, getReactionFunctionsToExecute as Mo } from "./component/element/special/DelayedActions.js";
65
- import { PageControls as Jo } from "./component/element/special/PageControls.js";
66
- import { Phantom as Bo } from "./component/element/special/Phantom.js";
67
- import { ReactiveJsonBasicComponentWrapper as ko } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
68
- import { ReactiveJsonSubroot as Uo } from "./component/element/special/ReactiveJsonSubroot.js";
69
- import { Switch as Io } from "./component/element/special/Switch.js";
70
- import { addData as Wo } from "./component/reaction/addData.js";
71
- import { fetchData as qo } from "./component/reaction/fetchData.js";
72
- import { e as Qo } from "./httpRequestCommon-COBq6B-n.js";
73
- import { moveData as Yo } from "./component/reaction/moveData.js";
74
- import { postMessage as _o } from "./component/reaction/postMessage.js";
75
- import { redirectNow as er } from "./component/reaction/redirectNow.js";
76
- import { removeData as rr } from "./component/reaction/removeData.js";
77
- import { setClipboardData as ar } from "./component/reaction/setClipboardData.js";
78
- import { setData as pr } from "./component/reaction/setData.js";
79
- import { submitData as fr } from "./component/reaction/submitData.js";
80
- import { triggerEvent as lr } from "./component/reaction/triggerEvent.js";
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
- J as ActionDependant,
83
- Be as ColorField,
84
- Ao as Count,
85
+ B as ActionDependant,
86
+ ke as CheckBoxField,
87
+ Ne as ColorField,
88
+ yo as Count,
85
89
  r as CustomEventListener,
86
- Lo as DataFilter,
87
- ke as DateField,
88
- Ue as DateTimeField,
89
- Ho as DelayedActions,
90
- Ie as EmailField,
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
- We as FileField,
94
- co as FolderSortableTree,
95
- Do as FormatNumeral,
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
- qe as HiddenField,
103
+ Qe as HiddenField,
100
104
  p as Hide,
101
- Co as Html,
102
- Je as Input,
103
- go as LabelFromValue,
105
+ Ao as Html,
106
+ Be as Input,
107
+ Vo as LabelFromValue,
104
108
  f as MessageListener,
105
- Qe as MonthField,
106
- Ye as NumberField,
107
- Jo as PageControls,
109
+ Ye as MonthField,
110
+ _e as NumberField,
111
+ Uo as PageControls,
108
112
  X as PaginationContext,
109
- _e as PasswordField,
110
- Bo as Phantom,
111
- Ro as PreformattedMarkup,
112
- eo as RangeField,
113
+ eo as PasswordField,
114
+ Io as Phantom,
115
+ So as PreformattedMarkup,
116
+ ro as RangeField,
113
117
  l as ReactOnEvent,
114
- ko as ReactiveJsonBasicComponentWrapper,
118
+ Wo as ReactiveJsonBasicComponentWrapper,
115
119
  Z as ReactiveJsonRoot,
116
- Uo as ReactiveJsonSubroot,
120
+ qo as ReactiveJsonSubroot,
117
121
  s as Redirect,
118
- ro as SearchField,
122
+ ao as SearchField,
123
+ po as SelectField,
119
124
  u as SetAttributeValue,
120
- Eo as SortableTreeItemCollapseButton,
121
- Io as Switch,
122
- ao as TelField,
125
+ Ho as SortableTreeItemCollapseButton,
126
+ Qo as Switch,
127
+ fo as TelField,
123
128
  $ as TemplateContext,
124
- po as TextField,
125
- fo as TimeField,
129
+ lo as TextAreaField,
130
+ so as TextField,
131
+ co as TimeField,
126
132
  F as ToggleAttributeValue,
127
- v as UnsetAttribute,
133
+ C as UnsetAttribute,
128
134
  b as UnsetAttributeValue,
129
- lo as UrlField,
135
+ Do as UrlField,
130
136
  Me as VariablesDebug,
131
137
  Pe as View,
132
138
  T as VisuallyHide,
133
- so as WeekField,
134
- Wo as addData,
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
- V as coreDataProcessorComponents,
146
+ E as coreDataProcessorComponents,
141
147
  P as coreElementComponents,
142
- S as coreHookComponents,
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
- Qo as executeHttpRequest,
149
- qo as fetchData,
154
+ er as executeHttpRequest,
155
+ _o as fetchData,
150
156
  Fe as formatString,
151
- Mo as getReactionFunctionsToExecute,
157
+ No as getReactionFunctionsToExecute,
152
158
  me as isTemplateValue,
153
- w as isValid,
159
+ J as isValid,
154
160
  De as maybeFormatString,
155
- N as mergeComponentCollections,
156
- Yo as moveData,
161
+ w as mergeComponentCollections,
162
+ rr as moveData,
157
163
  Re as normalizeAttributeNameForReactJsx,
158
164
  he as normalizeAttributesForReactJsx,
159
165
  ge as parseRjBuild,
160
- _o as postMessage,
161
- Ce as propsDataLocationToPathAndValue,
162
- er as redirectNow,
163
- rr as removeData,
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
- ar as setClipboardData,
167
- pr as setData,
168
- Se as simpleMapping,
169
- Ve as stringToBoolean,
170
- fr as submitData,
171
- lr as triggerEvent,
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ea-lab/reactive-json",
3
3
  "private": false,
4
- "version": "1.1.2",
4
+ "version": "1.2.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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
- };