@mindbill/angular 0.4.0 → 0.4.2
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 +3 -7
- package/fesm2022/mindbill-angular.mjs +96 -598
- package/fesm2022/mindbill-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mindbill-angular.d.ts +7 -85
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Native Angular billing UI with built-in session renewal and lifecycle API calls.
|
|
|
6
6
|
npm install @mindbill/angular @mindbill/node
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Import the standalone component
|
|
9
|
+
Import the standalone component and pass the ID returned by your server's atomic create-and-submit request.
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
12
|
import { Component } from "@angular/core";
|
|
@@ -18,11 +18,9 @@ import { MindBillBillLifecycleComponent } from "@mindbill/angular";
|
|
|
18
18
|
imports: [MindBillBillLifecycleComponent],
|
|
19
19
|
template: `
|
|
20
20
|
<mindbill-bill-lifecycle
|
|
21
|
-
[
|
|
21
|
+
[billId]="billId"
|
|
22
22
|
sessionEndpoint="/api/mindbill/session"
|
|
23
23
|
[appearance]="{ preset: 'clinical-blue' }"
|
|
24
|
-
(billCreated)="rememberBill($event)"
|
|
25
|
-
(billIdChange)="billId = $event"
|
|
26
24
|
/>
|
|
27
25
|
`,
|
|
28
26
|
})
|
|
@@ -31,9 +29,7 @@ export class CaseBillingComponent {
|
|
|
31
29
|
}
|
|
32
30
|
```
|
|
33
31
|
|
|
34
|
-
The component loads and refreshes
|
|
35
|
-
|
|
36
|
-
Procedure entry always keeps one empty row after the entered lines. Starting a code, modifier, or non-default unit count opens the next row automatically; the empty row is never included in save or submit payloads.
|
|
32
|
+
The component loads and refreshes submitted-bill status, shows EORs, and exposes the correct payment, review, and close actions for the current state. It never creates or edits a bill.
|
|
37
33
|
|
|
38
34
|
Add one authenticated server endpoint. It maps the signed-in user's role to permissions and mints a short-lived token bound to your organization, that user, and the browser origin.
|
|
39
35
|
|