fit-ui 2.9.1 → 2.9.2
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 +519 -10
- package/dist/Fit.UI.js +4267 -77
- 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 +2468 -351
package/types/index.d.ts
CHANGED
|
@@ -1027,6 +1027,13 @@ declare namespace Fit
|
|
|
1027
1027
|
*/
|
|
1028
1028
|
public OnClick(cb:Fit.Controls.ButtonTypeDefs.ClickEventHandler):void;
|
|
1029
1029
|
/**
|
|
1030
|
+
* Get/set flag indicating whether button returns focus after click.
|
|
1031
|
+
* @function ReturnFocus
|
|
1032
|
+
* @param {boolean} [val=undefined] - A value of True causes button to return focus to previously focused element after click - defaults to False.
|
|
1033
|
+
* @returns boolean
|
|
1034
|
+
*/
|
|
1035
|
+
public ReturnFocus(val?:boolean):boolean;
|
|
1036
|
+
/**
|
|
1030
1037
|
* Get/set button title.
|
|
1031
1038
|
* @function Title
|
|
1032
1039
|
* @param {string} [val=undefined] - If specified, button title will be set to specified value.
|
|
@@ -2363,6 +2370,36 @@ declare namespace Fit
|
|
|
2363
2370
|
{
|
|
2364
2371
|
// Functions defined by Fit.Controls.Dialog
|
|
2365
2372
|
/**
|
|
2373
|
+
* Display alert dialog.
|
|
2374
|
+
* @function Alert
|
|
2375
|
+
* @static
|
|
2376
|
+
* @param {string} content - Content to display in alert dialog.
|
|
2377
|
+
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2378
|
+
* @returns Fit.Controls.DialogInterface
|
|
2379
|
+
*/
|
|
2380
|
+
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2381
|
+
/**
|
|
2382
|
+
* Display confirmation dialog with OK and Cancel buttons.
|
|
2383
|
+
* @function Confirm
|
|
2384
|
+
* @static
|
|
2385
|
+
* @param {string} content - Content to display in confirmation dialog.
|
|
2386
|
+
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2387
|
+
True is passed to callback function when OK is clicked, otherwise False.
|
|
2388
|
+
* @returns Fit.Controls.DialogInterface
|
|
2389
|
+
*/
|
|
2390
|
+
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2391
|
+
/**
|
|
2392
|
+
* Display prompt dialog that allows for user input.
|
|
2393
|
+
* @function Prompt
|
|
2394
|
+
* @static
|
|
2395
|
+
* @param {string} content - Content to display in prompt dialog.
|
|
2396
|
+
* @param {string} defaultValue - Default value in input field.
|
|
2397
|
+
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2398
|
+
Value entered in input field is passed, null if prompt is canceled.
|
|
2399
|
+
* @returns Fit.Controls.DialogInterface
|
|
2400
|
+
*/
|
|
2401
|
+
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2402
|
+
/**
|
|
2366
2403
|
* Add button to dialog.
|
|
2367
2404
|
* @function AddButton
|
|
2368
2405
|
* @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
|
|
@@ -2549,36 +2586,6 @@ declare namespace Fit
|
|
|
2549
2586
|
* @returns Fit.TypeDefs.CssValue
|
|
2550
2587
|
*/
|
|
2551
2588
|
public Width(val?:number, unit?:Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"):Fit.TypeDefs.CssValue;
|
|
2552
|
-
/**
|
|
2553
|
-
* Display alert dialog.
|
|
2554
|
-
* @function Alert
|
|
2555
|
-
* @static
|
|
2556
|
-
* @param {string} content - Content to display in alert dialog.
|
|
2557
|
-
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2558
|
-
* @returns Fit.Controls.DialogInterface
|
|
2559
|
-
*/
|
|
2560
|
-
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2561
|
-
/**
|
|
2562
|
-
* Display confirmation dialog with OK and Cancel buttons.
|
|
2563
|
-
* @function Confirm
|
|
2564
|
-
* @static
|
|
2565
|
-
* @param {string} content - Content to display in confirmation dialog.
|
|
2566
|
-
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2567
|
-
True is passed to callback function when OK is clicked, otherwise False.
|
|
2568
|
-
* @returns Fit.Controls.DialogInterface
|
|
2569
|
-
*/
|
|
2570
|
-
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2571
|
-
/**
|
|
2572
|
-
* Display prompt dialog that allows for user input.
|
|
2573
|
-
* @function Prompt
|
|
2574
|
-
* @static
|
|
2575
|
-
* @param {string} content - Content to display in prompt dialog.
|
|
2576
|
-
* @param {string} defaultValue - Default value in input field.
|
|
2577
|
-
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2578
|
-
Value entered in input field is passed, null if prompt is canceled.
|
|
2579
|
-
* @returns Fit.Controls.DialogInterface
|
|
2580
|
-
*/
|
|
2581
|
-
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2582
2589
|
// Functions defined by Fit.Controls.Component
|
|
2583
2590
|
/**
|
|
2584
2591
|
* Destroys control to free up memory.
|
|
@@ -3803,6 +3810,22 @@ declare namespace Fit
|
|
|
3803
3810
|
*/
|
|
3804
3811
|
public CheckSpelling(val?:boolean):boolean;
|
|
3805
3812
|
/**
|
|
3813
|
+
* Get/set value indicating whether control should have spell checking enabled (default) or disabled.
|
|
3814
|
+
* @function CheckSpelling
|
|
3815
|
+
* @param {boolean} [val=undefined] - If defined, true enables spell checking while false disables it.
|
|
3816
|
+
* @returns boolean
|
|
3817
|
+
*/
|
|
3818
|
+
public CheckSpelling(val?:boolean):boolean;
|
|
3819
|
+
/**
|
|
3820
|
+
* Get/set number of milliseconds used to postpone onchange event.
|
|
3821
|
+
Every new keystroke/change resets the timer. Debouncing can
|
|
3822
|
+
improve performance when working with large amounts of data.
|
|
3823
|
+
* @function DebounceOnChange
|
|
3824
|
+
* @param {number} timeout - If defined, timeout value (milliseconds) is updated - a value of -1 disables debouncing.
|
|
3825
|
+
* @returns number
|
|
3826
|
+
*/
|
|
3827
|
+
public DebounceOnChange(timeout:number):number;
|
|
3828
|
+
/**
|
|
3806
3829
|
* Get/set number of milliseconds used to postpone onchange event.
|
|
3807
3830
|
Every new keystroke/change resets the timer. Debouncing can
|
|
3808
3831
|
improve performance when working with large amounts of data.
|
|
@@ -3821,12 +3844,38 @@ declare namespace Fit
|
|
|
3821
3844
|
*/
|
|
3822
3845
|
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
3823
3846
|
/**
|
|
3847
|
+
* Get/set value indicating whether control is in Design Mode allowing for rich HTML content.
|
|
3848
|
+
Notice that this control type requires dimensions (Width/Height) to be specified in pixels.
|
|
3849
|
+
* @function DesignMode
|
|
3850
|
+
* @param {boolean} [val=undefined] - If defined, True enables Design Mode, False disables it.
|
|
3851
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeConfig} [editorConfig=undefined] - If provided and DesignMode is enabled, configuration is applied when editor is created.
|
|
3852
|
+
* @returns boolean
|
|
3853
|
+
*/
|
|
3854
|
+
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
3855
|
+
/**
|
|
3824
3856
|
* Create instance of Input control.
|
|
3825
3857
|
* @function Input
|
|
3826
3858
|
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
3827
3859
|
*/
|
|
3828
3860
|
constructor(ctlId?:string);
|
|
3829
3861
|
/**
|
|
3862
|
+
* Create instance of Input control.
|
|
3863
|
+
* @function Input
|
|
3864
|
+
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
3865
|
+
*/
|
|
3866
|
+
constructor(ctlId?:string);
|
|
3867
|
+
/**
|
|
3868
|
+
* Get/set value indicating whether control is maximizable.
|
|
3869
|
+
Making control maximizable will disable Resizable.
|
|
3870
|
+
* @function Maximizable
|
|
3871
|
+
* @param {boolean} [val=undefined] - If defined, True enables maximize button, False disables it.
|
|
3872
|
+
* @param {number} [heightMax=undefined] - If defined, this becomes the height of the input control when maximized.
|
|
3873
|
+
The value is considered the same unit set using Height(..) which defaults to px.
|
|
3874
|
+
If not set, the value assumes twice the height set using Height(..).
|
|
3875
|
+
* @returns boolean
|
|
3876
|
+
*/
|
|
3877
|
+
public Maximizable(val?:boolean, heightMax?:number):boolean;
|
|
3878
|
+
/**
|
|
3830
3879
|
* Get/set value indicating whether control is maximizable.
|
|
3831
3880
|
Making control maximizable will disable Resizable.
|
|
3832
3881
|
* @function Maximizable
|
|
@@ -3845,6 +3894,13 @@ declare namespace Fit
|
|
|
3845
3894
|
*/
|
|
3846
3895
|
public Maximized(val?:boolean):boolean;
|
|
3847
3896
|
/**
|
|
3897
|
+
* Get/set value indicating whether control is maximized.
|
|
3898
|
+
* @function Maximized
|
|
3899
|
+
* @param {boolean} [val=undefined] - If defined, True maximizes control, False minimizes it.
|
|
3900
|
+
* @returns boolean
|
|
3901
|
+
*/
|
|
3902
|
+
public Maximized(val?:boolean):boolean;
|
|
3903
|
+
/**
|
|
3848
3904
|
* Get/set value indicating whether control is in Multi Line mode (textarea).
|
|
3849
3905
|
* @function MultiLine
|
|
3850
3906
|
* @param {boolean} [val=undefined] - If defined, True enables Multi Line mode, False disables it.
|
|
@@ -3852,6 +3908,20 @@ declare namespace Fit
|
|
|
3852
3908
|
*/
|
|
3853
3909
|
public MultiLine(val?:boolean):boolean;
|
|
3854
3910
|
/**
|
|
3911
|
+
* Get/set value indicating whether control is in Multi Line mode (textarea).
|
|
3912
|
+
* @function MultiLine
|
|
3913
|
+
* @param {boolean} [val=undefined] - If defined, True enables Multi Line mode, False disables it.
|
|
3914
|
+
* @returns boolean
|
|
3915
|
+
*/
|
|
3916
|
+
public MultiLine(val?:boolean):boolean;
|
|
3917
|
+
/**
|
|
3918
|
+
* Get/set value used as a placeholder to indicate expected input on supported browsers.
|
|
3919
|
+
* @function Placeholder
|
|
3920
|
+
* @param {string} [val=undefined] - If defined, value is set as placeholder.
|
|
3921
|
+
* @returns string
|
|
3922
|
+
*/
|
|
3923
|
+
public Placeholder(val?:string):string;
|
|
3924
|
+
/**
|
|
3855
3925
|
* Get/set value used as a placeholder to indicate expected input on supported browsers.
|
|
3856
3926
|
* @function Placeholder
|
|
3857
3927
|
* @param {string} [val=undefined] - If defined, value is set as placeholder.
|
|
@@ -3862,17 +3932,32 @@ declare namespace Fit
|
|
|
3862
3932
|
* Get/set value indicating whether control is resizable on supported
|
|
3863
3933
|
(modern) browsers. Making control resizable will disable Maximizable.
|
|
3864
3934
|
* @function Resizable
|
|
3865
|
-
* @param {Fit.Controls.InputResizing | "Disabled" | "Enabled" | "Horizontal" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
3866
|
-
* @returns Fit.Controls.InputResizing | "Disabled" | "Enabled" | "Horizontal" | "Vertical"
|
|
3935
|
+
* @param {Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
3936
|
+
* @returns Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"
|
|
3937
|
+
*/
|
|
3938
|
+
public Resizable(val?:Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"):Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical";
|
|
3939
|
+
/**
|
|
3940
|
+
* Get/set value indicating whether control is resizable on supported
|
|
3941
|
+
(modern) browsers. Making control resizable will disable Maximizable.
|
|
3942
|
+
* @function Resizable
|
|
3943
|
+
* @param {Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
3944
|
+
* @returns Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"
|
|
3945
|
+
*/
|
|
3946
|
+
public Resizable(val?:Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"):Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical";
|
|
3947
|
+
/**
|
|
3948
|
+
* Get/set input type (e.g. Text, Password, Email, etc.).
|
|
3949
|
+
* @function Type
|
|
3950
|
+
* @param {Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"} [val=undefined] - If defined, input type is changed to specified value.
|
|
3951
|
+
* @returns Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"
|
|
3867
3952
|
*/
|
|
3868
|
-
public
|
|
3953
|
+
public Type(val?:Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"):Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week";
|
|
3869
3954
|
/**
|
|
3870
3955
|
* Get/set input type (e.g. Text, Password, Email, etc.).
|
|
3871
3956
|
* @function Type
|
|
3872
|
-
* @param {Fit.Controls.InputType | "Color" | "Date" | "DateTime" | "Email" | "Month" | "Number" | "Password" | "PhoneNumber" | "Text" | "Textarea" | "Time" | "Week"} [val=undefined] - If defined, input type is changed to specified value.
|
|
3873
|
-
* @returns Fit.Controls.InputType | "Color" | "Date" | "DateTime" | "Email" | "Month" | "Number" | "Password" | "PhoneNumber" | "Text" | "Textarea" | "Time" | "Week"
|
|
3957
|
+
* @param {Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"} [val=undefined] - If defined, input type is changed to specified value.
|
|
3958
|
+
* @returns Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"
|
|
3874
3959
|
*/
|
|
3875
|
-
public Type(val?:Fit.Controls.InputType | "Color" | "Date" | "DateTime" | "Email" | "Month" | "Number" | "Password" | "PhoneNumber" | "Text" | "Textarea" | "Time" | "Week"):Fit.Controls.InputType | "Color" | "Date" | "DateTime" | "Email" | "Month" | "Number" | "Password" | "PhoneNumber" | "Text" | "Textarea" | "Time" | "Week";
|
|
3960
|
+
public Type(val?:Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"):Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week";
|
|
3876
3961
|
// Functions defined by Fit.Controls.ControlBase
|
|
3877
3962
|
/**
|
|
3878
3963
|
* Add CSS class to DOMElement representing control.
|
|
@@ -4124,320 +4209,1735 @@ declare namespace Fit
|
|
|
4124
4209
|
public Render(toElement?:HTMLElement):void;
|
|
4125
4210
|
}
|
|
4126
4211
|
/**
|
|
4127
|
-
*
|
|
4128
|
-
|
|
4212
|
+
* Input control which allows for one or multiple lines of
|
|
4213
|
+
text, and features a Design Mode for rich HTML content.
|
|
4214
|
+
Extending from Fit.Controls.ControlBase.
|
|
4215
|
+
* @class [Fit.Controls.Input Input]
|
|
4129
4216
|
*/
|
|
4130
|
-
|
|
4217
|
+
class Input
|
|
4131
4218
|
{
|
|
4132
|
-
// Functions defined by Fit.Controls.
|
|
4219
|
+
// Functions defined by Fit.Controls.Input
|
|
4133
4220
|
/**
|
|
4134
|
-
*
|
|
4135
|
-
* @
|
|
4136
|
-
* @param {
|
|
4137
|
-
* @
|
|
4138
|
-
* @returns boolean | void
|
|
4221
|
+
* Get/set value indicating whether control should have spell checking enabled (default) or disabled.
|
|
4222
|
+
* @function CheckSpelling
|
|
4223
|
+
* @param {boolean} [val=undefined] - If defined, true enables spell checking while false disables it.
|
|
4224
|
+
* @returns boolean
|
|
4139
4225
|
*/
|
|
4140
|
-
|
|
4226
|
+
public CheckSpelling(val?:boolean):boolean;
|
|
4141
4227
|
/**
|
|
4142
|
-
*
|
|
4143
|
-
* @
|
|
4144
|
-
* @param {
|
|
4145
|
-
* @
|
|
4228
|
+
* Get/set value indicating whether control should have spell checking enabled (default) or disabled.
|
|
4229
|
+
* @function CheckSpelling
|
|
4230
|
+
* @param {boolean} [val=undefined] - If defined, true enables spell checking while false disables it.
|
|
4231
|
+
* @returns boolean
|
|
4146
4232
|
*/
|
|
4147
|
-
|
|
4233
|
+
public CheckSpelling(val?:boolean):boolean;
|
|
4148
4234
|
/**
|
|
4149
|
-
*
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
* @
|
|
4153
|
-
* @param {
|
|
4154
|
-
* @returns
|
|
4235
|
+
* Get/set number of milliseconds used to postpone onchange event.
|
|
4236
|
+
Every new keystroke/change resets the timer. Debouncing can
|
|
4237
|
+
improve performance when working with large amounts of data.
|
|
4238
|
+
* @function DebounceOnChange
|
|
4239
|
+
* @param {number} timeout - If defined, timeout value (milliseconds) is updated - a value of -1 disables debouncing.
|
|
4240
|
+
* @returns number
|
|
4155
4241
|
*/
|
|
4156
|
-
|
|
4242
|
+
public DebounceOnChange(timeout:number):number;
|
|
4157
4243
|
/**
|
|
4158
|
-
*
|
|
4159
|
-
|
|
4244
|
+
* Get/set number of milliseconds used to postpone onchange event.
|
|
4245
|
+
Every new keystroke/change resets the timer. Debouncing can
|
|
4246
|
+
improve performance when working with large amounts of data.
|
|
4247
|
+
* @function DebounceOnChange
|
|
4248
|
+
* @param {number} timeout - If defined, timeout value (milliseconds) is updated - a value of -1 disables debouncing.
|
|
4249
|
+
* @returns number
|
|
4160
4250
|
*/
|
|
4161
|
-
|
|
4162
|
-
{
|
|
4163
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeAutoGrow
|
|
4164
|
-
/**
|
|
4165
|
-
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4166
|
-
* @member {boolean} Enabled
|
|
4167
|
-
*/
|
|
4168
|
-
Enabled:boolean;
|
|
4169
|
-
/**
|
|
4170
|
-
* Maximum height of editable area.
|
|
4171
|
-
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4172
|
-
*/
|
|
4173
|
-
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4174
|
-
/**
|
|
4175
|
-
* Minimum height of editable area.
|
|
4176
|
-
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4177
|
-
*/
|
|
4178
|
-
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4179
|
-
/**
|
|
4180
|
-
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4181
|
-
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4182
|
-
*/
|
|
4183
|
-
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4184
|
-
}
|
|
4251
|
+
public DebounceOnChange(timeout:number):number;
|
|
4185
4252
|
/**
|
|
4186
|
-
*
|
|
4187
|
-
|
|
4253
|
+
* Get/set value indicating whether control is in Design Mode allowing for rich HTML content.
|
|
4254
|
+
Notice that this control type requires dimensions (Width/Height) to be specified in pixels.
|
|
4255
|
+
* @function DesignMode
|
|
4256
|
+
* @param {boolean} [val=undefined] - If defined, True enables Design Mode, False disables it.
|
|
4257
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeConfig} [editorConfig=undefined] - If provided and DesignMode is enabled, configuration is applied when editor is created.
|
|
4258
|
+
* @returns boolean
|
|
4188
4259
|
*/
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4260
|
+
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
4261
|
+
/**
|
|
4262
|
+
* Get/set value indicating whether control is in Design Mode allowing for rich HTML content.
|
|
4263
|
+
Notice that this control type requires dimensions (Width/Height) to be specified in pixels.
|
|
4264
|
+
* @function DesignMode
|
|
4265
|
+
* @param {boolean} [val=undefined] - If defined, True enables Design Mode, False disables it.
|
|
4266
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeConfig} [editorConfig=undefined] - If provided and DesignMode is enabled, configuration is applied when editor is created.
|
|
4267
|
+
* @returns boolean
|
|
4268
|
+
*/
|
|
4269
|
+
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
4270
|
+
/**
|
|
4271
|
+
* Create instance of Input control.
|
|
4272
|
+
* @function Input
|
|
4273
|
+
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
4274
|
+
*/
|
|
4275
|
+
constructor(ctlId?:string);
|
|
4276
|
+
/**
|
|
4277
|
+
* Create instance of Input control.
|
|
4278
|
+
* @function Input
|
|
4279
|
+
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
4280
|
+
*/
|
|
4281
|
+
constructor(ctlId?:string);
|
|
4282
|
+
/**
|
|
4283
|
+
* Get/set value indicating whether control is maximizable.
|
|
4284
|
+
Making control maximizable will disable Resizable.
|
|
4285
|
+
* @function Maximizable
|
|
4286
|
+
* @param {boolean} [val=undefined] - If defined, True enables maximize button, False disables it.
|
|
4287
|
+
* @param {number} [heightMax=undefined] - If defined, this becomes the height of the input control when maximized.
|
|
4288
|
+
The value is considered the same unit set using Height(..) which defaults to px.
|
|
4289
|
+
If not set, the value assumes twice the height set using Height(..).
|
|
4290
|
+
* @returns boolean
|
|
4291
|
+
*/
|
|
4292
|
+
public Maximizable(val?:boolean, heightMax?:number):boolean;
|
|
4293
|
+
/**
|
|
4294
|
+
* Get/set value indicating whether control is maximizable.
|
|
4295
|
+
Making control maximizable will disable Resizable.
|
|
4296
|
+
* @function Maximizable
|
|
4297
|
+
* @param {boolean} [val=undefined] - If defined, True enables maximize button, False disables it.
|
|
4298
|
+
* @param {number} [heightMax=undefined] - If defined, this becomes the height of the input control when maximized.
|
|
4299
|
+
The value is considered the same unit set using Height(..) which defaults to px.
|
|
4300
|
+
If not set, the value assumes twice the height set using Height(..).
|
|
4301
|
+
* @returns boolean
|
|
4302
|
+
*/
|
|
4303
|
+
public Maximizable(val?:boolean, heightMax?:number):boolean;
|
|
4304
|
+
/**
|
|
4305
|
+
* Get/set value indicating whether control is maximized.
|
|
4306
|
+
* @function Maximized
|
|
4307
|
+
* @param {boolean} [val=undefined] - If defined, True maximizes control, False minimizes it.
|
|
4308
|
+
* @returns boolean
|
|
4309
|
+
*/
|
|
4310
|
+
public Maximized(val?:boolean):boolean;
|
|
4311
|
+
/**
|
|
4312
|
+
* Get/set value indicating whether control is maximized.
|
|
4313
|
+
* @function Maximized
|
|
4314
|
+
* @param {boolean} [val=undefined] - If defined, True maximizes control, False minimizes it.
|
|
4315
|
+
* @returns boolean
|
|
4316
|
+
*/
|
|
4317
|
+
public Maximized(val?:boolean):boolean;
|
|
4318
|
+
/**
|
|
4319
|
+
* Get/set value indicating whether control is in Multi Line mode (textarea).
|
|
4320
|
+
* @function MultiLine
|
|
4321
|
+
* @param {boolean} [val=undefined] - If defined, True enables Multi Line mode, False disables it.
|
|
4322
|
+
* @returns boolean
|
|
4323
|
+
*/
|
|
4324
|
+
public MultiLine(val?:boolean):boolean;
|
|
4325
|
+
/**
|
|
4326
|
+
* Get/set value indicating whether control is in Multi Line mode (textarea).
|
|
4327
|
+
* @function MultiLine
|
|
4328
|
+
* @param {boolean} [val=undefined] - If defined, True enables Multi Line mode, False disables it.
|
|
4329
|
+
* @returns boolean
|
|
4330
|
+
*/
|
|
4331
|
+
public MultiLine(val?:boolean):boolean;
|
|
4332
|
+
/**
|
|
4333
|
+
* Get/set value used as a placeholder to indicate expected input on supported browsers.
|
|
4334
|
+
* @function Placeholder
|
|
4335
|
+
* @param {string} [val=undefined] - If defined, value is set as placeholder.
|
|
4336
|
+
* @returns string
|
|
4337
|
+
*/
|
|
4338
|
+
public Placeholder(val?:string):string;
|
|
4339
|
+
/**
|
|
4340
|
+
* Get/set value used as a placeholder to indicate expected input on supported browsers.
|
|
4341
|
+
* @function Placeholder
|
|
4342
|
+
* @param {string} [val=undefined] - If defined, value is set as placeholder.
|
|
4343
|
+
* @returns string
|
|
4344
|
+
*/
|
|
4345
|
+
public Placeholder(val?:string):string;
|
|
4346
|
+
/**
|
|
4347
|
+
* Get/set value indicating whether control is resizable on supported
|
|
4348
|
+
(modern) browsers. Making control resizable will disable Maximizable.
|
|
4349
|
+
* @function Resizable
|
|
4350
|
+
* @param {Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
4351
|
+
* @returns Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"
|
|
4352
|
+
*/
|
|
4353
|
+
public Resizable(val?:Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"):Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical";
|
|
4354
|
+
/**
|
|
4355
|
+
* Get/set value indicating whether control is resizable on supported
|
|
4356
|
+
(modern) browsers. Making control resizable will disable Maximizable.
|
|
4357
|
+
* @function Resizable
|
|
4358
|
+
* @param {Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
4359
|
+
* @returns Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"
|
|
4360
|
+
*/
|
|
4361
|
+
public Resizable(val?:Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical"):Fit.Controls.InputResizing | "Disabled" | "Disabled" | "Enabled" | "Enabled" | "Horizontal" | "Horizontal" | "Vertical" | "Vertical";
|
|
4362
|
+
/**
|
|
4363
|
+
* Get/set input type (e.g. Text, Password, Email, etc.).
|
|
4364
|
+
* @function Type
|
|
4365
|
+
* @param {Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"} [val=undefined] - If defined, input type is changed to specified value.
|
|
4366
|
+
* @returns Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"
|
|
4367
|
+
*/
|
|
4368
|
+
public Type(val?:Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"):Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week";
|
|
4369
|
+
/**
|
|
4370
|
+
* Get/set input type (e.g. Text, Password, Email, etc.).
|
|
4371
|
+
* @function Type
|
|
4372
|
+
* @param {Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"} [val=undefined] - If defined, input type is changed to specified value.
|
|
4373
|
+
* @returns Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"
|
|
4374
|
+
*/
|
|
4375
|
+
public Type(val?:Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week"):Fit.Controls.InputType | "Color" | "Color" | "Date" | "Date" | "DateTime" | "DateTime" | "Email" | "Email" | "Month" | "Month" | "Number" | "Number" | "Password" | "Password" | "PhoneNumber" | "PhoneNumber" | "Text" | "Text" | "Textarea" | "Textarea" | "Time" | "Time" | "Week" | "Week";
|
|
4376
|
+
// Functions defined by Fit.Controls.ControlBase
|
|
4377
|
+
/**
|
|
4378
|
+
* Add CSS class to DOMElement representing control.
|
|
4379
|
+
* @function AddCssClass
|
|
4380
|
+
* @param {string} val - CSS class to add.
|
|
4381
|
+
*/
|
|
4382
|
+
public AddCssClass(val:string):void;
|
|
4383
|
+
/**
|
|
4384
|
+
* Set callback function used to perform on-the-fly validation against control.
|
|
4385
|
+
* @function AddValidationRule
|
|
4386
|
+
* @param {Fit.Controls.ControlBaseTypeDefs.ValidationCallback<this>} validator - Function receiving an instance of the control.
|
|
4387
|
+
A value of False or a non-empty string with an
|
|
4388
|
+
error message must be returned if value is invalid.
|
|
4389
|
+
*/
|
|
4390
|
+
public AddValidationRule(validator:Fit.Controls.ControlBaseTypeDefs.ValidationCallback<this>):void;
|
|
4391
|
+
/**
|
|
4392
|
+
* Set regular expression used to perform on-the-fly validation against control value, as returned by the Value() function.
|
|
4393
|
+
* @function AddValidationRule
|
|
4394
|
+
* @param {RegExp} validator - Regular expression to validate value against.
|
|
4395
|
+
* @param {string} [errorMessage=undefined] - Optional error message displayed if value validation fails.
|
|
4396
|
+
*/
|
|
4397
|
+
public AddValidationRule(validator:RegExp, errorMessage?:string):void;
|
|
4398
|
+
/**
|
|
4399
|
+
* Get/set value indicating whether control is always considered dirty. This
|
|
4400
|
+
comes in handy when programmatically changing a value of a control on behalf
|
|
4401
|
+
of the user. Some applications may choose to only save values from dirty controls.
|
|
4402
|
+
* @function AlwaysDirty
|
|
4403
|
+
* @param {boolean} [val=undefined] - If defined, Always Dirty is enabled/disabled.
|
|
4404
|
+
* @returns boolean
|
|
4405
|
+
*/
|
|
4406
|
+
public AlwaysDirty(val?:boolean):boolean;
|
|
4407
|
+
/**
|
|
4408
|
+
* Set flag indicating whether control should post back changes automatically when value is changed.
|
|
4409
|
+
* @function AutoPostBack
|
|
4410
|
+
* @param {boolean} [val=undefined] - If defined, True enables auto post back, False disables it.
|
|
4411
|
+
* @returns boolean
|
|
4412
|
+
*/
|
|
4413
|
+
public AutoPostBack(val?:boolean):boolean;
|
|
4414
|
+
/**
|
|
4415
|
+
* Clear control value.
|
|
4416
|
+
* @function Clear
|
|
4417
|
+
*/
|
|
4418
|
+
public Clear():void;
|
|
4419
|
+
/**
|
|
4420
|
+
* Get/set value indicating whether control is enabled or disabled.
|
|
4421
|
+
A disabled control's value and state is still included on postback, if part of a form.
|
|
4422
|
+
* @function Enabled
|
|
4423
|
+
* @param {boolean} [val=undefined] - If defined, True enables control (default), False disables control.
|
|
4424
|
+
* @returns boolean
|
|
4425
|
+
*/
|
|
4426
|
+
public Enabled(val?:boolean):boolean;
|
|
4427
|
+
/**
|
|
4428
|
+
* Get/set value indicating whether control has focus.
|
|
4429
|
+
Control must be rooted in DOM and be visible for control to gain focus.
|
|
4430
|
+
* @function Focused
|
|
4431
|
+
* @param {boolean} [value=undefined] - If defined, True assigns focus, False removes focus (blur).
|
|
4432
|
+
* @returns boolean
|
|
4433
|
+
*/
|
|
4434
|
+
public Focused(value?:boolean):boolean;
|
|
4435
|
+
/**
|
|
4436
|
+
* Check whether CSS class is found on DOMElement representing control.
|
|
4437
|
+
* @function HasCssClass
|
|
4438
|
+
* @param {string} val - CSS class to check for.
|
|
4439
|
+
* @returns boolean
|
|
4440
|
+
*/
|
|
4441
|
+
public HasCssClass(val:string):boolean;
|
|
4442
|
+
/**
|
|
4443
|
+
* Get/set control height - returns object with Value and Unit properties.
|
|
4444
|
+
* @function Height
|
|
4445
|
+
* @param {number} [val=undefined] - If defined, control height is updated to specified value. A value of -1 resets control height.
|
|
4446
|
+
* @param {Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"} [unit=px] - If defined, control height is updated to specified CSS unit.
|
|
4447
|
+
* @returns Fit.TypeDefs.CssValue
|
|
4448
|
+
*/
|
|
4449
|
+
public Height(val?:number, unit?:Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"):Fit.TypeDefs.CssValue;
|
|
4450
|
+
/**
|
|
4451
|
+
* Get value indicating whether user has changed control value.
|
|
4452
|
+
* @function IsDirty
|
|
4453
|
+
* @returns boolean
|
|
4454
|
+
*/
|
|
4455
|
+
public IsDirty():boolean;
|
|
4456
|
+
/**
|
|
4457
|
+
* Get value indicating whether control value is valid.
|
|
4458
|
+
Control value is considered invalid if control is required, but no value is set,
|
|
4459
|
+
or if control value does not match regular expression set using SetValidationExpression(..).
|
|
4460
|
+
* @function IsValid
|
|
4461
|
+
* @returns boolean
|
|
4462
|
+
*/
|
|
4463
|
+
public IsValid():boolean;
|
|
4464
|
+
/**
|
|
4465
|
+
* Get/set value indicating whether control initially appears as valid, even
|
|
4466
|
+
though it is not. It will appear invalid once the user touches the control,
|
|
4467
|
+
or when control value is validated using Fit.Controls.ValidateAll(..).
|
|
4468
|
+
* @function LazyValidation
|
|
4469
|
+
* @param {boolean} [val=undefined] - If defined, Lazy Validation is enabled/disabled.
|
|
4470
|
+
* @returns boolean
|
|
4471
|
+
*/
|
|
4472
|
+
public LazyValidation(val?:boolean):boolean;
|
|
4473
|
+
/**
|
|
4474
|
+
* Register OnBlur event handler which is invoked when control loses focus.
|
|
4475
|
+
* @function OnBlur
|
|
4476
|
+
* @param {Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>} cb - Event handler function which accepts Sender (ControlBase).
|
|
4477
|
+
*/
|
|
4478
|
+
public OnBlur(cb:Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>):void;
|
|
4479
|
+
/**
|
|
4480
|
+
* Register OnChange event handler which is invoked when control value is changed either programmatically or by user.
|
|
4481
|
+
* @function OnChange
|
|
4482
|
+
* @param {Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>} cb - Event handler function which accepts Sender (ControlBase).
|
|
4483
|
+
*/
|
|
4484
|
+
public OnChange(cb:Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>):void;
|
|
4485
|
+
/**
|
|
4486
|
+
* Register OnFocus event handler which is invoked when control gains focus.
|
|
4487
|
+
* @function OnFocus
|
|
4488
|
+
* @param {Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>} cb - Event handler function which accepts Sender (ControlBase).
|
|
4489
|
+
*/
|
|
4490
|
+
public OnFocus(cb:Fit.Controls.ControlBaseTypeDefs.BaseEvent<this>):void;
|
|
4491
|
+
/**
|
|
4492
|
+
* Remove all validation rules.
|
|
4493
|
+
* @function RemoveAllValidationRules
|
|
4494
|
+
*/
|
|
4495
|
+
public RemoveAllValidationRules():void;
|
|
4496
|
+
/**
|
|
4497
|
+
* Remove CSS class from DOMElement representing control.
|
|
4498
|
+
* @function RemoveCssClass
|
|
4499
|
+
* @param {string} val - CSS class to remove.
|
|
4500
|
+
*/
|
|
4501
|
+
public RemoveCssClass(val:string):void;
|
|
4502
|
+
/**
|
|
4503
|
+
* Remove validation function used to perform on-the-fly validation against control.
|
|
4504
|
+
* @function RemoveValidationRule
|
|
4505
|
+
* @param {Fit.Controls.ControlBaseTypeDefs.ValidationCallback<this>} validator - Validation function registered using AddValidationRule(..).
|
|
4506
|
+
*/
|
|
4507
|
+
public RemoveValidationRule(validator:Fit.Controls.ControlBaseTypeDefs.ValidationCallback<this>):void;
|
|
4508
|
+
/**
|
|
4509
|
+
* Remove regular expression used to perform on-the-fly validation against control value.
|
|
4510
|
+
* @function RemoveValidationRule
|
|
4511
|
+
* @param {RegExp} validator - Regular expression registered using AddValidationRule(..).
|
|
4512
|
+
*/
|
|
4513
|
+
public RemoveValidationRule(validator:RegExp):void;
|
|
4514
|
+
/**
|
|
4515
|
+
* Get/set value indicating whether control is required to be set.
|
|
4516
|
+
* @function Required
|
|
4517
|
+
* @param {boolean} [val=undefined] - If defined, control required feature is enabled/disabled.
|
|
4518
|
+
* @returns boolean
|
|
4519
|
+
*/
|
|
4520
|
+
public Required(val?:boolean):boolean;
|
|
4521
|
+
/**
|
|
4522
|
+
* Get/set scope to which control belongs - this is used to validate multiple
|
|
4523
|
+
controls at once using Fit.Controls.ValidateAll(scope) or Fit.Controls.DirtyCheckAll(scope).
|
|
4524
|
+
* @function Scope
|
|
4525
|
+
* @param {string} [val=undefined] - If defined, control scope is updated.
|
|
4526
|
+
* @returns string
|
|
4527
|
+
*/
|
|
4528
|
+
public Scope(val?:string):string;
|
|
4529
|
+
/**
|
|
4530
|
+
* DEPRECATED! Please use AddValidationRule(..) instead.
|
|
4531
|
+
Set callback function used to perform on-the-fly validation against control value.
|
|
4532
|
+
* @function SetValidationCallback
|
|
4533
|
+
* @param {Function | null} cb - Function receiving control value - must return True if value is valid, otherwise False.
|
|
4534
|
+
* @param {string} [errorMsg=undefined] - If defined, specified error message is displayed when user clicks or hovers validation error indicator.
|
|
4535
|
+
*/
|
|
4536
|
+
public SetValidationCallback(cb:Function | null, errorMsg?:string):void;
|
|
4537
|
+
/**
|
|
4538
|
+
* DEPRECATED! Please use AddValidationRule(..) instead.
|
|
4539
|
+
Set regular expression used to perform on-the-fly validation against control value.
|
|
4540
|
+
* @function SetValidationExpression
|
|
4541
|
+
* @param {RegExp | null} regEx - Regular expression to validate against.
|
|
4542
|
+
* @param {string} [errorMsg=undefined] - If defined, specified error message is displayed when user clicks or hovers validation error indicator.
|
|
4543
|
+
*/
|
|
4544
|
+
public SetValidationExpression(regEx:RegExp | null, errorMsg?:string):void;
|
|
4545
|
+
/**
|
|
4546
|
+
* DEPRECATED! Please use AddValidationRule(..) instead.
|
|
4547
|
+
Set callback function used to perform on-the-fly validation against control value.
|
|
4548
|
+
* @function SetValidationHandler
|
|
4549
|
+
* @param {Function | null} cb - Function receiving an instance of the control and its value.
|
|
4550
|
+
An error message string must be returned if value is invalid,
|
|
4551
|
+
otherwise Null or an empty string if the value is valid.
|
|
4552
|
+
*/
|
|
4553
|
+
public SetValidationHandler(cb:Function | null):void;
|
|
4554
|
+
/**
|
|
4555
|
+
* Get/set value as if it was changed by the user. Contrary to Value(..), this function will never reset the dirty state.
|
|
4556
|
+
Restrictions/filtering/modifications may be enforced just as the UI control might do, e.g. prevent the use of certain
|
|
4557
|
+
characters, or completely ignore input if not allowed. It may also allow invalid values such as a partially entered date
|
|
4558
|
+
value. The intention with UserValue(..) is to mimic the behaviour of what the user can do with the user interface control.
|
|
4559
|
+
For picker controls the value format is equivalent to the one dictated by the Value(..) function.
|
|
4560
|
+
* @function UserValue
|
|
4561
|
+
* @param {string} [val=undefined] - If defined, value is inserted into control.
|
|
4562
|
+
* @returns string
|
|
4563
|
+
*/
|
|
4564
|
+
public UserValue(val?:string):string;
|
|
4565
|
+
/**
|
|
4566
|
+
* Get/set control value.
|
|
4567
|
+
For controls supporting multiple selections: Set value by providing a string in one the following formats:
|
|
4568
|
+
title1=val1[;title2=val2[;title3=val3]] or val1[;val2[;val3]].
|
|
4569
|
+
If Title or Value contains reserved characters (semicolon or equality sign), these most be URIEncoded.
|
|
4570
|
+
Selected items are returned in the first format described, also with reserved characters URIEncoded.
|
|
4571
|
+
Providing a new value to this function results in OnChange being fired.
|
|
4572
|
+
* @function Value
|
|
4573
|
+
* @param {string} [val=undefined] - If defined, value is inserted into control.
|
|
4574
|
+
* @param {boolean} [preserveDirtyState=false] - If defined, True prevents dirty state from being reset, False (default) resets the dirty state.
|
|
4575
|
+
If dirty state is reset (default), the control value will be compared against the value passed,
|
|
4576
|
+
to determine whether it has been changed by the user or not, when IsDirty() is called.
|
|
4577
|
+
* @returns string
|
|
4578
|
+
*/
|
|
4579
|
+
public Value(val?:string, preserveDirtyState?:boolean):string;
|
|
4580
|
+
/**
|
|
4581
|
+
* Get/set value indicating whether control is visible.
|
|
4582
|
+
* @function Visible
|
|
4583
|
+
* @param {boolean} [val=undefined] - If defined, control visibility is updated.
|
|
4584
|
+
* @returns boolean
|
|
4585
|
+
*/
|
|
4586
|
+
public Visible(val?:boolean):boolean;
|
|
4587
|
+
/**
|
|
4588
|
+
* Get/set control width - returns object with Value and Unit properties.
|
|
4589
|
+
* @function Width
|
|
4590
|
+
* @param {number} [val=undefined] - If defined, control width is updated to specified value. A value of -1 resets control width.
|
|
4591
|
+
* @param {Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"} [unit=px] - If defined, control width is updated to specified CSS unit.
|
|
4592
|
+
* @returns Fit.TypeDefs.CssValue
|
|
4593
|
+
*/
|
|
4594
|
+
public Width(val?:number, unit?:Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"):Fit.TypeDefs.CssValue;
|
|
4595
|
+
// Functions defined by Fit.Controls.Component
|
|
4596
|
+
/**
|
|
4597
|
+
* Destroys control to free up memory.
|
|
4598
|
+
Make sure to call Dispose() on Component which can be done like so:
|
|
4599
|
+
this.Dispose = Fit.Core.CreateOverride(this.Dispose, function()
|
|
4600
|
+
{
|
|
4601
|
+
// Add control specific dispose logic here
|
|
4602
|
+
base(); // Call Dispose on Component
|
|
4603
|
+
});.
|
|
4604
|
+
* @function Dispose
|
|
4605
|
+
*/
|
|
4606
|
+
public Dispose():void;
|
|
4607
|
+
/**
|
|
4608
|
+
* Get DOMElement representing control.
|
|
4609
|
+
* @function GetDomElement
|
|
4610
|
+
* @returns HTMLElement
|
|
4611
|
+
*/
|
|
4612
|
+
public GetDomElement():HTMLElement;
|
|
4613
|
+
/**
|
|
4614
|
+
* Get unique Control ID.
|
|
4615
|
+
* @function GetId
|
|
4616
|
+
* @returns string
|
|
4617
|
+
*/
|
|
4618
|
+
public GetId():string;
|
|
4619
|
+
/**
|
|
4620
|
+
* Render control, either inline or to element specified.
|
|
4621
|
+
* @function Render
|
|
4622
|
+
* @param {HTMLElement} [toElement=undefined] - If defined, control is rendered to this element.
|
|
4623
|
+
*/
|
|
4624
|
+
public Render(toElement?:HTMLElement):void;
|
|
4625
|
+
}
|
|
4626
|
+
/**
|
|
4627
|
+
*
|
|
4628
|
+
* @namespace [Fit.Controls.InputTypeDefs InputTypeDefs]
|
|
4629
|
+
*/
|
|
4630
|
+
namespace InputTypeDefs
|
|
4631
|
+
{
|
|
4632
|
+
// Functions defined by Fit.Controls.InputTypeDefs
|
|
4633
|
+
/**
|
|
4634
|
+
* Cancelable request event handler.
|
|
4635
|
+
* @callback DesignModeTagsOnRequest
|
|
4636
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4637
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs} eventArgs - Event arguments.
|
|
4638
|
+
* @returns boolean | void
|
|
4639
|
+
*/
|
|
4640
|
+
type DesignModeTagsOnRequest = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs) => boolean | void;
|
|
4641
|
+
/**
|
|
4642
|
+
* Cancelable request event handler.
|
|
4643
|
+
* @callback DesignModeTagsOnRequest
|
|
4644
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4645
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs} eventArgs - Event arguments.
|
|
4646
|
+
* @returns boolean | void
|
|
4647
|
+
*/
|
|
4648
|
+
type DesignModeTagsOnRequest = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs) => boolean | void;
|
|
4649
|
+
/**
|
|
4650
|
+
* Response event handler.
|
|
4651
|
+
* @callback DesignModeTagsOnResponse
|
|
4652
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4653
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs} eventArgs - Event arguments.
|
|
4654
|
+
*/
|
|
4655
|
+
type DesignModeTagsOnResponse = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs) => void;
|
|
4656
|
+
/**
|
|
4657
|
+
* Response event handler.
|
|
4658
|
+
* @callback DesignModeTagsOnResponse
|
|
4659
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4660
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs} eventArgs - Event arguments.
|
|
4661
|
+
*/
|
|
4662
|
+
type DesignModeTagsOnResponse = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs) => void;
|
|
4663
|
+
/**
|
|
4664
|
+
* Function producing JSON object representing tag to be inserted into editor.
|
|
4665
|
+
Returning nothing or Null results in default tag being inserted into editor.
|
|
4666
|
+
* @callback DesignModeTagsTagCreator
|
|
4667
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4668
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs} eventArgs - Event arguments.
|
|
4669
|
+
* @returns Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void
|
|
4670
|
+
*/
|
|
4671
|
+
type DesignModeTagsTagCreator = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs) => Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void;
|
|
4672
|
+
/**
|
|
4673
|
+
* Function producing JSON object representing tag to be inserted into editor.
|
|
4674
|
+
Returning nothing or Null results in default tag being inserted into editor.
|
|
4675
|
+
* @callback DesignModeTagsTagCreator
|
|
4676
|
+
* @param {Fit.Controls.Input} sender - Instance of control.
|
|
4677
|
+
* @param {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs} eventArgs - Event arguments.
|
|
4678
|
+
* @returns Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void
|
|
4679
|
+
*/
|
|
4680
|
+
type DesignModeTagsTagCreator = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs) => Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void;
|
|
4681
|
+
/**
|
|
4682
|
+
* Auto grow configuration.
|
|
4683
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeAutoGrow DesignModeAutoGrow]
|
|
4684
|
+
*/
|
|
4685
|
+
class DesignModeAutoGrow
|
|
4686
|
+
{
|
|
4687
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeAutoGrow
|
|
4688
|
+
/**
|
|
4689
|
+
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4690
|
+
* @member {boolean} Enabled
|
|
4691
|
+
*/
|
|
4692
|
+
Enabled:boolean;
|
|
4693
|
+
/**
|
|
4694
|
+
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4695
|
+
* @member {boolean} Enabled
|
|
4696
|
+
*/
|
|
4697
|
+
Enabled:boolean;
|
|
4698
|
+
/**
|
|
4699
|
+
* Maximum height of editable area.
|
|
4700
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4701
|
+
*/
|
|
4702
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4703
|
+
/**
|
|
4704
|
+
* Maximum height of editable area.
|
|
4705
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4706
|
+
*/
|
|
4707
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4708
|
+
/**
|
|
4709
|
+
* Minimum height of editable area.
|
|
4710
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4711
|
+
*/
|
|
4712
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4713
|
+
/**
|
|
4714
|
+
* Minimum height of editable area.
|
|
4715
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4716
|
+
*/
|
|
4717
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4718
|
+
/**
|
|
4719
|
+
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4720
|
+
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4721
|
+
*/
|
|
4722
|
+
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4723
|
+
/**
|
|
4724
|
+
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4725
|
+
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4726
|
+
*/
|
|
4727
|
+
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4728
|
+
}
|
|
4729
|
+
/**
|
|
4730
|
+
* Auto grow configuration.
|
|
4731
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeAutoGrow DesignModeAutoGrow]
|
|
4732
|
+
*/
|
|
4733
|
+
class DesignModeAutoGrow
|
|
4734
|
+
{
|
|
4735
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeAutoGrow
|
|
4736
|
+
/**
|
|
4737
|
+
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4738
|
+
* @member {boolean} Enabled
|
|
4739
|
+
*/
|
|
4740
|
+
Enabled:boolean;
|
|
4741
|
+
/**
|
|
4742
|
+
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4743
|
+
* @member {boolean} Enabled
|
|
4744
|
+
*/
|
|
4745
|
+
Enabled:boolean;
|
|
4746
|
+
/**
|
|
4747
|
+
* Maximum height of editable area.
|
|
4748
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4749
|
+
*/
|
|
4750
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4751
|
+
/**
|
|
4752
|
+
* Maximum height of editable area.
|
|
4753
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4754
|
+
*/
|
|
4755
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4756
|
+
/**
|
|
4757
|
+
* Minimum height of editable area.
|
|
4758
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4759
|
+
*/
|
|
4760
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4761
|
+
/**
|
|
4762
|
+
* Minimum height of editable area.
|
|
4763
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4764
|
+
*/
|
|
4765
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4766
|
+
/**
|
|
4767
|
+
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4768
|
+
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4769
|
+
*/
|
|
4770
|
+
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4771
|
+
/**
|
|
4772
|
+
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4773
|
+
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4774
|
+
*/
|
|
4775
|
+
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4776
|
+
}
|
|
4777
|
+
/**
|
|
4778
|
+
* Configuration for DesignMode.
|
|
4779
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfig DesignModeConfig]
|
|
4780
|
+
*/
|
|
4781
|
+
class DesignModeConfig
|
|
4782
|
+
{
|
|
4783
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfig
|
|
4784
|
+
/**
|
|
4785
|
+
* Auto grow configuration.
|
|
4786
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeAutoGrow} [AutoGrow=undefined]
|
|
4787
|
+
*/
|
|
4788
|
+
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4789
|
+
/**
|
|
4790
|
+
* Auto grow configuration.
|
|
4791
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeAutoGrow} [AutoGrow=undefined]
|
|
4792
|
+
*/
|
|
4793
|
+
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4794
|
+
/**
|
|
4795
|
+
* Detachable configuration.
|
|
4796
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
|
|
4797
|
+
*/
|
|
4798
|
+
Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
|
|
4799
|
+
/**
|
|
4800
|
+
* Detachable configuration.
|
|
4801
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
|
|
4802
|
+
*/
|
|
4803
|
+
Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
|
|
4804
|
+
/**
|
|
4805
|
+
* If set, control opens in dialog when activated (on click, on touch, and on ENTER key).
|
|
4806
|
+
Control is initially rendered as a read-only value which becomes editable on activation.
|
|
4807
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDialogMode} [DialogMode=undefined]
|
|
4808
|
+
*/
|
|
4809
|
+
DialogMode?:Fit.Controls.InputTypeDefs.DesignModeDialogMode;
|
|
4810
|
+
/**
|
|
4811
|
+
* Information panel configuration.
|
|
4812
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4813
|
+
*/
|
|
4814
|
+
InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
|
|
4815
|
+
/**
|
|
4816
|
+
* Information panel configuration.
|
|
4817
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4818
|
+
*/
|
|
4819
|
+
InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
|
|
4820
|
+
/**
|
|
4821
|
+
* Plugins configuration.
|
|
4822
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
|
|
4823
|
+
*/
|
|
4824
|
+
Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
|
|
4825
|
+
/**
|
|
4826
|
+
* Plugins configuration.
|
|
4827
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
|
|
4828
|
+
*/
|
|
4829
|
+
Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
|
|
4830
|
+
/**
|
|
4831
|
+
* Tags configuration.
|
|
4832
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
|
|
4833
|
+
*/
|
|
4834
|
+
Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
|
|
4835
|
+
/**
|
|
4836
|
+
* Tags configuration.
|
|
4837
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
|
|
4838
|
+
*/
|
|
4839
|
+
Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
|
|
4840
|
+
/**
|
|
4841
|
+
* Toolbar configuration.
|
|
4842
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
|
|
4843
|
+
*/
|
|
4844
|
+
Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
|
|
4845
|
+
/**
|
|
4846
|
+
* Toolbar configuration.
|
|
4847
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
|
|
4848
|
+
*/
|
|
4849
|
+
Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
|
|
4850
|
+
}
|
|
4851
|
+
/**
|
|
4852
|
+
* Configuration for DesignMode.
|
|
4853
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfig DesignModeConfig]
|
|
4854
|
+
*/
|
|
4855
|
+
class DesignModeConfig
|
|
4856
|
+
{
|
|
4857
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfig
|
|
4858
|
+
/**
|
|
4859
|
+
* Auto grow configuration.
|
|
4860
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeAutoGrow} [AutoGrow=undefined]
|
|
4861
|
+
*/
|
|
4862
|
+
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4863
|
+
/**
|
|
4864
|
+
* Auto grow configuration.
|
|
4865
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeAutoGrow} [AutoGrow=undefined]
|
|
4866
|
+
*/
|
|
4867
|
+
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4868
|
+
/**
|
|
4869
|
+
* Detachable configuration.
|
|
4870
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
|
|
4871
|
+
*/
|
|
4872
|
+
Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
|
|
4873
|
+
/**
|
|
4874
|
+
* Detachable configuration.
|
|
4875
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
|
|
4876
|
+
*/
|
|
4877
|
+
Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
|
|
4878
|
+
/**
|
|
4879
|
+
* If set, control opens in dialog when activated (on click, on touch, and on ENTER key).
|
|
4880
|
+
Control is initially rendered as a read-only value which becomes editable on activation.
|
|
4881
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDialogMode} [DialogMode=undefined]
|
|
4882
|
+
*/
|
|
4883
|
+
DialogMode?:Fit.Controls.InputTypeDefs.DesignModeDialogMode;
|
|
4884
|
+
/**
|
|
4885
|
+
* Information panel configuration.
|
|
4886
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4887
|
+
*/
|
|
4888
|
+
InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
|
|
4889
|
+
/**
|
|
4890
|
+
* Information panel configuration.
|
|
4891
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4892
|
+
*/
|
|
4893
|
+
InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
|
|
4894
|
+
/**
|
|
4895
|
+
* Plugins configuration.
|
|
4896
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
|
|
4897
|
+
*/
|
|
4898
|
+
Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
|
|
4899
|
+
/**
|
|
4900
|
+
* Plugins configuration.
|
|
4901
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
|
|
4902
|
+
*/
|
|
4903
|
+
Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
|
|
4904
|
+
/**
|
|
4905
|
+
* Tags configuration.
|
|
4906
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
|
|
4907
|
+
*/
|
|
4908
|
+
Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
|
|
4909
|
+
/**
|
|
4910
|
+
* Tags configuration.
|
|
4911
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
|
|
4912
|
+
*/
|
|
4913
|
+
Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
|
|
4914
|
+
/**
|
|
4915
|
+
* Toolbar configuration.
|
|
4916
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
|
|
4917
|
+
*/
|
|
4918
|
+
Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
|
|
4919
|
+
/**
|
|
4920
|
+
* Toolbar configuration.
|
|
4921
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
|
|
4922
|
+
*/
|
|
4923
|
+
Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
|
|
4924
|
+
}
|
|
4925
|
+
/**
|
|
4926
|
+
* Information panel at the top or bottom of the editor, depending on the location of the toolbar.
|
|
4927
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel DesignModeConfigInfoPanel]
|
|
4928
|
+
*/
|
|
4929
|
+
class DesignModeConfigInfoPanel
|
|
4930
|
+
{
|
|
4931
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel
|
|
4932
|
+
/**
|
|
4933
|
+
* Text alignment - defaults to Center.
|
|
4934
|
+
* @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
|
|
4935
|
+
*/
|
|
4936
|
+
Alignment?:'Left' | 'Center' | 'Right';
|
|
4937
|
+
/**
|
|
4938
|
+
* Text alignment - defaults to Center.
|
|
4939
|
+
* @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
|
|
4940
|
+
*/
|
|
4941
|
+
Alignment?:'Left' | 'Center' | 'Right';
|
|
4942
|
+
/**
|
|
4943
|
+
* Text to display.
|
|
4944
|
+
* @member {string} [Text=undefined]
|
|
4945
|
+
*/
|
|
4946
|
+
Text?:string;
|
|
4947
|
+
/**
|
|
4948
|
+
* Text to display.
|
|
4949
|
+
* @member {string} [Text=undefined]
|
|
4950
|
+
*/
|
|
4951
|
+
Text?:string;
|
|
4952
|
+
}
|
|
4223
4953
|
/**
|
|
4224
4954
|
* Information panel at the top or bottom of the editor, depending on the location of the toolbar.
|
|
4225
4955
|
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel DesignModeConfigInfoPanel]
|
|
4226
4956
|
*/
|
|
4227
|
-
class DesignModeConfigInfoPanel
|
|
4957
|
+
class DesignModeConfigInfoPanel
|
|
4958
|
+
{
|
|
4959
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel
|
|
4960
|
+
/**
|
|
4961
|
+
* Text alignment - defaults to Center.
|
|
4962
|
+
* @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
|
|
4963
|
+
*/
|
|
4964
|
+
Alignment?:'Left' | 'Center' | 'Right';
|
|
4965
|
+
/**
|
|
4966
|
+
* Text alignment - defaults to Center.
|
|
4967
|
+
* @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
|
|
4968
|
+
*/
|
|
4969
|
+
Alignment?:'Left' | 'Center' | 'Right';
|
|
4970
|
+
/**
|
|
4971
|
+
* Text to display.
|
|
4972
|
+
* @member {string} [Text=undefined]
|
|
4973
|
+
*/
|
|
4974
|
+
Text?:string;
|
|
4975
|
+
/**
|
|
4976
|
+
* Text to display.
|
|
4977
|
+
* @member {string} [Text=undefined]
|
|
4978
|
+
*/
|
|
4979
|
+
Text?:string;
|
|
4980
|
+
}
|
|
4981
|
+
/**
|
|
4982
|
+
* Additional plugins enabled in DesignMode.
|
|
4983
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPlugins DesignModeConfigPlugins]
|
|
4984
|
+
*/
|
|
4985
|
+
class DesignModeConfigPlugins
|
|
4986
|
+
{
|
|
4987
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPlugins
|
|
4988
|
+
/**
|
|
4989
|
+
* Plugin(s) related to emoji support (defaults to False).
|
|
4990
|
+
* @member {boolean} [Emojis=undefined]
|
|
4991
|
+
*/
|
|
4992
|
+
Emojis?:boolean;
|
|
4993
|
+
/**
|
|
4994
|
+
* Plugin(s) related to emoji support (defaults to False).
|
|
4995
|
+
* @member {boolean} [Emojis=undefined]
|
|
4996
|
+
*/
|
|
4997
|
+
Emojis?:boolean;
|
|
4998
|
+
/**
|
|
4999
|
+
* Plugin(s) related to support for images (defaults to False).
|
|
5000
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
|
|
5001
|
+
*/
|
|
5002
|
+
Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
|
|
5003
|
+
/**
|
|
5004
|
+
* Plugin(s) related to support for images (defaults to False).
|
|
5005
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
|
|
5006
|
+
*/
|
|
5007
|
+
Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
|
|
5008
|
+
}
|
|
5009
|
+
/**
|
|
5010
|
+
* Additional plugins enabled in DesignMode.
|
|
5011
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPlugins DesignModeConfigPlugins]
|
|
5012
|
+
*/
|
|
5013
|
+
class DesignModeConfigPlugins
|
|
5014
|
+
{
|
|
5015
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPlugins
|
|
5016
|
+
/**
|
|
5017
|
+
* Plugin(s) related to emoji support (defaults to False).
|
|
5018
|
+
* @member {boolean} [Emojis=undefined]
|
|
5019
|
+
*/
|
|
5020
|
+
Emojis?:boolean;
|
|
5021
|
+
/**
|
|
5022
|
+
* Plugin(s) related to emoji support (defaults to False).
|
|
5023
|
+
* @member {boolean} [Emojis=undefined]
|
|
5024
|
+
*/
|
|
5025
|
+
Emojis?:boolean;
|
|
5026
|
+
/**
|
|
5027
|
+
* Plugin(s) related to support for images (defaults to False).
|
|
5028
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
|
|
5029
|
+
*/
|
|
5030
|
+
Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
|
|
5031
|
+
/**
|
|
5032
|
+
* Plugin(s) related to support for images (defaults to False).
|
|
5033
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
|
|
5034
|
+
*/
|
|
5035
|
+
Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
|
|
5036
|
+
}
|
|
5037
|
+
/**
|
|
5038
|
+
* Configuration for image plugins.
|
|
5039
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig DesignModeConfigPluginsImagesConfig]
|
|
5040
|
+
*/
|
|
5041
|
+
class DesignModeConfigPluginsImagesConfig
|
|
5042
|
+
{
|
|
5043
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
|
|
5044
|
+
/**
|
|
5045
|
+
* How to store and embed images. Base64 (default) is persistent while blob is temporary
|
|
5046
|
+
and must be extracted from memory and uploaded/stored to be permanantly persisted.
|
|
5047
|
+
References to blobs can be parsed from the HTML value produced by the editor.
|
|
5048
|
+
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
5049
|
+
*/
|
|
5050
|
+
EmbedType?:'base64' | 'blob';
|
|
5051
|
+
/**
|
|
5052
|
+
* How to store and embed images. Base64 (default) is persistent while blob is temporary
|
|
5053
|
+
and must be extracted from memory and uploaded/stored to be permanantly persisted.
|
|
5054
|
+
References to blobs can be parsed from the HTML value produced by the editor.
|
|
5055
|
+
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
5056
|
+
*/
|
|
5057
|
+
EmbedType?:'base64' | 'blob';
|
|
5058
|
+
/**
|
|
5059
|
+
* Flag indicating whether to enable image plugins or not (defaults to False).
|
|
5060
|
+
* @member {boolean} Enabled
|
|
5061
|
+
*/
|
|
5062
|
+
Enabled:boolean;
|
|
5063
|
+
/**
|
|
5064
|
+
* Flag indicating whether to enable image plugins or not (defaults to False).
|
|
5065
|
+
* @member {boolean} Enabled
|
|
5066
|
+
*/
|
|
5067
|
+
Enabled:boolean;
|
|
5068
|
+
/**
|
|
5069
|
+
* This option is in effect when EmbedType is blob.
|
|
5070
|
+
Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
|
|
5071
|
+
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
5072
|
+
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
5073
|
+
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
5074
|
+
*/
|
|
5075
|
+
RevokeBlobUrlsOnDispose?:'All' | 'UnreferencedOnly';
|
|
5076
|
+
/**
|
|
5077
|
+
* This option is in effect when EmbedType is blob.
|
|
5078
|
+
Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
|
|
5079
|
+
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
5080
|
+
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
5081
|
+
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
5082
|
+
*/
|
|
5083
|
+
RevokeBlobUrlsOnDispose?:'All' | 'UnreferencedOnly';
|
|
5084
|
+
/**
|
|
5085
|
+
* This option is in effect when EmbedType is blob.
|
|
5086
|
+
Dispose images from blob storage (revoke blob URLs) added through Value(..)
|
|
5087
|
+
function when control is disposed. Basically ownership of these blobs are handed
|
|
5088
|
+
over to the control for the duration of its life time.
|
|
5089
|
+
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
5090
|
+
Defaults to False.
|
|
5091
|
+
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
5092
|
+
*/
|
|
5093
|
+
RevokeExternalBlobUrlsOnDispose?:boolean;
|
|
5094
|
+
/**
|
|
5095
|
+
* This option is in effect when EmbedType is blob.
|
|
5096
|
+
Dispose images from blob storage (revoke blob URLs) added through Value(..)
|
|
5097
|
+
function when control is disposed. Basically ownership of these blobs are handed
|
|
5098
|
+
over to the control for the duration of its life time.
|
|
5099
|
+
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
5100
|
+
Defaults to False.
|
|
5101
|
+
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
5102
|
+
*/
|
|
5103
|
+
RevokeExternalBlobUrlsOnDispose?:boolean;
|
|
5104
|
+
}
|
|
5105
|
+
/**
|
|
5106
|
+
* Configuration for image plugins.
|
|
5107
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig DesignModeConfigPluginsImagesConfig]
|
|
5108
|
+
*/
|
|
5109
|
+
class DesignModeConfigPluginsImagesConfig
|
|
5110
|
+
{
|
|
5111
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
|
|
5112
|
+
/**
|
|
5113
|
+
* How to store and embed images. Base64 (default) is persistent while blob is temporary
|
|
5114
|
+
and must be extracted from memory and uploaded/stored to be permanantly persisted.
|
|
5115
|
+
References to blobs can be parsed from the HTML value produced by the editor.
|
|
5116
|
+
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
5117
|
+
*/
|
|
5118
|
+
EmbedType?:'base64' | 'blob';
|
|
5119
|
+
/**
|
|
5120
|
+
* How to store and embed images. Base64 (default) is persistent while blob is temporary
|
|
5121
|
+
and must be extracted from memory and uploaded/stored to be permanantly persisted.
|
|
5122
|
+
References to blobs can be parsed from the HTML value produced by the editor.
|
|
5123
|
+
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
5124
|
+
*/
|
|
5125
|
+
EmbedType?:'base64' | 'blob';
|
|
5126
|
+
/**
|
|
5127
|
+
* Flag indicating whether to enable image plugins or not (defaults to False).
|
|
5128
|
+
* @member {boolean} Enabled
|
|
5129
|
+
*/
|
|
5130
|
+
Enabled:boolean;
|
|
5131
|
+
/**
|
|
5132
|
+
* Flag indicating whether to enable image plugins or not (defaults to False).
|
|
5133
|
+
* @member {boolean} Enabled
|
|
5134
|
+
*/
|
|
5135
|
+
Enabled:boolean;
|
|
5136
|
+
/**
|
|
5137
|
+
* This option is in effect when EmbedType is blob.
|
|
5138
|
+
Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
|
|
5139
|
+
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
5140
|
+
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
5141
|
+
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
5142
|
+
*/
|
|
5143
|
+
RevokeBlobUrlsOnDispose?:'All' | 'UnreferencedOnly';
|
|
5144
|
+
/**
|
|
5145
|
+
* This option is in effect when EmbedType is blob.
|
|
5146
|
+
Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
|
|
5147
|
+
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
5148
|
+
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
5149
|
+
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
5150
|
+
*/
|
|
5151
|
+
RevokeBlobUrlsOnDispose?:'All' | 'UnreferencedOnly';
|
|
5152
|
+
/**
|
|
5153
|
+
* This option is in effect when EmbedType is blob.
|
|
5154
|
+
Dispose images from blob storage (revoke blob URLs) added through Value(..)
|
|
5155
|
+
function when control is disposed. Basically ownership of these blobs are handed
|
|
5156
|
+
over to the control for the duration of its life time.
|
|
5157
|
+
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
5158
|
+
Defaults to False.
|
|
5159
|
+
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
5160
|
+
*/
|
|
5161
|
+
RevokeExternalBlobUrlsOnDispose?:boolean;
|
|
5162
|
+
/**
|
|
5163
|
+
* This option is in effect when EmbedType is blob.
|
|
5164
|
+
Dispose images from blob storage (revoke blob URLs) added through Value(..)
|
|
5165
|
+
function when control is disposed. Basically ownership of these blobs are handed
|
|
5166
|
+
over to the control for the duration of its life time.
|
|
5167
|
+
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
5168
|
+
Defaults to False.
|
|
5169
|
+
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
5170
|
+
*/
|
|
5171
|
+
RevokeExternalBlobUrlsOnDispose?:boolean;
|
|
5172
|
+
}
|
|
5173
|
+
/**
|
|
5174
|
+
* Configuration for tags in DesignMode.
|
|
5175
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigTags DesignModeConfigTags]
|
|
5176
|
+
*/
|
|
5177
|
+
class DesignModeConfigTags
|
|
5178
|
+
{
|
|
5179
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigTags
|
|
5180
|
+
/**
|
|
5181
|
+
* Name of URL parameter receiving name of JSONP callback function (only for JSONP services).
|
|
5182
|
+
* @member {string} [JsonpCallback=undefined]
|
|
5183
|
+
*/
|
|
5184
|
+
JsonpCallback?:string;
|
|
5185
|
+
/**
|
|
5186
|
+
* Name of URL parameter receiving name of JSONP callback function (only for JSONP services).
|
|
5187
|
+
* @member {string} [JsonpCallback=undefined]
|
|
5188
|
+
*/
|
|
5189
|
+
JsonpCallback?:string;
|
|
5190
|
+
/**
|
|
5191
|
+
* Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services).
|
|
5192
|
+
* @member {number} [JsonpTimeout=undefined]
|
|
5193
|
+
*/
|
|
5194
|
+
JsonpTimeout?:number;
|
|
5195
|
+
/**
|
|
5196
|
+
* Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services).
|
|
5197
|
+
* @member {number} [JsonpTimeout=undefined]
|
|
5198
|
+
*/
|
|
5199
|
+
JsonpTimeout?:number;
|
|
5200
|
+
/**
|
|
5201
|
+
* Event handler invoked when tags are requested. Request may be canceled by returning False.
|
|
5202
|
+
Function receives two arguments:
|
|
5203
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5204
|
+
EventArgs object contains the following properties:
|
|
5205
|
+
- Sender: Fit.Controls.Input instance
|
|
5206
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5207
|
+
- Query: Contains query information in its Marker and Query property.
|
|
5208
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
|
|
5209
|
+
*/
|
|
5210
|
+
OnRequest?:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest;
|
|
5211
|
+
/**
|
|
5212
|
+
* Event handler invoked when tags are requested. Request may be canceled by returning False.
|
|
5213
|
+
Function receives two arguments:
|
|
5214
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5215
|
+
EventArgs object contains the following properties:
|
|
5216
|
+
- Sender: Fit.Controls.Input instance
|
|
5217
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5218
|
+
- Query: Contains query information in its Marker and Query property.
|
|
5219
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
|
|
5220
|
+
*/
|
|
5221
|
+
OnRequest?:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest;
|
|
5222
|
+
/**
|
|
5223
|
+
* Event handler invoked when tags data is received, allowing for data transformation.
|
|
5224
|
+
Function receives two arguments:
|
|
5225
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5226
|
+
EventArgs object contains the following properties:
|
|
5227
|
+
- Sender: Fit.Controls.Input instance
|
|
5228
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5229
|
+
- Query: Contains query information in its Marker and Query property
|
|
5230
|
+
- Tags: JSON tags array received from WebService.
|
|
5231
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
5232
|
+
*/
|
|
5233
|
+
OnResponse?:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse;
|
|
5234
|
+
/**
|
|
5235
|
+
* Event handler invoked when tags data is received, allowing for data transformation.
|
|
5236
|
+
Function receives two arguments:
|
|
5237
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5238
|
+
EventArgs object contains the following properties:
|
|
5239
|
+
- Sender: Fit.Controls.Input instance
|
|
5240
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5241
|
+
- Query: Contains query information in its Marker and Query property
|
|
5242
|
+
- Tags: JSON tags array received from WebService.
|
|
5243
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
5244
|
+
*/
|
|
5245
|
+
OnResponse?:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse;
|
|
5246
|
+
/**
|
|
5247
|
+
* URL to request data from. Endpoint receives the following payload:
|
|
5248
|
+
{ Marker: "@", Query: "search" }
|
|
5249
|
+
|
|
5250
|
+
Data is expected to be returned in the following format:
|
|
5251
|
+
[
|
|
5252
|
+
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
5253
|
+
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
5254
|
+
]
|
|
5255
|
+
|
|
5256
|
+
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
5257
|
+
The Url property is optional and must specify a path to a related page/resource.
|
|
5258
|
+
The Data property is optional and allows for additional data to be associated with the tag.
|
|
5259
|
+
To hold multiple values, consider using a base64 encoded JSON object:
|
|
5260
|
+
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
5261
|
+
|
|
5262
|
+
The data eventuelly results in a tag being added to the editor with the following format:
|
|
5263
|
+
Tag name 1
|
|
5264
|
+
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
5265
|
+
* @member {string} QueryUrl
|
|
5266
|
+
*/
|
|
5267
|
+
QueryUrl:string;
|
|
5268
|
+
/**
|
|
5269
|
+
* URL to request data from. Endpoint receives the following payload:
|
|
5270
|
+
{ Marker: "@", Query: "search" }
|
|
5271
|
+
|
|
5272
|
+
Data is expected to be returned in the following format:
|
|
5273
|
+
[
|
|
5274
|
+
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
5275
|
+
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
5276
|
+
]
|
|
5277
|
+
|
|
5278
|
+
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
5279
|
+
The Url property is optional and must specify a path to a related page/resource.
|
|
5280
|
+
The Data property is optional and allows for additional data to be associated with the tag.
|
|
5281
|
+
To hold multiple values, consider using a base64 encoded JSON object:
|
|
5282
|
+
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
5283
|
+
|
|
5284
|
+
The data eventuelly results in a tag being added to the editor with the following format:
|
|
5285
|
+
Tag name 1
|
|
5286
|
+
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
5287
|
+
* @member {string} QueryUrl
|
|
5288
|
+
*/
|
|
5289
|
+
QueryUrl:string;
|
|
5290
|
+
/**
|
|
5291
|
+
* Callback invoked when a tag is being inserted into editor, allowing
|
|
5292
|
+
for customization to the title and attributes associated with the tag.
|
|
5293
|
+
Function receives two arguments:
|
|
5294
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5295
|
+
EventArgs object contains the following properties:
|
|
5296
|
+
- Sender: Fit.Controls.Input instance
|
|
5297
|
+
- QueryMarker: String containing query marker
|
|
5298
|
+
- Tag: JSON tag received from WebService.
|
|
5299
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
5300
|
+
*/
|
|
5301
|
+
TagCreator?:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator;
|
|
5302
|
+
/**
|
|
5303
|
+
* Callback invoked when a tag is being inserted into editor, allowing
|
|
5304
|
+
for customization to the title and attributes associated with the tag.
|
|
5305
|
+
Function receives two arguments:
|
|
5306
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5307
|
+
EventArgs object contains the following properties:
|
|
5308
|
+
- Sender: Fit.Controls.Input instance
|
|
5309
|
+
- QueryMarker: String containing query marker
|
|
5310
|
+
- Tag: JSON tag received from WebService.
|
|
5311
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
5312
|
+
*/
|
|
5313
|
+
TagCreator?:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator;
|
|
5314
|
+
/**
|
|
5315
|
+
* Markers triggering tags request and context menu.
|
|
5316
|
+
* @member {{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[]} Triggers
|
|
5317
|
+
*/
|
|
5318
|
+
Triggers:{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[];
|
|
5319
|
+
/**
|
|
5320
|
+
* Markers triggering tags request and context menu.
|
|
5321
|
+
* @member {{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[]} Triggers
|
|
5322
|
+
*/
|
|
5323
|
+
Triggers:{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[];
|
|
5324
|
+
}
|
|
5325
|
+
/**
|
|
5326
|
+
* Configuration for tags in DesignMode.
|
|
5327
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigTags DesignModeConfigTags]
|
|
5328
|
+
*/
|
|
5329
|
+
class DesignModeConfigTags
|
|
5330
|
+
{
|
|
5331
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigTags
|
|
5332
|
+
/**
|
|
5333
|
+
* Name of URL parameter receiving name of JSONP callback function (only for JSONP services).
|
|
5334
|
+
* @member {string} [JsonpCallback=undefined]
|
|
5335
|
+
*/
|
|
5336
|
+
JsonpCallback?:string;
|
|
5337
|
+
/**
|
|
5338
|
+
* Name of URL parameter receiving name of JSONP callback function (only for JSONP services).
|
|
5339
|
+
* @member {string} [JsonpCallback=undefined]
|
|
5340
|
+
*/
|
|
5341
|
+
JsonpCallback?:string;
|
|
5342
|
+
/**
|
|
5343
|
+
* Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services).
|
|
5344
|
+
* @member {number} [JsonpTimeout=undefined]
|
|
5345
|
+
*/
|
|
5346
|
+
JsonpTimeout?:number;
|
|
5347
|
+
/**
|
|
5348
|
+
* Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services).
|
|
5349
|
+
* @member {number} [JsonpTimeout=undefined]
|
|
5350
|
+
*/
|
|
5351
|
+
JsonpTimeout?:number;
|
|
5352
|
+
/**
|
|
5353
|
+
* Event handler invoked when tags are requested. Request may be canceled by returning False.
|
|
5354
|
+
Function receives two arguments:
|
|
5355
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5356
|
+
EventArgs object contains the following properties:
|
|
5357
|
+
- Sender: Fit.Controls.Input instance
|
|
5358
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5359
|
+
- Query: Contains query information in its Marker and Query property.
|
|
5360
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
|
|
5361
|
+
*/
|
|
5362
|
+
OnRequest?:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest;
|
|
5363
|
+
/**
|
|
5364
|
+
* Event handler invoked when tags are requested. Request may be canceled by returning False.
|
|
5365
|
+
Function receives two arguments:
|
|
5366
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5367
|
+
EventArgs object contains the following properties:
|
|
5368
|
+
- Sender: Fit.Controls.Input instance
|
|
5369
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5370
|
+
- Query: Contains query information in its Marker and Query property.
|
|
5371
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
|
|
5372
|
+
*/
|
|
5373
|
+
OnRequest?:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest;
|
|
5374
|
+
/**
|
|
5375
|
+
* Event handler invoked when tags data is received, allowing for data transformation.
|
|
5376
|
+
Function receives two arguments:
|
|
5377
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5378
|
+
EventArgs object contains the following properties:
|
|
5379
|
+
- Sender: Fit.Controls.Input instance
|
|
5380
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5381
|
+
- Query: Contains query information in its Marker and Query property
|
|
5382
|
+
- Tags: JSON tags array received from WebService.
|
|
5383
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
5384
|
+
*/
|
|
5385
|
+
OnResponse?:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse;
|
|
5386
|
+
/**
|
|
5387
|
+
* Event handler invoked when tags data is received, allowing for data transformation.
|
|
5388
|
+
Function receives two arguments:
|
|
5389
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5390
|
+
EventArgs object contains the following properties:
|
|
5391
|
+
- Sender: Fit.Controls.Input instance
|
|
5392
|
+
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
5393
|
+
- Query: Contains query information in its Marker and Query property
|
|
5394
|
+
- Tags: JSON tags array received from WebService.
|
|
5395
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
5396
|
+
*/
|
|
5397
|
+
OnResponse?:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse;
|
|
5398
|
+
/**
|
|
5399
|
+
* URL to request data from. Endpoint receives the following payload:
|
|
5400
|
+
{ Marker: "@", Query: "search" }
|
|
5401
|
+
|
|
5402
|
+
Data is expected to be returned in the following format:
|
|
5403
|
+
[
|
|
5404
|
+
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
5405
|
+
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
5406
|
+
]
|
|
5407
|
+
|
|
5408
|
+
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
5409
|
+
The Url property is optional and must specify a path to a related page/resource.
|
|
5410
|
+
The Data property is optional and allows for additional data to be associated with the tag.
|
|
5411
|
+
To hold multiple values, consider using a base64 encoded JSON object:
|
|
5412
|
+
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
5413
|
+
|
|
5414
|
+
The data eventuelly results in a tag being added to the editor with the following format:
|
|
5415
|
+
Tag name 1
|
|
5416
|
+
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
5417
|
+
* @member {string} QueryUrl
|
|
5418
|
+
*/
|
|
5419
|
+
QueryUrl:string;
|
|
5420
|
+
/**
|
|
5421
|
+
* URL to request data from. Endpoint receives the following payload:
|
|
5422
|
+
{ Marker: "@", Query: "search" }
|
|
5423
|
+
|
|
5424
|
+
Data is expected to be returned in the following format:
|
|
5425
|
+
[
|
|
5426
|
+
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
5427
|
+
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
5428
|
+
]
|
|
5429
|
+
|
|
5430
|
+
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
5431
|
+
The Url property is optional and must specify a path to a related page/resource.
|
|
5432
|
+
The Data property is optional and allows for additional data to be associated with the tag.
|
|
5433
|
+
To hold multiple values, consider using a base64 encoded JSON object:
|
|
5434
|
+
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
5435
|
+
|
|
5436
|
+
The data eventuelly results in a tag being added to the editor with the following format:
|
|
5437
|
+
Tag name 1
|
|
5438
|
+
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
5439
|
+
* @member {string} QueryUrl
|
|
5440
|
+
*/
|
|
5441
|
+
QueryUrl:string;
|
|
5442
|
+
/**
|
|
5443
|
+
* Callback invoked when a tag is being inserted into editor, allowing
|
|
5444
|
+
for customization to the title and attributes associated with the tag.
|
|
5445
|
+
Function receives two arguments:
|
|
5446
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5447
|
+
EventArgs object contains the following properties:
|
|
5448
|
+
- Sender: Fit.Controls.Input instance
|
|
5449
|
+
- QueryMarker: String containing query marker
|
|
5450
|
+
- Tag: JSON tag received from WebService.
|
|
5451
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
5452
|
+
*/
|
|
5453
|
+
TagCreator?:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator;
|
|
5454
|
+
/**
|
|
5455
|
+
* Callback invoked when a tag is being inserted into editor, allowing
|
|
5456
|
+
for customization to the title and attributes associated with the tag.
|
|
5457
|
+
Function receives two arguments:
|
|
5458
|
+
Sender (Fit.Controls.Input) and EventArgs object.
|
|
5459
|
+
EventArgs object contains the following properties:
|
|
5460
|
+
- Sender: Fit.Controls.Input instance
|
|
5461
|
+
- QueryMarker: String containing query marker
|
|
5462
|
+
- Tag: JSON tag received from WebService.
|
|
5463
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
5464
|
+
*/
|
|
5465
|
+
TagCreator?:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator;
|
|
5466
|
+
/**
|
|
5467
|
+
* Markers triggering tags request and context menu.
|
|
5468
|
+
* @member {{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[]} Triggers
|
|
5469
|
+
*/
|
|
5470
|
+
Triggers:{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[];
|
|
5471
|
+
/**
|
|
5472
|
+
* Markers triggering tags request and context menu.
|
|
5473
|
+
* @member {{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[]} Triggers
|
|
5474
|
+
*/
|
|
5475
|
+
Triggers:{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[];
|
|
5476
|
+
}
|
|
5477
|
+
/**
|
|
5478
|
+
* Toolbar buttons enabled in DesignMode.
|
|
5479
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigToolbar DesignModeConfigToolbar]
|
|
5480
|
+
*/
|
|
5481
|
+
class DesignModeConfigToolbar
|
|
5482
|
+
{
|
|
5483
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
|
|
5484
|
+
/**
|
|
5485
|
+
* Enable detach button (defaults to false).
|
|
5486
|
+
* @member {boolean} [Detach=undefined]
|
|
5487
|
+
*/
|
|
5488
|
+
Detach?:boolean;
|
|
5489
|
+
/**
|
|
5490
|
+
* Enable detach button (defaults to false).
|
|
5491
|
+
* @member {boolean} [Detach=undefined]
|
|
5492
|
+
*/
|
|
5493
|
+
Detach?:boolean;
|
|
5494
|
+
/**
|
|
5495
|
+
* Enable emoji button (defaults to False).
|
|
5496
|
+
* @member {boolean} [Emojis=undefined]
|
|
5497
|
+
*/
|
|
5498
|
+
Emojis?:boolean;
|
|
5499
|
+
/**
|
|
5500
|
+
* Enable emoji button (defaults to False).
|
|
5501
|
+
* @member {boolean} [Emojis=undefined]
|
|
5502
|
+
*/
|
|
5503
|
+
Emojis?:boolean;
|
|
5504
|
+
/**
|
|
5505
|
+
* Enable text formatting (bold, italic, underline) (defaults to True).
|
|
5506
|
+
* @member {boolean} [Formatting=undefined]
|
|
5507
|
+
*/
|
|
5508
|
+
Formatting?:boolean;
|
|
5509
|
+
/**
|
|
5510
|
+
* Enable text formatting (bold, italic, underline) (defaults to True).
|
|
5511
|
+
* @member {boolean} [Formatting=undefined]
|
|
5512
|
+
*/
|
|
5513
|
+
Formatting?:boolean;
|
|
5514
|
+
/**
|
|
5515
|
+
* Hide toolbar until control gains focus (defaults to False).
|
|
5516
|
+
* @member {boolean} [HideInitially=undefined]
|
|
5517
|
+
*/
|
|
5518
|
+
HideInitially?:boolean;
|
|
5519
|
+
/**
|
|
5520
|
+
* Hide toolbar until control gains focus (defaults to False).
|
|
5521
|
+
* @member {boolean} [HideInitially=undefined]
|
|
5522
|
+
*/
|
|
5523
|
+
HideInitially?:boolean;
|
|
5524
|
+
/**
|
|
5525
|
+
* Enable image button (defaults to false).
|
|
5526
|
+
* @member {boolean} [Images=undefined]
|
|
5527
|
+
*/
|
|
5528
|
+
Images?:boolean;
|
|
5529
|
+
/**
|
|
5530
|
+
* Enable image button (defaults to false).
|
|
5531
|
+
* @member {boolean} [Images=undefined]
|
|
5532
|
+
*/
|
|
5533
|
+
Images?:boolean;
|
|
5534
|
+
/**
|
|
5535
|
+
* Enable text alignment (defaults to True).
|
|
5536
|
+
* @member {boolean} [Justify=undefined]
|
|
5537
|
+
*/
|
|
5538
|
+
Justify?:boolean;
|
|
5539
|
+
/**
|
|
5540
|
+
* Enable text alignment (defaults to True).
|
|
5541
|
+
* @member {boolean} [Justify=undefined]
|
|
5542
|
+
*/
|
|
5543
|
+
Justify?:boolean;
|
|
5544
|
+
/**
|
|
5545
|
+
* Enable links (defaults to True).
|
|
5546
|
+
* @member {boolean} [Links=undefined]
|
|
5547
|
+
*/
|
|
5548
|
+
Links?:boolean;
|
|
5549
|
+
/**
|
|
5550
|
+
* Enable links (defaults to True).
|
|
5551
|
+
* @member {boolean} [Links=undefined]
|
|
5552
|
+
*/
|
|
5553
|
+
Links?:boolean;
|
|
5554
|
+
/**
|
|
5555
|
+
* Enable ordered and unordered lists with indentation (defaults to True).
|
|
5556
|
+
* @member {boolean} [Lists=undefined]
|
|
5557
|
+
*/
|
|
5558
|
+
Lists?:boolean;
|
|
5559
|
+
/**
|
|
5560
|
+
* Enable ordered and unordered lists with indentation (defaults to True).
|
|
5561
|
+
* @member {boolean} [Lists=undefined]
|
|
5562
|
+
*/
|
|
5563
|
+
Lists?:boolean;
|
|
5564
|
+
/**
|
|
5565
|
+
* Toolbar position (defaults to Top).
|
|
5566
|
+
* @member {'Top' | 'Bottom'} [Position=undefined]
|
|
5567
|
+
*/
|
|
5568
|
+
Position?:'Top' | 'Bottom';
|
|
5569
|
+
/**
|
|
5570
|
+
* Toolbar position (defaults to Top).
|
|
5571
|
+
* @member {'Top' | 'Bottom'} [Position=undefined]
|
|
5572
|
+
*/
|
|
5573
|
+
Position?:'Top' | 'Bottom';
|
|
5574
|
+
/**
|
|
5575
|
+
* Make toolbar stick to edge of scroll container on supported browsers when scrolling (defaults to False).
|
|
5576
|
+
* @member {boolean} [Sticky=undefined]
|
|
5577
|
+
*/
|
|
5578
|
+
Sticky?:boolean;
|
|
5579
|
+
/**
|
|
5580
|
+
* Make toolbar stick to edge of scroll container on supported browsers when scrolling (defaults to False).
|
|
5581
|
+
* @member {boolean} [Sticky=undefined]
|
|
5582
|
+
*/
|
|
5583
|
+
Sticky?:boolean;
|
|
5584
|
+
}
|
|
5585
|
+
/**
|
|
5586
|
+
* Toolbar buttons enabled in DesignMode.
|
|
5587
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigToolbar DesignModeConfigToolbar]
|
|
5588
|
+
*/
|
|
5589
|
+
class DesignModeConfigToolbar
|
|
4228
5590
|
{
|
|
4229
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
5591
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
|
|
5592
|
+
/**
|
|
5593
|
+
* Enable detach button (defaults to false).
|
|
5594
|
+
* @member {boolean} [Detach=undefined]
|
|
5595
|
+
*/
|
|
5596
|
+
Detach?:boolean;
|
|
5597
|
+
/**
|
|
5598
|
+
* Enable detach button (defaults to false).
|
|
5599
|
+
* @member {boolean} [Detach=undefined]
|
|
5600
|
+
*/
|
|
5601
|
+
Detach?:boolean;
|
|
5602
|
+
/**
|
|
5603
|
+
* Enable emoji button (defaults to False).
|
|
5604
|
+
* @member {boolean} [Emojis=undefined]
|
|
5605
|
+
*/
|
|
5606
|
+
Emojis?:boolean;
|
|
5607
|
+
/**
|
|
5608
|
+
* Enable emoji button (defaults to False).
|
|
5609
|
+
* @member {boolean} [Emojis=undefined]
|
|
5610
|
+
*/
|
|
5611
|
+
Emojis?:boolean;
|
|
5612
|
+
/**
|
|
5613
|
+
* Enable text formatting (bold, italic, underline) (defaults to True).
|
|
5614
|
+
* @member {boolean} [Formatting=undefined]
|
|
5615
|
+
*/
|
|
5616
|
+
Formatting?:boolean;
|
|
5617
|
+
/**
|
|
5618
|
+
* Enable text formatting (bold, italic, underline) (defaults to True).
|
|
5619
|
+
* @member {boolean} [Formatting=undefined]
|
|
5620
|
+
*/
|
|
5621
|
+
Formatting?:boolean;
|
|
5622
|
+
/**
|
|
5623
|
+
* Hide toolbar until control gains focus (defaults to False).
|
|
5624
|
+
* @member {boolean} [HideInitially=undefined]
|
|
5625
|
+
*/
|
|
5626
|
+
HideInitially?:boolean;
|
|
5627
|
+
/**
|
|
5628
|
+
* Hide toolbar until control gains focus (defaults to False).
|
|
5629
|
+
* @member {boolean} [HideInitially=undefined]
|
|
5630
|
+
*/
|
|
5631
|
+
HideInitially?:boolean;
|
|
5632
|
+
/**
|
|
5633
|
+
* Enable image button (defaults to false).
|
|
5634
|
+
* @member {boolean} [Images=undefined]
|
|
5635
|
+
*/
|
|
5636
|
+
Images?:boolean;
|
|
5637
|
+
/**
|
|
5638
|
+
* Enable image button (defaults to false).
|
|
5639
|
+
* @member {boolean} [Images=undefined]
|
|
5640
|
+
*/
|
|
5641
|
+
Images?:boolean;
|
|
5642
|
+
/**
|
|
5643
|
+
* Enable text alignment (defaults to True).
|
|
5644
|
+
* @member {boolean} [Justify=undefined]
|
|
5645
|
+
*/
|
|
5646
|
+
Justify?:boolean;
|
|
5647
|
+
/**
|
|
5648
|
+
* Enable text alignment (defaults to True).
|
|
5649
|
+
* @member {boolean} [Justify=undefined]
|
|
5650
|
+
*/
|
|
5651
|
+
Justify?:boolean;
|
|
5652
|
+
/**
|
|
5653
|
+
* Enable links (defaults to True).
|
|
5654
|
+
* @member {boolean} [Links=undefined]
|
|
5655
|
+
*/
|
|
5656
|
+
Links?:boolean;
|
|
5657
|
+
/**
|
|
5658
|
+
* Enable links (defaults to True).
|
|
5659
|
+
* @member {boolean} [Links=undefined]
|
|
5660
|
+
*/
|
|
5661
|
+
Links?:boolean;
|
|
5662
|
+
/**
|
|
5663
|
+
* Enable ordered and unordered lists with indentation (defaults to True).
|
|
5664
|
+
* @member {boolean} [Lists=undefined]
|
|
5665
|
+
*/
|
|
5666
|
+
Lists?:boolean;
|
|
5667
|
+
/**
|
|
5668
|
+
* Enable ordered and unordered lists with indentation (defaults to True).
|
|
5669
|
+
* @member {boolean} [Lists=undefined]
|
|
5670
|
+
*/
|
|
5671
|
+
Lists?:boolean;
|
|
5672
|
+
/**
|
|
5673
|
+
* Toolbar position (defaults to Top).
|
|
5674
|
+
* @member {'Top' | 'Bottom'} [Position=undefined]
|
|
5675
|
+
*/
|
|
5676
|
+
Position?:'Top' | 'Bottom';
|
|
5677
|
+
/**
|
|
5678
|
+
* Toolbar position (defaults to Top).
|
|
5679
|
+
* @member {'Top' | 'Bottom'} [Position=undefined]
|
|
5680
|
+
*/
|
|
5681
|
+
Position?:'Top' | 'Bottom';
|
|
5682
|
+
/**
|
|
5683
|
+
* Make toolbar stick to edge of scroll container on supported browsers when scrolling (defaults to False).
|
|
5684
|
+
* @member {boolean} [Sticky=undefined]
|
|
5685
|
+
*/
|
|
5686
|
+
Sticky?:boolean;
|
|
5687
|
+
/**
|
|
5688
|
+
* Make toolbar stick to edge of scroll container on supported browsers when scrolling (defaults to False).
|
|
5689
|
+
* @member {boolean} [Sticky=undefined]
|
|
5690
|
+
*/
|
|
5691
|
+
Sticky?:boolean;
|
|
5692
|
+
}
|
|
5693
|
+
/**
|
|
5694
|
+
* Detachable configuration.
|
|
5695
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDetachable DesignModeDetachable]
|
|
5696
|
+
*/
|
|
5697
|
+
class DesignModeDetachable
|
|
5698
|
+
{
|
|
5699
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
5700
|
+
/**
|
|
5701
|
+
* Flag indicating whether dialog is draggable.
|
|
5702
|
+
* @member {boolean} [Draggable=undefined]
|
|
5703
|
+
*/
|
|
5704
|
+
Draggable?:boolean;
|
|
5705
|
+
/**
|
|
5706
|
+
* Flag indicating whether dialog is draggable.
|
|
5707
|
+
* @member {boolean} [Draggable=undefined]
|
|
5708
|
+
*/
|
|
5709
|
+
Draggable?:boolean;
|
|
5710
|
+
/**
|
|
5711
|
+
* Dialog height.
|
|
5712
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
5713
|
+
*/
|
|
5714
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5715
|
+
/**
|
|
5716
|
+
* Dialog height.
|
|
5717
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
5718
|
+
*/
|
|
5719
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5720
|
+
/**
|
|
5721
|
+
* Flag indicating whether dialog is maximizable.
|
|
5722
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5723
|
+
*/
|
|
5724
|
+
Maximizable?:boolean;
|
|
5725
|
+
/**
|
|
5726
|
+
* Flag indicating whether dialog is maximizable.
|
|
5727
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5728
|
+
*/
|
|
5729
|
+
Maximizable?:boolean;
|
|
5730
|
+
/**
|
|
5731
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5732
|
+
* @member {boolean} [Maximized=undefined]
|
|
5733
|
+
*/
|
|
5734
|
+
Maximized?:boolean;
|
|
5735
|
+
/**
|
|
5736
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5737
|
+
* @member {boolean} [Maximized=undefined]
|
|
5738
|
+
*/
|
|
5739
|
+
Maximized?:boolean;
|
|
5740
|
+
/**
|
|
5741
|
+
* Maximum height of dialog.
|
|
5742
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
5743
|
+
*/
|
|
5744
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5745
|
+
/**
|
|
5746
|
+
* Maximum height of dialog.
|
|
5747
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
5748
|
+
*/
|
|
5749
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5750
|
+
/**
|
|
5751
|
+
* Maximum Width of dialog.
|
|
5752
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
5753
|
+
*/
|
|
5754
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5755
|
+
/**
|
|
5756
|
+
* Maximum Width of dialog.
|
|
5757
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
5758
|
+
*/
|
|
5759
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5760
|
+
/**
|
|
5761
|
+
* Minimum height of dialog.
|
|
5762
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
5763
|
+
*/
|
|
5764
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4230
5765
|
/**
|
|
4231
|
-
*
|
|
4232
|
-
* @member {
|
|
5766
|
+
* Minimum height of dialog.
|
|
5767
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4233
5768
|
*/
|
|
4234
|
-
|
|
5769
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4235
5770
|
/**
|
|
4236
|
-
*
|
|
4237
|
-
* @member {
|
|
5771
|
+
* Minimum width of dialog.
|
|
5772
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4238
5773
|
*/
|
|
4239
|
-
|
|
4240
|
-
}
|
|
4241
|
-
/**
|
|
4242
|
-
* Additional plugins enabled in DesignMode.
|
|
4243
|
-
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPlugins DesignModeConfigPlugins]
|
|
4244
|
-
*/
|
|
4245
|
-
class DesignModeConfigPlugins
|
|
4246
|
-
{
|
|
4247
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPlugins
|
|
5774
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4248
5775
|
/**
|
|
4249
|
-
*
|
|
4250
|
-
* @member {
|
|
5776
|
+
* Minimum width of dialog.
|
|
5777
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4251
5778
|
*/
|
|
4252
|
-
|
|
5779
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4253
5780
|
/**
|
|
4254
|
-
*
|
|
4255
|
-
* @member {
|
|
5781
|
+
* Flag indicating whether dialog is resizable.
|
|
5782
|
+
* @member {boolean} [Resizable=undefined]
|
|
4256
5783
|
*/
|
|
4257
|
-
|
|
4258
|
-
}
|
|
4259
|
-
/**
|
|
4260
|
-
* Configuration for image plugins.
|
|
4261
|
-
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig DesignModeConfigPluginsImagesConfig]
|
|
4262
|
-
*/
|
|
4263
|
-
class DesignModeConfigPluginsImagesConfig
|
|
4264
|
-
{
|
|
4265
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
|
|
5784
|
+
Resizable?:boolean;
|
|
4266
5785
|
/**
|
|
4267
|
-
*
|
|
4268
|
-
|
|
4269
|
-
References to blobs can be parsed from the HTML value produced by the editor.
|
|
4270
|
-
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
5786
|
+
* Flag indicating whether dialog is resizable.
|
|
5787
|
+
* @member {boolean} [Resizable=undefined]
|
|
4271
5788
|
*/
|
|
4272
|
-
|
|
5789
|
+
Resizable?:boolean;
|
|
4273
5790
|
/**
|
|
4274
|
-
*
|
|
4275
|
-
* @member {
|
|
5791
|
+
* Dialog title.
|
|
5792
|
+
* @member {string} [Title=undefined]
|
|
4276
5793
|
*/
|
|
4277
|
-
|
|
5794
|
+
Title?:string;
|
|
4278
5795
|
/**
|
|
4279
|
-
*
|
|
4280
|
-
|
|
4281
|
-
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
4282
|
-
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
4283
|
-
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
5796
|
+
* Dialog title.
|
|
5797
|
+
* @member {string} [Title=undefined]
|
|
4284
5798
|
*/
|
|
4285
|
-
|
|
5799
|
+
Title?:string;
|
|
4286
5800
|
/**
|
|
4287
|
-
*
|
|
4288
|
-
|
|
4289
|
-
function when control is disposed. Basically ownership of these blobs are handed
|
|
4290
|
-
over to the control for the duration of its life time.
|
|
4291
|
-
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
4292
|
-
Defaults to False.
|
|
4293
|
-
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
5801
|
+
* Dialog width.
|
|
5802
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
4294
5803
|
*/
|
|
4295
|
-
|
|
5804
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5805
|
+
/**
|
|
5806
|
+
* Dialog width.
|
|
5807
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
5808
|
+
*/
|
|
5809
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4296
5810
|
}
|
|
4297
5811
|
/**
|
|
4298
|
-
*
|
|
4299
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
5812
|
+
* Detachable configuration.
|
|
5813
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDetachable DesignModeDetachable]
|
|
4300
5814
|
*/
|
|
4301
|
-
class
|
|
5815
|
+
class DesignModeDetachable
|
|
4302
5816
|
{
|
|
4303
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
5817
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
4304
5818
|
/**
|
|
4305
|
-
*
|
|
4306
|
-
* @member {
|
|
5819
|
+
* Flag indicating whether dialog is draggable.
|
|
5820
|
+
* @member {boolean} [Draggable=undefined]
|
|
4307
5821
|
*/
|
|
4308
|
-
|
|
5822
|
+
Draggable?:boolean;
|
|
4309
5823
|
/**
|
|
4310
|
-
*
|
|
4311
|
-
* @member {
|
|
5824
|
+
* Flag indicating whether dialog is draggable.
|
|
5825
|
+
* @member {boolean} [Draggable=undefined]
|
|
4312
5826
|
*/
|
|
4313
|
-
|
|
5827
|
+
Draggable?:boolean;
|
|
4314
5828
|
/**
|
|
4315
|
-
*
|
|
4316
|
-
|
|
4317
|
-
Sender (Fit.Controls.Input) and EventArgs object.
|
|
4318
|
-
EventArgs object contains the following properties:
|
|
4319
|
-
- Sender: Fit.Controls.Input instance
|
|
4320
|
-
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
4321
|
-
- Query: Contains query information in its Marker and Query property.
|
|
4322
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
|
|
5829
|
+
* Dialog height.
|
|
5830
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
4323
5831
|
*/
|
|
4324
|
-
|
|
5832
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4325
5833
|
/**
|
|
4326
|
-
*
|
|
4327
|
-
|
|
4328
|
-
Sender (Fit.Controls.Input) and EventArgs object.
|
|
4329
|
-
EventArgs object contains the following properties:
|
|
4330
|
-
- Sender: Fit.Controls.Input instance
|
|
4331
|
-
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
4332
|
-
- Query: Contains query information in its Marker and Query property
|
|
4333
|
-
- Tags: JSON tags array received from WebService.
|
|
4334
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
5834
|
+
* Dialog height.
|
|
5835
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
4335
5836
|
*/
|
|
4336
|
-
|
|
5837
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4337
5838
|
/**
|
|
4338
|
-
*
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
Data is expected to be returned in the following format:
|
|
4342
|
-
[
|
|
4343
|
-
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
4344
|
-
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
4345
|
-
]
|
|
4346
|
-
|
|
4347
|
-
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
4348
|
-
The Url property is optional and must specify a path to a related page/resource.
|
|
4349
|
-
The Data property is optional and allows for additional data to be associated with the tag.
|
|
4350
|
-
To hold multiple values, consider using a base64 encoded JSON object:
|
|
4351
|
-
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
4352
|
-
|
|
4353
|
-
The data eventuelly results in a tag being added to the editor with the following format:
|
|
4354
|
-
Tag name 1
|
|
4355
|
-
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
4356
|
-
* @member {string} QueryUrl
|
|
5839
|
+
* Flag indicating whether dialog is maximizable.
|
|
5840
|
+
* @member {boolean} [Maximizable=undefined]
|
|
4357
5841
|
*/
|
|
4358
|
-
|
|
5842
|
+
Maximizable?:boolean;
|
|
4359
5843
|
/**
|
|
4360
|
-
*
|
|
4361
|
-
|
|
4362
|
-
Function receives two arguments:
|
|
4363
|
-
Sender (Fit.Controls.Input) and EventArgs object.
|
|
4364
|
-
EventArgs object contains the following properties:
|
|
4365
|
-
- Sender: Fit.Controls.Input instance
|
|
4366
|
-
- QueryMarker: String containing query marker
|
|
4367
|
-
- Tag: JSON tag received from WebService.
|
|
4368
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
5844
|
+
* Flag indicating whether dialog is maximizable.
|
|
5845
|
+
* @member {boolean} [Maximizable=undefined]
|
|
4369
5846
|
*/
|
|
4370
|
-
|
|
5847
|
+
Maximizable?:boolean;
|
|
4371
5848
|
/**
|
|
4372
|
-
*
|
|
4373
|
-
* @member {
|
|
5849
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5850
|
+
* @member {boolean} [Maximized=undefined]
|
|
4374
5851
|
*/
|
|
4375
|
-
|
|
4376
|
-
}
|
|
4377
|
-
/**
|
|
4378
|
-
* Toolbar buttons enabled in DesignMode.
|
|
4379
|
-
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigToolbar DesignModeConfigToolbar]
|
|
4380
|
-
*/
|
|
4381
|
-
class DesignModeConfigToolbar
|
|
4382
|
-
{
|
|
4383
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
|
|
5852
|
+
Maximized?:boolean;
|
|
4384
5853
|
/**
|
|
4385
|
-
*
|
|
4386
|
-
* @member {boolean} [
|
|
5854
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5855
|
+
* @member {boolean} [Maximized=undefined]
|
|
4387
5856
|
*/
|
|
4388
|
-
|
|
5857
|
+
Maximized?:boolean;
|
|
4389
5858
|
/**
|
|
4390
|
-
*
|
|
4391
|
-
* @member {
|
|
5859
|
+
* Maximum height of dialog.
|
|
5860
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4392
5861
|
*/
|
|
4393
|
-
|
|
5862
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4394
5863
|
/**
|
|
4395
|
-
*
|
|
4396
|
-
* @member {
|
|
5864
|
+
* Maximum height of dialog.
|
|
5865
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4397
5866
|
*/
|
|
4398
|
-
|
|
5867
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4399
5868
|
/**
|
|
4400
|
-
*
|
|
4401
|
-
* @member {
|
|
5869
|
+
* Maximum Width of dialog.
|
|
5870
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
4402
5871
|
*/
|
|
4403
|
-
|
|
5872
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4404
5873
|
/**
|
|
4405
|
-
*
|
|
4406
|
-
* @member {
|
|
5874
|
+
* Maximum Width of dialog.
|
|
5875
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
4407
5876
|
*/
|
|
4408
|
-
|
|
5877
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4409
5878
|
/**
|
|
4410
|
-
*
|
|
4411
|
-
* @member {
|
|
5879
|
+
* Minimum height of dialog.
|
|
5880
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4412
5881
|
*/
|
|
4413
|
-
|
|
5882
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4414
5883
|
/**
|
|
4415
|
-
*
|
|
4416
|
-
* @member {
|
|
5884
|
+
* Minimum height of dialog.
|
|
5885
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4417
5886
|
*/
|
|
4418
|
-
|
|
5887
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4419
5888
|
/**
|
|
4420
|
-
*
|
|
4421
|
-
* @member {
|
|
5889
|
+
* Minimum width of dialog.
|
|
5890
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4422
5891
|
*/
|
|
4423
|
-
|
|
5892
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4424
5893
|
/**
|
|
4425
|
-
*
|
|
4426
|
-
* @member {
|
|
5894
|
+
* Minimum width of dialog.
|
|
5895
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4427
5896
|
*/
|
|
4428
|
-
|
|
5897
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5898
|
+
/**
|
|
5899
|
+
* Flag indicating whether dialog is resizable.
|
|
5900
|
+
* @member {boolean} [Resizable=undefined]
|
|
5901
|
+
*/
|
|
5902
|
+
Resizable?:boolean;
|
|
5903
|
+
/**
|
|
5904
|
+
* Flag indicating whether dialog is resizable.
|
|
5905
|
+
* @member {boolean} [Resizable=undefined]
|
|
5906
|
+
*/
|
|
5907
|
+
Resizable?:boolean;
|
|
5908
|
+
/**
|
|
5909
|
+
* Dialog title.
|
|
5910
|
+
* @member {string} [Title=undefined]
|
|
5911
|
+
*/
|
|
5912
|
+
Title?:string;
|
|
5913
|
+
/**
|
|
5914
|
+
* Dialog title.
|
|
5915
|
+
* @member {string} [Title=undefined]
|
|
5916
|
+
*/
|
|
5917
|
+
Title?:string;
|
|
5918
|
+
/**
|
|
5919
|
+
* Dialog width.
|
|
5920
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
5921
|
+
*/
|
|
5922
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4429
5923
|
/**
|
|
4430
|
-
*
|
|
4431
|
-
* @member {
|
|
5924
|
+
* Dialog width.
|
|
5925
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
4432
5926
|
*/
|
|
4433
|
-
|
|
5927
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4434
5928
|
}
|
|
4435
5929
|
/**
|
|
4436
|
-
*
|
|
4437
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
5930
|
+
* DialogMode configuration.
|
|
5931
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDialogMode DesignModeDialogMode]
|
|
4438
5932
|
*/
|
|
4439
|
-
class
|
|
5933
|
+
class DesignModeDialogMode
|
|
4440
5934
|
{
|
|
5935
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDialogMode
|
|
5936
|
+
/**
|
|
5937
|
+
* Flag indicating whether dialog is automatically opened.
|
|
5938
|
+
* @member {boolean} [AutoOpen=undefined]
|
|
5939
|
+
*/
|
|
5940
|
+
AutoOpen?:boolean;
|
|
4441
5941
|
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
4442
5942
|
/**
|
|
4443
5943
|
* Flag indicating whether dialog is draggable.
|
|
@@ -4445,6 +5945,16 @@ declare namespace Fit
|
|
|
4445
5945
|
*/
|
|
4446
5946
|
Draggable?:boolean;
|
|
4447
5947
|
/**
|
|
5948
|
+
* Flag indicating whether dialog is draggable.
|
|
5949
|
+
* @member {boolean} [Draggable=undefined]
|
|
5950
|
+
*/
|
|
5951
|
+
Draggable?:boolean;
|
|
5952
|
+
/**
|
|
5953
|
+
* Dialog height.
|
|
5954
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
5955
|
+
*/
|
|
5956
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5957
|
+
/**
|
|
4448
5958
|
* Dialog height.
|
|
4449
5959
|
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
4450
5960
|
*/
|
|
@@ -4455,6 +5965,16 @@ declare namespace Fit
|
|
|
4455
5965
|
*/
|
|
4456
5966
|
Maximizable?:boolean;
|
|
4457
5967
|
/**
|
|
5968
|
+
* Flag indicating whether dialog is maximizable.
|
|
5969
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5970
|
+
*/
|
|
5971
|
+
Maximizable?:boolean;
|
|
5972
|
+
/**
|
|
5973
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5974
|
+
* @member {boolean} [Maximized=undefined]
|
|
5975
|
+
*/
|
|
5976
|
+
Maximized?:boolean;
|
|
5977
|
+
/**
|
|
4458
5978
|
* Flag indicating whether dialog is initially maximized.
|
|
4459
5979
|
* @member {boolean} [Maximized=undefined]
|
|
4460
5980
|
*/
|
|
@@ -4465,6 +5985,16 @@ declare namespace Fit
|
|
|
4465
5985
|
*/
|
|
4466
5986
|
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4467
5987
|
/**
|
|
5988
|
+
* Maximum height of dialog.
|
|
5989
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
5990
|
+
*/
|
|
5991
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5992
|
+
/**
|
|
5993
|
+
* Maximum Width of dialog.
|
|
5994
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
5995
|
+
*/
|
|
5996
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5997
|
+
/**
|
|
4468
5998
|
* Maximum Width of dialog.
|
|
4469
5999
|
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
4470
6000
|
*/
|
|
@@ -4475,6 +6005,16 @@ declare namespace Fit
|
|
|
4475
6005
|
*/
|
|
4476
6006
|
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4477
6007
|
/**
|
|
6008
|
+
* Minimum height of dialog.
|
|
6009
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
6010
|
+
*/
|
|
6011
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
6012
|
+
/**
|
|
6013
|
+
* Minimum width of dialog.
|
|
6014
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
6015
|
+
*/
|
|
6016
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
6017
|
+
/**
|
|
4478
6018
|
* Minimum width of dialog.
|
|
4479
6019
|
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4480
6020
|
*/
|
|
@@ -4485,6 +6025,16 @@ declare namespace Fit
|
|
|
4485
6025
|
*/
|
|
4486
6026
|
Resizable?:boolean;
|
|
4487
6027
|
/**
|
|
6028
|
+
* Flag indicating whether dialog is resizable.
|
|
6029
|
+
* @member {boolean} [Resizable=undefined]
|
|
6030
|
+
*/
|
|
6031
|
+
Resizable?:boolean;
|
|
6032
|
+
/**
|
|
6033
|
+
* Dialog title.
|
|
6034
|
+
* @member {string} [Title=undefined]
|
|
6035
|
+
*/
|
|
6036
|
+
Title?:string;
|
|
6037
|
+
/**
|
|
4488
6038
|
* Dialog title.
|
|
4489
6039
|
* @member {string} [Title=undefined]
|
|
4490
6040
|
*/
|
|
@@ -4494,6 +6044,49 @@ declare namespace Fit
|
|
|
4494
6044
|
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
4495
6045
|
*/
|
|
4496
6046
|
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
6047
|
+
/**
|
|
6048
|
+
* Dialog width.
|
|
6049
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
6050
|
+
*/
|
|
6051
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
6052
|
+
}
|
|
6053
|
+
/**
|
|
6054
|
+
* Request handler event arguments.
|
|
6055
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
|
|
6056
|
+
*/
|
|
6057
|
+
class DesignModeTagsOnRequestEventHandlerArgs
|
|
6058
|
+
{
|
|
6059
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs
|
|
6060
|
+
/**
|
|
6061
|
+
* Query information.
|
|
6062
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6063
|
+
*/
|
|
6064
|
+
Query:{ Marker: string, Query: string };
|
|
6065
|
+
/**
|
|
6066
|
+
* Query information.
|
|
6067
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6068
|
+
*/
|
|
6069
|
+
Query:{ Marker: string, Query: string };
|
|
6070
|
+
/**
|
|
6071
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6072
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6073
|
+
*/
|
|
6074
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6075
|
+
/**
|
|
6076
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6077
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6078
|
+
*/
|
|
6079
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6080
|
+
/**
|
|
6081
|
+
* Instance of control.
|
|
6082
|
+
* @member {Fit.Controls.Input} Sender
|
|
6083
|
+
*/
|
|
6084
|
+
Sender:Fit.Controls.Input;
|
|
6085
|
+
/**
|
|
6086
|
+
* Instance of control.
|
|
6087
|
+
* @member {Fit.Controls.Input} Sender
|
|
6088
|
+
*/
|
|
6089
|
+
Sender:Fit.Controls.Input;
|
|
4497
6090
|
}
|
|
4498
6091
|
/**
|
|
4499
6092
|
* Request handler event arguments.
|
|
@@ -4508,6 +6101,54 @@ declare namespace Fit
|
|
|
4508
6101
|
*/
|
|
4509
6102
|
Query:{ Marker: string, Query: string };
|
|
4510
6103
|
/**
|
|
6104
|
+
* Query information.
|
|
6105
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6106
|
+
*/
|
|
6107
|
+
Query:{ Marker: string, Query: string };
|
|
6108
|
+
/**
|
|
6109
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6110
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6111
|
+
*/
|
|
6112
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6113
|
+
/**
|
|
6114
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6115
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6116
|
+
*/
|
|
6117
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6118
|
+
/**
|
|
6119
|
+
* Instance of control.
|
|
6120
|
+
* @member {Fit.Controls.Input} Sender
|
|
6121
|
+
*/
|
|
6122
|
+
Sender:Fit.Controls.Input;
|
|
6123
|
+
/**
|
|
6124
|
+
* Instance of control.
|
|
6125
|
+
* @member {Fit.Controls.Input} Sender
|
|
6126
|
+
*/
|
|
6127
|
+
Sender:Fit.Controls.Input;
|
|
6128
|
+
}
|
|
6129
|
+
/**
|
|
6130
|
+
* Response handler event arguments.
|
|
6131
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs DesignModeTagsOnResponseEventHandlerArgs]
|
|
6132
|
+
*/
|
|
6133
|
+
class DesignModeTagsOnResponseEventHandlerArgs
|
|
6134
|
+
{
|
|
6135
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs
|
|
6136
|
+
/**
|
|
6137
|
+
* Query information.
|
|
6138
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6139
|
+
*/
|
|
6140
|
+
Query:{ Marker: string, Query: string };
|
|
6141
|
+
/**
|
|
6142
|
+
* Query information.
|
|
6143
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6144
|
+
*/
|
|
6145
|
+
Query:{ Marker: string, Query: string };
|
|
6146
|
+
/**
|
|
6147
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6148
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6149
|
+
*/
|
|
6150
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6151
|
+
/**
|
|
4511
6152
|
* Instance of JsonRequest or JsonpRequest.
|
|
4512
6153
|
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
4513
6154
|
*/
|
|
@@ -4517,6 +6158,21 @@ declare namespace Fit
|
|
|
4517
6158
|
* @member {Fit.Controls.Input} Sender
|
|
4518
6159
|
*/
|
|
4519
6160
|
Sender:Fit.Controls.Input;
|
|
6161
|
+
/**
|
|
6162
|
+
* Instance of control.
|
|
6163
|
+
* @member {Fit.Controls.Input} Sender
|
|
6164
|
+
*/
|
|
6165
|
+
Sender:Fit.Controls.Input;
|
|
6166
|
+
/**
|
|
6167
|
+
* Tags received from WebService.
|
|
6168
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[]} Tags
|
|
6169
|
+
*/
|
|
6170
|
+
Tags:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[];
|
|
6171
|
+
/**
|
|
6172
|
+
* Tags received from WebService.
|
|
6173
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[]} Tags
|
|
6174
|
+
*/
|
|
6175
|
+
Tags:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[];
|
|
4520
6176
|
}
|
|
4521
6177
|
/**
|
|
4522
6178
|
* Response handler event arguments.
|
|
@@ -4531,20 +6187,108 @@ declare namespace Fit
|
|
|
4531
6187
|
*/
|
|
4532
6188
|
Query:{ Marker: string, Query: string };
|
|
4533
6189
|
/**
|
|
6190
|
+
* Query information.
|
|
6191
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6192
|
+
*/
|
|
6193
|
+
Query:{ Marker: string, Query: string };
|
|
6194
|
+
/**
|
|
6195
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6196
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6197
|
+
*/
|
|
6198
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6199
|
+
/**
|
|
4534
6200
|
* Instance of JsonRequest or JsonpRequest.
|
|
4535
6201
|
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
4536
6202
|
*/
|
|
4537
6203
|
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
4538
6204
|
/**
|
|
4539
|
-
* Instance of control.
|
|
4540
|
-
* @member {Fit.Controls.Input} Sender
|
|
6205
|
+
* Instance of control.
|
|
6206
|
+
* @member {Fit.Controls.Input} Sender
|
|
6207
|
+
*/
|
|
6208
|
+
Sender:Fit.Controls.Input;
|
|
6209
|
+
/**
|
|
6210
|
+
* Instance of control.
|
|
6211
|
+
* @member {Fit.Controls.Input} Sender
|
|
6212
|
+
*/
|
|
6213
|
+
Sender:Fit.Controls.Input;
|
|
6214
|
+
/**
|
|
6215
|
+
* Tags received from WebService.
|
|
6216
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[]} Tags
|
|
6217
|
+
*/
|
|
6218
|
+
Tags:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[];
|
|
6219
|
+
/**
|
|
6220
|
+
* Tags received from WebService.
|
|
6221
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[]} Tags
|
|
6222
|
+
*/
|
|
6223
|
+
Tags:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[];
|
|
6224
|
+
}
|
|
6225
|
+
/**
|
|
6226
|
+
* JSON object representing tag.
|
|
6227
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag DesignModeTagsOnResponseJsonTag]
|
|
6228
|
+
*/
|
|
6229
|
+
class DesignModeTagsOnResponseJsonTag
|
|
6230
|
+
{
|
|
6231
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag
|
|
6232
|
+
/**
|
|
6233
|
+
* Optional context information to associate with tag.
|
|
6234
|
+
* @member {string} [Context=undefined]
|
|
6235
|
+
*/
|
|
6236
|
+
Context?:string;
|
|
6237
|
+
/**
|
|
6238
|
+
* Optional context information to associate with tag.
|
|
6239
|
+
* @member {string} [Context=undefined]
|
|
6240
|
+
*/
|
|
6241
|
+
Context?:string;
|
|
6242
|
+
/**
|
|
6243
|
+
* Optional data to associate with tag.
|
|
6244
|
+
* @member {string} [Data=undefined]
|
|
6245
|
+
*/
|
|
6246
|
+
Data?:string;
|
|
6247
|
+
/**
|
|
6248
|
+
* Optional data to associate with tag.
|
|
6249
|
+
* @member {string} [Data=undefined]
|
|
6250
|
+
*/
|
|
6251
|
+
Data?:string;
|
|
6252
|
+
/**
|
|
6253
|
+
* Optional URL to icon/image.
|
|
6254
|
+
* @member {string} [Icon=undefined]
|
|
6255
|
+
*/
|
|
6256
|
+
Icon?:string;
|
|
6257
|
+
/**
|
|
6258
|
+
* Optional URL to icon/image.
|
|
6259
|
+
* @member {string} [Icon=undefined]
|
|
6260
|
+
*/
|
|
6261
|
+
Icon?:string;
|
|
6262
|
+
/**
|
|
6263
|
+
* Title.
|
|
6264
|
+
* @member {string} Title
|
|
6265
|
+
*/
|
|
6266
|
+
Title:string;
|
|
6267
|
+
/**
|
|
6268
|
+
* Title.
|
|
6269
|
+
* @member {string} Title
|
|
6270
|
+
*/
|
|
6271
|
+
Title:string;
|
|
6272
|
+
/**
|
|
6273
|
+
* Optional URL to associate with tag.
|
|
6274
|
+
* @member {string} [Url=undefined]
|
|
6275
|
+
*/
|
|
6276
|
+
Url?:string;
|
|
6277
|
+
/**
|
|
6278
|
+
* Optional URL to associate with tag.
|
|
6279
|
+
* @member {string} [Url=undefined]
|
|
6280
|
+
*/
|
|
6281
|
+
Url?:string;
|
|
6282
|
+
/**
|
|
6283
|
+
* Unique value.
|
|
6284
|
+
* @member {string} Value
|
|
4541
6285
|
*/
|
|
4542
|
-
|
|
6286
|
+
Value:string;
|
|
4543
6287
|
/**
|
|
4544
|
-
*
|
|
4545
|
-
* @member {
|
|
6288
|
+
* Unique value.
|
|
6289
|
+
* @member {string} Value
|
|
4546
6290
|
*/
|
|
4547
|
-
|
|
6291
|
+
Value:string;
|
|
4548
6292
|
}
|
|
4549
6293
|
/**
|
|
4550
6294
|
* JSON object representing tag.
|
|
@@ -4559,6 +6303,16 @@ declare namespace Fit
|
|
|
4559
6303
|
*/
|
|
4560
6304
|
Context?:string;
|
|
4561
6305
|
/**
|
|
6306
|
+
* Optional context information to associate with tag.
|
|
6307
|
+
* @member {string} [Context=undefined]
|
|
6308
|
+
*/
|
|
6309
|
+
Context?:string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Optional data to associate with tag.
|
|
6312
|
+
* @member {string} [Data=undefined]
|
|
6313
|
+
*/
|
|
6314
|
+
Data?:string;
|
|
6315
|
+
/**
|
|
4562
6316
|
* Optional data to associate with tag.
|
|
4563
6317
|
* @member {string} [Data=undefined]
|
|
4564
6318
|
*/
|
|
@@ -4569,6 +6323,16 @@ declare namespace Fit
|
|
|
4569
6323
|
*/
|
|
4570
6324
|
Icon?:string;
|
|
4571
6325
|
/**
|
|
6326
|
+
* Optional URL to icon/image.
|
|
6327
|
+
* @member {string} [Icon=undefined]
|
|
6328
|
+
*/
|
|
6329
|
+
Icon?:string;
|
|
6330
|
+
/**
|
|
6331
|
+
* Title.
|
|
6332
|
+
* @member {string} Title
|
|
6333
|
+
*/
|
|
6334
|
+
Title:string;
|
|
6335
|
+
/**
|
|
4572
6336
|
* Title.
|
|
4573
6337
|
* @member {string} Title
|
|
4574
6338
|
*/
|
|
@@ -4579,6 +6343,16 @@ declare namespace Fit
|
|
|
4579
6343
|
*/
|
|
4580
6344
|
Url?:string;
|
|
4581
6345
|
/**
|
|
6346
|
+
* Optional URL to associate with tag.
|
|
6347
|
+
* @member {string} [Url=undefined]
|
|
6348
|
+
*/
|
|
6349
|
+
Url?:string;
|
|
6350
|
+
/**
|
|
6351
|
+
* Unique value.
|
|
6352
|
+
* @member {string} Value
|
|
6353
|
+
*/
|
|
6354
|
+
Value:string;
|
|
6355
|
+
/**
|
|
4582
6356
|
* Unique value.
|
|
4583
6357
|
* @member {string} Value
|
|
4584
6358
|
*/
|
|
@@ -4597,6 +6371,54 @@ declare namespace Fit
|
|
|
4597
6371
|
*/
|
|
4598
6372
|
QueryMarker:string;
|
|
4599
6373
|
/**
|
|
6374
|
+
* Query marker.
|
|
6375
|
+
* @member {string} QueryMarker
|
|
6376
|
+
*/
|
|
6377
|
+
QueryMarker:string;
|
|
6378
|
+
/**
|
|
6379
|
+
* Instance of control.
|
|
6380
|
+
* @member {Fit.Controls.Input} Sender
|
|
6381
|
+
*/
|
|
6382
|
+
Sender:Fit.Controls.Input;
|
|
6383
|
+
/**
|
|
6384
|
+
* Instance of control.
|
|
6385
|
+
* @member {Fit.Controls.Input} Sender
|
|
6386
|
+
*/
|
|
6387
|
+
Sender:Fit.Controls.Input;
|
|
6388
|
+
/**
|
|
6389
|
+
* Tag received from WebService.
|
|
6390
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
|
|
6391
|
+
*/
|
|
6392
|
+
Tag:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag;
|
|
6393
|
+
/**
|
|
6394
|
+
* Tag received from WebService.
|
|
6395
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
|
|
6396
|
+
*/
|
|
6397
|
+
Tag:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag;
|
|
6398
|
+
}
|
|
6399
|
+
/**
|
|
6400
|
+
* TagCreator event arguments.
|
|
6401
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs DesignModeTagsTagCreatorCallbackArgs]
|
|
6402
|
+
*/
|
|
6403
|
+
class DesignModeTagsTagCreatorCallbackArgs
|
|
6404
|
+
{
|
|
6405
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs
|
|
6406
|
+
/**
|
|
6407
|
+
* Query marker.
|
|
6408
|
+
* @member {string} QueryMarker
|
|
6409
|
+
*/
|
|
6410
|
+
QueryMarker:string;
|
|
6411
|
+
/**
|
|
6412
|
+
* Query marker.
|
|
6413
|
+
* @member {string} QueryMarker
|
|
6414
|
+
*/
|
|
6415
|
+
QueryMarker:string;
|
|
6416
|
+
/**
|
|
6417
|
+
* Instance of control.
|
|
6418
|
+
* @member {Fit.Controls.Input} Sender
|
|
6419
|
+
*/
|
|
6420
|
+
Sender:Fit.Controls.Input;
|
|
6421
|
+
/**
|
|
4600
6422
|
* Instance of control.
|
|
4601
6423
|
* @member {Fit.Controls.Input} Sender
|
|
4602
6424
|
*/
|
|
@@ -4606,6 +6428,79 @@ declare namespace Fit
|
|
|
4606
6428
|
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
|
|
4607
6429
|
*/
|
|
4608
6430
|
Tag:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag;
|
|
6431
|
+
/**
|
|
6432
|
+
* Tag received from WebService.
|
|
6433
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
|
|
6434
|
+
*/
|
|
6435
|
+
Tag:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag;
|
|
6436
|
+
}
|
|
6437
|
+
/**
|
|
6438
|
+
* JSON object representing tag to be inserted into editor.
|
|
6439
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType DesignModeTagsTagCreatorReturnType]
|
|
6440
|
+
*/
|
|
6441
|
+
class DesignModeTagsTagCreatorReturnType
|
|
6442
|
+
{
|
|
6443
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType
|
|
6444
|
+
/**
|
|
6445
|
+
* Optional tag context.
|
|
6446
|
+
* @member {string} [Context=undefined]
|
|
6447
|
+
*/
|
|
6448
|
+
Context?:string;
|
|
6449
|
+
/**
|
|
6450
|
+
* Optional tag context.
|
|
6451
|
+
* @member {string} [Context=undefined]
|
|
6452
|
+
*/
|
|
6453
|
+
Context?:string;
|
|
6454
|
+
/**
|
|
6455
|
+
* Optional tag data.
|
|
6456
|
+
* @member {string} [Data=undefined]
|
|
6457
|
+
*/
|
|
6458
|
+
Data?:string;
|
|
6459
|
+
/**
|
|
6460
|
+
* Optional tag data.
|
|
6461
|
+
* @member {string} [Data=undefined]
|
|
6462
|
+
*/
|
|
6463
|
+
Data?:string;
|
|
6464
|
+
/**
|
|
6465
|
+
* Tag title.
|
|
6466
|
+
* @member {string} Title
|
|
6467
|
+
*/
|
|
6468
|
+
Title:string;
|
|
6469
|
+
/**
|
|
6470
|
+
* Tag title.
|
|
6471
|
+
* @member {string} Title
|
|
6472
|
+
*/
|
|
6473
|
+
Title:string;
|
|
6474
|
+
/**
|
|
6475
|
+
* Tag type (marker).
|
|
6476
|
+
* @member {string} Type
|
|
6477
|
+
*/
|
|
6478
|
+
Type:string;
|
|
6479
|
+
/**
|
|
6480
|
+
* Tag type (marker).
|
|
6481
|
+
* @member {string} Type
|
|
6482
|
+
*/
|
|
6483
|
+
Type:string;
|
|
6484
|
+
/**
|
|
6485
|
+
* Optional tag URL.
|
|
6486
|
+
* @member {string} [Url=undefined]
|
|
6487
|
+
*/
|
|
6488
|
+
Url?:string;
|
|
6489
|
+
/**
|
|
6490
|
+
* Optional tag URL.
|
|
6491
|
+
* @member {string} [Url=undefined]
|
|
6492
|
+
*/
|
|
6493
|
+
Url?:string;
|
|
6494
|
+
/**
|
|
6495
|
+
* Tag value (ID).
|
|
6496
|
+
* @member {string} Value
|
|
6497
|
+
*/
|
|
6498
|
+
Value:string;
|
|
6499
|
+
/**
|
|
6500
|
+
* Tag value (ID).
|
|
6501
|
+
* @member {string} Value
|
|
6502
|
+
*/
|
|
6503
|
+
Value:string;
|
|
4609
6504
|
}
|
|
4610
6505
|
/**
|
|
4611
6506
|
* JSON object representing tag to be inserted into editor.
|
|
@@ -4620,11 +6515,26 @@ declare namespace Fit
|
|
|
4620
6515
|
*/
|
|
4621
6516
|
Context?:string;
|
|
4622
6517
|
/**
|
|
6518
|
+
* Optional tag context.
|
|
6519
|
+
* @member {string} [Context=undefined]
|
|
6520
|
+
*/
|
|
6521
|
+
Context?:string;
|
|
6522
|
+
/**
|
|
4623
6523
|
* Optional tag data.
|
|
4624
6524
|
* @member {string} [Data=undefined]
|
|
4625
6525
|
*/
|
|
4626
6526
|
Data?:string;
|
|
4627
6527
|
/**
|
|
6528
|
+
* Optional tag data.
|
|
6529
|
+
* @member {string} [Data=undefined]
|
|
6530
|
+
*/
|
|
6531
|
+
Data?:string;
|
|
6532
|
+
/**
|
|
6533
|
+
* Tag title.
|
|
6534
|
+
* @member {string} Title
|
|
6535
|
+
*/
|
|
6536
|
+
Title:string;
|
|
6537
|
+
/**
|
|
4628
6538
|
* Tag title.
|
|
4629
6539
|
* @member {string} Title
|
|
4630
6540
|
*/
|
|
@@ -4635,6 +6545,16 @@ declare namespace Fit
|
|
|
4635
6545
|
*/
|
|
4636
6546
|
Type:string;
|
|
4637
6547
|
/**
|
|
6548
|
+
* Tag type (marker).
|
|
6549
|
+
* @member {string} Type
|
|
6550
|
+
*/
|
|
6551
|
+
Type:string;
|
|
6552
|
+
/**
|
|
6553
|
+
* Optional tag URL.
|
|
6554
|
+
* @member {string} [Url=undefined]
|
|
6555
|
+
*/
|
|
6556
|
+
Url?:string;
|
|
6557
|
+
/**
|
|
4638
6558
|
* Optional tag URL.
|
|
4639
6559
|
* @member {string} [Url=undefined]
|
|
4640
6560
|
*/
|
|
@@ -4644,6 +6564,11 @@ declare namespace Fit
|
|
|
4644
6564
|
* @member {string} Value
|
|
4645
6565
|
*/
|
|
4646
6566
|
Value:string;
|
|
6567
|
+
/**
|
|
6568
|
+
* Tag value (ID).
|
|
6569
|
+
* @member {string} Value
|
|
6570
|
+
*/
|
|
6571
|
+
Value:string;
|
|
4647
6572
|
}
|
|
4648
6573
|
}
|
|
4649
6574
|
/**
|
|
@@ -8861,10 +10786,41 @@ declare namespace Fit
|
|
|
8861
10786
|
{
|
|
8862
10787
|
/** Do not allow resizing. */
|
|
8863
10788
|
Disabled = "Disabled",
|
|
10789
|
+
/** Do not allow resizing. */
|
|
10790
|
+
Disabled = "Disabled",
|
|
10791
|
+
/** Allow for resizing both vertically and horizontally. */
|
|
10792
|
+
Enabled = "Enabled",
|
|
10793
|
+
/** Allow for resizing both vertically and horizontally. */
|
|
10794
|
+
Enabled = "Enabled",
|
|
10795
|
+
/** Allow for horizontal resizing. */
|
|
10796
|
+
Horizontal = "Horizontal",
|
|
10797
|
+
/** Allow for horizontal resizing. */
|
|
10798
|
+
Horizontal = "Horizontal",
|
|
10799
|
+
/** Allow for vertical resizing. */
|
|
10800
|
+
Vertical = "Vertical",
|
|
10801
|
+
/** Allow for vertical resizing. */
|
|
10802
|
+
Vertical = "Vertical"
|
|
10803
|
+
}
|
|
10804
|
+
/**
|
|
10805
|
+
* Resizing options.
|
|
10806
|
+
* @enum {string}
|
|
10807
|
+
*/
|
|
10808
|
+
enum InputResizing
|
|
10809
|
+
{
|
|
10810
|
+
/** Do not allow resizing. */
|
|
10811
|
+
Disabled = "Disabled",
|
|
10812
|
+
/** Do not allow resizing. */
|
|
10813
|
+
Disabled = "Disabled",
|
|
10814
|
+
/** Allow for resizing both vertically and horizontally. */
|
|
10815
|
+
Enabled = "Enabled",
|
|
8864
10816
|
/** Allow for resizing both vertically and horizontally. */
|
|
8865
10817
|
Enabled = "Enabled",
|
|
8866
10818
|
/** Allow for horizontal resizing. */
|
|
8867
10819
|
Horizontal = "Horizontal",
|
|
10820
|
+
/** Allow for horizontal resizing. */
|
|
10821
|
+
Horizontal = "Horizontal",
|
|
10822
|
+
/** Allow for vertical resizing. */
|
|
10823
|
+
Vertical = "Vertical",
|
|
8868
10824
|
/** Allow for vertical resizing. */
|
|
8869
10825
|
Vertical = "Vertical"
|
|
8870
10826
|
}
|
|
@@ -8876,26 +10832,105 @@ declare namespace Fit
|
|
|
8876
10832
|
{
|
|
8877
10833
|
/** Input control useful for entering a color. */
|
|
8878
10834
|
Color = "Color",
|
|
10835
|
+
/** Input control useful for entering a color. */
|
|
10836
|
+
Color = "Color",
|
|
10837
|
+
/** Input control useful for entering a date. */
|
|
10838
|
+
Date = "Date",
|
|
10839
|
+
/** Input control useful for entering a date. */
|
|
10840
|
+
Date = "Date",
|
|
10841
|
+
/** Input control useful for entering a date and time. */
|
|
10842
|
+
DateTime = "DateTime",
|
|
10843
|
+
/** Input control useful for entering a date and time. */
|
|
10844
|
+
DateTime = "DateTime",
|
|
10845
|
+
/** Input control useful for entering an e-mail address. */
|
|
10846
|
+
Email = "Email",
|
|
10847
|
+
/** Input control useful for entering an e-mail address. */
|
|
10848
|
+
Email = "Email",
|
|
10849
|
+
/** Input control useful for entering a month. */
|
|
10850
|
+
Month = "Month",
|
|
10851
|
+
/** Input control useful for entering a month. */
|
|
10852
|
+
Month = "Month",
|
|
10853
|
+
/** Input control useful for entering a number. */
|
|
10854
|
+
Number = "Number",
|
|
10855
|
+
/** Input control useful for entering a number. */
|
|
10856
|
+
Number = "Number",
|
|
10857
|
+
/** Input control useful for entering a password (characters are masked). */
|
|
10858
|
+
Password = "Password",
|
|
10859
|
+
/** Input control useful for entering a password (characters are masked). */
|
|
10860
|
+
Password = "Password",
|
|
10861
|
+
/** Input control useful for entering a phone number. */
|
|
10862
|
+
PhoneNumber = "PhoneNumber",
|
|
10863
|
+
/** Input control useful for entering a phone number. */
|
|
10864
|
+
PhoneNumber = "PhoneNumber",
|
|
10865
|
+
/** Input control useful for entering ordinary text. */
|
|
10866
|
+
Text = "Text",
|
|
10867
|
+
/** Input control useful for entering ordinary text. */
|
|
10868
|
+
Text = "Text",
|
|
10869
|
+
/** Multi line input field. */
|
|
10870
|
+
Textarea = "Textarea",
|
|
10871
|
+
/** Multi line input field. */
|
|
10872
|
+
Textarea = "Textarea",
|
|
10873
|
+
/** Input control useful for entering time. */
|
|
10874
|
+
Time = "Time",
|
|
10875
|
+
/** Input control useful for entering time. */
|
|
10876
|
+
Time = "Time",
|
|
10877
|
+
/** Input control useful for entering a week number. */
|
|
10878
|
+
Week = "Week",
|
|
10879
|
+
/** Input control useful for entering a week number. */
|
|
10880
|
+
Week = "Week"
|
|
10881
|
+
}
|
|
10882
|
+
/**
|
|
10883
|
+
* Enum values determining input type.
|
|
10884
|
+
* @enum {string}
|
|
10885
|
+
*/
|
|
10886
|
+
enum InputType
|
|
10887
|
+
{
|
|
10888
|
+
/** Input control useful for entering a color. */
|
|
10889
|
+
Color = "Color",
|
|
10890
|
+
/** Input control useful for entering a color. */
|
|
10891
|
+
Color = "Color",
|
|
10892
|
+
/** Input control useful for entering a date. */
|
|
10893
|
+
Date = "Date",
|
|
8879
10894
|
/** Input control useful for entering a date. */
|
|
8880
10895
|
Date = "Date",
|
|
8881
10896
|
/** Input control useful for entering a date and time. */
|
|
8882
10897
|
DateTime = "DateTime",
|
|
10898
|
+
/** Input control useful for entering a date and time. */
|
|
10899
|
+
DateTime = "DateTime",
|
|
10900
|
+
/** Input control useful for entering an e-mail address. */
|
|
10901
|
+
Email = "Email",
|
|
8883
10902
|
/** Input control useful for entering an e-mail address. */
|
|
8884
10903
|
Email = "Email",
|
|
8885
10904
|
/** Input control useful for entering a month. */
|
|
8886
10905
|
Month = "Month",
|
|
10906
|
+
/** Input control useful for entering a month. */
|
|
10907
|
+
Month = "Month",
|
|
10908
|
+
/** Input control useful for entering a number. */
|
|
10909
|
+
Number = "Number",
|
|
8887
10910
|
/** Input control useful for entering a number. */
|
|
8888
10911
|
Number = "Number",
|
|
8889
10912
|
/** Input control useful for entering a password (characters are masked). */
|
|
8890
10913
|
Password = "Password",
|
|
10914
|
+
/** Input control useful for entering a password (characters are masked). */
|
|
10915
|
+
Password = "Password",
|
|
10916
|
+
/** Input control useful for entering a phone number. */
|
|
10917
|
+
PhoneNumber = "PhoneNumber",
|
|
8891
10918
|
/** Input control useful for entering a phone number. */
|
|
8892
10919
|
PhoneNumber = "PhoneNumber",
|
|
8893
10920
|
/** Input control useful for entering ordinary text. */
|
|
8894
10921
|
Text = "Text",
|
|
10922
|
+
/** Input control useful for entering ordinary text. */
|
|
10923
|
+
Text = "Text",
|
|
10924
|
+
/** Multi line input field. */
|
|
10925
|
+
Textarea = "Textarea",
|
|
8895
10926
|
/** Multi line input field. */
|
|
8896
10927
|
Textarea = "Textarea",
|
|
8897
10928
|
/** Input control useful for entering time. */
|
|
8898
10929
|
Time = "Time",
|
|
10930
|
+
/** Input control useful for entering time. */
|
|
10931
|
+
Time = "Time",
|
|
10932
|
+
/** Input control useful for entering a week number. */
|
|
10933
|
+
Week = "Week",
|
|
8899
10934
|
/** Input control useful for entering a week number. */
|
|
8900
10935
|
Week = "Week"
|
|
8901
10936
|
}
|
|
@@ -8925,74 +10960,6 @@ declare namespace Fit
|
|
|
8925
10960
|
{
|
|
8926
10961
|
// Functions defined by Fit.Cookies
|
|
8927
10962
|
/**
|
|
8928
|
-
* Create instance of cookie container isolated to either current path (default)
|
|
8929
|
-
or a custom path, and optionally an alternative part of the domain (by default
|
|
8930
|
-
cookies are available only on the current domain, while defining a domain makes
|
|
8931
|
-
cookies available to that particular domain and subdomains).
|
|
8932
|
-
* @function Cookies
|
|
8933
|
-
*/
|
|
8934
|
-
constructor();
|
|
8935
|
-
/**
|
|
8936
|
-
* Get/set portion of domain to which cookies are isolated.
|
|
8937
|
-
* @function Domain
|
|
8938
|
-
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
8939
|
-
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
8940
|
-
* @returns string | null
|
|
8941
|
-
*/
|
|
8942
|
-
public Domain(val?:string | null):string | null;
|
|
8943
|
-
/**
|
|
8944
|
-
* Returns cookie value if found, otherwise Null.
|
|
8945
|
-
* @function Get
|
|
8946
|
-
* @param {string} name - Unique cookie name.
|
|
8947
|
-
* @returns string | null
|
|
8948
|
-
*/
|
|
8949
|
-
public Get(name:string):string | null;
|
|
8950
|
-
/**
|
|
8951
|
-
* Get/set path to which cookies are isolated.
|
|
8952
|
-
* @function Path
|
|
8953
|
-
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
8954
|
-
* @returns string
|
|
8955
|
-
*/
|
|
8956
|
-
public Path(val?:string):string;
|
|
8957
|
-
/**
|
|
8958
|
-
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
8959
|
-
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
8960
|
-
is completely transparent.
|
|
8961
|
-
* @function Prefix
|
|
8962
|
-
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
8963
|
-
* @returns string | null
|
|
8964
|
-
*/
|
|
8965
|
-
public Prefix(val?:string):string | null;
|
|
8966
|
-
/**
|
|
8967
|
-
* Remove cookie.
|
|
8968
|
-
* @function Remove
|
|
8969
|
-
* @param {string} name - Unique cookie name.
|
|
8970
|
-
*/
|
|
8971
|
-
public Remove(name:string):void;
|
|
8972
|
-
/**
|
|
8973
|
-
* Get/set SameSite policy.
|
|
8974
|
-
* @function SameSite
|
|
8975
|
-
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
8976
|
-
* @returns string | null
|
|
8977
|
-
*/
|
|
8978
|
-
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
8979
|
-
/**
|
|
8980
|
-
* Get/set Secure flag.
|
|
8981
|
-
* @function Secure
|
|
8982
|
-
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
8983
|
-
* @returns boolean
|
|
8984
|
-
*/
|
|
8985
|
-
public Secure(val?:boolean):boolean;
|
|
8986
|
-
/**
|
|
8987
|
-
* Create or update cookie.
|
|
8988
|
-
* @function Set
|
|
8989
|
-
* @param {string} name - Unique cookie name.
|
|
8990
|
-
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
8991
|
-
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
8992
|
-
no expiration time will cause it to expire when session ends.
|
|
8993
|
-
*/
|
|
8994
|
-
public Set(name:string, value:string, seconds?:number):void;
|
|
8995
|
-
/**
|
|
8996
10963
|
* Returns cookie value if found, otherwise Null.
|
|
8997
10964
|
* @function Get
|
|
8998
10965
|
* @static
|
|
@@ -9062,6 +11029,74 @@ declare namespace Fit
|
|
|
9062
11029
|
* @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
|
|
9063
11030
|
*/
|
|
9064
11031
|
public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
|
|
11032
|
+
/**
|
|
11033
|
+
* Create instance of cookie container isolated to either current path (default)
|
|
11034
|
+
or a custom path, and optionally an alternative part of the domain (by default
|
|
11035
|
+
cookies are available only on the current domain, while defining a domain makes
|
|
11036
|
+
cookies available to that particular domain and subdomains).
|
|
11037
|
+
* @function Cookies
|
|
11038
|
+
*/
|
|
11039
|
+
constructor();
|
|
11040
|
+
/**
|
|
11041
|
+
* Get/set portion of domain to which cookies are isolated.
|
|
11042
|
+
* @function Domain
|
|
11043
|
+
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
11044
|
+
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
11045
|
+
* @returns string | null
|
|
11046
|
+
*/
|
|
11047
|
+
public Domain(val?:string | null):string | null;
|
|
11048
|
+
/**
|
|
11049
|
+
* Returns cookie value if found, otherwise Null.
|
|
11050
|
+
* @function Get
|
|
11051
|
+
* @param {string} name - Unique cookie name.
|
|
11052
|
+
* @returns string | null
|
|
11053
|
+
*/
|
|
11054
|
+
public Get(name:string):string | null;
|
|
11055
|
+
/**
|
|
11056
|
+
* Get/set path to which cookies are isolated.
|
|
11057
|
+
* @function Path
|
|
11058
|
+
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
11059
|
+
* @returns string
|
|
11060
|
+
*/
|
|
11061
|
+
public Path(val?:string):string;
|
|
11062
|
+
/**
|
|
11063
|
+
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
11064
|
+
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
11065
|
+
is completely transparent.
|
|
11066
|
+
* @function Prefix
|
|
11067
|
+
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
11068
|
+
* @returns string | null
|
|
11069
|
+
*/
|
|
11070
|
+
public Prefix(val?:string):string | null;
|
|
11071
|
+
/**
|
|
11072
|
+
* Remove cookie.
|
|
11073
|
+
* @function Remove
|
|
11074
|
+
* @param {string} name - Unique cookie name.
|
|
11075
|
+
*/
|
|
11076
|
+
public Remove(name:string):void;
|
|
11077
|
+
/**
|
|
11078
|
+
* Get/set SameSite policy.
|
|
11079
|
+
* @function SameSite
|
|
11080
|
+
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
11081
|
+
* @returns string | null
|
|
11082
|
+
*/
|
|
11083
|
+
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
11084
|
+
/**
|
|
11085
|
+
* Get/set Secure flag.
|
|
11086
|
+
* @function Secure
|
|
11087
|
+
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
11088
|
+
* @returns boolean
|
|
11089
|
+
*/
|
|
11090
|
+
public Secure(val?:boolean):boolean;
|
|
11091
|
+
/**
|
|
11092
|
+
* Create or update cookie.
|
|
11093
|
+
* @function Set
|
|
11094
|
+
* @param {string} name - Unique cookie name.
|
|
11095
|
+
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
11096
|
+
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
11097
|
+
no expiration time will cause it to expire when session ends.
|
|
11098
|
+
*/
|
|
11099
|
+
public Set(name:string, value:string, seconds?:number):void;
|
|
9065
11100
|
}
|
|
9066
11101
|
/**
|
|
9067
11102
|
* Core features extending the capabilities of native JS.
|
|
@@ -11063,6 +13098,80 @@ declare namespace Fit
|
|
|
11063
13098
|
* @static
|
|
11064
13099
|
*/
|
|
11065
13100
|
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13101
|
+
/**
|
|
13102
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13103
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13104
|
+
* @static
|
|
13105
|
+
*/
|
|
13106
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13107
|
+
}
|
|
13108
|
+
/**
|
|
13109
|
+
* Internal settings related to HTML Editor (Design Mode).
|
|
13110
|
+
* @class [Fit._internal.Controls.Input.Editor Editor]
|
|
13111
|
+
*/
|
|
13112
|
+
class Editor
|
|
13113
|
+
{
|
|
13114
|
+
// Properties defined by Fit._internal.Controls.Input.Editor
|
|
13115
|
+
/**
|
|
13116
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13117
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13118
|
+
* @static
|
|
13119
|
+
*/
|
|
13120
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13121
|
+
/**
|
|
13122
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13123
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13124
|
+
* @static
|
|
13125
|
+
*/
|
|
13126
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13127
|
+
}
|
|
13128
|
+
}
|
|
13129
|
+
/**
|
|
13130
|
+
* Allows for manipulating control (appearance, features, and behaviour).
|
|
13131
|
+
Features are NOT guaranteed to be backward compatible, and incorrect use might break control!.
|
|
13132
|
+
* @namespace [Fit._internal.Controls.Input Input]
|
|
13133
|
+
*/
|
|
13134
|
+
namespace Input
|
|
13135
|
+
{
|
|
13136
|
+
/**
|
|
13137
|
+
* Internal settings related to HTML Editor (Design Mode).
|
|
13138
|
+
* @class [Fit._internal.Controls.Input.Editor Editor]
|
|
13139
|
+
*/
|
|
13140
|
+
class Editor
|
|
13141
|
+
{
|
|
13142
|
+
// Properties defined by Fit._internal.Controls.Input.Editor
|
|
13143
|
+
/**
|
|
13144
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13145
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13146
|
+
* @static
|
|
13147
|
+
*/
|
|
13148
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13149
|
+
/**
|
|
13150
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13151
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13152
|
+
* @static
|
|
13153
|
+
*/
|
|
13154
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13155
|
+
}
|
|
13156
|
+
/**
|
|
13157
|
+
* Internal settings related to HTML Editor (Design Mode).
|
|
13158
|
+
* @class [Fit._internal.Controls.Input.Editor Editor]
|
|
13159
|
+
*/
|
|
13160
|
+
class Editor
|
|
13161
|
+
{
|
|
13162
|
+
// Properties defined by Fit._internal.Controls.Input.Editor
|
|
13163
|
+
/**
|
|
13164
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13165
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13166
|
+
* @static
|
|
13167
|
+
*/
|
|
13168
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
13169
|
+
/**
|
|
13170
|
+
* Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
|
|
13171
|
+
* @member {'bootstrapck' | 'moono-lisa' | null} Skin
|
|
13172
|
+
* @static
|
|
13173
|
+
*/
|
|
13174
|
+
static Skin:'bootstrapck' | 'moono-lisa' | null;
|
|
11066
13175
|
}
|
|
11067
13176
|
}
|
|
11068
13177
|
}
|
|
@@ -11539,6 +13648,14 @@ declare namespace Fit
|
|
|
11539
13648
|
* @function Reset
|
|
11540
13649
|
*/
|
|
11541
13650
|
public Reset():void;
|
|
13651
|
+
/**
|
|
13652
|
+
* Get/set flag indicating whether focus is returned/restored after drag operation.
|
|
13653
|
+
* @function ReturnFocus
|
|
13654
|
+
* @param {boolean} [val=undefined] - A value of True causes draggable to return focus to previously
|
|
13655
|
+
focused element when drag operation is completed - defaults to False.
|
|
13656
|
+
* @returns boolean
|
|
13657
|
+
*/
|
|
13658
|
+
public ReturnFocus(val?:boolean):boolean;
|
|
11542
13659
|
}
|
|
11543
13660
|
/**
|
|
11544
13661
|
*
|
|
@@ -11685,9 +13802,9 @@ declare namespace Fit
|
|
|
11685
13802
|
// Properties defined by Fit.EventTypeDefs.PointerState
|
|
11686
13803
|
/**
|
|
11687
13804
|
* Pointer buttons currently activated.
|
|
11688
|
-
* @member {{ Primary: boolean, Secondary: boolean }} Buttons
|
|
13805
|
+
* @member {{ Primary: boolean, Secondary: boolean, Touch: boolean, Target: HTMLElement | null }} Buttons
|
|
11689
13806
|
*/
|
|
11690
|
-
Buttons:{ Primary: boolean, Secondary: boolean };
|
|
13807
|
+
Buttons:{ Primary: boolean, Secondary: boolean, Touch: boolean, Target: HTMLElement | null };
|
|
11691
13808
|
/**
|
|
11692
13809
|
* Pointer position within viewport and document, which might have been scrolled.
|
|
11693
13810
|
* @member {{ ViewPort: Fit.TypeDefs.Position, Document: Fit.TypeDefs.Position }} Coordinates
|