form-layouts.vue
2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<script setup>
import * as demoCode from '@/views/demos/forms/form-layout/demoCodeFormLayout'
</script>
<template>
<div>
<VRow>
<VCol
cols="12"
md="6"
>
<!-- 👉 Horizontal Form -->
<AppCardCode
title="Horizontal Form"
:code="demoCode.horizontalForm"
>
<DemoFormLayoutHorizontalForm />
</AppCardCode>
</VCol>
<VCol
cols="12"
md="6"
>
<!-- 👉 Horizontal Form with Icons -->
<AppCardCode
title="Horizontal Form with Icons"
:code="demoCode.horizontalFormWithIcons"
>
<DemoFormLayoutHorizontalFormWithIcons />
</AppCardCode>
</VCol>
<VCol
cols="12"
md="6"
>
<!-- 👉 Vertical Form -->
<AppCardCode
title="Vertical Form"
:code="demoCode.verticalForm"
>
<DemoFormLayoutVerticalForm />
</AppCardCode>
</VCol>
<VCol
cols="12"
md="6"
>
<!-- 👉 Vertical Form with Icons -->
<AppCardCode
title="Vertical Form with Icons"
:code="demoCode.verticalFormWithIcons"
>
<DemoFormLayoutVerticalFormWithIcons />
</AppCardCode>
</VCol>
<VCol cols="12">
<!-- 👉 Multiple Column -->
<AppCardCode
title="Multiple Column"
:code="demoCode.multipleColumn"
>
<DemoFormLayoutMultipleColumn />
</AppCardCode>
</VCol>
</VRow>
<VRow class="match-height my-3">
<VCol
cols="12"
md="6"
>
<!-- 👉 Form Hint -->
<AppCardCode
title="Form Hint"
:code="demoCode.formHint"
>
<DemoFormLayoutFormHint />
</AppCardCode>
</VCol>
<VCol
cols="12"
md="6"
>
<!-- 👉 Form Validation -->
<AppCardCode
title="Form Validation"
:code="demoCode.formValidation"
>
<DemoFormLayoutFormValidation />
</AppCardCode>
</VCol>
</VRow>
<VRow>
<VCol cols="12">
<!-- 👉 Form with Tabs -->
<AppCardCode
title="Form with Tabs"
no-padding
:code="demoCode.formWithTabs"
>
<DemoFormLayoutFormWithTabs />
</AppCardCode>
</VCol>
<VCol cols="12">
<!-- 👉 Collapsible Section -->
<h4 class="text-h6 font-weight-medium mb-5">
Collapsible Section
</h4>
<DemoFormLayoutCollapsible />
</VCol>
<VCol cols="12">
<!-- 👉 Sticky Section -->
<h4 class="text-h6 font-weight-medium mb-5">
Sticky Section
</h4>
<DemoFormLayoutFormSticky />
</VCol>
</VRow>
</div>
</template>