fit-ui 2.5.2 → 2.5.6

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 (26) hide show
  1. package/dist/Documentation.html +2 -2
  2. package/dist/Fit.UI.js +403 -49
  3. package/dist/Fit.UI.min.js +1 -1
  4. package/dist/Resources/CKEditor/CHANGES.md +107 -0
  5. package/dist/Resources/CKEditor/LICENSE.md +1 -0
  6. package/dist/Resources/CKEditor/ckeditor.js +545 -533
  7. package/dist/Resources/CKEditor/contents.css +208 -208
  8. package/dist/Resources/CKEditor/index.html +8 -0
  9. package/dist/Resources/CKEditor/lang/da.js +1 -1
  10. package/dist/Resources/CKEditor/lang/de.js +1 -1
  11. package/dist/Resources/CKEditor/lang/en.js +1 -1
  12. package/dist/Resources/CKEditor/plugins/base64image/dialogs/base64image.js +38 -33
  13. package/dist/Resources/CKEditor/plugins/htmlwriter/plugin.js +364 -0
  14. package/dist/Resources/CKEditor/plugins/link/dialogs/anchor.js +4 -4
  15. package/dist/Resources/CKEditor/skins/moono-lisa/dialog.css +5 -5
  16. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie.css +5 -5
  17. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie8.css +5 -5
  18. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_iequirks.css +5 -5
  19. package/dist/Resources/CKEditor/skins/moono-lisa/editor.css +5 -5
  20. package/dist/Resources/CKEditor/skins/moono-lisa/editor_gecko.css +5 -5
  21. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie.css +5 -5
  22. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie8.css +5 -5
  23. package/dist/Resources/CKEditor/skins/moono-lisa/editor_iequirks.css +5 -5
  24. package/dist/Resources/CKEditor/styles.js +137 -137
  25. package/package.json +1 -1
  26. package/types/index.d.ts +145 -100
@@ -1,137 +1,137 @@
1
- /**
2
- * Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- // This file contains style definitions that can be used by CKEditor plugins.
7
- //
8
- // The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
9
- // list containing all styles in the editor toolbar. Other plugins, like
10
- // the "div" plugin, use a subset of the styles for their features.
11
- //
12
- // If you do not have plugins that depend on this file in your editor build, you can simply
13
- // ignore it. Otherwise it is strongly recommended to customize this file to match your
14
- // website requirements and design properly.
15
- //
16
- // For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
17
-
18
- CKEDITOR.stylesSet.add( 'default', [
19
- /* Block styles */
20
-
21
- // These styles are already available in the "Format" drop-down list ("format" plugin),
22
- // so they are not needed here by default. You may enable them to avoid
23
- // placing the "Format" combo in the toolbar, maintaining the same features.
24
- /*
25
- { name: 'Paragraph', element: 'p' },
26
- { name: 'Heading 1', element: 'h1' },
27
- { name: 'Heading 2', element: 'h2' },
28
- { name: 'Heading 3', element: 'h3' },
29
- { name: 'Heading 4', element: 'h4' },
30
- { name: 'Heading 5', element: 'h5' },
31
- { name: 'Heading 6', element: 'h6' },
32
- { name: 'Preformatted Text',element: 'pre' },
33
- { name: 'Address', element: 'address' },
34
- */
35
-
36
- { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
37
- { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
38
- {
39
- name: 'Special Container',
40
- element: 'div',
41
- styles: {
42
- padding: '5px 10px',
43
- background: '#eee',
44
- border: '1px solid #ccc'
45
- }
46
- },
47
-
48
- /* Inline styles */
49
-
50
- // These are core styles available as toolbar buttons. You may opt enabling
51
- // some of them in the Styles drop-down list, removing them from the toolbar.
52
- // (This requires the "stylescombo" plugin.)
53
- /*
54
- { name: 'Strong', element: 'strong', overrides: 'b' },
55
- { name: 'Emphasis', element: 'em' , overrides: 'i' },
56
- { name: 'Underline', element: 'u' },
57
- { name: 'Strikethrough', element: 'strike' },
58
- { name: 'Subscript', element: 'sub' },
59
- { name: 'Superscript', element: 'sup' },
60
- */
61
-
62
- { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
63
-
64
- { name: 'Big', element: 'big' },
65
- { name: 'Small', element: 'small' },
66
- { name: 'Typewriter', element: 'tt' },
67
-
68
- { name: 'Computer Code', element: 'code' },
69
- { name: 'Keyboard Phrase', element: 'kbd' },
70
- { name: 'Sample Text', element: 'samp' },
71
- { name: 'Variable', element: 'var' },
72
-
73
- { name: 'Deleted Text', element: 'del' },
74
- { name: 'Inserted Text', element: 'ins' },
75
-
76
- { name: 'Cited Work', element: 'cite' },
77
- { name: 'Inline Quotation', element: 'q' },
78
-
79
- { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
80
- { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
81
-
82
- /* Object styles */
83
-
84
- {
85
- name: 'Styled Image (left)',
86
- element: 'img',
87
- attributes: { 'class': 'left' }
88
- },
89
-
90
- {
91
- name: 'Styled Image (right)',
92
- element: 'img',
93
- attributes: { 'class': 'right' }
94
- },
95
-
96
- {
97
- name: 'Compact Table',
98
- element: 'table',
99
- attributes: {
100
- cellpadding: '5',
101
- cellspacing: '0',
102
- border: '1',
103
- bordercolor: '#ccc'
104
- },
105
- styles: {
106
- 'border-collapse': 'collapse'
107
- }
108
- },
109
-
110
- { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
111
- { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } },
112
-
113
- /* Widget styles */
114
-
115
- { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } },
116
- { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } },
117
-
118
- { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } },
119
-
120
- { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } },
121
-
122
- { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' },
123
- { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' },
124
- { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' },
125
- { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' },
126
- { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' },
127
-
128
- // Adding space after the style name is an intended workaround. For now, there
129
- // is no option to create two styles with the same name for different widget types. See https://dev.ckeditor.com/ticket/16664.
130
- { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' },
131
- { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' },
132
- { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' },
133
- { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' },
134
- { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' }
135
-
136
- ] );
137
-
1
+ /**
2
+ * Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ // This file contains style definitions that can be used by CKEditor plugins.
7
+ //
8
+ // The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
9
+ // list containing all styles in the editor toolbar. Other plugins, like
10
+ // the "div" plugin, use a subset of the styles for their features.
11
+ //
12
+ // If you do not have plugins that depend on this file in your editor build, you can simply
13
+ // ignore it. Otherwise it is strongly recommended to customize this file to match your
14
+ // website requirements and design properly.
15
+ //
16
+ // For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
17
+
18
+ CKEDITOR.stylesSet.add( 'default', [
19
+ /* Block styles */
20
+
21
+ // These styles are already available in the "Format" drop-down list ("format" plugin),
22
+ // so they are not needed here by default. You may enable them to avoid
23
+ // placing the "Format" combo in the toolbar, maintaining the same features.
24
+ /*
25
+ { name: 'Paragraph', element: 'p' },
26
+ { name: 'Heading 1', element: 'h1' },
27
+ { name: 'Heading 2', element: 'h2' },
28
+ { name: 'Heading 3', element: 'h3' },
29
+ { name: 'Heading 4', element: 'h4' },
30
+ { name: 'Heading 5', element: 'h5' },
31
+ { name: 'Heading 6', element: 'h6' },
32
+ { name: 'Preformatted Text',element: 'pre' },
33
+ { name: 'Address', element: 'address' },
34
+ */
35
+
36
+ { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
37
+ { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
38
+ {
39
+ name: 'Special Container',
40
+ element: 'div',
41
+ styles: {
42
+ padding: '5px 10px',
43
+ background: '#eee',
44
+ border: '1px solid #ccc'
45
+ }
46
+ },
47
+
48
+ /* Inline styles */
49
+
50
+ // These are core styles available as toolbar buttons. You may opt enabling
51
+ // some of them in the Styles drop-down list, removing them from the toolbar.
52
+ // (This requires the "stylescombo" plugin.)
53
+ /*
54
+ { name: 'Strong', element: 'strong', overrides: 'b' },
55
+ { name: 'Emphasis', element: 'em' , overrides: 'i' },
56
+ { name: 'Underline', element: 'u' },
57
+ { name: 'Strikethrough', element: 'strike' },
58
+ { name: 'Subscript', element: 'sub' },
59
+ { name: 'Superscript', element: 'sup' },
60
+ */
61
+
62
+ { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
63
+
64
+ { name: 'Big', element: 'big' },
65
+ { name: 'Small', element: 'small' },
66
+ { name: 'Typewriter', element: 'tt' },
67
+
68
+ { name: 'Computer Code', element: 'code' },
69
+ { name: 'Keyboard Phrase', element: 'kbd' },
70
+ { name: 'Sample Text', element: 'samp' },
71
+ { name: 'Variable', element: 'var' },
72
+
73
+ { name: 'Deleted Text', element: 'del' },
74
+ { name: 'Inserted Text', element: 'ins' },
75
+
76
+ { name: 'Cited Work', element: 'cite' },
77
+ { name: 'Inline Quotation', element: 'q' },
78
+
79
+ { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
80
+ { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
81
+
82
+ /* Object styles */
83
+
84
+ {
85
+ name: 'Styled Image (left)',
86
+ element: 'img',
87
+ attributes: { 'class': 'left' }
88
+ },
89
+
90
+ {
91
+ name: 'Styled Image (right)',
92
+ element: 'img',
93
+ attributes: { 'class': 'right' }
94
+ },
95
+
96
+ {
97
+ name: 'Compact Table',
98
+ element: 'table',
99
+ attributes: {
100
+ cellpadding: '5',
101
+ cellspacing: '0',
102
+ border: '1',
103
+ bordercolor: '#ccc'
104
+ },
105
+ styles: {
106
+ 'border-collapse': 'collapse'
107
+ }
108
+ },
109
+
110
+ { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
111
+ { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } },
112
+
113
+ /* Widget styles */
114
+
115
+ { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } },
116
+ { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } },
117
+
118
+ { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } },
119
+
120
+ { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } },
121
+
122
+ { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' },
123
+ { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' },
124
+ { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' },
125
+ { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' },
126
+ { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' },
127
+
128
+ // Adding space after the style name is an intended workaround. For now, there
129
+ // is no option to create two styles with the same name for different widget types. See https://dev.ckeditor.com/ticket/16664.
130
+ { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' },
131
+ { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' },
132
+ { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' },
133
+ { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' },
134
+ { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' }
135
+
136
+ ] );
137
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fit-ui",
3
- "version": "2.5.2",
3
+ "version": "2.5.6",
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
@@ -2353,36 +2353,6 @@ declare namespace Fit
2353
2353
  {
2354
2354
  // Functions defined by Fit.Controls.Dialog
2355
2355
  /**
2356
- * Display alert dialog.
2357
- * @function Alert
2358
- * @static
2359
- * @param {string} content - Content to display in alert dialog.
2360
- * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2361
- * @returns Fit.Controls.DialogInterface
2362
- */
2363
- public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2364
- /**
2365
- * Display confirmation dialog with OK and Cancel buttons.
2366
- * @function Confirm
2367
- * @static
2368
- * @param {string} content - Content to display in confirmation dialog.
2369
- * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2370
- True is passed to callback function when OK is clicked, otherwise False.
2371
- * @returns Fit.Controls.DialogInterface
2372
- */
2373
- public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2374
- /**
2375
- * Display prompt dialog that allows for user input.
2376
- * @function Prompt
2377
- * @static
2378
- * @param {string} content - Content to display in prompt dialog.
2379
- * @param {string} defaultValue - Default value in input field.
2380
- * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2381
- Value entered in input field is passed, null if prompt is canceled.
2382
- * @returns Fit.Controls.DialogInterface
2383
- */
2384
- public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2385
- /**
2386
2356
  * Add button to dialog.
2387
2357
  * @function AddButton
2388
2358
  * @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
@@ -2550,6 +2520,36 @@ declare namespace Fit
2550
2520
  * @returns Fit.TypeDefs.CssValue
2551
2521
  */
2552
2522
  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;
2523
+ /**
2524
+ * Display alert dialog.
2525
+ * @function Alert
2526
+ * @static
2527
+ * @param {string} content - Content to display in alert dialog.
2528
+ * @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
2529
+ * @returns Fit.Controls.DialogInterface
2530
+ */
2531
+ public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
2532
+ /**
2533
+ * Display confirmation dialog with OK and Cancel buttons.
2534
+ * @function Confirm
2535
+ * @static
2536
+ * @param {string} content - Content to display in confirmation dialog.
2537
+ * @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
2538
+ True is passed to callback function when OK is clicked, otherwise False.
2539
+ * @returns Fit.Controls.DialogInterface
2540
+ */
2541
+ public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
2542
+ /**
2543
+ * Display prompt dialog that allows for user input.
2544
+ * @function Prompt
2545
+ * @static
2546
+ * @param {string} content - Content to display in prompt dialog.
2547
+ * @param {string} defaultValue - Default value in input field.
2548
+ * @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
2549
+ Value entered in input field is passed, null if prompt is canceled.
2550
+ * @returns Fit.Controls.DialogInterface
2551
+ */
2552
+ public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
2553
2553
  // Functions defined by Fit.Controls.Component
2554
2554
  /**
2555
2555
  * Destroys control to free up memory.
@@ -2836,6 +2836,15 @@ declare namespace Fit
2836
2836
  */
2837
2837
  public RenameSelection(val:string, newTitle:string):void;
2838
2838
  /**
2839
+ * Clear input and display "Search.." placeholder when control receives focus.
2840
+ If SearchModeOnFocus is enabled, InputEnabled will also be enabled. Disabling
2841
+ SearchModeOnFocus does not disable InputEnabled.
2842
+ * @function SearchModeOnFocus
2843
+ * @param {boolean} [val=undefined] - If defined, True enables search mode on focus, False disables it.
2844
+ * @returns boolean
2845
+ */
2846
+ public SearchModeOnFocus(val?:boolean):boolean;
2847
+ /**
2839
2848
  * Get/set value indicating whether control allow user to toggle Selection Mode (Visual or Text).
2840
2849
  * @function SelectionModeToggle
2841
2850
  * @param {boolean} [val=undefined] - If defined, True enables toggle button, False disables it.
@@ -6059,6 +6068,14 @@ declare namespace Fit
6059
6068
  */
6060
6069
  public JsonpCallback(val?:string | null):string | null;
6061
6070
  /**
6071
+ * Get/set flag indicating whether searchable ListView is enabled or not.
6072
+ The value provided also determines the value for InputEnabled and vice versa.
6073
+ * @function ListViewEnabled
6074
+ * @param {boolean} [val=undefined] - If defined, True enables ListView and search capability (default), False disables it.
6075
+ * @returns boolean
6076
+ */
6077
+ public ListViewEnabled(val?:boolean):boolean;
6078
+ /**
6062
6079
  * Add event handler fired if data request is canceled.
6063
6080
  Function receives two arguments:
6064
6081
  Sender (Fit.Controls.WSDropDown) and EventArgs object.
@@ -6105,6 +6122,13 @@ declare namespace Fit
6105
6122
  */
6106
6123
  public OnResponse(cb:Fit.Controls.WSDropDownTypeDefs.ResponseEventHandler<this>):void;
6107
6124
  /**
6125
+ * Get/set value indicating whether TreeView control is enabled or not.
6126
+ * @function TreeViewEnabled
6127
+ * @param {boolean} [val=undefined] - If defined, True enables TreeView (default), False disables it.
6128
+ * @returns boolean
6129
+ */
6130
+ public TreeViewEnabled(val?:boolean):boolean;
6131
+ /**
6108
6132
  * Get/set URL to WebService responsible for providing data to drop down.
6109
6133
  WebService must deliver data in the following JSON format:
6110
6134
  [
@@ -6121,6 +6145,18 @@ declare namespace Fit
6121
6145
  public Url(wsUrl?:string):string;
6122
6146
  /**
6123
6147
  * Get/set value indicating whether control uses the built-in action menu to ease addition and removal of items.
6148
+ If this property is not explicitly set, it will automatically be changed by the control depending on data and other settings.
6149
+ The action menu will be enabled if TreeViewEnabled is set to False, as it would otherwise not show anything unless the user
6150
+ enters a search value. If TreeViewEnabled is True but no data is provided to the TreeView control upon request, the action menu
6151
+ is also enabled.
6152
+ If the control does not have any selections, InputEnabled (or its alias ListViewEnabled) is True, and TreeViewEnabled is False,
6153
+ no picker will be displayed since the action menu would only display the "Search for options" item - but it should already
6154
+ be obvious to the user that searching is required due to the placeholder displaying "Search.." by default.
6155
+ Likewise, if TreeViewEnabled is True and InputEnabled (or its alias ListViewEnabled) is False, and no selections are made,
6156
+ the action menu would only display "Show available options". In this case the TreeView will be displayed instead,
6157
+ even if UseActionMenu has explicitely been set to True.
6158
+ The behaviour described is in place to make sure the action menu is only displayed when it makes sense, since it introduces
6159
+ and extra step (click) required by the user to access data.
6124
6160
  * @function UseActionMenu
6125
6161
  * @param {boolean} [val=undefined] - If defined, True enables the action menu, False disables it.
6126
6162
  */
@@ -6323,6 +6359,15 @@ declare namespace Fit
6323
6359
  */
6324
6360
  public RenameSelection(val:string, newTitle:string):void;
6325
6361
  /**
6362
+ * Clear input and display "Search.." placeholder when control receives focus.
6363
+ If SearchModeOnFocus is enabled, InputEnabled will also be enabled. Disabling
6364
+ SearchModeOnFocus does not disable InputEnabled.
6365
+ * @function SearchModeOnFocus
6366
+ * @param {boolean} [val=undefined] - If defined, True enables search mode on focus, False disables it.
6367
+ * @returns boolean
6368
+ */
6369
+ public SearchModeOnFocus(val?:boolean):boolean;
6370
+ /**
6326
6371
  * Get/set value indicating whether control allow user to toggle Selection Mode (Visual or Text).
6327
6372
  * @function SelectionModeToggle
6328
6373
  * @param {boolean} [val=undefined] - If defined, True enables toggle button, False disables it.
@@ -8321,6 +8366,74 @@ declare namespace Fit
8321
8366
  {
8322
8367
  // Functions defined by Fit.Cookies
8323
8368
  /**
8369
+ * Create instance of cookie container isolated to either current path (default)
8370
+ or a custom path, and optionally an alternative part of the domain (by default
8371
+ cookies are available only on the current domain, while defining a domain makes
8372
+ cookies available to that particular domain and subdomains).
8373
+ * @function Cookies
8374
+ */
8375
+ constructor();
8376
+ /**
8377
+ * Get/set portion of domain to which cookies are isolated.
8378
+ * @function Domain
8379
+ * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
8380
+ Null to unset it to make cookies available to current domain only (excluding subdomains).
8381
+ * @returns string | null
8382
+ */
8383
+ public Domain(val?:string | null):string | null;
8384
+ /**
8385
+ * Returns cookie value if found, otherwise Null.
8386
+ * @function Get
8387
+ * @param {string} name - Unique cookie name.
8388
+ * @returns string | null
8389
+ */
8390
+ public Get(name:string):string | null;
8391
+ /**
8392
+ * Get/set path to which cookies are isolated.
8393
+ * @function Path
8394
+ * @param {string} [val=undefined] - If defined, changes isolation to specified path.
8395
+ * @returns string
8396
+ */
8397
+ public Path(val?:string):string;
8398
+ /**
8399
+ * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
8400
+ Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
8401
+ is completely transparent.
8402
+ * @function Prefix
8403
+ * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
8404
+ * @returns string | null
8405
+ */
8406
+ public Prefix(val?:string):string | null;
8407
+ /**
8408
+ * Remove cookie.
8409
+ * @function Remove
8410
+ * @param {string} name - Unique cookie name.
8411
+ */
8412
+ public Remove(name:string):void;
8413
+ /**
8414
+ * Get/set SameSite policy.
8415
+ * @function SameSite
8416
+ * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
8417
+ * @returns string | null
8418
+ */
8419
+ public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
8420
+ /**
8421
+ * Get/set Secure flag.
8422
+ * @function Secure
8423
+ * @param {boolean} [val=undefined] - If defined, changes Secure flag.
8424
+ * @returns boolean
8425
+ */
8426
+ public Secure(val?:boolean):boolean;
8427
+ /**
8428
+ * Create or update cookie.
8429
+ * @function Set
8430
+ * @param {string} name - Unique cookie name.
8431
+ * @param {string} value - Cookie value (cannot contain semicolon!).
8432
+ * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
8433
+ no expiration time will cause it to expire when session ends.
8434
+ */
8435
+ public Set(name:string, value:string, seconds?:number):void;
8436
+ /**
8324
8437
  * Returns cookie value if found, otherwise Null.
8325
8438
  * @function Get
8326
8439
  * @static
@@ -8390,74 +8503,6 @@ declare namespace Fit
8390
8503
  * @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
8391
8504
  */
8392
8505
  public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
8393
- /**
8394
- * Create instance of cookie container isolated to either current path (default)
8395
- or a custom path, and optionally an alternative part of the domain (by default
8396
- cookies are available only on the current domain, while defining a domain makes
8397
- cookies available to that particular domain and subdomains).
8398
- * @function Cookies
8399
- */
8400
- constructor();
8401
- /**
8402
- * Get/set portion of domain to which cookies are isolated.
8403
- * @function Domain
8404
- * @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
8405
- Null to unset it to make cookies available to current domain only (excluding subdomains).
8406
- * @returns string | null
8407
- */
8408
- public Domain(val?:string | null):string | null;
8409
- /**
8410
- * Returns cookie value if found, otherwise Null.
8411
- * @function Get
8412
- * @param {string} name - Unique cookie name.
8413
- * @returns string | null
8414
- */
8415
- public Get(name:string):string | null;
8416
- /**
8417
- * Get/set path to which cookies are isolated.
8418
- * @function Path
8419
- * @param {string} [val=undefined] - If defined, changes isolation to specified path.
8420
- * @returns string
8421
- */
8422
- public Path(val?:string):string;
8423
- /**
8424
- * Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
8425
- Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
8426
- is completely transparent.
8427
- * @function Prefix
8428
- * @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
8429
- * @returns string | null
8430
- */
8431
- public Prefix(val?:string):string | null;
8432
- /**
8433
- * Remove cookie.
8434
- * @function Remove
8435
- * @param {string} name - Unique cookie name.
8436
- */
8437
- public Remove(name:string):void;
8438
- /**
8439
- * Get/set SameSite policy.
8440
- * @function SameSite
8441
- * @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
8442
- * @returns string | null
8443
- */
8444
- public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
8445
- /**
8446
- * Get/set Secure flag.
8447
- * @function Secure
8448
- * @param {boolean} [val=undefined] - If defined, changes Secure flag.
8449
- * @returns boolean
8450
- */
8451
- public Secure(val?:boolean):boolean;
8452
- /**
8453
- * Create or update cookie.
8454
- * @function Set
8455
- * @param {string} name - Unique cookie name.
8456
- * @param {string} value - Cookie value (cannot contain semicolon!).
8457
- * @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
8458
- no expiration time will cause it to expire when session ends.
8459
- */
8460
- public Set(name:string, value:string, seconds?:number):void;
8461
8506
  }
8462
8507
  /**
8463
8508
  * Core features extending the capabilities of native JS.
@@ -10458,10 +10503,10 @@ declare namespace Fit
10458
10503
  // Properties defined by Fit._internal.Controls.Input.Editor
10459
10504
  /**
10460
10505
  * Additional plugins used with DesignMode.
10461
- * @member {('justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[]} Plugins
10506
+ * @member {('htmlwriter' | 'justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[]} Plugins
10462
10507
  * @static
10463
10508
  */
10464
- static Plugins:('justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[];
10509
+ static Plugins:('htmlwriter' | 'justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[];
10465
10510
  /**
10466
10511
  * Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
10467
10512
  * @member {'bootstrapck' | 'moono-lisa' | null} Skin