@famalabs/web-form 1.0.0-beta.1
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/README.md +7 -0
- package/dist/core/Form.d.ts +25 -0
- package/dist/core/Form.js +1 -0
- package/dist/core/compiler/FormCompiler.js +1 -0
- package/dist/core/compiler/common/CompilerProgress.js +1 -0
- package/dist/core/compiler/common/NavigationButtonsCompiler.js +1 -0
- package/dist/core/compiler/common/QuestionCompiler.js +1 -0
- package/dist/core/compiler/common/SidebarCompiler.js +1 -0
- package/dist/core/compiler/containers/PageCompiler.js +1 -0
- package/dist/core/compiler/containers/SectionCompiler.js +1 -0
- package/dist/core/compiler/question_forms/ItemConditionalCompiler.js +1 -0
- package/dist/core/compiler/question_forms/ItemFunctionCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionCheckCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionDateCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionListCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionMultipleSelectCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionNumberCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionSelectCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionTableCompiler.js +1 -0
- package/dist/core/compiler/question_forms/QuestionTextCompiler.js +1 -0
- package/dist/core/compiler/question_forms/UploadFormCompiler.js +1 -0
- package/dist/core/components/common/DrawerCommon.js +1 -0
- package/dist/core/components/common/ImageInput.js +1 -0
- package/dist/core/components/common/ModalCommon.js +1 -0
- package/dist/core/components/common/PurifiedSpan.js +1 -0
- package/dist/core/components/common/QuestionIcons.js +1 -0
- package/dist/core/components/common/ResponsiveDrawer.js +1 -0
- package/dist/core/components/common/SectionCommon.js +1 -0
- package/dist/core/components/common/Skeletons.js +1 -0
- package/dist/core/components/forms/QuestionAlertCommon.js +1 -0
- package/dist/core/components/forms/QuestionCheckCommon.js +1 -0
- package/dist/core/components/forms/QuestionCommon.js +1 -0
- package/dist/core/components/forms/QuestionDateCommon.js +1 -0
- package/dist/core/components/forms/QuestionListCommon.js +1 -0
- package/dist/core/components/forms/QuestionMultipleSelectCommon.js +1 -0
- package/dist/core/components/forms/QuestionNumberCommon.js +1 -0
- package/dist/core/components/forms/QuestionSelectCommon.js +1 -0
- package/dist/core/components/forms/QuestionTableCommon.js +1 -0
- package/dist/core/components/forms/QuestionTextCommon.js +1 -0
- package/dist/core/components/forms/QuestionUploadCommon.js +1 -0
- package/dist/core/components/parsers/MathParserRenderer.js +1 -0
- package/dist/core/editor/FormEditor.js +1 -0
- package/dist/core/editor/common/CommonEditor.js +1 -0
- package/dist/core/editor/common/EditorHistoryDrawer.js +1 -0
- package/dist/core/editor/common/HierarchyEditor.js +1 -0
- package/dist/core/editor/common/OptionsEditor.js +1 -0
- package/dist/core/editor/common/ScoreSelectModal.js +1 -0
- package/dist/core/editor/common/SnapshotDrawer.js +1 -0
- package/dist/core/editor/common/SurveyCreateNew.js +1 -0
- package/dist/core/editor/common/sidebar/SidebarEditor.js +1 -0
- package/dist/core/editor/common/sidebar/SidebarPageStructure.js +1 -0
- package/dist/core/editor/common/sidebar/SidebarQuestionStructure.js +1 -0
- package/dist/core/editor/common/sidebar/SidebarSettingsView.js +1 -0
- package/dist/core/editor/containers/FolderEditor.js +1 -0
- package/dist/core/editor/containers/LandingPageEditor.js +1 -0
- package/dist/core/editor/containers/PageEditor.js +1 -0
- package/dist/core/editor/containers/RenderPageEditModal.js +1 -0
- package/dist/core/editor/containers/RenderPageHeader.js +1 -0
- package/dist/core/editor/containers/RenderSectionEditModal.js +1 -0
- package/dist/core/editor/containers/SectionEditor.js +1 -0
- package/dist/core/editor/containers/SectionPreview.js +1 -0
- package/dist/core/editor/question_editor/QuestionCommonEditor.js +1 -0
- package/dist/core/editor/question_editor/QuestionMainComponent.js +1 -0
- package/dist/core/editor/question_editor/QuestionPreviewRender.js +1 -0
- package/dist/core/editor/question_editor/QuestionTypeEdit.js +1 -0
- package/dist/core/editor/question_editor/QuestionTypePreview.js +1 -0
- package/dist/core/editor/question_forms/ItemConditionalEditor.js +1 -0
- package/dist/core/editor/question_forms/ItemFunctionEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionCheckEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionDateEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionListEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionMultipleSelectEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionNumberEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionSelectEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionTableEditor.js +1 -0
- package/dist/core/editor/question_forms/QuestionTextEditor.js +1 -0
- package/dist/core/editor/question_forms/UploadFormEditor.js +1 -0
- package/dist/core/hooks/common/FormLoaderHookV2.d.ts +6 -0
- package/dist/core/hooks/common/FormLoaderHookV2.js +1 -0
- package/dist/core/hooks/common/NavigationHook.d.ts +5 -0
- package/dist/core/hooks/common/NavigationHook.js +1 -0
- package/dist/core/hooks/compiler/InitCompiler.js +1 -0
- package/dist/core/hooks/editor/EditorHistory.js +1 -0
- package/dist/core/hooks/editor/EditorLocalMutations.js +1 -0
- package/dist/core/hooks/editor/EditorOperations.d.ts +3 -0
- package/dist/core/hooks/editor/EditorOperations.js +1 -0
- package/dist/core/hooks/editor/QuestionOperations.js +1 -0
- package/dist/core/presenter/FormPresenter.js +1 -0
- package/dist/core/presenter/common/QuestionPresenter.js +1 -0
- package/dist/core/presenter/containers/FolderPresenter.js +1 -0
- package/dist/core/presenter/containers/PagePresenter.js +1 -0
- package/dist/core/presenter/containers/SectionPresenter.js +1 -0
- package/dist/core/providers/common/FormStateProvider.js +1 -0
- package/dist/core/providers/compiler/CompilerStateProvider.js +1 -0
- package/dist/core/providers/editor/EditorStateProvider.js +1 -0
- package/dist/core/providers/editor/QuestionEditProvider.js +1 -0
- package/dist/core/providers/editor/QuestionStateProvider.js +1 -0
- package/dist/core/providers/editor/TabStateProvider.js +1 -0
- package/dist/core/providers/presenter/PresenterStateProvider.js +1 -0
- package/dist/core/types/FormCompilerTypes.d.ts +10 -0
- package/dist/core/types/FormCompilerTypes.js +1 -0
- package/dist/core/types/FormEditorTypes.d.ts +51 -0
- package/dist/core/types/FormEditorTypes.js +1 -0
- package/dist/core/types/FormGlobalTypes.d.ts +71 -0
- package/dist/core/types/FormGlobalTypes.js +1 -0
- package/dist/core/types/ResultTypes.js +1 -0
- package/dist/core/utils/config-map.d.ts +536 -0
- package/dist/core/utils/config-map.js +1 -0
- package/dist/core/utils/format-utils.d.ts +6 -0
- package/dist/core/utils/format-utils.js +1 -0
- package/dist/core/utils/locale.d.ts +10 -0
- package/dist/core/utils/locale.js +1 -0
- package/dist/core/utils/parsers/ConditionParser.js +1 -0
- package/dist/core/utils/parsers/LegacyConditionParser.js +1 -0
- package/dist/core/utils/truncate-string.js +1 -0
- package/dist/core/validators/compiler/CompilerValidators.js +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/package.json +63 -0
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@famalabs/web-form",
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
|
+
"author": " Fama Labs <info@famalabs.com>",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@blocknote/core": "^0.46.1",
|
|
18
|
+
"@blocknote/mantine": "^0.46.1",
|
|
19
|
+
"@blocknote/react": "^0.46.1",
|
|
20
|
+
"@famalabs/web-ui": "^1.0.0-beta.1",
|
|
21
|
+
"@famalabs/survey": "^1.0.2",
|
|
22
|
+
"@hello-pangea/dnd": "^18.0.1",
|
|
23
|
+
"@mui/lab": "^7.0.1-beta.21",
|
|
24
|
+
"@mui/material": "^7.3.7",
|
|
25
|
+
"@mui/x-date-pickers": ">=8.20.0 <9.0.0",
|
|
26
|
+
"acorn": "^8.15.0",
|
|
27
|
+
"dayjs": "^1.11.19",
|
|
28
|
+
"idb": "^8.0.3",
|
|
29
|
+
"isomorphic-dompurify": "^2.35.0",
|
|
30
|
+
"lodash-es": "^4.17.22",
|
|
31
|
+
"lucide-react": ">=0.542.0 <1.0.0",
|
|
32
|
+
"react": "^19.2.3",
|
|
33
|
+
"react-dom": "^19.2.3",
|
|
34
|
+
"react-dropzone": "^14.3.8",
|
|
35
|
+
"react-hook-form": "^7.71.0",
|
|
36
|
+
"react-viewport-list": "^7.1.2",
|
|
37
|
+
"zod": "^4.3.5"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"tslib": "^2.8.1"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
"nx": {
|
|
46
|
+
"targets": {
|
|
47
|
+
"typecheck": {
|
|
48
|
+
"executor": "nx:run-commands",
|
|
49
|
+
"options": {
|
|
50
|
+
"cwd": "packages/web-form",
|
|
51
|
+
"command": "tsc -p tsconfig.lib.json --noEmit"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"build": {
|
|
55
|
+
"dependsOn": [
|
|
56
|
+
"typecheck",
|
|
57
|
+
"test",
|
|
58
|
+
"^build"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|