fit-ui 2.13.3 → 2.13.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fit-ui",
3
- "version": "2.13.3",
3
+ "version": "2.13.4",
4
4
  "title": "Fit.UI",
5
5
  "description": "Object Oriented framework for building rich User Interfaces",
6
6
  "main": "dist/Fit.UI.js",
package/types/index.d.ts CHANGED
@@ -221,7 +221,7 @@ declare namespace Fit
221
221
  or Null (or nothing) to stop further processing.
222
222
  * @returns boolean
223
223
  */
224
- public static CustomRecurse(arr:FileList, callback:(obj:File) => FileList | File[] | null | void):boolean;
224
+ public static CustomRecurse(arr:FileList, callback:(obj:__fitUiAliasFile) => __fitUiAliasFileList | File[] | null | void):boolean;
225
225
  /**
226
226
  * Iterates through objects in collection and passes each object to provided callback.
227
227
  Callback is expected to return any children supposed to be iterated too, or Null
@@ -303,7 +303,7 @@ declare namespace Fit
303
303
  Return False from callback to break loop.
304
304
  * @returns boolean
305
305
  */
306
- public static ForEach(arr:FileList, callback:(obj:File) => boolean | void):boolean;
306
+ public static ForEach(arr:FileList, callback:(obj:__fitUiAliasFile) => boolean | void):boolean;
307
307
  /**
308
308
  * Iterates through objects in collection and passes each object to the provided callback function.
309
309
  Returns boolean indicating whether iteration was carried through (True) or interrupted (False).
@@ -448,7 +448,7 @@ declare namespace Fit
448
448
  * @param {(obj:File) => string} callback - Callback returning string representation of objects passed from collection in turn.
449
449
  * @returns string
450
450
  */
451
- public static Join(arr:FileList, separator:string, callback:(obj:File) => string):string;
451
+ public static Join(arr:FileList, separator:string, callback:(obj:__fitUiAliasFile) => string):string;
452
452
  /**
453
453
  * Join objects from a collection into a string.
454
454
  * @function Join
@@ -549,7 +549,7 @@ declare namespace Fit
549
549
  Return False from callback to break loop.
550
550
  * @returns boolean
551
551
  */
552
- public static Recurse(arr:FileList, childrenProperty:string, callback:(obj:File) => boolean | void):boolean;
552
+ public static Recurse(arr:FileList, childrenProperty:string, callback:(obj:__fitUiAliasFile) => boolean | void):boolean;
553
553
  /**
554
554
  * Recursively iterates through objects in collection and passes each object to the provided callback function.
555
555
  Returns boolean indicating whether recursion was carried through (True) or interrupted (False).
@@ -4096,7 +4096,7 @@ declare namespace Fit
4096
4096
  * Native JS File object representing file data - returns Null on browsers not supporting the File API.
4097
4097
  * @member {File | null} FileObject
4098
4098
  */
4099
- FileObject:File | null;
4099
+ FileObject:__fitUiAliasFile | null;
4100
4100
  /**
4101
4101
  * Get image preview for supported file types - returns Null on browsers not supporting the File API.
4102
4102
  * @member {Fit.Controls.FilePickerTypeDefs.GetImagePreview} GetImagePreview
@@ -6945,9 +6945,10 @@ declare namespace Fit
6945
6945
  Localized sorting is not supported on legacy browsers, which will fall back to sorting based on
6946
6946
  each character's position in the computer's character table.
6947
6947
  * @function ActionMenuSortingLocale
6948
+ * @param {string | null} [val=undefined] - If defined, sorting is updated to use provided locale - null disables sorting.
6948
6949
  * @returns string | null
6949
6950
  */
6950
- public ActionMenuSortingLocale():string | null;
6951
+ public ActionMenuSortingLocale(val?:string | null):string | null;
6951
6952
  /**
6952
6953
  * Automatically update title of selected items based on data from WebService.
6953
6954
  Contrary to UpdateSelected(), AutoUpdateSelected() automatically loads all
@@ -12948,6 +12949,7 @@ declare namespace Fit
12948
12949
  }
12949
12950
 
12950
12951
  type __fitUiAliasArray = Array<any>;
12952
+ type __fitUiAliasFile = File;
12951
12953
  type __fitUiAliasDate = Date;
12952
12954
  type __fitUiAliasRequest = Request;
12953
12955
  type __fitUiAliasMath = Math;