@digiform/builder 0.1.7 → 0.2.4

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 (279) hide show
  1. package/FormBuilder.d.ts +24 -0
  2. package/client.cjs +1 -1
  3. package/client.d.ts +18 -0
  4. package/client.js +1 -1
  5. package/component-registry/components/alert.d.ts +4 -0
  6. package/component-registry/components/button.d.ts +4 -0
  7. package/component-registry/components/checkbox.d.ts +9 -0
  8. package/component-registry/components/code-input/code-input.d.ts +4 -0
  9. package/component-registry/components/dropdown.d.ts +1 -0
  10. package/component-registry/components/heading.d.ts +4 -0
  11. package/component-registry/components/index.d.ts +35 -0
  12. package/component-registry/components/paragraph.d.ts +4 -0
  13. package/component-registry/components/progress-loader.d.ts +4 -0
  14. package/component-registry/components/radioGroup.d.ts +1 -0
  15. package/component-registry/components/text.d.ts +2 -0
  16. package/component-registry/components/textarea.d.ts +2 -0
  17. package/component-registry/createFormFieldComponent.d.ts +52 -0
  18. package/component-registry/index.d.ts +3 -0
  19. package/component-registry/types.d.ts +42 -0
  20. package/component-registry/utils.d.ts +33 -0
  21. package/component-registry/validation.d.ts +141 -0
  22. package/component-registry/validationBridge.d.ts +10 -0
  23. package/components/ConnectionErrorScreen/ConnectionErrorScreen.d.ts +10 -0
  24. package/components/DatabaseStatusIndicator/DatabaseStatusIndicator.d.ts +24 -0
  25. package/config/SecureConfigLoader.d.ts +57 -0
  26. package/config/hooks.d.ts +2 -0
  27. package/config/index.d.ts +5 -0
  28. package/config/types.d.ts +94 -0
  29. package/{configReader-BkMPr3Ju.js → configReader-C49NagAF.js} +4936 -4988
  30. package/configReader-C49NagAF.js.map +1 -0
  31. package/{configReader-CbGTKRUP.cjs → configReader-CT1_bYSZ.cjs} +7 -7
  32. package/configReader-CT1_bYSZ.cjs.map +1 -0
  33. package/design-system/components/ComponentSourceBadge/ComponentSourceBadge.d.ts +15 -0
  34. package/design-system/components/FormFieldWrapper/FormFieldWrapper.d.ts +18 -0
  35. package/design-system/custom/config/date-preset.config.d.ts +7 -0
  36. package/design-system/custom/config/email-preset.config.d.ts +7 -0
  37. package/design-system/custom/config/index.d.ts +10 -0
  38. package/design-system/custom/config/number-preset.config.d.ts +7 -0
  39. package/design-system/custom/config/tel-preset.config.d.ts +7 -0
  40. package/design-system/custom/index.d.ts +17 -0
  41. package/design-system/custom/utils/create-preset-config.d.ts +74 -0
  42. package/design-system/generated/rhc-catalog.generated.d.ts +9360 -0
  43. package/design-system/index.d.ts +15 -0
  44. package/design-system/rhc/components.d.ts +12 -0
  45. package/design-system/rhc/config/alert.config.d.ts +5 -0
  46. package/design-system/rhc/config/button.config.d.ts +8 -0
  47. package/design-system/rhc/config/checkbox.config.d.ts +4 -0
  48. package/design-system/rhc/config/form-builder.config.d.ts +74 -0
  49. package/design-system/rhc/config/heading.config.d.ts +5 -0
  50. package/design-system/rhc/config/index.d.ts +9 -0
  51. package/design-system/rhc/config/paragraph.config.d.ts +8 -0
  52. package/design-system/rhc/config/radio-group.config.d.ts +5 -0
  53. package/design-system/rhc/config/select.config.d.ts +5 -0
  54. package/design-system/rhc/config/text-input.config.d.ts +5 -0
  55. package/design-system/rhc/config/textarea.config.d.ts +4 -0
  56. package/design-system/rhc/index.d.ts +1 -0
  57. package/design-system/rhc/utils/create-config.d.ts +76 -0
  58. package/design-system/rhc/utils/generate-schema.d.ts +20 -0
  59. package/design-system/types.d.ts +22 -0
  60. package/error-boundaries/BaseErrorBoundary/BaseErrorBoundary.d.ts +31 -0
  61. package/error-boundaries/ComponentErrorBoundary/ComponentErrorBoundary.d.ts +9 -0
  62. package/error-boundaries/ErrorBoundaryTest/ErrorBoundaryTest.d.ts +2 -0
  63. package/error-boundaries/FlowBuilderErrorBoundary/FlowBuilderErrorBoundary.d.ts +7 -0
  64. package/error-boundaries/index.d.ts +1 -0
  65. package/features/condition-editor/components/ConditionEditor/ConditionEditor.d.ts +17 -0
  66. package/features/condition-editor/components/ConditionItem/ConditionItem.d.ts +17 -0
  67. package/features/condition-editor/components/ConditionOperatorSelect/ConditionOperatorSelect.d.ts +8 -0
  68. package/features/condition-editor/components/ConditionRow/ConditionRow.d.ts +14 -0
  69. package/features/condition-editor/components/ConditionSummary/ConditionSummary.d.ts +7 -0
  70. package/features/condition-editor/components/ConditionTargetSelect/ConditionTargetSelect.d.ts +14 -0
  71. package/features/condition-editor/components/ConditionValueInput/ConditionValueInput.d.ts +10 -0
  72. package/features/condition-editor/components/EditConditionForm/EditConditionForm.d.ts +13 -0
  73. package/features/condition-editor/components/ExistingCondition/ExistingCondition.d.ts +13 -0
  74. package/features/condition-editor/components/LogicalConnector/LogicalConnector.d.ts +8 -0
  75. package/features/condition-editor/components/LogicalOperatorToggle/LogicalOperatorToggle.d.ts +13 -0
  76. package/features/condition-editor/components/NewConditionBuilder/NewConditionBuilder.d.ts +10 -0
  77. package/features/condition-editor/components/NewConditionRow/NewConditionRow.d.ts +15 -0
  78. package/features/condition-editor/components/VisibilityConditionBuilder/VisibilityConditionBuilder.d.ts +17 -0
  79. package/features/condition-editor/components/hooks/useTargetComponents.d.ts +6 -0
  80. package/features/condition-editor/components/utils/conditionUtils.d.ts +7 -0
  81. package/features/condition-editor/components/visibilityHelpers.d.ts +21 -0
  82. package/features/condition-editor/index.d.ts +17 -0
  83. package/features/dialog-system/components/ConfirmDialog.d.ts +12 -0
  84. package/features/dialog-system/components/DialogEditor/DialogEditor.d.ts +12 -0
  85. package/features/dialog-system/components/ModalDialog/ModalDialog.d.ts +12 -0
  86. package/features/dialog-system/components/VerifyEmailDialog/VerifyEmailDialog.d.ts +10 -0
  87. package/features/dialog-system/index.d.ts +4 -0
  88. package/features/form-builder/components/actions/ActionsPanel/ActionsPanel.d.ts +3 -0
  89. package/features/form-builder/components/actions/SortableActionItem/SortableActionItem.d.ts +9 -0
  90. package/features/form-builder/components/actions/index.d.ts +4 -0
  91. package/features/form-builder/components/actions-menu/FormBuilderActionsMenu/FormBuilderActionsMenu.d.ts +1 -0
  92. package/features/form-builder/components/actions-menu/index.d.ts +3 -0
  93. package/features/form-builder/components/actions-menu/items/CreateTemplateMenuItem/CreateTemplateMenuItem.d.ts +2 -0
  94. package/features/form-builder/components/actions-menu/items/ExampleMenuItem/ExampleMenuItem.d.ts +2 -0
  95. package/features/form-builder/components/actions-menu/items/index.d.ts +2 -0
  96. package/features/form-builder/components/actions-menu/registry.d.ts +9 -0
  97. package/features/form-builder/components/actions-menu/types.d.ts +44 -0
  98. package/features/form-builder/components/buttons/PreviewButton/PreviewButton.d.ts +74 -0
  99. package/features/form-builder/components/buttons/SaveDropdownButton/SaveDropdownButton.d.ts +8 -0
  100. package/features/form-builder/components/buttons/index.d.ts +6 -0
  101. package/features/form-builder/components/canvas/AdminRenderCanvasItems/AdminRenderCanvasItems.d.ts +15 -0
  102. package/features/form-builder/components/canvas/Canvas/Canvas.d.ts +3 -0
  103. package/features/form-builder/components/canvas/CanvasComponent/CanvasComponent.d.ts +16 -0
  104. package/features/form-builder/components/canvas/SortableComponent/SortableComponent.d.ts +13 -0
  105. package/features/form-builder/components/canvas/index.d.ts +8 -0
  106. package/features/form-builder/components/components-panel/FormWizardComponentItem/FormWizardComponentItem.d.ts +7 -0
  107. package/features/form-builder/components/components-panel/FormWizardComponentsPanel/FormWizardComponentsPanel.d.ts +6 -0
  108. package/features/form-builder/components/components-panel/SortableComponentItem/SortableComponentItem.d.ts +20 -0
  109. package/features/form-builder/components/components-panel/index.d.ts +6 -0
  110. package/features/form-builder/components/core/AdminFormContent/AdminFormContent.d.ts +5 -0
  111. package/features/form-builder/components/core/FormBuilder/FormBuilder.d.ts +23 -0
  112. package/features/form-builder/components/core/index.d.ts +4 -0
  113. package/features/form-builder/components/editors/AdminPropertiesPanel/AdminPropertiesPanel.d.ts +3 -0
  114. package/features/form-builder/components/editors/ConditionsTab/ConditionsTab.d.ts +10 -0
  115. package/features/form-builder/components/editors/NavigationEditor/NavigationEditor.d.ts +13 -0
  116. package/features/form-builder/components/editors/NavigationSettings/NavigationSettings.d.ts +2 -0
  117. package/features/form-builder/components/editors/SectionConfigEditor/SectionConfigEditor.d.ts +8 -0
  118. package/features/form-builder/components/editors/index.d.ts +10 -0
  119. package/features/form-builder/components/fields/FieldValueButton/FieldValueButton.d.ts +7 -0
  120. package/features/form-builder/components/fields/FormFieldSelector/FormFieldSelector.d.ts +19 -0
  121. package/features/form-builder/components/fields/index.d.ts +4 -0
  122. package/features/form-builder/components/index.d.ts +13 -0
  123. package/features/form-builder/components/layout/FormFooter.d.ts +11 -0
  124. package/features/form-builder/components/layout/FormFooterBase.d.ts +15 -0
  125. package/features/form-builder/components/layout/FormHeader/FormHeader.d.ts +35 -0
  126. package/features/form-builder/components/layout/index.d.ts +6 -0
  127. package/features/form-builder/components/panels/RightPanel/RightPanel.d.ts +1 -0
  128. package/features/form-builder/components/panels/index.d.ts +1 -0
  129. package/features/form-builder/components/sections/AdminFormSection/AdminFormSection.d.ts +14 -0
  130. package/features/form-builder/components/sections/SectionContainer/SectionContainer.d.ts +13 -0
  131. package/features/form-builder/components/sections/index.d.ts +4 -0
  132. package/features/form-builder/components/steps/AdminStepSettings/AdminStepSettings.d.ts +7 -0
  133. package/features/form-builder/components/steps/SortableStepItem/SortableStepItem.d.ts +18 -0
  134. package/features/form-builder/components/steps/StepLockIndicator/StepLockIndicator.d.ts +18 -0
  135. package/features/form-builder/components/steps/StepsList/StepsList.d.ts +3 -0
  136. package/features/form-builder/components/steps/index.d.ts +8 -0
  137. package/features/form-builder/context/FormBuilderContext.d.ts +30 -0
  138. package/features/form-builder/context/ResolvedStepContext.d.ts +9 -0
  139. package/features/form-builder/hooks/useCurrentStep.d.ts +18 -0
  140. package/features/form-builder/hooks/useDragAndDrop.d.ts +16 -0
  141. package/features/form-builder/hooks/useDragFeedback.d.ts +32 -0
  142. package/features/form-builder/hooks/useHoldToDrag.d.ts +18 -0
  143. package/features/form-builder/hooks/usePreviewConfig.d.ts +23 -0
  144. package/features/form-builder/hooks/useSectionOperations.d.ts +7 -0
  145. package/features/form-builder/index.d.ts +10 -0
  146. package/features/form-builder/providers/DragAndDropProvider/DragAndDropProvider.d.ts +8 -0
  147. package/features/form-builder/utils/PropertyLockIndicator/PropertyLockIndicator.d.ts +30 -0
  148. package/features/form-builder/utils/bodyConversionUtils.d.ts +35 -0
  149. package/features/form-builder/utils/collisionDetection.d.ts +6 -0
  150. package/features/form-management/components/FormBuilderView/FormBuilderView.d.ts +17 -0
  151. package/features/form-management/components/FormExplorer/FormExplorer.d.ts +38 -0
  152. package/features/form-management/components/FormExplorerCore/FormExplorerCore.d.ts +67 -0
  153. package/features/form-management/components/FormManager/FormManager.d.ts +43 -0
  154. package/features/form-management/components/FormSectionList/FormSectionList.d.ts +1 -0
  155. package/features/form-management/components/FormsView/FormsView.d.ts +40 -0
  156. package/features/form-management/components/NewFormDialog/NewFormDialog.d.ts +25 -0
  157. package/features/form-management/components/NewProjectDialog/NewProjectDialog.d.ts +23 -0
  158. package/features/form-management/components/ProjectCard/ProjectCard.d.ts +9 -0
  159. package/features/form-management/components/ProjectsView/ProjectsView.d.ts +20 -0
  160. package/features/form-management/components/SearchInput/SearchInput.d.ts +9 -0
  161. package/features/form-management/components/ViewCard/ViewCard.d.ts +40 -0
  162. package/features/form-management/components/pages/FormBuilderPage.d.ts +3 -0
  163. package/features/form-management/components/pages/FormsPage.d.ts +3 -0
  164. package/features/form-management/components/pages/ProjectsPage.d.ts +16 -0
  165. package/features/form-management/components/pages/index.d.ts +13 -0
  166. package/features/form-management/hooks/index.d.ts +9 -0
  167. package/features/form-management/hooks/useFormActions.d.ts +20 -0
  168. package/features/form-management/hooks/useFormData.d.ts +13 -0
  169. package/features/form-management/hooks/useFormExplorerState.d.ts +26 -0
  170. package/features/form-management/hooks/useFormOperations.d.ts +17 -0
  171. package/features/form-management/hooks/useFormsQuery.d.ts +50 -0
  172. package/features/form-management/hooks/useProjectActions.d.ts +25 -0
  173. package/features/form-management/hooks/useProjectOperations.d.ts +10 -0
  174. package/features/form-management/hooks/useProjectsData.d.ts +13 -0
  175. package/features/form-management/index.d.ts +29 -0
  176. package/features/form-management/layout/BaseHeader/BaseHeader.d.ts +1 -0
  177. package/features/form-management/layout/BaseLayout/BaseLayout.d.ts +25 -0
  178. package/features/form-management/providers/QueryProvider.d.ts +8 -0
  179. package/features/form-management/types/viewTypes.d.ts +53 -0
  180. package/features/form-management/utils/configInitializer.d.ts +4 -0
  181. package/features/index.d.ts +9 -0
  182. package/features/property-editors/components/ComponentValidationEditor/ComponentValidationEditor.d.ts +12 -0
  183. package/features/property-editors/components/GenericPropertyEditor/GenericPropertyEditor.d.ts +13 -0
  184. package/features/property-editors/components/ProgressLoaderEditor/ProgressLoaderEditor.d.ts +12 -0
  185. package/features/property-editors/components/RadioGroupEditor/RadioGroupEditor.d.ts +3 -0
  186. package/features/property-editors/components/SelectEditor/SelectEditor.d.ts +3 -0
  187. package/features/property-editors/components/ValidationRuleEditor/ValidationRuleEditor.d.ts +23 -0
  188. package/features/property-editors/components/ValidationRuleListItem/ValidationRuleListItem.d.ts +9 -0
  189. package/features/property-editors/components/ValidationRuleSheet/ValidationRuleSheet.d.ts +14 -0
  190. package/features/property-editors/index.d.ts +5 -0
  191. package/features/property-editors/types/schema.d.ts +66 -0
  192. package/features/property-editors/types/types.d.ts +23 -0
  193. package/features/template-system/components/CreateTemplateDialog/CreateTemplateDialog.d.ts +17 -0
  194. package/features/template-system/components/DeleteTemplateDialog/DeleteTemplateDialog.d.ts +11 -0
  195. package/features/template-system/components/DuplicateTemplateDialog/DuplicateTemplateDialog.d.ts +11 -0
  196. package/features/template-system/components/EditTemplateDialog/EditTemplateDialog.d.ts +10 -0
  197. package/features/template-system/components/EnhancedTemplateBrowser/EnhancedTemplateBrowser.d.ts +11 -0
  198. package/features/template-system/components/TemplateContextMenu/TemplateContextMenu.d.ts +12 -0
  199. package/features/template-system/hooks/useTemplateGovernance.d.ts +46 -0
  200. package/features/template-system/hooks/useTemplatePermissions.d.ts +104 -0
  201. package/features/template-system/hooks/useTemplateStepTitle.d.ts +5 -0
  202. package/features/template-system/index.d.ts +17 -0
  203. package/features/template-system/services/TemplateStorageService.d.ts +52 -0
  204. package/features/template-system/utils/templateApplication.d.ts +75 -0
  205. package/features/template-system/utils/templateCategories.d.ts +105 -0
  206. package/features/template-system/utils/templateConfig.d.ts +148 -0
  207. package/features/template-system/utils/templateDeletion.d.ts +44 -0
  208. package/features/template-system/utils/templateDuplication.d.ts +65 -0
  209. package/features/template-system/utils/templateGovernance.d.ts +54 -0
  210. package/features/template-system/utils/templateLoader.d.ts +25 -0
  211. package/features/template-system/utils/templateMetadataOperations.d.ts +40 -0
  212. package/features/template-system/utils/templateUtils.d.ts +12 -0
  213. package/features/trigger-action-system/components/ActionConfigurationSheet/ActionConfigurationSheet.d.ts +9 -0
  214. package/features/trigger-action-system/components/ActionEditor/ActionEditor.d.ts +15 -0
  215. package/features/trigger-action-system/components/ActionsList/ActionsList.d.ts +8 -0
  216. package/features/trigger-action-system/components/ComponentTriggerActionEditor/ComponentTriggerActionEditor.d.ts +8 -0
  217. package/features/trigger-action-system/components/TriggerContextSelector/TriggerContextSelector.d.ts +9 -0
  218. package/features/trigger-action-system/index.d.ts +5 -0
  219. package/features/visual-mapping/components/ApiCallEditor/ApiCallEditor.d.ts +15 -0
  220. package/features/visual-mapping/components/ApiResponsePreview/ApiResponsePreview.d.ts +8 -0
  221. package/features/visual-mapping/components/ApiStructureTree/ApiStructureTree.d.ts +10 -0
  222. package/features/visual-mapping/components/CompactApiTestButton/CompactApiTestButton.d.ts +11 -0
  223. package/features/visual-mapping/components/ConnectionCircle/ConnectionCircle.d.ts +8 -0
  224. package/features/visual-mapping/components/ConnectionLines/ConnectionLines.d.ts +8 -0
  225. package/features/visual-mapping/components/CurrentMappingsDisplay/CurrentMappingsDisplay.d.ts +5 -0
  226. package/features/visual-mapping/components/EmptyFormFieldsMessage/EmptyFormFieldsMessage.d.ts +1 -0
  227. package/features/visual-mapping/components/FormFieldItem/FormFieldItem.d.ts +9 -0
  228. package/features/visual-mapping/components/FormFieldsList/FormFieldsList.d.ts +9 -0
  229. package/features/visual-mapping/components/KeyValueEditor/KeyValueEditor.d.ts +39 -0
  230. package/features/visual-mapping/components/MappingActionsDropdownMenu/MappingActionsDropdownMenu.d.ts +9 -0
  231. package/features/visual-mapping/components/MappingConnections/MappingConnections.d.ts +10 -0
  232. package/features/visual-mapping/components/RequestBodyEditor/RequestBodyEditor.d.ts +10 -0
  233. package/features/visual-mapping/components/SearchBar/SearchBar.d.ts +25 -0
  234. package/features/visual-mapping/components/VisualApiMappingInterface/VisualApiMappingInterface.d.ts +9 -0
  235. package/features/visual-mapping/components/index.d.ts +2 -0
  236. package/features/visual-mapping/components/typeCompatibility.d.ts +4 -0
  237. package/features/visual-mapping/components/utils/getFormFieldDataType.d.ts +2 -0
  238. package/features/visual-mapping/index.d.ts +18 -0
  239. package/features/visual-mapping/utils/apiBodyUtils.d.ts +1 -0
  240. package/index.cjs +1 -1
  241. package/index.cjs.map +1 -1
  242. package/index.d.ts +35 -0
  243. package/index.js +3 -3
  244. package/index.js.map +1 -1
  245. package/integrations/NextJSIntegration.d.ts +23 -0
  246. package/integrations/ReactRouterIntegration.d.ts +16 -0
  247. package/integrations/index.d.ts +12 -0
  248. package/integrations/react-router/FormBuilderPage/FormBuilderPage.d.ts +23 -0
  249. package/integrations/react-router/FormsPage.d.ts +18 -0
  250. package/integrations/react-router/index.d.ts +11 -0
  251. package/package.json +1 -1
  252. package/providers/FormSaveContext.d.ts +20 -0
  253. package/providers/FormSaveProvider.d.ts +93 -0
  254. package/providers/ThemeProvider.d.ts +2 -0
  255. package/providers/index.d.ts +9 -0
  256. package/server.d.ts +8 -0
  257. package/storage/FilesystemStorageProvider.d.ts +19 -0
  258. package/storage/NullStorageProvider.d.ts +15 -0
  259. package/storage/PgLiteSyncProvider.d.ts +41 -0
  260. package/storage/StorageProviderFactory.d.ts +77 -0
  261. package/storage/ZeroConfigFilesystemStorageProvider.d.ts +157 -0
  262. package/storage/database-schemas.d.ts +17901 -0
  263. package/storage/database-types.d.ts +194 -0
  264. package/storage/index.d.ts +17 -0
  265. package/storage/types.d.ts +195 -0
  266. package/store/formBuilderStore.d.ts +287 -0
  267. package/store/index.d.ts +7 -0
  268. package/store/initialState/templates.d.ts +22 -0
  269. package/styles/index.d.ts +0 -0
  270. package/utils/configInitializer.d.ts +11 -0
  271. package/utils/configReader.d.ts +13 -0
  272. package/utils/fieldChangeValidation.d.ts +127 -0
  273. package/utils/fileStorage.d.ts +253 -0
  274. package/utils/formSaver.d.ts +22 -0
  275. package/utils/formsExplorer.d.ts +128 -0
  276. package/utils/index.d.ts +2 -0
  277. package/utils/routeUtils.d.ts +85 -0
  278. package/configReader-BkMPr3Ju.js.map +0 -1
  279. package/configReader-CbGTKRUP.cjs.map +0 -1
package/index.d.ts ADDED
@@ -0,0 +1,35 @@
1
+ export { isFormFieldComponent } from './component-registry/components';
2
+ export type { ComponentValue } from '../../ui/src/index.ts';
3
+ export { renderComponent } from '../../ui/src/index.ts';
4
+ export { DEFAULT_FORM_CONFIG, type FormConfig, type FormStorageConfig, useFormConfiguration, } from './config';
5
+ export { FlowBuilderErrorBoundary } from './error-boundaries';
6
+ export * from './features/condition-editor';
7
+ export * from './features/dialog-system';
8
+ export * from './features/form-builder';
9
+ export * from './features/form-management';
10
+ /** @deprecated Use ProjectsView, FormsView, FormBuilderView with NavigationProvider instead */
11
+ export type { FormExplorerProps } from './features/form-management/components/FormExplorer/FormExplorer';
12
+ /** @deprecated Use ProjectsView, FormsView, FormBuilderView with NavigationProvider instead */
13
+ export { FormExplorer } from './features/form-management/components/FormExplorer/FormExplorer';
14
+ export type {
15
+ /** @deprecated Use FormBuilderView directly - FormBuilderPage requires react-router-dom */
16
+ FormBuilderPageProps,
17
+ /** @deprecated Use FormsView directly - FormsPage requires react-router-dom */
18
+ FormsPageProps, ProjectsPageProps, } from './features/form-management/components/pages';
19
+ export {
20
+ /** @deprecated Use FormBuilderView directly - FormBuilderPage requires react-router-dom */
21
+ FormBuilderPage,
22
+ /** @deprecated Use FormsView directly - FormsPage requires react-router-dom */
23
+ FormsPage, ProjectsPage, } from './features/form-management/components/pages';
24
+ export * from './features/property-editors';
25
+ export * from './features/template-system';
26
+ export { TemplateStorageService } from './features/template-system/services/TemplateStorageService';
27
+ export * from './features/trigger-action-system';
28
+ export * from './features/visual-mapping';
29
+ export * from './providers';
30
+ export type { CreateFormRequest, CreateProjectRequest, FileStorageError, FormBuilderSettings, FormFile, FormMetadata, FormStorageProvider, GenericTemplate, PersonalTemplate, SharedTemplate, StorageResult, TeamTemplate, TemplateCategory, TemplateCategoryInfo, TemplateDirectory, TemplateFile, TemplateStorageConfig, } from './storage/types';
31
+ export type { ComponentConfig, FormSectionConfig, FormStepConfig, FormWizardConfig, StepNavigation, StepNavigationItem, StepTemplate, TemplateHistoryEntry, } from './store';
32
+ export { useCanUndo, useCurrentSection, useFormBuilderActions, useFormBuilderStore, useFormConfig, useFormSteps, useHasUnsavedChanges, useIsSaving, useLastSavedAt, useSaveError, useSelectedSectionId, useSelectedStepId, } from './store';
33
+ export * from './utils';
34
+ export { getDatabaseConfig, resolveConfigVariables, } from './utils/configReader';
35
+ export { type FormOperationsConfig, formatProjectName, getStorageProvider, loadFormConfigFromExplorer, registerStorageStrategy, type StorageStrategy, } from './utils/formsExplorer';
package/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { c6 as we, G as xe, c9 as Fe, ch as Te, cg as ke, cm as Pe, cn as de, co as Ct, cp as Re, cq as Ie, cr as Oe, cs as Ve, ct as Me, cu as ue, cv as _e, cw as Ae, cx as Ge, cy as M, cz as ze, cA as We, cB as He, cC as qe, cD as Ue, cE as ye, cF as Ce, cG as Qe, cf as $e, cH as vt, cI as St, C as Nt, cJ as wt, cK as Ft, c8 as De, c1 as Tt, u as Pt, cd as _t, ce as $t, bV as Et, bX as Lt, o as je, r as Dt } from "./configReader-BkMPr3Ju.js";
2
- import { bp as ni, bq as ai, br as ii, J as si, Q as ci, a0 as li, H as di, K as ui, a2 as mi, bt as fi, bu as pi, bv as gi, L as hi, E as bi, bw as yi, bo as Ci, R as vi, bx as Si, bz as Ni, ap as wi, bA as Fi, D as Ti, bd as Pi, aq as _i, B as $i, ab as Ei, ar as Li, as as Di, bB as ji, at as Bi, Y as xi, F as ki, c0 as Ri, bC as Ii, Z as Oi, bD as Vi, _ as Mi, $ as Ai, I as Gi, bY as zi, N as Wi, O as Hi, al as qi, b$ as Ui, bE as Qi, bF as Ji, U as Ki, W as Zi, am as Xi, aj as Yi, ak as es, an as ts, bI as os, bH as rs, bG as ns, X as as, a1 as is, ao as ss, S as cs, M as ls, P as ds, a3 as us, a4 as ms, a5 as fs, bc as ps, au as gs, T as hs, bs, V as ys, bO as Cs, ag as vs, aF as Ss, aH as Ns, aG as ws, w as Fs, ah as Ts, ac as Ps, b1 as _s, bJ as $s, bh as Es, bP as Ls, v as Ds, c2 as js, A as Bs, b7 as xs, bk as ks, ai as Rs, b3 as Is, b2 as Os, b9 as Vs, b5 as Ms, ad as As, by as Gs, cc as zs, b8 as Ws, bl as Hs, aR as qs, aJ as Us, y as Qs, bU as Js, aK as Ks, aN as Zs, aL as Xs, aP as Ys, bM as ec, bK as tc, bL as oc, ck as rc, n as nc, ci as ac, bN as ic, c5 as sc, c7 as cc, aX as lc, t as dc, cl as uc, aS as mc, aU as fc, bf as pc, b0 as gc, aT as hc, aI as bc, aZ as yc, aO as Cc, aQ as vc, bQ as Sc, bn as Nc, bS as wc, bR as Fc, aV as Tc, s as Pc, x as _c, i as $c, a_ as Ec, aW as Lc, a$ as Dc, be as jc, bm as Bc, ae as xc, ca as kc, q as Rc, bg as Ic, cj as Oc, ba as Vc, c3 as Mc, af as Ac, cb as Gc, c4 as zc, bT as Wc, aE as Hc, bi as qc, a as Uc, ay as Qc, b as Jc, a6 as Kc, aA as Zc, a7 as Xc, a8 as Yc, c as el, d as tl, e as ol, bZ as rl, f as nl, b_ as al, g as il, a9 as sl, aB as cl, h as ll, j as dl, ax as ul, k as ml, aa as fl, l as pl, m as gl, p as hl, av as bl, aw as yl, az as Cl, aD as vl, bW as Sl, aC as Nl, aM as wl, bb as Fl, b6 as Tl, aY as Pl, b4 as _l, bj as $l, z as El } from "./configReader-BkMPr3Ju.js";
3
- import { toast as B } from "sonner";
1
+ import { c6 as we, G as xe, c9 as Fe, ch as Te, cg as ke, cm as Pe, cn as de, co as Ct, cp as Re, cq as Ie, cr as Oe, cs as Ve, ct as Me, cu as ue, cv as _e, cw as Ae, cx as Ge, cy as M, cz as ze, cA as We, cB as He, cC as qe, cD as Ue, cE as ye, cF as Ce, cG as Qe, cf as $e, cH as vt, cI as St, C as Nt, cJ as wt, cK as Ft, c8 as De, c1 as Tt, u as Pt, cd as _t, ce as $t, bV as Et, bX as Lt, o as je, r as Dt } from "./configReader-C49NagAF.js";
2
+ import { bp as ni, bq as ai, br as ii, J as si, Q as ci, a0 as li, H as di, K as ui, a2 as mi, bt as fi, bu as pi, bv as gi, L as hi, E as bi, bw as yi, bo as Ci, R as vi, bx as Si, bz as Ni, ap as wi, bA as Fi, D as Ti, bd as Pi, aq as _i, B as $i, ab as Ei, ar as Li, as as Di, bB as ji, at as Bi, Y as xi, F as ki, c0 as Ri, bC as Ii, Z as Oi, bD as Vi, _ as Mi, $ as Ai, I as Gi, bY as zi, N as Wi, O as Hi, al as qi, b$ as Ui, bE as Qi, bF as Ji, U as Ki, W as Zi, am as Xi, aj as Yi, ak as es, an as ts, bI as os, bH as rs, bG as ns, X as as, a1 as is, ao as ss, S as cs, M as ls, P as ds, a3 as us, a4 as ms, a5 as fs, bc as ps, au as gs, T as hs, bs, V as ys, bO as Cs, ag as vs, aF as Ss, aH as Ns, aG as ws, w as Fs, ah as Ts, ac as Ps, b1 as _s, bJ as $s, bh as Es, bP as Ls, v as Ds, c2 as js, A as Bs, b7 as xs, bk as ks, ai as Rs, b3 as Is, b2 as Os, b9 as Vs, b5 as Ms, ad as As, by as Gs, cc as zs, b8 as Ws, bl as Hs, aR as qs, aJ as Us, y as Qs, bU as Js, aK as Ks, aN as Zs, aL as Xs, aP as Ys, bM as ec, bK as tc, bL as oc, ck as rc, n as nc, ci as ac, bN as ic, c5 as sc, c7 as cc, aX as lc, t as dc, cl as uc, aS as mc, aU as fc, bf as pc, b0 as gc, aT as hc, aI as bc, aZ as yc, aO as Cc, aQ as vc, bQ as Sc, bn as Nc, bS as wc, bR as Fc, aV as Tc, s as Pc, x as _c, i as $c, a_ as Ec, aW as Lc, a$ as Dc, be as jc, bm as Bc, ae as xc, ca as kc, q as Rc, bg as Ic, cj as Oc, ba as Vc, c3 as Mc, af as Ac, cb as Gc, c4 as zc, bT as Wc, aE as Hc, bi as qc, a as Uc, ay as Qc, b as Jc, a6 as Kc, aA as Zc, a7 as Xc, a8 as Yc, c as el, d as tl, e as ol, bZ as rl, f as nl, b_ as al, g as il, a9 as sl, aB as cl, h as ll, j as dl, ax as ul, k as ml, aa as fl, l as pl, m as gl, p as hl, av as bl, aw as yl, az as Cl, aD as vl, bW as Sl, aC as Nl, aM as wl, bb as Fl, b6 as Tl, aY as Pl, b4 as _l, bj as $l, z as El } from "./configReader-C49NagAF.js";
4
3
  import { jsx as e, jsxs as r, Fragment as ae } from "react/jsx-runtime";
5
4
  import * as X from "react";
6
5
  import { createContext as jt, useContext as Bt, useEffect as q, useCallback as T, useState as k, useReducer as xt, useMemo as kt, useRef as Rt } from "react";
7
6
  import { ChevronLeft as It, Plus as oe, Search as Ot, MoreVertical as Vt, ChevronRight as Je, Settings as Ke, Trash2 as Ze, FileText as ve, Folder as Se, FolderOpen as Mt, MoreHorizontal as At, RefreshCw as ee, AlertTriangle as Gt, WifiOff as zt, Wifi as Wt } from "lucide-react";
8
7
  import { S as te } from "./__vite-browser-external-YTbaS5X3.js";
9
8
  import { useQuery as Ee, useQueryClient as Xe, useMutation as Ye } from "@tanstack/react-query";
9
+ import { toast as B } from "sonner";
10
10
  import { useForm as et } from "@tanstack/react-form";
11
11
  let Ne = null;
12
12
  const Ht = (t) => {