@zeniai/client-epic-state 4.11.90 → 4.11.92
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.
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const toAnimationsFileName: (v: string) => "AIPoweredInvoiceDark" | "AIPoweredInvoiceLight" | "Angry" | "Confetti" | "ConfettiExplosion" | "FastestWayDark" | "FastestWayLight" | "FinanceTeamDark" | "FinanceTeamLight" | "Happy" | "MoneyTransferSuccess" | "MultiLevelApprovalDark" | "MultiLevelApprovalLight" | "NotHappy" | "ReceiptDark" | "ReceiptLight" | "ReimburseDark" | "ReimburseLight" | "RewardsDark" | "RewardsDarkHover" | "RewardsLight" | "RewardsLightHover" | "Success" | "VeryHappy";
|
|
2
|
+
export declare type AnimationFileName = ReturnType<typeof toAnimationsFileName>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toAnimationsFileName = void 0;
|
|
4
|
+
const stringToUnion_1 = require("./stringToUnion");
|
|
5
|
+
const ALL_ANIMATIONS_FILE_NAMES = [
|
|
6
|
+
'AIPoweredInvoiceDark',
|
|
7
|
+
'AIPoweredInvoiceLight',
|
|
8
|
+
'Angry',
|
|
9
|
+
'Confetti',
|
|
10
|
+
'ConfettiExplosion',
|
|
11
|
+
'FastestWayDark',
|
|
12
|
+
'FastestWayLight',
|
|
13
|
+
'FinanceTeamDark',
|
|
14
|
+
'FinanceTeamLight',
|
|
15
|
+
'Happy',
|
|
16
|
+
'MoneyTransferSuccess',
|
|
17
|
+
'MultiLevelApprovalDark',
|
|
18
|
+
'MultiLevelApprovalLight',
|
|
19
|
+
'NotHappy',
|
|
20
|
+
'ReceiptDark',
|
|
21
|
+
'ReceiptLight',
|
|
22
|
+
'ReimburseDark',
|
|
23
|
+
'ReimburseLight',
|
|
24
|
+
'RewardsDark',
|
|
25
|
+
'RewardsDarkHover',
|
|
26
|
+
'RewardsLight',
|
|
27
|
+
'RewardsLightHover',
|
|
28
|
+
'Success',
|
|
29
|
+
'VeryHappy',
|
|
30
|
+
];
|
|
31
|
+
const toAnimationsFileName = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_ANIMATIONS_FILE_NAMES);
|
|
32
|
+
exports.toAnimationsFileName = toAnimationsFileName;
|
package/lib/index.d.ts
CHANGED
|
@@ -471,6 +471,8 @@ import { OnboardingCustomerListUIState } from './view/onboardingView/cockpitView
|
|
|
471
471
|
import { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCompletedFetchState, isAnyFetchInProgress, isAllFetchCompleted } from './commonStateTypes/reduceFetchState';
|
|
472
472
|
import { SortOrder } from './commonStateTypes/selectorTypes/sortOrderTypes';
|
|
473
473
|
import { ALL_FILE_TYPES, FileType, toFileTypeStrict } from './commonStateTypes/fileType';
|
|
474
|
+
import { AnimationFileName } from './commonStateTypes/animations';
|
|
475
|
+
export { AnimationFileName };
|
|
474
476
|
import { getNextNthWorkingDay, getPreviousNthWorkingDay, isHolidayToday, filterDays, getYearsList, holidaysFormatted, isHoliday, PAYMENT_BUSINESS_DAYS } from './commonStateTypes/workingDayHelper';
|
|
475
477
|
export { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCompletedFetchState, isAnyFetchInProgress, isAllFetchCompleted, SortOrder, ALL_FILE_TYPES, FileType, toFileTypeStrict, };
|
|
476
478
|
export { getNextNthWorkingDay, getPreviousNthWorkingDay, isHolidayToday, filterDays, getYearsList, isHoliday, holidaysFormatted, PAYMENT_BUSINESS_DAYS, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.92",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|