@mmb-digital/shared-libs-auto 0.0.16 → 0.0.17

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 CHANGED
@@ -2,18 +2,13 @@
2
2
 
3
3
  MMB shared libraries for React and TypeScript projects. This package provides a collection of reusable utilities, formatters, hooks, and validators to streamline development across multiple projects.
4
4
 
5
- ## Features
6
-
7
- - **Formatters**: Bank account, phone number, ZIP code, and more.
8
- - **Hooks**: Useful React hooks (e.g., `useToggle`).
9
- - **Utils**: General utilities for strings, numbers, files, etc.
10
- - **Validators**: Type and value validators (e.g., email, numeric, DIC, ICO).
11
-
12
5
  ## Installation
13
6
 
14
7
  ```bash
15
8
  yarn add @mmb-digital/shared-libs-auto
16
- # or
9
+ ```
10
+ or
11
+ ```bash
17
12
  npm install @mmb-digital/shared-libs-auto
18
13
  ```
19
14
 
@@ -30,6 +25,159 @@ import { isEmail, removeWhitespaces, useToggle } from '@mmb-digital/shared-libs-
30
25
  - Fully typed with TypeScript.
31
26
  - Type definitions are included in the package.
32
27
 
28
+ ## Features
29
+
30
+ ### Formaters
31
+
32
+ #### Bank Account
33
+ - **`formatBankAccount(value: string): string`** - Formats bank account number to standard format (prefix-account/bankCode).
34
+ - **`inputFormatBankAccount(value: string): string`** - Formats bank account number to standard format (prefix-account/bankCode) for input fields.
35
+
36
+ #### Bytes
37
+ - **`formatBytes(bytes: number, decimals?: number): string`** - Converts number of bytes to human-readable format (KB, MB, GB, etc.).
38
+
39
+ #### Phone Number
40
+ - **`formatCZSKPhoneNumber(value: string): string`** - Formats phone number for CZ/SK to standard format (+420 xxx xxx xxx).
41
+ - **`inputFormatCZSKPhoneNumber(value: string): string`** - Formats phone number input in real-time while typing.
42
+
43
+ #### ZIP Code
44
+ - **`formatCzZipCode(value: string): string`** - Formats Czech ZIP code to format xxx xx.
45
+ - **`inputFormatCzZipCode(value: string): string`** - Formats ZIP code input in real-time while typing.
46
+
47
+ #### Date & Time
48
+ - **`formatDate(date: Date | string, format?: string): string`** - Formats date to the desired format.
49
+ - **`formatDateTime(date: Date | string, format?: string): string`** - Formats date and time to the desired format.
50
+
51
+ #### ICO
52
+ - **`formatICO(value: string): string`** - Formats ICO (company identification number) to standard format.
53
+ - **`inputFormatICO(value: string): string`** - Formats ICO input in real-time while typing.
54
+
55
+ #### Numbers
56
+ - **`formatNumber(value: number, options?: FormatOptions): string`** - Formats number with options for separators, decimal places, and currency.
57
+ - **`formatPercent(value: number, decimals?: number): string`** - Formats number as percentage.
58
+ - **`inputFormatNumber(value: string): string`** - Formats number input in real-time while typing.
59
+ - **`inputFormatFloat(value: string): string`** - Formats decimal number input in real-time while typing.
60
+
61
+ #### PIN
62
+ - **`formatPin(value: string): string`** - Formats PIN/birth number to standard format.
63
+ - **`inputFormatPin(value: string): string`** - Formats PIN input in real-time while typing.
64
+
65
+ #### Roman Numerals
66
+ - **`formatRomanNumeral(value: number): string`** - Converts Arabic number to Roman numerals.
67
+
68
+ ### Hooks
69
+
70
+ #### useDebounce
71
+ - **`useDebounce<T>(value: T, delay: number): T`** - Returns a debounced value that only updates after the specified delay has passed since the last change. Useful for optimizing search inputs and API calls.
72
+
73
+ #### usePreviousValue
74
+ - **`usePreviousValue<T>(value: T): T | undefined`** - Returns the previous value of a state or prop. Useful for comparing current and previous values in effects.
75
+
76
+ #### useToggle
77
+ - **`useToggle(initialValue?: boolean): [boolean, () => void]`** - Returns a boolean state and a function to toggle it. Useful for managing modal visibility, menu states, etc.
78
+
79
+ ### Utils
80
+
81
+ #### Array Operations
82
+ - **`chunkArray<T>(array: T[], size: number): T[][]`** - Splits an array into chunks of specified size.
83
+ - **`groupBy<T>(array: T[], key: keyof T): Record<string, T[]>`** - Groups array elements by a specified key.
84
+ - **`joinBy<T>(array: T[], separator: string, key: keyof T): string`** - Joins array elements by a key with a separator.
85
+ - **`xor<T>(array1: T[], array2: T[]): T[]`** - Returns symmetric difference between two arrays (elements that exist in only one array).
86
+ - **`xorByKey<T>(array1: T[], array2: T[], key: keyof T): T[]`** - Returns symmetric difference between two arrays based on a key property.
87
+
88
+ #### Birth Number (Czech)
89
+ - **`isBirthNumber(value: string): boolean`** - Validates if a string is a valid Czech birth number (rodné číslo).
90
+ - **`getDateFromBirthNumber(value: string): Date | null`** - Extracts date of birth from a birth number.
91
+ - **`getGenderFromBirthNumber(value: string): Gender | null`** - Determines gender from a birth number ('male' | 'female').
92
+
93
+ #### File Operations
94
+ - **`arrayBufferToBase64(buffer: ArrayBuffer): string`** - Converts ArrayBuffer to Base64 string.
95
+ - **`base64ToArrayBuffer(base64: string): ArrayBuffer`** - Converts Base64 string to ArrayBuffer.
96
+ - **`blobToBase64(blob: Blob): Promise<string>`** - Converts Blob to Base64 string.
97
+ - **`downloadFile(data: Blob | string, filename: string, mimeType?: string): void`** - Triggers file download in the browser.
98
+ - **`openFile(accept?: string, multiple?: boolean): Promise<FileList>`** - Opens file picker dialog and returns selected files.
99
+
100
+ #### Number Operations
101
+ - **`getNumber(value: unknown): number`** - Safely converts value to number, returns default value (null) if conversion fails.
102
+ - **`getNumberFloat(value: unknown): number`** - Safely converts value to float number, returns default value (null) if conversion fails.
103
+ - **`getNumberString(value: unknown): string`** - Converts value to numeric string, removes non-numeric characters.
104
+ - **`getSafeMax(...values: number[]): number`** - Returns maximum value, handles NaN and Infinity safely.
105
+ - **`getSafeMin(...values: number[]): number`** - Returns minimum value, handles NaN and Infinity safely.
106
+
107
+ #### Object Operations
108
+ - **`cleanObject<T extends object>(obj: T): Partial<T>`** - Removes undefined and null values from an object.
109
+ - **`getObjectDiff<T extends object>(obj1: T, obj2: T): Partial<T>`** - Returns differences between two objects.
110
+ - **`getObjectValue<T>(obj: object, path: string): T | undefined`** - Gets nested object value by path string (e.g., 'user.address.city').
111
+ - **`setObjectValue<T>(obj: object, path: string, value: T): void`** - Sets nested object value by path string.
112
+ - **`hasObjectProperty<T extends object>(obj: T, key: PropertyKey): boolean`** - Type-safe check if object has a property.
113
+ - **`mapObjectKeys<T extends object>(obj: T, mapper: (key: string) => string): object`** - Maps object keys using a transformation function.
114
+ - **`mergeDeep<T>(...objects: Partial<T>[]): T`** - Deep merges multiple objects.
115
+
116
+ #### Phone Number
117
+ - **`removePrefixFromPhoneNumber(value: string): string`** - Removes country prefix from phone number (+420, +421).
118
+
119
+ #### Range Operations
120
+ - **`createRange(start: number, end: number): Range`** - Creates a range object with start and end values.
121
+ - **`isInRange(value: number, range: Range): boolean`** - Checks if a value is within a range.
122
+ - **`unionRange(...ranges: Range[]): Range[]`** - Merges overlapping ranges into minimal set of ranges.
123
+
124
+ #### String Operations
125
+ - **`removeSpecialChars(value: string): string`** - Removes special characters from string, keeps only alphanumeric.
126
+ - **`removeWhitespaces(value: string): string`** - Removes all whitespace characters from string.
127
+ - **`removeWhitespacesFromUnknown(value: unknown): string`** - Safely removes whitespaces from unknown value type.
128
+
129
+ #### URL & Path
130
+ - **`composeUrlRequestString(baseUrl: string, params: object): string`** - Composes URL with query parameters.
131
+ - **`makeAbsolutePath(path: string, baseUrl?: string): string`** - Converts relative path to absolute URL.
132
+
133
+ #### Browser Operations
134
+ - **`scrollToTop(smooth?: boolean): void`** - Scrolls page to top, optionally with smooth animation.
135
+ - **`getDateObject(date: Date | string): Date`** - Safely converts date string or Date object to Date instance.
136
+
137
+ ### Validators
138
+
139
+ #### Type Validators
140
+ - **`isArrayBuffer(value: unknown): boolean`** - Checks if a value is an ArrayBuffer.
141
+ - **`isBlob(value: unknown): boolean`** - Checks if a value is a Blob.
142
+ - **`isBoolean(value: unknown): boolean`** - Checks if a value is a boolean.
143
+ - **`isFunction(value: unknown): boolean`** - Checks if a value is a function.
144
+ - **`isNull(value: unknown): boolean`** - Checks if a value is null.
145
+ - **`isNullOrUndefined(value: unknown): boolean`** - Checks if a value is null or undefined.
146
+ - **`isNumber(value: unknown): boolean`** - Checks if a value is a number.
147
+ - **`isNumberOrString(value: unknown): boolean`** - Checks if a value is a number or string.
148
+ - **`isObject(value: unknown): boolean`** - Checks if a value is an object (excluding null and arrays).
149
+ - **`isString(value: unknown): boolean`** - Checks if a value is a string.
150
+ - **`isUndefined(value: unknown): boolean`** - Checks if a value is undefined.
151
+
152
+ #### Value Validators
153
+ - **`isEmpty(value: unknown): boolean`** - Checks if a value is empty (null, undefined, empty string, empty array, or empty object).
154
+ - **`isEmptyString(value: unknown): boolean`** - Checks if a value is an empty string or contains only whitespace.
155
+ - **`isEqual(value1: unknown, value2: unknown): boolean`** - Deep equality comparison between two values.
156
+ - **`isValidDate(value: unknown): boolean`** - Checks if a value is a valid Date object or date string.
157
+
158
+ #### String Format Validators
159
+ - **`isEmail(value: string): boolean`** - Validates if a string is a valid email address.
160
+ - **`isNaturalNumericString(value: string): boolean`** - Checks if a string contains only numeric characters (0-9).
161
+ - **`isNaturalNumericStringWithWhitespaces(value: string): boolean`** - Checks if a string contains only numeric characters and whitespaces.
162
+ - **`isNumericString(value: string): boolean`** - Checks if a string can be converted to a valid number.
163
+
164
+ #### Czech/Slovak Specific Validators
165
+ - **`isBankAccount(value: string): boolean`** - Validates Czech/Slovak bank account number format.
166
+ - **`isDIC(value: string): boolean`** - Validates Czech/Slovak VAT identification number (DIČ).
167
+ - **`isICO(value: string): boolean`** - Validates Czech/Slovak company identification number (IČO).
168
+ - **`isModulo11(value: string): boolean`** - Validates if a number passes the modulo 11 check (used for Czech IDs).
169
+ - **`isZipCode(value: string): boolean`** - Validates Czech ZIP code format (XXXXX or XXX XX).
170
+
171
+ #### Phone Number Validators
172
+ - **`isValidCzechPhoneNumber(value: string): boolean`** - Validates Czech phone number format (+420 or without prefix).
173
+ - **`isValidForeignPhoneNumber(value: string): boolean`** - Validates international phone number format with country prefix.
174
+
175
+ #### Document Validators
176
+ - **`isValidDrivingLicense(value: string): boolean`** - Validates Czech driving license number format.
177
+ - **`isValidIdentityCard(value: string): boolean`** - Validates Czech identity card number format.
178
+ - **`isValidPassport(value: string): boolean`** - Validates Czech passport number format.
179
+ - **`isValidVehicleIdentification(value: string): boolean`** - Validates vehicle identification number (VIN) format.
180
+
33
181
  ## License
34
182
 
35
183
  UNLICENSED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const innerFormatBankAccount = (value) => {
5
5
  const { prefix, number, bankCode } = value;
6
- const accountNumber = [String(number).trim(), bankCode.trim()].join('/');
6
+ const accountNumber = [number.trim(), bankCode.trim()].join('/');
7
7
  return [prefix, accountNumber].filter(Boolean).join('-');
8
8
  };
9
9
  //# sourceMappingURL=innerFormatBankAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"innerFormatBankAccount.js","sourceRoot":"","sources":["../../../../src/formatters/formatBankAccount/utils/innerFormatBankAccount.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAkB,EAAU,EAAE;IACnE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;IAC1C,MAAM,aAAa,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACxE,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC1D,CAAC,CAAA"}
1
+ {"version":3,"file":"innerFormatBankAccount.js","sourceRoot":"","sources":["../../../../src/formatters/formatBankAccount/utils/innerFormatBankAccount.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAkB,EAAU,EAAE;IACnE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;IAC1C,MAAM,aAAa,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAChE,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC1D,CAAC,CAAA"}
@@ -5,4 +5,4 @@
5
5
  * isDecimalValue - indicates whether the input value is in decimal form (e.g., 0.1234 for 12.34 %) or already in percentage form (e.g., 12.34 for 12.34 %)
6
6
  * Default is true (decimal form)
7
7
  */
8
- export declare const formatPercent: (value: number | string | null | undefined, isDecimalValue?: boolean, fallback?: string) => string;
8
+ export declare const formatPercent: (value: number | string | null | undefined, isDecimalValue?: boolean, decimals?: number, fallback?: string) => string;
@@ -13,14 +13,14 @@ const PERCENT_MULTIPLIER = 100;
13
13
  * isDecimalValue - indicates whether the input value is in decimal form (e.g., 0.1234 for 12.34 %) or already in percentage form (e.g., 12.34 for 12.34 %)
14
14
  * Default is true (decimal form)
15
15
  */
16
- export const formatPercent = (value, isDecimalValue = true, fallback = EMPTY_VALUE_PLACEHOLDER) => {
16
+ export const formatPercent = (value, isDecimalValue = true, decimals = PERCENT_DECIMALS, fallback = EMPTY_VALUE_PLACEHOLDER) => {
17
17
  if (isNullOrUndefined(value))
18
18
  return fallback;
19
19
  const valueNumber = isNumber(value) ? value : getNumberFloat(value);
20
20
  if (isNullOrUndefined(valueNumber))
21
21
  return fallback;
22
22
  const adjustedValue = isDecimalValue ? valueNumber * PERCENT_MULTIPLIER : valueNumber;
23
- const formattedValue = innerFormatNumber(adjustedValue, PERCENT_DECIMALS);
23
+ const formattedValue = innerFormatNumber(adjustedValue, decimals);
24
24
  return `${formattedValue}${IRREGULAR_WHITESPACE}%`;
25
25
  };
26
26
  //# sourceMappingURL=formatPercent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatPercent.js","sourceRoot":"","sources":["../../../src/formatters/formatNumber/formatPercent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAA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AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAEhE,MAAM,oBAAoB,GAAG,QAAiB,CAAA,CAAC,+BAA+B;AAC9E,MAAM,gBAAgB,GAAG,CAAC,CAAA;AAC1B,MAAM,kBAAkB,GAAG,GAAY,CAAA;AAEvC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,KAAyC,EACzC,cAAc,GAAG,IAAI,EACrB,QAAQ,GAAG,gBAAgB,EAC3B,QAAQ,GAAG,uBAAuB,EAC1B,EAAE;IACV,IAAI,iBAAiB,CAAC,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAA;IAE7C,MAAM,WAAW,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;IACnE,IAAI,iBAAiB,CAAC,WAAW,CAAC;QAAE,OAAO,QAAQ,CAAA;IAEnD,MAAM,aAAa,GAAG,cAAc,CAAC,CAAC,CAAC,WAAW,GAAG,kBAAkB,CAAC,CAAC,CAAC,WAAW,CAAA;IACrF,MAAM,cAAc,GAAG,iBAAiB,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAA;IAEjE,OAAO,GAAG,cAAc,GAAG,oBAAoB,GAAG,CAAA;AACpD,CAAC,CAAA"}
@@ -2,4 +2,4 @@
2
2
  * Gets the value of a nested object property by path.
3
3
  * Replace for _.get
4
4
  */
5
- export declare const getObjectValue: (obj: Record<string, unknown> | null | undefined, path: string, defaultValue?: unknown) => unknown;
5
+ export declare const getObjectValue: (obj: Record<string, unknown> | null | undefined, path: string | string[], defaultValue?: unknown) => unknown;
@@ -8,7 +8,11 @@ const PATH_DELIMITER_REGEX = /[,[\].]+/;
8
8
  export const getObjectValue = (obj, path, defaultValue = undefined) => {
9
9
  if (isNullOrUndefined(obj) || path.length === 0)
10
10
  return defaultValue;
11
- const keys = path.split(PATH_DELIMITER_REGEX).filter(Boolean);
11
+ const keys = Array.isArray(path)
12
+ ? path.filter(Boolean)
13
+ : path.split(PATH_DELIMITER_REGEX).filter(Boolean);
14
+ if (keys.length === 0)
15
+ return defaultValue;
12
16
  const result = keys.reduce(
13
17
  // Use any here because we don't know the type of the nested property
14
18
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -1 +1 @@
1
- {"version":3,"file":"getObjectValue.js","sourceRoot":"","sources":["../../../src/utils/getObjectValue/getObjectValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAA;AAC3F,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAA;AAEhE,MAAM,oBAAoB,GAAG,UAAU,CAAA;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,GAA+C,EAC/C,IAAY,EACZ,eAAwB,SAAS,EACxB,EAAE;IACX,IAAI,iBAAiB,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,YAAY,CAAA;IAEpE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAC7D,MAAM,MAAM,GAAY,IAAI,CAAC,MAAM;IACjC,qEAAqE;IACrE,8DAA8D;IAC9D,CAAC,GAAQ,EAAE,GAAW,EAAE,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EACrE,GAAG,CACJ,CAAA;IAED,IAAI,iBAAiB,CAAC,MAAM,CAAC;QAAE,OAAO,YAAY,CAAA;IAClD,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,YAAY,CAAA;IAC7E,IAAI,KAAK,CAAC,OA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AM,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,YAAY,CAAA;IAC7E,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,YAAY,CAAA;IAErE,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmb-digital/shared-libs-auto",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "MMB shared libs",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",