@zeng-alt/formkit-form-builder 0.1.4 → 1.0.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/LICENSE +168 -0
- package/README.md +236 -61
- package/dist/builder.css +2 -0
- package/dist/builder.es.js +40347 -0
- package/dist/builder.umd.js +496 -0
- package/dist/index.d.ts +807 -1
- package/package.json +34 -26
- package/dist/index.cjs +0 -422
- package/dist/index.mjs +0 -9403
- package/dist/src/builder/BuilderDropArea.d.ts +0 -4
- package/dist/src/builder/BuilderHeader.d.ts +0 -17
- package/dist/src/builder/BuilderMain.d.ts +0 -68
- package/dist/src/builder/BuilderPreview.d.ts +0 -5
- package/dist/src/builder/BuilderProvider.d.ts +0 -21
- package/dist/src/builder/ImportExportModal.d.ts +0 -9
- package/dist/src/components/ai-prompt/AiPrompt.d.ts +0 -2
- package/dist/src/components/sidebar-left/DraggableList.d.ts +0 -8
- package/dist/src/components/sidebar-left/NavMain.d.ts +0 -2
- package/dist/src/components/sidebar-left/SidebarLeft.d.ts +0 -2
- package/dist/src/components/sidebar-right/FormEditMain.d.ts +0 -2
- package/dist/src/components/sidebar-right/SidebarRight.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/EditsSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/ExpressionEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/common/EditsLayout.d.ts +0 -21
- package/dist/src/components/sidebar-right/edits/common/JsonTextarea.d.ts +0 -14
- package/dist/src/components/sidebar-right/edits/common/LabelHelpSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/common/NaiveBasicSection.d.ts +0 -7
- package/dist/src/components/sidebar-right/edits/common/NameInput.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/common/OptionsTagsSection.d.ts +0 -5
- package/dist/src/components/sidebar-right/edits/common/PlaceholderSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/common/RangeInputs.d.ts +0 -16
- package/dist/src/components/sidebar-right/edits/common/SelectInput.d.ts +0 -15
- package/dist/src/components/sidebar-right/edits/common/SelectSwitchesSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/common/SwitchInput.d.ts +0 -12
- package/dist/src/components/sidebar-right/edits/common/TagsInput.d.ts +0 -11
- package/dist/src/components/sidebar-right/edits/common/TextInput.d.ts +0 -14
- package/dist/src/components/sidebar-right/edits/common/ToggleInput.d.ts +0 -15
- package/dist/src/components/sidebar-right/edits/common/TreeOptionsJsonSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/CheckboxEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/ColorEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/DateLikeEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/DateTimeEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/FileEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/GroupEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveAvatarEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveBlockquoteEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveButtonEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveCascaderEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveCheckboxEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveDividerEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH1Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH2Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH3Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH4Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH5Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveH6Editor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveHeaderEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveLiEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveLinkEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveMentionEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveOlEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveParagraphEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveRateEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveSwitchEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveTextEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveTreeSelectEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NaiveUlEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/NumberEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/RadioEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/RangeEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/SelectEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/SubmitEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/edits/editors/TextLikeEditor.d.ts +0 -2
- package/dist/src/components/sidebar-right/validations/DoubleParamValidation.d.ts +0 -11
- package/dist/src/components/sidebar-right/validations/SingleParamValidation.d.ts +0 -8
- package/dist/src/components/sidebar-right/validations/SingleValueValidation.d.ts +0 -7
- package/dist/src/components/sidebar-right/validations/ValidationSection.d.ts +0 -2
- package/dist/src/components/sidebar-right/validations/index.d.ts +0 -3
- package/dist/src/components/ui/button/CustomButton.d.ts +0 -5
- package/dist/src/components/ui/formkit/NaiveAvatar.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveCascader.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveCheckbox.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveCheckboxGroup.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveColorPicker.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveDatePicker.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveDivider.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveMention.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveNumberInput.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveRadioGroup.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveRate.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveSelect.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveSlider.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveSwitch.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTextInput.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTextarea.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTimePicker.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTreeSelect.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyA.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyBlockquote.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyHeader.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyHr.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyLi.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyOl.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyP.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyText.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveTypographyUl.d.ts +0 -6
- package/dist/src/components/ui/formkit/NaiveUpload.d.ts +0 -6
- package/dist/src/components/ui/sonner/Sonner.d.ts +0 -3
- package/dist/src/components/ui/sonner/index.d.ts +0 -1
- package/dist/src/components/ui/theme-switcher/ThemeSwitcher.d.ts +0 -2
- package/dist/src/components/ui/validation-card/ValidationCard.d.ts +0 -21
- package/dist/src/components/ui/validation-card/ValidationSwitch.d.ts +0 -14
- package/dist/src/components/ui/validation-card/index.d.ts +0 -2
- package/dist/src/composables/form-fields.d.ts +0 -809
- package/dist/src/composables/schema-history.d.ts +0 -12
- package/dist/src/composables/use-config.d.ts +0 -5
- package/dist/src/formkit.config.d.ts +0 -11
- package/dist/src/formkit.theme.d.ts +0 -26
- package/dist/src/i18n/context.d.ts +0 -12
- package/dist/src/i18n/messages.d.ts +0 -332
- package/dist/src/index.d.ts +0 -7
- package/dist/src/style-entry.d.ts +0 -1
- package/dist/src/types/env.d.ts +0 -5
- package/dist/src/utils/custom-insert-plugin.d.ts +0 -17
- package/dist/src/utils/default-form-elements.d.ts +0 -1558
- package/dist/src/utils/expression-eval.d.ts +0 -10
- package/dist/src/utils/field-props.d.ts +0 -8
- package/dist/src/utils/format-schema.d.ts +0 -3
- package/dist/src/utils/utils.d.ts +0 -10
- package/dist/style.cjs +0 -0
- package/dist/style.css +0 -2
- package/dist/style.d.ts +0 -1
- package/dist/style.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeng-alt/formkit-form-builder",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A visual FormKit schema builder for Vue 3",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "LGPL",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/zeng-alt/formkit-form-builder.git"
|
|
@@ -16,16 +16,17 @@
|
|
|
16
16
|
"schema",
|
|
17
17
|
"drag-and-drop"
|
|
18
18
|
],
|
|
19
|
-
"main": "./dist/
|
|
20
|
-
"module": "./dist/
|
|
21
|
-
"types": "./dist/
|
|
19
|
+
"main": "./dist/builder.umd.js",
|
|
20
|
+
"module": "./dist/builder.es.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"style": "./dist/builder.css",
|
|
22
23
|
"exports": {
|
|
23
24
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
25
|
-
"import": "./dist/
|
|
26
|
-
"require": "./dist/
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/builder.es.js",
|
|
27
|
+
"require": "./dist/builder.umd.js"
|
|
27
28
|
},
|
|
28
|
-
"./
|
|
29
|
+
"./builder.css": "./dist/builder.css"
|
|
29
30
|
},
|
|
30
31
|
"publishConfig": {
|
|
31
32
|
"access": "public"
|
|
@@ -37,57 +38,64 @@
|
|
|
37
38
|
"**/*.css"
|
|
38
39
|
],
|
|
39
40
|
"peerDependencies": {
|
|
40
|
-
"vue": "^3.5.0",
|
|
41
41
|
"@vueuse/core": "^14.2.1",
|
|
42
|
-
"naive-ui": "^2.44.0"
|
|
42
|
+
"naive-ui": "^2.44.0",
|
|
43
|
+
"vue": "^3.5.0"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
|
-
"@internationalized/date": "^3.12.0",
|
|
46
46
|
"@codemirror/commands": "^6.8.1",
|
|
47
47
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
48
48
|
"@codemirror/state": "^6.5.2",
|
|
49
49
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
50
50
|
"@codemirror/view": "^6.38.2",
|
|
51
|
-
"class-variance-authority": "^0.7.1",
|
|
52
|
-
"clsx": "^2.1.1",
|
|
53
|
-
"axios": "^1.12.2",
|
|
54
|
-
"openai": "^6.34.0",
|
|
55
|
-
"vue-sonner": "^2.0.9",
|
|
56
51
|
"@formkit/core": "^2.0.0",
|
|
52
|
+
"@formkit/drag-and-drop": "^0.5.0",
|
|
57
53
|
"@formkit/i18n": "^2.0.0",
|
|
58
54
|
"@formkit/vue": "^2.0.0",
|
|
59
|
-
"@
|
|
55
|
+
"@internationalized/date": "^3.12.0",
|
|
56
|
+
"@unocss/preset-rem-to-px": "^66.7.5",
|
|
57
|
+
"axios": "^1.12.2",
|
|
58
|
+
"class-variance-authority": "^0.7.1",
|
|
59
|
+
"clsx": "^2.1.1",
|
|
60
|
+
"openai": "^6.34.0",
|
|
61
|
+
"vue-sonner": "^2.0.9"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
|
-
"@vueuse/core": "^14.2.1",
|
|
63
64
|
"@formkit/core": "^2.0.0",
|
|
64
65
|
"@formkit/drag-and-drop": "^0.5.3",
|
|
65
66
|
"@formkit/vue": "^2.0.0",
|
|
67
|
+
"@iconify-json/lucide": "^1.2.58",
|
|
68
|
+
"@iconify-json/stash": "^1.2.3",
|
|
69
|
+
"@iconify/utils": "^3.1.0",
|
|
66
70
|
"@tsconfig/node24": "^24.0.4",
|
|
67
71
|
"@types/node": "^24.12.0",
|
|
68
72
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
69
73
|
"@vitejs/plugin-vue-jsx": "^5.1.5",
|
|
70
74
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
71
75
|
"@vue/tsconfig": "^0.9.1",
|
|
76
|
+
"@vueuse/core": "^14.2.1",
|
|
72
77
|
"eslint": "^10.1.0",
|
|
73
78
|
"eslint-config-prettier": "^10.1.8",
|
|
74
79
|
"eslint-plugin-oxlint": "~1.57.0",
|
|
75
80
|
"eslint-plugin-vue": "~10.8.0",
|
|
76
81
|
"jiti": "^2.6.1",
|
|
82
|
+
"naive-ui": "^2.44.1",
|
|
77
83
|
"npm-run-all2": "^8.0.4",
|
|
78
84
|
"oxfmt": "^0.42.0",
|
|
79
85
|
"oxlint": "~1.57.0",
|
|
86
|
+
"playwright-core": "^1.49.1",
|
|
87
|
+
"ts-node": "^10.9.2",
|
|
88
|
+
"tsx": "^4.21.0",
|
|
80
89
|
"typescript": "~6.0.0",
|
|
90
|
+
"unocss": "^66.6.8",
|
|
91
|
+
"unocss-tw-animate-css": "^0.1.1",
|
|
92
|
+
"unplugin-auto-import": "^21.1.0",
|
|
93
|
+
"unplugin-vue-components": "^32.1.0",
|
|
81
94
|
"vite": "^8.0.3",
|
|
82
95
|
"vite-plugin-dts": "^4.5.4",
|
|
83
96
|
"vite-plugin-vue-devtools": "^8.1.1",
|
|
84
|
-
"vue
|
|
85
|
-
"
|
|
86
|
-
"@iconify-json/stash": "^1.2.3",
|
|
87
|
-
"unocss": "^66.6.8",
|
|
88
|
-
"unocss-tw-animate-css": "^0.1.1",
|
|
89
|
-
"naive-ui": "^2.44.1",
|
|
90
|
-
"vue": "^3.5.31"
|
|
97
|
+
"vue": "^3.5.31",
|
|
98
|
+
"vue-tsc": "^3.2.6"
|
|
91
99
|
},
|
|
92
100
|
"engines": {
|
|
93
101
|
"node": "^20.19.0 || >=22.12.0"
|