fit-ui 2.12.0 → 2.12.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.
Files changed (100) hide show
  1. package/dist/Documentation.html +1 -1
  2. package/dist/Fit.UI.js +24 -3
  3. package/dist/Fit.UI.min.js +1 -1
  4. package/dist/Resources/{ckeditor → CKEditor}/CHANGES.md +0 -0
  5. package/dist/Resources/{ckeditor → CKEditor}/LICENSE.md +0 -0
  6. package/dist/Resources/{ckeditor → CKEditor}/README-FitUiChanges.txt +0 -0
  7. package/dist/Resources/{ckeditor → CKEditor}/README.md +0 -0
  8. package/dist/Resources/{ckeditor → CKEditor}/adapters/jquery.js +0 -0
  9. package/dist/Resources/{ckeditor → CKEditor}/build-config.js +0 -0
  10. package/dist/Resources/{ckeditor → CKEditor}/ckeditor.js +0 -0
  11. package/dist/Resources/{ckeditor → CKEditor}/config.js +0 -0
  12. package/dist/Resources/{ckeditor → CKEditor}/contents.css +0 -0
  13. package/dist/Resources/{ckeditor → CKEditor}/lang/da.js +0 -0
  14. package/dist/Resources/{ckeditor → CKEditor}/lang/de.js +0 -0
  15. package/dist/Resources/{ckeditor → CKEditor}/lang/en.js +0 -0
  16. package/dist/Resources/{ckeditor → CKEditor}/plugins/autocomplete/skins/default.css +0 -0
  17. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/LICENSE.md +0 -0
  18. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/README.md +0 -0
  19. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/dialogs/base64image.js +0 -0
  20. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/dialogs/base64image.original.js +0 -0
  21. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/icons/base64image.png +0 -0
  22. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/icons/hidpi/base64image.png +0 -0
  23. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/lang/da.js +0 -0
  24. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/lang/de.js +0 -0
  25. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/lang/en.js +0 -0
  26. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64image/plugin.js +0 -0
  27. package/dist/Resources/{ckeditor → CKEditor}/plugins/base64imagepaste/plugin.js +0 -0
  28. package/dist/Resources/{ckeditor → CKEditor}/plugins/clipboard/dialogs/paste.js +0 -0
  29. package/dist/Resources/{ckeditor → CKEditor}/plugins/custombuttons/plugin.js +0 -0
  30. package/dist/Resources/{ckeditor → CKEditor}/plugins/dialog/dialogDefinition.js +0 -0
  31. package/dist/Resources/{ckeditor → CKEditor}/plugins/dialog/styles/dialog.css +0 -0
  32. package/dist/Resources/{ckeditor → CKEditor}/plugins/dragresize/LICENSE +0 -0
  33. package/dist/Resources/{ckeditor → CKEditor}/plugins/dragresize/_source.css +0 -0
  34. package/dist/Resources/{ckeditor → CKEditor}/plugins/dragresize/package.json +0 -0
  35. package/dist/Resources/{ckeditor → CKEditor}/plugins/dragresize/plugin.js +0 -0
  36. package/dist/Resources/{ckeditor → CKEditor}/plugins/dragresize/readme.md +0 -0
  37. package/dist/Resources/{ckeditor → CKEditor}/plugins/emoji/assets/iconsall.png +0 -0
  38. package/dist/Resources/{ckeditor → CKEditor}/plugins/emoji/assets/iconsall.svg +0 -0
  39. package/dist/Resources/{ckeditor → CKEditor}/plugins/emoji/emoji.json +0 -0
  40. package/dist/Resources/{ckeditor → CKEditor}/plugins/emoji/skins/default.css +0 -0
  41. package/dist/Resources/{ckeditor → CKEditor}/plugins/icons.png +0 -0
  42. package/dist/Resources/{ckeditor → CKEditor}/plugins/icons_hidpi.png +0 -0
  43. package/dist/Resources/{ckeditor → CKEditor}/plugins/link/dialogs/anchor.js +0 -0
  44. package/dist/Resources/{ckeditor → CKEditor}/plugins/link/dialogs/link.js +0 -0
  45. package/dist/Resources/{ckeditor → CKEditor}/plugins/link/images/anchor.png +0 -0
  46. package/dist/Resources/{ckeditor → CKEditor}/plugins/link/images/hidpi/anchor.png +0 -0
  47. package/dist/Resources/{ckeditor → CKEditor}/plugins/pastefromword/filter/default.js +0 -0
  48. package/dist/Resources/{ckeditor → CKEditor}/plugins/pastetools/filter/common.js +0 -0
  49. package/dist/Resources/{ckeditor → CKEditor}/plugins/pastetools/filter/image.js +0 -0
  50. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog.css +0 -0
  51. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog_ie.css +0 -0
  52. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog_ie7.css +0 -0
  53. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog_ie8.css +0 -0
  54. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog_iequirks.css +0 -0
  55. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/dialog_opera.css +0 -0
  56. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor.css +0 -0
  57. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor_gecko.css +0 -0
  58. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor_ie.css +0 -0
  59. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor_ie7.css +0 -0
  60. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor_ie8.css +0 -0
  61. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/editor_iequirks.css +0 -0
  62. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/icons.png +0 -0
  63. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/icons_hidpi.png +0 -0
  64. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/arrow.png +0 -0
  65. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/close.png +0 -0
  66. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/hidpi/close.png +0 -0
  67. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
  68. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/hidpi/lock.png +0 -0
  69. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/hidpi/refresh.png +0 -0
  70. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/lock-open.png +0 -0
  71. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/lock.png +0 -0
  72. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/images/refresh.png +0 -0
  73. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/readme.md +0 -0
  74. package/dist/Resources/{ckeditor → CKEditor}/skins/bootstrapck/skin.js +0 -0
  75. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/dialog.css +0 -0
  76. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/dialog_ie.css +0 -0
  77. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/dialog_ie8.css +0 -0
  78. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/dialog_iequirks.css +0 -0
  79. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/editor.css +0 -0
  80. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/editor_gecko.css +0 -0
  81. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/editor_ie.css +0 -0
  82. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/editor_ie8.css +0 -0
  83. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/editor_iequirks.css +0 -0
  84. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/icons.png +0 -0
  85. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/icons_hidpi.png +0 -0
  86. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/arrow.png +0 -0
  87. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/close.png +0 -0
  88. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/hidpi/close.png +0 -0
  89. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  90. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/hidpi/lock.png +0 -0
  91. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  92. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/lock-open.png +0 -0
  93. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/lock.png +0 -0
  94. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/refresh.png +0 -0
  95. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/images/spinner.gif +0 -0
  96. package/dist/Resources/{ckeditor → CKEditor}/skins/moono-lisa/readme.md +0 -0
  97. package/dist/Resources/{ckeditor → CKEditor}/styles.js +0 -0
  98. package/dist/Resources/{ckeditor → CKEditor}/vendor/promise.js +0 -0
  99. package/package.json +1 -1
  100. package/types/index.d.ts +142 -136
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fit-ui",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
4
4
  "title": "Fit.UI",
5
5
  "description": "Object Oriented framework for building rich User Interfaces",
6
6
  "main": "dist/Fit.UI.js",
package/types/index.d.ts CHANGED
@@ -2403,36 +2403,6 @@ declare namespace Fit
2403
2403
  {
2404
2404
  // Functions defined by Fit.Controls.Dialog
2405
2405
  /**
2406
- * Display alert dialog.
2407
- * @function Alert
2408
- * @static
2409
- * @param {string} content - Content to display in alert dialog.
2410
- * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2411
- * @returns Fit.Controls.DialogInterface
2412
- */
2413
- public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2414
- /**
2415
- * Display confirmation dialog with OK and Cancel buttons.
2416
- * @function Confirm
2417
- * @static
2418
- * @param {string} content - Content to display in confirmation dialog.
2419
- * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2420
- True is passed to callback function when OK is clicked, otherwise False.
2421
- * @returns Fit.Controls.DialogInterface
2422
- */
2423
- public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2424
- /**
2425
- * Display prompt dialog that allows for user input.
2426
- * @function Prompt
2427
- * @static
2428
- * @param {string} content - Content to display in prompt dialog.
2429
- * @param {string} defaultValue - Default value in input field.
2430
- * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2431
- Value entered in input field is passed, null if prompt is canceled.
2432
- * @returns Fit.Controls.DialogInterface
2433
- */
2434
- public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2435
- /**
2436
2406
  * Add button to dialog.
2437
2407
  * @function AddButton
2438
2408
  * @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
@@ -2624,6 +2594,36 @@ declare namespace Fit
2624
2594
  * @returns Fit.TypeDefs.CssValue
2625
2595
  */
2626
2596
  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;
2597
+ /**
2598
+ * Display alert dialog.
2599
+ * @function Alert
2600
+ * @static
2601
+ * @param {string} content - Content to display in alert dialog.
2602
+ * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2603
+ * @returns Fit.Controls.DialogInterface
2604
+ */
2605
+ public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2606
+ /**
2607
+ * Display confirmation dialog with OK and Cancel buttons.
2608
+ * @function Confirm
2609
+ * @static
2610
+ * @param {string} content - Content to display in confirmation dialog.
2611
+ * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2612
+ True is passed to callback function when OK is clicked, otherwise False.
2613
+ * @returns Fit.Controls.DialogInterface
2614
+ */
2615
+ public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2616
+ /**
2617
+ * Display prompt dialog that allows for user input.
2618
+ * @function Prompt
2619
+ * @static
2620
+ * @param {string} content - Content to display in prompt dialog.
2621
+ * @param {string} defaultValue - Default value in input field.
2622
+ * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2623
+ Value entered in input field is passed, null if prompt is canceled.
2624
+ * @returns Fit.Controls.DialogInterface
2625
+ */
2626
+ public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2627
2627
  // Functions defined by Fit.Controls.Component
2628
2628
  /**
2629
2629
  * Destroys control to free up memory.
@@ -2712,36 +2712,6 @@ declare namespace Fit
2712
2712
  public Value(val?:string):string;
2713
2713
  // Functions defined by Fit.Controls.Dialog
2714
2714
  /**
2715
- * Display alert dialog.
2716
- * @function Alert
2717
- * @static
2718
- * @param {string} content - Content to display in alert dialog.
2719
- * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2720
- * @returns Fit.Controls.DialogInterface
2721
- */
2722
- public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2723
- /**
2724
- * Display confirmation dialog with OK and Cancel buttons.
2725
- * @function Confirm
2726
- * @static
2727
- * @param {string} content - Content to display in confirmation dialog.
2728
- * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2729
- True is passed to callback function when OK is clicked, otherwise False.
2730
- * @returns Fit.Controls.DialogInterface
2731
- */
2732
- public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2733
- /**
2734
- * Display prompt dialog that allows for user input.
2735
- * @function Prompt
2736
- * @static
2737
- * @param {string} content - Content to display in prompt dialog.
2738
- * @param {string} defaultValue - Default value in input field.
2739
- * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2740
- Value entered in input field is passed, null if prompt is canceled.
2741
- * @returns Fit.Controls.DialogInterface
2742
- */
2743
- public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2744
- /**
2745
2715
  * Add button to dialog.
2746
2716
  * @function AddButton
2747
2717
  * @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
@@ -2927,6 +2897,36 @@ declare namespace Fit
2927
2897
  * @returns Fit.TypeDefs.CssValue
2928
2898
  */
2929
2899
  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;
2900
+ /**
2901
+ * Display alert dialog.
2902
+ * @function Alert
2903
+ * @static
2904
+ * @param {string} content - Content to display in alert dialog.
2905
+ * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2906
+ * @returns Fit.Controls.DialogInterface
2907
+ */
2908
+ public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2909
+ /**
2910
+ * Display confirmation dialog with OK and Cancel buttons.
2911
+ * @function Confirm
2912
+ * @static
2913
+ * @param {string} content - Content to display in confirmation dialog.
2914
+ * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2915
+ True is passed to callback function when OK is clicked, otherwise False.
2916
+ * @returns Fit.Controls.DialogInterface
2917
+ */
2918
+ public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2919
+ /**
2920
+ * Display prompt dialog that allows for user input.
2921
+ * @function Prompt
2922
+ * @static
2923
+ * @param {string} content - Content to display in prompt dialog.
2924
+ * @param {string} defaultValue - Default value in input field.
2925
+ * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2926
+ Value entered in input field is passed, null if prompt is canceled.
2927
+ * @returns Fit.Controls.DialogInterface
2928
+ */
2929
+ public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2930
2930
  // Functions defined by Fit.Controls.Component
2931
2931
  /**
2932
2932
  * Destroys control to free up memory.
@@ -7054,6 +7054,11 @@ declare namespace Fit
7054
7054
  */
7055
7055
  public TreeViewEnabled(val?:boolean):boolean;
7056
7056
  /**
7057
+ * Update action menu to make it reflect availablity of data in TreeView.
7058
+ * @function UpdateActionMenu
7059
+ */
7060
+ public UpdateActionMenu():void;
7061
+ /**
7057
7062
  * Get/set URL to WebService responsible for providing data to drop down.
7058
7063
  WebService must deliver data in the following JSON format:
7059
7064
  [
@@ -7084,8 +7089,9 @@ declare namespace Fit
7084
7089
  and extra step (click) required by the user to access data.
7085
7090
  * @function UseActionMenu
7086
7091
  * @param {boolean} [val=undefined] - If defined, True enables the action menu, False disables it.
7092
+ * @returns boolean
7087
7093
  */
7088
- public UseActionMenu(val?:boolean):void;
7094
+ public UseActionMenu(val?:boolean):boolean;
7089
7095
  /**
7090
7096
  * Create instance of WSDropDown control.
7091
7097
  * @function WSDropDown
@@ -9300,6 +9306,74 @@ declare namespace Fit
9300
9306
  {
9301
9307
  // Functions defined by Fit.Cookies
9302
9308
  /**
9309
+ * Create instance of cookie container isolated to either current path (default)
9310
+ or a custom path, and optionally an alternative part of the domain (by default
9311
+ cookies are available only on the current domain, while defining a domain makes
9312
+ cookies available to that particular domain and subdomains).
9313
+ * @function Cookies
9314
+ */
9315
+ constructor();
9316
+ /**
9317
+ * Get/set portion of domain to which cookies are isolated.
9318
+ * @function Domain
9319
+ * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
9320
+ Null to unset it to make cookies available to current domain only (excluding subdomains).
9321
+ * @returns string | null
9322
+ */
9323
+ public Domain(val?:string | null):string | null;
9324
+ /**
9325
+ * Returns cookie value if found, otherwise Null.
9326
+ * @function Get
9327
+ * @param {string} name - Unique cookie name.
9328
+ * @returns string | null
9329
+ */
9330
+ public Get(name:string):string | null;
9331
+ /**
9332
+ * Get/set path to which cookies are isolated.
9333
+ * @function Path
9334
+ * @param {string} [val=undefined] - If defined, changes isolation to specified path.
9335
+ * @returns string
9336
+ */
9337
+ public Path(val?:string):string;
9338
+ /**
9339
+ * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
9340
+ Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
9341
+ is completely transparent.
9342
+ * @function Prefix
9343
+ * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
9344
+ * @returns string | null
9345
+ */
9346
+ public Prefix(val?:string):string | null;
9347
+ /**
9348
+ * Remove cookie.
9349
+ * @function Remove
9350
+ * @param {string} name - Unique cookie name.
9351
+ */
9352
+ public Remove(name:string):void;
9353
+ /**
9354
+ * Get/set SameSite policy.
9355
+ * @function SameSite
9356
+ * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
9357
+ * @returns string | null
9358
+ */
9359
+ public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
9360
+ /**
9361
+ * Get/set Secure flag.
9362
+ * @function Secure
9363
+ * @param {boolean} [val=undefined] - If defined, changes Secure flag.
9364
+ * @returns boolean
9365
+ */
9366
+ public Secure(val?:boolean):boolean;
9367
+ /**
9368
+ * Create or update cookie.
9369
+ * @function Set
9370
+ * @param {string} name - Unique cookie name.
9371
+ * @param {string} value - Cookie value (cannot contain semicolon!).
9372
+ * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
9373
+ no expiration time will cause it to expire when session ends.
9374
+ */
9375
+ public Set(name:string, value:string, seconds?:number):void;
9376
+ /**
9303
9377
  * Returns cookie value if found, otherwise Null.
9304
9378
  * @function Get
9305
9379
  * @static
@@ -9369,74 +9443,6 @@ declare namespace Fit
9369
9443
  * @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
9370
9444
  */
9371
9445
  public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
9372
- /**
9373
- * Create instance of cookie container isolated to either current path (default)
9374
- or a custom path, and optionally an alternative part of the domain (by default
9375
- cookies are available only on the current domain, while defining a domain makes
9376
- cookies available to that particular domain and subdomains).
9377
- * @function Cookies
9378
- */
9379
- constructor();
9380
- /**
9381
- * Get/set portion of domain to which cookies are isolated.
9382
- * @function Domain
9383
- * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
9384
- Null to unset it to make cookies available to current domain only (excluding subdomains).
9385
- * @returns string | null
9386
- */
9387
- public Domain(val?:string | null):string | null;
9388
- /**
9389
- * Returns cookie value if found, otherwise Null.
9390
- * @function Get
9391
- * @param {string} name - Unique cookie name.
9392
- * @returns string | null
9393
- */
9394
- public Get(name:string):string | null;
9395
- /**
9396
- * Get/set path to which cookies are isolated.
9397
- * @function Path
9398
- * @param {string} [val=undefined] - If defined, changes isolation to specified path.
9399
- * @returns string
9400
- */
9401
- public Path(val?:string):string;
9402
- /**
9403
- * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
9404
- Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
9405
- is completely transparent.
9406
- * @function Prefix
9407
- * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
9408
- * @returns string | null
9409
- */
9410
- public Prefix(val?:string):string | null;
9411
- /**
9412
- * Remove cookie.
9413
- * @function Remove
9414
- * @param {string} name - Unique cookie name.
9415
- */
9416
- public Remove(name:string):void;
9417
- /**
9418
- * Get/set SameSite policy.
9419
- * @function SameSite
9420
- * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
9421
- * @returns string | null
9422
- */
9423
- public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
9424
- /**
9425
- * Get/set Secure flag.
9426
- * @function Secure
9427
- * @param {boolean} [val=undefined] - If defined, changes Secure flag.
9428
- * @returns boolean
9429
- */
9430
- public Secure(val?:boolean):boolean;
9431
- /**
9432
- * Create or update cookie.
9433
- * @function Set
9434
- * @param {string} name - Unique cookie name.
9435
- * @param {string} value - Cookie value (cannot contain semicolon!).
9436
- * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
9437
- no expiration time will cause it to expire when session ends.
9438
- */
9439
- public Set(name:string, value:string, seconds?:number):void;
9440
9446
  }
9441
9447
  /**
9442
9448
  * Core features extending the capabilities of native JS.
@@ -11901,13 +11907,6 @@ declare namespace Fit
11901
11907
  {
11902
11908
  // Functions defined by Fit.DragDrop.Draggable
11903
11909
  /**
11904
- * Get next z-index which will place an element above any draggable element.
11905
- * @function GetNextZindex
11906
- * @static
11907
- * @returns number
11908
- */
11909
- public static GetNextZindex():number;
11910
- /**
11911
11910
  * Bring draggable to front.
11912
11911
  * @function BringToFront
11913
11912
  */
@@ -11968,6 +11967,13 @@ declare namespace Fit
11968
11967
  * @returns boolean
11969
11968
  */
11970
11969
  public ReturnFocus(val?:boolean):boolean;
11970
+ /**
11971
+ * Get next z-index which will place an element above any draggable element.
11972
+ * @function GetNextZindex
11973
+ * @static
11974
+ * @returns number
11975
+ */
11976
+ public static GetNextZindex():number;
11971
11977
  }
11972
11978
  /**
11973
11979
  *