fit-ui 2.8.2 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/Controls/Input/maximize-highres.png +0 -0
  2. package/dist/Controls/Input/maximize.png +0 -0
  3. package/dist/Documentation.html +3 -3
  4. package/dist/Fit.UI.css +71 -6
  5. package/dist/Fit.UI.js +1017 -114
  6. package/dist/Fit.UI.min.css +2 -2
  7. package/dist/Fit.UI.min.js +1 -1
  8. package/dist/Resources/CKEditor/plugins/custombuttons/plugin.js +34 -0
  9. package/dist/Resources/CKEditor-with-maximize-button/CHANGES.md +2148 -0
  10. package/dist/Resources/CKEditor-with-maximize-button/LICENSE.md +1436 -0
  11. package/dist/Resources/CKEditor-with-maximize-button/README-FitUiChanges.txt +8 -0
  12. package/dist/Resources/CKEditor-with-maximize-button/README.md +39 -0
  13. package/dist/Resources/CKEditor-with-maximize-button/adapters/jquery.js +10 -0
  14. package/dist/Resources/CKEditor-with-maximize-button/build-config.js +79 -0
  15. package/dist/Resources/CKEditor-with-maximize-button/ckeditor.js +987 -0
  16. package/dist/Resources/CKEditor-with-maximize-button/config.js +34 -0
  17. package/dist/Resources/CKEditor-with-maximize-button/contents.css +208 -0
  18. package/dist/Resources/CKEditor-with-maximize-button/lang/da.js +5 -0
  19. package/dist/Resources/CKEditor-with-maximize-button/lang/de.js +5 -0
  20. package/dist/Resources/CKEditor-with-maximize-button/lang/en.js +5 -0
  21. package/dist/Resources/CKEditor-with-maximize-button/plugins/autocomplete/skins/default.css +38 -0
  22. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/LICENSE.md +1244 -0
  23. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/README.md +21 -0
  24. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.js +766 -0
  25. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.original.js +503 -0
  26. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/base64image.png +0 -0
  27. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/hidpi/base64image.png +0 -0
  28. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/da.js +12 -0
  29. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/de.js +12 -0
  30. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/en.js +12 -0
  31. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/plugin.js +58 -0
  32. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64imagepaste/plugin.js +91 -0
  33. package/dist/Resources/CKEditor-with-maximize-button/plugins/clipboard/dialogs/paste.js +11 -0
  34. package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/icons/custombuttons.png +0 -0
  35. package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/plugin.js +99 -0
  36. package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/dialogDefinition.js +4 -0
  37. package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/styles/dialog.css +18 -0
  38. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/LICENSE +19 -0
  39. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/_source.css +85 -0
  40. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/package.json +19 -0
  41. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/plugin.js +395 -0
  42. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/readme.md +35 -0
  43. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.png +0 -0
  44. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.svg +58 -0
  45. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/emoji.json +1 -0
  46. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/skins/default.css +237 -0
  47. package/dist/Resources/CKEditor-with-maximize-button/plugins/icons.png +0 -0
  48. package/dist/Resources/CKEditor-with-maximize-button/plugins/icons_hidpi.png +0 -0
  49. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/anchor.js +8 -0
  50. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/link.js +30 -0
  51. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/anchor.png +0 -0
  52. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/hidpi/anchor.png +0 -0
  53. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastefromword/filter/default.js +42 -0
  54. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/common.js +24 -0
  55. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/image.js +12 -0
  56. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog.css +1 -0
  57. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie.css +1 -0
  58. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie7.css +1 -0
  59. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie8.css +1 -0
  60. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_iequirks.css +1 -0
  61. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_opera.css +1 -0
  62. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor.css +1 -0
  63. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_gecko.css +1 -0
  64. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie.css +1 -0
  65. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie7.css +1 -0
  66. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie8.css +1 -0
  67. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_iequirks.css +1 -0
  68. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons.png +0 -0
  69. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons_hidpi.png +0 -0
  70. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/arrow.png +0 -0
  71. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/close.png +0 -0
  72. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/close.png +0 -0
  73. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
  74. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock.png +0 -0
  75. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/refresh.png +0 -0
  76. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock-open.png +0 -0
  77. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock.png +0 -0
  78. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/refresh.png +0 -0
  79. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/readme.md +35 -0
  80. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/skin.js +10 -0
  81. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog.css +5 -0
  82. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie.css +5 -0
  83. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie8.css +5 -0
  84. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_iequirks.css +5 -0
  85. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor.css +5 -0
  86. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_gecko.css +5 -0
  87. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie.css +5 -0
  88. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie8.css +5 -0
  89. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_iequirks.css +5 -0
  90. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons.png +0 -0
  91. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons_hidpi.png +0 -0
  92. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/arrow.png +0 -0
  93. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/close.png +0 -0
  94. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/close.png +0 -0
  95. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  96. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock.png +0 -0
  97. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  98. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock-open.png +0 -0
  99. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock.png +0 -0
  100. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/refresh.png +0 -0
  101. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/spinner.gif +0 -0
  102. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/readme.md +46 -0
  103. package/dist/Resources/CKEditor-with-maximize-button/styles.js +137 -0
  104. package/dist/Resources/CKEditor-with-maximize-button/vendor/promise.js +13 -0
  105. package/package.json +1 -1
  106. package/types/index.d.ts +266 -113
  107. 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 devices currently being used is a mobile device or not.
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
@@ -2356,42 +2363,17 @@ declare namespace Fit
2356
2363
  {
2357
2364
  // Functions defined by Fit.Controls.Dialog
2358
2365
  /**
2359
- * Display alert dialog.
2360
- * @function Alert
2361
- * @static
2362
- * @param {string} content - Content to display in alert dialog.
2363
- * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2364
- * @returns Fit.Controls.DialogInterface
2365
- */
2366
- public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2367
- /**
2368
- * Display confirmation dialog with OK and Cancel buttons.
2369
- * @function Confirm
2370
- * @static
2371
- * @param {string} content - Content to display in confirmation dialog.
2372
- * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2373
- True is passed to callback function when OK is clicked, otherwise False.
2374
- * @returns Fit.Controls.DialogInterface
2375
- */
2376
- public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2377
- /**
2378
- * Display prompt dialog that allows for user input.
2379
- * @function Prompt
2380
- * @static
2381
- * @param {string} content - Content to display in prompt dialog.
2382
- * @param {string} defaultValue - Default value in input field.
2383
- * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2384
- Value entered in input field is passed, null if prompt is canceled.
2385
- * @returns Fit.Controls.DialogInterface
2386
- */
2387
- public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2388
- /**
2389
2366
  * Add button to dialog.
2390
2367
  * @function AddButton
2391
2368
  * @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
2392
2369
  */
2393
2370
  public AddButton(btn:Fit.Controls.Button):void;
2394
2371
  /**
2372
+ * Bring draggable dialog to front.
2373
+ * @function BringToFront
2374
+ */
2375
+ public BringToFront():void;
2376
+ /**
2395
2377
  * Close dialog.
2396
2378
  * @function Close
2397
2379
  */
@@ -2427,6 +2409,13 @@ declare namespace Fit
2427
2409
  */
2428
2410
  public Dismissible(val?:boolean, disposeOnDismiss?:boolean):boolean;
2429
2411
  /**
2412
+ * Get/set flag indicating whether dialog can be moved around on screen.
2413
+ * @function Draggable
2414
+ * @param {boolean} [val=undefined] - If defined, a value of True enables dragging, False disables it (default).
2415
+ * @returns boolean
2416
+ */
2417
+ public Draggable(val?:boolean):boolean;
2418
+ /**
2430
2419
  * Get dialog content element.
2431
2420
  * @function GetContentDomElement
2432
2421
  * @returns HTMLElement
@@ -2539,6 +2528,13 @@ declare namespace Fit
2539
2528
  */
2540
2529
  public RemoveButton(btn:Fit.Controls.Button, dispose?:boolean):void;
2541
2530
  /**
2531
+ * Get/set flag indicating whether dialog can be resized by the user.
2532
+ * @function Resizable
2533
+ * @param {boolean} [val=undefined] - If defined, a value of True enables resizing, False disables it (default).
2534
+ * @returns boolean
2535
+ */
2536
+ public Resizable(val?:boolean):boolean;
2537
+ /**
2542
2538
  * Get/set title - returns null if not set, and null can be passed to remove title.
2543
2539
  * @function Title
2544
2540
  * @param {string | null} [val=undefined] - If specified, dialog title is updated with specified value.
@@ -2553,6 +2549,36 @@ declare namespace Fit
2553
2549
  * @returns Fit.TypeDefs.CssValue
2554
2550
  */
2555
2551
  public Width(val?:number, unit?:Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"):Fit.TypeDefs.CssValue;
2552
+ /**
2553
+ * Display alert dialog.
2554
+ * @function Alert
2555
+ * @static
2556
+ * @param {string} content - Content to display in alert dialog.
2557
+ * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2558
+ * @returns Fit.Controls.DialogInterface
2559
+ */
2560
+ public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2561
+ /**
2562
+ * Display confirmation dialog with OK and Cancel buttons.
2563
+ * @function Confirm
2564
+ * @static
2565
+ * @param {string} content - Content to display in confirmation dialog.
2566
+ * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2567
+ True is passed to callback function when OK is clicked, otherwise False.
2568
+ * @returns Fit.Controls.DialogInterface
2569
+ */
2570
+ public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2571
+ /**
2572
+ * Display prompt dialog that allows for user input.
2573
+ * @function Prompt
2574
+ * @static
2575
+ * @param {string} content - Content to display in prompt dialog.
2576
+ * @param {string} defaultValue - Default value in input field.
2577
+ * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2578
+ Value entered in input field is passed, null if prompt is canceled.
2579
+ * @returns Fit.Controls.DialogInterface
2580
+ */
2581
+ public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2556
2582
  // Functions defined by Fit.Controls.Component
2557
2583
  /**
2558
2584
  * Destroys control to free up memory.
@@ -4169,6 +4195,11 @@ declare namespace Fit
4169
4195
  */
4170
4196
  AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
4171
4197
  /**
4198
+ * Detachable configuration.
4199
+ * @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
4200
+ */
4201
+ Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
4202
+ /**
4172
4203
  * Information panel configuration.
4173
4204
  * @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
4174
4205
  */
@@ -4233,7 +4264,7 @@ declare namespace Fit
4233
4264
  {
4234
4265
  // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
4235
4266
  /**
4236
- * How to store and embed images. Base64 is persistent while blob (default) is temporary
4267
+ * How to store and embed images. Base64 (default) is persistent while blob is temporary
4237
4268
  and must be extracted from memory and uploaded/stored to be permanantly persisted.
4238
4269
  References to blobs can be parsed from the HTML value produced by the editor.
4239
4270
  * @member {'base64' | 'blob'} [EmbedType=undefined]
@@ -4321,7 +4352,7 @@ declare namespace Fit
4321
4352
 
4322
4353
  The data eventuelly results in a tag being added to the editor with the following format:
4323
4354
  Tag name 1
4324
- The data-tag-data attribute is only declared if the corresponding Data property is defined in data.
4355
+ The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
4325
4356
  * @member {string} QueryUrl
4326
4357
  */
4327
4358
  QueryUrl:string;
@@ -4351,6 +4382,11 @@ declare namespace Fit
4351
4382
  {
4352
4383
  // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
4353
4384
  /**
4385
+ * Enable detach button (defaults to false).
4386
+ * @member {boolean} [Detach=undefined]
4387
+ */
4388
+ Detach?:boolean;
4389
+ /**
4354
4390
  * Enable emoji button (defaults to False).
4355
4391
  * @member {boolean} [Emojis=undefined]
4356
4392
  */
@@ -4397,6 +4433,64 @@ declare namespace Fit
4397
4433
  Sticky?:boolean;
4398
4434
  }
4399
4435
  /**
4436
+ * Detachable configuration.
4437
+ * @class [Fit.Controls.InputTypeDefs.DesignModeDetachable DesignModeDetachable]
4438
+ */
4439
+ class DesignModeDetachable
4440
+ {
4441
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
4442
+ /**
4443
+ * Flag indicating whether dialog is draggable.
4444
+ * @member {boolean} [Draggable=undefined]
4445
+ */
4446
+ Draggable?:boolean;
4447
+ /**
4448
+ * Dialog height.
4449
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
4450
+ */
4451
+ Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4452
+ /**
4453
+ * Flag indicating whether dialog is maximizable.
4454
+ * @member {boolean} [Maximizable=undefined]
4455
+ */
4456
+ Maximizable?:boolean;
4457
+ /**
4458
+ * Flag indicating whether dialog is initially maximized.
4459
+ * @member {boolean} [Maximized=undefined]
4460
+ */
4461
+ Maximized?:boolean;
4462
+ /**
4463
+ * Maximum height of dialog.
4464
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
4465
+ */
4466
+ MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4467
+ /**
4468
+ * Maximum Width of dialog.
4469
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
4470
+ */
4471
+ MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4472
+ /**
4473
+ * Minimum height of dialog.
4474
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
4475
+ */
4476
+ MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4477
+ /**
4478
+ * Minimum width of dialog.
4479
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
4480
+ */
4481
+ MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4482
+ /**
4483
+ * Dialog title.
4484
+ * @member {string} [Title=undefined]
4485
+ */
4486
+ Title?:string;
4487
+ /**
4488
+ * Dialog width.
4489
+ * @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
4490
+ */
4491
+ Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
4492
+ }
4493
+ /**
4400
4494
  * Request handler event arguments.
4401
4495
  * @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
4402
4496
  */
@@ -4455,6 +4549,11 @@ declare namespace Fit
4455
4549
  {
4456
4550
  // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag
4457
4551
  /**
4552
+ * Optional context information to associate with tag.
4553
+ * @member {string} [Context=undefined]
4554
+ */
4555
+ Context?:string;
4556
+ /**
4458
4557
  * Optional data to associate with tag.
4459
4558
  * @member {string} [Data=undefined]
4460
4559
  */
@@ -4511,6 +4610,11 @@ declare namespace Fit
4511
4610
  {
4512
4611
  // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType
4513
4612
  /**
4613
+ * Optional tag context.
4614
+ * @member {string} [Context=undefined]
4615
+ */
4616
+ Context?:string;
4617
+ /**
4514
4618
  * Optional tag data.
4515
4619
  * @member {string} [Data=undefined]
4516
4620
  */
@@ -5246,10 +5350,10 @@ declare namespace Fit
5246
5350
  /**
5247
5351
  * Get/set number of log entries preserved.
5248
5352
  * @function MaxEntries
5249
- * @param {boolean} [val=undefined] - If defined, changes number of log entries preserved.
5353
+ * @param {number} [val=undefined] - If defined, changes number of log entries preserved.
5250
5354
  * @returns number
5251
5355
  */
5252
- public MaxEntries(val?:boolean):number;
5356
+ public MaxEntries(val?:number):number;
5253
5357
  /**
5254
5358
  * Create instance of SoftLog control.
5255
5359
  * @function SoftLog
@@ -8816,6 +8920,74 @@ declare namespace Fit
8816
8920
  {
8817
8921
  // Functions defined by Fit.Cookies
8818
8922
  /**
8923
+ * Create instance of cookie container isolated to either current path (default)
8924
+ or a custom path, and optionally an alternative part of the domain (by default
8925
+ cookies are available only on the current domain, while defining a domain makes
8926
+ cookies available to that particular domain and subdomains).
8927
+ * @function Cookies
8928
+ */
8929
+ constructor();
8930
+ /**
8931
+ * Get/set portion of domain to which cookies are isolated.
8932
+ * @function Domain
8933
+ * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
8934
+ Null to unset it to make cookies available to current domain only (excluding subdomains).
8935
+ * @returns string | null
8936
+ */
8937
+ public Domain(val?:string | null):string | null;
8938
+ /**
8939
+ * Returns cookie value if found, otherwise Null.
8940
+ * @function Get
8941
+ * @param {string} name - Unique cookie name.
8942
+ * @returns string | null
8943
+ */
8944
+ public Get(name:string):string | null;
8945
+ /**
8946
+ * Get/set path to which cookies are isolated.
8947
+ * @function Path
8948
+ * @param {string} [val=undefined] - If defined, changes isolation to specified path.
8949
+ * @returns string
8950
+ */
8951
+ public Path(val?:string):string;
8952
+ /**
8953
+ * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
8954
+ Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
8955
+ is completely transparent.
8956
+ * @function Prefix
8957
+ * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
8958
+ * @returns string | null
8959
+ */
8960
+ public Prefix(val?:string):string | null;
8961
+ /**
8962
+ * Remove cookie.
8963
+ * @function Remove
8964
+ * @param {string} name - Unique cookie name.
8965
+ */
8966
+ public Remove(name:string):void;
8967
+ /**
8968
+ * Get/set SameSite policy.
8969
+ * @function SameSite
8970
+ * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
8971
+ * @returns string | null
8972
+ */
8973
+ public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
8974
+ /**
8975
+ * Get/set Secure flag.
8976
+ * @function Secure
8977
+ * @param {boolean} [val=undefined] - If defined, changes Secure flag.
8978
+ * @returns boolean
8979
+ */
8980
+ public Secure(val?:boolean):boolean;
8981
+ /**
8982
+ * Create or update cookie.
8983
+ * @function Set
8984
+ * @param {string} name - Unique cookie name.
8985
+ * @param {string} value - Cookie value (cannot contain semicolon!).
8986
+ * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
8987
+ no expiration time will cause it to expire when session ends.
8988
+ */
8989
+ public Set(name:string, value:string, seconds?:number):void;
8990
+ /**
8819
8991
  * Returns cookie value if found, otherwise Null.
8820
8992
  * @function Get
8821
8993
  * @static
@@ -8885,80 +9057,12 @@ declare namespace Fit
8885
9057
  * @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
8886
9058
  */
8887
9059
  public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
8888
- /**
8889
- * Create instance of cookie container isolated to either current path (default)
8890
- or a custom path, and optionally an alternative part of the domain (by default
8891
- cookies are available only on the current domain, while defining a domain makes
8892
- cookies available to that particular domain and subdomains).
8893
- * @function Cookies
8894
- */
8895
- constructor();
8896
- /**
8897
- * Get/set portion of domain to which cookies are isolated.
8898
- * @function Domain
8899
- * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
8900
- Null to unset it to make cookies available to current domain only (excluding subdomains).
8901
- * @returns string | null
8902
- */
8903
- public Domain(val?:string | null):string | null;
8904
- /**
8905
- * Returns cookie value if found, otherwise Null.
8906
- * @function Get
8907
- * @param {string} name - Unique cookie name.
8908
- * @returns string | null
8909
- */
8910
- public Get(name:string):string | null;
8911
- /**
8912
- * Get/set path to which cookies are isolated.
8913
- * @function Path
8914
- * @param {string} [val=undefined] - If defined, changes isolation to specified path.
8915
- * @returns string
8916
- */
8917
- public Path(val?:string):string;
8918
- /**
8919
- * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
8920
- Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
8921
- is completely transparent.
8922
- * @function Prefix
8923
- * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
8924
- * @returns string | null
8925
- */
8926
- public Prefix(val?:string):string | null;
8927
- /**
8928
- * Remove cookie.
8929
- * @function Remove
8930
- * @param {string} name - Unique cookie name.
8931
- */
8932
- public Remove(name:string):void;
8933
- /**
8934
- * Get/set SameSite policy.
8935
- * @function SameSite
8936
- * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
8937
- * @returns string | null
8938
- */
8939
- public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
8940
- /**
8941
- * Get/set Secure flag.
8942
- * @function Secure
8943
- * @param {boolean} [val=undefined] - If defined, changes Secure flag.
8944
- * @returns boolean
8945
- */
8946
- public Secure(val?:boolean):boolean;
8947
- /**
8948
- * Create or update cookie.
8949
- * @function Set
8950
- * @param {string} name - Unique cookie name.
8951
- * @param {string} value - Cookie value (cannot contain semicolon!).
8952
- * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
8953
- no expiration time will cause it to expire when session ends.
8954
- */
8955
- public Set(name:string, value:string, seconds?:number):void;
8956
9060
  }
8957
9061
  /**
8958
9062
  * Core features extending the capabilities of native JS.
8959
- * @class [Fit.Core Core]
9063
+ * @namespace [Fit.Core Core]
8960
9064
  */
8961
- class Core
9065
+ namespace Core
8962
9066
  {
8963
9067
  // Functions defined by Fit.Core
8964
9068
  /**
@@ -8982,7 +9086,7 @@ declare namespace Fit
8982
9086
  * @param {ObjectType} obj - JS object to clone.
8983
9087
  * @returns ObjectType
8984
9088
  */
8985
- public static Clone<ObjectType>(obj:ObjectType):ObjectType;
9089
+ export function Clone<ObjectType>(obj:ObjectType):ObjectType;
8986
9090
  /**
8987
9091
  * Create a debouncing function that delays execution the specified number of milliseconds.
8988
9092
  Invoking function multiple times merely postpone execution the specified number of milliseconds.
@@ -8994,7 +9098,7 @@ declare namespace Fit
8994
9098
  * @param {any} [thisArg=undefined] - The value 'this' resolves to within debounced function.
8995
9099
  * @returns Fit.CoreTypeDefs.DebounceFunction
8996
9100
  */
8997
- public static CreateDebouncer(func:Function, timeout:number, thisArg?:any):Fit.CoreTypeDefs.DebounceFunction;
9101
+ export function CreateDebouncer(func:Function, timeout:number, thisArg?:any):Fit.CoreTypeDefs.DebounceFunction;
8998
9102
  /**
8999
9103
  * Create a function override for any given function using the approach below.
9000
9104
 
@@ -9014,7 +9118,7 @@ declare namespace Fit
9014
9118
  * @param {Function} newFunction - Reference to replacement function.
9015
9119
  * @returns Function
9016
9120
  */
9017
- public static CreateOverride(originalFunction:Function, newFunction:Function):Function;
9121
+ export function CreateOverride(originalFunction:Function, newFunction:Function):Function;
9018
9122
  /**
9019
9123
  * Extend any object with the public members of a super class.
9020
9124
 
@@ -9043,7 +9147,7 @@ declare namespace Fit
9043
9147
  * @param {Function} superType - Class (function) to extend from.
9044
9148
  * @returns any
9045
9149
  */
9046
- public static Extend(subInstance:any, superType:Function):any;
9150
+ export function Extend(subInstance:any, superType:Function):any;
9047
9151
  /**
9048
9152
  * Returns boolean indicating whether given object is an extension of a given super type - see Fit.Core.Extend(..).
9049
9153
  Also look into Fit.Core.InstanceOf(..) which may provide the desired behaviour.
@@ -9053,7 +9157,7 @@ declare namespace Fit
9053
9157
  * @param {Function} superType - Reference to super class (function).
9054
9158
  * @returns boolean
9055
9159
  */
9056
- public static Extends(instance:any, superType:Function):boolean;
9160
+ export function Extends(instance:any, superType:Function):boolean;
9057
9161
  /**
9058
9162
  * Returns boolean indicating whether given object is an instance or extension of a given class type - see Fit.Core.Extend(..).
9059
9163
  This is equivalent of: var result = (obj instanceof MyType || Fit.Core.Extends(obj, MyType));.
@@ -9063,7 +9167,7 @@ declare namespace Fit
9063
9167
  * @param {Function} type - Reference to class (function).
9064
9168
  * @returns boolean
9065
9169
  */
9066
- public static InstanceOf(instance:any, type:Function):boolean;
9170
+ export function InstanceOf(instance:any, type:Function):boolean;
9067
9171
  /**
9068
9172
  * Compare two JavaScript objects to determine whether they are identical.
9069
9173
  Returns True if objects are identical (equal), otherwise False.
@@ -9079,7 +9183,7 @@ declare namespace Fit
9079
9183
  * @param {any} jsObj2 - JS object to compare agains first JS object.
9080
9184
  * @returns boolean
9081
9185
  */
9082
- public static IsEqual(jsObj1:any, jsObj2:any):boolean;
9186
+ export function IsEqual(jsObj1:any, jsObj2:any):boolean;
9083
9187
  /**
9084
9188
  * Deep merges two objects and returns the resulting object.
9085
9189
  Take notice of the behaviour and restriction of Fit.Core.Clone(..) since
@@ -9093,9 +9197,23 @@ declare namespace Fit
9093
9197
  * @static
9094
9198
  * @param {ObjectTypeA} targetObject - Target object.
9095
9199
  * @param {ObjectTypeB} mergeObject - Merge object.
9200
+ * @param {Fit.Core.MergeOverwriteBehaviour | "Always" | "Never" | "SkipNullAndUndefined"} [mergeObjectOverwriteBehaviour=undefined] - Overwrite behaviour for merge object.
9096
9201
  * @returns ObjectTypeA & ObjectTypeB
9097
9202
  */
9098
- public static Merge<ObjectTypeA, ObjectTypeB>(targetObject:ObjectTypeA, mergeObject:ObjectTypeB):ObjectTypeA & ObjectTypeB;
9203
+ export function Merge<ObjectTypeA, ObjectTypeB>(targetObject:ObjectTypeA, mergeObject:ObjectTypeB, mergeObjectOverwriteBehaviour?:Fit.Core.MergeOverwriteBehaviour | "Always" | "Never" | "SkipNullAndUndefined"):ObjectTypeA & ObjectTypeB;
9204
+ /**
9205
+ * Merge behaviour.
9206
+ * @enum {string}
9207
+ */
9208
+ enum MergeOverwriteBehaviour
9209
+ {
9210
+ /** Always overwrite property values from target object with property values from merge object (default behaviour). */
9211
+ Always = "Always",
9212
+ /** Never overwrite property values from target object - only add missing property values from merge object. */
9213
+ Never = "Never",
9214
+ /** Always overwrite property values from target object with property values from merge object, except values from merge object that are Null or Undefined. */
9215
+ SkipNullAndUndefined = "SkipNullAndUndefined"
9216
+ }
9099
9217
  }
9100
9218
  /**
9101
9219
  *
@@ -10394,6 +10512,14 @@ declare namespace Fit
10394
10512
  */
10395
10513
  public static Hash(str:string):number;
10396
10514
  /**
10515
+ * Parse and return image blob URLs from image tags.
10516
+ * @function ParseImageBlobUrls
10517
+ * @static
10518
+ * @param {string} str - String to parse.
10519
+ * @returns string[]
10520
+ */
10521
+ public static ParseImageBlobUrls(str:string):string[];
10522
+ /**
10397
10523
  * Removes any HTML contained in string, and returns the raw text value.
10398
10524
  * @function StripHtml
10399
10525
  * @static
@@ -10971,6 +11097,11 @@ declare namespace Fit
10971
11097
  */
10972
11098
  IsTablet:boolean;
10973
11099
  /**
11100
+ * Boolean indicating whether this is a touch enabled device.
11101
+ * @member {boolean} IsTouchEnabled
11102
+ */
11103
+ IsTouchEnabled:boolean;
11104
+ /**
10974
11105
  * Browser language, e.g. en, da, de, etc.
10975
11106
  * @member {string} Language
10976
11107
  */
@@ -11004,6 +11135,11 @@ declare namespace Fit
11004
11135
  */
11005
11136
  IsTablet:boolean;
11006
11137
  /**
11138
+ * Boolean indicating whether this is a touch enabled device.
11139
+ * @member {boolean} IsTouchEnabled
11140
+ */
11141
+ IsTouchEnabled:boolean;
11142
+ /**
11007
11143
  * Browser language, e.g. en, da, de, etc.
11008
11144
  * @member {string} Language
11009
11145
  */
@@ -11043,6 +11179,11 @@ declare namespace Fit
11043
11179
  */
11044
11180
  IsTablet:boolean;
11045
11181
  /**
11182
+ * Boolean indicating whether this is a touch enabled device.
11183
+ * @member {boolean} IsTouchEnabled
11184
+ */
11185
+ IsTouchEnabled:boolean;
11186
+ /**
11046
11187
  * Browser language, e.g. en, da, de, etc.
11047
11188
  * @member {string} Language
11048
11189
  */
@@ -11341,6 +11482,18 @@ declare namespace Fit
11341
11482
  {
11342
11483
  // Functions defined by Fit.DragDrop.Draggable
11343
11484
  /**
11485
+ * Bring draggable to front.
11486
+ * @function BringToFront
11487
+ */
11488
+ public BringToFront():void;
11489
+ /**
11490
+ * Get/set flag indicating whether to bring draggable to front when activated.
11491
+ * @function BringToFrontOnActivation
11492
+ * @param {boolean} [val=undefined] - If defined, a value of True enables functionality, False disables it (default).
11493
+ * @returns boolean
11494
+ */
11495
+ public BringToFrontOnActivation(val?:boolean):boolean;
11496
+ /**
11344
11497
  * Free resources and disable dragging support for DOM element.
11345
11498
  * @function Dispose
11346
11499
  */