fit-ui 2.17.2 → 2.18.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fit-ui",
3
- "version": "2.17.2",
3
+ "version": "2.18.0",
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
@@ -3123,6 +3123,13 @@ declare namespace Fit
3123
3123
  */
3124
3124
  public HighlightFirst(val?:boolean):boolean;
3125
3125
  /**
3126
+ * Get/set value indicating whether HTML is allowed (shown) in selected items.
3127
+ * @function HtmlAllowed
3128
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
3129
+ * @returns boolean
3130
+ */
3131
+ public HtmlAllowed(val?:boolean):boolean;
3132
+ /**
3126
3133
  * Get/set value indicating whether input is enabled.
3127
3134
  * @function InputEnabled
3128
3135
  * @param {boolean} [val=undefined] - If defined, True enables input, False disables it.
@@ -5058,6 +5065,13 @@ declare namespace Fit
5058
5065
  */
5059
5066
  public HasItem(value:string):boolean;
5060
5067
  /**
5068
+ * Get/set value indicating whether HTML is allowed (shown) in ListView items.
5069
+ * @function HtmlAllowed
5070
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
5071
+ * @returns boolean
5072
+ */
5073
+ public HtmlAllowed(val?:boolean):boolean;
5074
+ /**
5061
5075
  * Create instance of ListView control.
5062
5076
  * @function ListView
5063
5077
  * @param {string} [controlId=undefined] - Unique control ID that can be used to access control using Fit.Controls.Find(..).
@@ -5904,6 +5918,13 @@ declare namespace Fit
5904
5918
  */
5905
5919
  public GetNodeFocused():Fit.Controls.TreeViewNode | null;
5906
5920
  /**
5921
+ * Get/set value indicating whether HTML is allowed (shown) in TreeView nodes.
5922
+ * @function HtmlAllowed
5923
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
5924
+ * @returns boolean
5925
+ */
5926
+ public HtmlAllowed(val?:boolean):boolean;
5927
+ /**
5907
5928
  * Get/set value indicating whether keyboard navigation is enabled.
5908
5929
  * @function KeyboardNavigation
5909
5930
  * @param {boolean} [val=undefined] - If defined, True enables keyboard navigation, False disables it.
@@ -6548,6 +6569,14 @@ declare namespace Fit
6548
6569
  */
6549
6570
  public HasCheckbox():boolean;
6550
6571
  /**
6572
+ * Get/set value indicating whether HTML is allowed (shown) in TreeView node.
6573
+ * @function HtmlAllowed
6574
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
6575
+ * @param {boolean} [recursive=undefined] - If defined, True applies change recursively to children.
6576
+ * @returns boolean
6577
+ */
6578
+ public HtmlAllowed(val?:boolean, recursive?:boolean):boolean;
6579
+ /**
6551
6580
  * Returns True if this is a behavioral node, otherwise False - see SetBehavioralNodeCallback for more details.
6552
6581
  * @function IsBehavioralNode
6553
6582
  * @returns boolean
@@ -6600,8 +6629,9 @@ declare namespace Fit
6600
6629
  * @function TreeViewNode
6601
6630
  * @param {string} displayTitle - Node title.
6602
6631
  * @param {string} nodeValue - Node value.
6632
+ * @param {Fit.Controls.TreeViewNodeOptions} [options=undefined] - Optional options.
6603
6633
  */
6604
- constructor(displayTitle:string, nodeValue:string);
6634
+ constructor(displayTitle:string, nodeValue:string, options?:Fit.Controls.TreeViewNodeOptions);
6605
6635
  /**
6606
6636
  * Get node value.
6607
6637
  * @function Value
@@ -6610,6 +6640,19 @@ declare namespace Fit
6610
6640
  public Value():string;
6611
6641
  }
6612
6642
  /**
6643
+ * Options for TreeViewNode.
6644
+ * @class [Fit.Controls.TreeViewNodeOptions TreeViewNodeOptions]
6645
+ */
6646
+ class TreeViewNodeOptions
6647
+ {
6648
+ // Properties defined by Fit.Controls.TreeViewNodeOptions
6649
+ /**
6650
+ * Value indicating whether HTML is allowed (shown) in TreeView node.
6651
+ * @member {boolean} [HtmlAllowed=undefined]
6652
+ */
6653
+ HtmlAllowed?:boolean;
6654
+ }
6655
+ /**
6613
6656
  *
6614
6657
  * @namespace [Fit.Controls.TreeViewTypeDefs TreeViewTypeDefs]
6615
6658
  */
@@ -6959,6 +7002,13 @@ declare namespace Fit
6959
7002
  {
6960
7003
  // Functions defined by Fit.Controls.WSDropDown
6961
7004
  /**
7005
+ * Get/set value indicating whether HTML is allowed (shown) in selected items in action menu.
7006
+ * @function ActionMenuHtmlAllowed
7007
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
7008
+ * @returns boolean
7009
+ */
7010
+ public ActionMenuHtmlAllowed(val?:boolean):boolean;
7011
+ /**
6962
7012
  * Get/set locale used to sort action menu alphabetically - returns null (default) if not enabled.
6963
7013
  Localized sorting is not supported on legacy browsers, which will fall back to sorting based on
6964
7014
  each character's position in the computer's character table.
@@ -7243,6 +7293,13 @@ declare namespace Fit
7243
7293
  */
7244
7294
  public HighlightFirst(val?:boolean):boolean;
7245
7295
  /**
7296
+ * Get/set value indicating whether HTML is allowed (shown) in selected items.
7297
+ * @function HtmlAllowed
7298
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
7299
+ * @returns boolean
7300
+ */
7301
+ public HtmlAllowed(val?:boolean):boolean;
7302
+ /**
7246
7303
  * Get/set value indicating whether input is enabled.
7247
7304
  * @function InputEnabled
7248
7305
  * @param {boolean} [val=undefined] - If defined, True enables input, False disables it.
@@ -7926,6 +7983,13 @@ declare namespace Fit
7926
7983
  */
7927
7984
  public HasItem(value:string):boolean;
7928
7985
  /**
7986
+ * Get/set value indicating whether HTML is allowed (shown) in ListView items.
7987
+ * @function HtmlAllowed
7988
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
7989
+ * @returns boolean
7990
+ */
7991
+ public HtmlAllowed(val?:boolean):boolean;
7992
+ /**
7929
7993
  * Register event handler fired when item is being selected.
7930
7994
  Selection can be canceled by returning False.
7931
7995
  The following arguments are passed to event handler function:
@@ -8532,6 +8596,13 @@ declare namespace Fit
8532
8596
  */
8533
8597
  public GetNodeFocused():Fit.Controls.TreeViewNode | null;
8534
8598
  /**
8599
+ * Get/set value indicating whether HTML is allowed (shown) in TreeView nodes.
8600
+ * @function HtmlAllowed
8601
+ * @param {boolean} [val=undefined] - If defined, True enables support for HTML, False disables it.
8602
+ * @returns boolean
8603
+ */
8604
+ public HtmlAllowed(val?:boolean):boolean;
8605
+ /**
8535
8606
  * Get/set value indicating whether keyboard navigation is enabled.
8536
8607
  * @function KeyboardNavigation
8537
8608
  * @param {boolean} [val=undefined] - If defined, True enables keyboard navigation, False disables it.