Skip to content

Commit 6be0e22

Browse files
committed
move form comp
1 parent cc7a562 commit 6be0e22

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/app/src/components/shared/form/FormPanelInput.vue renamed to src/app/src/components/form/FormPanelInput.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
22
import { titleCase } from 'scule'
3-
import type { FormItem, FormTree } from '../../../types'
3+
import type { FormItem, FormTree } from '../../types'
44
import type { PropType } from 'vue'
55
import { computed, ref, watch } from 'vue'
6-
import { applyValueById } from '../../../utils/form'
6+
import { applyValueById } from '../../utils/form'
77
88
const props = defineProps({
99
formItem: {

src/app/src/components/shared/form/FormPanelSection.vue renamed to src/app/src/components/form/FormPanelSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts" setup>
2-
import type { FormItem, FormTree } from '../../../types'
2+
import type { FormItem, FormTree } from '../../types'
33
import type { PropType } from 'vue'
44
import { computed } from 'vue'
55

src/app/src/components/shared/form/FormSchemaBased.vue renamed to src/app/src/components/form/FormSchemaBased.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup lang="ts">
22
import { computed } from 'vue'
3-
import type { FormTree } from '../../../types'
3+
import type { FormTree } from '../../types'
44
import type { PropType } from 'vue'
55
import type { Draft07 } from '@nuxt/content'
6-
import { buildFormTreeFromSchema, applyValuesToFormTree, getUpdatedTreeItem } from '../../../utils/form'
7-
import { applyValueByPath } from '../../../utils/object'
6+
import { buildFormTreeFromSchema, applyValuesToFormTree, getUpdatedTreeItem } from '../../utils/form'
7+
import { applyValueByPath } from '../../utils/object'
88
99
const props = defineProps({
1010
collectionName: {

0 commit comments

Comments
 (0)