Skip to content

Commit

Permalink
fix: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikhorn93 committed Sep 2, 2022
1 parent c5a1060 commit 5054e3a
Show file tree
Hide file tree
Showing 23 changed files with 57 additions and 49 deletions.
2 changes: 1 addition & 1 deletion digiwf-apps/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"packages/components/digiwf-multi-file-input",
"packages/apps/digiwf-forms-example"
],
"version": "0.17.2"
"version": "0.17.3"
}
12 changes: 6 additions & 6 deletions digiwf-apps/packages/apps/digiwf-forms-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions digiwf-apps/packages/apps/digiwf-forms-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"name": "@muenchen/digiwf-forms-example",
"description": "DigiWF Forms",
"private": true,
"version": "0.17.2",
"version": "0.17.3",
"scripts": {
"dev": "vite --host localhost",
"build": "vite build"
},
"dependencies": {
"@koumoul/vjsf": "2.11.3",
"@muenchen/digiwf-form-builder": "^0.17.2",
"@muenchen/digiwf-form-builder-settings": "^0.17.2",
"@muenchen/digiwf-form-renderer": "^0.17.2",
"@muenchen/digiwf-multi-file-input": "^0.17.2",
"@muenchen/digiwf-form-builder": "^0.17.3",
"@muenchen/digiwf-form-builder-settings": "^0.17.3",
"@muenchen/digiwf-form-renderer": "^0.17.3",
"@muenchen/digiwf-multi-file-input": "^0.17.3",
"vue": "2.6.14",
"vuetify": "^2.6.9"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-engine-api-internal",
"description": "Internal digiWF engine api",
"version": "0.17.2",
"version": "0.17.3",
"module": "dist/digiwf-engine-api-internal.mjs",
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-form-builder-settings",
"description": "Form Builder Settings",
"version": "0.17.2",
"version": "0.17.3",
"module": "dist/digiwf-form-builder-settings.mjs",
"scripts": {
"build": "vite build",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@muenchen/digiwf-form-builder",
"description": "Form Builder",
"version": "0.17.2",
"version": "0.17.3",
"module": "dist/digiwf-form-builder.mjs",
"scripts": {
"build": "vite build",
"watch": "vite build --watch"
},
"dependencies": {
"@muenchen/digiwf-form-builder-settings": "^0.17.2",
"@muenchen/digiwf-form-renderer": "^0.17.2"
"@muenchen/digiwf-form-builder-settings": "^0.17.3",
"@muenchen/digiwf-form-renderer": "^0.17.3"
},
"peerDependencies": {
"vue": "^2.6.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,18 @@

<script lang="ts">
import {computed, defineComponent, inject} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
props: ['fieldKey', 'value'],
emits: ['input', 'remove'],
setup(props, {emit}) {
const dragOptions = {
animation: 200,
group: "field",
disabled: false,
ghostClass: "ghost"
};
const settings = inject<FormBuilderSettings>("builderSettings")
Expand Down Expand Up @@ -112,6 +119,7 @@ export default defineComponent({
return {
settings,
properties,
dragOptions,
input,
removed,
icon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<script lang="ts">
import {defineComponent, provide, reactive, set} from "@vue/composition-api";
import {generateUUID} from "@/utils/UUIDGenerator";
import {Form, Section} from "@dh-nx-test/digiwf-form-renderer";
import {Form, Section} from "@muenchen/digiwf-form-renderer";
export default defineComponent({
props: ['value', 'name', 'description', 'schema', 'builderSettings'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

<script lang="ts">
import {defineComponent, inject} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
setup() {
Expand Down Expand Up @@ -242,4 +242,4 @@ export default defineComponent({
min-width: 300px;
}
</style>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<script lang="ts">
import {computed, defineComponent, inject} from "@vue/composition-api";
import {FormFieldContainer} from "@dh-nx-test/digiwf-form-renderer";
import {FormFieldContainer} from "@muenchen/digiwf-form-renderer";
export default defineComponent({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<script lang="ts">
import {computed, defineComponent, inject} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
props: ['value', 'fieldKey'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<script lang="ts">
import {computed, defineComponent, inject} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
props: ['fieldKey', 'value'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
<script lang="ts">
import {generateUUID} from "@/utils/UUIDGenerator";
import {defineComponent, inject, reactive, set} from "@vue/composition-api";
import {Container} from "@dh-nx-test/digiwf-form-renderer";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {Container} from "@muenchen/digiwf-form-renderer";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
props: ['value'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<script lang="ts">
import {generateUUID} from "@/utils/UUIDGenerator";
import {defineComponent, inject, set} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
export default defineComponent({
props: ['fieldKey', 'value'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default defineComponent({
}
const key = generateUUID();
set(container, "key", key);
input(this.value);
input(props.value);
return container.key;
}
Expand All @@ -135,12 +135,12 @@ export default defineComponent({
}
const onItemChanged = (container: any) => {
for (let i = 0; i < this.value.oneOf.length; i++) {
if (this.value.oneOf[i].key === container.key) {
set(this.value.oneOf, i, container);
this.input({
key: this.fieldKey,
...this.value
for (let i = 0; i < props.value.oneOf.length; i++) {
if (props.value.oneOf[i].key === container.key) {
set(props.value.oneOf, i, container);
input({
key: props.fieldKey,
...props.value
});
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
<script lang="ts">
import {generateUUID} from "@/utils/UUIDGenerator";
import {defineComponent, inject, set} from "@vue/composition-api";
import {FormBuilderSettings} from "@dh-nx-test/digiwf-form-builder-settings";
import {Container, Section} from "@dh-nx-test/digiwf-form-renderer";
import {FormBuilderSettings} from "@muenchen/digiwf-form-builder-settings";
import {Container, Section} from "@muenchen/digiwf-form-renderer";
export default defineComponent({
props: ['value'],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-form-renderer",
"description": "Form renderer",
"version": "0.17.2",
"version": "0.17.3",
"module": "dist/digiwf-form-renderer.mjs",
"scripts": {
"build": "vite build",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@muenchen/digiwf-multi-file-input",
"description": "Form renderer",
"version": "0.17.2",
"version": "0.17.3",
"module": "dist/digiwf-multi-file-input.mjs",
"scripts": {
"build": "vite build",
"watch": "vite build --watch"
},
"dependencies": {
"@muenchen/digiwf-engine-api-internal": "^0.17.2"
"@muenchen/digiwf-engine-api-internal": "^0.17.3"
},
"peerDependencies": {
"vue": "^2.6.14",
Expand Down

0 comments on commit 5054e3a

Please sign in to comment.