From 0432047fd482141f44c07284f76c6379f3e4dbc5 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Fri, 1 Nov 2024 06:00:00 +0000 Subject: [PATCH] Update form pages --- apps/showcase/doc/forms/FormFieldDoc.vue | 39 +++ apps/showcase/doc/forms/ImportDoc.vue | 2 +- apps/showcase/doc/forms/RegisterDoc.vue | 159 ----------- .../doc/forms/dynamic/DynamicFormControl.vue | 2 +- .../doc/forms/dynamic/DynamicFormField.vue | 4 +- .../doc/forms/formfield/BuiltInDoc.vue | 123 +++++++++ .../doc/forms/formfield/NonPrimeVueDoc.vue | 178 +++++++++++++ .../doc/forms/formfield/ResolverDoc.vue | 247 ++++++++++++++++++ .../doc/forms/formfield/TemplateDoc.vue | 150 +++++++++++ apps/showcase/package.json | 2 +- apps/showcase/pages/forms/index.vue | 12 +- 11 files changed, 748 insertions(+), 170 deletions(-) create mode 100644 apps/showcase/doc/forms/FormFieldDoc.vue delete mode 100644 apps/showcase/doc/forms/RegisterDoc.vue create mode 100644 apps/showcase/doc/forms/formfield/BuiltInDoc.vue create mode 100644 apps/showcase/doc/forms/formfield/NonPrimeVueDoc.vue create mode 100644 apps/showcase/doc/forms/formfield/ResolverDoc.vue create mode 100644 apps/showcase/doc/forms/formfield/TemplateDoc.vue diff --git a/apps/showcase/doc/forms/FormFieldDoc.vue b/apps/showcase/doc/forms/FormFieldDoc.vue new file mode 100644 index 000000000..60314b2ab --- /dev/null +++ b/apps/showcase/doc/forms/FormFieldDoc.vue @@ -0,0 +1,39 @@ + + + diff --git a/apps/showcase/doc/forms/ImportDoc.vue b/apps/showcase/doc/forms/ImportDoc.vue index df0f7990d..e66b84c2a 100644 --- a/apps/showcase/doc/forms/ImportDoc.vue +++ b/apps/showcase/doc/forms/ImportDoc.vue @@ -11,7 +11,7 @@ export default { return { code: { basic: ` -import Form from '@primevue/forms'; +import { Form } from '@primevue/forms'; ` } }; diff --git a/apps/showcase/doc/forms/RegisterDoc.vue b/apps/showcase/doc/forms/RegisterDoc.vue deleted file mode 100644 index 9aa6c0b5c..000000000 --- a/apps/showcase/doc/forms/RegisterDoc.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - - diff --git a/apps/showcase/doc/forms/dynamic/DynamicFormControl.vue b/apps/showcase/doc/forms/dynamic/DynamicFormControl.vue index 02f7d84ed..cafcb31eb 100644 --- a/apps/showcase/doc/forms/dynamic/DynamicFormControl.vue +++ b/apps/showcase/doc/forms/dynamic/DynamicFormControl.vue @@ -3,7 +3,7 @@ diff --git a/apps/showcase/doc/forms/formfield/NonPrimeVueDoc.vue b/apps/showcase/doc/forms/formfield/NonPrimeVueDoc.vue new file mode 100644 index 000000000..b3cb679ce --- /dev/null +++ b/apps/showcase/doc/forms/formfield/NonPrimeVueDoc.vue @@ -0,0 +1,178 @@ + + + + diff --git a/apps/showcase/doc/forms/formfield/ResolverDoc.vue b/apps/showcase/doc/forms/formfield/ResolverDoc.vue new file mode 100644 index 000000000..a0ae49965 --- /dev/null +++ b/apps/showcase/doc/forms/formfield/ResolverDoc.vue @@ -0,0 +1,247 @@ +