@mindbill/angular 0.9.0 → 0.11.0
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 +26 -0
- package/fesm2022/mindbill-angular.mjs +216 -19
- package/fesm2022/mindbill-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mindbill-angular.d.ts +35 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindbill/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Native Angular components for bill submission, lifecycle, dashboards, aging, lists, and reporting",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"rxjs": ">=7.8 <9"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mindbill/browser": "^0.
|
|
13
|
+
"@mindbill/browser": "^0.14.0",
|
|
14
14
|
"tslib": "^2.8.1"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import * as _mindbill_browser from '@mindbill/browser';
|
|
2
|
+
import { BillLifecycleData, BillLifecycleClientOptions, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput, BillRejection, BillRejectionIssue, BillLifecycleSessionProvider, BrowserBillCreateInput, BrowserBillSubmissionDocument, BrowserBillSubmissionInput, BrowserBillSubmissionResult, BillReviewPayer, BillDiagnosisCode, OrganizationProfileData, OrganizationBillingProviderInput, OrganizationLocationInput } from '@mindbill/browser';
|
|
3
|
+
export { BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleSession, BillLifecycleSessionProvider, BillRejection, BillRejectionIssue, BillReviewData, BillSubmissionRoute, BrowserBillCreateInput, BrowserBillSubmissionInput, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput } from '@mindbill/browser';
|
|
1
4
|
import * as i0 from '@angular/core';
|
|
2
5
|
import { OnChanges, OnDestroy, EventEmitter, SimpleChanges, OnInit } from '@angular/core';
|
|
3
|
-
import { BillLifecycleClientOptions, BillLifecycleData, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput, BillLifecycleSessionProvider, BrowserBillCreateInput, BrowserBillSubmissionDocument, BrowserBillSubmissionInput, BrowserBillSubmissionResult, BillReviewPayer, BillDiagnosisCode, OrganizationProfileData, OrganizationBillingProviderInput, OrganizationLocationInput } from '@mindbill/browser';
|
|
4
|
-
export { BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleSession, BillLifecycleSessionProvider, BillReviewData, BillSubmissionRoute, BrowserBillCreateInput, BrowserBillSubmissionInput, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput } from '@mindbill/browser';
|
|
5
6
|
import * as _mindbill_angular from '@mindbill/angular';
|
|
6
7
|
|
|
7
8
|
declare class MindBillLifecycleStore {
|
|
8
9
|
readonly billId: i0.WritableSignal<string>;
|
|
9
|
-
readonly data: i0.WritableSignal<
|
|
10
|
+
readonly data: i0.WritableSignal<BillLifecycleData>;
|
|
10
11
|
readonly error: i0.WritableSignal<Error>;
|
|
11
12
|
readonly loading: i0.WritableSignal<boolean>;
|
|
12
13
|
readonly mutating: i0.WritableSignal<boolean>;
|
|
@@ -16,9 +17,9 @@ declare class MindBillLifecycleStore {
|
|
|
16
17
|
connect(options: BillLifecycleClientOptions, refreshInterval?: number): void;
|
|
17
18
|
disconnect(): void;
|
|
18
19
|
refresh(): Promise<BillLifecycleData | null>;
|
|
19
|
-
getDeliveryOptions():
|
|
20
|
-
getAttachment(id: string):
|
|
21
|
-
getEor(id: string):
|
|
20
|
+
getDeliveryOptions(): Promise<_mindbill_browser.BillDeliveryOptions>;
|
|
21
|
+
getAttachment(id: string): Promise<Blob>;
|
|
22
|
+
getEor(id: string): Promise<Blob>;
|
|
22
23
|
closeBill(input: CloseBillInput): Promise<BillLifecycleData>;
|
|
23
24
|
postPayment(input: PostBillPaymentInput): Promise<BillLifecycleData>;
|
|
24
25
|
submitSecondReview(input: SubmitSecondReviewInput): Promise<BillLifecycleData>;
|
|
@@ -39,7 +40,13 @@ type MindBillAngularAppearance = {
|
|
|
39
40
|
borderRadius?: string;
|
|
40
41
|
controlRadius?: string;
|
|
41
42
|
fontFamily?: string;
|
|
43
|
+
dangerColor?: string;
|
|
42
44
|
};
|
|
45
|
+
declare function mindBillAngularAppearanceStyle(appearance?: MindBillAngularAppearance): Record<string, string>;
|
|
46
|
+
|
|
47
|
+
declare function billRejectionIssues(rejection: BillRejection): BillRejectionIssue[];
|
|
48
|
+
declare function billRejectionIssueSummary(rejection: BillRejection, count: number): string;
|
|
49
|
+
|
|
43
50
|
declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
44
51
|
billId: string;
|
|
45
52
|
sessionEndpoint: string;
|
|
@@ -74,6 +81,10 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
74
81
|
lifecycleDetail(data: BillLifecycleData): string;
|
|
75
82
|
currentStageIndex(data: BillLifecycleData): number;
|
|
76
83
|
activityLabel(type: string): string;
|
|
84
|
+
private readonly historyExpanded;
|
|
85
|
+
toggleHistory(id: string): void;
|
|
86
|
+
isHistoryOpen(id: string): boolean;
|
|
87
|
+
historyDate(iso: string): string;
|
|
77
88
|
payerContact(data: BillLifecycleData): string;
|
|
78
89
|
beginAction(action: string, data: BillLifecycleData): void;
|
|
79
90
|
openAttachment(id: string, filename: string): Promise<void>;
|
|
@@ -86,6 +97,20 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
86
97
|
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillLifecycleComponent, "mindbill-bill-lifecycle", never, { "billId": { "alias": "billId"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "refreshInterval": { "alias": "refreshInterval"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, { "billingError": "billingError"; }, never, never, true, never>;
|
|
87
98
|
}
|
|
88
99
|
|
|
100
|
+
declare class MindBillBillRejectionNoticeComponent {
|
|
101
|
+
rejection: BillRejection;
|
|
102
|
+
submittedAt: string | null;
|
|
103
|
+
title: string;
|
|
104
|
+
appearance: MindBillAngularAppearance;
|
|
105
|
+
get issues(): _mindbill_browser.BillRejectionIssue[];
|
|
106
|
+
get hasCodes(): boolean;
|
|
107
|
+
get issueSummary(): string;
|
|
108
|
+
get themeStyle(): Record<string, string>;
|
|
109
|
+
formatDate(value: string): string;
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillRejectionNoticeComponent, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillRejectionNoticeComponent, "mindbill-bill-rejection-notice", never, { "rejection": { "alias": "rejection"; "required": true; }; "submittedAt": { "alias": "submittedAt"; "required": false; }; "title": { "alias": "title"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, never, true, never>;
|
|
112
|
+
}
|
|
113
|
+
|
|
89
114
|
type ProcedureLine = {
|
|
90
115
|
id?: string;
|
|
91
116
|
code: string;
|
|
@@ -360,7 +385,9 @@ declare class MindBillBillSubmissionComponent implements OnChanges {
|
|
|
360
385
|
postalStatus: string;
|
|
361
386
|
dragActive: boolean;
|
|
362
387
|
invalidFields: Set<string>;
|
|
363
|
-
readonly quickDiagnoses:
|
|
388
|
+
readonly quickDiagnoses: (BillDiagnosisCode & {
|
|
389
|
+
label: string;
|
|
390
|
+
})[];
|
|
364
391
|
private readonly changeDetector;
|
|
365
392
|
readonly customProcedureOption: typeof mindBillCustomProcedureOption;
|
|
366
393
|
readonly customTaxonomyOption: (query: string) => MindBillComboOption | null;
|
|
@@ -482,5 +509,5 @@ declare class MindBillOrganizationOnboardingComponent implements OnInit {
|
|
|
482
509
|
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillOrganizationOnboardingComponent, "mindbill-organization-onboarding", never, { "appearance": { "alias": "appearance"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "saved$": "saved$"; "completed": "completed"; "organizationError": "organizationError"; }, never, never, true, never>;
|
|
483
510
|
}
|
|
484
511
|
|
|
485
|
-
export { MINDBILL_STATUS_AGING_BUCKETS, MindBillBillAgingSummaryComponent, MindBillBillLifecycleComponent, MindBillBillListComponent, MindBillBillSubmissionComponent, MindBillBillingDashboardComponent, MindBillBillingManagementButtonComponent, MindBillBillingReportComponent, MindBillComboBoxComponent, MindBillDateInputComponent, MindBillLifecycleStore, MindBillOrganizationOnboardingComponent, MindBillStatusAgingMatrixComponent, buildMindBillReportCsv, buildMindBillReportRows, buildMindBillStatusAgingCsv, buildMindBillStatusAgingMatrix, ensureTrailingProcedureLine, formatMindBillSubmissionDate, isEmptyProcedureLine, mindBillAgingBucket, mindBillAgingDays, mindBillCustomProcedureOption, parseMindBillSubmissionDate, summarizeMindBillDashboard };
|
|
512
|
+
export { MINDBILL_STATUS_AGING_BUCKETS, MindBillBillAgingSummaryComponent, MindBillBillLifecycleComponent, MindBillBillListComponent, MindBillBillRejectionNoticeComponent, MindBillBillSubmissionComponent, MindBillBillingDashboardComponent, MindBillBillingManagementButtonComponent, MindBillBillingReportComponent, MindBillComboBoxComponent, MindBillDateInputComponent, MindBillLifecycleStore, MindBillOrganizationOnboardingComponent, MindBillStatusAgingMatrixComponent, billRejectionIssueSummary, billRejectionIssues, buildMindBillReportCsv, buildMindBillReportRows, buildMindBillStatusAgingCsv, buildMindBillStatusAgingMatrix, ensureTrailingProcedureLine, formatMindBillSubmissionDate, isEmptyProcedureLine, mindBillAgingBucket, mindBillAgingDays, mindBillAngularAppearanceStyle, mindBillCustomProcedureOption, parseMindBillSubmissionDate, summarizeMindBillDashboard };
|
|
486
513
|
export type { MindBillAgingBucket, MindBillAgingBucketId, MindBillAngularAppearance, MindBillAngularThemePreset, MindBillComboOption, MindBillDashboardBill, MindBillDashboardSummary, MindBillManagementSession, MindBillManagementSessionProvider, MindBillProcedureComboOption, MindBillReportDimension, MindBillReportRow, MindBillStatusAgingCell, MindBillStatusAgingMatrix, MindBillStatusAgingRow, MindBillSubmissionAttachment, MindBillSubmissionModifierOption, MindBillSubmissionProcedureOption, MindBillSubmissionTaxonomyOption, ProcedureLine };
|