simplify directories
This commit is contained in:
parent
6b6f80466e
commit
5fc8f95a5d
@ -22,7 +22,7 @@
|
||||
import { Fragment, h, VNode } from "preact";
|
||||
import { useEffect, useState } from "preact/hooks";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { strings as messages } from "../../i18n/strings.js";
|
||||
import { strings as messages } from "../i18n/strings.js";
|
||||
|
||||
type LangsNames = {
|
||||
[P in keyof typeof messages]: string;
|
@ -19,11 +19,11 @@ import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { ComponentChildren, Fragment, h, VNode } from "preact";
|
||||
import { useEffect } from "preact/hooks";
|
||||
import useSWR, { SWRConfig, useSWRConfig } from "swr";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { BackendInfo } from "../../hooks/backend.js";
|
||||
import { bankUiSettings } from "../../settings.js";
|
||||
import { getIbanFromPayto, prepareHeaders } from "../../utils.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import { BackendInfo } from "../hooks/backend.js";
|
||||
import { bankUiSettings } from "../settings.js";
|
||||
import { getIbanFromPayto, prepareHeaders } from "../utils.js";
|
||||
import { BankFrame } from "./BankFrame.js";
|
||||
import { LoginForm } from "./LoginForm.js";
|
||||
import { PaymentOptions } from "./PaymentOptions.js";
|
@ -16,12 +16,12 @@
|
||||
|
||||
import { Logger } from "@gnu-taler/taler-util";
|
||||
import { ComponentChildren, Fragment, h, VNode } from "preact";
|
||||
import talerLogo from "../../assets/logo-white.svg";
|
||||
import { LangSelectorLikePy as LangSelector } from "../../components/menu/LangSelector.js";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import talerLogo from "../assets/logo-white.svg";
|
||||
import { LangSelectorLikePy as LangSelector } from "../components/LangSelector.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { bankUiSettings } from "../../settings.js";
|
||||
import { bankUiSettings } from "../settings.js";
|
||||
|
||||
const logger = new Logger("BankFrame");
|
||||
|
@ -17,11 +17,11 @@
|
||||
import { h, VNode } from "preact";
|
||||
import { route } from "preact-router";
|
||||
import { useEffect, useRef, useState } from "preact/hooks";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { BackendStateHandler } from "../../hooks/backend.js";
|
||||
import { bankUiSettings } from "../../settings.js";
|
||||
import { getBankBackendBaseUrl, undefinedIfEmpty } from "../../utils.js";
|
||||
import { BackendStateHandler } from "../hooks/backend.js";
|
||||
import { bankUiSettings } from "../settings.js";
|
||||
import { getBankBackendBaseUrl, undefinedIfEmpty } from "../utils.js";
|
||||
import { ShowInputErrorLabel } from "./ShowInputErrorLabel.js";
|
||||
|
||||
/**
|
@ -18,14 +18,14 @@ import { Amounts, Logger, parsePaytoUri } from "@gnu-taler/taler-util";
|
||||
import { useLocalStorage } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { h, VNode } from "preact";
|
||||
import { StateUpdater, useEffect, useRef, useState } from "preact/hooks";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import {
|
||||
InternationalizationAPI,
|
||||
useTranslationContext,
|
||||
} from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { BackendState } from "../../hooks/backend.js";
|
||||
import { prepareHeaders, undefinedIfEmpty } from "../../utils.js";
|
||||
import { BackendState } from "../hooks/backend.js";
|
||||
import { prepareHeaders, undefinedIfEmpty } from "../utils.js";
|
||||
import { ShowInputErrorLabel } from "./ShowInputErrorLabel.js";
|
||||
|
||||
const logger = new Logger("PaytoWireTransferForm");
|
@ -20,9 +20,9 @@ import { ComponentChildren, Fragment, h, VNode } from "preact";
|
||||
import { route } from "preact-router";
|
||||
import { StateUpdater } from "preact/hooks";
|
||||
import useSWR, { SWRConfig } from "swr";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { getBankBackendBaseUrl } from "../../utils.js";
|
||||
import { getBankBackendBaseUrl } from "../utils.js";
|
||||
import { BankFrame } from "./BankFrame.js";
|
||||
import { Transactions } from "./Transactions.js";
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import { h, VNode } from "preact";
|
||||
import { useEffect } from "preact/hooks";
|
||||
import { QR } from "../../components/QR.js";
|
||||
import { QR } from "../components/QR.js";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
|
||||
export function QrCodeSection({
|
@ -17,15 +17,15 @@ import { Logger } from "@gnu-taler/taler-util";
|
||||
import { Fragment, h, VNode } from "preact";
|
||||
import { route } from "preact-router";
|
||||
import { StateUpdater, useState } from "preact/hooks";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import {
|
||||
InternationalizationAPI,
|
||||
useTranslationContext,
|
||||
} from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { BackendStateHandler } from "../../hooks/backend.js";
|
||||
import { bankUiSettings } from "../../settings.js";
|
||||
import { getBankBackendBaseUrl, undefinedIfEmpty } from "../../utils.js";
|
||||
import { BackendStateHandler } from "../hooks/backend.js";
|
||||
import { bankUiSettings } from "../settings.js";
|
||||
import { getBankBackendBaseUrl, undefinedIfEmpty } from "../utils.js";
|
||||
import { BankFrame } from "./BankFrame.js";
|
||||
import { ShowInputErrorLabel } from "./ShowInputErrorLabel.js";
|
||||
|
@ -18,9 +18,9 @@ import { createHashHistory } from "history";
|
||||
import { h, VNode } from "preact";
|
||||
import Router, { route, Route } from "preact-router";
|
||||
import { useEffect } from "preact/hooks";
|
||||
import { AccountPage } from "./home/AccountPage.js";
|
||||
import { PublicHistoriesPage } from "./home/PublicHistoriesPage.js";
|
||||
import { RegistrationPage } from "./home/RegistrationPage.js";
|
||||
import { AccountPage } from "./AccountPage.js";
|
||||
import { PublicHistoriesPage } from "./PublicHistoriesPage.js";
|
||||
import { RegistrationPage } from "./RegistrationPage.js";
|
||||
|
||||
export function Routing(): VNode {
|
||||
const history = createHashHistory();
|
||||
|
@ -17,14 +17,14 @@
|
||||
import { Logger } from "@gnu-taler/taler-util";
|
||||
import { h, VNode } from "preact";
|
||||
import { StateUpdater, useEffect, useRef } from "preact/hooks";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import {
|
||||
InternationalizationAPI,
|
||||
useTranslationContext,
|
||||
} from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { BackendState } from "../../hooks/backend.js";
|
||||
import { prepareHeaders, validateAmount } from "../../utils.js";
|
||||
import { BackendState } from "../hooks/backend.js";
|
||||
import { prepareHeaders, validateAmount } from "../utils.js";
|
||||
|
||||
const logger = new Logger("WalletWithdrawForm");
|
||||
|
@ -17,14 +17,14 @@
|
||||
import { Logger } from "@gnu-taler/taler-util";
|
||||
import { Fragment, h, VNode } from "preact";
|
||||
import { StateUpdater } from "preact/hooks";
|
||||
import { useBackendContext } from "../../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { useBackendContext } from "../context/backend.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import {
|
||||
InternationalizationAPI,
|
||||
useTranslationContext,
|
||||
} from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { BackendState } from "../../hooks/backend.js";
|
||||
import { prepareHeaders } from "../../utils.js";
|
||||
import { BackendState } from "../hooks/backend.js";
|
||||
import { prepareHeaders } from "../utils.js";
|
||||
|
||||
const logger = new Logger("WithdrawalConfirmationQuestion");
|
||||
|
@ -17,7 +17,7 @@
|
||||
import { Logger } from "@gnu-taler/taler-util";
|
||||
import { Fragment, h, VNode } from "preact";
|
||||
import useSWR from "swr";
|
||||
import { PageStateType, usePageContext } from "../../context/pageState.js";
|
||||
import { PageStateType, usePageContext } from "../context/pageState.js";
|
||||
import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
|
||||
import { QrCodeSection } from "./QrCodeSection.js";
|
||||
import { WithdrawalConfirmationQuestion } from "./WithdrawalConfirmationQuestion.js";
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
import { strings } from "./i18n/strings.js";
|
||||
|
||||
import * as pages from "./pages/home/index.stories.js";
|
||||
import * as pages from "./pages/index.stories.js";
|
||||
|
||||
import { renderStories } from "@gnu-taler/web-util/lib/index.browser";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user