├── .npmrc ├── dist-js └── style.css ├── static └── favicon.png ├── src ├── lib │ ├── img │ │ ├── upload.zip │ │ ├── upload.svg │ │ ├── duplicate.svg │ │ ├── right.svg │ │ ├── up.svg │ │ ├── down.svg │ │ ├── left-arrow.svg │ │ ├── add.svg │ │ ├── info.svg │ │ ├── add-colour.svg │ │ ├── del-box.svg │ │ ├── delete.svg │ │ └── link.svg │ ├── index.ts │ ├── schemasafe-extended.d.ts │ ├── editors │ │ ├── Hidden.svelte │ │ ├── Boolean.svelte │ │ ├── Number.svelte │ │ ├── TextArea.svelte │ │ ├── FieldWrapper.svelte │ │ ├── Enum.svelte │ │ ├── String.svelte │ │ ├── Radio.svelte │ │ ├── Object.svelte │ │ ├── Currency.svelte │ │ ├── Autocomplete.svelte │ │ ├── Array.svelte │ │ ├── ArrayBlocks.svelte │ │ ├── Upload.svelte │ │ └── ListDetail.svelte │ ├── SubSchemaForm.svelte │ ├── errorMapper.ts │ ├── types │ │ ├── CommonComponentParameters.ts │ │ └── schema.ts │ ├── arrayOps.ts │ ├── schema │ │ └── schema.test.ts │ ├── css │ │ ├── layout.scss │ │ └── basic-skin.scss │ ├── SubmitForm.svelte │ ├── SchemaForm.svelte │ └── utilities.ts ├── app.html ├── app.d.ts └── routes │ └── +page.svelte ├── .gitignore ├── vite.config.ts ├── svelte.config.js ├── tsconfig.json ├── vite-script.config.ts ├── .github └── workflows │ └── build.yml ├── LICENSE ├── exampleWithScript.html ├── package.json └── README.md /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /dist-js/style.css: -------------------------------------------------------------------------------- 1 | textarea.svelte-vofknr{background-color:#fff} 2 | -------------------------------------------------------------------------------- /static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restspace/svelte-schema-form/HEAD/static/favicon.png -------------------------------------------------------------------------------- /src/lib/img/upload.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restspace/svelte-schema-form/HEAD/src/lib/img/upload.zip -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /build 4 | /.svelte-kit 5 | /package 6 | /dist 7 | .env 8 | .env.* 9 | !.env.example 10 | -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export { default as SchemaForm } from "./SchemaForm.svelte"; 2 | export { default as SubmitForm } from "./SubmitForm.svelte"; -------------------------------------------------------------------------------- /src/lib/schemasafe-extended.d.ts: -------------------------------------------------------------------------------- 1 | declare module "@exodus/schemasafe/src/pointer" { 2 | let get: (obj: any, pointer: string, objpath?: string) => any; 3 | export { get }; 4 | }; -------------------------------------------------------------------------------- /src/lib/img/upload.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/img/duplicate.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | %sveltekit.head% 8 | 9 | 10 |
96 | {valueJson}
97 |
98 |