fit-ui 2.5.4 → 2.6.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 (39) hide show
  1. package/dist/Documentation.html +3 -3
  2. package/dist/Fit.UI.css +102 -6
  3. package/dist/Fit.UI.js +986 -132
  4. package/dist/Fit.UI.min.css +1 -1
  5. package/dist/Fit.UI.min.js +1 -1
  6. package/dist/Resources/CKEditor/CHANGES.md +107 -0
  7. package/dist/Resources/CKEditor/LICENSE.md +1 -0
  8. package/dist/Resources/CKEditor/build-config.js +7 -3
  9. package/dist/Resources/CKEditor/ckeditor.js +638 -538
  10. package/dist/Resources/CKEditor/contents.css +208 -208
  11. package/dist/Resources/CKEditor/index.html +8 -0
  12. package/dist/Resources/CKEditor/lang/da.js +2 -2
  13. package/dist/Resources/CKEditor/lang/de.js +2 -2
  14. package/dist/Resources/CKEditor/lang/en.js +2 -2
  15. package/dist/Resources/CKEditor/plugins/autocomplete/skins/default.css +38 -0
  16. package/dist/Resources/CKEditor/plugins/base64image/dialogs/base64image.js +38 -33
  17. package/dist/Resources/CKEditor/plugins/base64image/plugin.js +1 -1
  18. package/dist/Resources/CKEditor/plugins/emoji/assets/iconsall.png +0 -0
  19. package/dist/Resources/CKEditor/plugins/emoji/assets/iconsall.svg +58 -0
  20. package/dist/Resources/CKEditor/plugins/emoji/emoji.json +1 -0
  21. package/dist/Resources/CKEditor/plugins/emoji/skins/default.css +237 -0
  22. package/dist/Resources/CKEditor/plugins/icons.png +0 -0
  23. package/dist/Resources/CKEditor/plugins/icons_hidpi.png +0 -0
  24. package/dist/Resources/CKEditor/plugins/link/dialogs/anchor.js +4 -4
  25. package/dist/Resources/CKEditor/skins/moono-lisa/dialog.css +5 -5
  26. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie.css +5 -5
  27. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie8.css +5 -5
  28. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_iequirks.css +5 -5
  29. package/dist/Resources/CKEditor/skins/moono-lisa/editor.css +1 -1
  30. package/dist/Resources/CKEditor/skins/moono-lisa/editor_gecko.css +1 -1
  31. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie.css +1 -1
  32. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie8.css +1 -1
  33. package/dist/Resources/CKEditor/skins/moono-lisa/editor_iequirks.css +1 -1
  34. package/dist/Resources/CKEditor/skins/moono-lisa/icons.png +0 -0
  35. package/dist/Resources/CKEditor/skins/moono-lisa/icons_hidpi.png +0 -0
  36. package/dist/Resources/CKEditor/styles.js +137 -137
  37. package/package.json +1 -1
  38. package/types/index.d.ts +417 -38
  39. package/dist/Resources/CKEditor/plugins/resize/plugin.js +0 -187
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fit-ui",
3
- "version": "2.5.4",
3
+ "version": "2.6.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
@@ -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.
@@ -3776,9 +3785,10 @@ declare namespace Fit
3776
3785
  Notice that this control type requires dimensions (Width/Height) to be specified in pixels.
3777
3786
  * @function DesignMode
3778
3787
  * @param {boolean} [val=undefined] - If defined, True enables Design Mode, False disables it.
3788
+ * @param {Fit.Controls.InputTypeDefs.DesignModeConfig} [editorConfig=undefined] - If provided and DesignMode is enabled, configuration is applied when editor is created.
3779
3789
  * @returns boolean
3780
3790
  */
3781
- public DesignMode(val?:boolean):boolean;
3791
+ public DesignMode(val?:boolean, editorConfig?:Fit.Controls.InputTypeDefs.DesignModeConfig):boolean;
3782
3792
  /**
3783
3793
  * Create instance of Input control.
3784
3794
  * @function Input
@@ -4082,6 +4092,398 @@ declare namespace Fit
4082
4092
  public Render(toElement?:HTMLElement):void;
4083
4093
  }
4084
4094
  /**
4095
+ *
4096
+ * @namespace [Fit.Controls.InputTypeDefs InputTypeDefs]
4097
+ */
4098
+ namespace InputTypeDefs
4099
+ {
4100
+ // Functions defined by Fit.Controls.InputTypeDefs
4101
+ /**
4102
+ * Cancelable request event handler.
4103
+ * @callback DesignModeTagsOnRequest
4104
+ * @param {Fit.Controls.Input} sender - Instance of control.
4105
+ * @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs} eventArgs - Event arguments.
4106
+ * @returns boolean | void
4107
+ */
4108
+ type DesignModeTagsOnRequest = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs) => boolean | void;
4109
+ /**
4110
+ * Response event handler.
4111
+ * @callback DesignModeTagsOnResponse
4112
+ * @param {Fit.Controls.Input} sender - Instance of control.
4113
+ * @param {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs} eventArgs - Event arguments.
4114
+ */
4115
+ type DesignModeTagsOnResponse = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs) => void;
4116
+ /**
4117
+ * Function producing JSON object representing tag to be inserted into editor.
4118
+ Returning nothing or Null results in default tag being inserted into editor.
4119
+ * @callback DesignModeTagsTagCreator
4120
+ * @param {Fit.Controls.Input} sender - Instance of control.
4121
+ * @param {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs} eventArgs - Event arguments.
4122
+ * @returns Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void
4123
+ */
4124
+ type DesignModeTagsTagCreator = (sender:Fit.Controls.Input, eventArgs:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs) => Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType | null | void;
4125
+ /**
4126
+ * Configuration for DesignMode.
4127
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfig DesignModeConfig]
4128
+ */
4129
+ class DesignModeConfig
4130
+ {
4131
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfig
4132
+ /**
4133
+ * Information panel configuration.
4134
+ * @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
4135
+ */
4136
+ InfoPanel?:Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel;
4137
+ /**
4138
+ * Plugins configuration.
4139
+ * @member {Fit.Controls.InputTypeDefs.DesignModeConfigPlugins} [Plugins=undefined]
4140
+ */
4141
+ Plugins?:Fit.Controls.InputTypeDefs.DesignModeConfigPlugins;
4142
+ /**
4143
+ * Tags configuration.
4144
+ * @member {Fit.Controls.InputTypeDefs.DesignModeConfigTags} [Tags=undefined]
4145
+ */
4146
+ Tags?:Fit.Controls.InputTypeDefs.DesignModeConfigTags;
4147
+ /**
4148
+ * Toolbar configuration.
4149
+ * @member {Fit.Controls.InputTypeDefs.DesignModeConfigToolbar} [Toolbar=undefined]
4150
+ */
4151
+ Toolbar?:Fit.Controls.InputTypeDefs.DesignModeConfigToolbar;
4152
+ }
4153
+ /**
4154
+ * Information panel at the bottom of the editor.
4155
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel DesignModeConfigInfoPanel]
4156
+ */
4157
+ class DesignModeConfigInfoPanel
4158
+ {
4159
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel
4160
+ /**
4161
+ * Text alignment - defaults to Center.
4162
+ * @member {'Left' | 'Center' | 'Right'} [Alignment=undefined]
4163
+ */
4164
+ Alignment?:'Left' | 'Center' | 'Right';
4165
+ /**
4166
+ * Text to display.
4167
+ * @member {string} [Text=undefined]
4168
+ */
4169
+ Text?:string;
4170
+ }
4171
+ /**
4172
+ * Additional plugins enabled in DesignMode.
4173
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfigPlugins DesignModeConfigPlugins]
4174
+ */
4175
+ class DesignModeConfigPlugins
4176
+ {
4177
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPlugins
4178
+ /**
4179
+ * Plugin(s) related to emoji support (defaults to False).
4180
+ * @member {boolean} [Emojis=undefined]
4181
+ */
4182
+ Emojis?:boolean;
4183
+ /**
4184
+ * Plugin(s) related to support for images (defaults to False).
4185
+ * @member {Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig} [Images=undefined]
4186
+ */
4187
+ Images?:Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig;
4188
+ }
4189
+ /**
4190
+ * Configuration for image plugins.
4191
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig DesignModeConfigPluginsImagesConfig]
4192
+ */
4193
+ class DesignModeConfigPluginsImagesConfig
4194
+ {
4195
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
4196
+ /**
4197
+ * How to store and embed images. Base64 is persistent while blob (default) is temporary
4198
+ and must be extracted from memory and uploaded/stored to be permanantly persisted.
4199
+ References to blobs can be parsed from the HTML value produced by the editor.
4200
+ * @member {'base64' | 'blob'} [EmbedType=undefined]
4201
+ */
4202
+ EmbedType?:'base64' | 'blob';
4203
+ /**
4204
+ * Flag indicating whether to enable image plugins or not (defaults to False).
4205
+ * @member {boolean} Enabled
4206
+ */
4207
+ Enabled:boolean;
4208
+ /**
4209
+ * This option is in effect when EmbedType is blob.
4210
+ Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
4211
+ If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
4212
+ disposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All.
4213
+ * @member {'All' | 'UnreferencedOnly'} [RevokeBlobUrlsOnDispose=undefined]
4214
+ */
4215
+ RevokeBlobUrlsOnDispose?:'All' | 'UnreferencedOnly';
4216
+ /**
4217
+ * This option is in effect when EmbedType is blob.
4218
+ Dispose images from blob storage (revoke blob URLs) added through Value(..)
4219
+ function when control is disposed. Basically ownership of these blobs are handed
4220
+ over to the control for the duration of its life time.
4221
+ These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
4222
+ Defaults to False.
4223
+ * @member {boolean} [RevokeExternalBlobUrlsOnDispose=undefined]
4224
+ */
4225
+ RevokeExternalBlobUrlsOnDispose?:boolean;
4226
+ }
4227
+ /**
4228
+ * Configuration for tags in DesignMode.
4229
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfigTags DesignModeConfigTags]
4230
+ */
4231
+ class DesignModeConfigTags
4232
+ {
4233
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigTags
4234
+ /**
4235
+ * Name of URL parameter receiving name of JSONP callback function (only for JSONP services).
4236
+ * @member {string} [JsonpCallback=undefined]
4237
+ */
4238
+ JsonpCallback?:string;
4239
+ /**
4240
+ * Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services).
4241
+ * @member {number} [JsonpTimeout=undefined]
4242
+ */
4243
+ JsonpTimeout?:number;
4244
+ /**
4245
+ * Event handler invoked when tags are requested. Request may be canceled by returning False.
4246
+ Function receives two arguments:
4247
+ Sender (Fit.Controls.Input) and EventArgs object.
4248
+ EventArgs object contains the following properties:
4249
+ - Sender: Fit.Controls.Input instance
4250
+ - Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
4251
+ - Query: Contains query information in its Marker and Query property.
4252
+ * @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest} [OnRequest=undefined]
4253
+ */
4254
+ OnRequest?:Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest;
4255
+ /**
4256
+ * Event handler invoked when tags data is received, allowing for data transformation.
4257
+ Function receives two arguments:
4258
+ Sender (Fit.Controls.Input) and EventArgs object.
4259
+ EventArgs object contains the following properties:
4260
+ - Sender: Fit.Controls.Input instance
4261
+ - Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance
4262
+ - Query: Contains query information in its Marker and Query property
4263
+ - Tags: JSON tags array received from WebService.
4264
+ * @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse} [OnResponse=undefined]
4265
+ */
4266
+ OnResponse?:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse;
4267
+ /**
4268
+ * URL to request data from. Endpoint receives the following payload:
4269
+ { Marker: "@", Query: "search" }
4270
+
4271
+ Data is expected to be returned in the following format:
4272
+ [
4273
+ { Value: "t-1", Title: "Tag 1", Icon: "images/img1.jpeg", Url: "show/1", Data: "..." },
4274
+ { Value: "t-2", Title: "Tag 2", Icon: "images/img2.jpeg", Url: "show/2", Data: "..." }, ...
4275
+ ]
4276
+
4277
+ The Value and Title properties are required. The Icon property is optional and must specify the path to an image.
4278
+ The Url property is optional and must specify a path to a related page/resource.
4279
+ The Data property is optional and allows for additional data to be associated with the tag.
4280
+ To hold multiple values, consider using a base64 encoded JSON object:
4281
+ btoa(JSON.stringify({ creationDate: new Date(), active: true }))
4282
+
4283
+ The data eventuelly results in a tag being added to the editor with the following format:
4284
+ Tag name 1
4285
+ The data-tag-data attribute is only declared if the corresponding Data property is defined in data.
4286
+ * @member {string} QueryUrl
4287
+ */
4288
+ QueryUrl:string;
4289
+ /**
4290
+ * Callback invoked when a tag is being inserted into editor, allowing
4291
+ for customization to the title and attributes associated with the tag.
4292
+ Function receives two arguments:
4293
+ Sender (Fit.Controls.Input) and EventArgs object.
4294
+ EventArgs object contains the following properties:
4295
+ - Sender: Fit.Controls.Input instance
4296
+ - QueryMarker: String containing query marker
4297
+ - Tag: JSON tag received from WebService.
4298
+ * @member {Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator} [TagCreator=undefined]
4299
+ */
4300
+ TagCreator?:Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator;
4301
+ /**
4302
+ * Markers triggering tags request and context menu.
4303
+ * @member {{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[]} Triggers
4304
+ */
4305
+ Triggers:{ Marker: string, MinimumCharacters?: number, DebounceQuery?: number }[];
4306
+ }
4307
+ /**
4308
+ * Toolbar buttons enabled in DesignMode.
4309
+ * @class [Fit.Controls.InputTypeDefs.DesignModeConfigToolbar DesignModeConfigToolbar]
4310
+ */
4311
+ class DesignModeConfigToolbar
4312
+ {
4313
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
4314
+ /**
4315
+ * Enable emoji button (defaults to False).
4316
+ * @member {boolean} [Emojis=undefined]
4317
+ */
4318
+ Emojis?:boolean;
4319
+ /**
4320
+ * Enable text formatting (bold, italic, underline) (defaults to True).
4321
+ * @member {boolean} [Formatting=undefined]
4322
+ */
4323
+ Formatting?:boolean;
4324
+ /**
4325
+ * Enable image button (defaults to false).
4326
+ * @member {boolean} [Images=undefined]
4327
+ */
4328
+ Images?:boolean;
4329
+ /**
4330
+ * Enable text alignment (defaults to True).
4331
+ * @member {boolean} [Justify=undefined]
4332
+ */
4333
+ Justify?:boolean;
4334
+ /**
4335
+ * Enable links (defaults to True).
4336
+ * @member {boolean} [Links=undefined]
4337
+ */
4338
+ Links?:boolean;
4339
+ /**
4340
+ * Enable ordered and unordered lists with indentation (defaults to True).
4341
+ * @member {boolean} [Lists=undefined]
4342
+ */
4343
+ Lists?:boolean;
4344
+ }
4345
+ /**
4346
+ * Request handler event arguments.
4347
+ * @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
4348
+ */
4349
+ class DesignModeTagsOnRequestEventHandlerArgs
4350
+ {
4351
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs
4352
+ /**
4353
+ * Query information.
4354
+ * @member {{ Marker: string, Query: string }} Query
4355
+ */
4356
+ Query:{ Marker: string, Query: string };
4357
+ /**
4358
+ * Instance of JsonRequest or JsonpRequest.
4359
+ * @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
4360
+ */
4361
+ Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
4362
+ /**
4363
+ * Instance of control.
4364
+ * @member {Fit.Controls.Input} Sender
4365
+ */
4366
+ Sender:Fit.Controls.Input;
4367
+ }
4368
+ /**
4369
+ * Response handler event arguments.
4370
+ * @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs DesignModeTagsOnResponseEventHandlerArgs]
4371
+ */
4372
+ class DesignModeTagsOnResponseEventHandlerArgs
4373
+ {
4374
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs
4375
+ /**
4376
+ * Query information.
4377
+ * @member {{ Marker: string, Query: string }} Query
4378
+ */
4379
+ Query:{ Marker: string, Query: string };
4380
+ /**
4381
+ * Instance of JsonRequest or JsonpRequest.
4382
+ * @member {Fit.Http.JsonRequest | Fit.Http.JsonpRequest} Request
4383
+ */
4384
+ Request:Fit.Http.JsonRequest | Fit.Http.JsonpRequest;
4385
+ /**
4386
+ * Instance of control.
4387
+ * @member {Fit.Controls.Input} Sender
4388
+ */
4389
+ Sender:Fit.Controls.Input;
4390
+ /**
4391
+ * Tags received from WebService.
4392
+ * @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[]} Tags
4393
+ */
4394
+ Tags:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag[];
4395
+ }
4396
+ /**
4397
+ * JSON object representing tag.
4398
+ * @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag DesignModeTagsOnResponseJsonTag]
4399
+ */
4400
+ class DesignModeTagsOnResponseJsonTag
4401
+ {
4402
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag
4403
+ /**
4404
+ * Optional data to associate with tag.
4405
+ * @member {string} [Data=undefined]
4406
+ */
4407
+ Data?:string;
4408
+ /**
4409
+ * Optional URL to icon/image.
4410
+ * @member {string} [Icon=undefined]
4411
+ */
4412
+ Icon?:string;
4413
+ /**
4414
+ * Title.
4415
+ * @member {string} Title
4416
+ */
4417
+ Title:string;
4418
+ /**
4419
+ * Optional URL to associate with tag.
4420
+ * @member {string} [Url=undefined]
4421
+ */
4422
+ Url?:string;
4423
+ /**
4424
+ * Unique value.
4425
+ * @member {string} Value
4426
+ */
4427
+ Value:string;
4428
+ }
4429
+ /**
4430
+ * TagCreator event arguments.
4431
+ * @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs DesignModeTagsTagCreatorCallbackArgs]
4432
+ */
4433
+ class DesignModeTagsTagCreatorCallbackArgs
4434
+ {
4435
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs
4436
+ /**
4437
+ * Query marker.
4438
+ * @member {string} QueryMarker
4439
+ */
4440
+ QueryMarker:string;
4441
+ /**
4442
+ * Instance of control.
4443
+ * @member {Fit.Controls.Input} Sender
4444
+ */
4445
+ Sender:Fit.Controls.Input;
4446
+ /**
4447
+ * Tag received from WebService.
4448
+ * @member {Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag} Tag
4449
+ */
4450
+ Tag:Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag;
4451
+ }
4452
+ /**
4453
+ * JSON object representing tag to be inserted into editor.
4454
+ * @class [Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType DesignModeTagsTagCreatorReturnType]
4455
+ */
4456
+ class DesignModeTagsTagCreatorReturnType
4457
+ {
4458
+ // Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType
4459
+ /**
4460
+ * Optional tag data.
4461
+ * @member {string} [Data=undefined]
4462
+ */
4463
+ Data?:string;
4464
+ /**
4465
+ * Tag title.
4466
+ * @member {string} Title
4467
+ */
4468
+ Title:string;
4469
+ /**
4470
+ * Tag type (marker).
4471
+ * @member {string} Type
4472
+ */
4473
+ Type:string;
4474
+ /**
4475
+ * Optional tag URL.
4476
+ * @member {string} [Url=undefined]
4477
+ */
4478
+ Url?:string;
4479
+ /**
4480
+ * Tag value (ID).
4481
+ * @member {string} Value
4482
+ */
4483
+ Value:string;
4484
+ }
4485
+ }
4486
+ /**
4085
4487
  * Picker control which allows for entries
4086
4488
  to be selected in the DropDown control.
4087
4489
  * @class [Fit.Controls.ListView ListView]
@@ -6350,6 +6752,15 @@ declare namespace Fit
6350
6752
  */
6351
6753
  public RenameSelection(val:string, newTitle:string):void;
6352
6754
  /**
6755
+ * Clear input and display "Search.." placeholder when control receives focus.
6756
+ If SearchModeOnFocus is enabled, InputEnabled will also be enabled. Disabling
6757
+ SearchModeOnFocus does not disable InputEnabled.
6758
+ * @function SearchModeOnFocus
6759
+ * @param {boolean} [val=undefined] - If defined, True enables search mode on focus, False disables it.
6760
+ * @returns boolean
6761
+ */
6762
+ public SearchModeOnFocus(val?:boolean):boolean;
6763
+ /**
6353
6764
  * Get/set value indicating whether control allow user to toggle Selection Mode (Visual or Text).
6354
6765
  * @function SelectionModeToggle
6355
6766
  * @param {boolean} [val=undefined] - If defined, True enables toggle button, False disables it.
@@ -10451,31 +10862,6 @@ declare namespace Fit
10451
10862
  */
10452
10863
  namespace Input
10453
10864
  {
10454
- /**
10455
- * Internal settings related to blob storage management in HTML Editor (Design Mode).
10456
- * @class [Fit._internal.Controls.Input.BlobManager BlobManager]
10457
- */
10458
- class BlobManager
10459
- {
10460
- // Properties defined by Fit._internal.Controls.Input.BlobManager
10461
- /**
10462
- * Dispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.
10463
- If "UnreferencedOnly" is specified, the component using Fit.UI's input control will be responsible for
10464
- disposing referenced blobs. Failing to do so may cause a memory leak.
10465
- * @member {'All' | 'UnreferencedOnly'} RevokeBlobUrlsOnDispose
10466
- * @static
10467
- */
10468
- static RevokeBlobUrlsOnDispose:'All' | 'UnreferencedOnly';
10469
- /**
10470
- * Dispose images from blob storage (revoke blob URLs) added through Value(..)
10471
- function when control is disposed. Basically ownership of these blobs are handed
10472
- over to the control for the duration of its life time.
10473
- These images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.
10474
- * @member {boolean} RevokeExternalBlobUrlsOnDispose
10475
- * @static
10476
- */
10477
- static RevokeExternalBlobUrlsOnDispose:boolean;
10478
- }
10479
10865
  /**
10480
10866
  * Internal settings related to HTML Editor (Design Mode).
10481
10867
  * @class [Fit._internal.Controls.Input.Editor Editor]
@@ -10484,23 +10870,11 @@ declare namespace Fit
10484
10870
  {
10485
10871
  // Properties defined by Fit._internal.Controls.Input.Editor
10486
10872
  /**
10487
- * Additional plugins used with DesignMode.
10488
- * @member {('justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[]} Plugins
10489
- * @static
10490
- */
10491
- static Plugins:('justify' | 'pastefromword' | 'resize' | 'base64image' | 'base64imagepaste' | 'dragresize')[];
10492
- /**
10493
10873
  * Skin used with DesignMode - must be set before an editor is created and cannot be changed for each individual control.
10494
10874
  * @member {'bootstrapck' | 'moono-lisa' | null} Skin
10495
10875
  * @static
10496
10876
  */
10497
10877
  static Skin:'bootstrapck' | 'moono-lisa' | null;
10498
- /**
10499
- * Toolbar buttons used with DesignMode - make sure necessary plugins are loaded (see Fit._internal.Controls.Input.EditorPlugins).
10500
- * @member {( { name: 'BasicFormatting', items: ('Bold' | 'Italic' | 'Underline')[] } | { name: 'Justify', items: ('JustifyLeft' | 'JustifyCenter' | 'JustifyRight')[] } | { name: 'Lists', items: ('NumberedList' | 'BulletedList' | 'Indent' | 'Outdent')[] } | { name: 'Links', items: ('Link' | 'Unlink')[] } | { name: 'Insert', items: ('base64image')[] } )[]} Toolbar
10501
- * @static
10502
- */
10503
- static Toolbar:( { name: 'BasicFormatting', items: ('Bold' | 'Italic' | 'Underline')[] } | { name: 'Justify', items: ('JustifyLeft' | 'JustifyCenter' | 'JustifyRight')[] } | { name: 'Lists', items: ('NumberedList' | 'BulletedList' | 'Indent' | 'Outdent')[] } | { name: 'Links', items: ('Link' | 'Unlink')[] } | { name: 'Insert', items: ('base64image')[] } )[];
10504
10878
  }
10505
10879
  }
10506
10880
  }
@@ -11130,6 +11504,11 @@ declare namespace Fit
11130
11504
  {
11131
11505
  // Functions defined by Fit.Http.JsonpRequest
11132
11506
  /**
11507
+ * Abort request.
11508
+ * @function Abort
11509
+ */
11510
+ public Abort():void;
11511
+ /**
11133
11512
  * Get/set name of URL parameter receiving the name of the JSONP callback function.
11134
11513
  * @function Callback
11135
11514
  * @param {string} [val=undefined] - If defined, changes the name of the URL parameter to specified value.