toolbox-x 2.0.13 → 2.0.14

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.
@@ -19,6 +19,8 @@ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject }
19
19
  //#region src/types/array.d.ts
20
20
  /** * Flatten Array or Wrap in Array */
21
21
  type Flattened<T> = T extends (infer U)[] ? Flattened<U> : T;
22
+ /** * Union of type `T` and array of `T` */
23
+ type TypeOrArray<T> = T | Array<T>;
22
24
  /**
23
25
  * * Configuration for `createOptionsArray`.
24
26
  * - Defines the mapping between keys in the input objects and the keys in the output options.
@@ -127,4 +129,4 @@ interface FindOptions<T extends GenericObject = {}> {
127
129
  data?: T[] | (() => T[]);
128
130
  }
129
131
  //#endregion
130
- export { Flattened as a, OrderOption as c, SortOptions as d, FirstFieldValue as i, SortByOption as l, FindOptions as n, Option as o, FirstFieldKey as r, OptionsConfig as s, FieldValue as t, SortNature as u };
132
+ export { Flattened as a, OrderOption as c, SortOptions as d, TypeOrArray as f, FirstFieldValue as i, SortByOption as l, FindOptions as n, Option as o, FirstFieldKey as r, OptionsConfig as s, FieldValue as t, SortNature as u };
@@ -19,6 +19,8 @@ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject }
19
19
  //#region src/types/array.d.ts
20
20
  /** * Flatten Array or Wrap in Array */
21
21
  type Flattened<T> = T extends (infer U)[] ? Flattened<U> : T;
22
+ /** * Union of type `T` and array of `T` */
23
+ type TypeOrArray<T> = T | Array<T>;
22
24
  /**
23
25
  * * Configuration for `createOptionsArray`.
24
26
  * - Defines the mapping between keys in the input objects and the keys in the output options.
@@ -127,4 +129,4 @@ interface FindOptions<T extends GenericObject = {}> {
127
129
  data?: T[] | (() => T[]);
128
130
  }
129
131
  //#endregion
130
- export { Flattened as a, OrderOption as c, SortOptions as d, FirstFieldValue as i, SortByOption as l, FindOptions as n, Option as o, FirstFieldKey as r, OptionsConfig as s, FieldValue as t, SortNature as u };
132
+ export { Flattened as a, OrderOption as c, SortOptions as d, TypeOrArray as f, FirstFieldValue as i, SortByOption as l, FindOptions as n, Option as o, FirstFieldKey as r, OptionsConfig as s, FieldValue as t, SortNature as u };
package/dist/dom.cjs CHANGED
@@ -253,13 +253,13 @@ const createFormData = (data, configs) => {
253
253
  const _addToFormData = (key, value) => {
254
254
  const transformedKey = _transformKey(key);
255
255
  if (_compareKeyPaths(transformedKey, ignoreKeys)) return;
256
- if (require_query.isCustomFileArray(value)) value?.forEach((file) => formData.append(transformedKey, file?.originFileObj));
256
+ if (require_query.isCustomFileArray(value)) for (const file of value) formData.append(transformedKey, file?.originFileObj);
257
257
  else if (require_query.isFileUpload(value)) {
258
- if (value?.fileList) value?.fileList.forEach((file) => formData.append(transformedKey, file?.originFileObj));
258
+ if (value?.fileList) for (const file of value.fileList) formData.append(transformedKey, file?.originFileObj);
259
259
  else if (value?.file) if (require_query.isCustomFile(value?.file)) formData.append(transformedKey, value?.file?.originFileObj);
260
260
  else formData.append(transformedKey, value?.file);
261
261
  } else if (require_query.isFileOrBlob(value)) formData.append(transformedKey, value);
262
- else if (require_query.isFileList(value)) for (let i = 0; i < value?.length; i++) formData.append(transformedKey, value.item(i));
262
+ else if (require_query.isFileList(value)) for (let i = 0; i < value?.length; i++) formData.append(transformedKey, value?.item(i));
263
263
  else if (Array.isArray(value)) {
264
264
  if (require_query.isFileArray(value)) if (_shouldBreakArray(key)) value?.forEach((item, index) => {
265
265
  _addToFormData(`${transformedKey}[${index}]`, item);
package/dist/dom.d.cts CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { J as Deserializer, ft as Serializer, y as GenericObject } from "./object-DyVg8BFt.cjs";
18
18
  import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "./query-BLsaWi3q.cjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-CHFqlgPr.cjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-DA-YShnM.cjs";
20
20
 
21
21
  //#region src/dom/storage.d.ts
22
22
  /**
@@ -166,6 +166,6 @@ declare function serializeForm<T extends boolean = false>(form: HTMLFormElement,
166
166
  * @param parsePrimitives - Whether to parse string values into primitive types (e.g., boolean, number, array, object). Defaults to `true`.
167
167
  * @returns The parsed form data as an object.
168
168
  */
169
- declare function parseFormData<T extends FormData | string>(data: T, parsePrimitives?: boolean): ParsedFormData<T>;
169
+ declare function parseFormData<D extends FormData | string, P extends boolean = true>(data: D, parsePrimitives?: P): ParsedFormData<D, P>;
170
170
  //#endregion
171
171
  export { createFormData as convertToFormData, createFormData, copyToClipboard, generateQueryParams as createQueryParams, generateQueryParams as formatQueryParams, generateQueryParams, getFromLocalStorage, getFromSessionStorage, getQueryParams, parseQueryString as getQueryStringAsObject, parseQueryString, parseQueryString as queryStringToObject, isCustomFile, isCustomFileArray, isFileArray, isFileList, isFileOrBlob, isFileUpload, isOriginFileObj, isValidFormData, parseQueryStringLiteral as literalQueryStringToObject, parseQueryStringLiteral, parseFormData, removeFromLocalStorage, removeFromSessionStorage, saveToLocalStorage, saveToSessionStorage, serializeForm, smoothScrollTo, toggleFullScreen, updateQueryParam };
package/dist/dom.d.mts CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { J as Deserializer, ft as Serializer, y as GenericObject } from "./object-DyVg8BFt.mjs";
18
18
  import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "./query-Bi_ofCBp.mjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-crhNgN40.mjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-DIYoIS0E.mjs";
20
20
 
21
21
  //#region src/dom/storage.d.ts
22
22
  /**
@@ -166,6 +166,6 @@ declare function serializeForm<T extends boolean = false>(form: HTMLFormElement,
166
166
  * @param parsePrimitives - Whether to parse string values into primitive types (e.g., boolean, number, array, object). Defaults to `true`.
167
167
  * @returns The parsed form data as an object.
168
168
  */
169
- declare function parseFormData<T extends FormData | string>(data: T, parsePrimitives?: boolean): ParsedFormData<T>;
169
+ declare function parseFormData<D extends FormData | string, P extends boolean = true>(data: D, parsePrimitives?: P): ParsedFormData<D, P>;
170
170
  //#endregion
171
171
  export { createFormData as convertToFormData, createFormData, copyToClipboard, generateQueryParams as createQueryParams, generateQueryParams as formatQueryParams, generateQueryParams, getFromLocalStorage, getFromSessionStorage, getQueryParams, parseQueryString as getQueryStringAsObject, parseQueryString, parseQueryString as queryStringToObject, isCustomFile, isCustomFileArray, isFileArray, isFileList, isFileOrBlob, isFileUpload, isOriginFileObj, isValidFormData, parseQueryStringLiteral as literalQueryStringToObject, parseQueryStringLiteral, parseFormData, removeFromLocalStorage, removeFromSessionStorage, saveToLocalStorage, saveToSessionStorage, serializeForm, smoothScrollTo, toggleFullScreen, updateQueryParam };
package/dist/dom.mjs CHANGED
@@ -252,13 +252,13 @@ const createFormData = (data, configs) => {
252
252
  const _addToFormData = (key, value) => {
253
253
  const transformedKey = _transformKey(key);
254
254
  if (_compareKeyPaths(transformedKey, ignoreKeys)) return;
255
- if (isCustomFileArray(value)) value?.forEach((file) => formData.append(transformedKey, file?.originFileObj));
255
+ if (isCustomFileArray(value)) for (const file of value) formData.append(transformedKey, file?.originFileObj);
256
256
  else if (isFileUpload(value)) {
257
- if (value?.fileList) value?.fileList.forEach((file) => formData.append(transformedKey, file?.originFileObj));
257
+ if (value?.fileList) for (const file of value.fileList) formData.append(transformedKey, file?.originFileObj);
258
258
  else if (value?.file) if (isCustomFile(value?.file)) formData.append(transformedKey, value?.file?.originFileObj);
259
259
  else formData.append(transformedKey, value?.file);
260
260
  } else if (isFileOrBlob(value)) formData.append(transformedKey, value);
261
- else if (isFileList(value)) for (let i = 0; i < value?.length; i++) formData.append(transformedKey, value.item(i));
261
+ else if (isFileList(value)) for (let i = 0; i < value?.length; i++) formData.append(transformedKey, value?.item(i));
262
262
  else if (Array.isArray(value)) {
263
263
  if (isFileArray(value)) if (_shouldBreakArray(key)) value?.forEach((item, index) => {
264
264
  _addToFormData(`${transformedKey}[${index}]`, item);
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as KeyForObject, T as NestedKeyString, ai as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-DyVg8BFt.cjs";
17
+ import { S as KeyForObject, T as NestedKeyString, ai as RequireExactly, at as NormalPrimitive, u as DotNotationKey, x as KeyForArray } from "./object-DyVg8BFt.cjs";
18
18
  import { F as QueryString } from "./string-EMT7czsU.cjs";
19
+ import { f as TypeOrArray } from "./array-EVkwcL_k.cjs";
19
20
 
20
21
  //#region src/types/form.d.ts
21
22
  /** - Configuration options to control FormData generation behavior. */
@@ -111,6 +112,6 @@ interface FileError extends Error {
111
112
  /** THe return type of `serializeForm` wither as object or query string. */
112
113
  type SerializedForm<T extends boolean> = T extends false ? Record<string, string | string[]> : QueryString;
113
114
  /** * Represents the parsed form data. */
114
- type ParsedFormData<T> = T extends string ? Record<string, string | string[]> : Record<string, string | string[] | File | File[]>;
115
+ type ParsedFormData<T extends FormData | string, P extends boolean> = T extends string ? Record<string, P extends true ? TypeOrArray<NormalPrimitive> : TypeOrArray<string>> : Record<string, P extends true ? TypeOrArray<NormalPrimitive | File> : TypeOrArray<string | File>>;
115
116
  //#endregion
116
117
  export { OriginFileObj as a, FormDataConfigs as i, FileError as n, ParsedFormData as o, FileUpload as r, SerializedForm as s, CustomFile as t };
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as KeyForObject, T as NestedKeyString, ai as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-DyVg8BFt.mjs";
17
+ import { S as KeyForObject, T as NestedKeyString, ai as RequireExactly, at as NormalPrimitive, u as DotNotationKey, x as KeyForArray } from "./object-DyVg8BFt.mjs";
18
18
  import { F as QueryString } from "./string-GQsmDdYa.mjs";
19
+ import { f as TypeOrArray } from "./array-CbAKXvhH.mjs";
19
20
 
20
21
  //#region src/types/form.d.ts
21
22
  /** - Configuration options to control FormData generation behavior. */
@@ -111,6 +112,6 @@ interface FileError extends Error {
111
112
  /** THe return type of `serializeForm` wither as object or query string. */
112
113
  type SerializedForm<T extends boolean> = T extends false ? Record<string, string | string[]> : QueryString;
113
114
  /** * Represents the parsed form data. */
114
- type ParsedFormData<T> = T extends string ? Record<string, string | string[]> : Record<string, string | string[] | File | File[]>;
115
+ type ParsedFormData<T extends FormData | string, P extends boolean> = T extends string ? Record<string, P extends true ? TypeOrArray<NormalPrimitive> : TypeOrArray<string>> : Record<string, P extends true ? TypeOrArray<NormalPrimitive | File> : TypeOrArray<string | File>>;
115
116
  //#endregion
116
117
  export { OriginFileObj as a, FormDataConfigs as i, FileError as n, ParsedFormData as o, FileUpload as r, SerializedForm as s, CustomFile as t };
package/dist/guards.d.cts CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { $ as GenericFn, B as AsyncFunction, Dn as UTCOffset, Ft as DateLike, Z as FalsyPrimitive, _n as TimeWithUnit, at as NormalPrimitive, ct as Numeric, dt as Primitive, jt as ClockTime, nt as Maybe, pt as ValidArray, rt as MethodDescriptor, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, y as GenericObject } from "./object-DyVg8BFt.cjs";
18
18
  import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-asKZqwDF.cjs";
19
- import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-BgomIbws.cjs";
19
+ import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-D00Uqm9S.cjs";
20
20
  import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "./uuid-CMNRM9NO.cjs";
21
21
 
22
22
  //#region src/colors/guards.d.ts
package/dist/guards.d.mts CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { $ as GenericFn, B as AsyncFunction, Dn as UTCOffset, Ft as DateLike, Z as FalsyPrimitive, _n as TimeWithUnit, at as NormalPrimitive, ct as Numeric, dt as Primitive, jt as ClockTime, nt as Maybe, pt as ValidArray, rt as MethodDescriptor, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, y as GenericObject } from "./object-DyVg8BFt.mjs";
18
18
  import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-B2SgCGbm.mjs";
19
- import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-C9x0f9jU.mjs";
19
+ import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-BbBnKdBb.mjs";
20
20
  import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "./uuid-DvQsIl9p.mjs";
21
21
 
22
22
  //#region src/colors/guards.d.ts
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { G as ConditionFns, K as Constructor, U as ClassDetails, Xr as ProtoMethodOptions, br as ArrayOfObjectsToStringOptions, dt as Primitive, mt as VoidFn, nt as Maybe, q as DelayedFn, xr as ArrayOfPrimitivesToStringOptions, y as GenericObject } from "./object-DyVg8BFt.mjs";
18
- import { a as Flattened } from "./array-D8VGEDBI.mjs";
18
+ import { a as Flattened } from "./array-CbAKXvhH.mjs";
19
19
 
20
20
  //#region src/array/basics.d.ts
21
21
  /**
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { G as ConditionFns, K as Constructor, U as ClassDetails, Xr as ProtoMethodOptions, br as ArrayOfObjectsToStringOptions, dt as Primitive, mt as VoidFn, nt as Maybe, q as DelayedFn, xr as ArrayOfPrimitivesToStringOptions, y as GenericObject } from "./object-DyVg8BFt.cjs";
18
- import { a as Flattened } from "./array-ChT6TxQ7.cjs";
18
+ import { a as Flattened } from "./array-EVkwcL_k.cjs";
19
19
 
20
20
  //#region src/array/basics.d.ts
21
21
  /**
package/dist/index.d.cts CHANGED
@@ -18,8 +18,8 @@ import { $n as NumberType, Bn as DecimalOptions, D as NumericDotKey, E as Nested
18
18
  import { T as DiffResult, f as AnagramOptions, g as CharDiffResult, j as MaskOptions } from "./string-EMT7czsU.cjs";
19
19
  import { n as convertStringCase, t as capitalizeString } from "./case-DMCkxWbW.cjs";
20
20
  import { i as parseQueryStringLiteral, r as parseQueryString, t as generateQueryParams } from "./query-BLsaWi3q.cjs";
21
- import { c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-ChT6TxQ7.cjs";
22
- import { C as shuffleArray, S as isInvalidOrEmptyArray, _ as findPrimeNumbers, a as deepParsePrimitives, b as flattenArray, c as getInstanceGetterNames, d as getStaticMethodNames, f as isDeepEqual, g as throttleAction, h as stripJsonEdgeGarbage, i as debounceAction, l as getInstanceMethodNames, m as stableStringify, n as countInstanceMethods, o as definePrototypeMethod, p as parseJSON, r as countStaticMethods, s as getClassDetails, t as convertArrayToString, u as getStaticGetterNames, v as isPrime, x as getLastArrayElement, y as filterArrayOfObjects } from "./index-BgomIbws.cjs";
21
+ import { c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-EVkwcL_k.cjs";
22
+ import { C as shuffleArray, S as isInvalidOrEmptyArray, _ as findPrimeNumbers, a as deepParsePrimitives, b as flattenArray, c as getInstanceGetterNames, d as getStaticMethodNames, f as isDeepEqual, g as throttleAction, h as stripJsonEdgeGarbage, i as debounceAction, l as getInstanceMethodNames, m as stableStringify, n as countInstanceMethods, o as definePrototypeMethod, p as parseJSON, r as countStaticMethods, s as getClassDetails, t as convertArrayToString, u as getStaticGetterNames, v as isPrime, x as getLastArrayElement, y as filterArrayOfObjects } from "./index-D00Uqm9S.cjs";
23
23
  import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-DlwGpXu-.cjs";
24
24
 
25
25
  //#region src/string/anagram.d.ts
package/dist/index.d.mts CHANGED
@@ -18,8 +18,8 @@ import { $n as NumberType, Bn as DecimalOptions, D as NumericDotKey, E as Nested
18
18
  import { T as DiffResult, f as AnagramOptions, g as CharDiffResult, j as MaskOptions } from "./string-GQsmDdYa.mjs";
19
19
  import { n as convertStringCase, t as capitalizeString } from "./case-CcoD-jFV.mjs";
20
20
  import { i as parseQueryStringLiteral, r as parseQueryString, t as generateQueryParams } from "./query-Bi_ofCBp.mjs";
21
- import { c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-D8VGEDBI.mjs";
22
- import { C as shuffleArray, S as isInvalidOrEmptyArray, _ as findPrimeNumbers, a as deepParsePrimitives, b as flattenArray, c as getInstanceGetterNames, d as getStaticMethodNames, f as isDeepEqual, g as throttleAction, h as stripJsonEdgeGarbage, i as debounceAction, l as getInstanceMethodNames, m as stableStringify, n as countInstanceMethods, o as definePrototypeMethod, p as parseJSON, r as countStaticMethods, s as getClassDetails, t as convertArrayToString, u as getStaticGetterNames, v as isPrime, x as getLastArrayElement, y as filterArrayOfObjects } from "./index-C9x0f9jU.mjs";
21
+ import { c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-CbAKXvhH.mjs";
22
+ import { C as shuffleArray, S as isInvalidOrEmptyArray, _ as findPrimeNumbers, a as deepParsePrimitives, b as flattenArray, c as getInstanceGetterNames, d as getStaticMethodNames, f as isDeepEqual, g as throttleAction, h as stripJsonEdgeGarbage, i as debounceAction, l as getInstanceMethodNames, m as stableStringify, n as countInstanceMethods, o as definePrototypeMethod, p as parseJSON, r as countStaticMethods, s as getClassDetails, t as convertArrayToString, u as getStaticGetterNames, v as isPrime, x as getLastArrayElement, y as filterArrayOfObjects } from "./index-BbBnKdBb.mjs";
23
23
  import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-DY7AX7D4.mjs";
24
24
 
25
25
  //#region src/string/anagram.d.ts
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { a as Flattened, c as OrderOption, d as SortOptions, i as FirstFieldValue, l as SortByOption, n as FindOptions, o as Option, r as FirstFieldKey, s as OptionsConfig, t as FieldValue, u as SortNature } from "../array-ChT6TxQ7.cjs";
18
- export { FieldValue, FindOptions, FirstFieldKey, FirstFieldValue, Flattened, Option, OptionsConfig, OrderOption, SortByOption, SortNature, SortOptions };
17
+ import { a as Flattened, c as OrderOption, d as SortOptions, f as TypeOrArray, i as FirstFieldValue, l as SortByOption, n as FindOptions, o as Option, r as FirstFieldKey, s as OptionsConfig, t as FieldValue, u as SortNature } from "../array-EVkwcL_k.cjs";
18
+ export { FieldValue, FindOptions, FirstFieldKey, FirstFieldValue, Flattened, Option, OptionsConfig, OrderOption, SortByOption, SortNature, SortOptions, TypeOrArray };
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { a as Flattened, c as OrderOption, d as SortOptions, i as FirstFieldValue, l as SortByOption, n as FindOptions, o as Option, r as FirstFieldKey, s as OptionsConfig, t as FieldValue, u as SortNature } from "../array-D8VGEDBI.mjs";
18
- export { FieldValue, FindOptions, FirstFieldKey, FirstFieldValue, Flattened, Option, OptionsConfig, OrderOption, SortByOption, SortNature, SortOptions };
17
+ import { a as Flattened, c as OrderOption, d as SortOptions, f as TypeOrArray, i as FirstFieldValue, l as SortByOption, n as FindOptions, o as Option, r as FirstFieldKey, s as OptionsConfig, t as FieldValue, u as SortNature } from "../array-CbAKXvhH.mjs";
18
+ export { FieldValue, FindOptions, FirstFieldKey, FirstFieldValue, Flattened, Option, OptionsConfig, OrderOption, SortByOption, SortNature, SortOptions, TypeOrArray };
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-CHFqlgPr.cjs";
17
+ import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-DA-YShnM.cjs";
18
18
  export { CustomFile, FileError, FileUpload, FormDataConfigs, OriginFileObj, ParsedFormData, SerializedForm };
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-crhNgN40.mjs";
17
+ import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-DIYoIS0E.mjs";
18
18
  export { CustomFile, FileError, FileUpload, FormDataConfigs, OriginFileObj, ParsedFormData, SerializedForm };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolbox-x",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.",
5
5
  "main": "./dist/index.cjs",
6
6
  "type": "module",