@openg2p/registry-widgets 1.1.0-dev.13 → 1.1.0-dev.15
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/components/SectionBuilder/schemas.d.ts +48 -0
- package/dist/components/SectionBuilder/schemas.d.ts.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.esm.js +203 -63
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +203 -63
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/dateInput.d.ts +17 -1
- package/dist/utils/dateInput.d.ts.map +1 -1
- package/dist/widgets/DateInputWidget.d.ts +5 -0
- package/dist/widgets/DateInputWidget.d.ts.map +1 -1
- package/dist/widgets/TableWidget.d.ts.map +1 -1
- package/package.json +6 -1
- package/LICENSE +0 -373
- package/README.md +0 -433
- package/dist/events/types.d.ts +0 -27
- package/dist/events/types.d.ts.map +0 -1
- package/dist/index.css +0 -4
- package/dist/index.css.map +0 -1
package/README.md
DELETED
|
@@ -1,433 +0,0 @@
|
|
|
1
|
-
# @openg2p/registry-widgets
|
|
2
|
-
|
|
3
|
-
A comprehensive React widget library for building extensible form widgets with data binding, validation, conditional logic, and more. Built for the OpenG2P Registry system, this library provides a flexible, architecture-driven approach to form rendering based on JSON UI schemas.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
The Registry UI Widget Library is a layered, extensible system that enables you to build dynamic forms from JSON configurations. It separates concerns across multiple layers, making it maintainable, testable, and easy to extend with custom widgets.
|
|
8
|
-
|
|
9
|
-
### Key Features
|
|
10
|
-
|
|
11
|
-
- ✅ **TypeScript** support with full type definitions
|
|
12
|
-
- ✅ **Redux** integration for centralized state management
|
|
13
|
-
- ✅ **Zod** validation support with custom schemas
|
|
14
|
-
- ✅ **Data Binding** with dot-notation paths (single or multi-path)
|
|
15
|
-
- ✅ **Conditional Logic** (show/hide, enable/disable based on field values)
|
|
16
|
-
- ✅ **Data Sources** (static, API, schema reference)
|
|
17
|
-
- ✅ **Formatting** (dates, currency, phone numbers, numbers)
|
|
18
|
-
- ✅ **Widget Registry** system for extensible plugin architecture
|
|
19
|
-
- ✅ **20 Pre-built Widgets** ready to use (including HeaderSection)
|
|
20
|
-
- ✅ **Internationalization** support via i18next
|
|
21
|
-
- ✅ **Tailwind CSS** ready (unstyled base, you provide styles)
|
|
22
|
-
- ✅ **Multi-mode Section Rendering** (RegistryView, CRView, IntakeForm)
|
|
23
|
-
- ✅ **Geo Hierarchy Cascading Dropdowns** for location-based fields
|
|
24
|
-
- ✅ **Section Builder** with visual and JSON editor for UI schemas
|
|
25
|
-
- ✅ **Form Handle API** for host-driven validation and submission
|
|
26
|
-
- ✅ **Dirty Tracking** with unsaved changes detection per section
|
|
27
|
-
|
|
28
|
-
## Installation
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
npm install @openg2p/registry-widgets
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Peer Dependencies
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
npm install react react-dom @reduxjs/toolkit react-redux zod i18next react-i18next
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Quick Start
|
|
41
|
-
|
|
42
|
-
See [QUICKSTART.md](./QUICKSTART.md) for a detailed setup guide, or [Complete Reference](https://docs.openg2p.org/registry-gen-2/developer-zone/registry-ui-widgets-complete-guide-and-reference) for a comprehensive tutorial covering all features. Here's a minimal example:
|
|
43
|
-
|
|
44
|
-
```tsx
|
|
45
|
-
import { WidgetProvider, createWidgetStore, WidgetRenderer } from '@openg2p/registry-widgets';
|
|
46
|
-
|
|
47
|
-
const store = createWidgetStore();
|
|
48
|
-
|
|
49
|
-
function App() {
|
|
50
|
-
return (
|
|
51
|
-
<WidgetProvider store={store}>
|
|
52
|
-
<WidgetRenderer
|
|
53
|
-
config={{
|
|
54
|
-
widget: 'text',
|
|
55
|
-
'widget-type': 'input',
|
|
56
|
-
'widget-id': 'name',
|
|
57
|
-
'widget-label': 'Name',
|
|
58
|
-
'widget-data-path': 'person.name',
|
|
59
|
-
'widget-required': true,
|
|
60
|
-
}}
|
|
61
|
-
/>
|
|
62
|
-
</WidgetProvider>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## Architecture
|
|
69
|
-
|
|
70
|
-
The library follows a layered architecture that separates concerns and enables extensibility:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
┌─────────────────────────────────────────┐
|
|
74
|
-
│ Application Layer │
|
|
75
|
-
│ (UISchema → Sections → Panels) │
|
|
76
|
-
└─────────────────────────────────────────┘
|
|
77
|
-
↓
|
|
78
|
-
┌─────────────────────────────────────────┐
|
|
79
|
-
│ Widget Registry Layer │
|
|
80
|
-
│ (Widget Registration & Lookup) │
|
|
81
|
-
└─────────────────────────────────────────┘
|
|
82
|
-
↓
|
|
83
|
-
┌─────────────────────────────────────────┐
|
|
84
|
-
│ Widget Components Layer │
|
|
85
|
-
│ (20 Pre-built Widgets) │
|
|
86
|
-
└─────────────────────────────────────────┘
|
|
87
|
-
↓
|
|
88
|
-
┌─────────────────────────────────────────┐
|
|
89
|
-
│ Core Hooks Layer │
|
|
90
|
-
│ (useBaseWidget, useWidgetTranslation) │
|
|
91
|
-
└─────────────────────────────────────────┘
|
|
92
|
-
↓
|
|
93
|
-
┌─────────────────────────────────────────┐
|
|
94
|
-
│ State Management Layer │
|
|
95
|
-
│ (Redux Store, Widget Slice) │
|
|
96
|
-
└─────────────────────────────────────────┘
|
|
97
|
-
↓
|
|
98
|
-
┌─────────────────────────────────────────┐
|
|
99
|
-
│ Utility Layer │
|
|
100
|
-
│ (Validation, Formatting, Data Sources) │
|
|
101
|
-
└─────────────────────────────────────────┘
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### Layer Descriptions
|
|
105
|
-
|
|
106
|
-
**Application Layer** - The top-level entry point where UI schemas (JSON configurations) are parsed and rendered. This layer handles the hierarchical structure of Sections → Panels → Widgets, managing layout, orientation, and section-level operations like editing and saving.
|
|
107
|
-
|
|
108
|
-
**Widget Registry Layer** - A plugin system that maintains a catalog of available widgets. When a widget is requested by name, the registry looks it up and returns the corresponding React component. This enables dynamic widget loading and easy extensibility - new widgets can be registered without modifying core library code.
|
|
109
|
-
|
|
110
|
-
**Widget Components Layer** - The actual React components that render UI elements (text inputs, selects, tables, etc.). These are the 20 pre-built widgets that come with the library. Each widget is a React component that receives configuration and renders the appropriate UI. Custom widgets can be added by registering them in the registry.
|
|
111
|
-
|
|
112
|
-
**Core Hooks Layer** - React hooks that provide all the business logic for widgets. The `useBaseWidget` hook handles state management, validation, conditional logic, data source loading, and formatting. The `useWidgetTranslation` hook provides internationalization support. Widget components use these hooks to get values, errors, visibility states, and change handlers without directly interacting with Redux or utilities.
|
|
113
|
-
|
|
114
|
-
**State Management Layer** - Redux store and widget slice that maintain centralized state for all widgets. The Redux Store holds all widget values, errors, touched states, loading states, and data source options. The Widget Slice defines the state structure and provides actions (setValue, setError, setTouched, etc.) to update state. This ensures a single source of truth and enables efficient re-renders.
|
|
115
|
-
|
|
116
|
-
**Utility Layer** - Pure functions that handle cross-cutting concerns:
|
|
117
|
-
- **Validation**: Validates widget values using built-in rules, regex patterns, or Zod schemas
|
|
118
|
-
- **Formatting**: Formats values for display (dates, currency, phone numbers, numbers, text)
|
|
119
|
-
- **Data Sources**: Loads options for select/dropdown widgets from static data, APIs, or schema references
|
|
120
|
-
- **Conditional Logic**: Evaluates conditions to determine widget visibility and enablement
|
|
121
|
-
- **Path Utilities**: Handles dot-notation path resolution for reading/writing nested data structures
|
|
122
|
-
|
|
123
|
-
### Data Flow
|
|
124
|
-
|
|
125
|
-
1. **Top-Down (Rendering)**: Application receives UISchema → Registry looks up widgets → Components render using hooks → Hooks read from Redux store → Utilities process data
|
|
126
|
-
|
|
127
|
-
2. **Bottom-Up (Updates)**: User interacts with widget → Component calls hook's onChange → Hook dispatches Redux action → Store updates → Hooks re-evaluate → Components re-render
|
|
128
|
-
|
|
129
|
-
This layered architecture provides clear separation of concerns, making the library maintainable, testable, and extensible.
|
|
130
|
-
|
|
131
|
-
## Core Concepts
|
|
132
|
-
|
|
133
|
-
### useBaseWidget Hook
|
|
134
|
-
|
|
135
|
-
The `useBaseWidget` hook is the foundation of every widget. It provides:
|
|
136
|
-
|
|
137
|
-
```tsx
|
|
138
|
-
const {
|
|
139
|
-
widgetId, // Widget ID
|
|
140
|
-
value, // Current value
|
|
141
|
-
formattedValue, // Formatted value (if format config exists)
|
|
142
|
-
error, // Array of error messages
|
|
143
|
-
touched, // Whether field has been touched
|
|
144
|
-
loading, // Loading state (for API data sources)
|
|
145
|
-
isVisible, // Whether widget should be visible
|
|
146
|
-
isEnabled, // Whether widget should be enabled
|
|
147
|
-
onChange, // Function to update value
|
|
148
|
-
onBlur, // Function to handle blur
|
|
149
|
-
setError, // Function to manually set errors
|
|
150
|
-
getFieldValue, // Helper to get other field values
|
|
151
|
-
dataSourceOptions, // Options for select/dropdown widgets
|
|
152
|
-
config, // Full widget config
|
|
153
|
-
} = useBaseWidget({ config });
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### Widget Configuration
|
|
157
|
-
|
|
158
|
-
Widgets are configured using a JSON schema format. A minimal configuration:
|
|
159
|
-
|
|
160
|
-
```typescript
|
|
161
|
-
{
|
|
162
|
-
widget: string; // Widget name/type
|
|
163
|
-
'widget-type': 'input' | 'layout' | 'table' | 'group';
|
|
164
|
-
'widget-id': string; // Unique identifier
|
|
165
|
-
'widget-data-path'?: string | Record<string, string>; // Data binding path
|
|
166
|
-
'widget-label'?: string;
|
|
167
|
-
'widget-required'?: boolean;
|
|
168
|
-
'widget-readonly'?: boolean;
|
|
169
|
-
'widget-data-validation'?: {...}; // Validation rules
|
|
170
|
-
'widget-data-format'?: {...}; // Formatting options
|
|
171
|
-
'widget-data-source'?: {...}; // Data source configuration
|
|
172
|
-
'widget-data-options'?: {...}; // Conditional logic
|
|
173
|
-
}
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### Data Binding
|
|
177
|
-
|
|
178
|
-
Bind widgets to your data using dot-notation paths:
|
|
179
|
-
|
|
180
|
-
**Single Path:**
|
|
181
|
-
```json
|
|
182
|
-
{
|
|
183
|
-
"widget-data-path": "person.name"
|
|
184
|
-
}
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
**Multi-Path (Object):**
|
|
188
|
-
```json
|
|
189
|
-
{
|
|
190
|
-
"widget-data-path": {
|
|
191
|
-
"firstName": "person.fname",
|
|
192
|
-
"lastName": "person.lname"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
### Conditional Logic
|
|
198
|
-
|
|
199
|
-
Show/hide or enable/disable widgets based on other field values:
|
|
200
|
-
|
|
201
|
-
```json
|
|
202
|
-
{
|
|
203
|
-
"widget-data-options": {
|
|
204
|
-
"action": "show",
|
|
205
|
-
"condition": {
|
|
206
|
-
"field": "person.maritalStatus",
|
|
207
|
-
"operator": "equals",
|
|
208
|
-
"value": "married"
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Data Sources
|
|
215
|
-
|
|
216
|
-
Load options for select/dropdown widgets from multiple sources:
|
|
217
|
-
|
|
218
|
-
- **Static**: Pre-defined option arrays
|
|
219
|
-
- **API**: Dynamic loading from REST endpoints
|
|
220
|
-
- **Schema Reference**: Reference data from your schema
|
|
221
|
-
|
|
222
|
-
### Validation
|
|
223
|
-
|
|
224
|
-
Support for multiple validation strategies:
|
|
225
|
-
|
|
226
|
-
- Built-in rules (required, minLength, maxLength, pattern)
|
|
227
|
-
- Custom regex patterns
|
|
228
|
-
- Zod schemas for complex validation
|
|
229
|
-
|
|
230
|
-
## Available Widgets
|
|
231
|
-
|
|
232
|
-
The library includes 20 pre-built widgets:
|
|
233
|
-
|
|
234
|
-
- **Input Widgets**: TextInput, TextArea, NumberInput, CurrencyInput, DateInput, DateTimeInput, PhoneInput, FileInput
|
|
235
|
-
- **Selection Widgets**: Select, Radio, Checkbox, Boolean
|
|
236
|
-
- **Layout Widgets**: Array, IterableAccordion
|
|
237
|
-
- **Display Widgets**: Display, Profile
|
|
238
|
-
- **Table Widgets**: Table, SimpleTable
|
|
239
|
-
- **Section Widgets**: HeaderSection, ScoresDisplay
|
|
240
|
-
|
|
241
|
-
### HeaderSection Widget
|
|
242
|
-
|
|
243
|
-
A full-width header card designed for registry record views. Displays a profile image, record name, functional ID, status badge, and audit metadata (created by / approved by) in a responsive two-column layout. Supports editable status and status-reason fields with data source-driven dropdowns, customisable label overrides via i18n, and configurable status-colour mapping.
|
|
244
|
-
|
|
245
|
-
```json
|
|
246
|
-
{
|
|
247
|
-
"widget": "header-section",
|
|
248
|
-
"widget-type": "group",
|
|
249
|
-
"widget-id": "registry-header",
|
|
250
|
-
"widget-data-path": {
|
|
251
|
-
"image": "record_image_storage_id",
|
|
252
|
-
"name": "record_name",
|
|
253
|
-
"functionalId": "functional_record_id",
|
|
254
|
-
"status": "record_status"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
### ScoresDisplay Widget
|
|
260
|
-
|
|
261
|
-
A full-width, view-only widget for showing **a list** of computed score records (e.g. PMT, Food Security Score). It renders, for each score:
|
|
262
|
-
|
|
263
|
-
- **Score Type**
|
|
264
|
-
- **Score**
|
|
265
|
-
- **Computed at**
|
|
266
|
-
|
|
267
|
-
**Data binding**
|
|
268
|
-
|
|
269
|
-
- The widget reads an array of score records from `widget-data-path` (a dot-path into `schemaData` / store values).
|
|
270
|
-
- `widget-data-path` may point either directly to an array, or to an object containing `{ "scores": [...] }`.
|
|
271
|
-
|
|
272
|
-
```json
|
|
273
|
-
{
|
|
274
|
-
"widget": "scores-display",
|
|
275
|
-
"widget-type": "group",
|
|
276
|
-
"widget-id": "record-scores",
|
|
277
|
-
"widget-readonly": true,
|
|
278
|
-
"widget-data-path": "scores"
|
|
279
|
-
}
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
**Expected record shape (ideal)**
|
|
283
|
-
|
|
284
|
-
```json
|
|
285
|
-
[
|
|
286
|
-
{
|
|
287
|
-
"score_type": "PMT",
|
|
288
|
-
"computed_score": 42,
|
|
289
|
-
"computed_at": "2026-04-16T10:12:00Z",
|
|
290
|
-
"triggered_by_cr_id": "CR-001"
|
|
291
|
-
}
|
|
292
|
-
]
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
**Notes**
|
|
296
|
-
|
|
297
|
-
- There is no edit mode for this widget.
|
|
298
|
-
- If multiple scores are provided, the widget sorts them by `computed_at` (most recent first). If dates are missing/invalid, original order is preserved for those items.
|
|
299
|
-
|
|
300
|
-
## Section Modes
|
|
301
|
-
|
|
302
|
-
`SectionsContainer` supports three display modes via the `mode` prop:
|
|
303
|
-
|
|
304
|
-
### RegistryView (default)
|
|
305
|
-
|
|
306
|
-
Standard registry display. Sections render in a CSS Grid layout with an inline **Edit Details** button. Only one section can be in edit mode at a time; editing a section opens it as a portal-based overlay with save/cancel controls.
|
|
307
|
-
|
|
308
|
-
### CRView (Change Request View)
|
|
309
|
-
|
|
310
|
-
Read-only comparison view for change requests. Sections display **Created by** / **Approved by** metadata and support `changeRequestType` labels (`"new"` / `"old"`) for side-by-side comparison.
|
|
311
|
-
|
|
312
|
-
### IntakeForm
|
|
313
|
-
|
|
314
|
-
Accordion-based registration form. Sections expand and collapse, with **Prev** / **Next** navigation buttons. Supports `isDraft` mode (editable vs read-only), per-section validation on save, and status badges (**Saved** / **Modified and not saved**).
|
|
315
|
-
|
|
316
|
-
## Form Handle API
|
|
317
|
-
|
|
318
|
-
`SectionsContainer` exposes a `SectionsFormHandle` via the `onFormReady` callback, enabling host applications to drive form submission externally:
|
|
319
|
-
|
|
320
|
-
```tsx
|
|
321
|
-
<SectionsContainer
|
|
322
|
-
sections={sections}
|
|
323
|
-
mode="IntakeForm"
|
|
324
|
-
onFormReady={(handle) => {
|
|
325
|
-
// handle.validate() – validate all sections, returns boolean
|
|
326
|
-
// handle.getFormData() – raw store data (no validation)
|
|
327
|
-
// handle.validateAndGetData() – validate then return SectionChanges[]
|
|
328
|
-
// handle.getStructuredData() – get records and files without validation
|
|
329
|
-
}}
|
|
330
|
-
/>
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
## Geo Hierarchy Cascading Dropdowns
|
|
334
|
-
|
|
335
|
-
The `useGeoWidgetCascade` hook and `geoHierarchyBuilder` utility provide cascading dropdown functionality for geographic location fields (e.g. Country > State > City). Changes in a parent level automatically reload and reset child dropdowns via the widget event bus.
|
|
336
|
-
|
|
337
|
-
## Section Builder
|
|
338
|
-
|
|
339
|
-
A visual UI schema editor shipped as `SectionBuilder`, with sub-components:
|
|
340
|
-
|
|
341
|
-
- **JSONEditorPanel** — Live JSON editor (powered by `json-edit-react`) for direct schema manipulation
|
|
342
|
-
- **VisualBuilderPanel** — Drag-and-drop visual layout editor
|
|
343
|
-
- **SectionTree** — Tree view of the section/panel/widget hierarchy
|
|
344
|
-
- **PropertyEditor** — Contextual property panel for the selected node
|
|
345
|
-
|
|
346
|
-
## Examples
|
|
347
|
-
|
|
348
|
-
See the `examples/` directory for comprehensive examples demonstrating:
|
|
349
|
-
|
|
350
|
-
- Basic widget usage (`usage-example.tsx`)
|
|
351
|
-
- Layout widgets (`LayoutWidgets.tsx`)
|
|
352
|
-
- Schema internationalization (`schema-i18n-example.tsx`)
|
|
353
|
-
- Comparison views (`comparison-view-example.tsx`)
|
|
354
|
-
- Section rendering modes (`section-renderer-example.tsx`)
|
|
355
|
-
- Intake form flow (`intake-form-example.tsx`)
|
|
356
|
-
- Header section widget (`header-section-example.tsx`)
|
|
357
|
-
- Section builder (`section-builder-example.tsx`)
|
|
358
|
-
- JSON editor standalone (`jsoneditor-standalone-example.tsx`)
|
|
359
|
-
|
|
360
|
-
## API Reference
|
|
361
|
-
|
|
362
|
-
### WidgetProvider
|
|
363
|
-
|
|
364
|
-
Provider component that wraps your app and provides Redux store and context.
|
|
365
|
-
|
|
366
|
-
**Props:**
|
|
367
|
-
- `store?: WidgetStore` - Optional Redux store (creates one if not provided)
|
|
368
|
-
- `apiAdapter?: ApiAdapter` - Function to handle API calls
|
|
369
|
-
- `schemaData?: Record<string, any>` - Reference data for schema data sources
|
|
370
|
-
- `children: ReactNode`
|
|
371
|
-
|
|
372
|
-
### WidgetRenderer
|
|
373
|
-
|
|
374
|
-
Component that renders a widget based on configuration.
|
|
375
|
-
|
|
376
|
-
**Props:**
|
|
377
|
-
- `config: BaseWidgetConfig` - Widget configuration
|
|
378
|
-
- `apiAdapter?: ApiAdapter` - Optional API adapter (overrides provider)
|
|
379
|
-
- `schemaData?: Record<string, any>` - Optional schema data (overrides provider)
|
|
380
|
-
- `onValueChange?: (widgetId: string, value: any) => void` - Callback on value change
|
|
381
|
-
- `defaultComponent?: React.ComponentType` - Fallback component if widget not registered
|
|
382
|
-
|
|
383
|
-
### widgetRegistry
|
|
384
|
-
|
|
385
|
-
Registry for managing widget components.
|
|
386
|
-
|
|
387
|
-
**Methods:**
|
|
388
|
-
- `register(entry: WidgetRegistryEntry)` - Register a widget
|
|
389
|
-
- `get(widgetName: string)` - Get widget entry
|
|
390
|
-
- `has(widgetName: string)` - Check if widget is registered
|
|
391
|
-
- `unregister(widgetName: string)` - Unregister a widget
|
|
392
|
-
- `clear()` - Clear all widgets
|
|
393
|
-
|
|
394
|
-
### Components
|
|
395
|
-
|
|
396
|
-
- `SectionsContainer` - Container for rendering sections with mode support (RegistryView, CRView, IntakeForm)
|
|
397
|
-
- `SectionRenderer` - Renders individual sections with edit mode, dirty tracking, and accordion support
|
|
398
|
-
- `PanelRenderer` - Renders panels within sections
|
|
399
|
-
- `FilePreviewModal` - Modal for file preview
|
|
400
|
-
- `SectionBuilder` - Visual UI schema editor
|
|
401
|
-
- `JSONEditorPanel` - JSON editor for UI schemas
|
|
402
|
-
- `VisualBuilderPanel` - Visual layout builder
|
|
403
|
-
- `SectionTree` - Tree view of section hierarchy
|
|
404
|
-
- `PropertyEditor` - Property editor for selected nodes
|
|
405
|
-
|
|
406
|
-
### Hooks
|
|
407
|
-
|
|
408
|
-
- `useBaseWidget` - Core hook for widget state, validation, conditional logic, and formatting
|
|
409
|
-
- `useWidgetTranslation` - i18n hook for widget labels and messages
|
|
410
|
-
- `useWidgetEventBus` - Pub/sub event bus for inter-widget communication
|
|
411
|
-
- `useWidgetCascade` - Cascading dropdown behaviour between linked widgets
|
|
412
|
-
- `useGeoWidgetCascade` - Geo hierarchy cascading for location-based dropdowns
|
|
413
|
-
|
|
414
|
-
### Utilities
|
|
415
|
-
|
|
416
|
-
- `pathUtils` - Dot-notation path read/write for nested data structures
|
|
417
|
-
- `validation` - Built-in, regex, and Zod validation
|
|
418
|
-
- `formatting` - Date, currency, phone, number, and text formatting
|
|
419
|
-
- `conditions` - Conditional show/hide and enable/disable evaluation
|
|
420
|
-
- `dataSource` - Static, API, and schema reference data loading
|
|
421
|
-
- `geoHierarchy` - Geo hierarchy builder for location cascades
|
|
422
|
-
- `sectionValidate` - Section-level validation across all widgets
|
|
423
|
-
- `buildSectionChanges` - Build change payloads from section data
|
|
424
|
-
- `schemaNamespace` - Namespace section configs for multi-instance rendering
|
|
425
|
-
- `schemaTranslation` - Translate UI schemas, widget configs, and panel configs
|
|
426
|
-
|
|
427
|
-
## Contributing
|
|
428
|
-
|
|
429
|
-
Contributions are welcome! Please ensure your code follows the existing architecture patterns and includes appropriate TypeScript types.
|
|
430
|
-
|
|
431
|
-
## License
|
|
432
|
-
|
|
433
|
-
MPL 2.0 (Mozilla Public License 2.0)
|
package/dist/events/types.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widget event types that can be published and consumed
|
|
3
|
-
*/
|
|
4
|
-
export type WidgetEventType = 'widget:change' | 'widget:blur' | 'widget:focus' | 'widget:reload' | 'widget:clear';
|
|
5
|
-
/**
|
|
6
|
-
* Event payload structure
|
|
7
|
-
*/
|
|
8
|
-
export interface WidgetEvent {
|
|
9
|
-
type: WidgetEventType;
|
|
10
|
-
widgetId: string;
|
|
11
|
-
value?: any;
|
|
12
|
-
previousValue?: any;
|
|
13
|
-
timestamp: number;
|
|
14
|
-
metadata?: Record<string, any>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Event handler function type
|
|
18
|
-
*/
|
|
19
|
-
export type WidgetEventHandler = (event: WidgetEvent) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Subscription options
|
|
22
|
-
*/
|
|
23
|
-
export interface SubscriptionOptions {
|
|
24
|
-
debounce?: number;
|
|
25
|
-
throttle?: number;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/events/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,eAAe,GACf,aAAa,GACb,cAAc,GACd,eAAe,GACf,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/index.css
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
|
|
2
|
-
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
|
|
3
|
-
*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-3{right:.75rem}.top-2{top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-4{height:1rem}.w-4{width:1rem}.w-full{width:100%}.min-w-full{min-width:100%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity,1))}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.tracking-wider{letter-spacing:.05em}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-50{opacity:.5}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-blue-50:hover{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.hover\:bg-blue-600:hover{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.hover\:bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.hover\:bg-red-50:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.hover\:text-blue-800:hover{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.hover\:text-red-800:hover{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.focus\:border-blue-500:focus{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity,1))}.focus\:border-red-500:focus{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.focus\:ring-red-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity,1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}@media (min-width:640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}}
|
|
4
|
-
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["styles.css"],"names":[],"mappings":"AAAA,iBAAA,uBAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,CAAd,aAAc,CAAd,aAAc,CAAd,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