@mindbill/angular 0.18.1 → 0.20.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindbill/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.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.30.0",
|
|
14
14
|
"tslib": "^2.8.1"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _mindbill_browser from '@mindbill/browser';
|
|
2
|
-
import { BillLifecycleData, BillLifecycleClientOptions, CloseBillInput, PostBillPaymentInput, ResubmitBillInput, SubmitNewBillInput, SubmitSecondReviewInput, SendDuplicateBillInput, ReportBillStatusInput,
|
|
2
|
+
import { BillLifecycleData, BillLifecycleClientOptions, CloseBillInput, PostBillPaymentInput, ResubmitBillInput, SubmitNewBillInput, SubmitSecondReviewInput, SendDuplicateBillInput, ReportBillStatusInput, BrowserBillSubmissionDocument, BrowserBillCreateInput, BillLifecycleSessionProvider, BrowserBillSubmissionInput, BrowserBillSubmissionResult, BillReviewPayer, BillReviewPayerOption, BillDiagnosisCode, CorrectionDraft, ReportBillStatusId, BillDeliveryOptions, BillSubmissionRoute, BillDeliveryOption, BillRejection, BillTasksDashboardData, BillTasksAgingBucket, BillTasksDashboardSection, BillTasksDashboardRow, OrganizationProfileData, OrganizationPracticeIdentity, OrganizationBillingProviderInput, OrganizationLocationInput } from '@mindbill/browser';
|
|
3
3
|
export { BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleSession, BillLifecycleSessionProvider, BillRejection, BillRejectionIssue, BillReviewData, BillReviewPayer, BillReviewPayerOption, BillSubmissionRoute, BillTasksAgingBucket, BillTasksDashboardData, BillTasksDashboardItem, BillTasksDashboardRow, BillTasksDashboardSection, BillTasksDashboardSectionInput, BillTasksDashboardTone, BrowserBillCreateInput, BrowserBillSubmissionInput, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, REPORT_BILL_STATUS_OPTIONS, ReportBillStatusActionInput, ReportBillStatusContacts, ReportBillStatusId, ReportBillStatusInput, ReportBillStatusOption, SendDuplicateBillInput, SubmitSecondReviewInput, defaultBillReviewPayerOption, reportBillStatusContacts } from '@mindbill/browser';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import {
|
|
5
|
+
import { OnChanges, EventEmitter, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
6
6
|
import * as _mindbill_angular from '@mindbill/angular';
|
|
7
7
|
|
|
8
8
|
declare class MindBillLifecycleStore {
|
|
@@ -20,6 +20,7 @@ declare class MindBillLifecycleStore {
|
|
|
20
20
|
getDeliveryOptions(): Promise<_mindbill_browser.BillDeliveryOptions>;
|
|
21
21
|
getAttachment(id: string): Promise<Blob>;
|
|
22
22
|
getEor(id: string): Promise<Blob>;
|
|
23
|
+
prepareIbrPacket(): Promise<Blob>;
|
|
23
24
|
closeBill(input: CloseBillInput): Promise<BillLifecycleData>;
|
|
24
25
|
postPayment(input: PostBillPaymentInput): Promise<BillLifecycleData>;
|
|
25
26
|
resubmitBill(input: ResubmitBillInput): Promise<BillLifecycleData>;
|
|
@@ -48,68 +49,12 @@ type MindBillAngularAppearance = {
|
|
|
48
49
|
};
|
|
49
50
|
declare function mindBillAngularAppearanceStyle(appearance?: MindBillAngularAppearance): Record<string, string>;
|
|
50
51
|
|
|
51
|
-
declare function billRejectionIssues(rejection: BillRejection): BillRejectionIssue[];
|
|
52
|
-
declare function billRejectionIssueSummary(rejection: BillRejection, count: number): string;
|
|
53
|
-
|
|
54
52
|
type MindBillComboOption = {
|
|
55
53
|
id: string;
|
|
56
54
|
label: string;
|
|
57
55
|
detail?: string;
|
|
58
56
|
};
|
|
59
|
-
/** Styled searchable dropdown shared by the submission form's procedure,
|
|
60
|
-
* modifier, taxonomy, payer, and diagnosis pickers. Mirrors the React
|
|
61
|
-
* package's ComboBox: query filtering, optional custom-code creation,
|
|
62
|
-
* loading states, and infinite scroll via (endReached). */
|
|
63
|
-
declare class MindBillComboBoxComponent {
|
|
64
|
-
value: string;
|
|
65
|
-
placeholder: string;
|
|
66
|
-
options: MindBillComboOption[];
|
|
67
|
-
disabled: boolean;
|
|
68
|
-
loading: boolean;
|
|
69
|
-
loadingMore: boolean;
|
|
70
|
-
invalid: boolean;
|
|
71
|
-
preserveValueOnOpen: boolean;
|
|
72
|
-
ariaLabel: string;
|
|
73
|
-
createOption?: (query: string) => MindBillComboOption | null;
|
|
74
|
-
opened: EventEmitter<void>;
|
|
75
|
-
queryChange: EventEmitter<string>;
|
|
76
|
-
endReached: EventEmitter<void>;
|
|
77
|
-
selected: EventEmitter<MindBillComboOption>;
|
|
78
|
-
open: boolean;
|
|
79
|
-
query: string;
|
|
80
|
-
private closeTimer?;
|
|
81
|
-
get visible(): MindBillComboOption[];
|
|
82
|
-
get showMenu(): boolean;
|
|
83
|
-
onFocus(): void;
|
|
84
|
-
onInput(event: Event): void;
|
|
85
|
-
onBlur(): void;
|
|
86
|
-
onScroll(event: Event): void;
|
|
87
|
-
choose(option: MindBillComboOption): void;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillComboBoxComponent, never>;
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillComboBoxComponent, "mindbill-combo-box", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "preserveValueOnOpen": { "alias": "preserveValueOnOpen"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "createOption": { "alias": "createOption"; "required": false; }; }, { "opened": "opened"; "queryChange": "queryChange"; "endReached": "endReached"; "selected": "selected"; }, never, never, true, never>;
|
|
90
|
-
}
|
|
91
|
-
/** MM/DD/YYYY masked date input. Emits only parseable ISO dates (or "" when
|
|
92
|
-
* cleared) and reformats the display once a complete date round-trips, exactly
|
|
93
|
-
* like the React package's TextDateInput. */
|
|
94
|
-
declare class MindBillDateInputComponent implements OnChanges {
|
|
95
|
-
value: string | null | undefined;
|
|
96
|
-
disabled: boolean;
|
|
97
|
-
ariaLabel: string;
|
|
98
|
-
valueChange: EventEmitter<string>;
|
|
99
|
-
display: string;
|
|
100
|
-
invalid: boolean;
|
|
101
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
102
|
-
onInput(event: Event): void;
|
|
103
|
-
onBlur(): void;
|
|
104
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillDateInputComponent, never>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillDateInputComponent, "mindbill-date-input", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
106
|
-
}
|
|
107
57
|
|
|
108
|
-
/** Date helpers shared by the Angular submission surfaces. Mirrors the React
|
|
109
|
-
* package's parseBillSubmissionDate/formatBillSubmissionDate exactly so both
|
|
110
|
-
* frameworks accept and render the same values. */
|
|
111
|
-
declare function parseMindBillSubmissionDate(value: string): string | undefined;
|
|
112
|
-
declare function formatMindBillSubmissionDate(value: string | null | undefined): string;
|
|
113
58
|
type MindBillProcedureComboOption = {
|
|
114
59
|
id: string;
|
|
115
60
|
label: string;
|
|
@@ -256,11 +201,13 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
256
201
|
method: "check" | "eft";
|
|
257
202
|
depositDate: string;
|
|
258
203
|
};
|
|
259
|
-
|
|
204
|
+
reviewLines: Array<CorrectionDraft & {
|
|
205
|
+
id: string;
|
|
206
|
+
code: string;
|
|
207
|
+
selected: boolean;
|
|
260
208
|
reason: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
};
|
|
209
|
+
}>;
|
|
210
|
+
reviewError: string;
|
|
264
211
|
readonly reportStatusOptions: _mindbill_browser.ReportBillStatusOption[];
|
|
265
212
|
report: {
|
|
266
213
|
status: ReportBillStatusId | null;
|
|
@@ -303,6 +250,7 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
303
250
|
reportStatus(): Promise<void>;
|
|
304
251
|
openAttachment(id: string, filename: string): Promise<void>;
|
|
305
252
|
openEor(id: string, filename: string): Promise<void>;
|
|
253
|
+
prepareIbrPacket(): Promise<void>;
|
|
306
254
|
postPayment(): Promise<void>;
|
|
307
255
|
submitReview(): Promise<void>;
|
|
308
256
|
closeBill(): Promise<void>;
|
|
@@ -470,10 +418,6 @@ type MindBillStatusAgingMatrix = {
|
|
|
470
418
|
columnTotals: MindBillStatusAgingCell[];
|
|
471
419
|
grandTotal: MindBillStatusAgingCell;
|
|
472
420
|
};
|
|
473
|
-
declare const MINDBILL_STATUS_AGING_BUCKETS: {
|
|
474
|
-
id: MindBillAgingBucketId;
|
|
475
|
-
label: string;
|
|
476
|
-
}[];
|
|
477
421
|
declare function buildMindBillStatusAgingMatrix(bills: MindBillDashboardBill[], stateOrder?: string[], now?: Date): MindBillStatusAgingMatrix;
|
|
478
422
|
declare function buildMindBillStatusAgingCsv(bills: MindBillDashboardBill[], stateOrder?: string[]): string;
|
|
479
423
|
|
|
@@ -503,12 +447,6 @@ type MindBillBillTasksCell = {
|
|
|
503
447
|
refs: string[];
|
|
504
448
|
count: number;
|
|
505
449
|
};
|
|
506
|
-
declare const MINDBILL_BILL_TASKS_TONES: Record<BillTasksDashboardTone, string>;
|
|
507
|
-
declare const MINDBILL_BILL_TASKS_PILL_BASES: string[];
|
|
508
|
-
declare function mindBillBillTasksTone(tone: BillTasksDashboardTone): string;
|
|
509
|
-
declare function mindBillBillTasksPillBase(index: number): string;
|
|
510
|
-
/** Click-through payload for a bucket cell (bucketIndex) or a row total (null). */
|
|
511
|
-
declare function mindBillBillTasksCell(section: BillTasksDashboardSection, row: BillTasksDashboardRow, bucketIndex: number | null, buckets: BillTasksAgingBucket[]): MindBillBillTasksCell;
|
|
512
450
|
|
|
513
451
|
declare class MindBillBillTasksDashboardComponent {
|
|
514
452
|
data: BillTasksDashboardData | null;
|
|
@@ -594,5 +532,5 @@ declare class MindBillOrganizationOnboardingComponent implements OnInit {
|
|
|
594
532
|
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>;
|
|
595
533
|
}
|
|
596
534
|
|
|
597
|
-
export {
|
|
535
|
+
export { MindBillBillAgingSummaryComponent, MindBillBillLifecycleComponent, MindBillBillListComponent, MindBillBillRejectionNoticeComponent, MindBillBillSubmissionComponent, MindBillBillTasksDashboardComponent, MindBillBillingDashboardComponent, MindBillBillingManagementButtonComponent, MindBillBillingReportComponent, MindBillLifecycleStore, MindBillOrganizationOnboardingComponent, MindBillStatusAgingMatrixComponent, buildMindBillReportCsv, buildMindBillReportRows, buildMindBillStatusAgingCsv, buildMindBillStatusAgingMatrix, ensureTrailingProcedureLine, isEmptyProcedureLine, mindBillAgingBucket, mindBillAgingDays, mindBillAngularAppearanceStyle, summarizeMindBillDashboard };
|
|
598
536
|
export type { MindBillAgingBucket, MindBillAgingBucketId, MindBillAngularAppearance, MindBillAngularThemePreset, MindBillBillTasksCell, MindBillComboOption, MindBillDashboardBill, MindBillDashboardSummary, MindBillManagementSession, MindBillManagementSessionProvider, MindBillProcedureComboOption, MindBillReportDimension, MindBillReportRow, MindBillStatusAgingCell, MindBillStatusAgingMatrix, MindBillStatusAgingRow, MindBillSubmissionAttachment, MindBillSubmissionModifierOption, MindBillSubmissionProcedureOption, MindBillSubmissionTaxonomyOption, ProcedureLine };
|