@mx-cartographer/experiences 6.3.11 → 6.3.13
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/CHANGELOG.md +9 -0
- package/dist/common/components/Select.d.ts +12 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/constants/Analytics.d.ts +2 -0
- package/dist/common/types/RepeatingTransaction.d.ts +4 -1
- package/dist/common/types/localization/RecurringCopy.d.ts +20 -0
- package/dist/common/utils/PostMessage.d.ts +9 -0
- package/dist/index.es.js +4539 -4475
- package/dist/index.es.js.map +1 -1
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +11 -0
- package/dist/recurringtransactions/components/actions/{FrequencyAction.d.ts → PaymentScheduleAction.d.ts} +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +5 -4
- package/dist/recurringtransactions/util/RecurringTransactions.d.ts +2 -1
- package/package.json +1 -1
- package/dist/recurringtransactions/components/actions/PaymentDateAction.d.ts +0 -8
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Frequency } from '../../common';
|
2
|
+
interface PaymentScheduleProps {
|
3
|
+
frequency: Frequency;
|
4
|
+
firstDay: number;
|
5
|
+
secondDay?: number;
|
6
|
+
onFrequencyChange: (frequency: Frequency) => void;
|
7
|
+
onFirstDayChange: (day: number) => void;
|
8
|
+
onSecondDayChange: (day: number) => void;
|
9
|
+
}
|
10
|
+
export declare const PaymentSchedule: ({ frequency, firstDay, secondDay, onFrequencyChange, onFirstDayChange, onSecondDayChange, }: PaymentScheduleProps) => import("react/jsx-runtime").JSX.Element;
|
11
|
+
export {};
|
@@ -2,7 +2,7 @@ import { RepeatingTransaction } from '../../../common';
|
|
2
2
|
interface FrequencyActionProps {
|
3
3
|
repeatingTransaction: RepeatingTransaction;
|
4
4
|
}
|
5
|
-
export declare const
|
5
|
+
export declare const PaymentScheduleAction: (({ repeatingTransaction }: FrequencyActionProps) => import("react/jsx-runtime").JSX.Element) & {
|
6
6
|
displayName: string;
|
7
7
|
};
|
8
8
|
export {};
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import { Transaction, Frequency } from '../../../../common';
|
2
2
|
interface AddRecurringTransactionDetailsProps {
|
3
3
|
bgcolor?: string;
|
4
|
+
firstDay: number;
|
5
|
+
secondDay?: number;
|
4
6
|
frequency: Frequency;
|
5
|
-
isIncome: boolean;
|
6
|
-
nextDate: Date | null;
|
7
7
|
onFrequencyChange: (frequency: Frequency) => void;
|
8
|
-
|
8
|
+
onFirstDayChange: (day: number) => void;
|
9
|
+
onSecondDayChange: (day: number) => void;
|
9
10
|
transaction: Transaction;
|
10
11
|
}
|
11
|
-
export declare const AddRecurringTransactionDetails: (({ bgcolor,
|
12
|
+
export declare const AddRecurringTransactionDetails: (({ bgcolor, firstDay, secondDay, frequency, onFrequencyChange, onFirstDayChange, onSecondDayChange, transaction, }: AddRecurringTransactionDetailsProps) => import("react/jsx-runtime").JSX.Element) & {
|
12
13
|
displayName: string;
|
13
14
|
};
|
14
15
|
export {};
|
@@ -8,4 +8,5 @@ export declare const buildInstitutionName: (account?: Account) => string;
|
|
8
8
|
export declare const buildAllRecurrences: (repeatingTransactions: RepeatingTransaction[]) => Recurrence[];
|
9
9
|
export declare const augmentRepeatingTransactions: (accounts: Account[], repeatingTransactions: RepeatingTransaction[], transactions: Transaction[]) => RepeatingTransaction[];
|
10
10
|
export declare const groupRecurrencesByDate: (recurrences: Recurrence[]) => GroupedRecurrence[];
|
11
|
-
export declare const getFrequencyLabel: (copy: RecurringCopy,
|
11
|
+
export declare const getFrequencyLabel: (copy: RecurringCopy, repeatingTransaction: RepeatingTransaction, showOrdinal: boolean) => string;
|
12
|
+
export declare const getNextPaymentDate: (frequency: Frequency, date: Date) => Date;
|
package/package.json
CHANGED
@@ -1,8 +0,0 @@
|
|
1
|
-
import { RepeatingTransaction } from '../../../common';
|
2
|
-
interface PaymentDateActionProps {
|
3
|
-
repeatingTransaction: RepeatingTransaction;
|
4
|
-
}
|
5
|
-
export declare const PaymentDateAction: (({ repeatingTransaction }: PaymentDateActionProps) => import("react/jsx-runtime").JSX.Element) & {
|
6
|
-
displayName: string;
|
7
|
-
};
|
8
|
-
export {};
|