@ederzeel/nuxt-schema-form-nightly 0.1.0-29257619.56503a4 → 0.1.0-29434325.2c4c552
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/module.d.mts +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +0 -1
- package/dist/runtime/components/Array.d.vue.ts +23 -0
- package/dist/runtime/components/Array.vue +33 -42
- package/dist/runtime/components/Array.vue.d.ts +23 -0
- package/dist/runtime/components/Component.d.vue.ts +43 -0
- package/dist/runtime/components/Component.vue +85 -98
- package/dist/runtime/components/Component.vue.d.ts +43 -0
- package/dist/runtime/components/Date.d.vue.ts +17 -0
- package/dist/runtime/components/Date.vue +20 -24
- package/dist/runtime/components/Date.vue.d.ts +17 -0
- package/dist/runtime/components/Form.d.vue.ts +31 -0
- package/dist/runtime/components/Form.vue +32 -45
- package/dist/runtime/components/Form.vue.d.ts +31 -0
- package/dist/runtime/components/InputField.d.vue.ts +18 -0
- package/dist/runtime/components/InputField.vue +10 -11
- package/dist/runtime/components/InputField.vue.d.ts +18 -0
- package/dist/runtime/components/InputNumber.d.vue.ts +20 -0
- package/dist/runtime/components/InputNumber.vue +14 -15
- package/dist/runtime/components/InputNumber.vue.d.ts +20 -0
- package/dist/runtime/components/MultiSelect.d.vue.ts +29 -0
- package/dist/runtime/components/MultiSelect.vue +21 -28
- package/dist/runtime/components/MultiSelect.vue.d.ts +29 -0
- package/dist/runtime/components/Object.d.vue.ts +17 -0
- package/dist/runtime/components/Object.vue +18 -23
- package/dist/runtime/components/Object.vue.d.ts +17 -0
- package/dist/runtime/components/Row.d.vue.ts +16 -0
- package/dist/runtime/components/Row.vue +17 -22
- package/dist/runtime/components/Row.vue.d.ts +16 -0
- package/dist/runtime/components/Select.d.vue.ts +20 -0
- package/dist/runtime/components/Select.vue +14 -17
- package/dist/runtime/components/Select.vue.d.ts +20 -0
- package/dist/runtime/components/Slider.d.vue.ts +20 -0
- package/dist/runtime/components/Slider.vue +12 -13
- package/dist/runtime/components/Slider.vue.d.ts +20 -0
- package/dist/runtime/components/Textarea.d.vue.ts +17 -0
- package/dist/runtime/components/Textarea.vue +9 -10
- package/dist/runtime/components/Textarea.vue.d.ts +17 -0
- package/dist/runtime/components/Toggle.d.vue.ts +17 -0
- package/dist/runtime/components/Toggle.vue +9 -10
- package/dist/runtime/components/Toggle.vue.d.ts +17 -0
- package/dist/runtime/components/array/ArrayObject.d.vue.ts +21 -0
- package/dist/runtime/components/array/ArrayObject.vue +134 -170
- package/dist/runtime/components/array/ArrayObject.vue.d.ts +21 -0
- package/dist/types.d.mts +3 -1
- package/package.json +24 -25
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -13
- package/dist/types.d.ts +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TableColumn } from '@nuxt/ui';
|
|
2
|
+
import type { PropertiesType } from '../../types/index.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
id: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
jsonSchemaPath: string;
|
|
8
|
+
items: PropertiesType;
|
|
9
|
+
modelValue: Record<string, unknown>[];
|
|
10
|
+
isRequired: boolean;
|
|
11
|
+
minItems?: number;
|
|
12
|
+
maxItems?: number;
|
|
13
|
+
edit?: boolean;
|
|
14
|
+
columns?: TableColumn<{}>[];
|
|
15
|
+
editInline?: boolean;
|
|
16
|
+
required?: string[];
|
|
17
|
+
setHidden?: (value: boolean) => void;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ederzeel/nuxt-schema-form-nightly",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-29434325.2c4c552",
|
|
4
4
|
"description": "A runtime form generator for nuxt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
|
-
"types": "./dist/module.d.
|
|
8
|
+
"types": "./dist/module.d.mts",
|
|
9
9
|
"import": "./dist/module.mjs",
|
|
10
|
-
"require": "./dist/module.cjs",
|
|
11
10
|
"style": "./dist/runtime/index.css"
|
|
12
11
|
},
|
|
13
12
|
"./utils/*": {
|
|
@@ -16,20 +15,10 @@
|
|
|
16
15
|
}
|
|
17
16
|
},
|
|
18
17
|
"main": "./dist/module.mjs",
|
|
19
|
-
"types": "./dist/module.d.
|
|
18
|
+
"types": "./dist/module.d.mts",
|
|
20
19
|
"files": [
|
|
21
20
|
"dist"
|
|
22
21
|
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "nuxt-module-build prepare && nuxt-module-build build .",
|
|
25
|
-
"dev": "nuxi dev playground",
|
|
26
|
-
"dev:build": "nuxi build playground",
|
|
27
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
28
|
-
"docs:dev": "nuxi dev docs",
|
|
29
|
-
"test": "vitest test",
|
|
30
|
-
"lint": "eslint .",
|
|
31
|
-
"release": "bumpp --commit \"release: v%s\" --push --tag"
|
|
32
|
-
},
|
|
33
22
|
"repository": {
|
|
34
23
|
"type": "git",
|
|
35
24
|
"url": "git+https://github.com/LiamEderzeel/nuxt-schema-form.git"
|
|
@@ -46,43 +35,53 @@
|
|
|
46
35
|
"url": "https://github.com/LiamEderzeel/nuxt-schema-form/issues"
|
|
47
36
|
},
|
|
48
37
|
"homepage": "https://github.com/LiamEderzeel/nuxt-schema-form#readme",
|
|
49
|
-
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
|
|
50
38
|
"devDependencies": {
|
|
51
39
|
"@eslint/js": "^9.19.0",
|
|
52
40
|
"@nuxt/eslint-config": "^1.0.0",
|
|
53
|
-
"@nuxt/kit": "^
|
|
54
|
-
"@nuxt/module-builder": "^0.
|
|
55
|
-
"@nuxt/ui": "^
|
|
41
|
+
"@nuxt/kit": "^4.1.2",
|
|
42
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
43
|
+
"@nuxt/ui": "^4.0.0",
|
|
56
44
|
"@tanstack/vue-table": "^8.21.3",
|
|
57
45
|
"@types/eslint": "^9.6.1",
|
|
58
|
-
"eslint": "^9.
|
|
46
|
+
"eslint": "^9.22.0",
|
|
59
47
|
"eslint-config-prettier": "^10.0.1",
|
|
60
48
|
"globals": "^15.14.0",
|
|
61
49
|
"jiti": "^2.4.2",
|
|
62
50
|
"json-schema-library": "10.0.0",
|
|
63
51
|
"magic-string": "^0.30.17",
|
|
64
52
|
"mlly": "^1.7.4",
|
|
65
|
-
"nuxt": "^
|
|
53
|
+
"nuxt": "^4.0.0",
|
|
66
54
|
"nuxt-component-meta": "^0.10.0",
|
|
67
55
|
"ohash": "^2.0.11",
|
|
68
56
|
"pathe": "^2.0.2",
|
|
69
57
|
"prettier": "^3.4.2",
|
|
70
58
|
"tinyglobby": "^0.2.10",
|
|
71
|
-
"typescript": "
|
|
72
|
-
"typescript-eslint": "^8.
|
|
59
|
+
"typescript": "^5.8.2",
|
|
60
|
+
"typescript-eslint": "^8.45.0",
|
|
73
61
|
"unplugin": "^2.1.2",
|
|
74
62
|
"unplugin-auto-import": "^19.0.0",
|
|
75
63
|
"unplugin-vue-components": "^28.0.0",
|
|
64
|
+
"vue-tsc": "^3.1.0",
|
|
76
65
|
"yup": "^1.6.1"
|
|
77
66
|
},
|
|
78
67
|
"dependencies": {
|
|
79
|
-
"@
|
|
80
|
-
"
|
|
68
|
+
"@ederzeel/json-schema-yup-transformer": "0.1.0-alpha.4",
|
|
69
|
+
"@internationalized/date": "^3.7.0"
|
|
81
70
|
},
|
|
82
71
|
"resolutions": {
|
|
83
72
|
"@ederzeel/nuxt-schema-form": "workspace:*"
|
|
84
73
|
},
|
|
85
74
|
"publishConfig": {
|
|
86
75
|
"access": "public"
|
|
76
|
+
},
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "nuxt-module-build prepare && nuxt-module-build build .",
|
|
79
|
+
"dev": "nuxi dev playground",
|
|
80
|
+
"dev:build": "nuxi build playground",
|
|
81
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
82
|
+
"docs:dev": "nuxi dev docs",
|
|
83
|
+
"test": "vitest test",
|
|
84
|
+
"lint": "eslint .",
|
|
85
|
+
"release": "bumpp --commit \"release: v%s\" --push --tag"
|
|
87
86
|
}
|
|
88
|
-
}
|
|
87
|
+
}
|
package/dist/module.cjs
DELETED
package/dist/module.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
|
|
3
|
-
interface ModuleOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Prefix for components
|
|
6
|
-
* @defaultValue `S`
|
|
7
|
-
* @link https://ui3.nuxt.dev/getting-started/installation/nuxt#prefix
|
|
8
|
-
*/
|
|
9
|
-
prefix?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
12
|
-
|
|
13
|
-
export { type ModuleOptions, _default as default };
|
package/dist/types.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ModuleOptions, default } from './module'
|