spotlibs-components 0.1.11 → 0.1.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.
Files changed (50) hide show
  1. package/dist/{components/atoms → atoms}/icons/index.mjs +2 -2
  2. package/dist/{components/index.d.mts → index.d.mts} +1 -1
  3. package/dist/{components/index.mjs → index.mjs} +490 -678
  4. package/dist/index.mjs.map +1 -0
  5. package/dist/{components/mui → mui}/index.mjs +1 -1
  6. package/dist/{types-BkrxwBFm.d.mts → types-D1akE7ak.d.mts} +87 -149
  7. package/dist/types.d.mts +4 -0
  8. package/dist/utils/index.d.mts +104 -184
  9. package/package.json +3 -2
  10. package/src/utils/admin-kuota-nasional/constant.d.ts +23 -0
  11. package/src/utils/asset.d.ts +1 -0
  12. package/src/utils/booleanUtils.d.ts +2 -0
  13. package/src/utils/briguna-digital/constant.d.ts +2 -0
  14. package/src/utils/compress.d.ts +2 -0
  15. package/src/utils/compressImage.d.ts +6 -0
  16. package/src/utils/constants.d.ts +5 -0
  17. package/src/utils/cookies.d.ts +19 -0
  18. package/src/utils/crypto.d.ts +5 -0
  19. package/src/utils/decodeString.d.ts +1 -0
  20. package/src/utils/disableFormElements.d.ts +5 -0
  21. package/src/utils/excelUtils.d.ts +25 -0
  22. package/src/utils/exception.d.ts +19 -0
  23. package/src/utils/formatString.d.ts +25 -0
  24. package/src/utils/formatters/account.d.ts +2 -0
  25. package/src/utils/formatters/currency.d.ts +20 -0
  26. package/src/utils/formatters/date.d.ts +12 -0
  27. package/src/utils/formatters/index.d.ts +47 -0
  28. package/src/utils/formatters/string.d.ts +6 -0
  29. package/src/utils/generateImportExcel.d.ts +35 -0
  30. package/src/utils/generateTimestamp.d.ts +1 -0
  31. package/src/utils/handleApiError.d.ts +1 -0
  32. package/src/utils/index.d.ts +104 -0
  33. package/src/utils/json.d.ts +4 -0
  34. package/src/utils/localStorage.d.ts +1 -0
  35. package/src/utils/logger.d.ts +4 -0
  36. package/src/utils/schema/globalSchema.d.ts +8 -0
  37. package/src/utils/signature.d.ts +10 -0
  38. package/src/utils/specifics/korporasi/prakarsaKorporasiUtils.d.ts +5 -0
  39. package/src/utils/specifics/mikro/validationMaintenanceAgunanUtils.d.ts +2 -0
  40. package/src/utils/status.d.ts +37 -0
  41. package/src/utils/stringUtils.d.ts +22 -0
  42. package/src/utils/tipeBank.d.ts +3 -0
  43. package/dist/components/index.mjs.map +0 -1
  44. package/dist/components/types.d.mts +0 -4
  45. /package/dist/{components/atoms → atoms}/icons/index.d.mts +0 -0
  46. /package/dist/{components/atoms → atoms}/icons/index.mjs.map +0 -0
  47. /package/dist/{components/mui → mui}/index.d.mts +0 -0
  48. /package/dist/{components/mui → mui}/index.mjs.map +0 -0
  49. /package/dist/{components/types.mjs → types.mjs} +0 -0
  50. /package/dist/{components/types.mjs.map → types.mjs.map} +0 -0
@@ -0,0 +1,23 @@
1
+ export declare const OPTION_SELECT_PRODUK: Array<{ label: string; value: string }>;
2
+ export declare const OPTION_STATUS_KUOTA: Array<{ label: string; value: number }>;
3
+ export declare const STATUS_CONFIG: Record<number, { label: string; color: string; disabled: boolean }>;
4
+ export declare const STATUS_AKTIVASI: Record<
5
+ number,
6
+ { label: string; bg: string; color: string; borderRadius: string }
7
+ >;
8
+ export declare const STATUS_PUTUSAN: Record<number, { label: string }>;
9
+ export declare const ROLE_STATUS_MAP: Record<string, string>;
10
+ export declare const APPROVAL_ACTION_CONFIG: Record<
11
+ string,
12
+ {
13
+ title: string;
14
+ button_desc: string;
15
+ button_color: string;
16
+ description: string;
17
+ response: string;
18
+ }
19
+ >;
20
+ export declare const APPROVAL_CODE_BY_ROLE: Record<
21
+ string,
22
+ { terima: string; kembalikan: string; tolak: string }
23
+ >;
@@ -0,0 +1 @@
1
+ export declare function callAsset(uri?: string): string;
@@ -0,0 +1,2 @@
1
+ export declare function checkRoleUser(roles: string[], listRole: string[]): boolean;
2
+ export declare function toggleUsingDummyWbenchEndpoint(status: boolean): boolean;
@@ -0,0 +1,2 @@
1
+ export declare const CHANNEL_PENGAJUAN: Array<{ label: string; value: string }>;
2
+ export declare const KRITERIA_NASABAH: Array<{ label: string; value: string }>;
@@ -0,0 +1,2 @@
1
+ export declare function compressString(str: unknown): string;
2
+ export declare function decompressString(compressedStr: string): unknown;
@@ -0,0 +1,6 @@
1
+ export declare function compressImage(
2
+ file: File | null,
3
+ callback: (error: Error | null, compressedFile?: File) => void,
4
+ fileSize?: number,
5
+ quality?: number
6
+ ): unknown;
@@ -0,0 +1,5 @@
1
+ export declare const NOT_AUTHORIZE_RESPONSE_CODE: string[];
2
+ export declare const PUBLIC_PATHS: string[];
3
+ export declare const COOKIE_MAX_SIZE: number;
4
+ export declare const CLIENT_PUBLIC_API_ROUTES: string[];
5
+ export declare const CLIENT_ALLOWED_ORIGINS: Array<string | RegExp>;
@@ -0,0 +1,19 @@
1
+ export declare function getSecuredCookieCredential(
2
+ encryptedToken?: string,
3
+ encryptedUsername?: string,
4
+ encryptedFullname?: string
5
+ ): { token: string | null; username: string | null; fullname: string | null };
6
+
7
+ export declare function getSecuredCookieClient(
8
+ encryptedToken?: string,
9
+ encryptedUsername?: string,
10
+ encryptedFullname?: string
11
+ ): { token: string | null; username: string | null; fullname: string | null };
12
+
13
+ export declare function getSecuredSession(
14
+ encryptedSession?: string
15
+ ): { _session: unknown };
16
+
17
+ export declare function getSecuredSessionV2(
18
+ cookies: Record<string, string>
19
+ ): { _sessionData: Record<string, unknown> | null };
@@ -0,0 +1,5 @@
1
+ export declare function aesEncryption(plaintext: string, secretKey: string): string;
2
+ export declare function aesDecryption(encryptedText: string, secretKey: string): string | null;
3
+ export declare function aesRequestEncryption(plaintext: string): string;
4
+ export declare function aesOldRequestEncryption(plaintext: string): string;
5
+ export declare function aesResponseDecryption(plaintext: string): string;
@@ -0,0 +1 @@
1
+ export declare function decodeEncodedString(encoded: string, type: string): string;
@@ -0,0 +1,5 @@
1
+ export declare function disableFormElements(selector: string): void;
2
+ export declare function disableFormBuilder(
3
+ fields: Array<Record<string, unknown> | null>,
4
+ roleAccess: boolean
5
+ ): Array<Record<string, unknown> | null>;
@@ -0,0 +1,25 @@
1
+ export declare function truncateText(text: string, maxLength: number): string;
2
+ export declare function applyHeaderStyles(
3
+ sheet: unknown,
4
+ rows: number[],
5
+ fontColorHeader?: string,
6
+ posisiHeader?: string
7
+ ): void;
8
+ export declare function applyDataStyles(
9
+ sheet: unknown,
10
+ dataLength: number,
11
+ startRow: number,
12
+ posisiData?: string
13
+ ): void;
14
+ export declare function styleGrandTotalRow(
15
+ row: unknown,
16
+ fontColorTotal?: string,
17
+ posisiTotal?: string
18
+ ): void;
19
+ export declare function mergeGrandTotalCells(
20
+ sheet: unknown,
21
+ rowNumber: number,
22
+ startCol: string,
23
+ endCol: string
24
+ ): void;
25
+ export declare function generateRepeatingWatermark(text: string): string;
@@ -0,0 +1,19 @@
1
+ export declare const HEADER_EXCEPTION: string;
2
+ export declare const ACCESS_EXCEPTION: string;
3
+ export declare const PARAMETER_EXCEPTION: string;
4
+ export declare const NOTFOUND_EXCEPTION: string;
5
+ export declare const INVALIDRULE_EXCEPTION: string;
6
+ export declare const THIRDPARTY_EXCEPTION: string;
7
+ export declare const WAITING_EXCEPTION: string;
8
+ export declare const UNSUPPORTED_EXCEPTION: string;
9
+ export declare const RUNTIME_EXCEPTION: string;
10
+ export declare const EXCEPTION_MESSAGES: Record<string, string>;
11
+
12
+ export declare class ApiException extends Error {
13
+ responseCode: string;
14
+ responseDesc: string;
15
+ constructor(responseCode: string, responseDesc?: string);
16
+ }
17
+
18
+ export declare function isExceptionCode(responseCode: string): boolean;
19
+ export declare function getExceptionMessage(responseCode: string): string;
@@ -0,0 +1,25 @@
1
+ export declare function formatCurrency(
2
+ value: number | string | null | undefined,
3
+ country?: string,
4
+ curr?: string,
5
+ minFrac?: number,
6
+ maxFrac?: number
7
+ ): string;
8
+
9
+ export declare function formatResponseDesc(desc: string): string;
10
+
11
+ export declare function dashedAccount(value: string | null | undefined): string;
12
+
13
+ export declare function formatNominal(
14
+ value: number | string | null | undefined,
15
+ locale?: string,
16
+ minFrac?: number,
17
+ maxFrac?: number,
18
+ commaSeparator?: string
19
+ ): string;
20
+
21
+ export declare function titleCase(str: string): string;
22
+
23
+ export declare function stringToBoolean(str: string): boolean | undefined;
24
+
25
+ export declare function dashedNPWP(value: string | null | undefined): string;
@@ -0,0 +1,2 @@
1
+ export declare function formatAccountNumber(value: string | null | undefined): string;
2
+ export declare function formatNPWP(value: string | null | undefined): string;
@@ -0,0 +1,20 @@
1
+ export declare function formatCurrency(
2
+ value: number | string | null | undefined,
3
+ options?: {
4
+ locale?: string;
5
+ currency?: string;
6
+ minFractionDigits?: number;
7
+ maxFractionDigits?: number;
8
+ }
9
+ ): string;
10
+ export declare function formatRupiah(value: number | string | null | undefined): string;
11
+ export declare function formatNominal(
12
+ value: number | string | null | undefined,
13
+ options?: {
14
+ locale?: string;
15
+ minFractionDigits?: number;
16
+ maxFractionDigits?: number;
17
+ decimalSeparator?: string;
18
+ }
19
+ ): string;
20
+ export declare function formatDigit(value: number | string): string;
@@ -0,0 +1,12 @@
1
+ export declare function toYearFirstDash(value: Date | string): string;
2
+ export declare function toDateFirstSlash(value: Date | string): string;
3
+ export declare function formatDateToDDSlashMMSlashYYYY(date: Date): string;
4
+ export declare function formatDateToDDMMYYYY(date: Date): string;
5
+ export declare function yearFirstDashToDateFirstDash(value: string): string;
6
+ export declare function yearFirstDashToDateFirstSlash(value: string): string;
7
+ export declare function dateFirstSlashToYearFirstDash(value: string): string;
8
+ export declare function sevenDigitToDateFirstSlash(value: string): string;
9
+ export declare function sevenDigitToYearFirstDash(value: string): string;
10
+ export declare function sevenDigitToDateFirstDash(value: string): string;
11
+ export declare function toDateTimeHourMinute(value: string): string;
12
+ export declare function ddmmyyToSlashDate(value: string): string;
@@ -0,0 +1,47 @@
1
+ // Account
2
+ export declare function formatAccountNumber(value: string | null | undefined): string;
3
+ export declare function formatNPWP(value: string | null | undefined): string;
4
+
5
+ // Currency
6
+ export declare function formatCurrency(
7
+ value: number | string | null | undefined,
8
+ options?: {
9
+ locale?: string;
10
+ currency?: string;
11
+ minFractionDigits?: number;
12
+ maxFractionDigits?: number;
13
+ }
14
+ ): string;
15
+ export declare function formatRupiah(value: number | string | null | undefined): string;
16
+ export declare function formatNominal(
17
+ value: number | string | null | undefined,
18
+ options?: {
19
+ locale?: string;
20
+ minFractionDigits?: number;
21
+ maxFractionDigits?: number;
22
+ decimalSeparator?: string;
23
+ }
24
+ ): string;
25
+ export declare function formatDigit(value: number | string): string;
26
+
27
+ // Date
28
+ export declare function toYearFirstDash(value: Date | string): string;
29
+ export declare function toDateFirstSlash(value: Date | string): string;
30
+ export declare function formatDateToDDSlashMMSlashYYYY(date: Date): string;
31
+ export declare function formatDateToDDMMYYYY(date: Date): string;
32
+ export declare function yearFirstDashToDateFirstDash(value: string): string;
33
+ export declare function yearFirstDashToDateFirstSlash(value: string): string;
34
+ export declare function dateFirstSlashToYearFirstDash(value: string): string;
35
+ export declare function sevenDigitToDateFirstSlash(value: string): string;
36
+ export declare function sevenDigitToYearFirstDash(value: string): string;
37
+ export declare function sevenDigitToDateFirstDash(value: string): string;
38
+ export declare function toDateTimeHourMinute(value: string): string;
39
+ export declare function ddmmyyToSlashDate(value: string): string;
40
+
41
+ // String
42
+ export declare function formatResponseDesc(desc: string): string;
43
+ export declare function titleCase(str: string): string;
44
+ export declare function snakeToCamelWithSpace(snakeStr: string): string;
45
+ export declare function stringToBoolean(str: string): boolean | undefined;
46
+ export declare function matchWiths(targetStr: string, values?: string[]): boolean;
47
+ export declare function maskString(value: string, type?: string): string;
@@ -0,0 +1,6 @@
1
+ export declare function formatResponseDesc(desc: string): string;
2
+ export declare function titleCase(str: string): string;
3
+ export declare function snakeToCamelWithSpace(snakeStr: string): string;
4
+ export declare function stringToBoolean(str: string): boolean | undefined;
5
+ export declare function matchWiths(targetStr: string, values?: string[]): boolean;
6
+ export declare function maskString(value: string, type?: string): string;
@@ -0,0 +1,35 @@
1
+ export interface GenerateAnnualTemplateExcelConfig {
2
+ year?: number;
3
+ data?: Array<Record<string, unknown>>;
4
+ headers1?: string[];
5
+ headers2?: string[];
6
+ title?: string;
7
+ disabledMonths?: number[];
8
+ startDataRow?: number;
9
+ isLocked?: boolean;
10
+ password?: string;
11
+ freezeColumns?: number;
12
+ freezeHeader?: boolean;
13
+ filename?: string;
14
+ isTotalCell?: boolean;
15
+ mappings?: Record<string, number>;
16
+ }
17
+
18
+ export interface ImportAnnualTemplateExcelConfig {
19
+ maxValue?: number;
20
+ file: File;
21
+ sheetName?: string;
22
+ headerRow?: number;
23
+ requiredHeaders?: string[];
24
+ mappings?: Record<string, string>;
25
+ hasMonthlyData?: boolean;
26
+ validateRow?: (row: Record<string, unknown>) => boolean;
27
+ }
28
+
29
+ export declare function generateAnnualTemplateExcel(
30
+ config: GenerateAnnualTemplateExcelConfig
31
+ ): Promise<void>;
32
+
33
+ export declare function importAnnualTemplateExcel(
34
+ config: ImportAnnualTemplateExcelConfig
35
+ ): Promise<Array<Record<string, unknown>>>;
@@ -0,0 +1 @@
1
+ export declare function generateVcifId(): string;
@@ -0,0 +1 @@
1
+ export declare function handleApiError(err: unknown, res: unknown): void;
@@ -0,0 +1,104 @@
1
+ // Formatters - Currency
2
+ export declare function formatCurrency(
3
+ value: number | string | null | undefined,
4
+ options?: {
5
+ locale?: string;
6
+ currency?: string;
7
+ minFractionDigits?: number;
8
+ maxFractionDigits?: number;
9
+ }
10
+ ): string;
11
+ export declare function formatRupiah(value: number | string | null | undefined): string;
12
+ export declare function formatNominal(
13
+ value: number | string | null | undefined,
14
+ options?: {
15
+ locale?: string;
16
+ minFractionDigits?: number;
17
+ maxFractionDigits?: number;
18
+ decimalSeparator?: string;
19
+ }
20
+ ): string;
21
+ export declare function formatDigit(value: number | string): string;
22
+
23
+ // Formatters - Account
24
+ export declare function formatAccountNumber(value: string | null | undefined): string;
25
+ export declare function formatNPWP(value: string | null | undefined): string;
26
+
27
+ // Formatters - Date
28
+ export declare function toYearFirstDash(value: Date | string): string;
29
+ export declare function toDateFirstSlash(value: Date | string): string;
30
+ export declare function formatDateToDDSlashMMSlashYYYY(date: Date): string;
31
+ export declare function formatDateToDDMMYYYY(date: Date): string;
32
+ export declare function yearFirstDashToDateFirstDash(value: string): string;
33
+ export declare function yearFirstDashToDateFirstSlash(value: string): string;
34
+ export declare function dateFirstSlashToYearFirstDash(value: string): string;
35
+ export declare function sevenDigitToDateFirstSlash(value: string): string;
36
+ export declare function sevenDigitToYearFirstDash(value: string): string;
37
+ export declare function sevenDigitToDateFirstDash(value: string): string;
38
+ export declare function toDateTimeHourMinute(value: string): string;
39
+ export declare function ddmmyyToSlashDate(value: string): string;
40
+
41
+ // Formatters - String
42
+ export declare function formatResponseDesc(desc: string): string;
43
+ export declare function titleCase(str: string): string;
44
+ export declare function snakeToCamelWithSpace(snakeStr: string): string;
45
+ export declare function stringToBoolean(str: string): boolean | undefined;
46
+ export declare function matchWiths(targetStr: string, values?: string[]): boolean;
47
+ export declare function maskString(value: string, type?: string): string;
48
+
49
+ // JSON
50
+ export declare function parseJSON(value: string): unknown;
51
+ export declare function jsonToStringLimiter(value?: unknown): string | null;
52
+ export declare function errorState(name: string, errors: unknown): unknown;
53
+ export declare function ascendingStringify(obj: unknown): string;
54
+
55
+ // Asset
56
+ export declare function callAsset(uri?: string): string;
57
+
58
+ // Boolean Utils
59
+ export declare function checkRoleUser(roles: string[], listRole: string[]): boolean;
60
+ export declare function toggleUsingDummyWbenchEndpoint(status: boolean): boolean;
61
+
62
+ // Constants
63
+ export declare const NOT_AUTHORIZE_RESPONSE_CODE: string[];
64
+ export declare const PUBLIC_PATHS: string[];
65
+ export declare const COOKIE_MAX_SIZE: number;
66
+ export declare const CLIENT_PUBLIC_API_ROUTES: string[];
67
+ export declare const CLIENT_ALLOWED_ORIGINS: Array<string | RegExp>;
68
+
69
+ // Disable Form
70
+ export declare function disableFormElements(selector: string): void;
71
+ export declare function disableFormBuilder(
72
+ fields: Array<Record<string, unknown> | null>,
73
+ roleAccess: boolean
74
+ ): Array<Record<string, unknown> | null>;
75
+
76
+ // Generate Timestamp
77
+ export declare function generateVcifId(): string;
78
+
79
+ // LocalStorage
80
+ export declare function getLocalStorageItem(key: string): unknown;
81
+
82
+ // Tipe Bank
83
+ export declare function getTipeBankKorporasi(
84
+ data: Array<{ status_perusahaan: string; tipe_bank: string }>
85
+ ): string;
86
+
87
+ // Exception
88
+ export declare const HEADER_EXCEPTION: string;
89
+ export declare const ACCESS_EXCEPTION: string;
90
+ export declare const PARAMETER_EXCEPTION: string;
91
+ export declare const NOTFOUND_EXCEPTION: string;
92
+ export declare const INVALIDRULE_EXCEPTION: string;
93
+ export declare const THIRDPARTY_EXCEPTION: string;
94
+ export declare const WAITING_EXCEPTION: string;
95
+ export declare const UNSUPPORTED_EXCEPTION: string;
96
+ export declare const RUNTIME_EXCEPTION: string;
97
+ export declare const EXCEPTION_MESSAGES: Record<string, string>;
98
+ export declare class ApiException extends Error {
99
+ responseCode: string;
100
+ responseDesc: string;
101
+ constructor(responseCode: string, responseDesc?: string);
102
+ }
103
+ export declare function isExceptionCode(responseCode: string): boolean;
104
+ export declare function getExceptionMessage(responseCode: string): string;
@@ -0,0 +1,4 @@
1
+ export declare function parseJSON(value: string): unknown;
2
+ export declare function jsonToStringLimiter(value?: unknown): string | null;
3
+ export declare function errorState(name: string, errors: unknown): unknown;
4
+ export declare function ascendingStringify(obj: unknown): string;
@@ -0,0 +1 @@
1
+ export declare function getLocalStorageItem(key: string): unknown;
@@ -0,0 +1,4 @@
1
+ export declare const loggerAPI: {
2
+ info(logData: Record<string, unknown>): void;
3
+ error(logData: Record<string, unknown>): void;
4
+ };
@@ -0,0 +1,8 @@
1
+ import type { ObjectSchema, NumberSchema } from 'yup';
2
+
3
+ export declare function createFieldOptionSchema(
4
+ fieldName: string,
5
+ labels: string
6
+ ): ObjectSchema<{ label: string; value: string }>;
7
+
8
+ export declare const norekSchema: NumberSchema;
@@ -0,0 +1,10 @@
1
+ export declare function sumNumeric(str: string): number;
2
+ export declare function generateSignature(config: {
3
+ signConfigToken: string;
4
+ token: string;
5
+ body: unknown;
6
+ app: string;
7
+ contentType?: string;
8
+ buffer?: Buffer;
9
+ endpoint: string;
10
+ }): Promise<string>;
@@ -0,0 +1,5 @@
1
+ export declare function getMirroringBasePath(router: string): string;
2
+ export declare function mappingMenuPencairan(asPath?: string): string | null;
3
+ export declare function scrollToTop(): void;
4
+ export declare function mappingProsesDisbursement(proses: string): string;
5
+ export declare function mappingLabelNorek(proses: string): string;
@@ -0,0 +1,2 @@
1
+ export declare function validateFormAgunanInput(data: unknown, res: unknown): boolean;
2
+ export declare function validateInquirySA(data: unknown, res: unknown): boolean | undefined;
@@ -0,0 +1,37 @@
1
+ export declare function getStatusKorporasi(data: {
2
+ responseData?: { role?: string[] };
3
+ }): number | null;
4
+
5
+ export declare function getStatusKorporasi2(data: {
6
+ role?: string[];
7
+ }): number | null;
8
+
9
+ export declare function getStatusByRole(data: {
10
+ role?: string[];
11
+ }): number[] | null;
12
+
13
+ export declare function checkHasRole(roleKey: string, data?: string[]): boolean;
14
+
15
+ export declare function getIsReviewerRMCA(
16
+ statusMAB: number,
17
+ statusCheckAccess: number
18
+ ): boolean;
19
+
20
+ export declare function getIsReviewerWCRA(
21
+ statusMAB: number,
22
+ statusCheckAccess: number
23
+ ): boolean;
24
+
25
+ export declare function getIsReviewerCRO(
26
+ statusMAB: number,
27
+ statusCheckAccess: number,
28
+ menu: string
29
+ ): boolean | undefined;
30
+
31
+ export declare function getSchema(
32
+ statusCheckAccess: number,
33
+ statusMAB: number,
34
+ menu: string
35
+ ): number | undefined;
36
+
37
+ export declare function getTypeRole(listRoles: string[]): string;
@@ -0,0 +1,22 @@
1
+ export declare function matchWiths(targetStr: string, values?: string[]): boolean;
2
+ export declare function toCurrency(money: number | string): string;
3
+ export declare function digitFormatter(value: number | string): string;
4
+ export declare function npwpFormatter(value: string | null | undefined): string | undefined;
5
+ export declare function rekeningFormatter(value: string | null | undefined): string | undefined;
6
+ export declare function needToHide(descModified: string, typeHide?: string): string;
7
+ export declare function fileToBase64(file: File): Promise<string>;
8
+ export declare function dateDashToSlashFormatter(value: string): string;
9
+ export declare function date7DigitsToSlashFormatter(value: string): string;
10
+ export declare function date7DigitsToDashFormatter(value: string): string;
11
+ export declare function dateObjectToDashFormatter(value: Date | string): string;
12
+ export declare function dateYearToDateFirst(value: string): string;
13
+ export declare function dateSlashToDashYearFirst(value: string): string;
14
+ export declare function dateDashYearFirstToDateFirst(value: string | null | undefined): string | undefined;
15
+ export declare function dateTimeHourMinute(value: string): string;
16
+ export declare function date7DigitsToSlashDateFirstFormatter(value: string): string;
17
+ export declare function dateSlashToSlashDateFirstFormatter(value: string): string;
18
+ export declare function formatDateToDDMMYYYY(date: Date): string;
19
+ export declare function formatDateToDDSlashMMSlashYYYY(date: Date): string;
20
+ export declare function dateDashToSlash(value: string): string;
21
+ export declare function ddmmyyToSlashDate(value: string): string;
22
+ export declare function formatDateDashReverseToSlash(value: string): string;
@@ -0,0 +1,3 @@
1
+ export declare function getTipeBankKorporasi(
2
+ data: Array<{ status_perusahaan: string; tipe_bank: string; [key: string]: unknown }>
3
+ ): string;