fit-ui 3.4.4 → 3.5.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 +3 -3
- package/dist/Fit.UI.css +49 -0
- package/dist/Fit.UI.js +206 -16
- package/dist/Fit.UI.min.css +1 -1
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +33 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -4598,6 +4598,16 @@ declare namespace Fit
|
|
|
4598
4598
|
*/
|
|
4599
4599
|
public Maximized(val?:boolean):boolean;
|
|
4600
4600
|
/**
|
|
4601
|
+
* Get/set the maximum text length. Be aware that HTML formatting in Design Mode
|
|
4602
|
+
does not count - use AddValidationRule(..) to set a hard limit if needed.
|
|
4603
|
+
Returns -1 when no maximum text length is imposed.
|
|
4604
|
+
* @function MaxLength
|
|
4605
|
+
* @param {number} [val=undefined] - If defined, value is set as maximum text length.
|
|
4606
|
+
* @param {Fit.Controls.InputTypeDefs.MaxLengthConfig} [config=undefined] - Optional configuration for how maximum text length is handled and behaves.
|
|
4607
|
+
* @returns number
|
|
4608
|
+
*/
|
|
4609
|
+
public MaxLength(val?:number, config?:Fit.Controls.InputTypeDefs.MaxLengthConfig):number;
|
|
4610
|
+
/**
|
|
4601
4611
|
* Get/set value indicating whether control is in Multi Line mode (textarea).
|
|
4602
4612
|
* @function MultiLine
|
|
4603
4613
|
* @param {boolean} [val=undefined] - If defined, True enables Multi Line mode, False disables it.
|
|
@@ -5440,6 +5450,29 @@ declare namespace Fit
|
|
|
5440
5450
|
*/
|
|
5441
5451
|
Value:string;
|
|
5442
5452
|
}
|
|
5453
|
+
/**
|
|
5454
|
+
* Configuration for MaxLength feature.
|
|
5455
|
+
* @class [Fit.Controls.InputTypeDefs.MaxLengthConfig MaxLengthConfig]
|
|
5456
|
+
*/
|
|
5457
|
+
class MaxLengthConfig
|
|
5458
|
+
{
|
|
5459
|
+
// Properties defined by Fit.Controls.InputTypeDefs.MaxLengthConfig
|
|
5460
|
+
/**
|
|
5461
|
+
* Hide character counter until this number of characters is reached.
|
|
5462
|
+
* @member {number} [HideUntilCharCount=0]
|
|
5463
|
+
*/
|
|
5464
|
+
HideUntilCharCount?:number;
|
|
5465
|
+
/**
|
|
5466
|
+
* If True, shows a validation error message when the maximum text lenght is reached.
|
|
5467
|
+
* @member {boolean} [ShowValidationError=false]
|
|
5468
|
+
*/
|
|
5469
|
+
ShowValidationError?:boolean;
|
|
5470
|
+
/**
|
|
5471
|
+
* If True, blocks additional input when maximum text length is reached.
|
|
5472
|
+
* @member {boolean} [StopInputOnLimit=true]
|
|
5473
|
+
*/
|
|
5474
|
+
StopInputOnLimit?:boolean;
|
|
5475
|
+
}
|
|
5443
5476
|
}
|
|
5444
5477
|
/**
|
|
5445
5478
|
* Picker control which allows for entries
|