fit-ui 2.18.2 → 2.19.0
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/dist/Documentation.html +1 -1
- package/dist/Fit.UI.css +13 -13
- package/dist/Fit.UI.js +36 -4
- package/dist/Fit.UI.min.css +2 -2
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +76 -4
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1353,6 +1353,14 @@ declare namespace Fit
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
public SetValidationHandler(cb:Function | null):void;
|
|
1355
1355
|
/**
|
|
1356
|
+
* Get/set value indicating whether control immediately shows and
|
|
1357
|
+
updates its validation error as the user changes the control value.
|
|
1358
|
+
* @function ShowValidationErrorsOnChange
|
|
1359
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
1360
|
+
* @returns boolean
|
|
1361
|
+
*/
|
|
1362
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
1363
|
+
/**
|
|
1356
1364
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
1357
1365
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
1358
1366
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -1911,6 +1919,14 @@ declare namespace Fit
|
|
|
1911
1919
|
*/
|
|
1912
1920
|
public SetValidationHandler(cb:Function | null):void;
|
|
1913
1921
|
/**
|
|
1922
|
+
* Get/set value indicating whether control immediately shows and
|
|
1923
|
+
updates its validation error as the user changes the control value.
|
|
1924
|
+
* @function ShowValidationErrorsOnChange
|
|
1925
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
1926
|
+
* @returns boolean
|
|
1927
|
+
*/
|
|
1928
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
1929
|
+
/**
|
|
1914
1930
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
1915
1931
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
1916
1932
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -2324,6 +2340,14 @@ declare namespace Fit
|
|
|
2324
2340
|
*/
|
|
2325
2341
|
public SetValidationHandler(cb:Function | null):void;
|
|
2326
2342
|
/**
|
|
2343
|
+
* Get/set value indicating whether control immediately shows and
|
|
2344
|
+
updates its validation error as the user changes the control value.
|
|
2345
|
+
* @function ShowValidationErrorsOnChange
|
|
2346
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
2347
|
+
* @returns boolean
|
|
2348
|
+
*/
|
|
2349
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
2350
|
+
/**
|
|
2327
2351
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
2328
2352
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
2329
2353
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -3098,9 +3122,9 @@ declare namespace Fit
|
|
|
3098
3122
|
/**
|
|
3099
3123
|
* Get picker control used to add items to drop down control.
|
|
3100
3124
|
* @function GetPicker
|
|
3101
|
-
* @returns Fit.Controls.PickerBase
|
|
3125
|
+
* @returns Fit.Controls.PickerBase | null
|
|
3102
3126
|
*/
|
|
3103
|
-
public GetPicker():Fit.Controls.PickerBase;
|
|
3127
|
+
public GetPicker():Fit.Controls.PickerBase | null;
|
|
3104
3128
|
/**
|
|
3105
3129
|
* Get selected item by value - returns object with Title (string), Value (string), and Valid (boolean) properties if found, otherwise Null is returned.
|
|
3106
3130
|
* @function GetSelectionByValue
|
|
@@ -3459,6 +3483,14 @@ declare namespace Fit
|
|
|
3459
3483
|
*/
|
|
3460
3484
|
public SetValidationHandler(cb:Function | null):void;
|
|
3461
3485
|
/**
|
|
3486
|
+
* Get/set value indicating whether control immediately shows and
|
|
3487
|
+
updates its validation error as the user changes the control value.
|
|
3488
|
+
* @function ShowValidationErrorsOnChange
|
|
3489
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
3490
|
+
* @returns boolean
|
|
3491
|
+
*/
|
|
3492
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
3493
|
+
/**
|
|
3462
3494
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
3463
3495
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
3464
3496
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -3983,6 +4015,14 @@ declare namespace Fit
|
|
|
3983
4015
|
*/
|
|
3984
4016
|
public SetValidationHandler(cb:Function | null):void;
|
|
3985
4017
|
/**
|
|
4018
|
+
* Get/set value indicating whether control immediately shows and
|
|
4019
|
+
updates its validation error as the user changes the control value.
|
|
4020
|
+
* @function ShowValidationErrorsOnChange
|
|
4021
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
4022
|
+
* @returns boolean
|
|
4023
|
+
*/
|
|
4024
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
4025
|
+
/**
|
|
3986
4026
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
3987
4027
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
3988
4028
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -4407,6 +4447,14 @@ declare namespace Fit
|
|
|
4407
4447
|
*/
|
|
4408
4448
|
public SetValidationHandler(cb:Function | null):void;
|
|
4409
4449
|
/**
|
|
4450
|
+
* Get/set value indicating whether control immediately shows and
|
|
4451
|
+
updates its validation error as the user changes the control value.
|
|
4452
|
+
* @function ShowValidationErrorsOnChange
|
|
4453
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
4454
|
+
* @returns boolean
|
|
4455
|
+
*/
|
|
4456
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
4457
|
+
/**
|
|
4410
4458
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
4411
4459
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
4412
4460
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -6414,6 +6462,14 @@ declare namespace Fit
|
|
|
6414
6462
|
*/
|
|
6415
6463
|
public SetValidationHandler(cb:Function | null):void;
|
|
6416
6464
|
/**
|
|
6465
|
+
* Get/set value indicating whether control immediately shows and
|
|
6466
|
+
updates its validation error as the user changes the control value.
|
|
6467
|
+
* @function ShowValidationErrorsOnChange
|
|
6468
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
6469
|
+
* @returns boolean
|
|
6470
|
+
*/
|
|
6471
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
6472
|
+
/**
|
|
6417
6473
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
6418
6474
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
6419
6475
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -7268,9 +7324,9 @@ declare namespace Fit
|
|
|
7268
7324
|
/**
|
|
7269
7325
|
* Get picker control used to add items to drop down control.
|
|
7270
7326
|
* @function GetPicker
|
|
7271
|
-
* @returns Fit.Controls.PickerBase
|
|
7327
|
+
* @returns Fit.Controls.PickerBase | null
|
|
7272
7328
|
*/
|
|
7273
|
-
public GetPicker():Fit.Controls.PickerBase;
|
|
7329
|
+
public GetPicker():Fit.Controls.PickerBase | null;
|
|
7274
7330
|
/**
|
|
7275
7331
|
* Get selected item by value - returns object with Title (string), Value (string), and Valid (boolean) properties if found, otherwise Null is returned.
|
|
7276
7332
|
* @function GetSelectionByValue
|
|
@@ -7629,6 +7685,14 @@ declare namespace Fit
|
|
|
7629
7685
|
*/
|
|
7630
7686
|
public SetValidationHandler(cb:Function | null):void;
|
|
7631
7687
|
/**
|
|
7688
|
+
* Get/set value indicating whether control immediately shows and
|
|
7689
|
+
updates its validation error as the user changes the control value.
|
|
7690
|
+
* @function ShowValidationErrorsOnChange
|
|
7691
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
7692
|
+
* @returns boolean
|
|
7693
|
+
*/
|
|
7694
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
7695
|
+
/**
|
|
7632
7696
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
7633
7697
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
7634
7698
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
@@ -9086,6 +9150,14 @@ declare namespace Fit
|
|
|
9086
9150
|
*/
|
|
9087
9151
|
public SetValidationHandler(cb:Function | null):void;
|
|
9088
9152
|
/**
|
|
9153
|
+
* Get/set value indicating whether control immediately shows and
|
|
9154
|
+
updates its validation error as the user changes the control value.
|
|
9155
|
+
* @function ShowValidationErrorsOnChange
|
|
9156
|
+
* @param {boolean} [val=undefined] - If defined, True enables feature, False disables it.
|
|
9157
|
+
* @returns boolean
|
|
9158
|
+
*/
|
|
9159
|
+
public ShowValidationErrorsOnChange(val?:boolean):boolean;
|
|
9160
|
+
/**
|
|
9089
9161
|
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
9090
9162
|
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
9091
9163
|
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|