@ea-lab/reactive-json 0.0.23 → 0.0.25

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 (62) hide show
  1. package/README.md +0 -4
  2. package/dist/{View-BVKFBUCJ.js → HashChangeListener-Bt_Ofw5x.js} +11110 -10973
  3. package/dist/component/action/HashChangeListener.js +1 -1
  4. package/dist/component/action/MessageListener.js +1 -1
  5. package/dist/component/action/Popover.js +1 -1
  6. package/dist/component/action/ReactOnEvent.js +1 -1
  7. package/dist/component/action/Redirect.js +1 -1
  8. package/dist/component/action/Tooltip.js +1 -1
  9. package/dist/component/action/index.js +14 -0
  10. package/dist/component/element/form/CheckBoxField.js +1 -1
  11. package/dist/component/element/form/DateField.js +1 -1
  12. package/dist/component/element/form/SelectField.js +1 -1
  13. package/dist/component/element/form/TextAreaField.js +1 -1
  14. package/dist/component/element/form/TextField.js +1 -1
  15. package/dist/component/element/form/formElementsCommon.js +2 -2
  16. package/dist/component/element/form/index.js +11 -0
  17. package/dist/component/element/html/AccordionItem.js +1 -1
  18. package/dist/component/element/html/FolderSortableTree.js +1 -1
  19. package/dist/component/element/html/FormatNumeral.js +1 -1
  20. package/dist/component/element/html/Html.js +3 -3
  21. package/dist/component/element/html/LabelFromValue.js +1 -1
  22. package/dist/component/element/html/Modal.js +1 -1
  23. package/dist/component/element/html/PreformattedMarkup.js +1 -1
  24. package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
  25. package/dist/component/element/html/Tabs.js +1 -1
  26. package/dist/component/element/html/index.js +13 -0
  27. package/dist/component/element/index.js +30 -0
  28. package/dist/component/element/special/BootstrapElement.js +1 -1
  29. package/dist/component/element/special/Count.js +1 -1
  30. package/dist/component/element/special/DataFilter.js +1 -1
  31. package/dist/component/element/special/DelayedActions.js +1 -1
  32. package/dist/component/element/special/Phantom.js +1 -1
  33. package/dist/component/element/special/ReactiveJsonSubroot.js +11 -0
  34. package/dist/component/element/special/Switch.js +2 -2
  35. package/dist/component/element/special/index.js +12 -0
  36. package/dist/component/hook/index.js +4 -0
  37. package/dist/component/hook/usePagination.js +1 -1
  38. package/dist/component/index.js +54 -1
  39. package/dist/component/reaction/addData.js +1 -1
  40. package/dist/component/reaction/fetchData.js +2 -2
  41. package/dist/component/reaction/index.js +14 -0
  42. package/dist/component/reaction/moveData.js +2 -2
  43. package/dist/component/reaction/postMessage.js +1 -1
  44. package/dist/component/reaction/redirectNow.js +1 -1
  45. package/dist/component/reaction/removeData.js +1 -1
  46. package/dist/component/reaction/setClipboardData.js +2 -2
  47. package/dist/component/reaction/setData.js +2 -2
  48. package/dist/component/reaction/submitData.js +1 -1
  49. package/dist/engine/Actions.js +1 -1
  50. package/dist/engine/ReactiveJsonRoot.js +9 -1123
  51. package/dist/engine/TemplateSystem.js +3 -3
  52. package/dist/engine/View.js +2 -2
  53. package/dist/engine/index.js +31 -0
  54. package/dist/engine/utility/formatString.js +1 -1
  55. package/dist/engine/utility/parseRjBuild.js +994 -0
  56. package/dist/main.js +82 -1
  57. package/dist/{usePagination-BW6C-P1X.js → usePagination-B0yFkBzE.js} +3 -3
  58. package/package.json +1 -1
  59. package/dist/component/index.d.ts +0 -1
  60. package/dist/engine/Types.d.ts +0 -19
  61. package/dist/engine/Types.js +0 -1
  62. package/dist/main.d.ts +0 -1
package/dist/main.js CHANGED
@@ -1 +1,82 @@
1
-
1
+ import { A as t, I as o, B as s, C as r, j as i, k as n, D as l, l as m, F as p, d, H as u, e as x, L as c, M as v, f, o as D, P as C, g as F, R as T, J as b, a as P, S as g, h, q as E, i as A, b as V, c as L, T as R, W as H, s as M, K as N, N as S, O as w, Q as B, t as k, m as y, U as G, G as I, u as J, n as z, v as O, p as j, r as q, w as K, x as Q, y as U, z as W, E as X, V as Y } from "./HashChangeListener-Bt_Ofw5x.js";
2
+ import { Hide as _ } from "./component/action/Hide.js";
3
+ import { VisuallyHide as aa } from "./component/action/VisuallyHide.js";
4
+ import { N as ta } from "./NumberField-BCFUb50M.js";
5
+ import { PageControls as sa } from "./component/element/special/PageControls.js";
6
+ import { u as ia } from "./usePagination-B0yFkBzE.js";
7
+ import { triggerEvent as la } from "./component/reaction/triggerEvent.js";
8
+ import { mergeComponentCollections as pa } from "./engine/ComponentCollector.js";
9
+ import { EventDispatcherContext as ua } from "./engine/EventDispatcherContext.js";
10
+ import { EventDispatcherProvider as ca, addEventListener as va, removeEventListener as fa } from "./engine/EventDispatcherProvider.js";
11
+ import { GlobalDataContext as Ca } from "./engine/GlobalDataContext.js";
12
+ import { GlobalDataContextProvider as Ta } from "./engine/GlobalDataContextProvider.js";
13
+ import { PaginationContext as Pa } from "./engine/PaginationContext.js";
14
+ import { PaginationProvider as ha } from "./engine/PaginationProvider.js";
15
+ import { TemplateContext as Aa } from "./engine/TemplateContext.js";
16
+ export {
17
+ t as AccordionItem,
18
+ o as ActionDependant,
19
+ s as BootstrapElement,
20
+ r as CheckBoxField,
21
+ i as Count,
22
+ n as DataFilter,
23
+ l as DateField,
24
+ m as DelayedActions,
25
+ ua as EventDispatcherContext,
26
+ ca as EventDispatcherProvider,
27
+ p as FolderSortableTree,
28
+ d as FormatNumeral,
29
+ Ca as GlobalDataContext,
30
+ Ta as GlobalDataContextProvider,
31
+ u as HashChangeListener,
32
+ _ as Hide,
33
+ x as Html,
34
+ c as LabelFromValue,
35
+ v as MessageListener,
36
+ f as Modal,
37
+ ta as NumberField,
38
+ sa as PageControls,
39
+ Pa as PaginationContext,
40
+ ha as PaginationProvider,
41
+ D as Phantom,
42
+ C as Popover,
43
+ F as PreformattedMarkup,
44
+ T as ReactOnEvent,
45
+ b as ReactiveJsonRoot,
46
+ P as Redirect,
47
+ g as SelectField,
48
+ h as SortableTreeItemCollapseButton,
49
+ E as Switch,
50
+ A as Tabs,
51
+ Aa as TemplateContext,
52
+ V as TextAreaField,
53
+ L as TextField,
54
+ R as Tooltip,
55
+ H as View,
56
+ aa as VisuallyHide,
57
+ M as addData,
58
+ va as addEventListener,
59
+ N as dataLocationToPath,
60
+ S as evaluateAttributes,
61
+ w as evaluateTemplateValue,
62
+ B as evaluateTemplateValueCollection,
63
+ k as fetchData,
64
+ y as getReactionFunctionsToExecute,
65
+ G as isTemplateValue,
66
+ I as isValid,
67
+ pa as mergeComponentCollections,
68
+ J as moveData,
69
+ z as normalizeAttributesForReactJsx,
70
+ O as postMessage,
71
+ j as propsDataLocationToPathAndValue,
72
+ q as reactionFunctions,
73
+ K as redirectNow,
74
+ Q as removeData,
75
+ fa as removeEventListener,
76
+ U as setClipboardData,
77
+ W as setData,
78
+ X as submitData,
79
+ la as triggerEvent,
80
+ Y as useEvaluatedAttributes,
81
+ ia as usePagination
82
+ };
@@ -270,7 +270,7 @@ const c = Object.assign(D, {
270
270
  export {
271
271
  j as A,
272
272
  H as B,
273
- I as a,
274
- Y as b,
275
- C as u
273
+ C as a,
274
+ I as b,
275
+ Y as u
276
276
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ea-lab/reactive-json",
3
3
  "private": false,
4
- "version": "0.0.23",
4
+ "version": "0.0.25",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1 +0,0 @@
1
- export {};
@@ -1,19 +0,0 @@
1
- export interface RjComponent {
2
- }
3
- export interface ElementRjComponent extends RjComponent {
4
- props: RjBuildDefBase | Array<RjBuildDefBase> | undefined;
5
- path: string | undefined;
6
- currentData: any;
7
- datafield: string | undefined;
8
- }
9
- /**
10
- * The Reactive-JSON build definition from the JSON / YAML file.
11
- */
12
- export interface RjBuildDefBase {
13
- /**
14
- * The Reactive-JSON component type.
15
- *
16
- * Either an HTML tag name, or a registered Reactive-JSON ElementRjComponent name.
17
- */
18
- type: string;
19
- }
@@ -1 +0,0 @@
1
-
package/dist/main.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};