@ea-lab/reactive-json 0.3.1 → 0.5.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.
Files changed (65) hide show
  1. package/dist/{HashChangeListener-Dl80ClRX.js → HashChangeListener-BaaJxyFq.js} +3829 -3656
  2. package/dist/component/action/HashChangeListener.js +1 -1
  3. package/dist/component/action/MessageListener.js +1 -1
  4. package/dist/component/action/Popover.js +1 -1
  5. package/dist/component/action/ReactOnEvent.js +1 -1
  6. package/dist/component/action/Redirect.js +1 -1
  7. package/dist/component/action/SetAttributeValue.js +7 -0
  8. package/dist/component/action/ToggleAttributeValue.js +7 -0
  9. package/dist/component/action/Tooltip.js +1 -1
  10. package/dist/component/action/UnsetAttribute.js +7 -0
  11. package/dist/component/action/UnsetAttributeValue.js +7 -0
  12. package/dist/component/action/index.js +14 -10
  13. package/dist/component/dataMapping/index.js +1 -1
  14. package/dist/component/dataMapping/simpleMapping.js +1 -1
  15. package/dist/component/element/form/CheckBoxField.js +1 -1
  16. package/dist/component/element/form/DateField.js +1 -1
  17. package/dist/component/element/form/NumberField.js +1 -1
  18. package/dist/component/element/form/SelectField.js +2 -2
  19. package/dist/component/element/form/TextAreaField.js +1 -1
  20. package/dist/component/element/form/TextField.js +1 -1
  21. package/dist/component/element/form/formElementsCommon.js +1 -1
  22. package/dist/component/element/form/index.js +5 -5
  23. package/dist/component/element/html/AccordionItem.js +1 -1
  24. package/dist/component/element/html/FolderSortableTree.js +1 -1
  25. package/dist/component/element/html/FormatNumeral.js +1 -1
  26. package/dist/component/element/html/Html.js +1 -1
  27. package/dist/component/element/html/LabelFromValue.js +1 -1
  28. package/dist/component/element/html/Modal.js +1 -1
  29. package/dist/component/element/html/PreformattedMarkup.js +1 -1
  30. package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
  31. package/dist/component/element/html/Tabs.js +1 -1
  32. package/dist/component/element/html/index.js +1 -1
  33. package/dist/component/element/index.js +11 -11
  34. package/dist/component/element/special/BootstrapElement.js +1 -1
  35. package/dist/component/element/special/Count.js +2 -2
  36. package/dist/component/element/special/DataFilter.js +1 -1
  37. package/dist/component/element/special/DelayedActions.js +1 -1
  38. package/dist/component/element/special/Phantom.js +1 -1
  39. package/dist/component/element/special/ReactiveJsonSubroot.js +1 -1
  40. package/dist/component/element/special/Switch.js +2 -2
  41. package/dist/component/element/special/index.js +4 -4
  42. package/dist/component/index.js +49 -45
  43. package/dist/component/reaction/addData.js +1 -1
  44. package/dist/component/reaction/fetchData.js +1 -1
  45. package/dist/component/reaction/index.js +4 -4
  46. package/dist/component/reaction/moveData.js +1 -1
  47. package/dist/component/reaction/postMessage.js +1 -1
  48. package/dist/component/reaction/redirectNow.js +1 -1
  49. package/dist/component/reaction/removeData.js +1 -1
  50. package/dist/component/reaction/setClipboardData.js +1 -1
  51. package/dist/component/reaction/setData.js +1 -1
  52. package/dist/component/reaction/submitData.js +1 -1
  53. package/dist/component/reaction/utility/httpRequestCommon.js +1 -1
  54. package/dist/component/reaction/utility/index.js +2 -2
  55. package/dist/coreComponentsPlugin.js +1 -1
  56. package/dist/engine/Actions.js +1 -1
  57. package/dist/engine/ReactiveJsonRoot.js +1 -1
  58. package/dist/engine/TemplateSystem.js +1 -1
  59. package/dist/engine/View.js +1 -1
  60. package/dist/engine/index.js +15 -15
  61. package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
  62. package/dist/engine/utility/formatString.js +1 -1
  63. package/dist/engine/utility/index.js +1 -1
  64. package/dist/main.js +84 -80
  65. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { x as m } from "../../../HashChangeListener-Dl80ClRX.js";
1
+ import { E as m } from "../../../HashChangeListener-BaaJxyFq.js";
2
2
  import "../../../alterData-CjaFWyAA.js";
3
3
  import "../../../engine/utility/dataMappingSystem.js";
4
4
  import "../../../engine/utility/parseRjBuild.js";
@@ -1,4 +1,4 @@
1
- import { x } from "../../../HashChangeListener-Dl80ClRX.js";
1
+ import { E as o } from "../../../HashChangeListener-BaaJxyFq.js";
2
2
  export {
3
- x as executeHttpRequest
3
+ o as executeHttpRequest
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a3 as m } from "./HashChangeListener-Dl80ClRX.js";
1
+ import { a7 as m } from "./HashChangeListener-BaaJxyFq.js";
2
2
  import "./component/dataProcessor/index.js";
3
3
  export {
4
4
  m as coreComponentsPlugin
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "./GlobalDataContext.js";
4
4
  import "./TemplateContext.js";
5
- import { Q as s, O as d } from "../HashChangeListener-Dl80ClRX.js";
5
+ import { X as s, W as d } from "../HashChangeListener-BaaJxyFq.js";
6
6
  import "../component/action/Hide.js";
7
7
  import "../component/action/VisuallyHide.js";
8
8
  import "../alterData-CjaFWyAA.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { U as n } from "../HashChangeListener-Dl80ClRX.js";
2
+ import { Y as n } from "../HashChangeListener-BaaJxyFq.js";
3
3
  import "./ComponentCollector.js";
4
4
  import "./EventDispatcherProvider.js";
5
5
  import "./GlobalDataContextProvider.js";
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "./GlobalDataContext.js";
3
3
  import "./TemplateContext.js";
4
- import { V as u, a4 as o, W as i, X as m, Y as p, Z as r, _ as v } from "../HashChangeListener-Dl80ClRX.js";
4
+ import { Z as u, a8 as o, _ as i, $ as m, a0 as p, a1 as r, a2 as v } from "../HashChangeListener-BaaJxyFq.js";
5
5
  export {
6
6
  u as dataLocationToPath,
7
7
  o as default,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { a2 as e } from "../HashChangeListener-Dl80ClRX.js";
3
+ import { a6 as e } from "../HashChangeListener-BaaJxyFq.js";
4
4
  import "../component/element/special/PageControls.js";
5
5
  import "./GlobalDataContext.js";
6
6
  import "./TemplateContext.js";
@@ -1,31 +1,31 @@
1
- import { Q as t, U as o, a2 as r, $ as n, V as i, W as s, X as p, Y as l, a0 as m, Z as x, O as f, a1 as v, _ as d } from "../HashChangeListener-Dl80ClRX.js";
1
+ import { X as t, Y as o, a6 as r, a3 as n, Z as i, _ as s, $ as p, a0 as l, a4 as m, a1 as x, W as f, a5 as v, a2 as d } from "../HashChangeListener-BaaJxyFq.js";
2
2
  import { mergeComponentCollections as c } from "./ComponentCollector.js";
3
3
  import { EventDispatcherContext as D } from "./EventDispatcherContext.js";
4
- import { EventDispatcherProvider as P, addEventListener as T, removeEventListener as V } from "./EventDispatcherProvider.js";
5
- import { GlobalDataContext as E } from "./GlobalDataContext.js";
4
+ import { EventDispatcherProvider as P, addEventListener as T, removeEventListener as b } from "./EventDispatcherProvider.js";
5
+ import { GlobalDataContext as V } from "./GlobalDataContext.js";
6
6
  import { GlobalDataContextProvider as h } from "./GlobalDataContextProvider.js";
7
7
  import { PaginationContext as A } from "./PaginationContext.js";
8
8
  import { PaginationProvider as B } from "./PaginationProvider.js";
9
- import { TemplateContext as O } from "./TemplateContext.js";
10
- import { a as j } from "../alterData-CjaFWyAA.js";
11
- import { applyDataMapping as z } from "./utility/dataMappingSystem.js";
12
- import { parseRjBuild as J } from "./utility/parseRjBuild.js";
13
- import { stringToBoolean as Q } from "./utility/stringToBoolean.js";
9
+ import { TemplateContext as S } from "./TemplateContext.js";
10
+ import { a as w } from "../alterData-CjaFWyAA.js";
11
+ import { applyDataMapping as F } from "./utility/dataMappingSystem.js";
12
+ import { parseRjBuild as M } from "./utility/parseRjBuild.js";
13
+ import { stringToBoolean as W } from "./utility/stringToBoolean.js";
14
14
  export {
15
15
  t as ActionDependant,
16
16
  D as EventDispatcherContext,
17
17
  P as EventDispatcherProvider,
18
- E as GlobalDataContext,
18
+ V as GlobalDataContext,
19
19
  h as GlobalDataContextProvider,
20
20
  A as PaginationContext,
21
21
  B as PaginationProvider,
22
22
  o as ReactiveJsonRoot,
23
- O as TemplateContext,
23
+ S as TemplateContext,
24
24
  r as View,
25
25
  T as addEventListener,
26
- j as alterData,
26
+ w as alterData,
27
27
  n as analyzeDataOverrideReferences,
28
- z as applyDataMapping,
28
+ F as applyDataMapping,
29
29
  i as dataLocationToPath,
30
30
  s as evaluateAttributes,
31
31
  p as evaluateTemplateValue,
@@ -35,8 +35,8 @@ export {
35
35
  f as isValid,
36
36
  v as maybeFormatString,
37
37
  c as mergeComponentCollections,
38
- J as parseRjBuild,
39
- V as removeEventListener,
40
- Q as stringToBoolean,
38
+ M as parseRjBuild,
39
+ b as removeEventListener,
40
+ W as stringToBoolean,
41
41
  d as useEvaluatedAttributes
42
42
  };
@@ -1,4 +1,4 @@
1
- import { $ as r } from "../../HashChangeListener-Dl80ClRX.js";
1
+ import { a3 as r } from "../../HashChangeListener-BaaJxyFq.js";
2
2
  export {
3
3
  r as analyzeDataOverrideReferences
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a0 as t, a1 as m } from "../../HashChangeListener-Dl80ClRX.js";
1
+ import { a4 as t, a5 as m } from "../../HashChangeListener-BaaJxyFq.js";
2
2
  export {
3
3
  t as formatString,
4
4
  m as maybeFormatString
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../../alterData-CjaFWyAA.js";
2
- import { $ as t, a0 as p, a1 as m } from "../../HashChangeListener-Dl80ClRX.js";
2
+ import { a3 as t, a4 as p, a5 as m } from "../../HashChangeListener-BaaJxyFq.js";
3
3
  import { applyDataMapping as n } from "./dataMappingSystem.js";
4
4
  import { parseRjBuild as i } from "./parseRjBuild.js";
5
5
  import { stringToBoolean as x } from "./stringToBoolean.js";
package/dist/main.js CHANGED
@@ -1,22 +1,22 @@
1
- import { A as t, Q as o, B as s, C as r, k as i, l as n, D as l, m as p, F as m, e as c, H as d, f as x, L as u, M as f, g as D, N as v, q as g, P as C, h as b, R as F, U as T, t as P, a as h, S as R, i as E, u as A, j as V, b as L, d as M, T as S, a2 as y, v as B, $ as H, c as w, V as J, W as N, X as k, Y as z, x as G, w as I, a0 as O, o as j, Z as q, O as K, a1 as Q, y as U, n as W, z as X, p as Y, r as Z, E as _, G as $, I as aa, J as ea, s as ta, K as oa, _ as sa } from "./HashChangeListener-Dl80ClRX.js";
2
- import { Hide as ia } from "./component/action/Hide.js";
3
- import { VisuallyHide as la } from "./component/action/VisuallyHide.js";
4
- import { coreDataProcessorComponents as ma } from "./component/dataProcessor/index.js";
5
- import { PageControls as da } from "./component/element/special/PageControls.js";
6
- import { u as ua } from "./usePagination-Bb6lefHG.js";
7
- import { triggerEvent as Da } from "./component/reaction/triggerEvent.js";
8
- import { mergeComponentCollections as ga } from "./engine/ComponentCollector.js";
9
- import { EventDispatcherContext as ba } from "./engine/EventDispatcherContext.js";
10
- import { EventDispatcherProvider as Ta, addEventListener as Pa, removeEventListener as ha } from "./engine/EventDispatcherProvider.js";
11
- import { GlobalDataContext as Ea } from "./engine/GlobalDataContext.js";
12
- import { GlobalDataContextProvider as Va } from "./engine/GlobalDataContextProvider.js";
13
- import { PaginationContext as Ma } from "./engine/PaginationContext.js";
14
- import { PaginationProvider as ya } from "./engine/PaginationProvider.js";
15
- import { TemplateContext as Ha } from "./engine/TemplateContext.js";
16
- import { a as Ja } from "./alterData-CjaFWyAA.js";
17
- import { applyDataMapping as ka } from "./engine/utility/dataMappingSystem.js";
18
- import { parseRjBuild as Ga } from "./engine/utility/parseRjBuild.js";
19
- import { stringToBoolean as Oa } from "./engine/utility/stringToBoolean.js";
1
+ import { A as t, X as o, B as s, C as r, o as i, q as n, D as l, t as p, F as m, h as u, H as c, i as d, L as x, M as f, j as D, N as v, v as g, P as b, k as C, R as T, Y as F, w as P, a as A, e as V, S as h, l as R, x as E, m as S, f as L, g as M, T as y, b as B, U as H, c as w, a6 as J, y as N, a3 as k, d as z, Z as G, _ as I, $ as O, a0 as U, E as j, z as q, a4 as K, u as Q, a1 as W, W as X, a5 as Y, G as Z, n as _, I as $, p as aa, r as ea, J as ta, K as oa, O as sa, Q as ra, s as ia, V as na, a2 as la } from "./HashChangeListener-BaaJxyFq.js";
2
+ import { Hide as ma } from "./component/action/Hide.js";
3
+ import { VisuallyHide as ca } from "./component/action/VisuallyHide.js";
4
+ import { coreDataProcessorComponents as xa } from "./component/dataProcessor/index.js";
5
+ import { PageControls as Da } from "./component/element/special/PageControls.js";
6
+ import { u as ga } from "./usePagination-Bb6lefHG.js";
7
+ import { triggerEvent as Ca } from "./component/reaction/triggerEvent.js";
8
+ import { mergeComponentCollections as Fa } from "./engine/ComponentCollector.js";
9
+ import { EventDispatcherContext as Aa } from "./engine/EventDispatcherContext.js";
10
+ import { EventDispatcherProvider as ha, addEventListener as Ra, removeEventListener as Ea } from "./engine/EventDispatcherProvider.js";
11
+ import { GlobalDataContext as La } from "./engine/GlobalDataContext.js";
12
+ import { GlobalDataContextProvider as ya } from "./engine/GlobalDataContextProvider.js";
13
+ import { PaginationContext as Ha } from "./engine/PaginationContext.js";
14
+ import { PaginationProvider as Ja } from "./engine/PaginationProvider.js";
15
+ import { TemplateContext as ka } from "./engine/TemplateContext.js";
16
+ import { a as Ga } from "./alterData-CjaFWyAA.js";
17
+ import { applyDataMapping as Oa } from "./engine/utility/dataMappingSystem.js";
18
+ import { parseRjBuild as ja } from "./engine/utility/parseRjBuild.js";
19
+ import { stringToBoolean as Ka } from "./engine/utility/stringToBoolean.js";
20
20
  export {
21
21
  t as AccordionItem,
22
22
  o as ActionDependant,
@@ -26,73 +26,77 @@ export {
26
26
  n as DataFilter,
27
27
  l as DateField,
28
28
  p as DelayedActions,
29
- ba as EventDispatcherContext,
30
- Ta as EventDispatcherProvider,
29
+ Aa as EventDispatcherContext,
30
+ ha as EventDispatcherProvider,
31
31
  m as FolderSortableTree,
32
- c as FormatNumeral,
33
- Ea as GlobalDataContext,
34
- Va as GlobalDataContextProvider,
35
- d as HashChangeListener,
36
- ia as Hide,
37
- x as Html,
38
- u as LabelFromValue,
32
+ u as FormatNumeral,
33
+ La as GlobalDataContext,
34
+ ya as GlobalDataContextProvider,
35
+ c as HashChangeListener,
36
+ ma as Hide,
37
+ d as Html,
38
+ x as LabelFromValue,
39
39
  f as MessageListener,
40
40
  D as Modal,
41
41
  v as NumberField,
42
- da as PageControls,
43
- Ma as PaginationContext,
44
- ya as PaginationProvider,
42
+ Da as PageControls,
43
+ Ha as PaginationContext,
44
+ Ja as PaginationProvider,
45
45
  g as Phantom,
46
- C as Popover,
47
- b as PreformattedMarkup,
48
- F as ReactOnEvent,
49
- T as ReactiveJsonRoot,
46
+ b as Popover,
47
+ C as PreformattedMarkup,
48
+ T as ReactOnEvent,
49
+ F as ReactiveJsonRoot,
50
50
  P as ReactiveJsonSubroot,
51
- h as Redirect,
52
- R as SelectField,
53
- E as SortableTreeItemCollapseButton,
54
- A as Switch,
55
- V as Tabs,
56
- Ha as TemplateContext,
51
+ A as Redirect,
52
+ V as SelectField,
53
+ h as SetAttributeValue,
54
+ R as SortableTreeItemCollapseButton,
55
+ E as Switch,
56
+ S as Tabs,
57
+ ka as TemplateContext,
57
58
  L as TextAreaField,
58
59
  M as TextField,
59
- S as Tooltip,
60
- y as View,
61
- la as VisuallyHide,
62
- B as addData,
63
- Pa as addEventListener,
64
- Ja as alterData,
65
- H as analyzeDataOverrideReferences,
66
- ka as applyDataMapping,
67
- w as coreDataMappingComponents,
68
- ma as coreDataProcessorComponents,
69
- J as dataLocationToPath,
70
- N as evaluateAttributes,
71
- k as evaluateTemplateValue,
72
- z as evaluateTemplateValueCollection,
73
- G as executeHttpRequest,
74
- I as fetchData,
75
- O as formatString,
76
- j as getReactionFunctionsToExecute,
77
- q as isTemplateValue,
78
- K as isValid,
79
- Q as maybeFormatString,
80
- ga as mergeComponentCollections,
81
- U as moveData,
82
- W as normalizeAttributesForReactJsx,
83
- Ga as parseRjBuild,
84
- X as postMessage,
85
- Y as propsDataLocationToPathAndValue,
86
- Z as reactionFunctions,
87
- _ as redirectNow,
88
- $ as removeData,
89
- ha as removeEventListener,
90
- aa as setClipboardData,
91
- ea as setData,
92
- ta as simpleMapping,
93
- Oa as stringToBoolean,
94
- oa as submitData,
95
- Da as triggerEvent,
96
- sa as useEvaluatedAttributes,
97
- ua as usePagination
60
+ y as ToggleAttributeValue,
61
+ B as Tooltip,
62
+ H as UnsetAttribute,
63
+ w as UnsetAttributeValue,
64
+ J as View,
65
+ ca as VisuallyHide,
66
+ N as addData,
67
+ Ra as addEventListener,
68
+ Ga as alterData,
69
+ k as analyzeDataOverrideReferences,
70
+ Oa as applyDataMapping,
71
+ z as coreDataMappingComponents,
72
+ xa as coreDataProcessorComponents,
73
+ G as dataLocationToPath,
74
+ I as evaluateAttributes,
75
+ O as evaluateTemplateValue,
76
+ U as evaluateTemplateValueCollection,
77
+ j as executeHttpRequest,
78
+ q as fetchData,
79
+ K as formatString,
80
+ Q as getReactionFunctionsToExecute,
81
+ W as isTemplateValue,
82
+ X as isValid,
83
+ Y as maybeFormatString,
84
+ Fa as mergeComponentCollections,
85
+ Z as moveData,
86
+ _ as normalizeAttributesForReactJsx,
87
+ ja as parseRjBuild,
88
+ $ as postMessage,
89
+ aa as propsDataLocationToPathAndValue,
90
+ ea as reactionFunctions,
91
+ ta as redirectNow,
92
+ oa as removeData,
93
+ Ea as removeEventListener,
94
+ sa as setClipboardData,
95
+ ra as setData,
96
+ ia as simpleMapping,
97
+ Ka as stringToBoolean,
98
+ na as submitData,
99
+ Ca as triggerEvent,
100
+ la as useEvaluatedAttributes,
101
+ ga as usePagination
98
102
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ea-lab/reactive-json",
3
3
  "private": false,
4
- "version": "0.3.1",
4
+ "version": "0.5.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",