1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

move stripe & payzen components folders into payment/

This commit is contained in:
Sylvain 2021-04-09 08:47:34 +02:00
parent b5ab9fbc79
commit 4d0dc808e8
11 changed files with 52 additions and 52 deletions

View File

@ -5,9 +5,9 @@ import moment from 'moment';
import _ from 'lodash';
import { FabButton } from '../base/fab-button';
import { FabModal } from '../base/fab-modal';
import { StripeElements } from '../stripe/stripe-elements';
import { StripeConfirm } from '../stripe/stripe-confirm';
import { StripeCardUpdate } from '../stripe/stripe-card-update';
import { StripeElements } from '../payment/stripe/stripe-elements';
import { StripeConfirm } from '../payment/stripe/stripe-confirm';
import { StripeCardUpdate } from '../payment/stripe/stripe-card-update';
import { User, UserRole } from '../../models/user';
import { IFablab } from '../../models/fablab';
import { PaymentSchedule, PaymentScheduleItem, PaymentScheduleItemState } from '../../models/payment-schedule';

View File

@ -2,12 +2,12 @@ import React, { ReactNode, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { enableMapSet } from 'immer';
import { useImmer } from 'use-immer';
import { HtmlTranslate } from '../base/html-translate';
import { FabInput } from '../base/fab-input';
import { Loader } from '../base/loader';
import { SettingName } from '../../models/setting';
import SettingAPI from '../../api/setting';
import PayzenAPI from '../../api/payzen';
import { HtmlTranslate } from '../../base/html-translate';
import { FabInput } from '../../base/fab-input';
import { Loader } from '../../base/loader';
import { SettingName } from '../../../models/setting';
import SettingAPI from '../../../api/setting';
import PayzenAPI from '../../../api/payzen';
enableMapSet();

View File

@ -1,15 +1,15 @@
import React, { FunctionComponent, ReactNode } from 'react';
import { react2angular } from 'react2angular';
import { Loader } from '../base/loader';
import { IApplication } from '../../models/application';
import { CartItems, PaymentConfirmation } from '../../models/payment';
import { PaymentSchedule } from '../../models/payment-schedule';
import { User } from '../../models/user';
import { GatewayFormProps, AbstractPaymentModal } from '../abstract-payment-modal';
import { Loader } from '../../base/loader';
import { IApplication } from '../../../models/application';
import { CartItems, PaymentConfirmation } from '../../../models/payment';
import { PaymentSchedule } from '../../../models/payment-schedule';
import { User } from '../../../models/user';
import payzenLogo from '../../../../images/payzen-secure.png';
import mastercardLogo from '../../../../images/mastercard.png';
import visaLogo from '../../../../images/visa.png';
import { GatewayFormProps, AbstractPaymentModal } from '../payment/abstract-payment-modal';
import payzenLogo from '../../../../../images/payzen-secure.png';
import mastercardLogo from '../../../../../images/mastercard.png';
import visaLogo from '../../../../../images/visa.png';
declare var Application: IApplication;

View File

@ -2,13 +2,13 @@ import React, { useEffect, useState } from 'react';
import { react2angular } from 'react2angular';
import { useTranslation } from 'react-i18next';
import { useImmer } from 'use-immer';
import { FabInput } from '../base/fab-input';
import { FabButton } from '../base/fab-button';
import { Loader } from '../base/loader';
import { HtmlTranslate } from '../base/html-translate';
import { SettingName } from '../../models/setting';
import { IApplication } from '../../models/application';
import SettingAPI from '../../api/setting';
import { FabInput } from '../../base/fab-input';
import { FabButton } from '../../base/fab-button';
import { Loader } from '../../base/loader';
import { HtmlTranslate } from '../../base/html-translate';
import { SettingName } from '../../../models/setting';
import { IApplication } from '../../../models/application';
import SettingAPI from '../../../api/setting';
declare var Application: IApplication;

View File

@ -1,9 +1,9 @@
import React, { FormEvent } from 'react';
import { CardElement, useElements, useStripe } from '@stripe/react-stripe-js';
import { SetupIntent } from "@stripe/stripe-js";
import { PaymentConfirmation } from '../../models/payment';
import { User } from '../../models/user';
import PaymentAPI from '../../api/payment';
import { PaymentConfirmation } from '../../../models/payment';
import { User } from '../../../models/user';
import PaymentAPI from '../../../api/payment';
interface StripeCardUpdateProps {
onSubmit: () => void,

View File

@ -1,8 +1,8 @@
import React, { memo, useEffect, useState } from 'react';
import { Elements } from '@stripe/react-stripe-js';
import { loadStripe } from "@stripe/stripe-js";
import { SettingName } from '../../models/setting';
import SettingAPI from '../../api/setting';
import { SettingName } from '../../../models/setting';
import SettingAPI from '../../../api/setting';
// initial request to the API
const stripePublicKey = SettingAPI.get(SettingName.StripePublicKey);

View File

@ -2,9 +2,9 @@ import React, { FormEvent } from 'react';
import { CardElement, useElements, useStripe } from '@stripe/react-stripe-js';
import { SetupIntent } from "@stripe/stripe-js";
import { useTranslation } from 'react-i18next';
import { CartItems, PaymentConfirmation } from '../../models/payment';
import { User } from '../../models/user';
import PaymentAPI from '../../api/payment';
import { CartItems, PaymentConfirmation } from '../../../models/payment';
import { User } from '../../../models/user';
import PaymentAPI from '../../../api/payment';
interface StripeFormProps {
onSubmit: () => void,

View File

@ -1,11 +1,11 @@
import React, { ReactNode, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { HtmlTranslate } from '../base/html-translate';
import { FabInput } from '../base/fab-input';
import { Loader } from '../base/loader';
import { SettingName } from '../../models/setting';
import StripeAPI from '../../api/stripe';
import SettingAPI from '../../api/setting';
import { HtmlTranslate } from '../../base/html-translate';
import { FabInput } from '../../base/fab-input';
import { Loader } from '../../base/loader';
import { SettingName } from '../../../models/setting';
import StripeAPI from '../../../api/stripe';
import SettingAPI from '../../../api/setting';
interface StripeKeysFormProps {

View File

@ -3,16 +3,16 @@ import { react2angular } from 'react2angular';
import { SetupIntent } from '@stripe/stripe-js';
import { StripeElements } from './stripe-elements';
import { StripeForm } from './stripe-form';
import { Loader } from '../base/loader';
import { IApplication } from '../../models/application';
import { CartItems, PaymentConfirmation } from '../../models/payment';
import { PaymentSchedule } from '../../models/payment-schedule';
import { User } from '../../models/user';
import { GatewayFormProps, AbstractPaymentModal } from '../abstract-payment-modal';
import { Loader } from '../../base/loader';
import { IApplication } from '../../../models/application';
import { CartItems, PaymentConfirmation } from '../../../models/payment';
import { PaymentSchedule } from '../../../models/payment-schedule';
import { User } from '../../../models/user';
import stripeLogo from '../../../../images/powered_by_stripe.png';
import mastercardLogo from '../../../../images/mastercard.png';
import visaLogo from '../../../../images/visa.png';
import { GatewayFormProps, AbstractPaymentModal } from '../payment/abstract-payment-modal';
import stripeLogo from '../../../../../images/powered_by_stripe.png';
import mastercardLogo from '../../../../../images/mastercard.png';
import visaLogo from '../../../../../images/visa.png';
declare var Application: IApplication;

View File

@ -5,16 +5,16 @@
import React, { BaseSyntheticEvent, useEffect, useState } from 'react';
import { react2angular } from 'react2angular';
import { Loader } from './base/loader';
import { IApplication } from '../models/application';
import { useTranslation } from 'react-i18next';
import { StripeKeysForm } from './payment/stripe/stripe-keys-form';
import { PayZenKeysForm } from './payment/payzen/payzen-keys-form';
import { FabModal, ModalSize } from './base/fab-modal';
import { Loader } from './base/loader';
import { User } from '../models/user';
import { Gateway } from '../models/gateway';
import { StripeKeysForm } from './stripe/stripe-keys-form';
import { SettingBulkResult, SettingName } from '../models/setting';
import { IApplication } from '../models/application';
import SettingAPI from '../api/setting';
import { PayZenKeysForm } from './payzen/payzen-keys-form';
declare var Application: IApplication;