├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── bug_report.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── release.yml ├── .gitignore ├── .idea ├── .gitignore ├── astrox.iml ├── modules.xml └── vcs.xml ├── .npmrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── assets ├── logo.jpeg └── logo.rounded.png ├── examples └── simple-form │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── modules.xml │ ├── simple-form.iml │ └── vcs.xml │ ├── .vscode │ ├── extensions.json │ └── launch.json │ ├── README.md │ ├── astro.config.mjs │ ├── package.json │ ├── public │ └── favicon.svg │ ├── src │ ├── components │ │ ├── Counter.astro │ │ ├── ReactComponent.tsx │ │ └── SubState.astro │ ├── env.d.ts │ ├── layouts │ │ └── Layout.astro │ ├── middleware.ts │ └── pages │ │ ├── api.json.ts │ │ ├── button.astro │ │ ├── child-rephrase-parent.astro │ │ ├── counter.astro │ │ ├── default-submit.astro │ │ ├── forms.astro │ │ ├── index.astro │ │ ├── multi-file-upload.astro │ │ ├── multi-forms.astro │ │ ├── multi-selects.astro │ │ ├── reset-button-state.astro │ │ ├── state-check.astro │ │ ├── state-json-upload.astro │ │ ├── state-lifecycle.astro │ │ ├── throw.astro │ │ ├── upload.astro │ │ └── uploadBigFileTest.astro │ └── tsconfig.json ├── package.json └── packages ├── context ├── .npmignore ├── CHANGELOG.md ├── Context.astro ├── LICENSE ├── README.md ├── context.ts ├── package.json ├── src │ └── index.ts └── tsconfig.json ├── express-endpoints ├── CHANGELOG.md ├── README.md ├── package.json ├── src │ ├── express-route.ts │ ├── http │ │ ├── express-request.ts │ │ ├── express-response.ts │ │ └── http-errors │ │ │ ├── express-body-error.ts │ │ │ └── express-error.ts │ └── index.ts └── tsconfig.json ├── formidable ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── src │ ├── ExtendedFormData.ts │ └── index.ts └── tsconfig.json └── forms ├── .idea ├── .gitignore ├── forms.iml ├── modules.xml └── vcs.xml ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── forms.ts ├── package.json ├── src ├── components-control │ ├── form-utils │ │ ├── about-form-name.ts │ │ ├── bind-form-plugins │ │ │ ├── iform-plugin.ts │ │ │ ├── input-radio.ts │ │ │ └── select.ts │ │ ├── bind-form.ts │ │ ├── parse-multi.ts │ │ ├── parse.ts │ │ ├── validate.ts │ │ └── view-state.ts │ ├── input-parse.ts │ ├── props-utils.ts │ ├── select.ts │ └── types.ts ├── components │ ├── WebForms.astro │ └── form │ │ ├── BButton.astro │ │ ├── BInput.astro │ │ ├── BOption.astro │ │ ├── BSelect.astro │ │ ├── BTextarea.astro │ │ ├── BindForm.astro │ │ ├── FormErrors.astro │ │ └── UploadBigFile │ │ ├── BigFile.ts │ │ ├── UploadBigFile.astro │ │ ├── UploadBigFileProgress.astro │ │ ├── uploadBigFileClient.ts │ │ └── uploadBigFileServer.ts ├── errors │ ├── AstroFormsError.ts │ ├── MissingClickActionError.ts │ └── MissingNamePropError.ts ├── form-tools │ ├── connectId.ts │ ├── csrf.ts │ ├── events.ts │ ├── forms-react.ts │ └── post.ts ├── index.ts ├── integration.ts ├── integration │ └── render │ │ ├── any.js │ │ └── render-template.js ├── jwt-session.ts ├── middleware.ts ├── settings.ts ├── throw-action │ ├── throw-action.ts │ └── throwOverrideResponse.ts └── utils.ts └── tsconfig.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ido-pluto -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/astrox.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.idea/astrox.iml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.npmrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/assets/logo.jpeg -------------------------------------------------------------------------------- /assets/logo.rounded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/assets/logo.rounded.png -------------------------------------------------------------------------------- /examples/simple-form/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.gitignore -------------------------------------------------------------------------------- /examples/simple-form/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.idea/.gitignore -------------------------------------------------------------------------------- /examples/simple-form/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.idea/modules.xml -------------------------------------------------------------------------------- /examples/simple-form/.idea/simple-form.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.idea/simple-form.iml -------------------------------------------------------------------------------- /examples/simple-form/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.idea/vcs.xml -------------------------------------------------------------------------------- /examples/simple-form/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.vscode/extensions.json -------------------------------------------------------------------------------- /examples/simple-form/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/.vscode/launch.json -------------------------------------------------------------------------------- /examples/simple-form/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/README.md -------------------------------------------------------------------------------- /examples/simple-form/astro.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/astro.config.mjs -------------------------------------------------------------------------------- /examples/simple-form/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/package.json -------------------------------------------------------------------------------- /examples/simple-form/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/public/favicon.svg -------------------------------------------------------------------------------- /examples/simple-form/src/components/Counter.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/components/Counter.astro -------------------------------------------------------------------------------- /examples/simple-form/src/components/ReactComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/components/ReactComponent.tsx -------------------------------------------------------------------------------- /examples/simple-form/src/components/SubState.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/components/SubState.astro -------------------------------------------------------------------------------- /examples/simple-form/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/env.d.ts -------------------------------------------------------------------------------- /examples/simple-form/src/layouts/Layout.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/layouts/Layout.astro -------------------------------------------------------------------------------- /examples/simple-form/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/middleware.ts -------------------------------------------------------------------------------- /examples/simple-form/src/pages/api.json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/api.json.ts -------------------------------------------------------------------------------- /examples/simple-form/src/pages/button.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/button.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/child-rephrase-parent.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/child-rephrase-parent.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/counter.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/counter.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/default-submit.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/default-submit.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/forms.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/forms.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/index.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/multi-file-upload.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/multi-file-upload.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/multi-forms.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/multi-forms.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/multi-selects.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/multi-selects.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/reset-button-state.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/reset-button-state.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/state-check.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/state-check.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/state-json-upload.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/state-json-upload.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/state-lifecycle.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/state-lifecycle.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/throw.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/throw.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/upload.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/upload.astro -------------------------------------------------------------------------------- /examples/simple-form/src/pages/uploadBigFileTest.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/src/pages/uploadBigFileTest.astro -------------------------------------------------------------------------------- /examples/simple-form/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/examples/simple-form/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/package.json -------------------------------------------------------------------------------- /packages/context/.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | tsconfig.json 3 | .gitignore -------------------------------------------------------------------------------- /packages/context/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/CHANGELOG.md -------------------------------------------------------------------------------- /packages/context/Context.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/Context.astro -------------------------------------------------------------------------------- /packages/context/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/LICENSE -------------------------------------------------------------------------------- /packages/context/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/README.md -------------------------------------------------------------------------------- /packages/context/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/context.ts -------------------------------------------------------------------------------- /packages/context/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/package.json -------------------------------------------------------------------------------- /packages/context/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/src/index.ts -------------------------------------------------------------------------------- /packages/context/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/context/tsconfig.json -------------------------------------------------------------------------------- /packages/express-endpoints/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/CHANGELOG.md -------------------------------------------------------------------------------- /packages/express-endpoints/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/README.md -------------------------------------------------------------------------------- /packages/express-endpoints/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/package.json -------------------------------------------------------------------------------- /packages/express-endpoints/src/express-route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/express-route.ts -------------------------------------------------------------------------------- /packages/express-endpoints/src/http/express-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/http/express-request.ts -------------------------------------------------------------------------------- /packages/express-endpoints/src/http/express-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/http/express-response.ts -------------------------------------------------------------------------------- /packages/express-endpoints/src/http/http-errors/express-body-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/http/http-errors/express-body-error.ts -------------------------------------------------------------------------------- /packages/express-endpoints/src/http/http-errors/express-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/http/http-errors/express-error.ts -------------------------------------------------------------------------------- /packages/express-endpoints/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/src/index.ts -------------------------------------------------------------------------------- /packages/express-endpoints/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/express-endpoints/tsconfig.json -------------------------------------------------------------------------------- /packages/formidable/.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | tsconfig.json 3 | .gitignore -------------------------------------------------------------------------------- /packages/formidable/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/CHANGELOG.md -------------------------------------------------------------------------------- /packages/formidable/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/LICENSE -------------------------------------------------------------------------------- /packages/formidable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/README.md -------------------------------------------------------------------------------- /packages/formidable/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/package.json -------------------------------------------------------------------------------- /packages/formidable/src/ExtendedFormData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/src/ExtendedFormData.ts -------------------------------------------------------------------------------- /packages/formidable/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/src/index.ts -------------------------------------------------------------------------------- /packages/formidable/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/formidable/tsconfig.json -------------------------------------------------------------------------------- /packages/forms/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/.idea/.gitignore -------------------------------------------------------------------------------- /packages/forms/.idea/forms.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/.idea/forms.iml -------------------------------------------------------------------------------- /packages/forms/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/.idea/modules.xml -------------------------------------------------------------------------------- /packages/forms/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/.idea/vcs.xml -------------------------------------------------------------------------------- /packages/forms/.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | tsconfig.json 3 | .gitignore -------------------------------------------------------------------------------- /packages/forms/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/CHANGELOG.md -------------------------------------------------------------------------------- /packages/forms/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/LICENSE -------------------------------------------------------------------------------- /packages/forms/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/README.md -------------------------------------------------------------------------------- /packages/forms/forms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/forms.ts -------------------------------------------------------------------------------- /packages/forms/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/package.json -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/about-form-name.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/about-form-name.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/bind-form-plugins/iform-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/bind-form-plugins/iform-plugin.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/bind-form-plugins/input-radio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/bind-form-plugins/input-radio.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/bind-form-plugins/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/bind-form-plugins/select.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/bind-form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/bind-form.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/parse-multi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/parse-multi.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/parse.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/validate.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/form-utils/view-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/form-utils/view-state.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/input-parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/input-parse.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/props-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/props-utils.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/select.ts -------------------------------------------------------------------------------- /packages/forms/src/components-control/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components-control/types.ts -------------------------------------------------------------------------------- /packages/forms/src/components/WebForms.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/WebForms.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BButton.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BButton.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BInput.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BInput.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BOption.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BOption.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BSelect.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BSelect.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BTextarea.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BTextarea.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/BindForm.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/BindForm.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/FormErrors.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/FormErrors.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/UploadBigFile/BigFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/UploadBigFile/BigFile.ts -------------------------------------------------------------------------------- /packages/forms/src/components/form/UploadBigFile/UploadBigFile.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/UploadBigFile/UploadBigFile.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/UploadBigFile/UploadBigFileProgress.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/UploadBigFile/UploadBigFileProgress.astro -------------------------------------------------------------------------------- /packages/forms/src/components/form/UploadBigFile/uploadBigFileClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/UploadBigFile/uploadBigFileClient.ts -------------------------------------------------------------------------------- /packages/forms/src/components/form/UploadBigFile/uploadBigFileServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/components/form/UploadBigFile/uploadBigFileServer.ts -------------------------------------------------------------------------------- /packages/forms/src/errors/AstroFormsError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/errors/AstroFormsError.ts -------------------------------------------------------------------------------- /packages/forms/src/errors/MissingClickActionError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/errors/MissingClickActionError.ts -------------------------------------------------------------------------------- /packages/forms/src/errors/MissingNamePropError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/errors/MissingNamePropError.ts -------------------------------------------------------------------------------- /packages/forms/src/form-tools/connectId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/form-tools/connectId.ts -------------------------------------------------------------------------------- /packages/forms/src/form-tools/csrf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/form-tools/csrf.ts -------------------------------------------------------------------------------- /packages/forms/src/form-tools/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/form-tools/events.ts -------------------------------------------------------------------------------- /packages/forms/src/form-tools/forms-react.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/form-tools/forms-react.ts -------------------------------------------------------------------------------- /packages/forms/src/form-tools/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/form-tools/post.ts -------------------------------------------------------------------------------- /packages/forms/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/index.ts -------------------------------------------------------------------------------- /packages/forms/src/integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/integration.ts -------------------------------------------------------------------------------- /packages/forms/src/integration/render/any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/integration/render/any.js -------------------------------------------------------------------------------- /packages/forms/src/integration/render/render-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/integration/render/render-template.js -------------------------------------------------------------------------------- /packages/forms/src/jwt-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/jwt-session.ts -------------------------------------------------------------------------------- /packages/forms/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/middleware.ts -------------------------------------------------------------------------------- /packages/forms/src/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/settings.ts -------------------------------------------------------------------------------- /packages/forms/src/throw-action/throw-action.ts: -------------------------------------------------------------------------------- 1 | export default class ThrowAction extends Error { 2 | } -------------------------------------------------------------------------------- /packages/forms/src/throw-action/throwOverrideResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/throw-action/throwOverrideResponse.ts -------------------------------------------------------------------------------- /packages/forms/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/src/utils.ts -------------------------------------------------------------------------------- /packages/forms/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withastro-utils/utils/HEAD/packages/forms/tsconfig.json --------------------------------------------------------------------------------