taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit cbde00248989f3d916029cc8b192d811ba4f562a
parent ebee97d833afca5aa668b7eac9230361d08de2d8
Author: Florian Dold <florian@dold.me>
Date:   Mon, 16 Jun 2025 22:36:44 +0200

-copyright

Diffstat:
Mpackages/aml-backoffice-ui/src/pages/ShowCollectedInfo.tsx | 16++++++++++++++++
Mpackages/web-util/src/forms/fields/InputFile.tsx | 18+++++++++++++++++-
Mpackages/web-util/src/forms/index.ts | 2+-
Mpackages/web-util/src/hooks/useForm.ts | 2+-
4 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/packages/aml-backoffice-ui/src/pages/ShowCollectedInfo.tsx b/packages/aml-backoffice-ui/src/pages/ShowCollectedInfo.tsx @@ -1,3 +1,19 @@ +/* + This file is part of GNU Taler + (C) 2025 Taler Systems S.A. + + GNU Taler is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ + import { AmountJson, Amounts, diff --git a/packages/web-util/src/forms/fields/InputFile.tsx b/packages/web-util/src/forms/fields/InputFile.tsx @@ -1,10 +1,26 @@ +/* + This file is part of GNU Taler + (C) 2025 Taler Systems S.A. + + GNU Taler is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ + import { Fragment, VNode, h } from "preact"; import { useState } from "preact/hooks"; +import { useTranslationContext } from "../../index.browser.js"; import { UIFormProps } from "../FormProvider.js"; import { FileFieldData } from "../forms-types.js"; import { noHandlerPropsAndNoContextForField } from "./InputArray.js"; import { LabelWithTooltipMaybeRequired } from "./InputLine.js"; -import { useTranslationContext } from "../../index.browser.js"; export function InputFile( props: { maxBites: number; accept?: string } & UIFormProps<FileFieldData>, diff --git a/packages/web-util/src/forms/index.ts b/packages/web-util/src/forms/index.ts @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2021 Taler Systems S.A. + (C) 2021-2025 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software diff --git a/packages/web-util/src/hooks/useForm.ts b/packages/web-util/src/hooks/useForm.ts @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2022-2024 Taler Systems S.A. + (C) 2022-2025 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software