Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating angular version from 17 to 18 #163

Merged
merged 9 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
dist/
2 changes: 2 additions & 0 deletions chargebee-js-angular/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# compiled output
/tmp
/out-tsc
/dist

# Only exists if Bazel was run
/bazel-out

Expand Down
41 changes: 25 additions & 16 deletions chargebee-js-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,6 @@ In your `index.html`:

### Basic usage

In your angular module

app.module.ts

```ts
import { ChargebeeJsAngularWrapperModule } from '@chargebee/chargebee-js-angular-wrapper';
NgModule({
...
imports: [
...
ChargebeeJsAngularWrapperModule,
]
)}
export class AppModule { }
```

In your angular component

component.html
Expand All @@ -79,6 +63,14 @@ declare var Chargebee;
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
standalone: true,
imports: [
RouterOutlet,
CardFieldDirective,
CvvFieldDirective,
NumberFieldDirective,
ExpiryFieldDirective,
],
})
export class AppComponent {
cardComponent = null;
Expand Down Expand Up @@ -134,6 +126,14 @@ declare var Chargebee;
selector: "app-root",
templateUrl: "./app.component.html",
styleUrls: ["./app.component.css"],
standalone: true,
imports: [
RouterOutlet,
CardFieldDirective,
CvvFieldDirective,
NumberFieldDirective,
ExpiryFieldDirective,
],
})
export class AppComponent {
errorMessage = "";
Expand Down Expand Up @@ -214,6 +214,7 @@ export class AppComponent {
}
```


### 3DS Authorization

In your angular component
Expand All @@ -238,6 +239,14 @@ import { Component } from '@angular/core';
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
standalone: true,
imports: [
RouterOutlet,
CardFieldDirective,
CvvFieldDirective,
NumberFieldDirective,
ExpiryFieldDirective,
],
})
export class AppComponent {
cardComponent = null;
Expand Down

This file was deleted.

24 changes: 0 additions & 24 deletions chargebee-js-angular/dist/chargebee-js-angular-wrapper/LICENSE

This file was deleted.

Loading