aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/forms
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-12-31 15:39:22 -0300
committerSebastian <sebasjm@gmail.com>2023-12-31 15:39:22 -0300
commita5f5a9326b26ca5f54fdad1ca8e58158874027f4 (patch)
tree69c28a55e9ddd90e0b433eabe2b7f9225554dab3 /packages/aml-backoffice-ui/src/forms
parentbedeebff1572fa8cfdb0a818030f6b13a3fc0f53 (diff)
import from web utils
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms')
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_11e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_12e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_13e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_15e.ts2
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_1e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_4e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_5e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_9e.ts3
-rw-r--r--packages/aml-backoffice-ui/src/forms/simplest.ts3
9 files changed, 9 insertions, 17 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_11e.ts b/packages/aml-backoffice-ui/src/forms/902_11e.ts
index b2943a1d4..932971ef2 100644
--- a/packages/aml-backoffice-ui/src/forms/902_11e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_11e.ts
@@ -1,8 +1,7 @@
import { TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
export const v1 = (current: BaseForm): FlexibleForm<Form902_11.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_12e.ts b/packages/aml-backoffice-ui/src/forms/902_12e.ts
index 815d75c49..7adeb6988 100644
--- a/packages/aml-backoffice-ui/src/forms/902_12e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_12e.ts
@@ -1,8 +1,7 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_12.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_13e.ts b/packages/aml-backoffice-ui/src/forms/902_13e.ts
index 1eccd4b51..83ce88624 100644
--- a/packages/aml-backoffice-ui/src/forms/902_13e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_13e.ts
@@ -1,8 +1,7 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { BaseForm, } from "../pages/AntiMoneyLaunderingForm.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_13.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_15e.ts b/packages/aml-backoffice-ui/src/forms/902_15e.ts
index 92ec03716..88bf769ef 100644
--- a/packages/aml-backoffice-ui/src/forms/902_15e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_15e.ts
@@ -1,7 +1,7 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
+import { FlexibleForm } from "@gnu-taler/web-util/browser";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_1e.ts b/packages/aml-backoffice-ui/src/forms/902_1e.ts
index 806833cd9..f146cde63 100644
--- a/packages/aml-backoffice-ui/src/forms/902_1e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_1e.ts
@@ -1,9 +1,8 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { languageList } from "./index.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_1.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_4e.ts b/packages/aml-backoffice-ui/src/forms/902_4e.ts
index 14d2d1e1c..6c6e55886 100644
--- a/packages/aml-backoffice-ui/src/forms/902_4e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_4e.ts
@@ -1,7 +1,6 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { h as create } from "preact";
-import { FormState } from "../handlers/FormProvider.js";
-import { FlexibleForm } from "../handlers/forms.js";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { ArrowRightIcon, ChevronRightIcon } from "../pages/Cases.js";
import { resolutionSection } from "./simplest.js";
diff --git a/packages/aml-backoffice-ui/src/forms/902_5e.ts b/packages/aml-backoffice-ui/src/forms/902_5e.ts
index fe545481f..8eafb506e 100644
--- a/packages/aml-backoffice-ui/src/forms/902_5e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_5e.ts
@@ -1,9 +1,8 @@
import { TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { currencyList } from "./index.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_5.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/902_9e.ts b/packages/aml-backoffice-ui/src/forms/902_9e.ts
index cdbd1a84c..323a5a057 100644
--- a/packages/aml-backoffice-ui/src/forms/902_9e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_9e.ts
@@ -1,8 +1,7 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { resolutionSection } from "./simplest.js";
-import { FlexibleForm } from "../handlers/forms.js";
export const v1 = (current: BaseForm): FlexibleForm<Form902_9.Form> => ({
design: [
diff --git a/packages/aml-backoffice-ui/src/forms/simplest.ts b/packages/aml-backoffice-ui/src/forms/simplest.ts
index 5a8d370c9..99d109da9 100644
--- a/packages/aml-backoffice-ui/src/forms/simplest.ts
+++ b/packages/aml-backoffice-ui/src/forms/simplest.ts
@@ -4,12 +4,11 @@ import {
Amounts,
TranslatedString,
} from "@gnu-taler/taler-util";
-import { FormState } from "../handlers/FormProvider.js";
-import { DoubleColumnFormSection, FlexibleForm } from "../handlers/forms.js";
import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
import { AmlExchangeBackend } from "../types.js";
import { amlStateConverter } from "../pages/ShowConsolidated.js";
+import { DoubleColumnFormSection, FlexibleForm, FormState } from "@gnu-taler/web-util/browser";
export const v1 = (current: BaseForm): FlexibleForm<Simplest.Form> => ({
design: [