@ea-lab/reactive-json-docs 0.7.0 → 1.0.0-alpha.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 (116) hide show
  1. package/package.json +7 -5
  2. package/public/rjbuild/docs/advanced-concepts/data-processors.md +2 -2
  3. package/public/rjbuild/docs/advanced-concepts/plugins/component-development-guide-llm.md +14 -14
  4. package/public/rjbuild/docs/advanced-concepts/plugins/plugin-system.md +47 -1
  5. package/public/rjbuild/docs/advanced-concepts/plugins/plugin-system.yaml +53 -1
  6. package/public/rjbuild/docs/core/action/HashChangeListener.md +1 -1
  7. package/public/rjbuild/docs/core/action/HashChangeListener.yaml +24 -6
  8. package/public/rjbuild/docs/core/action/Hide.md +2 -2
  9. package/public/rjbuild/docs/core/action/Hide.yaml +4 -3
  10. package/public/rjbuild/docs/core/action/MessageListener.md +4 -4
  11. package/public/rjbuild/docs/core/action/MessageListener.yaml +18 -6
  12. package/public/rjbuild/docs/core/action/ReactOnEvent.md +4 -4
  13. package/public/rjbuild/docs/core/action/ReactOnEvent.yaml +4 -4
  14. package/public/rjbuild/docs/core/action/Redirect.md +2 -2
  15. package/public/rjbuild/docs/core/action/Redirect.yaml +8 -2
  16. package/public/rjbuild/docs/core/action/VisuallyHide.md +2 -2
  17. package/public/rjbuild/docs/core/action/VisuallyHide.yaml +2 -2
  18. package/public/rjbuild/docs/core/dataMapping/simpleMapping.md +5 -5
  19. package/public/rjbuild/docs/core/dataMapping/simpleMapping.yaml +90 -60
  20. package/public/rjbuild/docs/core/element/debug/VariablesDebug.md +59 -0
  21. package/public/rjbuild/docs/core/element/debug/VariablesDebug.yaml +71 -0
  22. package/public/rjbuild/docs/core/element/form/Input.md +307 -0
  23. package/public/rjbuild/docs/core/element/form/Input.yaml +572 -0
  24. package/public/rjbuild/docs/core/element/html/FolderSortableTree.yaml +40 -12
  25. package/public/rjbuild/docs/core/element/html/FormatNumeral.yaml +21 -7
  26. package/public/rjbuild/docs/core/element/html/Html.yaml +26 -9
  27. package/public/rjbuild/docs/core/element/html/LabelFromValue.yaml +25 -8
  28. package/public/rjbuild/docs/core/element/html/PreformattedMarkup.yaml +23 -7
  29. package/public/rjbuild/docs/core/element/html/SortableTreeItemCollapseButton.yaml +7 -6
  30. package/public/rjbuild/docs/core/element/html/SyntaxHighlighter.yaml +56 -20
  31. package/public/rjbuild/docs/core/element/special/Count.md +8 -10
  32. package/public/rjbuild/docs/core/element/special/Count.yaml +121 -40
  33. package/public/rjbuild/docs/core/element/special/DataFilter.md +40 -41
  34. package/public/rjbuild/docs/core/element/special/DataFilter.yaml +197 -81
  35. package/public/rjbuild/docs/core/element/special/DelayedActions.md +13 -15
  36. package/public/rjbuild/docs/core/element/special/DelayedActions.yaml +32 -13
  37. package/public/rjbuild/docs/core/element/special/PageControls.md +8 -10
  38. package/public/rjbuild/docs/core/element/special/PageControls.yaml +9 -8
  39. package/public/rjbuild/docs/core/element/special/Phantom.md +9 -11
  40. package/public/rjbuild/docs/core/element/special/Phantom.yaml +22 -9
  41. package/public/rjbuild/docs/core/element/special/ReactiveJsonSubroot.md +7 -9
  42. package/public/rjbuild/docs/core/element/special/ReactiveJsonSubroot.yaml +167 -49
  43. package/public/rjbuild/docs/core/element/special/Switch.md +36 -38
  44. package/public/rjbuild/docs/core/element/special/Switch.yaml +68 -40
  45. package/public/rjbuild/docs/core/example/html.md +2 -2
  46. package/public/rjbuild/docs/core/example/html.yaml +2 -3
  47. package/public/rjbuild/docs/core/example/native-html-forms.md +245 -0
  48. package/public/rjbuild/docs/core/example/native-html-forms.yaml +393 -0
  49. package/public/rjbuild/docs/core/reaction/addData.md +17 -5
  50. package/public/rjbuild/docs/core/reaction/addData.yaml +70 -11
  51. package/public/rjbuild/docs/core/reaction/fetchData.md +1 -2
  52. package/public/rjbuild/docs/core/reaction/fetchData.yaml +84 -19
  53. package/public/rjbuild/docs/core/reaction/moveData.md +0 -4
  54. package/public/rjbuild/docs/core/reaction/moveData.yaml +28 -6
  55. package/public/rjbuild/docs/core/reaction/postMessage.md +0 -4
  56. package/public/rjbuild/docs/core/reaction/postMessage.yaml +29 -6
  57. package/public/rjbuild/docs/core/reaction/redirectNow.md +0 -4
  58. package/public/rjbuild/docs/core/reaction/redirectNow.yaml +10 -3
  59. package/public/rjbuild/docs/core/reaction/removeData.md +2 -6
  60. package/public/rjbuild/docs/core/reaction/removeData.yaml +40 -2
  61. package/public/rjbuild/docs/core/reaction/setClipboardData.md +0 -4
  62. package/public/rjbuild/docs/core/reaction/setClipboardData.yaml +10 -3
  63. package/public/rjbuild/docs/core/reaction/setData.md +18 -8
  64. package/public/rjbuild/docs/core/reaction/setData.yaml +43 -11
  65. package/public/rjbuild/docs/core/reaction/submitData.md +2 -3
  66. package/public/rjbuild/docs/core/reaction/submitData.yaml +43 -7
  67. package/public/rjbuild/docs/core/reaction/triggerEvent.md +0 -4
  68. package/public/rjbuild/docs/core/reaction/triggerEvent.yaml +25 -11
  69. package/public/rjbuild/docs/docs-components/Mermaid.md +254 -0
  70. package/public/rjbuild/docs/docs-components/Mermaid.yaml +339 -0
  71. package/public/rjbuild/docs/docs-components/index.yaml +1 -0
  72. package/public/rjbuild/docs/getting-started/actions.md +1 -1
  73. package/public/rjbuild/docs/index.yaml +2 -1
  74. package/public/rjbuild/docs/install.md +26 -29
  75. package/public/rjbuild/docs/install.yaml +4 -10
  76. package/public/rjbuild/docs/integration/bootstrap/action/Popover.md +26 -0
  77. package/public/rjbuild/docs/{core → integration/bootstrap}/action/Popover.yaml +28 -5
  78. package/public/rjbuild/docs/{core → integration/bootstrap}/action/Tooltip.md +4 -4
  79. package/public/rjbuild/docs/{core → integration/bootstrap}/action/Tooltip.yaml +16 -3
  80. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/CheckBoxField.md +8 -8
  81. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/CheckBoxField.yaml +40 -8
  82. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/DateField.md +5 -5
  83. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/DateField.yaml +27 -5
  84. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/NumberField.md +7 -7
  85. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/NumberField.yaml +32 -7
  86. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/SelectField.md +9 -9
  87. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/SelectField.yaml +46 -9
  88. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/TextAreaField.md +8 -8
  89. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/TextAreaField.yaml +36 -8
  90. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/TextField.md +8 -8
  91. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/TextField.yaml +38 -8
  92. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/formElementsCommon.md +2 -4
  93. package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/index.md +0 -2
  94. package/public/rjbuild/docs/integration/bootstrap/element/html/AccordionItem.md +69 -0
  95. package/public/rjbuild/docs/{core → integration/bootstrap}/element/html/AccordionItem.yaml +19 -7
  96. package/public/rjbuild/docs/integration/bootstrap/element/html/Modal.md +127 -0
  97. package/public/rjbuild/docs/{core → integration/bootstrap}/element/html/Modal.yaml +35 -12
  98. package/public/rjbuild/docs/integration/bootstrap/element/html/Tabs.md +150 -0
  99. package/public/rjbuild/docs/{core → integration/bootstrap}/element/html/Tabs.yaml +24 -15
  100. package/public/rjbuild/docs/integration/bootstrap/element/html/index.md +13 -0
  101. package/public/rjbuild/docs/{core → integration/bootstrap}/element/special/BootstrapElement.md +4 -6
  102. package/public/rjbuild/docs/integration/bootstrap/element/special/BootstrapElement.yaml +29 -0
  103. package/public/rjbuild/docs/integration/bootstrap/element/special/index.md +19 -0
  104. package/public/rjbuild/docs/integration/bootstrap/example/website.md +41 -0
  105. package/public/rjbuild/docs/integration/bootstrap/overview.md +69 -0
  106. package/public/rjbuild/docs/integration/bootstrap/overview.yaml +87 -0
  107. package/public/rjbuild/docs/core/action/Popover.md +0 -26
  108. package/public/rjbuild/docs/core/element/special/BootstrapElement.yaml +0 -18
  109. /package/public/rjbuild/docs/{core → integration/bootstrap}/element/form/index.yaml +0 -0
  110. /package/public/rjbuild/docs/{core → integration/bootstrap}/example/accordion.md +0 -0
  111. /package/public/rjbuild/docs/{core → integration/bootstrap}/example/accordion.yaml +0 -0
  112. /package/public/rjbuild/docs/{core → integration/bootstrap}/example/dynamic-content.md +0 -0
  113. /package/public/rjbuild/docs/{core → integration/bootstrap}/example/dynamic-content.yaml +0 -0
  114. /package/public/rjbuild/docs/{core → integration/bootstrap}/example/website.yaml +0 -0
  115. /package/public/rjbuild/docs/{chartjs → integration/chartjs}/components.yaml +0 -0
  116. /package/public/rjbuild/docs/{chartjs → integration/chartjs}/overview.yaml +0 -0
@@ -12,22 +12,22 @@ Adapt commands according to the execution environment (Windows, Ubuntu, Mac...).
12
12
 
13
13
  ## Table of Contents
14
14
 
15
- 1. [Project Directory Confirmation](#1-project-directory-confirmation)
16
- 2. [Collecting User Information](#2-collecting-user-information)
17
- 3. [Documentation Repositories Setup](#3-documentation-repositories-setup)
18
- 4. [Cursor Workspace Configuration](#4-cursor-workspace-configuration)
19
- 5. [Vite Project Initialization](#5-vite-project-initialization)
20
- 6. [Project Structure Verification](#6-project-structure-verification)
21
- 7. [Dependencies Installation](#7-dependencies-installation)
22
- 8. [Cursor Project Rules Creation](#8-cursor-project-rules-creation)
23
- 9. [Generated Project Cleanup](#9-generated-project-cleanup)
24
- 10. [Basic Configuration with ReactiveJsonRoot](#10-basic-configuration-with-reactivejsonroot)
25
- 11. [Routing Configuration (Optional)](#11-routing-configuration-optional)
26
- 12. [Final Verification](#12-final-verification)
15
+ 1. [Project Directory Confirmation](#project-directory-confirmation)
16
+ 2. [Collecting User Information](#collecting-user-information)
17
+ 3. [Documentation Repositories Setup](#documentation-repositories-setup)
18
+ 4. [Cursor Workspace Configuration](#cursor-workspace-configuration)
19
+ 5. [Vite Project Initialization](#vite-project-initialization)
20
+ 6. [Project Structure Verification](#project-structure-verification)
21
+ 7. [Dependencies Installation](#dependencies-installation)
22
+ 8. [Cursor Project Rules Creation](#cursor-project-rules-creation)
23
+ 9. [Generated Project Cleanup](#generated-project-cleanup)
24
+ 10. [Basic Configuration with ReactiveJsonRoot](#basic-configuration-with-reactivejsonroot)
25
+ 11. [Routing Configuration (Optional)](#routing-configuration-optional)
26
+ 12. [Final Verification](#final-verification)
27
27
 
28
28
  ## Chronological Steps
29
29
 
30
- ### 1. Project Directory Confirmation
30
+ ### Project Directory Confirmation
31
31
 
32
32
  **Action:** Show the user if the IDE is opened in the directory where the project will
33
33
  be initialized, then ask for confirmation:
@@ -51,7 +51,7 @@ be initialized, then ask for confirmation:
51
51
 
52
52
  ---
53
53
 
54
- ### 2. Collecting User Information
54
+ ### Collecting User Information
55
55
 
56
56
  **Action:** Ask the user for the following information:
57
57
 
@@ -70,7 +70,7 @@ When invalid, ask again the location with valid suggestions.
70
70
 
71
71
  ---
72
72
 
73
- ### 3. Documentation Repositories Setup
73
+ ### Documentation Repositories Setup
74
74
 
75
75
  **Action:** Clone the required documentation repositories
76
76
 
@@ -89,7 +89,7 @@ git clone https://github.com/Ealab-collab/reactive-json-docs.git
89
89
 
90
90
  ---
91
91
 
92
- ### 4. Cursor Workspace Configuration
92
+ ### Cursor Workspace Configuration
93
93
 
94
94
  **Action:** Ask the user to add repositories to the workspace
95
95
 
@@ -107,7 +107,7 @@ git clone https://github.com/Ealab-collab/reactive-json-docs.git
107
107
 
108
108
  ---
109
109
 
110
- ### 5. Vite Project Initialization
110
+ ### Vite Project Initialization
111
111
 
112
112
  **Action:** Create the project with Vite in the current directory
113
113
 
@@ -126,7 +126,7 @@ npm create vite@latest . -- --template react
126
126
 
127
127
  ---
128
128
 
129
- ### 6. Project Structure Verification
129
+ ### Project Structure Verification
130
130
 
131
131
  **Action:** Verify the project structure is correct
132
132
 
@@ -157,7 +157,7 @@ ls -la
157
157
 
158
158
  ---
159
159
 
160
- ### 7. Dependencies Installation
160
+ ### Dependencies Installation
161
161
 
162
162
  **Action:** Install required packages
163
163
 
@@ -165,12 +165,12 @@ ls -la
165
165
 
166
166
  ```bash
167
167
  npm install
168
- npm install @ea-lab/reactive-json bootstrap react-bootstrap axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
168
+ npm install @ea-lab/reactive-json axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
169
169
  ```
170
170
 
171
171
  ---
172
172
 
173
- ### 8. Cursor Project Rules Creation
173
+ ### Cursor Project Rules Creation
174
174
 
175
175
  **Action:** Copy Cursor rules from documentation repositories
176
176
 
@@ -200,7 +200,7 @@ These rules contain all the necessary directives to work effectively with reacti
200
200
 
201
201
  ---
202
202
 
203
- ### 9. Generated Project Cleanup
203
+ ### Generated Project Cleanup
204
204
 
205
205
  **Action:** Remove/clean files generated by Vite
206
206
 
@@ -218,8 +218,7 @@ These rules contain all the necessary directives to work effectively with reacti
218
218
  import React from 'react'
219
219
  import ReactDOM from 'react-dom/client'
220
220
  import App from './App.tsx'
221
- // Import Bootstrap styles for reactive-json
222
- import 'bootstrap/dist/css/bootstrap.min.css'
221
+ // Import global CSS here if needed
223
222
 
224
223
  ReactDOM.createRoot(document.getElementById('root')!).render(
225
224
  <App />
@@ -230,7 +229,7 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
230
229
 
231
230
  ---
232
231
 
233
- ### 10. Basic Configuration with ReactiveJsonRoot
232
+ ### Basic Configuration with ReactiveJsonRoot
234
233
 
235
234
  **Action:** Configure the base component with an external YAML file
236
235
 
@@ -240,7 +239,6 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
240
239
 
241
240
  ```javascript
242
241
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
243
- import 'bootstrap/dist/css/bootstrap.min.css'
244
242
 
245
243
  function App() {
246
244
  return <ReactiveJsonRoot rjBuildUrl="/config.yaml" rjBuildFetchMethod="GET" />
@@ -259,7 +257,7 @@ renderView:
259
257
 
260
258
  ---
261
259
 
262
- ### 11. Routing Configuration (Optional)
260
+ ### Routing Configuration (Optional)
263
261
 
264
262
  **Action:** Ask the user if they want to add routing for application organization
265
263
 
@@ -335,7 +333,6 @@ import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'
335
333
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
336
334
  import { routeMapping } from './config/routes'
337
335
  import Navigation from './components/Navigation'
338
- import 'bootstrap/dist/css/bootstrap.min.css'
339
336
 
340
337
  function App() {
341
338
  return (
@@ -385,7 +382,7 @@ renderView:
385
382
 
386
383
  ---
387
384
 
388
- ### 12. Final Verification
385
+ ### Final Verification
389
386
 
390
387
  **Action:** Launch development server
391
388
 
@@ -188,7 +188,7 @@ renderView:
188
188
  npm install
189
189
 
190
190
  # Install Reactive-JSON and required packages
191
- npm install @ea-lab/reactive-json bootstrap react-bootstrap axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
191
+ npm install @ea-lab/reactive-json axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
192
192
 
193
193
  - type: Markdown
194
194
  content: |
@@ -244,7 +244,6 @@ renderView:
244
244
  import React from 'react'
245
245
  import ReactDOM from 'react-dom/client'
246
246
  import App from './App.tsx'
247
- import 'bootstrap/dist/css/bootstrap.min.css'
248
247
 
249
248
  ReactDOM.createRoot(document.getElementById('root')!).render(
250
249
  <App />
@@ -262,7 +261,6 @@ renderView:
262
261
  language: typescript
263
262
  content: |
264
263
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
265
- import 'bootstrap/dist/css/bootstrap.min.css'
266
264
 
267
265
  function App() {
268
266
  return <ReactiveJsonRoot rjBuildUrl="/config.yaml" rjBuildFetchMethod="GET" />
@@ -371,7 +369,6 @@ renderView:
371
369
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
372
370
  import { routeMapping } from './config/routes'
373
371
  import Navigation from './components/Navigation'
374
- import 'bootstrap/dist/css/bootstrap.min.css'
375
372
 
376
373
  function App() {
377
374
  return (
@@ -456,7 +453,7 @@ renderView:
456
453
 
457
454
  - If you see errors, check that all dependencies are installed correctly
458
455
  - Ensure the `public/config.yaml` file exists
459
- - Verify that Bootstrap CSS is imported
456
+ - Verify that required CSS is imported (if any)
460
457
  - Check browser console for any JavaScript errors
461
458
 
462
459
  ---
@@ -644,7 +641,7 @@ templates:
644
641
 
645
642
  ```bash
646
643
  npm install
647
- npm install @ea-lab/reactive-json bootstrap react-bootstrap axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
644
+ npm install @ea-lab/reactive-json axios clsx dnd-kit-sortable-tree html-react-parser js-yaml jsonpath lodash
648
645
  ```
649
646
 
650
647
  ---
@@ -697,8 +694,7 @@ templates:
697
694
  import React from 'react'
698
695
  import ReactDOM from 'react-dom/client'
699
696
  import App from './App.tsx'
700
- // Import Bootstrap styles for reactive-json
701
- import 'bootstrap/dist/css/bootstrap.min.css'
697
+ // Import global CSS here if needed.
702
698
 
703
699
  ReactDOM.createRoot(document.getElementById('root')!).render(
704
700
  <App />
@@ -719,7 +715,6 @@ templates:
719
715
 
720
716
  ```javascript
721
717
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
722
- import 'bootstrap/dist/css/bootstrap.min.css'
723
718
 
724
719
  function App() {
725
720
  return <ReactiveJsonRoot rjBuildUrl="/config.yaml" rjBuildFetchMethod="GET" />
@@ -814,7 +809,6 @@ templates:
814
809
  import { ReactiveJsonRoot } from '@ea-lab/reactive-json'
815
810
  import { routeMapping } from './config/routes'
816
811
  import Navigation from './components/Navigation'
817
- import 'bootstrap/dist/css/bootstrap.min.css'
818
812
 
819
813
  function App() {
820
814
  return (
@@ -0,0 +1,26 @@
1
+ # Popover
2
+
3
+ Displays a Bootstrap popover on click or hover of the element.
4
+
5
+ ## Properties
6
+ - `header` (optional): Content of the popover header.
7
+ - `body`: Content of the popover body.
8
+ - `placement` (optional): Position (`top`, `bottom`, `left`, `right`).
9
+ - `trigger` (optional): Trigger event (`click`, `hover`, etc.).
10
+
11
+ ## Example
12
+ ```yaml
13
+ renderView:
14
+ - type: button
15
+ content: "Click me"
16
+ actions:
17
+ - what: popover
18
+ header: "Popover Title"
19
+ body: "This is the popover content."
20
+ placement: right
21
+ trigger: click
22
+ ```
23
+
24
+ ## Limitation
25
+ - Requires the Bootstrap integration plugin (`@ea-lab/reactive-json-bootstrap`).
26
+ - The child component must be able to accept a React reference.
@@ -3,13 +3,36 @@ renderView:
3
3
  content: |
4
4
  # Popover
5
5
 
6
- **Description**: Displays a Bootstrap popover on click or hover of the element.
6
+ Displays a Bootstrap popover on click or hover of the element.
7
7
 
8
8
  ## Properties
9
- - `header` (optional): content of the popover header
10
- - `body`: content of the popover body
11
- - `placement` (optional): position (`top`, `bottom`, `left`, `right`)
12
- - `trigger` (optional): trigger event (`click`, `hover`, etc.)
9
+
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: header
14
+ after: "(optional)"
15
+ details:
16
+ type: Markdown
17
+ content: "Content of the popover header."
18
+ - term:
19
+ code: body
20
+ after: "(required)"
21
+ details:
22
+ type: Markdown
23
+ content: "Content of the popover body."
24
+ - term:
25
+ code: placement
26
+ after: "(string, optional)"
27
+ details:
28
+ type: Markdown
29
+ content: "Position (`top`, `bottom`, `left`, `right`)."
30
+ - term:
31
+ code: trigger
32
+ after: "(string, optional)"
33
+ details:
34
+ type: Markdown
35
+ content: "Trigger event (`click`, `hover`, etc.)."
13
36
 
14
37
  - type: RjBuildDescriber
15
38
  title: "Popover Action Example"
@@ -1,10 +1,10 @@
1
1
  # Tooltip
2
2
 
3
- **Description**: Displays a Bootstrap tooltip when hovering over the element.
3
+ Displays a Bootstrap tooltip when hovering over the element.
4
4
 
5
5
  ## Properties
6
- - `content`: tooltip content (text or component)
7
- - `placement` (optional): tooltip position (`top`, `bottom`, `left`, `right`)
6
+ - `content`: Tooltip content (text or component).
7
+ - `placement` (optional): Tooltip position (`top`, `bottom`, `left`, `right`).
8
8
 
9
9
  ## Example
10
10
  ```yaml
@@ -18,5 +18,5 @@ renderView:
18
18
  ```
19
19
 
20
20
  ## Limitation
21
- - Requires Bootstrap CSS.
21
+ - Requires the Bootstrap integration plugin (`@ea-lab/reactive-json-bootstrap`).
22
22
  - The child component must be able to accept a React reference.
@@ -3,11 +3,24 @@ renderView:
3
3
  content: |
4
4
  # Tooltip
5
5
 
6
- **Description**: Displays a Bootstrap tooltip when hovering over the element.
6
+ Displays a Bootstrap tooltip when hovering over the element.
7
7
 
8
8
  ## Properties
9
- - `content`: tooltip content (text or component)
10
- - `placement` (optional): tooltip position (`top`, `bottom`, `left`, `right`)
9
+
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: content
14
+ after: "(required)"
15
+ details:
16
+ type: Markdown
17
+ content: "Tooltip content (text or component)."
18
+ - term:
19
+ code: placement
20
+ after: "(string, optional)"
21
+ details:
22
+ type: Markdown
23
+ content: "Tooltip position (`top`, `bottom`, `left`, `right`)."
11
24
 
12
25
  - type: RjBuildDescriber
13
26
  title: "Tooltip Action Example"
@@ -4,14 +4,14 @@ The `CheckBoxField` component renders checkbox or radio button groups using Reac
4
4
 
5
5
  ## Properties
6
6
 
7
- - `dataLocation` (string, optional): Path to bind the field value in the data context
8
- - `defaultFieldValue` (any, optional): Default value when no data is present
9
- - `options` (array, optional): Static array of option objects with `label` and `value` properties
10
- - `dynamicOptions` (string, optional): Template path to dynamic options array
11
- - `controlType` (string, optional): Type of control - "checkbox" (default) or "radio"
12
- - `multiple` (boolean, optional): Force array storage for checkboxes (default: auto-detected)
13
- - `attributes` (object, optional): Attributes applied to the Form.Group container
14
- - `actions` (array, optional): Actions to execute based on field state
7
+ - `dataLocation` (string, optional): Path to bind the field value in the data context.
8
+ - `defaultFieldValue` (any, optional): Default value when no data is present.
9
+ - `options` (array, optional): Static array of option objects with `label` and `value` properties.
10
+ - `dynamicOptions` (string, optional): Template path to dynamic options array.
11
+ - `controlType` (string, optional): Type of control - "checkbox" (default) or "radio".
12
+ - `multiple` (boolean, optional): Force array storage for checkboxes (default: auto-detected).
13
+ - `attributes` (object, optional): Attributes applied to the Form.Group container.
14
+ - `actions` (array, optional): Actions to execute based on field state.
15
15
 
16
16
  ## Option Format
17
17
 
@@ -7,15 +7,47 @@ renderView:
7
7
 
8
8
  ## Properties
9
9
 
10
- - `dataLocation` (string, optional): Path to bind the field value in the data context
11
- - `defaultFieldValue` (any, optional): Default value when no data is present
12
- - `options` (array, optional): Static array of option objects with `label` and `value` properties
13
- - `dynamicOptions` (string, optional): Template path to dynamic options array
14
- - `controlType` (string, optional): Type of control - "checkbox" (default) or "radio"
15
- - `multiple` (boolean, optional): Force array storage for checkboxes (default: auto-detected)
16
- - `attributes` (object, optional): Attributes applied to the Form.Group container
17
- - `actions` (array, optional): Actions to execute based on field state
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: dataLocation
14
+ after: "(string, optional)"
15
+ details: "Path to bind the field value in the data context."
16
+ - term:
17
+ code: defaultFieldValue
18
+ after: "(any, optional)"
19
+ details: "Default value when no data is present."
20
+ - term:
21
+ code: options
22
+ after: "(array, optional)"
23
+ details:
24
+ type: Markdown
25
+ content: "Static array of option objects with `label` and `value` properties."
26
+ - term:
27
+ code: dynamicOptions
28
+ after: "(string, optional)"
29
+ details:
30
+ type: Markdown
31
+ content: "Template path to dynamic options array."
32
+ - term:
33
+ code: controlType
34
+ after: "(string, optional)"
35
+ details: "Type of control - `checkbox` (default) or `radio`."
36
+ - term:
37
+ code: multiple
38
+ after: "(boolean, optional)"
39
+ details: "Force array storage for checkboxes (default: auto-detected)."
40
+ - term:
41
+ code: attributes
42
+ after: "(object, optional)"
43
+ details: "Attributes applied to the Form.Group container."
44
+ - term:
45
+ code: actions
46
+ after: "(array, optional)"
47
+ details: "Actions to execute based on field state."
18
48
 
49
+ - type: Markdown
50
+ content: |
19
51
  ## Option Format
20
52
 
21
53
  Each option object must have:
@@ -7,11 +7,11 @@ The `DateField` component renders a date and time input field using React Bootst
7
7
 
8
8
  ## Properties
9
9
 
10
- - `dataLocation` (string, optional): Path to bind the field value in the data context
11
- - `defaultFieldValue` (string, optional): Default value when no data is present
12
- - `label` (string, optional): Field label text
13
- - `attributes` (object, optional): Attributes applied to the Form.Group container
14
- - `actions` (array, optional): Actions to execute based on field state. Supports both actions (hide, tooltip, etc.) and conditional reactions (setData, fetchData, etc.) with full conditional logic support
10
+ - `dataLocation` (string, optional): Path to bind the field value in the data context.
11
+ - `defaultFieldValue` (string, optional): Default value when no data is present.
12
+ - `label` (string, optional): Field label text.
13
+ - `attributes` (object, optional): Attributes applied to the Form.Group container.
14
+ - `actions` (array, optional): Actions to execute based on field state. Supports both actions (hide, tooltip, etc.) and conditional reactions (setData, fetchData, etc.) with full conditional logic support.
15
15
 
16
16
  ## Data Management
17
17
 
@@ -10,12 +10,34 @@ renderView:
10
10
 
11
11
  ## Properties
12
12
 
13
- - `dataLocation` (string, optional): Path to bind the field value in the data context
14
- - `defaultFieldValue` (string, optional): Default value when no data is present
15
- - `label` (string, optional): Field label text
16
- - `attributes` (object, optional): Attributes applied to the Form.Group container
17
- - `actions` (array, optional): Actions to execute based on field state. Supports both actions (hide, tooltip, etc.) and conditional reactions (setData, fetchData, etc.) with full conditional logic support
13
+ - type: DefinitionList
14
+ content:
15
+ - term:
16
+ code: dataLocation
17
+ after: "(string, optional)"
18
+ details: Path to bind the field value in the data context.
19
+ - term:
20
+ code: defaultFieldValue
21
+ after: "(string, optional)"
22
+ details: Default value when no data is present.
23
+ - term:
24
+ code: label
25
+ after: "(string, optional)"
26
+ details: Field label text.
27
+ - term:
28
+ code: attributes
29
+ after: "(object, optional)"
30
+ details: Attributes applied to the Form.Group container.
31
+ - term:
32
+ code: actions
33
+ after: "(array, optional)"
34
+ details:
35
+ type: Markdown
36
+ content: |
37
+ Actions to execute based on field state. Supports both actions (hide, tooltip, etc.) and conditional reactions (setData, fetchData, etc.) with full conditional logic support.
18
38
 
39
+ - type: Markdown
40
+ content: |
19
41
  ## Data Management
20
42
 
21
43
  The component automatically synchronizes its value with the global data context as an ISO 8601 datetime string format (YYYY-MM-DDTHH:mm). When using `dataLocation`, the value is stored at the specified path. Without `dataLocation`, the value is stored in the template context using the component's `datafield`.
@@ -4,13 +4,13 @@ The `NumberField` component renders a numeric input field using React Bootstrap.
4
4
 
5
5
  ## Properties
6
6
 
7
- - `dataLocation` (string, optional): Path to bind the field value in the data context
8
- - `defaultFieldValue` (number, optional): Default value when no data is present
9
- - `label` (string, optional): Field label text (supports template evaluation)
10
- - `placeholder` (string, optional): Placeholder text (supports template evaluation)
11
- - `attributes` (object, optional): Attributes applied to the Form.Group container
12
- - `inputAttributes` (object, optional): Attributes applied directly to the input element
13
- - `actions` (array, optional): Actions to execute based on field state
7
+ - `dataLocation` (string, optional): Path to bind the field value in the data context.
8
+ - `defaultFieldValue` (number, optional): Default value when no data is present.
9
+ - `label` (string, optional): Field label text (supports template evaluation).
10
+ - `placeholder` (string, optional): Placeholder text (supports template evaluation).
11
+ - `attributes` (object, optional): Attributes applied to the Form.Group container.
12
+ - `inputAttributes` (object, optional): Attributes applied directly to the input element.
13
+ - `actions` (array, optional): Actions to execute based on field state.
14
14
 
15
15
  ## Data Management
16
16
 
@@ -7,14 +7,39 @@ renderView:
7
7
 
8
8
  ## Properties
9
9
 
10
- - `dataLocation` (string, optional): Path to bind the field value in the data context
11
- - `defaultFieldValue` (number, optional): Default value when no data is present
12
- - `label` (string, optional): Field label text (supports template evaluation)
13
- - `placeholder` (string, optional): Placeholder text (supports template evaluation)
14
- - `attributes` (object, optional): Attributes applied to the Form.Group container
15
- - `inputAttributes` (object, optional): Attributes applied directly to the input element
16
- - `actions` (array, optional): Actions to execute based on field state
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: dataLocation
14
+ after: "(string, optional)"
15
+ details: "Path to bind the field value in the data context."
16
+ - term:
17
+ code: defaultFieldValue
18
+ after: "(number, optional)"
19
+ details: "Default value when no data is present."
20
+ - term:
21
+ code: label
22
+ after: "(string, optional)"
23
+ details: "Field label text (supports template evaluation)."
24
+ - term:
25
+ code: placeholder
26
+ after: "(string, optional)"
27
+ details: "Placeholder text (supports template evaluation)."
28
+ - term:
29
+ code: attributes
30
+ after: "(object, optional)"
31
+ details: "Attributes applied to the Form.Group container."
32
+ - term:
33
+ code: inputAttributes
34
+ after: "(object, optional)"
35
+ details: "Attributes applied directly to the input element."
36
+ - term:
37
+ code: actions
38
+ after: "(array, optional)"
39
+ details: "Actions to execute based on field state."
17
40
 
41
+ - type: Markdown
42
+ content: |
18
43
  ## Data Management
19
44
 
20
45
  The component stores the input value as a string in the data context. The browser's number input provides built-in validation, but the value should be converted to a number when needed for calculations.
@@ -4,15 +4,15 @@ The `SelectField` component renders a dropdown selection field using React Boots
4
4
 
5
5
  ## Properties
6
6
 
7
- - `dataLocation` (string, optional): Path to bind the field value in the data context
8
- - `defaultFieldValue` (any, optional): Default value when no data is present
9
- - `label` (string, optional): Field label text (supports template evaluation)
10
- - `options` (array, optional): Static array of option objects with `label` and `value` properties
11
- - `dynamicOptions` (string, optional): Template path to dynamic options array
12
- - `allowEmptyStringAsValue` (boolean, optional): Preserve empty strings as `""` instead of converting to `undefined` (default: false)
13
- - `attributes` (object, optional): Attributes applied to the Form.Group container
14
- - `inputAttributes` (object, optional): Attributes applied directly to the select element
15
- - `actions` (array, optional): Actions to execute based on field state
7
+ - `dataLocation` (string, optional): Path to bind the field value in the data context.
8
+ - `defaultFieldValue` (any, optional): Default value when no data is present.
9
+ - `label` (string, optional): Field label text (supports template evaluation).
10
+ - `options` (array, optional): Static array of option objects with `label` and `value` properties.
11
+ - `dynamicOptions` (string, optional): Template path to dynamic options array.
12
+ - `allowEmptyStringAsValue` (boolean, optional): Preserve empty strings as `""` instead of converting to `undefined` (default: false).
13
+ - `attributes` (object, optional): Attributes applied to the Form.Group container.
14
+ - `inputAttributes` (object, optional): Attributes applied directly to the select element.
15
+ - `actions` (array, optional): Actions to execute based on field state.
16
16
 
17
17
  ## Option Format
18
18
 
@@ -7,16 +7,53 @@ renderView:
7
7
 
8
8
  ## Properties
9
9
 
10
- - `dataLocation` (string, optional): Path to bind the field value in the data context
11
- - `defaultFieldValue` (any, optional): Default value when no data is present
12
- - `label` (string, optional): Field label text (supports template evaluation)
13
- - `options` (array, optional): Static array of option objects with `label` and `value` properties
14
- - `dynamicOptions` (string, optional): Template path to dynamic options array
15
- - `allowEmptyStringAsValue` (boolean, optional): Preserve empty strings as `""` instead of converting to `undefined` (default: false)
16
- - `attributes` (object, optional): Attributes applied to the Form.Group container
17
- - `inputAttributes` (object, optional): Attributes applied directly to the select element
18
- - `actions` (array, optional): Actions to execute based on field state
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: dataLocation
14
+ after: "(string, optional)"
15
+ details: "Path to bind the field value in the data context."
16
+ - term:
17
+ code: defaultFieldValue
18
+ after: "(any, optional)"
19
+ details: "Default value when no data is present."
20
+ - term:
21
+ code: label
22
+ after: "(string, optional)"
23
+ details: "Field label text (supports template evaluation)."
24
+ - term:
25
+ code: options
26
+ after: "(array, optional)"
27
+ details:
28
+ type: Markdown
29
+ content: "Static array of option objects with `label` and `value` properties."
30
+ - term:
31
+ code: dynamicOptions
32
+ after: "(string, optional)"
33
+ details:
34
+ type: Markdown
35
+ content: "Template path to dynamic options array."
36
+ - term:
37
+ code: allowEmptyStringAsValue
38
+ after: "(boolean, optional)"
39
+ details:
40
+ type: Markdown
41
+ content: "Preserve empty strings as `\"\"` instead of converting to `undefined` (default: false)."
42
+ - term:
43
+ code: attributes
44
+ after: "(object, optional)"
45
+ details: "Attributes applied to the Form.Group container."
46
+ - term:
47
+ code: inputAttributes
48
+ after: "(object, optional)"
49
+ details: "Attributes applied directly to the select element."
50
+ - term:
51
+ code: actions
52
+ after: "(array, optional)"
53
+ details: "Actions to execute based on field state."
19
54
 
55
+ - type: Markdown
56
+ content: |
20
57
  ## Option Format
21
58
 
22
59
  Each option object must have: