@xsolla/payment-client-core 0.0.1 → 0.0.3-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -11
- package/esm2020/lib/core/boolean-number.enum.mjs +6 -0
- package/esm2020/lib/core/country/country.service.mjs +27 -0
- package/esm2020/lib/core/deep-readonly.type.mjs +2 -0
- package/esm2020/lib/core/exceptions-handling/errors/api-error.interface.mjs +2 -0
- package/esm2020/lib/core/exceptions-handling/errors/app-error.class.mjs +6 -0
- package/esm2020/lib/core/exceptions-handling/errors/http-error.class.mjs +40 -0
- package/esm2020/lib/core/exceptions-handling/errors/response-error.class.mjs +7 -0
- package/esm2020/lib/core/exceptions-handling/http-interceptor/http-error-data.interface.mjs +2 -0
- package/esm2020/lib/core/exceptions-handling/http-interceptor/http-error-response-data.interface.mjs +2 -0
- package/esm2020/lib/core/exceptions-handling/http-interceptor/http-exceptions.interceptor.mjs +22 -0
- package/esm2020/lib/core/extended-window.interface.mjs +2 -0
- package/esm2020/lib/core/http/secure-api/api-url.const.mjs +3 -0
- package/esm2020/lib/core/http/secure-api/options.interface.mjs +2 -0
- package/esm2020/lib/core/http/secure-api/secure-api.service.mjs +55 -0
- package/esm2020/lib/core/legal/legal.component.config.mjs +2 -0
- package/esm2020/lib/core/legal/legal.service.mjs +30 -0
- package/esm2020/lib/core/legal/refund-policy.service.mjs +30 -0
- package/esm2020/lib/core/payment-methods/payment-method-api.interface.mjs +2 -0
- package/esm2020/lib/core/payment-methods/payment-method.interface.mjs +2 -0
- package/esm2020/lib/core/payment-methods/payment-methods-api.interface.mjs +2 -0
- package/esm2020/lib/core/payment-methods/payment-methods-request-params.interface.mjs +2 -0
- package/esm2020/lib/core/payment-methods/payment-methods-response.class.mjs +26 -0
- package/esm2020/lib/core/payment-methods/payment-methods-response.interface.mjs +2 -0
- package/esm2020/lib/core/payment-methods/payment-methods-response.token.mjs +8 -0
- package/esm2020/lib/core/payment-methods/payment-methods.service.mjs +58 -0
- package/esm2020/lib/core/saved-methods/saved-method-api.interface.mjs +2 -0
- package/esm2020/lib/core/saved-methods/saved-method.interface.mjs +2 -0
- package/esm2020/lib/core/saved-methods/saved-methods-request-params.interface.mjs +2 -0
- package/esm2020/lib/core/saved-methods/saved-methods-response.class.mjs +24 -0
- package/esm2020/lib/core/saved-methods/saved-methods-response.interface.mjs +2 -0
- package/esm2020/lib/core/saved-methods/saved-methods-response.token.mjs +8 -0
- package/esm2020/lib/core/saved-methods/saved-methods.service.mjs +53 -0
- package/esm2020/lib/core/settings/auto-redirect-on-status.mjs +14 -0
- package/esm2020/lib/core/settings/balance.interface.mjs +2 -0
- package/esm2020/lib/core/settings/bonus.interface.mjs +2 -0
- package/esm2020/lib/core/settings/configuration.interface.mjs +2 -0
- package/esm2020/lib/core/settings/empty-utils-response.error.mjs +7 -0
- package/esm2020/lib/core/settings/header-type.enum.mjs +6 -0
- package/esm2020/lib/core/settings/offer.interface.mjs +2 -0
- package/esm2020/lib/core/settings/project.interface.mjs +2 -0
- package/esm2020/lib/core/settings/purchase.interface.mjs +2 -0
- package/esm2020/lib/core/settings/settings-mode.enum.mjs +5 -0
- package/esm2020/lib/core/settings/settings.interface.mjs +2 -0
- package/esm2020/lib/core/settings/settings.service.mjs +85 -0
- package/esm2020/lib/core/settings/status-back-show.mjs +16 -0
- package/esm2020/lib/core/settings/tracking-info.interface.mjs +2 -0
- package/esm2020/lib/core/settings/user.interface.mjs +2 -0
- package/esm2020/lib/core/settings/utils-response.interface.mjs +2 -0
- package/esm2020/lib/core/user-balance/user-balance-api.interface.mjs +2 -0
- package/esm2020/lib/core/user-balance/user-balance-request-params.interface.mjs +2 -0
- package/esm2020/lib/core/user-balance/user-balance-response.class.mjs +8 -0
- package/esm2020/lib/core/user-balance/user-balance-response.token.mjs +8 -0
- package/esm2020/lib/core/user-balance/user-balance.service.mjs +50 -0
- package/esm2020/lib/core/window.token.mjs +3 -0
- package/esm2020/lib/core-library.module.mjs +31 -7
- package/esm2020/lib/core-library.service.mjs +32 -3
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/xsolla-payment-client-core.mjs +582 -16
- package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
- package/fesm2020/xsolla-payment-client-core.mjs +554 -16
- package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/boolean-number.enum.d.ts +4 -0
- package/lib/core/country/country.service.d.ts +12 -0
- package/lib/core/deep-readonly.type.d.ts +3 -0
- package/lib/core/exceptions-handling/errors/api-error.interface.d.ts +4 -0
- package/lib/core/exceptions-handling/errors/app-error.class.d.ts +3 -0
- package/lib/core/exceptions-handling/errors/http-error.class.d.ts +10 -0
- package/lib/core/exceptions-handling/errors/response-error.class.d.ts +4 -0
- package/lib/core/exceptions-handling/http-interceptor/http-error-data.interface.d.ts +20 -0
- package/lib/core/exceptions-handling/http-interceptor/http-error-response-data.interface.d.ts +7 -0
- package/lib/core/exceptions-handling/http-interceptor/http-exceptions.interceptor.d.ts +11 -0
- package/lib/core/extended-window.interface.d.ts +1 -0
- package/lib/core/http/secure-api/api-url.const.d.ts +2 -0
- package/lib/core/http/secure-api/options.interface.d.ts +14 -0
- package/lib/core/http/secure-api/secure-api.service.d.ts +20 -0
- package/lib/core/legal/legal.component.config.d.ts +5 -0
- package/lib/core/legal/legal.service.d.ts +14 -0
- package/lib/core/legal/refund-policy.service.d.ts +11 -0
- package/lib/core/payment-methods/payment-method-api.interface.d.ts +11 -0
- package/lib/core/payment-methods/payment-method.interface.d.ts +11 -0
- package/lib/core/payment-methods/payment-methods-api.interface.d.ts +10 -0
- package/lib/core/payment-methods/payment-methods-request-params.interface.d.ts +4 -0
- package/lib/core/payment-methods/payment-methods-response.class.d.ts +13 -0
- package/lib/core/payment-methods/payment-methods-response.interface.d.ts +4 -0
- package/lib/core/payment-methods/payment-methods-response.token.d.ts +7 -0
- package/lib/core/payment-methods/payment-methods.service.d.ts +20 -0
- package/lib/core/saved-methods/saved-method-api.interface.d.ts +22 -0
- package/lib/core/saved-methods/saved-method.interface.d.ts +21 -0
- package/lib/core/saved-methods/saved-methods-request-params.interface.d.ts +3 -0
- package/lib/core/saved-methods/saved-methods-response.class.d.ts +7 -0
- package/lib/core/saved-methods/saved-methods-response.interface.d.ts +4 -0
- package/lib/core/saved-methods/saved-methods-response.token.d.ts +7 -0
- package/lib/core/saved-methods/saved-methods.service.d.ts +19 -0
- package/lib/core/settings/auto-redirect-on-status.d.ts +12 -0
- package/lib/core/settings/balance.interface.d.ts +4 -0
- package/lib/core/settings/bonus.interface.d.ts +10 -0
- package/lib/core/settings/configuration.interface.d.ts +5 -0
- package/lib/core/settings/empty-utils-response.error.d.ts +4 -0
- package/lib/core/settings/header-type.enum.d.ts +4 -0
- package/lib/core/settings/offer.interface.d.ts +6 -0
- package/lib/core/settings/project.interface.d.ts +32 -0
- package/lib/core/settings/purchase.interface.d.ts +47 -0
- package/lib/core/settings/settings-mode.enum.d.ts +3 -0
- package/lib/core/settings/settings.interface.d.ts +45 -0
- package/lib/core/settings/settings.service.d.ts +30 -0
- package/lib/core/settings/status-back-show.d.ts +14 -0
- package/lib/core/settings/tracking-info.interface.d.ts +5 -0
- package/lib/core/settings/user.interface.d.ts +23 -0
- package/lib/core/settings/utils-response.interface.d.ts +16 -0
- package/lib/core/user-balance/user-balance-api.interface.d.ts +4 -0
- package/lib/core/user-balance/user-balance-request-params.interface.d.ts +3 -0
- package/lib/core/user-balance/user-balance-response.class.d.ts +6 -0
- package/lib/core/user-balance/user-balance-response.token.d.ts +7 -0
- package/lib/core/user-balance/user-balance.service.d.ts +17 -0
- package/lib/core/window.token.d.ts +3 -0
- package/lib/core-library.module.d.ts +2 -2
- package/lib/core-library.service.d.ts +27 -0
- package/package.json +4 -3
- package/public-api.d.ts +1 -1
- package/xsolla-payment-client-core-0.0.3-1.tgz +0 -0
- package/esm2020/lib/core-library.component.mjs +0 -11
- package/lib/core-library.component.d.ts +0 -5
- package/xsolla-payment-client-core-0.0.1.tgz +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Purchase {
|
|
2
|
+
purchase_type: 'virtual_currency' | 'pay2play' | 'subscription';
|
|
3
|
+
checkout?: {
|
|
4
|
+
amount: number;
|
|
5
|
+
currency: string;
|
|
6
|
+
};
|
|
7
|
+
virtual_items?: {
|
|
8
|
+
currency: string;
|
|
9
|
+
items: Array<{
|
|
10
|
+
amount: number;
|
|
11
|
+
sku: string;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
virtual_currency?: {
|
|
15
|
+
quantity: number;
|
|
16
|
+
currency: string;
|
|
17
|
+
};
|
|
18
|
+
subscription?: {
|
|
19
|
+
allow_modify: boolean;
|
|
20
|
+
currency: string;
|
|
21
|
+
description: string;
|
|
22
|
+
external_id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
plan_id: string;
|
|
25
|
+
trial_days: null;
|
|
26
|
+
};
|
|
27
|
+
payment_system?: {
|
|
28
|
+
id: number;
|
|
29
|
+
allow_modify: boolean;
|
|
30
|
+
allow_recurrent: boolean;
|
|
31
|
+
allow_repayment: boolean;
|
|
32
|
+
};
|
|
33
|
+
order?: {
|
|
34
|
+
id: number;
|
|
35
|
+
currency: string;
|
|
36
|
+
lineitems: Array<{
|
|
37
|
+
id: number;
|
|
38
|
+
amount: string;
|
|
39
|
+
price: {
|
|
40
|
+
amount: string;
|
|
41
|
+
};
|
|
42
|
+
quantity: number;
|
|
43
|
+
sku: string;
|
|
44
|
+
tax_category: string;
|
|
45
|
+
}>;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AutoRedirectOnStatus } from './auto-redirect-on-status';
|
|
2
|
+
import { StatusBackShow } from './status-back-show';
|
|
3
|
+
import { HeaderType } from './header-type.enum';
|
|
4
|
+
import { SettingsMode } from './settings-mode.enum';
|
|
5
|
+
export interface Settings {
|
|
6
|
+
cdnUrl: string;
|
|
7
|
+
apiURL: string;
|
|
8
|
+
currency?: string;
|
|
9
|
+
theme?: string;
|
|
10
|
+
white_label?: boolean;
|
|
11
|
+
payment_system?: number | null;
|
|
12
|
+
version?: string;
|
|
13
|
+
desktop?: {
|
|
14
|
+
header?: {
|
|
15
|
+
is_visible?: boolean;
|
|
16
|
+
visible_logo?: boolean;
|
|
17
|
+
visible_name?: boolean;
|
|
18
|
+
type?: HeaderType;
|
|
19
|
+
close_button?: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
mobile?: {
|
|
23
|
+
header?: {
|
|
24
|
+
close_button?: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
mode?: SettingsMode;
|
|
28
|
+
user_account?: {
|
|
29
|
+
payment_accounts?: {
|
|
30
|
+
enable?: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
disable_saved_methods?: boolean;
|
|
34
|
+
is_independent_windows?: boolean;
|
|
35
|
+
purchase_external_id?: string;
|
|
36
|
+
paystation2: {
|
|
37
|
+
autoredirect_on_status?: AutoRedirectOnStatus;
|
|
38
|
+
autoredirect_on_time?: string;
|
|
39
|
+
status_back_show?: StatusBackShow;
|
|
40
|
+
status_back_link?: string;
|
|
41
|
+
manual_redirection_action?: string;
|
|
42
|
+
};
|
|
43
|
+
is_prevent_external_link_open?: boolean;
|
|
44
|
+
is_payment_methods_list_mode?: boolean;
|
|
45
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SecureApiClient } from '../http/secure-api/secure-api.service';
|
|
2
|
+
import { DeepReadonly } from '../deep-readonly.type';
|
|
3
|
+
import { InitConfiguration } from './configuration.interface';
|
|
4
|
+
import { User } from './user.interface';
|
|
5
|
+
import { Settings } from './settings.interface';
|
|
6
|
+
import { Purchase } from './purchase.interface';
|
|
7
|
+
import { Project } from './project.interface';
|
|
8
|
+
import { UtilsResponse } from './utils-response.interface';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SettingsService {
|
|
11
|
+
private readonly secureApi;
|
|
12
|
+
get project(): DeepReadonly<Project>;
|
|
13
|
+
get purchase(): DeepReadonly<Purchase>;
|
|
14
|
+
get settings(): DeepReadonly<Settings>;
|
|
15
|
+
get user(): DeepReadonly<User>;
|
|
16
|
+
get utilsResponse(): DeepReadonly<UtilsResponse>;
|
|
17
|
+
get isEmpty(): boolean;
|
|
18
|
+
get token(): string;
|
|
19
|
+
get hasResponse(): boolean;
|
|
20
|
+
isInitialized: boolean;
|
|
21
|
+
private response;
|
|
22
|
+
private _token;
|
|
23
|
+
private sandboxMode;
|
|
24
|
+
constructor(secureApi: SecureApiClient);
|
|
25
|
+
init(configuration: InitConfiguration): Promise<void>;
|
|
26
|
+
isSandboxMode(): boolean;
|
|
27
|
+
private sendRequest;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* none (ни один из статусов),
|
|
3
|
+
* done (статус done),
|
|
4
|
+
* final (статусы done, cancel),
|
|
5
|
+
* virtual_operation (статус оплаты виртуальной валютой)
|
|
6
|
+
* all (все статусы)
|
|
7
|
+
*/
|
|
8
|
+
export declare enum StatusBackShow {
|
|
9
|
+
none = "none",
|
|
10
|
+
done = "done",
|
|
11
|
+
final = "final",
|
|
12
|
+
virtual_operation = "virtual_operation",
|
|
13
|
+
all = "all"
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Balance } from './balance.interface';
|
|
2
|
+
export interface User {
|
|
3
|
+
requisites: {
|
|
4
|
+
id: string;
|
|
5
|
+
value: string;
|
|
6
|
+
v2: string | null;
|
|
7
|
+
};
|
|
8
|
+
session_id: string;
|
|
9
|
+
country: {
|
|
10
|
+
allow_modify: boolean;
|
|
11
|
+
localized_name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
local: string;
|
|
15
|
+
age: number | null;
|
|
16
|
+
email: {
|
|
17
|
+
value: string;
|
|
18
|
+
} | null;
|
|
19
|
+
uuid: string | null;
|
|
20
|
+
ip: string | null;
|
|
21
|
+
utm_parameters: string | null;
|
|
22
|
+
user_balance: Balance | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Bonus } from './bonus.interface';
|
|
2
|
+
import { Project } from './project.interface';
|
|
3
|
+
import { Purchase } from './purchase.interface';
|
|
4
|
+
import { Settings } from './settings.interface';
|
|
5
|
+
import { User } from './user.interface';
|
|
6
|
+
export interface UtilsResponse {
|
|
7
|
+
project: Project;
|
|
8
|
+
purchase: Purchase;
|
|
9
|
+
settings: Settings;
|
|
10
|
+
user: User;
|
|
11
|
+
purchase_external_id: string | null;
|
|
12
|
+
xsolla_product_tag: string | null;
|
|
13
|
+
experimentGroup: string | null;
|
|
14
|
+
save_payment_account: boolean | null;
|
|
15
|
+
bonus: Bonus | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
+
import { UserBalanceResponse } from './user-balance-response.class';
|
|
3
|
+
type ResponseParameters = ConstructorParameters<typeof UserBalanceResponse>;
|
|
4
|
+
export type UserBalanceResponseFactory = (...args: ResponseParameters) => UserBalanceResponse;
|
|
5
|
+
export declare const userBalanceResponseFactoryToken: InjectionToken<UserBalanceResponseFactory>;
|
|
6
|
+
export declare const userBalanceResponseFactoryProvider: ValueProvider;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SecureApiClient } from '../http/secure-api/secure-api.service';
|
|
2
|
+
import { SettingsService } from '../settings/settings.service';
|
|
3
|
+
import { UserBalanceResponseFactory } from './user-balance-response.token';
|
|
4
|
+
import { UserBalanceResponse } from './user-balance-response.class';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserBalanceService {
|
|
7
|
+
private readonly responseFactory;
|
|
8
|
+
private readonly settingsService;
|
|
9
|
+
private readonly secureApi;
|
|
10
|
+
private readonly apiRoute;
|
|
11
|
+
private readonly cache;
|
|
12
|
+
constructor(responseFactory: UserBalanceResponseFactory, settingsService: SettingsService, secureApi: SecureApiClient);
|
|
13
|
+
getUserBalance(): Promise<UserBalanceResponse>;
|
|
14
|
+
private request;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserBalanceService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserBalanceService>;
|
|
17
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
2
|
+
import * as i1 from "@angular/common/http";
|
|
3
3
|
export declare class CoreLibraryModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreLibraryModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreLibraryModule, [typeof i1.
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreLibraryModule, never, [typeof i1.HttpClientModule], never>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoreLibraryModule>;
|
|
7
7
|
}
|
|
@@ -1,5 +1,32 @@
|
|
|
1
|
+
import { InitConfiguration } from './core/settings/configuration.interface';
|
|
2
|
+
import { SettingsService } from './core/settings/settings.service';
|
|
3
|
+
import { CountryService } from './core/country/country.service';
|
|
4
|
+
import { PaymentMethodsService } from './core/payment-methods/payment-methods.service';
|
|
5
|
+
import { PaymentMethod } from './core/payment-methods/payment-method.interface';
|
|
6
|
+
import { SavedMethodsService } from './core/saved-methods/saved-methods.service';
|
|
7
|
+
import { SavedMethod } from './core/saved-methods/saved-method.interface';
|
|
8
|
+
import { UserBalanceResponse } from './core/user-balance/user-balance-response.class';
|
|
9
|
+
import { UserBalanceService } from './core/user-balance/user-balance.service';
|
|
10
|
+
import { LegalService } from './core/legal/legal.service';
|
|
11
|
+
import { LegalComponentConfig } from './core/legal/legal.component.config';
|
|
1
12
|
import * as i0 from "@angular/core";
|
|
2
13
|
export declare class CoreLibraryService {
|
|
14
|
+
private readonly settingsService;
|
|
15
|
+
private readonly countryService;
|
|
16
|
+
private readonly paymentMethodsService;
|
|
17
|
+
private readonly savedMethodsService;
|
|
18
|
+
private readonly userBalanceService;
|
|
19
|
+
private readonly legalService;
|
|
20
|
+
paymentMethods: {
|
|
21
|
+
getList: () => Promise<PaymentMethod[]>;
|
|
22
|
+
getQuickMethods: () => Promise<PaymentMethod[]>;
|
|
23
|
+
getSavedMethods: () => Promise<SavedMethod[]>;
|
|
24
|
+
getUserBalance: () => Promise<UserBalanceResponse>;
|
|
25
|
+
};
|
|
26
|
+
constructor(settingsService: SettingsService, countryService: CountryService, paymentMethodsService: PaymentMethodsService, savedMethodsService: SavedMethodsService, userBalanceService: UserBalanceService, legalService: LegalService);
|
|
27
|
+
init(configuration: InitConfiguration): Promise<void>;
|
|
28
|
+
setCountry(country: string): void;
|
|
29
|
+
getLegalComponentConfig(): LegalComponentConfig;
|
|
3
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreLibraryService, never>;
|
|
4
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<CoreLibraryService>;
|
|
5
32
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/payment-client-core",
|
|
3
|
-
"version": "0.0.1",
|
|
3
|
+
"version": "0.0.3-1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^15.2.
|
|
6
|
-
"@angular/core": "^15.2.
|
|
5
|
+
"@angular/common": "^15.2.6",
|
|
6
|
+
"@angular/core": "^15.2.6",
|
|
7
|
+
"@angular/platform-browser-dynamic": "^15.2.6"
|
|
7
8
|
},
|
|
8
9
|
"dependencies": {
|
|
9
10
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CoreLibraryComponent {
|
|
4
|
-
}
|
|
5
|
-
CoreLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: CoreLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
CoreLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: CoreLibraryComponent, selector: "x-payment-client-core", ngImport: i0, template: ` <p>core-library works!</p> `, isInline: true });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: CoreLibraryComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'x-payment-client-core', template: ` <p>core-library works!</p> ` }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS1saWJyYXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL3BheW1lbnQtY2xpZW50LWNvcmUvc3JjL2xpYi9jb3JlLWxpYnJhcnkuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzFDLE1BQU0sT0FBTyxvQkFBb0I7O2lIQUFwQixvQkFBb0I7cUdBQXBCLG9CQUFvQiw2REFIckIsOEJBQThCOzJGQUc3QixvQkFBb0I7a0JBTGhDLFNBQVM7K0JBQ0UsdUJBQXVCLFlBQ3ZCLDhCQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd4LXBheW1lbnQtY2xpZW50LWNvcmUnLFxuICB0ZW1wbGF0ZTogYCA8cD5jb3JlLWxpYnJhcnkgd29ya3MhPC9wPiBgLFxuICBzdHlsZXM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBDb3JlTGlicmFyeUNvbXBvbmVudCB7fVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CoreLibraryComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CoreLibraryComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoreLibraryComponent, "x-payment-client-core", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
Binary file
|