@syncfusion/ej2-inputs 30.2.4 → 31.1.17

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 (110) hide show
  1. package/dist/ej2-inputs.min.js +2 -2
  2. package/dist/ej2-inputs.umd.min.js +2 -2
  3. package/dist/ej2-inputs.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-inputs.es2015.js +1 -1
  5. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es5.js +1 -1
  7. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  8. package/dist/global/ej2-inputs.min.js +2 -2
  9. package/dist/global/ej2-inputs.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/dist/ts/color-picker/color-picker-model.d.ts +186 -0
  12. package/dist/ts/color-picker/color-picker.d.ts +398 -0
  13. package/dist/ts/color-picker/color-picker.ts +2209 -0
  14. package/dist/ts/color-picker/index.d.ts +5 -0
  15. package/dist/ts/color-picker/index.ts +5 -0
  16. package/dist/ts/common/index.d.ts +4 -0
  17. package/dist/ts/common/index.ts +4 -0
  18. package/dist/ts/common/signature-base.d.ts +340 -0
  19. package/dist/ts/common/signature-base.ts +1170 -0
  20. package/dist/ts/form-validator/form-validator-model.d.ts +121 -0
  21. package/dist/ts/form-validator/form-validator.d.ts +312 -0
  22. package/dist/ts/form-validator/form-validator.ts +1068 -0
  23. package/dist/ts/form-validator/index.d.ts +5 -0
  24. package/dist/ts/form-validator/index.ts +5 -0
  25. package/dist/ts/index.d.ts +18 -0
  26. package/dist/ts/index.ts +18 -0
  27. package/dist/ts/input/index.d.ts +4 -0
  28. package/dist/ts/input/index.ts +4 -0
  29. package/dist/ts/input/input.d.ts +345 -0
  30. package/dist/ts/input/input.ts +1277 -0
  31. package/dist/ts/maskedtextbox/base/index.d.ts +4 -0
  32. package/dist/ts/maskedtextbox/base/index.ts +4 -0
  33. package/dist/ts/maskedtextbox/base/mask-base.d.ts +134 -0
  34. package/dist/ts/maskedtextbox/base/mask-base.ts +1207 -0
  35. package/dist/ts/maskedtextbox/index.d.ts +5 -0
  36. package/dist/ts/maskedtextbox/index.ts +5 -0
  37. package/dist/ts/maskedtextbox/maskedtextbox/index.d.ts +5 -0
  38. package/dist/ts/maskedtextbox/maskedtextbox/index.ts +5 -0
  39. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +167 -0
  40. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +307 -0
  41. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.ts +709 -0
  42. package/dist/ts/numerictextbox/index.d.ts +5 -0
  43. package/dist/ts/numerictextbox/index.ts +5 -0
  44. package/dist/ts/numerictextbox/numerictextbox-model.d.ts +228 -0
  45. package/dist/ts/numerictextbox/numerictextbox.d.ts +431 -0
  46. package/dist/ts/numerictextbox/numerictextbox.ts +1672 -0
  47. package/dist/ts/otp-input/index.d.ts +5 -0
  48. package/dist/ts/otp-input/index.ts +5 -0
  49. package/dist/ts/otp-input/otp-input-model.d.ts +165 -0
  50. package/dist/ts/otp-input/otp-input.d.ts +365 -0
  51. package/dist/ts/otp-input/otp-input.ts +924 -0
  52. package/dist/ts/rating/index.d.ts +5 -0
  53. package/dist/ts/rating/index.ts +5 -0
  54. package/dist/ts/rating/rating-model.d.ts +239 -0
  55. package/dist/ts/rating/rating.d.ts +416 -0
  56. package/dist/ts/rating/rating.ts +1101 -0
  57. package/dist/ts/signature/index.d.ts +5 -0
  58. package/dist/ts/signature/index.ts +5 -0
  59. package/dist/ts/signature/signature-model.d.ts +131 -0
  60. package/dist/ts/signature/signature.d.ts +167 -0
  61. package/dist/ts/signature/signature.ts +266 -0
  62. package/dist/ts/slider/index.d.ts +5 -0
  63. package/dist/ts/slider/index.ts +5 -0
  64. package/dist/ts/slider/slider-model.d.ts +401 -0
  65. package/dist/ts/slider/slider.d.ts +721 -0
  66. package/dist/ts/slider/slider.ts +3497 -0
  67. package/dist/ts/smart-textarea/caret-helper.d.ts +17 -0
  68. package/dist/ts/smart-textarea/caret-helper.ts +95 -0
  69. package/dist/ts/smart-textarea/index.d.ts +5 -0
  70. package/dist/ts/smart-textarea/index.ts +5 -0
  71. package/dist/ts/smart-textarea/smart-textarea-model.d.ts +44 -0
  72. package/dist/ts/smart-textarea/smart-textarea.d.ts +80 -0
  73. package/dist/ts/smart-textarea/smart-textarea.ts +518 -0
  74. package/dist/ts/speech-to-text/index.d.ts +5 -0
  75. package/dist/ts/speech-to-text/index.ts +5 -0
  76. package/dist/ts/speech-to-text/speech-to-text-model.d.ts +270 -0
  77. package/dist/ts/speech-to-text/speech-to-text.d.ts +487 -0
  78. package/dist/ts/speech-to-text/speech-to-text.ts +1008 -0
  79. package/dist/ts/textarea/index.d.ts +5 -0
  80. package/dist/ts/textarea/index.ts +5 -0
  81. package/dist/ts/textarea/textarea-model.d.ts +161 -0
  82. package/dist/ts/textarea/textarea.d.ts +237 -0
  83. package/dist/ts/textarea/textarea.ts +812 -0
  84. package/dist/ts/textbox/index.d.ts +5 -0
  85. package/dist/ts/textbox/index.ts +5 -0
  86. package/dist/ts/textbox/textbox-model.d.ts +155 -0
  87. package/dist/ts/textbox/textbox.d.ts +288 -0
  88. package/dist/ts/textbox/textbox.ts +872 -0
  89. package/dist/ts/uploader/index.d.ts +5 -0
  90. package/dist/ts/uploader/index.ts +5 -0
  91. package/dist/ts/uploader/uploader-model.d.ts +555 -0
  92. package/dist/ts/uploader/uploader.d.ts +1216 -0
  93. package/dist/ts/uploader/uploader.ts +4391 -0
  94. package/package.json +62 -12
  95. package/src/input/input.js +1 -1
  96. package/styles/bootstrap5.3-lite.css +3 -3
  97. package/styles/bootstrap5.3.css +5 -5
  98. package/styles/input/_layout.scss +0 -1
  99. package/styles/input/tailwind3.css +0 -1
  100. package/styles/tailwind-dark-lite.css +3 -3
  101. package/styles/tailwind-dark.css +5 -5
  102. package/styles/tailwind-lite.css +3 -3
  103. package/styles/tailwind.css +5 -5
  104. package/styles/tailwind3-lite.css +0 -1
  105. package/styles/tailwind3.css +0 -1
  106. package/styles/uploader/_bootstrap5.3-definition.scss +1 -1
  107. package/styles/uploader/_tailwind-definition.scss +1 -1
  108. package/styles/uploader/bootstrap5.3.css +5 -5
  109. package/styles/uploader/tailwind-dark.css +5 -5
  110. package/styles/uploader/tailwind.css +5 -5
@@ -0,0 +1,721 @@
1
+ import { Component, EmitType } from '@syncfusion/ej2-base';
2
+ import { INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';
3
+ import { SliderModel, TicksDataModel, TooltipDataModel, LimitDataModel, ColorRangeDataModel } from './slider-model';
4
+ /**
5
+ * Configures the ticks data of the Slider.
6
+ */
7
+ export declare class TicksData extends ChildProperty<TicksData> {
8
+ /**
9
+ * It is used to denote the position of the ticks in the Slider. The available options are:
10
+ *
11
+ * * before - Ticks are placed in the top of the horizontal slider bar or at the left of the vertical slider bar.
12
+ * * after - Ticks are placed in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
13
+ * * both - Ticks are placed on the both side of the Slider bar.
14
+ * * none - Ticks are not shown.
15
+ * {% codeBlock src='slider/placement/index.md' %}{% endcodeBlock %}
16
+ *
17
+ * @default 'None'
18
+ */
19
+ placement: Placement;
20
+ /**
21
+ * It is used to denote the distance between two major (large) ticks from the scale of the Slider.
22
+ * {% codeBlock src='slider/largestep/index.md' %}{% endcodeBlock %}
23
+ *
24
+ * @default 10
25
+ */
26
+ largeStep: number;
27
+ /**
28
+ * It is used to denote the distance between two minor (small) ticks from the scale of the Slider.
29
+ * {% codeBlock src='slider/smallstep/index.md' %}{% endcodeBlock %}
30
+ *
31
+ * @default 1
32
+ */
33
+ smallStep: number;
34
+ /**
35
+ * We can show or hide the small ticks in the Slider, which will be appeared in between the largeTicks.
36
+ *
37
+ * @default false
38
+ */
39
+ showSmallTicks: boolean;
40
+ /**
41
+ * It is used to customize the Slider scale value to the desired format using Internationalization or events(custom formatting).
42
+ * {% codeBlock src='slider/format/index.md' %}{% endcodeBlock %}
43
+ */
44
+ format: string;
45
+ }
46
+ /**
47
+ * It is used to denote the TooltipChange Event arguments.
48
+ */
49
+ export interface SliderTooltipEventArgs {
50
+ /**
51
+ * It is used to get the value of the Slider.
52
+ *
53
+ * @isGenericType true
54
+ */
55
+ value: number | number[];
56
+ /**
57
+ * It is used to get the text shown in the Slider tooltip.
58
+ */
59
+ text: string;
60
+ }
61
+ /**
62
+ * It is used to denote the Slider Change/Changed Event arguments.
63
+ */
64
+ export interface SliderChangeEventArgs {
65
+ /**
66
+ * It is used to get the current value of the Slider.
67
+ *
68
+ * @isGenericType true
69
+ */
70
+ value: number | number[];
71
+ /**
72
+ * It is used to get the previous value of the Slider.
73
+ *
74
+ * @isGenericType true
75
+ */
76
+ previousValue: number | number[];
77
+ /**
78
+ * It is used to get the current text or formatted text of the Slider, which is placed in tooltip.
79
+ */
80
+ text?: string;
81
+ /**
82
+ * It is used to get the action applied on the Slider.
83
+ */
84
+ action: string;
85
+ /**
86
+ * It is used to check whether the event triggered is via user or programmatic way.
87
+ */
88
+ isInteracted: boolean;
89
+ }
90
+ /**
91
+ * It is used to denote the TicksRender Event arguments.
92
+ */
93
+ export interface SliderTickEventArgs {
94
+ /**
95
+ * It is used to get the value of the tick.
96
+ */
97
+ value: number;
98
+ /**
99
+ * It is used to get the label text of the tick.
100
+ */
101
+ text: string;
102
+ /**
103
+ * It is used to get the current tick element.
104
+ */
105
+ tickElement: Element;
106
+ }
107
+ /**
108
+ * It is used t denote the ticks rendered Event arguments.
109
+ */
110
+ export interface SliderTickRenderedEventArgs {
111
+ /**
112
+ * It returns the wrapper of the ticks element.
113
+ */
114
+ ticksWrapper: HTMLElement;
115
+ /**
116
+ * It returns the collection of tick elements.
117
+ */
118
+ tickElements: HTMLElement[];
119
+ }
120
+ /**
121
+ * It illustrates the color track data in slider.
122
+ * {% codeBlock src='slider/colorrange/index.md' %}{% endcodeBlock %}
123
+ */
124
+ export declare class ColorRangeData extends ChildProperty<ColorRangeData> {
125
+ /**
126
+ * It is used to set the color in the slider bar.
127
+ *
128
+ * @default ''
129
+ */
130
+ color: string;
131
+ /**
132
+ * It is used to get the starting value for applying color.
133
+ *
134
+ * @default null
135
+ */
136
+ start: number;
137
+ /**
138
+ * It is used to get the end value for applying color.
139
+ *
140
+ * @default null
141
+ */
142
+ end: number;
143
+ }
144
+ /**
145
+ * It illustrates the limit data in slider.
146
+ * {% codeBlock src='slider/limits/index.md' %}{% endcodeBlock %}
147
+ */
148
+ export declare class LimitData extends ChildProperty<LimitData> {
149
+ /**
150
+ * It is used to enable the limit in the slider.
151
+ *
152
+ * @default false
153
+ */
154
+ enabled: boolean;
155
+ /**
156
+ * It is used to set the minimum start limit value.
157
+ *
158
+ * @default null
159
+ */
160
+ minStart: number;
161
+ /**
162
+ * It is used to set the minimum end limit value.
163
+ *
164
+ * @default null
165
+ */
166
+ minEnd: number;
167
+ /**
168
+ * It is used to set the maximum start limit value.
169
+ *
170
+ * @default null
171
+ */
172
+ maxStart: number;
173
+ /**
174
+ * It is used to set the maximum end limit value.
175
+ *
176
+ * @default null
177
+ */
178
+ maxEnd: number;
179
+ /**
180
+ * It is used to lock the first handle.
181
+ * {% codeBlock src='slider/limitStartHandleFixed/index.md' %}{% endcodeBlock %}
182
+ *
183
+ * @default false
184
+ */
185
+ startHandleFixed: boolean;
186
+ /**
187
+ * It is used to lock the second handle.
188
+ * {% codeBlock src='slider/limitEndHandleFixed/index.md' %}{% endcodeBlock %}
189
+ *
190
+ * @default false
191
+ */
192
+ endHandleFixed: boolean;
193
+ }
194
+ /**
195
+ * It illustrates the tooltip data in slider.
196
+ */
197
+ export declare class TooltipData extends ChildProperty<TooltipData> {
198
+ /**
199
+ * It is used to customize the Tooltip which accepts custom CSS class names that define
200
+ * specific user-defined styles and themes to be applied on the Tooltip element.
201
+ *
202
+ * @default ''
203
+ */
204
+ cssClass: string;
205
+ /**
206
+ * It is used to denote the position for the tooltip element in the Slider. The available options are:
207
+ * {% codeBlock src='slider/tooltipplacement/index.md' %}{% endcodeBlock %}
208
+ * * Before - Tooltip is shown in the top of the horizontal slider bar or at the left of the vertical slider bar.
209
+ * * After - Tooltip is shown in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
210
+ */
211
+ placement: TooltipPlacement;
212
+ /**
213
+ * It is used to determine the device mode to show the Tooltip.
214
+ * If it is in desktop, it will show the Tooltip content when hovering on the target element.
215
+ * If it is in touch device. It will show the Tooltip content when tap and holding on the target element.
216
+ * {% codeBlock src='slider/tooltipShowOn/index.md' %}{% endcodeBlock %}
217
+ *
218
+ * @default 'Auto'
219
+ */
220
+ showOn: TooltipShowOn;
221
+ /**
222
+ * It is used to show or hide the Tooltip of Slider Component.
223
+ * {% codeBlock src='slider/tooltipIsVisible/index.md' %}{% endcodeBlock %}
224
+ */
225
+ isVisible: boolean;
226
+ /**
227
+ * It is used to customize the Tooltip content to the desired format
228
+ * using internationalization or events (custom formatting).
229
+ */
230
+ format: string;
231
+ }
232
+ /**
233
+ * Ticks Placement.
234
+ * ```props
235
+ * Before :- Ticks are placed in the top of the horizontal slider bar or at the left of the vertical slider bar.
236
+ * After :- Ticks are placed in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
237
+ * Both :- Ticks are placed on the both side of the slider bar.
238
+ * None :- Ticks are not shown.
239
+ * ```
240
+ */
241
+ export declare type Placement = 'Before' | 'After' | 'Both' | 'None';
242
+ /**
243
+ * Tooltip Placement.
244
+ * ```props
245
+ * Before :- Tooltip is shown in the top of the horizontal slider bar or at the left of the vertical slider bar.
246
+ * After :- Tooltip is shown in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
247
+ * ```
248
+ */
249
+ export declare type TooltipPlacement = 'Before' | 'After';
250
+ /**
251
+ * Tooltip ShowOn.
252
+ * ```props
253
+ * Focus :- Tooltip is shown while focusing the Slider handle.
254
+ * Hover :- Tooltip is shown while hovering the Slider handle.
255
+ * Always :- Tooltip is shown always.
256
+ * Auto :- Tooltip is shown while hovering the Slider handle in desktop and tap and hold in touch devices.
257
+ * ```
258
+ */
259
+ export declare type TooltipShowOn = 'Focus' | 'Hover' | 'Always' | 'Auto';
260
+ /**
261
+ * Slider type.
262
+ * ```props
263
+ * Default :- Allows to select a single value in the Slider.
264
+ * MinRange :- Allows to select a single value in the Slider, it display’s a shadow from the start to the current value.
265
+ * Range :- Allows to select a range of values in the Slider.
266
+ * ```
267
+ */
268
+ export declare type SliderType = 'Default' | 'MinRange' | 'Range';
269
+ /**
270
+ * Slider orientation.
271
+ * ```props
272
+ * Horizontal :- Renders the slider in horizontal orientation.
273
+ * Vertical :- Renders the slider in vertical orientation.
274
+ * ```
275
+ */
276
+ export declare type SliderOrientation = 'Horizontal' | 'Vertical';
277
+ /**
278
+ * The Slider component allows the user to select a value or range
279
+ * of values in-between a min and max range, by dragging the handle over the slider bar.
280
+ * ```html
281
+ * <div id='slider'></div>
282
+ * ```
283
+ * ```typescript
284
+ * <script>
285
+ * var sliderObj = new Slider({ value: 10 });
286
+ * sliderObj.appendTo('#slider');
287
+ * </script>
288
+ * ```
289
+ */
290
+ export declare class Slider extends Component<HTMLElement> implements INotifyPropertyChanged {
291
+ private hiddenInput;
292
+ private firstHandle;
293
+ private sliderContainer;
294
+ private secondHandle;
295
+ private rangeBar;
296
+ private onresize;
297
+ private isElementFocused;
298
+ private handlePos1;
299
+ private handlePos2;
300
+ private rtl;
301
+ private preHandlePos1;
302
+ private preHandlePos2;
303
+ private handleVal1;
304
+ private handleVal2;
305
+ private val;
306
+ private activeHandle;
307
+ private sliderTrack;
308
+ private materialHandle;
309
+ private firstBtn;
310
+ private tooltipObj;
311
+ private tooltipElement;
312
+ private isMaterialTooltip;
313
+ private secondBtn;
314
+ private ul;
315
+ private firstChild;
316
+ private tooltipCollidedPosition;
317
+ private tooltipTarget;
318
+ private lastChild;
319
+ private previousTooltipClass;
320
+ private horDir;
321
+ private verDir;
322
+ private transition;
323
+ private transitionOnMaterialTooltip;
324
+ private scaleTransform;
325
+ private previousVal;
326
+ private previousChanged;
327
+ private repeatInterval;
328
+ private isMaterial;
329
+ private isMaterial3;
330
+ private isBootstrap;
331
+ private isBootstrap4;
332
+ private isTailwind;
333
+ private isTailwind3;
334
+ private isBootstrap5;
335
+ private isFluent;
336
+ private isFluent2;
337
+ private isBootstrap5Dot3;
338
+ private zIndex;
339
+ private l10n;
340
+ private internationalization;
341
+ private tooltipFormatInfo;
342
+ private ticksFormatInfo;
343
+ private customAriaText;
344
+ private tickElementCollection;
345
+ private limitBarFirst;
346
+ private limitBarSecond;
347
+ private firstPartRemain;
348
+ private secondPartRemain;
349
+ private minDiff;
350
+ private drag;
351
+ private isForm;
352
+ private formElement;
353
+ private formResetValue;
354
+ private rangeBarDragged;
355
+ private isDragComplete;
356
+ initialTooltip: boolean;
357
+ /**
358
+ * It is used to denote the current value of the Slider.
359
+ * The value should be specified in array of number when render Slider type as range.
360
+ *
361
+ * {% codeBlock src="slider/value-api/index.ts" %}{% endcodeBlock %}
362
+ *
363
+ * @default null
364
+ * @isGenericType true
365
+ */
366
+ value: number | number[];
367
+ /**
368
+ * Specifies an array of slider values in number or string type.
369
+ * The min and max step values are not considered.
370
+ *
371
+ * @default null
372
+ */
373
+ customValues: string[] | number[];
374
+ /**
375
+ * Specifies the step value for each value change when the increase / decrease
376
+ * button is clicked or on arrow keys press or on dragging the thumb.
377
+ * Refer the documentation [here](../../slider/ticks#step)
378
+ * to know more about this property.
379
+ *
380
+ * {% codeBlock src="slider/step-api/index.ts" %}{% endcodeBlock %}
381
+ *
382
+ * @default 1
383
+ */
384
+ step: number;
385
+ /**
386
+ * Specifies the width of the Slider.
387
+ *
388
+ * @default null
389
+ */
390
+ width: number | string;
391
+ /**
392
+ * Gets/Sets the minimum value of the slider.
393
+ *
394
+ * {% codeBlock src="slider/min-max-api/index.ts" %}{% endcodeBlock %}
395
+ *
396
+ * @default 0
397
+ */
398
+ min: number;
399
+ /**
400
+ * Gets/Sets the maximum value of the slider.
401
+ *
402
+ * {% codeBlock src="slider/min-max-api/index.ts" %}{% endcodeBlock %}
403
+ *
404
+ * @default 100
405
+ */
406
+ max: number;
407
+ /**
408
+ * Specifies whether the render the slider in read-only mode to restrict any user interaction.
409
+ * The slider rendered with user defined values and can’t be interacted with user actions.
410
+ *
411
+ * @default false
412
+ */
413
+ readonly: boolean;
414
+ /**
415
+ * Defines the type of the Slider. The available options are:
416
+ * * default - Allows to a single value in the Slider.
417
+ * * minRange - Allows to select a single value in the Slider. It display’s a shadow from the start to the current value.
418
+ * * range - Allows to select a range of values in the Slider. It displays shadow in-between the selection range.
419
+ * {% codeBlock src='slider/types/index.md' %}{% endcodeBlock %}
420
+ *
421
+ * @default 'Default'
422
+ */
423
+ type: SliderType;
424
+ /**
425
+ * Specifies the color to the slider based on given value.
426
+ */
427
+ colorRange: ColorRangeDataModel[];
428
+ /**
429
+ * It is used to render the slider ticks options such as placement and step values.
430
+ * Refer the documentation [here](../../slider/ticks)
431
+ * to know more about this property with demo.
432
+ * {% codeBlock src='slider/ticks/index.md' %}{% endcodeBlock %}
433
+ * {% codeBlock src="slider/ticks-api/index.ts" %}{% endcodeBlock %}
434
+ *
435
+ * @default { placement: 'before' }
436
+ */
437
+ ticks: TicksDataModel;
438
+ /**
439
+ * Specified the limit within which the slider to be moved.
440
+ * Refer the documentation [here](../../slider/limits)
441
+ * to know more about this property.
442
+ *
443
+ * {% codeBlock src="slider/limits-api/index.ts" %}{% endcodeBlock %}
444
+ *
445
+ * @default { enabled: false }
446
+ */
447
+ limits: LimitDataModel;
448
+ /**
449
+ * Enable or Disable the slider.
450
+ *
451
+ * @default true
452
+ */
453
+ enabled: boolean;
454
+ /**
455
+ * Specifies the visibility, position of the tooltip over the slider element.
456
+ *
457
+ * {% codeBlock src="slider/tooltip-api/index.ts" %}{% endcodeBlock %}
458
+ *
459
+ * @default { placement: 'Before', isVisible: false, showOn: 'Focus', format: null }
460
+ */
461
+ tooltip: TooltipDataModel;
462
+ /**
463
+ * Specifies whether to show or hide the increase/decrease buttons
464
+ * of Slider to change the slider value.
465
+ * Refer the documentation [here](../../slider/getting-started#buttons)
466
+ * to know more about this property.
467
+ *
468
+ * {% codeBlock src="slider/showButtons-api/index.ts" %}{% endcodeBlock %}
469
+ *
470
+ * @default false
471
+ */
472
+ showButtons: boolean;
473
+ /**
474
+ * Enable or Disable the animation for slider movement.
475
+ *
476
+ * @default true
477
+ */
478
+ enableAnimation: boolean;
479
+ /**
480
+ * Specifies whether to render the slider in vertical or horizontal orientation.
481
+ * Refer the documentation [here](../../slider/orientation/)
482
+ * to know more about this property.
483
+ *
484
+ * @default 'Horizontal'
485
+ */
486
+ orientation: SliderOrientation;
487
+ /**
488
+ * Specifies the custom classes to be added to the element used to customize the slider.
489
+ * {% codeBlock src='slider/cssClass/index.md' %}{% endcodeBlock %}
490
+ *
491
+ * @default ''
492
+ */
493
+ cssClass: string;
494
+ /**
495
+ * Specifies whether to display or remove the untrusted HTML values in the Slider component.
496
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
497
+ *
498
+ * @default true
499
+ */
500
+ enableHtmlSanitizer: boolean;
501
+ /**
502
+ * Triggers when the Slider is successfully created.
503
+ *
504
+ * @event created
505
+ */
506
+ created: EmitType<Object>;
507
+ /**
508
+ * We can trigger change event whenever Slider value is changed.
509
+ * In other term, this event will be triggered while drag the slider thumb.
510
+ * {% codeBlock src='slider/changeEvent/index.md' %}{% endcodeBlock %}
511
+ *
512
+ * @event change
513
+ */
514
+ change: EmitType<SliderChangeEventArgs>;
515
+ /**
516
+ * Fires whenever the Slider value is changed.
517
+ * In other term, this event will be triggered, while drag the slider thumb completed.
518
+ *
519
+ * @event changed
520
+ */
521
+ changed: EmitType<SliderChangeEventArgs>;
522
+ /**
523
+ * Triggers on rendering the ticks element in the Slider,
524
+ * which is used to customize the ticks labels dynamically.
525
+ * {% codeBlock src='slider/renderingticksEvent/index.md' %}{% endcodeBlock %}
526
+ *
527
+ * @event renderingTicks
528
+ */
529
+ renderingTicks: EmitType<SliderTickEventArgs>;
530
+ /**
531
+ * Triggers when the ticks are rendered on the Slider.
532
+ * {% codeBlock src='slider/renderedticksEvent/index.md' %}{% endcodeBlock %}
533
+ *
534
+ * @event renderedTicks
535
+ */
536
+ renderedTicks: EmitType<SliderTickRenderedEventArgs>;
537
+ /**
538
+ * Triggers when the Sider tooltip value is changed.
539
+ * {% codeBlock src='slider/tooltipChangeEvent/index.md' %}{% endcodeBlock %}
540
+ *
541
+ * @event tooltipChange
542
+ */
543
+ tooltipChange: EmitType<SliderTooltipEventArgs>;
544
+ constructor(options?: SliderModel, element?: string | HTMLElement);
545
+ protected preRender(): void;
546
+ private formChecker;
547
+ private initCultureFunc;
548
+ private initCultureInfo;
549
+ private formatString;
550
+ private formatNumber;
551
+ private numberOfDecimals;
552
+ private makeRoundNumber;
553
+ /**
554
+ * To Initialize the control rendering
555
+ *
556
+ * @returns {void}
557
+ * @private
558
+ */
559
+ render(): void;
560
+ private initialize;
561
+ private setElementWidth;
562
+ private setCSSClass;
563
+ private setEnabled;
564
+ private getTheme;
565
+ /**
566
+ * Initialize the rendering
567
+ *
568
+ * @returns {void}
569
+ * @private
570
+ */
571
+ private initRender;
572
+ private getThemeInitialization;
573
+ private createRangeBar;
574
+ private createLimitBar;
575
+ private setOrientClass;
576
+ private setAriaAttributes;
577
+ private createSecondHandle;
578
+ private createFirstHandle;
579
+ private wireFirstHandleEvt;
580
+ private wireSecondHandleEvt;
581
+ private handleStart;
582
+ private transitionEnd;
583
+ private handleFocusOut;
584
+ private handleFocus;
585
+ private handleOver;
586
+ private handleLeave;
587
+ private setHandler;
588
+ private setEnableRTL;
589
+ private tooltipValue;
590
+ private setTooltipContent;
591
+ private formatContent;
592
+ private addTooltipClass;
593
+ private tooltipPlacement;
594
+ private tooltipBeforeOpen;
595
+ private tooltipCollision;
596
+ private materialTooltipEventCallBack;
597
+ private wireMaterialTooltipEvent;
598
+ private tooltipPositionCalculation;
599
+ private getTooltipTransformProperties;
600
+ private openMaterialTooltip;
601
+ private closeMaterialTooltip;
602
+ private checkTooltipPosition;
603
+ private setTooltipTransform;
604
+ private renderTooltip;
605
+ private initializeTooltipProps;
606
+ private tooltipBeforeClose;
607
+ private setButtons;
608
+ private buttonTitle;
609
+ private buttonFocusOut;
610
+ private repeatButton;
611
+ private repeatHandlerMouse;
612
+ private materialChange;
613
+ private focusHandle;
614
+ private repeatHandlerUp;
615
+ private customTickCounter;
616
+ private renderScale;
617
+ private ticksAlignment;
618
+ private createTick;
619
+ private formatTicksValue;
620
+ private scaleAlignment;
621
+ private tickValuePosition;
622
+ private setAriaAttrValue;
623
+ private handleValueUpdate;
624
+ private getLimitCorrectedValues;
625
+ private focusSliderElement;
626
+ private buttonClick;
627
+ private tooltipToggle;
628
+ private buttonUp;
629
+ private setRangeBar;
630
+ private checkValidValueAndPos;
631
+ private setLimitBarPositions;
632
+ private setLimitBar;
633
+ private getLimitValueAndPosition;
634
+ private setValue;
635
+ private rangeValueUpdate;
636
+ private validateRangeValue;
637
+ private modifyZindex;
638
+ private setHandlePosition;
639
+ private getHandle;
640
+ private setRangeValue;
641
+ private changeEvent;
642
+ private changeEventArgs;
643
+ private setPreviousVal;
644
+ private updateRangeValue;
645
+ private checkHandlePosition;
646
+ private checkHandleValue;
647
+ /**
648
+ * It is used to reposition slider.
649
+ *
650
+ * @returns {void}
651
+ */
652
+ reposition(): void;
653
+ private changeHandleValue;
654
+ private tempStartEnd;
655
+ private xyToPosition;
656
+ private stepValueCalculation;
657
+ private add;
658
+ private positionToValue;
659
+ private sliderBarClick;
660
+ private handleValueAdjust;
661
+ private dragRangeBarMove;
662
+ private sliderBarUp;
663
+ private sliderBarMove;
664
+ private dragRangeBarUp;
665
+ private checkRepeatedValue;
666
+ private refreshTooltip;
667
+ private openTooltip;
668
+ private closeTooltip;
669
+ private keyDown;
670
+ private wireButtonEvt;
671
+ private rangeBarMousedown;
672
+ private elementClick;
673
+ private wireEvents;
674
+ private unwireEvents;
675
+ private formResetHandler;
676
+ private keyUp;
677
+ private hover;
678
+ private sliderFocusOut;
679
+ private removeElement;
680
+ private changeSliderType;
681
+ private changeRtl;
682
+ private changeOrientation;
683
+ private updateConfig;
684
+ private limitsPropertyChange;
685
+ /**
686
+ * Get the properties to be maintained in the persisted state.
687
+ *
688
+ * @returns {string} - Returns the string
689
+ * @private
690
+ */
691
+ protected getPersistData(): string;
692
+ /**
693
+ * Removes the component from the DOM and detaches all its related event handlers.
694
+ * Also it removes the attributes and classes.
695
+ *
696
+ * @method destroy
697
+ * @returns {void}
698
+ */
699
+ destroy(): void;
700
+ /**
701
+ * Calls internally if any of the property value is changed.
702
+ *
703
+ * @param {SliderModel} newProp - Specifies the new properties
704
+ * @param {SliderModel} oldProp - Specifies the old properties
705
+ * @returns {void}
706
+ * @private
707
+ */
708
+ onPropertyChanged(newProp: SliderModel, oldProp: SliderModel): void;
709
+ private setReadOnly;
710
+ private setMinMaxValue;
711
+ private setZindex;
712
+ setTooltip(args?: string): void;
713
+ private setBarColor;
714
+ /**
715
+ * Gets the component name
716
+ *
717
+ * @returns {string} - Returns the string
718
+ * @private
719
+ */
720
+ getModuleName(): string;
721
+ }