2022-12-02 02:27:14 +00:00
|
|
|
import { NgModule, Injectable, Inject, Optional } from '@angular/core';
|
2021-08-28 21:03:18 +00:00
|
|
|
import { CommonModule, DecimalPipe, TitleCasePipe, DatePipe } from '@angular/common';
|
|
|
|
|
2019-08-12 01:57:49 +00:00
|
|
|
import { RouterModule } from '@angular/router';
|
2019-08-24 20:35:31 +00:00
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2019-09-14 03:19:35 +00:00
|
|
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
2019-03-19 00:13:01 +00:00
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
2020-01-03 20:04:00 +00:00
|
|
|
import { LayoutModule } from '@angular/cdk/layout';
|
2022-12-02 02:27:14 +00:00
|
|
|
import { Platform } from '@angular/cdk/platform';
|
2020-12-20 23:36:04 +00:00
|
|
|
|
2022-12-02 02:27:14 +00:00
|
|
|
import { MatNativeDateModule, DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, NativeDateAdapter, MatDateFormats } from '@angular/material/core';
|
2020-12-20 23:36:04 +00:00
|
|
|
import { MatDialogModule, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
2020-07-07 17:57:15 +00:00
|
|
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
|
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
|
|
import { MatCardModule } from '@angular/material/card';
|
|
|
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
|
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
|
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { MatInputModule } from '@angular/material/input';
|
|
|
|
import { MatListModule } from '@angular/material/list';
|
|
|
|
import { MatMenuModule } from '@angular/material/menu';
|
|
|
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
|
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
|
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
|
|
import { MatRadioModule } from '@angular/material/radio';
|
|
|
|
import { MatSelectModule } from '@angular/material/select';
|
|
|
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
|
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
|
|
import { MatSliderModule } from '@angular/material/slider';
|
|
|
|
import { MatSnackBarModule, MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';
|
|
|
|
import { MatSortModule } from '@angular/material/sort';
|
|
|
|
import { MatStepperModule } from '@angular/material/stepper';
|
|
|
|
import { MatTableModule } from '@angular/material/table';
|
|
|
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
|
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
|
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
|
|
import { MatTreeModule } from '@angular/material/tree';
|
2022-08-14 18:22:00 +00:00
|
|
|
import { MatChipsModule } from '@angular/material/chips';
|
2019-08-24 20:35:31 +00:00
|
|
|
|
2020-12-20 23:36:04 +00:00
|
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
2021-12-29 23:08:41 +00:00
|
|
|
import { QrCodeModule } from 'ng-qrcode';
|
2022-08-10 06:27:55 +00:00
|
|
|
import { PerfectScrollbarModule, PERFECT_SCROLLBAR_CONFIG, PerfectScrollbarConfigInterface } from 'ngx-perfect-scrollbar-next';
|
2019-12-04 02:14:39 +00:00
|
|
|
|
2020-12-20 23:36:04 +00:00
|
|
|
import { ThemeOverlay } from './theme/overlay-container/theme-overlay';
|
|
|
|
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
|
|
import { LoggerService, ConsoleLoggerService } from './services/logger.service';
|
|
|
|
import { MONTHS } from './services/consts-enums-functions';
|
2019-08-12 01:57:49 +00:00
|
|
|
|
2019-03-19 00:13:01 +00:00
|
|
|
import { NotFoundComponent } from './components/not-found/not-found.component';
|
2020-01-21 19:01:03 +00:00
|
|
|
import { LoginComponent } from './components/login/login.component';
|
2019-08-24 20:35:31 +00:00
|
|
|
import { HelpComponent } from './components/help/help.component';
|
|
|
|
import { SideNavigationComponent } from './components/navigation/side-navigation/side-navigation.component';
|
|
|
|
import { TopMenuComponent } from './components/navigation/top-menu/top-menu.component';
|
2019-12-23 03:07:50 +00:00
|
|
|
import { SettingsComponent } from './components/settings/settings.component';
|
2021-02-21 19:02:31 +00:00
|
|
|
import { BitcoinConfigComponent } from './components/settings/bitcoin-config/bitcoin-config.component';
|
|
|
|
import { AuthSettingsComponent } from './components/settings/auth-settings/auth-settings.component';
|
|
|
|
import { AppSettingsComponent } from './components/settings/app-settings/app-settings.component';
|
|
|
|
import { NodeConfigComponent } from './components/node-config/node-config.component';
|
|
|
|
import { LNPConfigComponent } from './components/node-config/lnp-config/lnp-config.component';
|
|
|
|
import { NodeSettingsComponent } from './components/node-config/node-settings/node-settings.component';
|
2022-10-12 21:38:21 +00:00
|
|
|
import { PageSettingsComponent } from './components/node-config/page-settings/page-settings.component';
|
2021-02-21 19:02:31 +00:00
|
|
|
import { ServicesSettingsComponent } from './components/node-config/services-settings/services-settings.component';
|
|
|
|
import { LoopServiceSettingsComponent } from './components/node-config/services-settings/loop-service-settings/loop-service-settings.component';
|
|
|
|
import { BoltzServiceSettingsComponent } from './components/node-config/services-settings/boltz-service-settings/boltz-service-settings.component';
|
2022-08-24 07:58:18 +00:00
|
|
|
import { PeerswapServiceSettingsComponent } from './components/node-config/services-settings/peerswap-service-settings/peerswap-service-settings.component';
|
2021-12-29 23:08:41 +00:00
|
|
|
import { ExperimentalSettingsComponent } from './components/node-config/experimental-settings/experimental-settings.component';
|
2019-11-06 00:26:40 +00:00
|
|
|
import { ErrorComponent } from './components/error/error.component';
|
2019-11-14 04:09:14 +00:00
|
|
|
import { CurrencyUnitConverterComponent } from './components/currency-unit-converter/currency-unit-converter.component';
|
2020-12-20 23:36:04 +00:00
|
|
|
import { HorizontalScrollerComponent } from './components/horizontal-scroller/horizontal-scroller.component';
|
|
|
|
import { TransactionsReportTableComponent } from './components/transactions-report-table/transactions-report-table.component';
|
|
|
|
import { ShowPubkeyComponent } from './components/data-modal/show-pubkey/show-pubkey.component';
|
|
|
|
import { OnChainGeneratedAddressComponent } from './components/data-modal/on-chain-generated-address/on-chain-generated-address.component';
|
|
|
|
import { SpinnerDialogComponent } from './components/data-modal/spinner-dialog/spinner-dialog.component';
|
|
|
|
import { AlertMessageComponent } from './components/data-modal/alert-message/alert-message.component';
|
|
|
|
import { ConfirmationMessageComponent } from './components/data-modal/confirmation-message/confirmation-message.component';
|
|
|
|
import { ErrorMessageComponent } from './components/data-modal/error-message/error-message.component';
|
2022-09-21 22:02:00 +00:00
|
|
|
import { IsAuthorizedComponent } from './components/data-modal/is-authorized/is-authorized.component';
|
2020-12-20 23:36:04 +00:00
|
|
|
import { TwoFactorAuthComponent } from './components/data-modal/two-factor-auth/two-factor-auth.component';
|
|
|
|
import { LoginTokenComponent } from './components/data-modal/login-2fa-token/login-2fa-token.component';
|
|
|
|
|
2022-08-24 07:58:18 +00:00
|
|
|
import { LNServicesComponent } from './components/ln-services/ln-services.component';
|
|
|
|
import { LoopComponent } from '../shared/components/ln-services/loop/loop.component';
|
|
|
|
import { SwapsComponent } from '../shared/components/ln-services/loop/swaps/swaps.component';
|
|
|
|
import { LoopModalComponent } from '../shared/components/ln-services/loop/loop-modal/loop-modal.component';
|
|
|
|
import { LoopQuoteComponent } from '../shared/components/ln-services/loop/loop-quote/loop-quote.component';
|
|
|
|
import { LoopStatusComponent } from '../shared/components/ln-services/loop/loop-status/loop-status.component';
|
|
|
|
import { LoopOutInfoGraphicsComponent } from '../shared/components/ln-services/loop/loop-out-info-graphics/info-graphics.component';
|
|
|
|
import { LoopInInfoGraphicsComponent } from '../shared/components/ln-services/loop/loop-in-info-graphics/info-graphics.component';
|
|
|
|
import { BoltzRootComponent } from './components/ln-services/boltz/boltz-root.component';
|
|
|
|
import { BoltzSwapsComponent } from './components/ln-services/boltz/swaps/swaps.component';
|
|
|
|
import { SwapStatusComponent } from './components/ln-services/boltz/swap-status/swap-status.component';
|
|
|
|
import { SwapServiceInfoComponent } from './components/ln-services/boltz/swap-service-info/swap-service-info.component';
|
|
|
|
import { SwapModalComponent } from './components/ln-services/boltz/swap-modal/swap-modal.component';
|
|
|
|
import { SwapInInfoGraphicsComponent } from './components/ln-services/boltz/swap-in-info-graphics/info-graphics.component';
|
|
|
|
import { SwapOutInfoGraphicsComponent } from './components/ln-services/boltz/swap-out-info-graphics/info-graphics.component';
|
2021-02-21 19:02:31 +00:00
|
|
|
|
2019-08-24 20:35:31 +00:00
|
|
|
import { ClipboardDirective } from './directive/clipboard.directive';
|
2019-11-19 23:49:58 +00:00
|
|
|
import { AutoFocusDirective } from './directive/auto-focus.directive';
|
2020-12-20 23:36:04 +00:00
|
|
|
import { MonthlyDateDirective, YearlyDateDirective } from './directive/date-formats.directive';
|
2020-01-25 00:47:04 +00:00
|
|
|
import { MaxValidator } from './directive/max-amount.directive';
|
|
|
|
import { MinValidator } from './directive/min-amount.directive';
|
2022-11-01 04:18:12 +00:00
|
|
|
import { RemoveLeadingZerosPipe, CamelCasePipe, CamelCaseWithReplacePipe, CamelCaseWithSpacesPipe } from './pipes/app.pipe';
|
2020-01-03 20:04:00 +00:00
|
|
|
|
2020-12-20 23:36:04 +00:00
|
|
|
const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
|
|
|
|
suppressScrollX: false,
|
|
|
|
suppressScrollY: false
|
|
|
|
};
|
|
|
|
|
|
|
|
@Injectable() class DefaultDateAdapter extends NativeDateAdapter {
|
2021-08-28 21:03:18 +00:00
|
|
|
|
2023-12-06 04:32:05 +00:00
|
|
|
constructor(@Optional() @Inject(MAT_DATE_LOCALE) matDateLocale: string) {
|
|
|
|
super(matDateLocale);
|
2022-11-29 04:42:17 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 23:36:04 +00:00
|
|
|
format(date: Date, displayFormat: Object): string {
|
|
|
|
if (displayFormat === 'input') {
|
|
|
|
let day: string = date.getDate().toString();
|
|
|
|
day = +day < 10 ? '0' + day : day;
|
|
|
|
return day + '/' + MONTHS[date.getMonth()].name.toUpperCase() + '/' + date.getFullYear();
|
|
|
|
}
|
|
|
|
return MONTHS[date.getMonth()].name.toUpperCase() + ' ' + date.getFullYear();
|
|
|
|
}
|
2021-08-28 21:03:18 +00:00
|
|
|
|
2020-12-20 23:36:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const DEFAULT_DATE_FORMAT: MatDateFormats = {
|
|
|
|
parse: {
|
|
|
|
dateInput: { day: 'numeric', month: 'short', year: 'numeric' }
|
|
|
|
},
|
|
|
|
display: {
|
|
|
|
dateInput: 'input',
|
|
|
|
monthYearLabel: { month: 'short', year: 'numeric' },
|
|
|
|
dateA11yLabel: { day: 'numeric', month: 'short', year: 'numeric' },
|
2021-08-28 21:03:18 +00:00
|
|
|
monthYearA11yLabel: { month: 'short', year: 'numeric' }
|
2020-12-20 23:36:04 +00:00
|
|
|
}
|
|
|
|
};
|
2019-03-19 00:13:01 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2019-11-14 04:09:14 +00:00
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
FontAwesomeModule,
|
|
|
|
FlexLayoutModule,
|
2020-01-03 20:04:00 +00:00
|
|
|
LayoutModule,
|
2020-12-20 23:36:04 +00:00
|
|
|
MatDialogModule,
|
2019-11-14 04:09:14 +00:00
|
|
|
MatButtonModule,
|
|
|
|
MatButtonToggleModule,
|
|
|
|
MatCardModule,
|
|
|
|
MatCheckboxModule,
|
|
|
|
MatExpansionModule,
|
|
|
|
MatGridListModule,
|
|
|
|
MatDatepickerModule,
|
|
|
|
MatNativeDateModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatListModule,
|
|
|
|
MatMenuModule,
|
|
|
|
MatProgressBarModule,
|
|
|
|
MatProgressSpinnerModule,
|
|
|
|
MatRadioModule,
|
|
|
|
MatTreeModule,
|
2022-08-14 18:22:00 +00:00
|
|
|
MatChipsModule,
|
2019-11-14 04:09:14 +00:00
|
|
|
MatSelectModule,
|
|
|
|
MatSidenavModule,
|
|
|
|
MatSlideToggleModule,
|
|
|
|
MatSortModule,
|
|
|
|
MatTableModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatTooltipModule,
|
|
|
|
MatBadgeModule,
|
|
|
|
MatPaginatorModule,
|
|
|
|
MatStepperModule,
|
|
|
|
MatSliderModule,
|
|
|
|
MatTabsModule,
|
2019-11-16 21:58:23 +00:00
|
|
|
MatSnackBarModule,
|
2020-05-03 19:52:38 +00:00
|
|
|
MatAutocompleteModule,
|
2020-12-20 23:36:04 +00:00
|
|
|
NgxChartsModule,
|
2021-12-29 23:08:41 +00:00
|
|
|
QrCodeModule,
|
2019-11-14 04:09:14 +00:00
|
|
|
RouterModule,
|
2019-12-04 02:14:39 +00:00
|
|
|
HttpClientModule,
|
|
|
|
PerfectScrollbarModule
|
2019-11-14 04:09:14 +00:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
FontAwesomeModule,
|
|
|
|
FlexLayoutModule,
|
2020-01-03 20:04:00 +00:00
|
|
|
LayoutModule,
|
2020-12-20 23:36:04 +00:00
|
|
|
MatDialogModule,
|
2019-11-14 04:09:14 +00:00
|
|
|
MatButtonModule,
|
|
|
|
MatButtonToggleModule,
|
|
|
|
MatCardModule,
|
|
|
|
MatCheckboxModule,
|
|
|
|
MatExpansionModule,
|
|
|
|
MatGridListModule,
|
|
|
|
MatDatepickerModule,
|
|
|
|
MatNativeDateModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatListModule,
|
|
|
|
MatMenuModule,
|
|
|
|
MatProgressBarModule,
|
|
|
|
MatProgressSpinnerModule,
|
|
|
|
MatRadioModule,
|
|
|
|
MatTreeModule,
|
2022-08-14 18:22:00 +00:00
|
|
|
MatChipsModule,
|
2019-11-14 04:09:14 +00:00
|
|
|
MatSelectModule,
|
|
|
|
MatSidenavModule,
|
|
|
|
MatSlideToggleModule,
|
|
|
|
MatSortModule,
|
|
|
|
MatTableModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatTooltipModule,
|
|
|
|
MatBadgeModule,
|
|
|
|
MatPaginatorModule,
|
|
|
|
MatStepperModule,
|
|
|
|
MatSliderModule,
|
|
|
|
MatTabsModule,
|
2019-11-16 21:58:23 +00:00
|
|
|
MatSnackBarModule,
|
2020-05-03 19:52:38 +00:00
|
|
|
MatAutocompleteModule,
|
2021-02-21 19:02:31 +00:00
|
|
|
NgxChartsModule,
|
2021-12-29 23:08:41 +00:00
|
|
|
QrCodeModule,
|
2021-02-21 19:02:31 +00:00
|
|
|
PerfectScrollbarModule,
|
|
|
|
ClipboardDirective,
|
|
|
|
AutoFocusDirective,
|
|
|
|
MonthlyDateDirective,
|
|
|
|
YearlyDateDirective,
|
|
|
|
RemoveLeadingZerosPipe,
|
2021-12-29 23:08:41 +00:00
|
|
|
CamelCasePipe,
|
2022-10-13 05:13:29 +00:00
|
|
|
CamelCaseWithReplacePipe,
|
2022-11-01 04:18:12 +00:00
|
|
|
CamelCaseWithSpacesPipe,
|
2021-02-21 19:02:31 +00:00
|
|
|
MaxValidator,
|
|
|
|
MinValidator,
|
2019-11-14 04:09:14 +00:00
|
|
|
AppSettingsComponent,
|
2019-12-23 03:07:50 +00:00
|
|
|
SettingsComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
NotFoundComponent,
|
|
|
|
SideNavigationComponent,
|
|
|
|
TopMenuComponent,
|
2020-01-21 19:01:03 +00:00
|
|
|
LoginComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
HelpComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
SettingsComponent,
|
|
|
|
BitcoinConfigComponent,
|
|
|
|
AuthSettingsComponent,
|
|
|
|
AppSettingsComponent,
|
|
|
|
NodeConfigComponent,
|
|
|
|
LNPConfigComponent,
|
|
|
|
NodeSettingsComponent,
|
2022-10-12 21:38:21 +00:00
|
|
|
PageSettingsComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
ServicesSettingsComponent,
|
|
|
|
LoopServiceSettingsComponent,
|
|
|
|
BoltzServiceSettingsComponent,
|
2022-08-24 07:58:18 +00:00
|
|
|
PeerswapServiceSettingsComponent,
|
2021-12-29 23:08:41 +00:00
|
|
|
ExperimentalSettingsComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
CurrencyUnitConverterComponent,
|
2020-12-20 23:36:04 +00:00
|
|
|
HorizontalScrollerComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
TransactionsReportTableComponent,
|
2022-08-24 07:58:18 +00:00
|
|
|
LNServicesComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
LoopComponent,
|
|
|
|
SwapsComponent,
|
|
|
|
LoopModalComponent,
|
2020-03-16 15:57:57 +00:00
|
|
|
LoopQuoteComponent,
|
|
|
|
LoopStatusComponent,
|
2020-12-20 23:36:04 +00:00
|
|
|
LoopInInfoGraphicsComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
LoopOutInfoGraphicsComponent,
|
|
|
|
BoltzRootComponent,
|
|
|
|
BoltzSwapsComponent,
|
|
|
|
SwapStatusComponent,
|
|
|
|
SwapServiceInfoComponent,
|
|
|
|
SwapModalComponent,
|
|
|
|
SwapInInfoGraphicsComponent,
|
2022-10-20 05:30:40 +00:00
|
|
|
SwapOutInfoGraphicsComponent
|
2019-11-14 04:09:14 +00:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppSettingsComponent,
|
2019-12-23 03:07:50 +00:00
|
|
|
SettingsComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
NotFoundComponent,
|
|
|
|
SideNavigationComponent,
|
|
|
|
TopMenuComponent,
|
2020-01-21 19:01:03 +00:00
|
|
|
LoginComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
HelpComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
SettingsComponent,
|
|
|
|
BitcoinConfigComponent,
|
|
|
|
AuthSettingsComponent,
|
|
|
|
AppSettingsComponent,
|
|
|
|
NodeConfigComponent,
|
|
|
|
LNPConfigComponent,
|
|
|
|
NodeSettingsComponent,
|
2022-10-12 21:38:21 +00:00
|
|
|
PageSettingsComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
ServicesSettingsComponent,
|
|
|
|
LoopServiceSettingsComponent,
|
|
|
|
BoltzServiceSettingsComponent,
|
2022-08-24 07:58:18 +00:00
|
|
|
PeerswapServiceSettingsComponent,
|
2021-12-29 23:08:41 +00:00
|
|
|
ExperimentalSettingsComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
CurrencyUnitConverterComponent,
|
2020-12-20 23:36:04 +00:00
|
|
|
HorizontalScrollerComponent,
|
2019-11-14 04:09:14 +00:00
|
|
|
ErrorComponent,
|
|
|
|
ClipboardDirective,
|
2019-11-19 23:49:58 +00:00
|
|
|
AutoFocusDirective,
|
2020-12-20 23:36:04 +00:00
|
|
|
MonthlyDateDirective,
|
|
|
|
YearlyDateDirective,
|
2020-01-25 00:47:04 +00:00
|
|
|
MaxValidator,
|
|
|
|
MinValidator,
|
2019-11-21 20:33:23 +00:00
|
|
|
RemoveLeadingZerosPipe,
|
2021-12-29 23:08:41 +00:00
|
|
|
CamelCasePipe,
|
2022-10-13 05:13:29 +00:00
|
|
|
CamelCaseWithReplacePipe,
|
2022-11-01 04:18:12 +00:00
|
|
|
CamelCaseWithSpacesPipe,
|
2020-03-16 15:57:57 +00:00
|
|
|
AuthSettingsComponent,
|
2020-12-20 23:36:04 +00:00
|
|
|
TransactionsReportTableComponent,
|
|
|
|
OnChainGeneratedAddressComponent,
|
|
|
|
ShowPubkeyComponent,
|
|
|
|
SpinnerDialogComponent,
|
|
|
|
AlertMessageComponent,
|
|
|
|
ConfirmationMessageComponent,
|
|
|
|
ErrorMessageComponent,
|
2022-09-21 22:02:00 +00:00
|
|
|
IsAuthorizedComponent,
|
2020-12-20 23:36:04 +00:00
|
|
|
TwoFactorAuthComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
LoginTokenComponent,
|
|
|
|
TransactionsReportTableComponent,
|
2022-08-24 07:58:18 +00:00
|
|
|
LNServicesComponent,
|
2021-02-21 19:02:31 +00:00
|
|
|
LoopComponent,
|
|
|
|
SwapsComponent,
|
|
|
|
LoopModalComponent,
|
|
|
|
LoopQuoteComponent,
|
|
|
|
LoopStatusComponent,
|
|
|
|
LoopInInfoGraphicsComponent,
|
|
|
|
LoopOutInfoGraphicsComponent,
|
|
|
|
BoltzRootComponent,
|
|
|
|
BoltzSwapsComponent,
|
|
|
|
SwapStatusComponent,
|
|
|
|
SwapServiceInfoComponent,
|
|
|
|
SwapModalComponent,
|
|
|
|
SwapInInfoGraphicsComponent,
|
2022-10-20 05:30:40 +00:00
|
|
|
SwapOutInfoGraphicsComponent
|
2019-11-14 04:09:14 +00:00
|
|
|
],
|
|
|
|
providers: [
|
2020-01-03 20:04:00 +00:00
|
|
|
{ provide: LoggerService, useClass: ConsoleLoggerService },
|
2019-12-04 02:14:39 +00:00
|
|
|
{ provide: PERFECT_SCROLLBAR_CONFIG, useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG },
|
2019-12-27 01:03:18 +00:00
|
|
|
{ provide: MAT_SNACK_BAR_DEFAULT_OPTIONS, useValue: { duration: 2000, verticalPosition: 'bottom', panelClass: 'rtl-snack-bar' } },
|
2022-12-20 00:20:02 +00:00
|
|
|
{ provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: { hasBackdrop: true, autoFocus: true, disableClose: true, role: 'dialog' } },
|
2020-12-20 23:36:04 +00:00
|
|
|
{ provide: DateAdapter, useClass: DefaultDateAdapter },
|
|
|
|
{ provide: MAT_DATE_FORMATS, useValue: DEFAULT_DATE_FORMAT },
|
|
|
|
{ provide: OverlayContainer, useClass: ThemeOverlay },
|
2022-11-01 04:18:12 +00:00
|
|
|
DecimalPipe, TitleCasePipe, DatePipe, RemoveLeadingZerosPipe, CamelCasePipe, CamelCaseWithReplacePipe, CamelCaseWithSpacesPipe
|
2019-11-14 04:09:14 +00:00
|
|
|
]
|
2019-03-19 00:13:01 +00:00
|
|
|
})
|
|
|
|
export class SharedModule { }
|