@ea-lab/reactive-json 0.0.41 → 0.0.43
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/{HashChangeListener-iq_iCIM0.js → HashChangeListener-Bz6llTlD.js} +1856 -1829
- package/dist/component/action/HashChangeListener.js +1 -1
- package/dist/component/action/MessageListener.js +1 -1
- package/dist/component/action/Popover.js +1 -1
- package/dist/component/action/ReactOnEvent.js +1 -1
- package/dist/component/action/Redirect.js +1 -1
- package/dist/component/action/Tooltip.js +1 -1
- package/dist/component/action/index.js +1 -1
- package/dist/component/element/form/CheckBoxField.js +1 -1
- package/dist/component/element/form/DateField.js +1 -1
- package/dist/component/element/form/NumberField.js +1 -1
- package/dist/component/element/form/SelectField.js +1 -1
- package/dist/component/element/form/TextAreaField.js +1 -1
- package/dist/component/element/form/TextField.js +1 -1
- package/dist/component/element/form/formElementsCommon.js +1 -1
- package/dist/component/element/form/index.js +1 -1
- package/dist/component/element/html/AccordionItem.js +1 -1
- package/dist/component/element/html/FolderSortableTree.js +1 -1
- package/dist/component/element/html/FormatNumeral.js +1 -1
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +1 -1
- package/dist/component/element/html/Modal.js +1 -1
- package/dist/component/element/html/PreformattedMarkup.js +1 -1
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
- package/dist/component/element/html/Tabs.js +1 -1
- package/dist/component/element/html/index.js +1 -1
- package/dist/component/element/index.js +1 -1
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +1 -1
- package/dist/component/element/special/DataFilter.js +1 -1
- package/dist/component/element/special/DelayedActions.js +1 -1
- package/dist/component/element/special/Phantom.js +1 -1
- package/dist/component/element/special/ReactiveJsonSubroot.js +1 -1
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +1 -1
- package/dist/component/reaction/addData.js +1 -1
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/moveData.js +1 -1
- package/dist/component/reaction/postMessage.js +1 -1
- package/dist/component/reaction/redirectNow.js +1 -1
- package/dist/component/reaction/removeData.js +1 -1
- package/dist/component/reaction/setClipboardData.js +1 -1
- package/dist/component/reaction/setData.js +1 -1
- package/dist/component/reaction/submitData.js +1 -1
- package/dist/engine/Actions.js +1 -1
- package/dist/engine/ReactiveJsonRoot.js +1 -1
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +1 -1
- package/dist/engine/index.js +1 -1
- package/dist/engine/utility/formatString.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/.cursorrules +0 -74
- package/README_LLM.md +0 -434
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { H as a } from "../../HashChangeListener-
|
|
3
|
+
import { H as a } from "../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../engine/EventDispatcherContext.js";
|
|
5
5
|
import "../../engine/GlobalDataContext.js";
|
|
6
6
|
import "../../engine/TemplateContext.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { M as s } from "../../HashChangeListener-
|
|
3
|
+
import { M as s } from "../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../engine/EventDispatcherContext.js";
|
|
5
5
|
import "../../engine/GlobalDataContext.js";
|
|
6
6
|
import "../../engine/TemplateContext.js";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../engine/TemplateContext.js";
|
|
5
|
-
import { R as a, r as e } from "../../HashChangeListener-
|
|
5
|
+
import { R as a, r as e } from "../../HashChangeListener-Bz6llTlD.js";
|
|
6
6
|
import "../reaction/triggerEvent.js";
|
|
7
7
|
export {
|
|
8
8
|
a as ReactOnEvent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as s, M as o, P as r, R as t, a as i, T as n, r as p } from "../../HashChangeListener-
|
|
1
|
+
import { H as s, M as o, P as r, R as t, a as i, T as n, r as p } from "../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { Hide as H } from "./Hide.js";
|
|
3
3
|
import { VisuallyHide as f } from "./VisuallyHide.js";
|
|
4
4
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { C as e } from "../../../HashChangeListener-
|
|
3
|
+
import { C as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { D as e } from "../../../HashChangeListener-
|
|
3
|
+
import { D as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { N as e } from "../../../HashChangeListener-
|
|
3
|
+
import { N as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { S as e } from "../../../HashChangeListener-
|
|
2
|
+
import { S as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { b as e } from "../../../HashChangeListener-
|
|
3
|
+
import { b as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
|
-
import { c as e } from "../../../HashChangeListener-
|
|
4
|
+
import { c as e } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
7
7
|
e as TextField
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as l, D as s, N as t, S as d, b as i, c as o, p as F } from "../../../HashChangeListener-
|
|
1
|
+
import { C as l, D as s, N as t, S as d, b as i, c as o, p as F } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
export {
|
|
3
3
|
l as CheckBoxField,
|
|
4
4
|
s as DateField,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { F as i } from "../../../HashChangeListener-
|
|
2
|
+
import { F as i } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { d as a } from "../../../HashChangeListener-
|
|
2
|
+
import { d as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { e as p, n as a } from "../../../HashChangeListener-
|
|
2
|
+
import { e as p, n as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { L as a } from "../../../HashChangeListener-
|
|
2
|
+
import { L as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../engine/GlobalDataContext.js";
|
|
3
3
|
import "../../../engine/TemplateContext.js";
|
|
4
|
-
import { f as a } from "../../../HashChangeListener-
|
|
4
|
+
import { f as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
5
5
|
import "react";
|
|
6
6
|
export {
|
|
7
7
|
a as Modal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { g as a } from "../../../HashChangeListener-
|
|
2
|
+
import { g as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { i as a } from "../../../HashChangeListener-
|
|
3
|
+
import { i as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, F as o, d as t, e as s, L as l, f as m, g as b, h as d, i as u, n as F } from "../../../HashChangeListener-
|
|
1
|
+
import { A as r, F as o, d as t, e as s, L as l, f as m, g as b, h as d, i as u, n as F } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
export {
|
|
3
3
|
r as AccordionItem,
|
|
4
4
|
o as FolderSortableTree,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, B as o, C as s, j as r, k as l, D as i, l as n, F as m, d as c, e as d, L as F, f as u, N as b, o as p, g as x, q as T, S as A, h as S, s as h, i as C, b as D, c as f, m as B, n as P, p as g } from "../../HashChangeListener-
|
|
1
|
+
import { A as t, B as o, C as s, j as r, k as l, D as i, l as n, F as m, d as c, e as d, L as F, f as u, N as b, o as p, g as x, q as T, S as A, h as S, s as h, i as C, b as D, c as f, m as B, n as P, p as g } from "../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { PageControls as L } from "./special/PageControls.js";
|
|
3
3
|
export {
|
|
4
4
|
t as AccordionItem,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { k as a } from "../../../HashChangeListener-
|
|
3
|
+
import { k as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/TemplateContext.js";
|
|
6
6
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { l as p, m as a } from "../../../HashChangeListener-
|
|
2
|
+
import { l as p, m as a } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/GlobalDataContext.js";
|
|
4
4
|
import "../../../engine/TemplateContext.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { q as b } from "../../../HashChangeListener-
|
|
2
|
+
import { q as b } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
3
3
|
import "../../../engine/EventDispatcherContext.js";
|
|
4
4
|
import "../../../engine/EventDispatcherProvider.js";
|
|
5
5
|
import "../../../engine/GlobalDataContext.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { s as c } from "../../../HashChangeListener-
|
|
3
|
+
import { s as c } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../../../engine/GlobalDataContext.js";
|
|
5
5
|
import "../../../engine/PaginationContext.js";
|
|
6
6
|
import "../../../engine/TemplateContext.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as a, j as e, k as s, l as n, o as r, q as c, s as i, m as l } from "../../../HashChangeListener-
|
|
1
|
+
import { B as a, j as e, k as s, l as n, o as r, q as c, s as i, m as l } from "../../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { PageControls as u } from "./PageControls.js";
|
|
3
3
|
export {
|
|
4
4
|
a as BootstrapElement,
|
package/dist/component/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, B as s, C as o, j as r, k as i, D as l, l as n, F as m, d, H as c, e as u, L as p, M as F, f as x, N as D, o as b, P as f, g, R as T, q as h, a as v, S as C, h as P, s as A, i as R, b as S, c as E, T as H, t as L, u as M, m as B, v as N, n as k, w, p as y, r as V, x as z, y as I, z as J, E as j, G as q } from "../HashChangeListener-
|
|
1
|
+
import { A as t, B as s, C as o, j as r, k as i, D as l, l as n, F as m, d, H as c, e as u, L as p, M as F, f as x, N as D, o as b, P as f, g, R as T, q as h, a as v, S as C, h as P, s as A, i as R, b as S, c as E, T as H, t as L, u as M, m as B, v as N, n as k, w, p as y, r as V, x as z, y as I, z as J, E as j, G as q } from "../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { Hide as O } from "./action/Hide.js";
|
|
3
3
|
import { VisuallyHide as Q } from "./action/VisuallyHide.js";
|
|
4
4
|
import { PageControls as W } from "./element/special/PageControls.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as s, u as e, v as r, w as o, x as D, y as m, z as d, E as i, G as p } from "../../HashChangeListener-
|
|
1
|
+
import { t as s, u as e, v as r, w as o, x as D, y as m, z as d, E as i, G as p } from "../../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { triggerEvent as f } from "./triggerEvent.js";
|
|
3
3
|
export {
|
|
4
4
|
s as addData,
|
package/dist/engine/Actions.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "./GlobalDataContext.js";
|
|
4
4
|
import "./TemplateContext.js";
|
|
5
|
-
import { J as n, I as s } from "../HashChangeListener-
|
|
5
|
+
import { J as n, I as s } from "../HashChangeListener-Bz6llTlD.js";
|
|
6
6
|
import "../component/action/Hide.js";
|
|
7
7
|
import "../component/action/VisuallyHide.js";
|
|
8
8
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "./EventDispatcherProvider.js";
|
|
3
3
|
import "./GlobalDataContextProvider.js";
|
|
4
4
|
import "./TemplateContext.js";
|
|
5
|
-
import { K as R } from "../HashChangeListener-
|
|
5
|
+
import { K as R } from "../HashChangeListener-Bz6llTlD.js";
|
|
6
6
|
import "./utility/parseRjBuild.js";
|
|
7
7
|
import "./utility/stringToBoolean.js";
|
|
8
8
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "./GlobalDataContext.js";
|
|
3
3
|
import "./TemplateContext.js";
|
|
4
|
-
import { O as u, $ as o, Q as i, U as m, V as p, W as r, X as v } from "../HashChangeListener-
|
|
4
|
+
import { O as u, $ as o, Q as i, U as m, V as p, W as r, X as v } from "../HashChangeListener-Bz6llTlD.js";
|
|
5
5
|
export {
|
|
6
6
|
u as dataLocationToPath,
|
|
7
7
|
o as default,
|
package/dist/engine/View.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Y as a } from "../HashChangeListener-
|
|
3
|
+
import { Y as a } from "../HashChangeListener-Bz6llTlD.js";
|
|
4
4
|
import "../component/element/special/PageControls.js";
|
|
5
5
|
import "./GlobalDataContext.js";
|
|
6
6
|
import "./TemplateContext.js";
|
package/dist/engine/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as a, K as o, Y as r, O as n, Q as i, U as s, V as l, W as p, I as m, X as x } from "../HashChangeListener-
|
|
1
|
+
import { J as a, K as o, Y as r, O as n, Q as i, U as s, V as l, W as p, I as m, X as x } from "../HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { mergeComponentCollections as u } from "./ComponentCollector.js";
|
|
3
3
|
import { EventDispatcherContext as f } from "./EventDispatcherContext.js";
|
|
4
4
|
import { EventDispatcherProvider as c, addEventListener as P, removeEventListener as V } from "./EventDispatcherProvider.js";
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, J 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 c, L as x, M as v, f, N as D, o as C, P as b, g as F, R as T, K as P, q as g, a as h, S as E, h as A, s as V, i as L, b as R, c as S, T as H, Y as M, t as w, O as B, Q as J, U as N, V as k, u as y, m as G, W as I, I as z, v as O, n as j, w as q, p as K, r as Q, x as U, y as W, z as X, E as Y, G as Z, X as _ } from "./HashChangeListener-
|
|
1
|
+
import { A as t, J 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 c, L as x, M as v, f, N as D, o as C, P as b, g as F, R as T, K as P, q as g, a as h, S as E, h as A, s as V, i as L, b as R, c as S, T as H, Y as M, t as w, O as B, Q as J, U as N, V as k, u as y, m as G, W as I, I as z, v as O, n as j, w as q, p as K, r as Q, x as U, y as W, z as X, E as Y, G as Z, X as _ } from "./HashChangeListener-Bz6llTlD.js";
|
|
2
2
|
import { Hide as aa } from "./component/action/Hide.js";
|
|
3
3
|
import { VisuallyHide as ta } from "./component/action/VisuallyHide.js";
|
|
4
4
|
import { PageControls as sa } from "./component/element/special/PageControls.js";
|
package/package.json
CHANGED
package/.cursorrules
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# Instructions for Cursor AI - Reactive-JSON
|
|
2
|
-
|
|
3
|
-
## 🚀 Quick Start for AI Assistants
|
|
4
|
-
**FIRST STEP**: Read `README_LLM.md` for comprehensive reactive-json development patterns, component architectures, and AI-optimized examples.
|
|
5
|
-
|
|
6
|
-
## Reference Documentation
|
|
7
|
-
- Installation: `npm install --save-dev @ea-lab/reactive-json-docs`
|
|
8
|
-
- Main documentation entry point with demos: `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/index.yaml`
|
|
9
|
-
- **Component Development** (React source code): `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/extend/`
|
|
10
|
-
- `component-development.md`: Complete guide for creating React components
|
|
11
|
-
- `plugin-system.md`: Plugin system and architecture
|
|
12
|
-
- **Component Usage** (JSON/YAML configuration): `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/core/`
|
|
13
|
-
- `action/`: Action components usage (Hide, Tooltip, Popover, etc.)
|
|
14
|
-
- `element/`: Element components usage (form fields, HTML elements, etc.)
|
|
15
|
-
- `reaction/`: Reaction components usage (data operations)
|
|
16
|
-
- `example/`: Complete examples and use cases
|
|
17
|
-
- Chart.js integration overview: `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/chartjs/`
|
|
18
|
-
|
|
19
|
-
## Main Instructions
|
|
20
|
-
1. **ALWAYS consult the documentation in `@ea-lab/reactive-json-docs` package** before proposing solutions
|
|
21
|
-
2. Start with `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/index.yaml` or relevant category documentation
|
|
22
|
-
3. Follow the patterns and examples shown in the .yaml and .md files
|
|
23
|
-
4. **Documentation Priority**: Prefer .md files when available (more digestible for LLM analysis), fallback to .yaml files if .md doesn't exist
|
|
24
|
-
5. **Context-Aware Documentation**:
|
|
25
|
-
- For React component development → `extend/component-development.md`
|
|
26
|
-
- For JSON/YAML usage → `core/[category]/`
|
|
27
|
-
6. Refer to the comprehensive examples in `node_modules/@ea-lab/reactive-json-docs/public/rjbuild/docs/core/example/`
|
|
28
|
-
|
|
29
|
-
**Context-Specific References**:
|
|
30
|
-
- For **creating/developing** React components → use `extend/component-development.md`
|
|
31
|
-
- For **using/configuring** components in JSON/YAML → use `core/[category]/`
|
|
32
|
-
|
|
33
|
-
## Plugin System Requirements
|
|
34
|
-
|
|
35
|
-
**⚠️ CRITICAL**: When using custom components as plugins, `mergeComponentCollections([...])` is **MANDATORY** - even for a single plugin collection. The reactive-json plugin system will NOT work without it.
|
|
36
|
-
|
|
37
|
-
```js
|
|
38
|
-
import {ReactiveJsonRoot, mergeComponentCollections} from "@ea-lab/reactive-json";
|
|
39
|
-
|
|
40
|
-
const plugins = mergeComponentCollections([customPlugins]); // REQUIRED
|
|
41
|
-
return <ReactiveJsonRoot {...props} plugins={plugins} />;
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Component Validation Rules
|
|
45
|
-
|
|
46
|
-
1. For each component, STRICTLY verify:
|
|
47
|
-
- The structure of properties in the documentation
|
|
48
|
-
- The type of each property (array, object, string, etc.)
|
|
49
|
-
- The examples provided in .md and .yaml files
|
|
50
|
-
|
|
51
|
-
2. For array-type properties:
|
|
52
|
-
- ✅ Allow multiple distinct elements
|
|
53
|
-
- ❌ Never duplicate properties within the same element
|
|
54
|
-
- ✅ Respect the unitary structure of each element
|
|
55
|
-
|
|
56
|
-
3. Documentation conventions:
|
|
57
|
-
- If a property is an array, it accepts multiple DISTINCT elements
|
|
58
|
-
- Each array element must strictly follow the documented schema
|
|
59
|
-
- Multiple conditions must be distributed across separate elements
|
|
60
|
-
|
|
61
|
-
4. When in doubt:
|
|
62
|
-
- Always refer to the documentation examples
|
|
63
|
-
- Do not extrapolate undocumented functionalities
|
|
64
|
-
- Prioritize simplicity and clarity
|
|
65
|
-
|
|
66
|
-
## Language Rules
|
|
67
|
-
- Respond in the language of the user's question or as specified by the user in the conversation
|
|
68
|
-
- Always write documentation content in English, regardless of the conversation language
|
|
69
|
-
|
|
70
|
-
## Response Process
|
|
71
|
-
1. First consult the relevant documentation in `@ea-lab/reactive-json-docs` package
|
|
72
|
-
2. Verify existing examples in the appropriate category
|
|
73
|
-
3. Apply validation rules
|
|
74
|
-
4. Propose a solution compliant with standards
|