fit-ui 2.8.4 → 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/Controls/Input/maximize-highres.png +0 -0
- package/dist/Controls/Input/maximize.png +0 -0
- package/dist/Documentation.html +3 -3
- package/dist/Fit.UI.css +591 -17
- package/dist/Fit.UI.js +5301 -242
- package/dist/Fit.UI.min.css +2 -2
- package/dist/Fit.UI.min.js +1 -1
- package/dist/Resources/CKEditor/plugins/custombuttons/plugin.js +34 -0
- package/dist/Resources/CKEditor-with-maximize-button/CHANGES.md +2148 -0
- package/dist/Resources/CKEditor-with-maximize-button/LICENSE.md +1436 -0
- package/dist/Resources/CKEditor-with-maximize-button/README-FitUiChanges.txt +8 -0
- package/dist/Resources/CKEditor-with-maximize-button/README.md +39 -0
- package/dist/Resources/CKEditor-with-maximize-button/adapters/jquery.js +10 -0
- package/dist/Resources/CKEditor-with-maximize-button/build-config.js +79 -0
- package/dist/Resources/CKEditor-with-maximize-button/ckeditor.js +987 -0
- package/dist/Resources/CKEditor-with-maximize-button/config.js +34 -0
- package/dist/Resources/CKEditor-with-maximize-button/contents.css +208 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/da.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/de.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/en.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/autocomplete/skins/default.css +38 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/LICENSE.md +1244 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/README.md +21 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.js +766 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.original.js +503 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/base64image.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/hidpi/base64image.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/da.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/de.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/en.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/plugin.js +58 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64imagepaste/plugin.js +91 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/clipboard/dialogs/paste.js +11 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/icons/custombuttons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/plugin.js +99 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/dialogDefinition.js +4 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/styles/dialog.css +18 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/LICENSE +19 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/_source.css +85 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/package.json +19 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/plugin.js +395 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/readme.md +35 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.svg +58 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/emoji.json +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/skins/default.css +237 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/anchor.js +8 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/link.js +30 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/anchor.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/hidpi/anchor.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastefromword/filter/default.js +42 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/common.js +24 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/image.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie7.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie8.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_iequirks.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_opera.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_gecko.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie7.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie8.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_iequirks.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/arrow.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/readme.md +35 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/skin.js +10 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie8.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_iequirks.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_gecko.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie8.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_iequirks.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/arrow.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/spinner.gif +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/readme.md +46 -0
- package/dist/Resources/CKEditor-with-maximize-button/styles.js +137 -0
- package/dist/Resources/CKEditor-with-maximize-button/vendor/promise.js +13 -0
- package/package.json +1 -1
- package/types/index.d.ts +2549 -298
- package/dist/Resources/ckeditor_4.17.2_6f06412961d8.zip +0 -0
package/types/index.d.ts
CHANGED
|
@@ -823,7 +823,7 @@ declare namespace Fit
|
|
|
823
823
|
*/
|
|
824
824
|
public static GetViewPortDimensions(includeScrollbars?:boolean):Fit.TypeDefs.Dimension;
|
|
825
825
|
/**
|
|
826
|
-
* Returns value indicating whether
|
|
826
|
+
* Returns value indicating whether device is a mobile device or not.
|
|
827
827
|
* @function IsMobile
|
|
828
828
|
* @static
|
|
829
829
|
* @param {boolean} [includeTablets=true] - Value indicating whether tablets are considered mobile devices or not.
|
|
@@ -838,6 +838,13 @@ declare namespace Fit
|
|
|
838
838
|
*/
|
|
839
839
|
public static IsStorageSupported():boolean;
|
|
840
840
|
/**
|
|
841
|
+
* Returns value indicating whether device is touch enabled or not.
|
|
842
|
+
* @function IsTouchEnabled
|
|
843
|
+
* @static
|
|
844
|
+
* @returns boolean
|
|
845
|
+
*/
|
|
846
|
+
public static IsTouchEnabled():boolean;
|
|
847
|
+
/**
|
|
841
848
|
* Log message or object.
|
|
842
849
|
* @function Log
|
|
843
850
|
* @static
|
|
@@ -1020,6 +1027,13 @@ declare namespace Fit
|
|
|
1020
1027
|
*/
|
|
1021
1028
|
public OnClick(cb:Fit.Controls.ButtonTypeDefs.ClickEventHandler):void;
|
|
1022
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
|
+
/**
|
|
1023
1037
|
* Get/set button title.
|
|
1024
1038
|
* @function Title
|
|
1025
1039
|
* @param {string} [val=undefined] - If specified, button title will be set to specified value.
|
|
@@ -2392,6 +2406,11 @@ declare namespace Fit
|
|
|
2392
2406
|
*/
|
|
2393
2407
|
public AddButton(btn:Fit.Controls.Button):void;
|
|
2394
2408
|
/**
|
|
2409
|
+
* Bring draggable dialog to front.
|
|
2410
|
+
* @function BringToFront
|
|
2411
|
+
*/
|
|
2412
|
+
public BringToFront():void;
|
|
2413
|
+
/**
|
|
2395
2414
|
* Close dialog.
|
|
2396
2415
|
* @function Close
|
|
2397
2416
|
*/
|
|
@@ -2427,6 +2446,13 @@ declare namespace Fit
|
|
|
2427
2446
|
*/
|
|
2428
2447
|
public Dismissible(val?:boolean, disposeOnDismiss?:boolean):boolean;
|
|
2429
2448
|
/**
|
|
2449
|
+
* Get/set flag indicating whether dialog can be moved around on screen.
|
|
2450
|
+
* @function Draggable
|
|
2451
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables dragging, False disables it (default).
|
|
2452
|
+
* @returns boolean
|
|
2453
|
+
*/
|
|
2454
|
+
public Draggable(val?:boolean):boolean;
|
|
2455
|
+
/**
|
|
2430
2456
|
* Get dialog content element.
|
|
2431
2457
|
* @function GetContentDomElement
|
|
2432
2458
|
* @returns HTMLElement
|
|
@@ -2539,6 +2565,13 @@ declare namespace Fit
|
|
|
2539
2565
|
*/
|
|
2540
2566
|
public RemoveButton(btn:Fit.Controls.Button, dispose?:boolean):void;
|
|
2541
2567
|
/**
|
|
2568
|
+
* Get/set flag indicating whether dialog can be resized by the user.
|
|
2569
|
+
* @function Resizable
|
|
2570
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables resizing, False disables it (default).
|
|
2571
|
+
* @returns boolean
|
|
2572
|
+
*/
|
|
2573
|
+
public Resizable(val?:boolean):boolean;
|
|
2574
|
+
/**
|
|
2542
2575
|
* Get/set title - returns null if not set, and null can be passed to remove title.
|
|
2543
2576
|
* @function Title
|
|
2544
2577
|
* @param {string | null} [val=undefined] - If specified, dialog title is updated with specified value.
|
|
@@ -3777,6 +3810,22 @@ declare namespace Fit
|
|
|
3777
3810
|
*/
|
|
3778
3811
|
public CheckSpelling(val?:boolean):boolean;
|
|
3779
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
|
+
/**
|
|
3780
3829
|
* Get/set number of milliseconds used to postpone onchange event.
|
|
3781
3830
|
Every new keystroke/change resets the timer. Debouncing can
|
|
3782
3831
|
improve performance when working with large amounts of data.
|
|
@@ -3795,6 +3844,21 @@ declare namespace Fit
|
|
|
3795
3844
|
*/
|
|
3796
3845
|
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
3797
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
|
+
/**
|
|
3856
|
+
* Create instance of Input control.
|
|
3857
|
+
* @function Input
|
|
3858
|
+
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
3859
|
+
*/
|
|
3860
|
+
constructor(ctlId?:string);
|
|
3861
|
+
/**
|
|
3798
3862
|
* Create instance of Input control.
|
|
3799
3863
|
* @function Input
|
|
3800
3864
|
* @param {string} [ctlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
|
|
@@ -3812,6 +3876,24 @@ declare namespace Fit
|
|
|
3812
3876
|
*/
|
|
3813
3877
|
public Maximizable(val?:boolean, heightMax?:number):boolean;
|
|
3814
3878
|
/**
|
|
3879
|
+
* Get/set value indicating whether control is maximizable.
|
|
3880
|
+
Making control maximizable will disable Resizable.
|
|
3881
|
+
* @function Maximizable
|
|
3882
|
+
* @param {boolean} [val=undefined] - If defined, True enables maximize button, False disables it.
|
|
3883
|
+
* @param {number} [heightMax=undefined] - If defined, this becomes the height of the input control when maximized.
|
|
3884
|
+
The value is considered the same unit set using Height(..) which defaults to px.
|
|
3885
|
+
If not set, the value assumes twice the height set using Height(..).
|
|
3886
|
+
* @returns boolean
|
|
3887
|
+
*/
|
|
3888
|
+
public Maximizable(val?:boolean, heightMax?:number):boolean;
|
|
3889
|
+
/**
|
|
3890
|
+
* Get/set value indicating whether control is maximized.
|
|
3891
|
+
* @function Maximized
|
|
3892
|
+
* @param {boolean} [val=undefined] - If defined, True maximizes control, False minimizes it.
|
|
3893
|
+
* @returns boolean
|
|
3894
|
+
*/
|
|
3895
|
+
public Maximized(val?:boolean):boolean;
|
|
3896
|
+
/**
|
|
3815
3897
|
* Get/set value indicating whether control is maximized.
|
|
3816
3898
|
* @function Maximized
|
|
3817
3899
|
* @param {boolean} [val=undefined] - If defined, True maximizes control, False minimizes it.
|
|
@@ -3826,6 +3908,20 @@ declare namespace Fit
|
|
|
3826
3908
|
*/
|
|
3827
3909
|
public MultiLine(val?:boolean):boolean;
|
|
3828
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
|
+
/**
|
|
3829
3925
|
* Get/set value used as a placeholder to indicate expected input on supported browsers.
|
|
3830
3926
|
* @function Placeholder
|
|
3831
3927
|
* @param {string} [val=undefined] - If defined, value is set as placeholder.
|
|
@@ -3836,17 +3932,32 @@ declare namespace Fit
|
|
|
3836
3932
|
* Get/set value indicating whether control is resizable on supported
|
|
3837
3933
|
(modern) browsers. Making control resizable will disable Maximizable.
|
|
3838
3934
|
* @function Resizable
|
|
3839
|
-
* @param {Fit.Controls.InputResizing | "Disabled" | "Enabled" | "Horizontal" | "Vertical"} [val=undefined] - If defined, determines whether control resizes, and in what direction(s).
|
|
3840
|
-
* @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"
|
|
3841
3937
|
*/
|
|
3842
|
-
public Resizable(val?:Fit.Controls.InputResizing | "Disabled" | "Enabled" | "Horizontal" | "Vertical"):Fit.Controls.InputResizing | "Disabled" | "Enabled" | "Horizontal" | "Vertical";
|
|
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"
|
|
3952
|
+
*/
|
|
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";
|
|
3843
3954
|
/**
|
|
3844
3955
|
* Get/set input type (e.g. Text, Password, Email, etc.).
|
|
3845
3956
|
* @function Type
|
|
3846
|
-
* @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.
|
|
3847
|
-
* @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"
|
|
3848
3959
|
*/
|
|
3849
|
-
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";
|
|
3850
3961
|
// Functions defined by Fit.Controls.ControlBase
|
|
3851
3962
|
/**
|
|
3852
3963
|
* Add CSS class to DOMElement representing control.
|
|
@@ -4098,415 +4209,2298 @@ declare namespace Fit
|
|
|
4098
4209
|
public Render(toElement?:HTMLElement):void;
|
|
4099
4210
|
}
|
|
4100
4211
|
/**
|
|
4101
|
-
*
|
|
4102
|
-
|
|
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]
|
|
4103
4216
|
*/
|
|
4104
|
-
|
|
4217
|
+
class Input
|
|
4105
4218
|
{
|
|
4106
|
-
// Functions defined by Fit.Controls.
|
|
4219
|
+
// Functions defined by Fit.Controls.Input
|
|
4107
4220
|
/**
|
|
4108
|
-
*
|
|
4109
|
-
* @
|
|
4110
|
-
* @param {
|
|
4111
|
-
* @
|
|
4112
|
-
* @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
|
|
4113
4225
|
*/
|
|
4114
|
-
|
|
4226
|
+
public CheckSpelling(val?:boolean):boolean;
|
|
4115
4227
|
/**
|
|
4116
|
-
*
|
|
4117
|
-
* @
|
|
4118
|
-
* @param {
|
|
4119
|
-
* @
|
|
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
|
|
4120
4232
|
*/
|
|
4121
|
-
|
|
4233
|
+
public CheckSpelling(val?:boolean):boolean;
|
|
4122
4234
|
/**
|
|
4123
|
-
*
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
* @
|
|
4127
|
-
* @param {
|
|
4128
|
-
* @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
|
|
4129
4241
|
*/
|
|
4130
|
-
|
|
4242
|
+
public DebounceOnChange(timeout:number):number;
|
|
4131
4243
|
/**
|
|
4132
|
-
*
|
|
4133
|
-
|
|
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
|
|
4134
4250
|
*/
|
|
4135
|
-
|
|
4136
|
-
{
|
|
4137
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeAutoGrow
|
|
4138
|
-
/**
|
|
4139
|
-
* Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set.
|
|
4140
|
-
* @member {boolean} Enabled
|
|
4141
|
-
*/
|
|
4142
|
-
Enabled:boolean;
|
|
4143
|
-
/**
|
|
4144
|
-
* Maximum height of editable area.
|
|
4145
|
-
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4146
|
-
*/
|
|
4147
|
-
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4148
|
-
/**
|
|
4149
|
-
* Minimum height of editable area.
|
|
4150
|
-
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4151
|
-
*/
|
|
4152
|
-
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4153
|
-
/**
|
|
4154
|
-
* Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False).
|
|
4155
|
-
* @member {boolean} [PreventResizeBeyondMaximumHeight=undefined]
|
|
4156
|
-
*/
|
|
4157
|
-
PreventResizeBeyondMaximumHeight?:boolean;
|
|
4158
|
-
}
|
|
4251
|
+
public DebounceOnChange(timeout:number):number;
|
|
4159
4252
|
/**
|
|
4160
|
-
*
|
|
4161
|
-
|
|
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
|
|
4162
4259
|
*/
|
|
4163
|
-
|
|
4164
|
-
{
|
|
4165
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfig
|
|
4166
|
-
/**
|
|
4167
|
-
* Auto grow configuration.
|
|
4168
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeAutoGrow} [AutoGrow=undefined]
|
|
4169
|
-
*/
|
|
4170
|
-
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4171
|
-
/**
|
|
4172
|
-
* Information panel configuration.
|
|
4173
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4174
|
-
*/
|
|
4175
|
-
InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
|
|
4176
|
-
/**
|
|
4177
|
-
* Plugins configuration.
|
|
4178
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
|
|
4179
|
-
*/
|
|
4180
|
-
Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
|
|
4181
|
-
/**
|
|
4182
|
-
* Tags configuration.
|
|
4183
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
|
|
4184
|
-
*/
|
|
4185
|
-
Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
|
|
4186
|
-
/**
|
|
4187
|
-
* Toolbar configuration.
|
|
4188
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
|
|
4189
|
-
*/
|
|
4190
|
-
Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
|
|
4191
|
-
}
|
|
4260
|
+
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
4192
4261
|
/**
|
|
4193
|
-
*
|
|
4194
|
-
|
|
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
|
|
4195
4268
|
*/
|
|
4196
|
-
|
|
4197
|
-
{
|
|
4198
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel
|
|
4199
|
-
/**
|
|
4200
|
-
* Text alignment - defaults to Center.
|
|
4201
|
-
* @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
|
|
4202
|
-
*/
|
|
4203
|
-
Alignment?:'Left' | 'Center' | 'Right';
|
|
4204
|
-
/**
|
|
4205
|
-
* Text to display.
|
|
4206
|
-
* @member {string} [Text=undefined]
|
|
4207
|
-
*/
|
|
4208
|
-
Text?:string;
|
|
4209
|
-
}
|
|
4269
|
+
public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
|
|
4210
4270
|
/**
|
|
4211
|
-
*
|
|
4212
|
-
* @
|
|
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(..).
|
|
4213
4274
|
*/
|
|
4214
|
-
|
|
4215
|
-
{
|
|
4216
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPlugins
|
|
4217
|
-
/**
|
|
4218
|
-
* Plugin(s) related to emoji support (defaults to False).
|
|
4219
|
-
* @member {boolean} [Emojis=undefined]
|
|
4220
|
-
*/
|
|
4221
|
-
Emojis?:boolean;
|
|
4222
|
-
/**
|
|
4223
|
-
* Plugin(s) related to support for images (defaults to False).
|
|
4224
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
|
|
4225
|
-
*/
|
|
4226
|
-
Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
|
|
4227
|
-
}
|
|
4275
|
+
constructor(ctlId?:string);
|
|
4228
4276
|
/**
|
|
4229
|
-
*
|
|
4230
|
-
* @
|
|
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(..).
|
|
4231
4280
|
*/
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
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
|
+
}
|
|
4953
|
+
/**
|
|
4954
|
+
* Information panel at the top or bottom of the editor, depending on the location of the toolbar.
|
|
4955
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel DesignModeConfigInfoPanel]
|
|
4956
|
+
*/
|
|
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
|
|
5590
|
+
{
|
|
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" };
|
|
5765
|
+
/**
|
|
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]
|
|
5768
|
+
*/
|
|
5769
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5770
|
+
/**
|
|
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]
|
|
5773
|
+
*/
|
|
5774
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5775
|
+
/**
|
|
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]
|
|
5778
|
+
*/
|
|
5779
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5780
|
+
/**
|
|
5781
|
+
* Flag indicating whether dialog is resizable.
|
|
5782
|
+
* @member {boolean} [Resizable=undefined]
|
|
5783
|
+
*/
|
|
5784
|
+
Resizable?:boolean;
|
|
5785
|
+
/**
|
|
5786
|
+
* Flag indicating whether dialog is resizable.
|
|
5787
|
+
* @member {boolean} [Resizable=undefined]
|
|
5788
|
+
*/
|
|
5789
|
+
Resizable?:boolean;
|
|
5790
|
+
/**
|
|
5791
|
+
* Dialog title.
|
|
5792
|
+
* @member {string} [Title=undefined]
|
|
5793
|
+
*/
|
|
5794
|
+
Title?:string;
|
|
5795
|
+
/**
|
|
5796
|
+
* Dialog title.
|
|
5797
|
+
* @member {string} [Title=undefined]
|
|
5798
|
+
*/
|
|
5799
|
+
Title?:string;
|
|
5800
|
+
/**
|
|
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]
|
|
5803
|
+
*/
|
|
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" };
|
|
5810
|
+
}
|
|
5811
|
+
/**
|
|
5812
|
+
* Detachable configuration.
|
|
5813
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDetachable DesignModeDetachable]
|
|
5814
|
+
*/
|
|
5815
|
+
class DesignModeDetachable
|
|
5816
|
+
{
|
|
5817
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
5818
|
+
/**
|
|
5819
|
+
* Flag indicating whether dialog is draggable.
|
|
5820
|
+
* @member {boolean} [Draggable=undefined]
|
|
5821
|
+
*/
|
|
5822
|
+
Draggable?:boolean;
|
|
5823
|
+
/**
|
|
5824
|
+
* Flag indicating whether dialog is draggable.
|
|
5825
|
+
* @member {boolean} [Draggable=undefined]
|
|
5826
|
+
*/
|
|
5827
|
+
Draggable?:boolean;
|
|
5828
|
+
/**
|
|
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]
|
|
5831
|
+
*/
|
|
5832
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5833
|
+
/**
|
|
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]
|
|
5836
|
+
*/
|
|
5837
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5838
|
+
/**
|
|
5839
|
+
* Flag indicating whether dialog is maximizable.
|
|
5840
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5841
|
+
*/
|
|
5842
|
+
Maximizable?:boolean;
|
|
5843
|
+
/**
|
|
5844
|
+
* Flag indicating whether dialog is maximizable.
|
|
5845
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5846
|
+
*/
|
|
5847
|
+
Maximizable?:boolean;
|
|
5848
|
+
/**
|
|
5849
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5850
|
+
* @member {boolean} [Maximized=undefined]
|
|
5851
|
+
*/
|
|
5852
|
+
Maximized?:boolean;
|
|
5853
|
+
/**
|
|
5854
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5855
|
+
* @member {boolean} [Maximized=undefined]
|
|
5856
|
+
*/
|
|
5857
|
+
Maximized?:boolean;
|
|
5858
|
+
/**
|
|
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]
|
|
5861
|
+
*/
|
|
5862
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5863
|
+
/**
|
|
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]
|
|
5866
|
+
*/
|
|
5867
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5868
|
+
/**
|
|
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]
|
|
5871
|
+
*/
|
|
5872
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5873
|
+
/**
|
|
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]
|
|
5876
|
+
*/
|
|
5877
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5878
|
+
/**
|
|
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]
|
|
5881
|
+
*/
|
|
5882
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5883
|
+
/**
|
|
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]
|
|
5886
|
+
*/
|
|
5887
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5888
|
+
/**
|
|
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]
|
|
5891
|
+
*/
|
|
5892
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5893
|
+
/**
|
|
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]
|
|
5896
|
+
*/
|
|
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" };
|
|
5923
|
+
/**
|
|
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]
|
|
5926
|
+
*/
|
|
5927
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5928
|
+
}
|
|
5929
|
+
/**
|
|
5930
|
+
* DialogMode configuration.
|
|
5931
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDialogMode DesignModeDialogMode]
|
|
5932
|
+
*/
|
|
5933
|
+
class DesignModeDialogMode
|
|
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;
|
|
5941
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
5942
|
+
/**
|
|
5943
|
+
* Flag indicating whether dialog is draggable.
|
|
5944
|
+
* @member {boolean} [Draggable=undefined]
|
|
5945
|
+
*/
|
|
5946
|
+
Draggable?:boolean;
|
|
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
|
+
/**
|
|
5958
|
+
* Dialog height.
|
|
5959
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
5960
|
+
*/
|
|
5961
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
5962
|
+
/**
|
|
5963
|
+
* Flag indicating whether dialog is maximizable.
|
|
5964
|
+
* @member {boolean} [Maximizable=undefined]
|
|
5965
|
+
*/
|
|
5966
|
+
Maximizable?:boolean;
|
|
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
|
+
/**
|
|
5978
|
+
* Flag indicating whether dialog is initially maximized.
|
|
5979
|
+
* @member {boolean} [Maximized=undefined]
|
|
5980
|
+
*/
|
|
5981
|
+
Maximized?:boolean;
|
|
5982
|
+
/**
|
|
5983
|
+
* Maximum height of dialog.
|
|
5984
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
5985
|
+
*/
|
|
5986
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
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
|
+
/**
|
|
5998
|
+
* Maximum Width of dialog.
|
|
5999
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
6000
|
+
*/
|
|
6001
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
6002
|
+
/**
|
|
6003
|
+
* Minimum height of dialog.
|
|
6004
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
6005
|
+
*/
|
|
6006
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
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" };
|
|
4235
6012
|
/**
|
|
4236
|
-
*
|
|
4237
|
-
|
|
4238
|
-
References to blobs can be parsed from the HTML value produced by the editor.
|
|
4239
|
-
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
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]
|
|
4240
6015
|
*/
|
|
4241
|
-
|
|
6016
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4242
6017
|
/**
|
|
4243
|
-
*
|
|
4244
|
-
* @member {
|
|
6018
|
+
* Minimum width of dialog.
|
|
6019
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4245
6020
|
*/
|
|
4246
|
-
|
|
6021
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4247
6022
|
/**
|
|
4248
|
-
*
|
|
4249
|
-
|
|
4250
|
-
If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
|
|
4251
|
-
disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
|
|
4252
|
-
* @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
|
|
6023
|
+
* Flag indicating whether dialog is resizable.
|
|
6024
|
+
* @member {boolean} [Resizable=undefined]
|
|
4253
6025
|
*/
|
|
4254
|
-
|
|
6026
|
+
Resizable?:boolean;
|
|
4255
6027
|
/**
|
|
4256
|
-
*
|
|
4257
|
-
|
|
4258
|
-
function when control is disposed. Basically ownership of these blobs are handed
|
|
4259
|
-
over to the control for the duration of its life time.
|
|
4260
|
-
These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
|
|
4261
|
-
Defaults to False.
|
|
4262
|
-
* @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
|
|
6028
|
+
* Flag indicating whether dialog is resizable.
|
|
6029
|
+
* @member {boolean} [Resizable=undefined]
|
|
4263
6030
|
*/
|
|
4264
|
-
|
|
6031
|
+
Resizable?:boolean;
|
|
6032
|
+
/**
|
|
6033
|
+
* Dialog title.
|
|
6034
|
+
* @member {string} [Title=undefined]
|
|
6035
|
+
*/
|
|
6036
|
+
Title?:string;
|
|
6037
|
+
/**
|
|
6038
|
+
* Dialog title.
|
|
6039
|
+
* @member {string} [Title=undefined]
|
|
6040
|
+
*/
|
|
6041
|
+
Title?:string;
|
|
6042
|
+
/**
|
|
6043
|
+
* Dialog width.
|
|
6044
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
6045
|
+
*/
|
|
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" };
|
|
4265
6052
|
}
|
|
4266
6053
|
/**
|
|
4267
|
-
*
|
|
4268
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
6054
|
+
* Request handler event arguments.
|
|
6055
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
|
|
4269
6056
|
*/
|
|
4270
|
-
class
|
|
6057
|
+
class DesignModeTagsOnRequestEventHandlerArgs
|
|
4271
6058
|
{
|
|
4272
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
6059
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs
|
|
4273
6060
|
/**
|
|
4274
|
-
*
|
|
4275
|
-
* @member {string}
|
|
6061
|
+
* Query information.
|
|
6062
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
4276
6063
|
*/
|
|
4277
|
-
|
|
6064
|
+
Query:{ Marker: string, Query: string };
|
|
4278
6065
|
/**
|
|
4279
|
-
*
|
|
4280
|
-
* @member {
|
|
6066
|
+
* Query information.
|
|
6067
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
4281
6068
|
*/
|
|
4282
|
-
|
|
6069
|
+
Query:{ Marker: string, Query: string };
|
|
4283
6070
|
/**
|
|
4284
|
-
*
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
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;
|
|
6090
|
+
}
|
|
6091
|
+
/**
|
|
6092
|
+
* Request handler event arguments.
|
|
6093
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
|
|
6094
|
+
*/
|
|
6095
|
+
class DesignModeTagsOnRequestEventHandlerArgs
|
|
6096
|
+
{
|
|
6097
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs
|
|
6098
|
+
/**
|
|
6099
|
+
* Query information.
|
|
6100
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6101
|
+
*/
|
|
6102
|
+
Query:{ Marker: string, Query: string };
|
|
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
|
+
/**
|
|
6152
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6153
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6154
|
+
*/
|
|
6155
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6156
|
+
/**
|
|
6157
|
+
* Instance of control.
|
|
6158
|
+
* @member {Fit.Controls.Input} Sender
|
|
6159
|
+
*/
|
|
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[];
|
|
6176
|
+
}
|
|
6177
|
+
/**
|
|
6178
|
+
* Response handler event arguments.
|
|
6179
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs DesignModeTagsOnResponseEventHandlerArgs]
|
|
6180
|
+
*/
|
|
6181
|
+
class DesignModeTagsOnResponseEventHandlerArgs
|
|
6182
|
+
{
|
|
6183
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs
|
|
6184
|
+
/**
|
|
6185
|
+
* Query information.
|
|
6186
|
+
* @member {{ Marker: string, Query: string }} Query
|
|
6187
|
+
*/
|
|
6188
|
+
Query:{ Marker: string, Query: string };
|
|
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
|
+
/**
|
|
6200
|
+
* Instance of JsonRequest or JsonpRequest.
|
|
6201
|
+
* @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
|
|
6202
|
+
*/
|
|
6203
|
+
Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
|
|
6204
|
+
/**
|
|
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
|
|
4292
6265
|
*/
|
|
4293
|
-
|
|
6266
|
+
Title:string;
|
|
4294
6267
|
/**
|
|
4295
|
-
*
|
|
4296
|
-
|
|
4297
|
-
Sender (Fit.Controls.Input) and EventArgs object.
|
|
4298
|
-
EventArgs object contains the following properties:
|
|
4299
|
-
- Sender: Fit.Controls.Input instance
|
|
4300
|
-
- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
|
|
4301
|
-
- Query: Contains query information in its Marker and Query property
|
|
4302
|
-
- Tags: JSON tags array received from WebService.
|
|
4303
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
|
|
6268
|
+
* Title.
|
|
6269
|
+
* @member {string} Title
|
|
4304
6270
|
*/
|
|
4305
|
-
|
|
6271
|
+
Title:string;
|
|
4306
6272
|
/**
|
|
4307
|
-
* URL to
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
Data is expected to be returned in the following format:
|
|
4311
|
-
[
|
|
4312
|
-
{ Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
|
|
4313
|
-
{ Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
|
|
4314
|
-
]
|
|
4315
|
-
|
|
4316
|
-
The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
|
|
4317
|
-
The Url property is optional and must specify a path to a related page/resource.
|
|
4318
|
-
The Data property is optional and allows for additional data to be associated with the tag.
|
|
4319
|
-
To hold multiple values, consider using a base64 encoded JSON object:
|
|
4320
|
-
btoa(JSON.stringify({ creationDate: new Date(), active: true }))
|
|
4321
|
-
|
|
4322
|
-
The data eventuelly results in a tag being added to the editor with the following format:
|
|
4323
|
-
Tag name 1
|
|
4324
|
-
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
4325
|
-
* @member {string} QueryUrl
|
|
6273
|
+
* Optional URL to associate with tag.
|
|
6274
|
+
* @member {string} [Url=undefined]
|
|
4326
6275
|
*/
|
|
4327
|
-
|
|
6276
|
+
Url?:string;
|
|
4328
6277
|
/**
|
|
4329
|
-
*
|
|
4330
|
-
|
|
4331
|
-
Function receives two arguments:
|
|
4332
|
-
Sender (Fit.Controls.Input) and EventArgs object.
|
|
4333
|
-
EventArgs object contains the following properties:
|
|
4334
|
-
- Sender: Fit.Controls.Input instance
|
|
4335
|
-
- QueryMarker: String containing query marker
|
|
4336
|
-
- Tag: JSON tag received from WebService.
|
|
4337
|
-
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
|
|
6278
|
+
* Optional URL to associate with tag.
|
|
6279
|
+
* @member {string} [Url=undefined]
|
|
4338
6280
|
*/
|
|
4339
|
-
|
|
6281
|
+
Url?:string;
|
|
4340
6282
|
/**
|
|
4341
|
-
*
|
|
4342
|
-
* @member {
|
|
6283
|
+
* Unique value.
|
|
6284
|
+
* @member {string} Value
|
|
4343
6285
|
*/
|
|
4344
|
-
|
|
6286
|
+
Value:string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Unique value.
|
|
6289
|
+
* @member {string} Value
|
|
6290
|
+
*/
|
|
6291
|
+
Value:string;
|
|
4345
6292
|
}
|
|
4346
6293
|
/**
|
|
4347
|
-
*
|
|
4348
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
6294
|
+
* JSON object representing tag.
|
|
6295
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag DesignModeTagsOnResponseJsonTag]
|
|
4349
6296
|
*/
|
|
4350
|
-
class
|
|
6297
|
+
class DesignModeTagsOnResponseJsonTag
|
|
4351
6298
|
{
|
|
4352
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
6299
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag
|
|
4353
6300
|
/**
|
|
4354
|
-
*
|
|
4355
|
-
* @member {
|
|
6301
|
+
* Optional context information to associate with tag.
|
|
6302
|
+
* @member {string} [Context=undefined]
|
|
4356
6303
|
*/
|
|
4357
|
-
|
|
6304
|
+
Context?:string;
|
|
4358
6305
|
/**
|
|
4359
|
-
*
|
|
4360
|
-
* @member {
|
|
6306
|
+
* Optional context information to associate with tag.
|
|
6307
|
+
* @member {string} [Context=undefined]
|
|
4361
6308
|
*/
|
|
4362
|
-
|
|
6309
|
+
Context?:string;
|
|
4363
6310
|
/**
|
|
4364
|
-
*
|
|
4365
|
-
* @member {
|
|
6311
|
+
* Optional data to associate with tag.
|
|
6312
|
+
* @member {string} [Data=undefined]
|
|
4366
6313
|
*/
|
|
4367
|
-
|
|
6314
|
+
Data?:string;
|
|
4368
6315
|
/**
|
|
4369
|
-
*
|
|
4370
|
-
* @member {
|
|
6316
|
+
* Optional data to associate with tag.
|
|
6317
|
+
* @member {string} [Data=undefined]
|
|
4371
6318
|
*/
|
|
4372
|
-
|
|
6319
|
+
Data?:string;
|
|
4373
6320
|
/**
|
|
4374
|
-
*
|
|
4375
|
-
* @member {
|
|
6321
|
+
* Optional URL to icon/image.
|
|
6322
|
+
* @member {string} [Icon=undefined]
|
|
4376
6323
|
*/
|
|
4377
|
-
|
|
6324
|
+
Icon?:string;
|
|
4378
6325
|
/**
|
|
4379
|
-
*
|
|
4380
|
-
* @member {
|
|
6326
|
+
* Optional URL to icon/image.
|
|
6327
|
+
* @member {string} [Icon=undefined]
|
|
4381
6328
|
*/
|
|
4382
|
-
|
|
6329
|
+
Icon?:string;
|
|
4383
6330
|
/**
|
|
4384
|
-
*
|
|
4385
|
-
* @member {
|
|
6331
|
+
* Title.
|
|
6332
|
+
* @member {string} Title
|
|
4386
6333
|
*/
|
|
4387
|
-
|
|
6334
|
+
Title:string;
|
|
4388
6335
|
/**
|
|
4389
|
-
*
|
|
4390
|
-
* @member {
|
|
6336
|
+
* Title.
|
|
6337
|
+
* @member {string} Title
|
|
4391
6338
|
*/
|
|
4392
|
-
|
|
6339
|
+
Title:string;
|
|
4393
6340
|
/**
|
|
4394
|
-
*
|
|
4395
|
-
* @member {
|
|
6341
|
+
* Optional URL to associate with tag.
|
|
6342
|
+
* @member {string} [Url=undefined]
|
|
4396
6343
|
*/
|
|
4397
|
-
|
|
6344
|
+
Url?:string;
|
|
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
|
+
/**
|
|
6356
|
+
* Unique value.
|
|
6357
|
+
* @member {string} Value
|
|
6358
|
+
*/
|
|
6359
|
+
Value:string;
|
|
4398
6360
|
}
|
|
4399
6361
|
/**
|
|
4400
|
-
*
|
|
4401
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
6362
|
+
* TagCreator event arguments.
|
|
6363
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs DesignModeTagsTagCreatorCallbackArgs]
|
|
4402
6364
|
*/
|
|
4403
|
-
class
|
|
6365
|
+
class DesignModeTagsTagCreatorCallbackArgs
|
|
4404
6366
|
{
|
|
4405
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
6367
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs
|
|
4406
6368
|
/**
|
|
4407
|
-
* Query
|
|
4408
|
-
* @member {
|
|
6369
|
+
* Query marker.
|
|
6370
|
+
* @member {string} QueryMarker
|
|
4409
6371
|
*/
|
|
4410
|
-
|
|
6372
|
+
QueryMarker:string;
|
|
4411
6373
|
/**
|
|
4412
|
-
*
|
|
4413
|
-
* @member {
|
|
6374
|
+
* Query marker.
|
|
6375
|
+
* @member {string} QueryMarker
|
|
4414
6376
|
*/
|
|
4415
|
-
|
|
6377
|
+
QueryMarker:string;
|
|
4416
6378
|
/**
|
|
4417
6379
|
* Instance of control.
|
|
4418
6380
|
* @member {Fit.Controls.Input} Sender
|
|
4419
6381
|
*/
|
|
4420
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;
|
|
4421
6398
|
}
|
|
4422
6399
|
/**
|
|
4423
|
-
*
|
|
4424
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
6400
|
+
* TagCreator event arguments.
|
|
6401
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs DesignModeTagsTagCreatorCallbackArgs]
|
|
4425
6402
|
*/
|
|
4426
|
-
class
|
|
6403
|
+
class DesignModeTagsTagCreatorCallbackArgs
|
|
4427
6404
|
{
|
|
4428
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
6405
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs
|
|
4429
6406
|
/**
|
|
4430
|
-
* Query
|
|
4431
|
-
* @member {
|
|
6407
|
+
* Query marker.
|
|
6408
|
+
* @member {string} QueryMarker
|
|
4432
6409
|
*/
|
|
4433
|
-
|
|
6410
|
+
QueryMarker:string;
|
|
4434
6411
|
/**
|
|
4435
|
-
*
|
|
4436
|
-
* @member {
|
|
6412
|
+
* Query marker.
|
|
6413
|
+
* @member {string} QueryMarker
|
|
4437
6414
|
*/
|
|
4438
|
-
|
|
6415
|
+
QueryMarker:string;
|
|
4439
6416
|
/**
|
|
4440
6417
|
* Instance of control.
|
|
4441
6418
|
* @member {Fit.Controls.Input} Sender
|
|
4442
6419
|
*/
|
|
4443
6420
|
Sender:Fit.Controls.Input;
|
|
4444
6421
|
/**
|
|
4445
|
-
*
|
|
4446
|
-
* @member {Fit.Controls.
|
|
6422
|
+
* Instance of control.
|
|
6423
|
+
* @member {Fit.Controls.Input} Sender
|
|
4447
6424
|
*/
|
|
4448
|
-
|
|
6425
|
+
Sender:Fit.Controls.Input;
|
|
6426
|
+
/**
|
|
6427
|
+
* Tag received from WebService.
|
|
6428
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
|
|
6429
|
+
*/
|
|
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;
|
|
4449
6436
|
}
|
|
4450
6437
|
/**
|
|
4451
|
-
* JSON object representing tag.
|
|
4452
|
-
* @class [Fit.Controls.InputTypeDefs.
|
|
6438
|
+
* JSON object representing tag to be inserted into editor.
|
|
6439
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType DesignModeTagsTagCreatorReturnType]
|
|
4453
6440
|
*/
|
|
4454
|
-
class
|
|
6441
|
+
class DesignModeTagsTagCreatorReturnType
|
|
4455
6442
|
{
|
|
4456
|
-
// Properties defined by Fit.Controls.InputTypeDefs.
|
|
6443
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType
|
|
4457
6444
|
/**
|
|
4458
|
-
* Optional context
|
|
6445
|
+
* Optional tag context.
|
|
4459
6446
|
* @member {string} [Context=undefined]
|
|
4460
6447
|
*/
|
|
4461
6448
|
Context?:string;
|
|
4462
6449
|
/**
|
|
4463
|
-
* Optional
|
|
6450
|
+
* Optional tag context.
|
|
6451
|
+
* @member {string} [Context=undefined]
|
|
6452
|
+
*/
|
|
6453
|
+
Context?:string;
|
|
6454
|
+
/**
|
|
6455
|
+
* Optional tag data.
|
|
4464
6456
|
* @member {string} [Data=undefined]
|
|
4465
6457
|
*/
|
|
4466
6458
|
Data?:string;
|
|
4467
6459
|
/**
|
|
4468
|
-
* Optional
|
|
4469
|
-
* @member {string} [
|
|
6460
|
+
* Optional tag data.
|
|
6461
|
+
* @member {string} [Data=undefined]
|
|
4470
6462
|
*/
|
|
4471
|
-
|
|
6463
|
+
Data?:string;
|
|
4472
6464
|
/**
|
|
4473
|
-
*
|
|
6465
|
+
* Tag title.
|
|
6466
|
+
* @member {string} Title
|
|
6467
|
+
*/
|
|
6468
|
+
Title:string;
|
|
6469
|
+
/**
|
|
6470
|
+
* Tag title.
|
|
4474
6471
|
* @member {string} Title
|
|
4475
6472
|
*/
|
|
4476
6473
|
Title:string;
|
|
4477
6474
|
/**
|
|
4478
|
-
*
|
|
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.
|
|
4479
6491
|
* @member {string} [Url=undefined]
|
|
4480
6492
|
*/
|
|
4481
6493
|
Url?:string;
|
|
4482
6494
|
/**
|
|
4483
|
-
*
|
|
6495
|
+
* Tag value (ID).
|
|
4484
6496
|
* @member {string} Value
|
|
4485
6497
|
*/
|
|
4486
6498
|
Value:string;
|
|
4487
|
-
}
|
|
4488
|
-
/**
|
|
4489
|
-
* TagCreator event arguments.
|
|
4490
|
-
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs DesignModeTagsTagCreatorCallbackArgs]
|
|
4491
|
-
*/
|
|
4492
|
-
class DesignModeTagsTagCreatorCallbackArgs
|
|
4493
|
-
{
|
|
4494
|
-
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs
|
|
4495
|
-
/**
|
|
4496
|
-
* Query marker.
|
|
4497
|
-
* @member {string} QueryMarker
|
|
4498
|
-
*/
|
|
4499
|
-
QueryMarker:string;
|
|
4500
|
-
/**
|
|
4501
|
-
* Instance of control.
|
|
4502
|
-
* @member {Fit.Controls.Input} Sender
|
|
4503
|
-
*/
|
|
4504
|
-
Sender:Fit.Controls.Input;
|
|
4505
6499
|
/**
|
|
4506
|
-
* Tag
|
|
4507
|
-
* @member {
|
|
6500
|
+
* Tag value (ID).
|
|
6501
|
+
* @member {string} Value
|
|
4508
6502
|
*/
|
|
4509
|
-
|
|
6503
|
+
Value:string;
|
|
4510
6504
|
}
|
|
4511
6505
|
/**
|
|
4512
6506
|
* JSON object representing tag to be inserted into editor.
|
|
@@ -4521,6 +6515,16 @@ declare namespace Fit
|
|
|
4521
6515
|
*/
|
|
4522
6516
|
Context?:string;
|
|
4523
6517
|
/**
|
|
6518
|
+
* Optional tag context.
|
|
6519
|
+
* @member {string} [Context=undefined]
|
|
6520
|
+
*/
|
|
6521
|
+
Context?:string;
|
|
6522
|
+
/**
|
|
6523
|
+
* Optional tag data.
|
|
6524
|
+
* @member {string} [Data=undefined]
|
|
6525
|
+
*/
|
|
6526
|
+
Data?:string;
|
|
6527
|
+
/**
|
|
4524
6528
|
* Optional tag data.
|
|
4525
6529
|
* @member {string} [Data=undefined]
|
|
4526
6530
|
*/
|
|
@@ -4531,6 +6535,16 @@ declare namespace Fit
|
|
|
4531
6535
|
*/
|
|
4532
6536
|
Title:string;
|
|
4533
6537
|
/**
|
|
6538
|
+
* Tag title.
|
|
6539
|
+
* @member {string} Title
|
|
6540
|
+
*/
|
|
6541
|
+
Title:string;
|
|
6542
|
+
/**
|
|
6543
|
+
* Tag type (marker).
|
|
6544
|
+
* @member {string} Type
|
|
6545
|
+
*/
|
|
6546
|
+
Type:string;
|
|
6547
|
+
/**
|
|
4534
6548
|
* Tag type (marker).
|
|
4535
6549
|
* @member {string} Type
|
|
4536
6550
|
*/
|
|
@@ -4541,6 +6555,16 @@ declare namespace Fit
|
|
|
4541
6555
|
*/
|
|
4542
6556
|
Url?:string;
|
|
4543
6557
|
/**
|
|
6558
|
+
* Optional tag URL.
|
|
6559
|
+
* @member {string} [Url=undefined]
|
|
6560
|
+
*/
|
|
6561
|
+
Url?:string;
|
|
6562
|
+
/**
|
|
6563
|
+
* Tag value (ID).
|
|
6564
|
+
* @member {string} Value
|
|
6565
|
+
*/
|
|
6566
|
+
Value:string;
|
|
6567
|
+
/**
|
|
4544
6568
|
* Tag value (ID).
|
|
4545
6569
|
* @member {string} Value
|
|
4546
6570
|
*/
|
|
@@ -5256,10 +7280,10 @@ declare namespace Fit
|
|
|
5256
7280
|
/**
|
|
5257
7281
|
* Get/set number of log entries preserved.
|
|
5258
7282
|
* @function MaxEntries
|
|
5259
|
-
* @param {
|
|
7283
|
+
* @param {number} [val=undefined] - If defined, changes number of log entries preserved.
|
|
5260
7284
|
* @returns number
|
|
5261
7285
|
*/
|
|
5262
|
-
public MaxEntries(val?:
|
|
7286
|
+
public MaxEntries(val?:number):number;
|
|
5263
7287
|
/**
|
|
5264
7288
|
* Create instance of SoftLog control.
|
|
5265
7289
|
* @function SoftLog
|
|
@@ -8762,10 +10786,41 @@ declare namespace Fit
|
|
|
8762
10786
|
{
|
|
8763
10787
|
/** Do not allow resizing. */
|
|
8764
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",
|
|
8765
10816
|
/** Allow for resizing both vertically and horizontally. */
|
|
8766
10817
|
Enabled = "Enabled",
|
|
8767
10818
|
/** Allow for horizontal resizing. */
|
|
8768
10819
|
Horizontal = "Horizontal",
|
|
10820
|
+
/** Allow for horizontal resizing. */
|
|
10821
|
+
Horizontal = "Horizontal",
|
|
10822
|
+
/** Allow for vertical resizing. */
|
|
10823
|
+
Vertical = "Vertical",
|
|
8769
10824
|
/** Allow for vertical resizing. */
|
|
8770
10825
|
Vertical = "Vertical"
|
|
8771
10826
|
}
|
|
@@ -8777,26 +10832,105 @@ declare namespace Fit
|
|
|
8777
10832
|
{
|
|
8778
10833
|
/** Input control useful for entering a color. */
|
|
8779
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",
|
|
8780
10894
|
/** Input control useful for entering a date. */
|
|
8781
10895
|
Date = "Date",
|
|
8782
10896
|
/** Input control useful for entering a date and time. */
|
|
8783
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",
|
|
8784
10902
|
/** Input control useful for entering an e-mail address. */
|
|
8785
10903
|
Email = "Email",
|
|
8786
10904
|
/** Input control useful for entering a month. */
|
|
8787
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",
|
|
8788
10910
|
/** Input control useful for entering a number. */
|
|
8789
10911
|
Number = "Number",
|
|
8790
10912
|
/** Input control useful for entering a password (characters are masked). */
|
|
8791
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",
|
|
8792
10918
|
/** Input control useful for entering a phone number. */
|
|
8793
10919
|
PhoneNumber = "PhoneNumber",
|
|
8794
10920
|
/** Input control useful for entering ordinary text. */
|
|
8795
10921
|
Text = "Text",
|
|
10922
|
+
/** Input control useful for entering ordinary text. */
|
|
10923
|
+
Text = "Text",
|
|
10924
|
+
/** Multi line input field. */
|
|
10925
|
+
Textarea = "Textarea",
|
|
8796
10926
|
/** Multi line input field. */
|
|
8797
10927
|
Textarea = "Textarea",
|
|
8798
10928
|
/** Input control useful for entering time. */
|
|
8799
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",
|
|
8800
10934
|
/** Input control useful for entering a week number. */
|
|
8801
10935
|
Week = "Week"
|
|
8802
10936
|
}
|
|
@@ -10418,6 +12552,14 @@ declare namespace Fit
|
|
|
10418
12552
|
*/
|
|
10419
12553
|
public static Hash(str:string):number;
|
|
10420
12554
|
/**
|
|
12555
|
+
* Parse and return image blob URLs from image tags.
|
|
12556
|
+
* @function ParseImageBlobUrls
|
|
12557
|
+
* @static
|
|
12558
|
+
* @param {string} str - String to parse.
|
|
12559
|
+
* @returns string[]
|
|
12560
|
+
*/
|
|
12561
|
+
public static ParseImageBlobUrls(str:string):string[];
|
|
12562
|
+
/**
|
|
10421
12563
|
* Removes any HTML contained in string, and returns the raw text value.
|
|
10422
12564
|
* @function StripHtml
|
|
10423
12565
|
* @static
|
|
@@ -10956,6 +13098,80 @@ declare namespace Fit
|
|
|
10956
13098
|
* @static
|
|
10957
13099
|
*/
|
|
10958
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;
|
|
10959
13175
|
}
|
|
10960
13176
|
}
|
|
10961
13177
|
}
|
|
@@ -10995,6 +13211,11 @@ declare namespace Fit
|
|
|
10995
13211
|
*/
|
|
10996
13212
|
IsTablet:boolean;
|
|
10997
13213
|
/**
|
|
13214
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
13215
|
+
* @member {boolean} IsTouchEnabled
|
|
13216
|
+
*/
|
|
13217
|
+
IsTouchEnabled:boolean;
|
|
13218
|
+
/**
|
|
10998
13219
|
* Browser language, e.g. en, da, de, etc.
|
|
10999
13220
|
* @member {string} Language
|
|
11000
13221
|
*/
|
|
@@ -11028,6 +13249,11 @@ declare namespace Fit
|
|
|
11028
13249
|
*/
|
|
11029
13250
|
IsTablet:boolean;
|
|
11030
13251
|
/**
|
|
13252
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
13253
|
+
* @member {boolean} IsTouchEnabled
|
|
13254
|
+
*/
|
|
13255
|
+
IsTouchEnabled:boolean;
|
|
13256
|
+
/**
|
|
11031
13257
|
* Browser language, e.g. en, da, de, etc.
|
|
11032
13258
|
* @member {string} Language
|
|
11033
13259
|
*/
|
|
@@ -11067,6 +13293,11 @@ declare namespace Fit
|
|
|
11067
13293
|
*/
|
|
11068
13294
|
IsTablet:boolean;
|
|
11069
13295
|
/**
|
|
13296
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
13297
|
+
* @member {boolean} IsTouchEnabled
|
|
13298
|
+
*/
|
|
13299
|
+
IsTouchEnabled:boolean;
|
|
13300
|
+
/**
|
|
11070
13301
|
* Browser language, e.g. en, da, de, etc.
|
|
11071
13302
|
* @member {string} Language
|
|
11072
13303
|
*/
|
|
@@ -11365,6 +13596,18 @@ declare namespace Fit
|
|
|
11365
13596
|
{
|
|
11366
13597
|
// Functions defined by Fit.DragDrop.Draggable
|
|
11367
13598
|
/**
|
|
13599
|
+
* Bring draggable to front.
|
|
13600
|
+
* @function BringToFront
|
|
13601
|
+
*/
|
|
13602
|
+
public BringToFront():void;
|
|
13603
|
+
/**
|
|
13604
|
+
* Get/set flag indicating whether to bring draggable to front when activated.
|
|
13605
|
+
* @function BringToFrontOnActivation
|
|
13606
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables functionality, False disables it (default).
|
|
13607
|
+
* @returns boolean
|
|
13608
|
+
*/
|
|
13609
|
+
public BringToFrontOnActivation(val?:boolean):boolean;
|
|
13610
|
+
/**
|
|
11368
13611
|
* Free resources and disable dragging support for DOM element.
|
|
11369
13612
|
* @function Dispose
|
|
11370
13613
|
*/
|
|
@@ -11405,6 +13648,14 @@ declare namespace Fit
|
|
|
11405
13648
|
* @function Reset
|
|
11406
13649
|
*/
|
|
11407
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;
|
|
11408
13659
|
}
|
|
11409
13660
|
/**
|
|
11410
13661
|
*
|
|
@@ -11551,9 +13802,9 @@ declare namespace Fit
|
|
|
11551
13802
|
// Properties defined by Fit.EventTypeDefs.PointerState
|
|
11552
13803
|
/**
|
|
11553
13804
|
* Pointer buttons currently activated.
|
|
11554
|
-
* @member {{ Primary: boolean, Secondary: boolean }} Buttons
|
|
13805
|
+
* @member {{ Primary: boolean, Secondary: boolean, Touch: boolean, Target: HTMLElement | null }} Buttons
|
|
11555
13806
|
*/
|
|
11556
|
-
Buttons:{ Primary: boolean, Secondary: boolean };
|
|
13807
|
+
Buttons:{ Primary: boolean, Secondary: boolean, Touch: boolean, Target: HTMLElement | null };
|
|
11557
13808
|
/**
|
|
11558
13809
|
* Pointer position within viewport and document, which might have been scrolled.
|
|
11559
13810
|
* @member {{ ViewPort: Fit.TypeDefs.Position, Document: Fit.TypeDefs.Position }} Coordinates
|