fit-ui 2.20.0 → 2.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Documentation.html +2 -2
- package/dist/Fit.UI.js +33 -368
- package/dist/Fit.UI.min.js +1 -1
- package/dist/Resources/CKEditor/contents.css +208 -208
- package/dist/Resources/CKEditor/plugins/autocomplete/skins/default.css +38 -38
- package/dist/Resources/CKEditor/plugins/dialog/styles/dialog.css +18 -18
- package/dist/Resources/CKEditor/plugins/emoji/skins/default.css +237 -237
- package/dist/Resources/CKEditor/plugins/tableselection/styles/tableselection.css +36 -36
- package/dist/Resources/CKEditor/skins/moono-lisa/dialog.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie8.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/dialog_iequirks.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/editor.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/editor_gecko.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie8.css +4 -4
- package/dist/Resources/CKEditor/skins/moono-lisa/editor_iequirks.css +4 -4
- package/dist/Resources/CKEditor/styles.js +137 -137
- package/package.json +1 -1
- package/types/index.d.ts +135 -361
package/types/index.d.ts
CHANGED
|
@@ -2434,36 +2434,6 @@ declare namespace Fit
|
|
|
2434
2434
|
{
|
|
2435
2435
|
// Functions defined by Fit.Controls.Dialog
|
|
2436
2436
|
/**
|
|
2437
|
-
* Display alert dialog.
|
|
2438
|
-
* @function Alert
|
|
2439
|
-
* @static
|
|
2440
|
-
* @param {string} content - Content to display in alert dialog.
|
|
2441
|
-
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2442
|
-
* @returns Fit.Controls.DialogInterface
|
|
2443
|
-
*/
|
|
2444
|
-
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2445
|
-
/**
|
|
2446
|
-
* Display confirmation dialog with OK and Cancel buttons.
|
|
2447
|
-
* @function Confirm
|
|
2448
|
-
* @static
|
|
2449
|
-
* @param {string} content - Content to display in confirmation dialog.
|
|
2450
|
-
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2451
|
-
True is passed to callback function when OK is clicked, otherwise False.
|
|
2452
|
-
* @returns Fit.Controls.DialogInterface
|
|
2453
|
-
*/
|
|
2454
|
-
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2455
|
-
/**
|
|
2456
|
-
* Display prompt dialog that allows for user input.
|
|
2457
|
-
* @function Prompt
|
|
2458
|
-
* @static
|
|
2459
|
-
* @param {string} content - Content to display in prompt dialog.
|
|
2460
|
-
* @param {string} defaultValue - Default value in input field.
|
|
2461
|
-
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2462
|
-
Value entered in input field is passed, null if prompt is canceled.
|
|
2463
|
-
* @returns Fit.Controls.DialogInterface
|
|
2464
|
-
*/
|
|
2465
|
-
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2466
|
-
/**
|
|
2467
2437
|
* Add button to dialog.
|
|
2468
2438
|
* @function AddButton
|
|
2469
2439
|
* @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
|
|
@@ -2655,6 +2625,36 @@ declare namespace Fit
|
|
|
2655
2625
|
* @returns Fit.TypeDefs.CssValue
|
|
2656
2626
|
*/
|
|
2657
2627
|
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;
|
|
2628
|
+
/**
|
|
2629
|
+
* Display alert dialog.
|
|
2630
|
+
* @function Alert
|
|
2631
|
+
* @static
|
|
2632
|
+
* @param {string} content - Content to display in alert dialog.
|
|
2633
|
+
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2634
|
+
* @returns Fit.Controls.DialogInterface
|
|
2635
|
+
*/
|
|
2636
|
+
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2637
|
+
/**
|
|
2638
|
+
* Display confirmation dialog with OK and Cancel buttons.
|
|
2639
|
+
* @function Confirm
|
|
2640
|
+
* @static
|
|
2641
|
+
* @param {string} content - Content to display in confirmation dialog.
|
|
2642
|
+
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2643
|
+
True is passed to callback function when OK is clicked, otherwise False.
|
|
2644
|
+
* @returns Fit.Controls.DialogInterface
|
|
2645
|
+
*/
|
|
2646
|
+
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2647
|
+
/**
|
|
2648
|
+
* Display prompt dialog that allows for user input.
|
|
2649
|
+
* @function Prompt
|
|
2650
|
+
* @static
|
|
2651
|
+
* @param {string} content - Content to display in prompt dialog.
|
|
2652
|
+
* @param {string} defaultValue - Default value in input field.
|
|
2653
|
+
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2654
|
+
Value entered in input field is passed, null if prompt is canceled.
|
|
2655
|
+
* @returns Fit.Controls.DialogInterface
|
|
2656
|
+
*/
|
|
2657
|
+
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2658
2658
|
// Functions defined by Fit.Controls.Component
|
|
2659
2659
|
/**
|
|
2660
2660
|
* Destroys control to free up memory.
|
|
@@ -2783,36 +2783,6 @@ declare namespace Fit
|
|
|
2783
2783
|
public Value(val?:string):string;
|
|
2784
2784
|
// Functions defined by Fit.Controls.Dialog
|
|
2785
2785
|
/**
|
|
2786
|
-
* Display alert dialog.
|
|
2787
|
-
* @function Alert
|
|
2788
|
-
* @static
|
|
2789
|
-
* @param {string} content - Content to display in alert dialog.
|
|
2790
|
-
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2791
|
-
* @returns Fit.Controls.DialogInterface
|
|
2792
|
-
*/
|
|
2793
|
-
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2794
|
-
/**
|
|
2795
|
-
* Display confirmation dialog with OK and Cancel buttons.
|
|
2796
|
-
* @function Confirm
|
|
2797
|
-
* @static
|
|
2798
|
-
* @param {string} content - Content to display in confirmation dialog.
|
|
2799
|
-
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2800
|
-
True is passed to callback function when OK is clicked, otherwise False.
|
|
2801
|
-
* @returns Fit.Controls.DialogInterface
|
|
2802
|
-
*/
|
|
2803
|
-
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2804
|
-
/**
|
|
2805
|
-
* Display prompt dialog that allows for user input.
|
|
2806
|
-
* @function Prompt
|
|
2807
|
-
* @static
|
|
2808
|
-
* @param {string} content - Content to display in prompt dialog.
|
|
2809
|
-
* @param {string} defaultValue - Default value in input field.
|
|
2810
|
-
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2811
|
-
Value entered in input field is passed, null if prompt is canceled.
|
|
2812
|
-
* @returns Fit.Controls.DialogInterface
|
|
2813
|
-
*/
|
|
2814
|
-
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2815
|
-
/**
|
|
2816
2786
|
* Add button to dialog.
|
|
2817
2787
|
* @function AddButton
|
|
2818
2788
|
* @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
|
|
@@ -2998,6 +2968,36 @@ declare namespace Fit
|
|
|
2998
2968
|
* @returns Fit.TypeDefs.CssValue
|
|
2999
2969
|
*/
|
|
3000
2970
|
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;
|
|
2971
|
+
/**
|
|
2972
|
+
* Display alert dialog.
|
|
2973
|
+
* @function Alert
|
|
2974
|
+
* @static
|
|
2975
|
+
* @param {string} content - Content to display in alert dialog.
|
|
2976
|
+
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2977
|
+
* @returns Fit.Controls.DialogInterface
|
|
2978
|
+
*/
|
|
2979
|
+
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2980
|
+
/**
|
|
2981
|
+
* Display confirmation dialog with OK and Cancel buttons.
|
|
2982
|
+
* @function Confirm
|
|
2983
|
+
* @static
|
|
2984
|
+
* @param {string} content - Content to display in confirmation dialog.
|
|
2985
|
+
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2986
|
+
True is passed to callback function when OK is clicked, otherwise False.
|
|
2987
|
+
* @returns Fit.Controls.DialogInterface
|
|
2988
|
+
*/
|
|
2989
|
+
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2990
|
+
/**
|
|
2991
|
+
* Display prompt dialog that allows for user input.
|
|
2992
|
+
* @function Prompt
|
|
2993
|
+
* @static
|
|
2994
|
+
* @param {string} content - Content to display in prompt dialog.
|
|
2995
|
+
* @param {string} defaultValue - Default value in input field.
|
|
2996
|
+
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2997
|
+
Value entered in input field is passed, null if prompt is canceled.
|
|
2998
|
+
* @returns Fit.Controls.DialogInterface
|
|
2999
|
+
*/
|
|
3000
|
+
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
3001
3001
|
// Functions defined by Fit.Controls.Component
|
|
3002
3002
|
/**
|
|
3003
3003
|
* Destroys control to free up memory.
|
|
@@ -9539,6 +9539,74 @@ declare namespace Fit
|
|
|
9539
9539
|
{
|
|
9540
9540
|
// Functions defined by Fit.Cookies
|
|
9541
9541
|
/**
|
|
9542
|
+
* Create instance of cookie container isolated to either current path (default)
|
|
9543
|
+
or a custom path, and optionally an alternative part of the domain (by default
|
|
9544
|
+
cookies are available only on the current domain, while defining a domain makes
|
|
9545
|
+
cookies available to that particular domain and subdomains).
|
|
9546
|
+
* @function Cookies
|
|
9547
|
+
*/
|
|
9548
|
+
constructor();
|
|
9549
|
+
/**
|
|
9550
|
+
* Get/set portion of domain to which cookies are isolated.
|
|
9551
|
+
* @function Domain
|
|
9552
|
+
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
9553
|
+
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
9554
|
+
* @returns string | null
|
|
9555
|
+
*/
|
|
9556
|
+
public Domain(val?:string | null):string | null;
|
|
9557
|
+
/**
|
|
9558
|
+
* Returns cookie value if found, otherwise Null.
|
|
9559
|
+
* @function Get
|
|
9560
|
+
* @param {string} name - Unique cookie name.
|
|
9561
|
+
* @returns string | null
|
|
9562
|
+
*/
|
|
9563
|
+
public Get(name:string):string | null;
|
|
9564
|
+
/**
|
|
9565
|
+
* Get/set path to which cookies are isolated.
|
|
9566
|
+
* @function Path
|
|
9567
|
+
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
9568
|
+
* @returns string
|
|
9569
|
+
*/
|
|
9570
|
+
public Path(val?:string):string;
|
|
9571
|
+
/**
|
|
9572
|
+
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
9573
|
+
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
9574
|
+
is completely transparent.
|
|
9575
|
+
* @function Prefix
|
|
9576
|
+
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
9577
|
+
* @returns string | null
|
|
9578
|
+
*/
|
|
9579
|
+
public Prefix(val?:string):string | null;
|
|
9580
|
+
/**
|
|
9581
|
+
* Remove cookie.
|
|
9582
|
+
* @function Remove
|
|
9583
|
+
* @param {string} name - Unique cookie name.
|
|
9584
|
+
*/
|
|
9585
|
+
public Remove(name:string):void;
|
|
9586
|
+
/**
|
|
9587
|
+
* Get/set SameSite policy.
|
|
9588
|
+
* @function SameSite
|
|
9589
|
+
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
9590
|
+
* @returns string | null
|
|
9591
|
+
*/
|
|
9592
|
+
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
9593
|
+
/**
|
|
9594
|
+
* Get/set Secure flag.
|
|
9595
|
+
* @function Secure
|
|
9596
|
+
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
9597
|
+
* @returns boolean
|
|
9598
|
+
*/
|
|
9599
|
+
public Secure(val?:boolean):boolean;
|
|
9600
|
+
/**
|
|
9601
|
+
* Create or update cookie.
|
|
9602
|
+
* @function Set
|
|
9603
|
+
* @param {string} name - Unique cookie name.
|
|
9604
|
+
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
9605
|
+
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
9606
|
+
no expiration time will cause it to expire when session ends.
|
|
9607
|
+
*/
|
|
9608
|
+
public Set(name:string, value:string, seconds?:number):void;
|
|
9609
|
+
/**
|
|
9542
9610
|
* Returns cookie value if found, otherwise Null.
|
|
9543
9611
|
* @function Get
|
|
9544
9612
|
* @static
|
|
@@ -9608,74 +9676,6 @@ declare namespace Fit
|
|
|
9608
9676
|
* @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
|
|
9609
9677
|
*/
|
|
9610
9678
|
public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
|
|
9611
|
-
/**
|
|
9612
|
-
* Create instance of cookie container isolated to either current path (default)
|
|
9613
|
-
or a custom path, and optionally an alternative part of the domain (by default
|
|
9614
|
-
cookies are available only on the current domain, while defining a domain makes
|
|
9615
|
-
cookies available to that particular domain and subdomains).
|
|
9616
|
-
* @function Cookies
|
|
9617
|
-
*/
|
|
9618
|
-
constructor();
|
|
9619
|
-
/**
|
|
9620
|
-
* Get/set portion of domain to which cookies are isolated.
|
|
9621
|
-
* @function Domain
|
|
9622
|
-
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
9623
|
-
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
9624
|
-
* @returns string | null
|
|
9625
|
-
*/
|
|
9626
|
-
public Domain(val?:string | null):string | null;
|
|
9627
|
-
/**
|
|
9628
|
-
* Returns cookie value if found, otherwise Null.
|
|
9629
|
-
* @function Get
|
|
9630
|
-
* @param {string} name - Unique cookie name.
|
|
9631
|
-
* @returns string | null
|
|
9632
|
-
*/
|
|
9633
|
-
public Get(name:string):string | null;
|
|
9634
|
-
/**
|
|
9635
|
-
* Get/set path to which cookies are isolated.
|
|
9636
|
-
* @function Path
|
|
9637
|
-
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
9638
|
-
* @returns string
|
|
9639
|
-
*/
|
|
9640
|
-
public Path(val?:string):string;
|
|
9641
|
-
/**
|
|
9642
|
-
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
9643
|
-
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
9644
|
-
is completely transparent.
|
|
9645
|
-
* @function Prefix
|
|
9646
|
-
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
9647
|
-
* @returns string | null
|
|
9648
|
-
*/
|
|
9649
|
-
public Prefix(val?:string):string | null;
|
|
9650
|
-
/**
|
|
9651
|
-
* Remove cookie.
|
|
9652
|
-
* @function Remove
|
|
9653
|
-
* @param {string} name - Unique cookie name.
|
|
9654
|
-
*/
|
|
9655
|
-
public Remove(name:string):void;
|
|
9656
|
-
/**
|
|
9657
|
-
* Get/set SameSite policy.
|
|
9658
|
-
* @function SameSite
|
|
9659
|
-
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
9660
|
-
* @returns string | null
|
|
9661
|
-
*/
|
|
9662
|
-
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
9663
|
-
/**
|
|
9664
|
-
* Get/set Secure flag.
|
|
9665
|
-
* @function Secure
|
|
9666
|
-
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
9667
|
-
* @returns boolean
|
|
9668
|
-
*/
|
|
9669
|
-
public Secure(val?:boolean):boolean;
|
|
9670
|
-
/**
|
|
9671
|
-
* Create or update cookie.
|
|
9672
|
-
* @function Set
|
|
9673
|
-
* @param {string} name - Unique cookie name.
|
|
9674
|
-
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
9675
|
-
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
9676
|
-
no expiration time will cause it to expire when session ends.
|
|
9677
|
-
*/
|
|
9678
|
-
public Set(name:string, value:string, seconds?:number):void;
|
|
9679
9679
|
}
|
|
9680
9680
|
/**
|
|
9681
9681
|
* Core features extending the capabilities of native JS.
|
|
@@ -10304,232 +10304,6 @@ declare namespace Fit
|
|
|
10304
10304
|
public static Wrap(elementToWrap:Node, container:HTMLElement):void;
|
|
10305
10305
|
}
|
|
10306
10306
|
/**
|
|
10307
|
-
*
|
|
10308
|
-
* @class [Fit.EventManager EventManager]
|
|
10309
|
-
*/
|
|
10310
|
-
class EventManager
|
|
10311
|
-
{
|
|
10312
|
-
// Functions defined by Fit.EventManager
|
|
10313
|
-
/**
|
|
10314
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10315
|
-
* @function Add
|
|
10316
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10317
|
-
* @param {"keydown" | "keyup" | "keypress"} event - Event name without the 'on' prefix.
|
|
10318
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackKeyboard} eventFunction - JavaScript function to register.
|
|
10319
|
-
*/
|
|
10320
|
-
public Add(element:EventTarget, event:"keydown" | "keyup" | "keypress", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackKeyboard):void;
|
|
10321
|
-
/**
|
|
10322
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10323
|
-
* @function Add
|
|
10324
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10325
|
-
* @param {"click" | "contextmenu" | "dblclick" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel"} event - Event name without the 'on' prefix.
|
|
10326
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackMouse} eventFunction - JavaScript function to register.
|
|
10327
|
-
*/
|
|
10328
|
-
public Add(element:EventTarget, event:"click" | "contextmenu" | "dblclick" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackMouse):void;
|
|
10329
|
-
/**
|
|
10330
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10331
|
-
* @function Add
|
|
10332
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10333
|
-
* @param {"popstate"} event - Event name without the 'on' prefix.
|
|
10334
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackPopState} eventFunction - JavaScript function to register.
|
|
10335
|
-
*/
|
|
10336
|
-
public Add(element:EventTarget, event:"popstate", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackPopState):void;
|
|
10337
|
-
/**
|
|
10338
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10339
|
-
* @function Add
|
|
10340
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10341
|
-
* @param {"hashchange"} event - Event name without the 'on' prefix.
|
|
10342
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackHashChange} eventFunction - JavaScript function to register.
|
|
10343
|
-
*/
|
|
10344
|
-
public Add(element:EventTarget, event:"hashchange", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackHashChange):void;
|
|
10345
|
-
/**
|
|
10346
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10347
|
-
* @function Add
|
|
10348
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10349
|
-
* @param {"focus" | "focusin" | "focusout" | "blur"} event - Event name without the 'on' prefix.
|
|
10350
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackFocus} eventFunction - JavaScript function to register.
|
|
10351
|
-
*/
|
|
10352
|
-
public Add(element:EventTarget, event:"focus" | "focusin" | "focusout" | "blur", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackFocus):void;
|
|
10353
|
-
/**
|
|
10354
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10355
|
-
* @function Add
|
|
10356
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10357
|
-
* @param {"beforeunload"} event - Event name without the 'on' prefix.
|
|
10358
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackBeforeUnload} eventFunction - JavaScript function to register.
|
|
10359
|
-
*/
|
|
10360
|
-
public Add(element:EventTarget, event:"beforeunload", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackBeforeUnload):void;
|
|
10361
|
-
/**
|
|
10362
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10363
|
-
* @function Add
|
|
10364
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10365
|
-
* @param {"cut" | "copy" | "paste"} event - Event name without the 'on' prefix.
|
|
10366
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackClipboard} eventFunction - JavaScript function to register.
|
|
10367
|
-
*/
|
|
10368
|
-
public Add(element:EventTarget, event:"cut" | "copy" | "paste", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackClipboard):void;
|
|
10369
|
-
/**
|
|
10370
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10371
|
-
* @function Add
|
|
10372
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10373
|
-
* @param {"storage"} event - Event name without the 'on' prefix.
|
|
10374
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackStorage} eventFunction - JavaScript function to register.
|
|
10375
|
-
*/
|
|
10376
|
-
public Add(element:EventTarget, event:"storage", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackStorage):void;
|
|
10377
|
-
/**
|
|
10378
|
-
* Registers handler for specified event on given DOMElement and returns Event ID.
|
|
10379
|
-
* @function Add
|
|
10380
|
-
* @param {HTMLElement} element - DOM element on to which event handler is registered.
|
|
10381
|
-
* @param {"#rooted"} event - Event name.
|
|
10382
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackRooted} eventFunction - JavaScript function to register.
|
|
10383
|
-
*/
|
|
10384
|
-
public Add(element:HTMLElement, event:"#rooted", eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackRooted):void;
|
|
10385
|
-
/**
|
|
10386
|
-
* Registers handler for specified event on given DOMElement and returns Event ID.
|
|
10387
|
-
* @function Add
|
|
10388
|
-
* @param {HTMLElement} element - DOM element on to which event handler is registered.
|
|
10389
|
-
* @param {"#mutation"} event - Event name.
|
|
10390
|
-
* @param {Fit.EventsTypeDefs.MutationObserverCallback} eventFunction - JavaScript function to register.
|
|
10391
|
-
*/
|
|
10392
|
-
public Add(element:HTMLElement, event:"#mutation", eventFunction:Fit.EventsTypeDefs.MutationObserverCallback):void;
|
|
10393
|
-
/**
|
|
10394
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10395
|
-
* @function Add
|
|
10396
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10397
|
-
* @param {string} event - Event name without the 'on' prefix.
|
|
10398
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackGeneric} eventFunction - JavaScript function to register.
|
|
10399
|
-
*/
|
|
10400
|
-
public Add(element:EventTarget, event:string, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackGeneric):void;
|
|
10401
|
-
/**
|
|
10402
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10403
|
-
* @function Add
|
|
10404
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10405
|
-
* @param {"keydown" | "keyup" | "keypress"} event - Event name without the 'on' prefix.
|
|
10406
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10407
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackKeyboard} eventFunction - JavaScript function to register.
|
|
10408
|
-
*/
|
|
10409
|
-
public Add(element:EventTarget, event:"keydown" | "keyup" | "keypress", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackKeyboard):void;
|
|
10410
|
-
/**
|
|
10411
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10412
|
-
* @function Add
|
|
10413
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10414
|
-
* @param {"click" | "contextmenu" | "dblclick" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel"} event - Event name without the 'on' prefix.
|
|
10415
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10416
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackMouse} eventFunction - JavaScript function to register.
|
|
10417
|
-
*/
|
|
10418
|
-
public Add(element:EventTarget, event:"click" | "contextmenu" | "dblclick" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackMouse):void;
|
|
10419
|
-
/**
|
|
10420
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10421
|
-
* @function Add
|
|
10422
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10423
|
-
* @param {"popstate"} event - Event name without the 'on' prefix.
|
|
10424
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10425
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackPopState} eventFunction - JavaScript function to register.
|
|
10426
|
-
*/
|
|
10427
|
-
public Add(element:EventTarget, event:"popstate", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackPopState):void;
|
|
10428
|
-
/**
|
|
10429
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10430
|
-
* @function Add
|
|
10431
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10432
|
-
* @param {"hashchange"} event - Event name without the 'on' prefix.
|
|
10433
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10434
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackHashChange} eventFunction - JavaScript function to register.
|
|
10435
|
-
*/
|
|
10436
|
-
public Add(element:EventTarget, event:"hashchange", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackHashChange):void;
|
|
10437
|
-
/**
|
|
10438
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10439
|
-
* @function Add
|
|
10440
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10441
|
-
* @param {"focus" | "focusin" | "focusout" | "blur"} event - Event name without the 'on' prefix.
|
|
10442
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10443
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackFocus} eventFunction - JavaScript function to register.
|
|
10444
|
-
*/
|
|
10445
|
-
public Add(element:EventTarget, event:"focus" | "focusin" | "focusout" | "blur", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackFocus):void;
|
|
10446
|
-
/**
|
|
10447
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10448
|
-
* @function Add
|
|
10449
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10450
|
-
* @param {"beforeunload"} event - Event name without the 'on' prefix.
|
|
10451
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10452
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackBeforeUnload} eventFunction - JavaScript function to register.
|
|
10453
|
-
*/
|
|
10454
|
-
public Add(element:EventTarget, event:"beforeunload", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackBeforeUnload):void;
|
|
10455
|
-
/**
|
|
10456
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10457
|
-
* @function Add
|
|
10458
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10459
|
-
* @param {"cut" | "copy" | "paste"} event - Event name without the 'on' prefix.
|
|
10460
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10461
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackClipboard} eventFunction - JavaScript function to register.
|
|
10462
|
-
*/
|
|
10463
|
-
public Add(element:EventTarget, event:"cut" | "copy" | "paste", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackClipboard):void;
|
|
10464
|
-
/**
|
|
10465
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10466
|
-
* @function Add
|
|
10467
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10468
|
-
* @param {"storage"} event - Event name without the 'on' prefix.
|
|
10469
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10470
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackStorage} eventFunction - JavaScript function to register.
|
|
10471
|
-
*/
|
|
10472
|
-
public Add(element:EventTarget, event:"storage", options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackStorage):void;
|
|
10473
|
-
/**
|
|
10474
|
-
* Registers handler for specified event on given DOMElement and returns Event ID.
|
|
10475
|
-
* @function Add
|
|
10476
|
-
* @param {HTMLElement} element - DOM element on to which event handler is registered.
|
|
10477
|
-
* @param {"#rooted"} event - Event name.
|
|
10478
|
-
* @param {{ Id?: string }} options - This argument is ignored for the specialized #rooted event.
|
|
10479
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackRooted} eventFunction - JavaScript function to register.
|
|
10480
|
-
*/
|
|
10481
|
-
public Add(element:HTMLElement, event:"#rooted", options:{ Id?: string }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackRooted):void;
|
|
10482
|
-
/**
|
|
10483
|
-
* Registers handler for specified event on given DOMElement and returns Event ID.
|
|
10484
|
-
* @function Add
|
|
10485
|
-
* @param {HTMLElement} element - DOM element on to which event handler is registered.
|
|
10486
|
-
* @param {"#mutation"} event - Event name.
|
|
10487
|
-
* @param {{ Id?: String, Deep?: boolean }} options - This argument is ignored for the specialized #rooted event.
|
|
10488
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackRooted} eventFunction - JavaScript function to register.
|
|
10489
|
-
*/
|
|
10490
|
-
public Add(element:HTMLElement, event:"#mutation", options:{ Id?: __fitUiAliasString, Deep?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackRooted):void;
|
|
10491
|
-
/**
|
|
10492
|
-
* Registers event handler for specified event on given EventTarget.
|
|
10493
|
-
* @function Add
|
|
10494
|
-
* @param {EventTarget} element - EventTarget (e.g. Window or DOMElement) on to which event handler is registered.
|
|
10495
|
-
* @param {string} event - Event name without 'on' prefix (e.g. 'load', 'mouseover', 'click' etc.).
|
|
10496
|
-
* @param {{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }} options - Set additional options - not guaranteed to be cross browser compatible!.
|
|
10497
|
-
* @param {Fit.EventsTypeDefs.EventHandlerCallbackGeneric} eventFunction - JavaScript function to register.
|
|
10498
|
-
*/
|
|
10499
|
-
public Add(element:EventTarget, event:string, options:{ Id?: string, Capture?: boolean, Once?: boolean, Passive?: boolean }, eventFunction:Fit.EventsTypeDefs.EventHandlerCallbackGeneric):void;
|
|
10500
|
-
/**
|
|
10501
|
-
* Create instance of EventManager.
|
|
10502
|
-
* @function EventManager
|
|
10503
|
-
*/
|
|
10504
|
-
constructor();
|
|
10505
|
-
/**
|
|
10506
|
-
* Move event handler by event ID to another DOMElement.
|
|
10507
|
-
* @function Move
|
|
10508
|
-
* @param {number} id - Event ID identifying handler to move.
|
|
10509
|
-
* @param {HTMLElement} newElm - DOM element to which event handler is moved.
|
|
10510
|
-
*/
|
|
10511
|
-
public Move(id:number, newElm:HTMLElement):void;
|
|
10512
|
-
/**
|
|
10513
|
-
* Invoke event handler by event ID.
|
|
10514
|
-
* @function Move
|
|
10515
|
-
* @param {number} id - Event ID identifying handler to invoke.
|
|
10516
|
-
* @param {any[]} [args=undefined] - Event handler arguments.
|
|
10517
|
-
* @param {any} [thisArg=undefined] - The value 'this' resolves to within event handler.
|
|
10518
|
-
*/
|
|
10519
|
-
public Move(id:number, args?:any[], thisArg?:any):void;
|
|
10520
|
-
/**
|
|
10521
|
-
* Removes event handler by event ID.
|
|
10522
|
-
* @function Remove
|
|
10523
|
-
* @param {number} id - Event ID identifying handler to remove.
|
|
10524
|
-
*/
|
|
10525
|
-
public Remove(id:number):void;
|
|
10526
|
-
/**
|
|
10527
|
-
* Remove all event handlers registered.
|
|
10528
|
-
* @function RemoveAll
|
|
10529
|
-
*/
|
|
10530
|
-
public RemoveAll():void;
|
|
10531
|
-
}
|
|
10532
|
-
/**
|
|
10533
10307
|
* Event handler functionality.
|
|
10534
10308
|
* @class [Fit.Events Events]
|
|
10535
10309
|
*/
|
|
@@ -12367,13 +12141,6 @@ declare namespace Fit
|
|
|
12367
12141
|
{
|
|
12368
12142
|
// Functions defined by Fit.DragDrop.Draggable
|
|
12369
12143
|
/**
|
|
12370
|
-
* Get next z-index which will place an element above any draggable element.
|
|
12371
|
-
* @function GetNextZindex
|
|
12372
|
-
* @static
|
|
12373
|
-
* @returns number
|
|
12374
|
-
*/
|
|
12375
|
-
public static GetNextZindex():number;
|
|
12376
|
-
/**
|
|
12377
12144
|
* Bring draggable to front.
|
|
12378
12145
|
* @function BringToFront
|
|
12379
12146
|
*/
|
|
@@ -12434,6 +12201,13 @@ declare namespace Fit
|
|
|
12434
12201
|
* @returns boolean
|
|
12435
12202
|
*/
|
|
12436
12203
|
public ReturnFocus(val?:boolean):boolean;
|
|
12204
|
+
/**
|
|
12205
|
+
* Get next z-index which will place an element above any draggable element.
|
|
12206
|
+
* @function GetNextZindex
|
|
12207
|
+
* @static
|
|
12208
|
+
* @returns number
|
|
12209
|
+
*/
|
|
12210
|
+
public static GetNextZindex():number;
|
|
12437
12211
|
}
|
|
12438
12212
|
/**
|
|
12439
12213
|
*
|