@uipath/apollo-wind 0.7.2-pr188.4865fad
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/LICENSE +21 -0
- package/README.md +188 -0
- package/dist/components/forms/data-fetcher.cjs +250 -0
- package/dist/components/forms/data-fetcher.d.ts +173 -0
- package/dist/components/forms/data-fetcher.js +207 -0
- package/dist/components/forms/demo-mocks.cjs +1031 -0
- package/dist/components/forms/demo-mocks.d.ts +10 -0
- package/dist/components/forms/demo-mocks.js +997 -0
- package/dist/components/forms/field-renderer.cjs +595 -0
- package/dist/components/forms/field-renderer.d.ts +14 -0
- package/dist/components/forms/field-renderer.js +561 -0
- package/dist/components/forms/form-designer.cjs +2314 -0
- package/dist/components/forms/form-designer.d.ts +1 -0
- package/dist/components/forms/form-designer.js +2280 -0
- package/dist/components/forms/form-examples.cjs +962 -0
- package/dist/components/forms/form-examples.d.ts +46 -0
- package/dist/components/forms/form-examples.js +907 -0
- package/dist/components/forms/form-plugins.cjs +225 -0
- package/dist/components/forms/form-plugins.d.ts +11 -0
- package/dist/components/forms/form-plugins.js +176 -0
- package/dist/components/forms/form-schema.cjs +56 -0
- package/dist/components/forms/form-schema.d.ts +324 -0
- package/dist/components/forms/form-schema.js +13 -0
- package/dist/components/forms/form-state-viewer.cjs +498 -0
- package/dist/components/forms/form-state-viewer.d.ts +15 -0
- package/dist/components/forms/form-state-viewer.js +464 -0
- package/dist/components/forms/index.cjs +103 -0
- package/dist/components/forms/index.d.ts +13 -0
- package/dist/components/forms/index.js +9 -0
- package/dist/components/forms/metadata-form.cjs +400 -0
- package/dist/components/forms/metadata-form.d.ts +16 -0
- package/dist/components/forms/metadata-form.js +366 -0
- package/dist/components/forms/rules-engine.cjs +343 -0
- package/dist/components/forms/rules-engine.d.ts +99 -0
- package/dist/components/forms/rules-engine.js +293 -0
- package/dist/components/forms/schema-serializer.cjs +250 -0
- package/dist/components/forms/schema-serializer.d.ts +27 -0
- package/dist/components/forms/schema-serializer.js +213 -0
- package/dist/components/forms/schema-viewer.cjs +157 -0
- package/dist/components/forms/schema-viewer.d.ts +29 -0
- package/dist/components/forms/schema-viewer.js +117 -0
- package/dist/components/forms/validation-converter.cjs +154 -0
- package/dist/components/forms/validation-converter.d.ts +42 -0
- package/dist/components/forms/validation-converter.js +114 -0
- package/dist/components/ui/accordion.cjs +82 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/accordion.js +39 -0
- package/dist/components/ui/alert-dialog.cjs +126 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog.js +62 -0
- package/dist/components/ui/alert.cjs +77 -0
- package/dist/components/ui/alert.d.ts +8 -0
- package/dist/components/ui/alert.js +37 -0
- package/dist/components/ui/aspect-ratio.cjs +38 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/aspect-ratio.js +4 -0
- package/dist/components/ui/avatar.cjs +63 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/avatar.js +23 -0
- package/dist/components/ui/badge.cjs +63 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/badge.js +26 -0
- package/dist/components/ui/breadcrumb.cjs +118 -0
- package/dist/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/ui/breadcrumb.js +66 -0
- package/dist/components/ui/button-group.cjs +68 -0
- package/dist/components/ui/button-group.d.ts +14 -0
- package/dist/components/ui/button-group.js +28 -0
- package/dist/components/ui/button.cjs +78 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.js +41 -0
- package/dist/components/ui/calendar.cjs +144 -0
- package/dist/components/ui/calendar.d.ts +8 -0
- package/dist/components/ui/calendar.js +107 -0
- package/dist/components/ui/card.cjs +89 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/card.js +40 -0
- package/dist/components/ui/checkbox.cjs +52 -0
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/checkbox.js +18 -0
- package/dist/components/ui/collapsible.cjs +45 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/collapsible.js +5 -0
- package/dist/components/ui/combobox.cjs +102 -0
- package/dist/components/ui/combobox.d.ts +15 -0
- package/dist/components/ui/combobox.js +68 -0
- package/dist/components/ui/command.cjs +131 -0
- package/dist/components/ui/command.d.ts +80 -0
- package/dist/components/ui/command.js +73 -0
- package/dist/components/ui/context-menu.cjs +173 -0
- package/dist/components/ui/context-menu.d.ts +27 -0
- package/dist/components/ui/context-menu.js +97 -0
- package/dist/components/ui/data-table.cjs +292 -0
- package/dist/components/ui/data-table.d.ts +23 -0
- package/dist/components/ui/data-table.js +252 -0
- package/dist/components/ui/date-picker.cjs +118 -0
- package/dist/components/ui/date-picker.d.ts +21 -0
- package/dist/components/ui/date-picker.js +81 -0
- package/dist/components/ui/datetime-picker.cjs +154 -0
- package/dist/components/ui/datetime-picker.d.ts +9 -0
- package/dist/components/ui/datetime-picker.js +120 -0
- package/dist/components/ui/dialog.cjs +159 -0
- package/dist/components/ui/dialog.d.ts +15 -0
- package/dist/components/ui/dialog.js +98 -0
- package/dist/components/ui/drawer.cjs +116 -0
- package/dist/components/ui/drawer.d.ts +18 -0
- package/dist/components/ui/drawer.js +55 -0
- package/dist/components/ui/dropdown-menu.cjs +174 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu.js +98 -0
- package/dist/components/ui/editable-cell.cjs +256 -0
- package/dist/components/ui/editable-cell.d.ts +24 -0
- package/dist/components/ui/editable-cell.js +219 -0
- package/dist/components/ui/empty-state.cjs +73 -0
- package/dist/components/ui/empty-state.d.ts +16 -0
- package/dist/components/ui/empty-state.js +39 -0
- package/dist/components/ui/file-upload.cjs +236 -0
- package/dist/components/ui/file-upload.d.ts +10 -0
- package/dist/components/ui/file-upload.js +202 -0
- package/dist/components/ui/hover-card.cjs +55 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/hover-card.js +15 -0
- package/dist/components/ui/index.cjs +546 -0
- package/dist/components/ui/index.d.ts +55 -0
- package/dist/components/ui/index.js +55 -0
- package/dist/components/ui/input.cjs +45 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/input.js +11 -0
- package/dist/components/ui/label.cjs +47 -0
- package/dist/components/ui/label.d.ts +7 -0
- package/dist/components/ui/label.js +13 -0
- package/dist/components/ui/layout/column.cjs +84 -0
- package/dist/components/ui/layout/column.d.ts +21 -0
- package/dist/components/ui/layout/column.js +50 -0
- package/dist/components/ui/layout/grid.cjs +101 -0
- package/dist/components/ui/layout/grid.d.ts +22 -0
- package/dist/components/ui/layout/grid.js +67 -0
- package/dist/components/ui/layout/index.cjs +44 -0
- package/dist/components/ui/layout/index.d.ts +7 -0
- package/dist/components/ui/layout/index.js +4 -0
- package/dist/components/ui/layout/row.cjs +84 -0
- package/dist/components/ui/layout/row.d.ts +21 -0
- package/dist/components/ui/layout/row.js +50 -0
- package/dist/components/ui/layout/types.cjs +18 -0
- package/dist/components/ui/layout/types.d.ts +149 -0
- package/dist/components/ui/layout/types.js +0 -0
- package/dist/components/ui/layout/utils.cjs +324 -0
- package/dist/components/ui/layout/utils.d.ts +76 -0
- package/dist/components/ui/layout/utils.js +239 -0
- package/dist/components/ui/menubar.cjs +210 -0
- package/dist/components/ui/menubar.d.ts +28 -0
- package/dist/components/ui/menubar.js +131 -0
- package/dist/components/ui/multi-select.cjs +187 -0
- package/dist/components/ui/multi-select.d.ts +18 -0
- package/dist/components/ui/multi-select.js +153 -0
- package/dist/components/ui/navigation-menu.cjs +122 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/navigation-menu.js +64 -0
- package/dist/components/ui/pagination.cjs +131 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/pagination.js +79 -0
- package/dist/components/ui/popover.cjs +61 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/popover.js +18 -0
- package/dist/components/ui/progress.cjs +51 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/progress.js +17 -0
- package/dist/components/ui/radio-group.cjs +61 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/radio-group.js +24 -0
- package/dist/components/ui/resizable.cjs +60 -0
- package/dist/components/ui/resizable.d.ts +23 -0
- package/dist/components/ui/resizable.js +20 -0
- package/dist/components/ui/scroll-area.cjs +67 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/scroll-area.js +30 -0
- package/dist/components/ui/search.cjs +153 -0
- package/dist/components/ui/search.d.ts +19 -0
- package/dist/components/ui/search.js +116 -0
- package/dist/components/ui/select.cjs +151 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/select.js +90 -0
- package/dist/components/ui/separator.cjs +47 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.js +13 -0
- package/dist/components/ui/sheet.cjs +142 -0
- package/dist/components/ui/sheet.d.ts +25 -0
- package/dist/components/ui/sheet.js +81 -0
- package/dist/components/ui/skeleton.cjs +43 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/skeleton.js +9 -0
- package/dist/components/ui/slider.cjs +63 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/slider.js +29 -0
- package/dist/components/ui/sonner.cjs +76 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/sonner.js +39 -0
- package/dist/components/ui/spinner.cjs +78 -0
- package/dist/components/ui/spinner.d.ts +11 -0
- package/dist/components/ui/spinner.js +41 -0
- package/dist/components/ui/stats-card.cjs +102 -0
- package/dist/components/ui/stats-card.d.ts +15 -0
- package/dist/components/ui/stats-card.js +68 -0
- package/dist/components/ui/stepper.cjs +99 -0
- package/dist/components/ui/stepper.d.ts +14 -0
- package/dist/components/ui/stepper.js +65 -0
- package/dist/components/ui/switch.cjs +48 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/switch.js +14 -0
- package/dist/components/ui/table.cjs +110 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/table.js +55 -0
- package/dist/components/ui/tabs.cjs +67 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/tabs.js +24 -0
- package/dist/components/ui/textarea.cjs +44 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.js +10 -0
- package/dist/components/ui/toggle-group.cjs +73 -0
- package/dist/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle-group.js +36 -0
- package/dist/components/ui/toggle.cjs +71 -0
- package/dist/components/ui/toggle.d.ts +12 -0
- package/dist/components/ui/toggle.js +34 -0
- package/dist/components/ui/tooltip.cjs +58 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/tooltip.js +15 -0
- package/dist/examples/admin-layout-example.d.ts +92 -0
- package/dist/examples/app-shell-example.d.ts +52 -0
- package/dist/examples/dashboard-example.d.ts +11 -0
- package/dist/examples/data-management-example.d.ts +1 -0
- package/dist/examples/flow-editor-layout-example.d.ts +22 -0
- package/dist/examples/flow-start-example.d.ts +30 -0
- package/dist/examples/form-builder-example.d.ts +1 -0
- package/dist/examples/new-project-example.d.ts +30 -0
- package/dist/examples/settings-example.d.ts +1 -0
- package/dist/examples/vscode-example.d.ts +80 -0
- package/dist/index.cjs +830 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.js +67 -0
- package/dist/lib/index.cjs +42 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/utils.cjs +70 -0
- package/dist/lib/utils.d.ts +14 -0
- package/dist/lib/utils.js +30 -0
- package/dist/postcss.config.export.cjs +43 -0
- package/dist/postcss.config.export.js +9 -0
- package/dist/styles.css +6868 -0
- package/dist/tailwind.css +239 -0
- package/dist/tailwind.preset.cjs +77 -0
- package/dist/tailwind.preset.js +43 -0
- package/package.json +157 -0
- package/postcss.config.export.js +9 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { Badge } from "../ui/badge.js";
|
|
4
|
+
import { Card } from "../ui/card.js";
|
|
5
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs.js";
|
|
6
|
+
import { ScrollArea } from "../ui/scroll-area.js";
|
|
7
|
+
import { AlertCircle, CheckCircle2, Database, Eye, FileEdit, XCircle } from "lucide-react";
|
|
8
|
+
function FormStateViewer({ form, title = 'Form State', className = '', compact = false }) {
|
|
9
|
+
const [activeTab, setActiveTab] = useState('values');
|
|
10
|
+
const { formState, watch } = form;
|
|
11
|
+
const values = watch();
|
|
12
|
+
const stats = {
|
|
13
|
+
isValid: formState.isValid,
|
|
14
|
+
isDirty: formState.isDirty,
|
|
15
|
+
isSubmitting: formState.isSubmitting,
|
|
16
|
+
isValidating: formState.isValidating,
|
|
17
|
+
submitCount: formState.submitCount,
|
|
18
|
+
errorCount: Object.keys(formState.errors).length,
|
|
19
|
+
dirtyFieldsCount: Object.keys(formState.dirtyFields).length,
|
|
20
|
+
touchedFieldsCount: Object.keys(formState.touchedFields).length
|
|
21
|
+
};
|
|
22
|
+
if (compact) return /*#__PURE__*/ jsx(Card, {
|
|
23
|
+
className: `p-4 ${className}`,
|
|
24
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
25
|
+
className: "space-y-3",
|
|
26
|
+
children: [
|
|
27
|
+
/*#__PURE__*/ jsxs("div", {
|
|
28
|
+
className: "flex items-center justify-between",
|
|
29
|
+
children: [
|
|
30
|
+
/*#__PURE__*/ jsx("h3", {
|
|
31
|
+
className: "text-sm font-semibold",
|
|
32
|
+
children: title
|
|
33
|
+
}),
|
|
34
|
+
/*#__PURE__*/ jsxs("div", {
|
|
35
|
+
className: "flex gap-2",
|
|
36
|
+
children: [
|
|
37
|
+
stats.isValid ? /*#__PURE__*/ jsxs(Badge, {
|
|
38
|
+
variant: "default",
|
|
39
|
+
className: "bg-green-600",
|
|
40
|
+
children: [
|
|
41
|
+
/*#__PURE__*/ jsx(CheckCircle2, {
|
|
42
|
+
className: "w-3 h-3 mr-1"
|
|
43
|
+
}),
|
|
44
|
+
"Valid"
|
|
45
|
+
]
|
|
46
|
+
}) : /*#__PURE__*/ jsxs(Badge, {
|
|
47
|
+
variant: "destructive",
|
|
48
|
+
children: [
|
|
49
|
+
/*#__PURE__*/ jsx(XCircle, {
|
|
50
|
+
className: "w-3 h-3 mr-1"
|
|
51
|
+
}),
|
|
52
|
+
"Invalid"
|
|
53
|
+
]
|
|
54
|
+
}),
|
|
55
|
+
stats.isDirty && /*#__PURE__*/ jsxs(Badge, {
|
|
56
|
+
variant: "secondary",
|
|
57
|
+
children: [
|
|
58
|
+
/*#__PURE__*/ jsx(FileEdit, {
|
|
59
|
+
className: "w-3 h-3 mr-1"
|
|
60
|
+
}),
|
|
61
|
+
"Dirty"
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
}),
|
|
68
|
+
/*#__PURE__*/ jsx("pre", {
|
|
69
|
+
className: "text-xs bg-muted p-3 rounded overflow-auto max-h-40",
|
|
70
|
+
children: JSON.stringify(values, null, 2)
|
|
71
|
+
})
|
|
72
|
+
]
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
return /*#__PURE__*/ jsxs(Card, {
|
|
76
|
+
className: `${className}`,
|
|
77
|
+
children: [
|
|
78
|
+
/*#__PURE__*/ jsxs("div", {
|
|
79
|
+
className: "p-4 border-b",
|
|
80
|
+
children: [
|
|
81
|
+
/*#__PURE__*/ jsxs("div", {
|
|
82
|
+
className: "flex items-center justify-between mb-3",
|
|
83
|
+
children: [
|
|
84
|
+
/*#__PURE__*/ jsx("h3", {
|
|
85
|
+
className: "text-lg font-semibold",
|
|
86
|
+
children: title
|
|
87
|
+
}),
|
|
88
|
+
/*#__PURE__*/ jsxs("div", {
|
|
89
|
+
className: "flex gap-2",
|
|
90
|
+
children: [
|
|
91
|
+
stats.isValid ? /*#__PURE__*/ jsxs(Badge, {
|
|
92
|
+
variant: "default",
|
|
93
|
+
className: "bg-green-600",
|
|
94
|
+
children: [
|
|
95
|
+
/*#__PURE__*/ jsx(CheckCircle2, {
|
|
96
|
+
className: "w-3 h-3 mr-1"
|
|
97
|
+
}),
|
|
98
|
+
"Valid"
|
|
99
|
+
]
|
|
100
|
+
}) : /*#__PURE__*/ jsxs(Badge, {
|
|
101
|
+
variant: "destructive",
|
|
102
|
+
children: [
|
|
103
|
+
/*#__PURE__*/ jsx(XCircle, {
|
|
104
|
+
className: "w-3 h-3 mr-1"
|
|
105
|
+
}),
|
|
106
|
+
stats.errorCount,
|
|
107
|
+
" Error",
|
|
108
|
+
1 !== stats.errorCount ? 's' : ''
|
|
109
|
+
]
|
|
110
|
+
}),
|
|
111
|
+
stats.isDirty && /*#__PURE__*/ jsxs(Badge, {
|
|
112
|
+
variant: "secondary",
|
|
113
|
+
children: [
|
|
114
|
+
/*#__PURE__*/ jsx(FileEdit, {
|
|
115
|
+
className: "w-3 h-3 mr-1"
|
|
116
|
+
}),
|
|
117
|
+
stats.dirtyFieldsCount,
|
|
118
|
+
" Changed"
|
|
119
|
+
]
|
|
120
|
+
})
|
|
121
|
+
]
|
|
122
|
+
})
|
|
123
|
+
]
|
|
124
|
+
}),
|
|
125
|
+
/*#__PURE__*/ jsxs("div", {
|
|
126
|
+
className: "grid grid-cols-4 gap-2 text-xs",
|
|
127
|
+
children: [
|
|
128
|
+
/*#__PURE__*/ jsxs("div", {
|
|
129
|
+
className: "text-center p-2 bg-muted rounded",
|
|
130
|
+
children: [
|
|
131
|
+
/*#__PURE__*/ jsx("div", {
|
|
132
|
+
className: "font-semibold text-lg",
|
|
133
|
+
children: stats.submitCount
|
|
134
|
+
}),
|
|
135
|
+
/*#__PURE__*/ jsx("div", {
|
|
136
|
+
className: "text-muted-foreground",
|
|
137
|
+
children: "Submits"
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
}),
|
|
141
|
+
/*#__PURE__*/ jsxs("div", {
|
|
142
|
+
className: "text-center p-2 bg-muted rounded",
|
|
143
|
+
children: [
|
|
144
|
+
/*#__PURE__*/ jsx("div", {
|
|
145
|
+
className: "font-semibold text-lg",
|
|
146
|
+
children: stats.errorCount
|
|
147
|
+
}),
|
|
148
|
+
/*#__PURE__*/ jsx("div", {
|
|
149
|
+
className: "text-muted-foreground",
|
|
150
|
+
children: "Errors"
|
|
151
|
+
})
|
|
152
|
+
]
|
|
153
|
+
}),
|
|
154
|
+
/*#__PURE__*/ jsxs("div", {
|
|
155
|
+
className: "text-center p-2 bg-muted rounded",
|
|
156
|
+
children: [
|
|
157
|
+
/*#__PURE__*/ jsx("div", {
|
|
158
|
+
className: "font-semibold text-lg",
|
|
159
|
+
children: stats.dirtyFieldsCount
|
|
160
|
+
}),
|
|
161
|
+
/*#__PURE__*/ jsx("div", {
|
|
162
|
+
className: "text-muted-foreground",
|
|
163
|
+
children: "Dirty"
|
|
164
|
+
})
|
|
165
|
+
]
|
|
166
|
+
}),
|
|
167
|
+
/*#__PURE__*/ jsxs("div", {
|
|
168
|
+
className: "text-center p-2 bg-muted rounded",
|
|
169
|
+
children: [
|
|
170
|
+
/*#__PURE__*/ jsx("div", {
|
|
171
|
+
className: "font-semibold text-lg",
|
|
172
|
+
children: stats.touchedFieldsCount
|
|
173
|
+
}),
|
|
174
|
+
/*#__PURE__*/ jsx("div", {
|
|
175
|
+
className: "text-muted-foreground",
|
|
176
|
+
children: "Touched"
|
|
177
|
+
})
|
|
178
|
+
]
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
})
|
|
182
|
+
]
|
|
183
|
+
}),
|
|
184
|
+
/*#__PURE__*/ jsxs(Tabs, {
|
|
185
|
+
value: activeTab,
|
|
186
|
+
onValueChange: setActiveTab,
|
|
187
|
+
className: "w-full",
|
|
188
|
+
children: [
|
|
189
|
+
/*#__PURE__*/ jsxs(TabsList, {
|
|
190
|
+
className: "w-full justify-start rounded-none border-b px-4",
|
|
191
|
+
children: [
|
|
192
|
+
/*#__PURE__*/ jsxs(TabsTrigger, {
|
|
193
|
+
value: "values",
|
|
194
|
+
className: "gap-2",
|
|
195
|
+
children: [
|
|
196
|
+
/*#__PURE__*/ jsx(Database, {
|
|
197
|
+
className: "w-4 h-4"
|
|
198
|
+
}),
|
|
199
|
+
"Values"
|
|
200
|
+
]
|
|
201
|
+
}),
|
|
202
|
+
/*#__PURE__*/ jsxs(TabsTrigger, {
|
|
203
|
+
value: "errors",
|
|
204
|
+
className: "gap-2",
|
|
205
|
+
children: [
|
|
206
|
+
/*#__PURE__*/ jsx(AlertCircle, {
|
|
207
|
+
className: "w-4 h-4"
|
|
208
|
+
}),
|
|
209
|
+
"Errors",
|
|
210
|
+
stats.errorCount > 0 && /*#__PURE__*/ jsx(Badge, {
|
|
211
|
+
variant: "destructive",
|
|
212
|
+
className: "ml-1 h-5",
|
|
213
|
+
children: stats.errorCount
|
|
214
|
+
})
|
|
215
|
+
]
|
|
216
|
+
}),
|
|
217
|
+
/*#__PURE__*/ jsxs(TabsTrigger, {
|
|
218
|
+
value: "state",
|
|
219
|
+
className: "gap-2",
|
|
220
|
+
children: [
|
|
221
|
+
/*#__PURE__*/ jsx(Eye, {
|
|
222
|
+
className: "w-4 h-4"
|
|
223
|
+
}),
|
|
224
|
+
"State"
|
|
225
|
+
]
|
|
226
|
+
}),
|
|
227
|
+
/*#__PURE__*/ jsxs(TabsTrigger, {
|
|
228
|
+
value: "fields",
|
|
229
|
+
className: "gap-2",
|
|
230
|
+
children: [
|
|
231
|
+
/*#__PURE__*/ jsx(FileEdit, {
|
|
232
|
+
className: "w-4 h-4"
|
|
233
|
+
}),
|
|
234
|
+
"Fields"
|
|
235
|
+
]
|
|
236
|
+
})
|
|
237
|
+
]
|
|
238
|
+
}),
|
|
239
|
+
/*#__PURE__*/ jsxs(ScrollArea, {
|
|
240
|
+
className: "h-[400px]",
|
|
241
|
+
children: [
|
|
242
|
+
/*#__PURE__*/ jsx(TabsContent, {
|
|
243
|
+
value: "values",
|
|
244
|
+
className: "p-4 m-0",
|
|
245
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
246
|
+
className: "space-y-2",
|
|
247
|
+
children: [
|
|
248
|
+
/*#__PURE__*/ jsx("p", {
|
|
249
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
250
|
+
children: "Current form values (updates in real-time)"
|
|
251
|
+
}),
|
|
252
|
+
/*#__PURE__*/ jsx("pre", {
|
|
253
|
+
className: "text-xs bg-muted p-4 rounded overflow-auto",
|
|
254
|
+
children: JSON.stringify(values, null, 2)
|
|
255
|
+
})
|
|
256
|
+
]
|
|
257
|
+
})
|
|
258
|
+
}),
|
|
259
|
+
/*#__PURE__*/ jsx(TabsContent, {
|
|
260
|
+
value: "errors",
|
|
261
|
+
className: "p-4 m-0",
|
|
262
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
263
|
+
className: "space-y-3",
|
|
264
|
+
children: [
|
|
265
|
+
/*#__PURE__*/ jsx("p", {
|
|
266
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
267
|
+
children: "Validation errors from Zod schema"
|
|
268
|
+
}),
|
|
269
|
+
0 === Object.keys(formState.errors).length ? /*#__PURE__*/ jsxs("div", {
|
|
270
|
+
className: "flex items-center gap-2 p-4 bg-green-50 dark:bg-green-900/10 rounded text-green-700 dark:text-green-400",
|
|
271
|
+
children: [
|
|
272
|
+
/*#__PURE__*/ jsx(CheckCircle2, {
|
|
273
|
+
className: "w-5 h-5"
|
|
274
|
+
}),
|
|
275
|
+
/*#__PURE__*/ jsx("span", {
|
|
276
|
+
className: "text-sm font-medium",
|
|
277
|
+
children: "No validation errors"
|
|
278
|
+
})
|
|
279
|
+
]
|
|
280
|
+
}) : /*#__PURE__*/ jsx("div", {
|
|
281
|
+
className: "space-y-2",
|
|
282
|
+
children: Object.entries(formState.errors).map(([field, error])=>/*#__PURE__*/ jsx("div", {
|
|
283
|
+
className: "p-3 bg-destructive/10 rounded border border-destructive/20",
|
|
284
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
285
|
+
className: "flex items-start gap-2",
|
|
286
|
+
children: [
|
|
287
|
+
/*#__PURE__*/ jsx(XCircle, {
|
|
288
|
+
className: "w-4 h-4 text-destructive mt-0.5"
|
|
289
|
+
}),
|
|
290
|
+
/*#__PURE__*/ jsxs("div", {
|
|
291
|
+
className: "flex-1",
|
|
292
|
+
children: [
|
|
293
|
+
/*#__PURE__*/ jsx("div", {
|
|
294
|
+
className: "font-mono text-sm font-semibold",
|
|
295
|
+
children: field
|
|
296
|
+
}),
|
|
297
|
+
/*#__PURE__*/ jsx("div", {
|
|
298
|
+
className: "text-sm text-muted-foreground mt-1",
|
|
299
|
+
children: error?.message || 'Invalid value'
|
|
300
|
+
})
|
|
301
|
+
]
|
|
302
|
+
})
|
|
303
|
+
]
|
|
304
|
+
})
|
|
305
|
+
}, field))
|
|
306
|
+
})
|
|
307
|
+
]
|
|
308
|
+
})
|
|
309
|
+
}),
|
|
310
|
+
/*#__PURE__*/ jsx(TabsContent, {
|
|
311
|
+
value: "state",
|
|
312
|
+
className: "p-4 m-0",
|
|
313
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
314
|
+
className: "space-y-3",
|
|
315
|
+
children: [
|
|
316
|
+
/*#__PURE__*/ jsx("p", {
|
|
317
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
318
|
+
children: "React Hook Form internal state"
|
|
319
|
+
}),
|
|
320
|
+
/*#__PURE__*/ jsxs("div", {
|
|
321
|
+
className: "space-y-2",
|
|
322
|
+
children: [
|
|
323
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
324
|
+
label: "Is Valid",
|
|
325
|
+
value: stats.isValid
|
|
326
|
+
}),
|
|
327
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
328
|
+
label: "Is Dirty",
|
|
329
|
+
value: stats.isDirty
|
|
330
|
+
}),
|
|
331
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
332
|
+
label: "Is Submitting",
|
|
333
|
+
value: stats.isSubmitting
|
|
334
|
+
}),
|
|
335
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
336
|
+
label: "Is Validating",
|
|
337
|
+
value: stats.isValidating
|
|
338
|
+
}),
|
|
339
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
340
|
+
label: "Is Submitted",
|
|
341
|
+
value: formState.isSubmitted
|
|
342
|
+
}),
|
|
343
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
344
|
+
label: "Is Submit Successful",
|
|
345
|
+
value: formState.isSubmitSuccessful
|
|
346
|
+
}),
|
|
347
|
+
/*#__PURE__*/ jsx(StateItem, {
|
|
348
|
+
label: "Submit Count",
|
|
349
|
+
value: stats.submitCount,
|
|
350
|
+
type: "number"
|
|
351
|
+
})
|
|
352
|
+
]
|
|
353
|
+
})
|
|
354
|
+
]
|
|
355
|
+
})
|
|
356
|
+
}),
|
|
357
|
+
/*#__PURE__*/ jsx(TabsContent, {
|
|
358
|
+
value: "fields",
|
|
359
|
+
className: "p-4 m-0",
|
|
360
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
361
|
+
className: "space-y-3",
|
|
362
|
+
children: [
|
|
363
|
+
/*#__PURE__*/ jsx("p", {
|
|
364
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
365
|
+
children: "Field-level state tracking"
|
|
366
|
+
}),
|
|
367
|
+
/*#__PURE__*/ jsxs("div", {
|
|
368
|
+
className: "space-y-4",
|
|
369
|
+
children: [
|
|
370
|
+
/*#__PURE__*/ jsxs("div", {
|
|
371
|
+
children: [
|
|
372
|
+
/*#__PURE__*/ jsxs("h4", {
|
|
373
|
+
className: "text-sm font-semibold mb-2 flex items-center gap-2",
|
|
374
|
+
children: [
|
|
375
|
+
/*#__PURE__*/ jsx(FileEdit, {
|
|
376
|
+
className: "w-4 h-4"
|
|
377
|
+
}),
|
|
378
|
+
"Dirty Fields (",
|
|
379
|
+
stats.dirtyFieldsCount,
|
|
380
|
+
")"
|
|
381
|
+
]
|
|
382
|
+
}),
|
|
383
|
+
0 === Object.keys(formState.dirtyFields).length ? /*#__PURE__*/ jsx("div", {
|
|
384
|
+
className: "text-sm text-muted-foreground italic p-2 bg-muted rounded",
|
|
385
|
+
children: "No fields modified yet"
|
|
386
|
+
}) : /*#__PURE__*/ jsx("div", {
|
|
387
|
+
className: "flex flex-wrap gap-2",
|
|
388
|
+
children: Object.keys(formState.dirtyFields).map((field)=>/*#__PURE__*/ jsx(Badge, {
|
|
389
|
+
variant: "secondary",
|
|
390
|
+
children: field
|
|
391
|
+
}, field))
|
|
392
|
+
})
|
|
393
|
+
]
|
|
394
|
+
}),
|
|
395
|
+
/*#__PURE__*/ jsxs("div", {
|
|
396
|
+
children: [
|
|
397
|
+
/*#__PURE__*/ jsxs("h4", {
|
|
398
|
+
className: "text-sm font-semibold mb-2 flex items-center gap-2",
|
|
399
|
+
children: [
|
|
400
|
+
/*#__PURE__*/ jsx(Eye, {
|
|
401
|
+
className: "w-4 h-4"
|
|
402
|
+
}),
|
|
403
|
+
"Touched Fields (",
|
|
404
|
+
stats.touchedFieldsCount,
|
|
405
|
+
")"
|
|
406
|
+
]
|
|
407
|
+
}),
|
|
408
|
+
0 === Object.keys(formState.touchedFields).length ? /*#__PURE__*/ jsx("div", {
|
|
409
|
+
className: "text-sm text-muted-foreground italic p-2 bg-muted rounded",
|
|
410
|
+
children: "No fields touched yet"
|
|
411
|
+
}) : /*#__PURE__*/ jsx("div", {
|
|
412
|
+
className: "flex flex-wrap gap-2",
|
|
413
|
+
children: Object.keys(formState.touchedFields).map((field)=>/*#__PURE__*/ jsx(Badge, {
|
|
414
|
+
variant: "outline",
|
|
415
|
+
children: field
|
|
416
|
+
}, field))
|
|
417
|
+
})
|
|
418
|
+
]
|
|
419
|
+
})
|
|
420
|
+
]
|
|
421
|
+
})
|
|
422
|
+
]
|
|
423
|
+
})
|
|
424
|
+
})
|
|
425
|
+
]
|
|
426
|
+
})
|
|
427
|
+
]
|
|
428
|
+
})
|
|
429
|
+
]
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
function StateItem({ label, value, type = 'boolean' }) {
|
|
433
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
434
|
+
className: "flex items-center justify-between p-2 bg-muted rounded",
|
|
435
|
+
children: [
|
|
436
|
+
/*#__PURE__*/ jsx("span", {
|
|
437
|
+
className: "text-sm font-medium",
|
|
438
|
+
children: label
|
|
439
|
+
}),
|
|
440
|
+
'boolean' === type ? value ? /*#__PURE__*/ jsxs(Badge, {
|
|
441
|
+
variant: "default",
|
|
442
|
+
className: "bg-green-600",
|
|
443
|
+
children: [
|
|
444
|
+
/*#__PURE__*/ jsx(CheckCircle2, {
|
|
445
|
+
className: "w-3 h-3 mr-1"
|
|
446
|
+
}),
|
|
447
|
+
"True"
|
|
448
|
+
]
|
|
449
|
+
}) : /*#__PURE__*/ jsxs(Badge, {
|
|
450
|
+
variant: "secondary",
|
|
451
|
+
children: [
|
|
452
|
+
/*#__PURE__*/ jsx(XCircle, {
|
|
453
|
+
className: "w-3 h-3 mr-1"
|
|
454
|
+
}),
|
|
455
|
+
"False"
|
|
456
|
+
]
|
|
457
|
+
}) : /*#__PURE__*/ jsx(Badge, {
|
|
458
|
+
variant: "outline",
|
|
459
|
+
children: value
|
|
460
|
+
})
|
|
461
|
+
]
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
export { FormStateViewer };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
formattingPlugin: ()=>external_form_plugins_cjs_namespaceObject.formattingPlugin,
|
|
28
|
+
isCustomField: ()=>external_form_schema_cjs_namespaceObject.isCustomField,
|
|
29
|
+
isFileField: ()=>external_form_schema_cjs_namespaceObject.isFileField,
|
|
30
|
+
validationPlugin: ()=>external_form_plugins_cjs_namespaceObject.validationPlugin,
|
|
31
|
+
FormFieldRenderer: ()=>external_field_renderer_cjs_namespaceObject.FormFieldRenderer,
|
|
32
|
+
analyticsPlugin: ()=>external_form_plugins_cjs_namespaceObject.analyticsPlugin,
|
|
33
|
+
MetadataForm: ()=>external_metadata_form_cjs_namespaceObject.MetadataForm,
|
|
34
|
+
hasOptions: ()=>external_form_schema_cjs_namespaceObject.hasOptions,
|
|
35
|
+
DataFetcher: ()=>external_data_fetcher_cjs_namespaceObject.DataFetcher,
|
|
36
|
+
DataTransformers: ()=>external_data_fetcher_cjs_namespaceObject.DataTransformers,
|
|
37
|
+
FetchAdapter: ()=>external_data_fetcher_cjs_namespaceObject.FetchAdapter,
|
|
38
|
+
FormStateViewer: ()=>external_form_state_viewer_cjs_namespaceObject.FormStateViewer,
|
|
39
|
+
RulesEngine: ()=>external_rules_engine_cjs_namespaceObject.RulesEngine,
|
|
40
|
+
RuleBuilder: ()=>external_rules_engine_cjs_namespaceObject.RuleBuilder,
|
|
41
|
+
auditPlugin: ()=>external_form_plugins_cjs_namespaceObject.auditPlugin,
|
|
42
|
+
FormDesigner: ()=>external_form_designer_cjs_namespaceObject.FormDesigner,
|
|
43
|
+
autoSavePlugin: ()=>external_form_plugins_cjs_namespaceObject.autoSavePlugin,
|
|
44
|
+
DataSourceBuilder: ()=>external_data_fetcher_cjs_namespaceObject.DataSourceBuilder,
|
|
45
|
+
ExpressionBuilder: ()=>external_rules_engine_cjs_namespaceObject.ExpressionBuilder,
|
|
46
|
+
hasMinMaxStep: ()=>external_form_schema_cjs_namespaceObject.hasMinMaxStep,
|
|
47
|
+
workflowPlugin: ()=>external_form_plugins_cjs_namespaceObject.workflowPlugin
|
|
48
|
+
});
|
|
49
|
+
const external_metadata_form_cjs_namespaceObject = require("./metadata-form.cjs");
|
|
50
|
+
const external_field_renderer_cjs_namespaceObject = require("./field-renderer.cjs");
|
|
51
|
+
const external_form_designer_cjs_namespaceObject = require("./form-designer.cjs");
|
|
52
|
+
const external_rules_engine_cjs_namespaceObject = require("./rules-engine.cjs");
|
|
53
|
+
const external_data_fetcher_cjs_namespaceObject = require("./data-fetcher.cjs");
|
|
54
|
+
const external_form_state_viewer_cjs_namespaceObject = require("./form-state-viewer.cjs");
|
|
55
|
+
const external_form_plugins_cjs_namespaceObject = require("./form-plugins.cjs");
|
|
56
|
+
const external_form_schema_cjs_namespaceObject = require("./form-schema.cjs");
|
|
57
|
+
exports.DataFetcher = __webpack_exports__.DataFetcher;
|
|
58
|
+
exports.DataSourceBuilder = __webpack_exports__.DataSourceBuilder;
|
|
59
|
+
exports.DataTransformers = __webpack_exports__.DataTransformers;
|
|
60
|
+
exports.ExpressionBuilder = __webpack_exports__.ExpressionBuilder;
|
|
61
|
+
exports.FetchAdapter = __webpack_exports__.FetchAdapter;
|
|
62
|
+
exports.FormDesigner = __webpack_exports__.FormDesigner;
|
|
63
|
+
exports.FormFieldRenderer = __webpack_exports__.FormFieldRenderer;
|
|
64
|
+
exports.FormStateViewer = __webpack_exports__.FormStateViewer;
|
|
65
|
+
exports.MetadataForm = __webpack_exports__.MetadataForm;
|
|
66
|
+
exports.RuleBuilder = __webpack_exports__.RuleBuilder;
|
|
67
|
+
exports.RulesEngine = __webpack_exports__.RulesEngine;
|
|
68
|
+
exports.analyticsPlugin = __webpack_exports__.analyticsPlugin;
|
|
69
|
+
exports.auditPlugin = __webpack_exports__.auditPlugin;
|
|
70
|
+
exports.autoSavePlugin = __webpack_exports__.autoSavePlugin;
|
|
71
|
+
exports.formattingPlugin = __webpack_exports__.formattingPlugin;
|
|
72
|
+
exports.hasMinMaxStep = __webpack_exports__.hasMinMaxStep;
|
|
73
|
+
exports.hasOptions = __webpack_exports__.hasOptions;
|
|
74
|
+
exports.isCustomField = __webpack_exports__.isCustomField;
|
|
75
|
+
exports.isFileField = __webpack_exports__.isFileField;
|
|
76
|
+
exports.validationPlugin = __webpack_exports__.validationPlugin;
|
|
77
|
+
exports.workflowPlugin = __webpack_exports__.workflowPlugin;
|
|
78
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
79
|
+
"DataFetcher",
|
|
80
|
+
"DataSourceBuilder",
|
|
81
|
+
"DataTransformers",
|
|
82
|
+
"ExpressionBuilder",
|
|
83
|
+
"FetchAdapter",
|
|
84
|
+
"FormDesigner",
|
|
85
|
+
"FormFieldRenderer",
|
|
86
|
+
"FormStateViewer",
|
|
87
|
+
"MetadataForm",
|
|
88
|
+
"RuleBuilder",
|
|
89
|
+
"RulesEngine",
|
|
90
|
+
"analyticsPlugin",
|
|
91
|
+
"auditPlugin",
|
|
92
|
+
"autoSavePlugin",
|
|
93
|
+
"formattingPlugin",
|
|
94
|
+
"hasMinMaxStep",
|
|
95
|
+
"hasOptions",
|
|
96
|
+
"isCustomField",
|
|
97
|
+
"isFileField",
|
|
98
|
+
"validationPlugin",
|
|
99
|
+
"workflowPlugin"
|
|
100
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
101
|
+
Object.defineProperty(exports, '__esModule', {
|
|
102
|
+
value: true
|
|
103
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo-Wind Metadata Forms
|
|
3
|
+
* Enterprise-grade metadata-driven form system
|
|
4
|
+
*/
|
|
5
|
+
export { MetadataForm } from './metadata-form';
|
|
6
|
+
export { FormFieldRenderer } from './field-renderer';
|
|
7
|
+
export { FormDesigner } from './form-designer';
|
|
8
|
+
export { RulesEngine, RuleBuilder, ExpressionBuilder } from './rules-engine';
|
|
9
|
+
export { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter, type DataAdapter, type AdapterRequest, type AdapterResponse, } from './data-fetcher';
|
|
10
|
+
export { FormStateViewer } from './form-state-viewer';
|
|
11
|
+
export { analyticsPlugin, autoSavePlugin, validationPlugin, workflowPlugin, auditPlugin, formattingPlugin, } from './form-plugins';
|
|
12
|
+
export type { FormSchema, FormSection, FormStep, FieldMetadata, FieldType, FieldCondition, FieldRule, DataSource, FormContext, FormPlugin, FormAction, CustomFieldComponentProps, FieldOption, } from './form-schema';
|
|
13
|
+
export { hasOptions, hasMinMaxStep, isFileField, isCustomField, } from './form-schema';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MetadataForm } from "./metadata-form.js";
|
|
2
|
+
import { FormFieldRenderer } from "./field-renderer.js";
|
|
3
|
+
import { FormDesigner } from "./form-designer.js";
|
|
4
|
+
import { ExpressionBuilder, RuleBuilder, RulesEngine } from "./rules-engine.js";
|
|
5
|
+
import { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter } from "./data-fetcher.js";
|
|
6
|
+
import { FormStateViewer } from "./form-state-viewer.js";
|
|
7
|
+
import { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin } from "./form-plugins.js";
|
|
8
|
+
import { hasMinMaxStep, hasOptions, isCustomField, isFileField } from "./form-schema.js";
|
|
9
|
+
export { DataFetcher, DataSourceBuilder, DataTransformers, ExpressionBuilder, FetchAdapter, FormDesigner, FormFieldRenderer, FormStateViewer, MetadataForm, RuleBuilder, RulesEngine, analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, validationPlugin, workflowPlugin };
|