@syncfusion/ej2-calendars 31.1.17 → 31.1.19

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 (54) hide show
  1. package/aceconfig.js +17 -0
  2. package/dist/ej2-calendars.min.js +2 -2
  3. package/dist/ej2-calendars.umd.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +36 -13
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +36 -13
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/dist/global/ej2-calendars.min.js +2 -2
  10. package/dist/global/ej2-calendars.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -54
  13. package/src/datepicker/datepicker.js +28 -13
  14. package/src/daterangepicker/daterangepicker.js +8 -0
  15. package/dist/ts/calendar/calendar-model.d.ts +0 -340
  16. package/dist/ts/calendar/calendar.d.ts +0 -733
  17. package/dist/ts/calendar/calendar.ts +0 -3009
  18. package/dist/ts/calendar/index.d.ts +0 -6
  19. package/dist/ts/calendar/index.ts +0 -6
  20. package/dist/ts/calendar/islamic.d.ts +0 -28
  21. package/dist/ts/calendar/islamic.ts +0 -597
  22. package/dist/ts/common/index.d.ts +0 -5
  23. package/dist/ts/common/index.ts +0 -5
  24. package/dist/ts/common/maskplaceholder-model.d.ts +0 -57
  25. package/dist/ts/common/maskplaceholder.d.ts +0 -45
  26. package/dist/ts/common/maskplaceholder.ts +0 -54
  27. package/dist/ts/datepicker/datepicker-model.d.ts +0 -364
  28. package/dist/ts/datepicker/datepicker.d.ts +0 -583
  29. package/dist/ts/datepicker/datepicker.ts +0 -2528
  30. package/dist/ts/datepicker/index.d.ts +0 -5
  31. package/dist/ts/datepicker/index.ts +0 -5
  32. package/dist/ts/daterangepicker/daterangepicker-model.d.ts +0 -496
  33. package/dist/ts/daterangepicker/daterangepicker.d.ts +0 -857
  34. package/dist/ts/daterangepicker/daterangepicker.ts +0 -5096
  35. package/dist/ts/daterangepicker/index.d.ts +0 -5
  36. package/dist/ts/daterangepicker/index.ts +0 -5
  37. package/dist/ts/datetimepicker/datetimepicker-model.d.ts +0 -479
  38. package/dist/ts/datetimepicker/datetimepicker.d.ts +0 -626
  39. package/dist/ts/datetimepicker/datetimepicker.ts +0 -2212
  40. package/dist/ts/datetimepicker/index.d.ts +0 -5
  41. package/dist/ts/datetimepicker/index.ts +0 -5
  42. package/dist/ts/index.d.ts +0 -9
  43. package/dist/ts/index.ts +0 -9
  44. package/dist/ts/maskbase/index.d.ts +0 -5
  45. package/dist/ts/maskbase/index.ts +0 -5
  46. package/dist/ts/maskbase/interface.d.ts +0 -28
  47. package/dist/ts/maskbase/interface.ts +0 -29
  48. package/dist/ts/maskbase/masked-date-time.d.ts +0 -77
  49. package/dist/ts/maskbase/masked-date-time.ts +0 -1013
  50. package/dist/ts/timepicker/index.d.ts +0 -5
  51. package/dist/ts/timepicker/index.ts +0 -5
  52. package/dist/ts/timepicker/timepicker-model.d.ts +0 -393
  53. package/dist/ts/timepicker/timepicker.d.ts +0 -681
  54. package/dist/ts/timepicker/timepicker.ts +0 -2944
@@ -1,5 +0,0 @@
1
- /**
2
- * TimePicker modules
3
- */
4
- export * from './timepicker';
5
- export * from './timepicker-model';
@@ -1,5 +0,0 @@
1
- /**
2
- * TimePicker modules
3
- */
4
- export * from './timepicker';
5
- export * from './timepicker-model';
@@ -1,393 +0,0 @@
1
- import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, AnimationModel, Browser, BaseEventArgs } from '@syncfusion/ej2-base';import { EmitType, cldrData, L10n, Component, getDefaultDateObject, rippleEffect, RippleOptions, Event } from '@syncfusion/ej2-base';import { remove, addClass, detach, removeClass, closest, append, attributes, setStyleAttribute } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, extend, getUniqueID, ModuleDeclaration, ChildProperty } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { FocusEventArgs, BlurEventArgs, ClearedEventArgs } from '../calendar/calendar';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, ListBaseOptions, createElementParams } from '@syncfusion/ej2-lists';
2
- import {TimeFormatObject,ChangeEventArgs,PopupEventArgs,ItemEventArgs} from "./timepicker";
3
- import {ComponentModel} from '@syncfusion/ej2-base';
4
-
5
- /**
6
- * Interface for a class TimeMaskPlaceholder
7
- */
8
- export interface TimeMaskPlaceholderModel {
9
-
10
- /**
11
- * Specifies the mask placeholder value for day property.
12
- *
13
- * @default 'day'
14
- */
15
- day?: string;
16
-
17
- /**
18
- * Specifies the mask placeholder value for month property.
19
- *
20
- * @default 'month'
21
- */
22
- month?: string;
23
-
24
- /**
25
- * Specifies the mask placeholder value for year property.
26
- *
27
- * @default 'year'
28
- */
29
- year?: string;
30
-
31
- /**
32
- * Specifies the mask placeholder value for day of the week property.
33
- *
34
- * @default 'day of the week'
35
- */
36
- dayOfTheWeek?: string;
37
-
38
- /**
39
- * Specifies the mask placeholder value for hour property.
40
- *
41
- * @default 'hour'
42
- */
43
- hour?: string;
44
-
45
- /**
46
- * Specifies the mask placeholder value for minute property.
47
- *
48
- * @default 'minute'
49
- */
50
- minute?: string;
51
-
52
- /**
53
- * Specifies the mask placeholder value for second property.
54
- *
55
- * @default 'second'
56
- */
57
- second?: string;
58
-
59
- }
60
-
61
- /**
62
- * Interface for a class TimePicker
63
- */
64
- export interface TimePickerModel extends ComponentModel{
65
-
66
- /**
67
- * Gets or sets the width of the TimePicker component. The width of the popup is based on the width of the component.
68
- *
69
- * @default null
70
- */
71
- width?: string | number;
72
-
73
- /**
74
- * Specifies the root CSS class of the TimePicker that allows to
75
- * customize the appearance by overriding the styles.
76
- *
77
- * @default null
78
- */
79
- cssClass?: string;
80
-
81
- /**
82
- * Specifies the component to act as strict so that, it allows to enter only a valid time value within a specified range or else
83
- * resets to previous value. By default, strictMode is in false.
84
- * > For more details refer to
85
- * [`Strict Mode`](../../timepicker/strict-mode/) documentation.
86
- *
87
- * @default false
88
- */
89
- strictMode?: boolean;
90
-
91
- /**
92
- * Customizes the key actions in TimePicker.
93
- * For example, when using German keyboard, the key actions can be customized using these shortcuts.
94
- *
95
- * <table>
96
- * <tr>
97
- * <td colSpan=1 rowSpan=1>
98
- * Key action<br/></td><td colSpan=1 rowSpan=1>
99
- * Key<br/></td></tr>
100
- * <tr>
101
- * <td colSpan=1 rowSpan=1>
102
- * enter<br/></td><td colSpan=1 rowSpan=1>
103
- * enter<br/></td></tr>
104
- * <tr>
105
- * <td colSpan=1 rowSpan=1>
106
- * escape<br/></td><td colSpan=1 rowSpan=1>
107
- * escape<br/></td></tr>
108
- * <tr>
109
- * <td colSpan=1 rowSpan=1>
110
- * end<br/></td><td colSpan=1 rowSpan=1>
111
- * end<br/></td></tr>
112
- * <tr>
113
- * <td colSpan=1 rowSpan=1>
114
- * tab<br/></td><td colSpan=1 rowSpan=1>
115
- * tab<br/></td></tr>
116
- * <tr>
117
- * <td colSpan=1 rowSpan=1>
118
- * home<br/></td><td colSpan=1 rowSpan=1>
119
- * home<br/></td></tr>
120
- * <tr>
121
- * <td colSpan=1 rowSpan=1>
122
- * down<br/></td><td colSpan=1 rowSpan=1>
123
- * downarrow<br/></td></tr>
124
- * <tr>
125
- * <td colSpan=1 rowSpan=1>
126
- * up<br/></td><td colSpan=1 rowSpan=1>
127
- * uparrow<br/></td></tr>
128
- * <tr>
129
- * <td colSpan=1 rowSpan=1>
130
- * left<br/></td><td colSpan=1 rowSpan=1>
131
- * leftarrow<br/></td></tr>
132
- * <tr>
133
- * <td colSpan=1 rowSpan=1>
134
- * right<br/></td><td colSpan=1 rowSpan=1>
135
- * rightarrow<br/></td></tr>
136
- * <tr>
137
- * <td colSpan=1 rowSpan=1>
138
- * open<br/></td><td colSpan=1 rowSpan=1>
139
- * alt+downarrow<br/></td></tr>
140
- * <tr>
141
- * <td colSpan=1 rowSpan=1>
142
- * close<br/></td><td colSpan=1 rowSpan=1>
143
- * alt+uparrow<br/></td></tr>
144
- * </table>
145
- *
146
- * {% codeBlock src='timepicker/keyConfigs/index.md' %}{% endcodeBlock %}
147
- *
148
- * @default null
149
- */
150
- keyConfigs?: { [key: string]: string };
151
-
152
- /**
153
- * Specifies the format of value that is to be displayed in component. By default, the format is
154
- * based on the culture.
155
- * > For more details refer to
156
- * [`Format`](../../timepicker/getting-started#setting-the-time-format) documentation.
157
- * {% codeBlock src='timepicker/format/index.md' %}{% endcodeBlock %}
158
- *
159
- * @default null
160
- * @aspType string
161
- */
162
- format?: string | TimeFormatObject;
163
-
164
- /**
165
- * Specifies whether the component to be disabled or not.
166
- *
167
- * @default true
168
- */
169
- enabled?: boolean;
170
-
171
- /**
172
- * Specifies the component popup display full screen in mobile devices.
173
- *
174
- * @default false
175
- */
176
- fullScreenMode?: boolean;
177
-
178
- /**
179
- * Specifies the component in readonly state.
180
- *
181
- * @default false
182
- */
183
- readonly?: boolean;
184
-
185
- /**
186
- * You can add the additional html attributes such as disabled, value etc., to the element.
187
- * If you configured both property and equivalent html attribute then the component considers the property value.
188
- * {% codeBlock src='timepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
189
- *
190
- * @default {}
191
- */
192
- htmlAttributes?: { [key: string]: string };
193
-
194
- /**
195
- * Specifies the placeholder text to be floated.
196
- * Possible values are:
197
- * Never: The label will never float in the input when the placeholder is available.
198
- * Always: The floating label will always float above the input.
199
- * Auto: The floating label will float above the input after focusing or entering a value in the input.
200
- *
201
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
202
- * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
203
- * @isEnumeration true
204
- */
205
- floatLabelType?: FloatLabelType | string;
206
-
207
- /**
208
- * Specifies the placeholder text that is displayed in textbox.
209
- *
210
- * @default null
211
- */
212
- placeholder?: string;
213
-
214
- /**
215
- * specifies the z-index value of the timePicker popup element.
216
- *
217
- * @default 1000
218
- * @aspType int
219
- */
220
- zIndex?: number;
221
-
222
- /**
223
- * Enable or disable the persisting component's state between the page reloads. If enabled, following list of states will be persisted.
224
- * 1. Value
225
- *
226
-      * @default false
227
-      */
228
- enablePersistence?: boolean;
229
-
230
- /**
231
- * Specifies whether to show or hide the clear icon.
232
- *
233
- * @default true
234
- */
235
- showClearButton?: boolean;
236
-
237
- /**
238
- * Specifies the time interval between the two adjacent time values in the popup list.
239
- * > For more details refer to
240
- * [`Format`](../../timepicker/getting-started#setting-the-time-format)documentation.
241
- *
242
- * @default 30
243
- *
244
- */
245
- step?: number;
246
-
247
- /**
248
- * Specifies the scroll bar position if there is no value is selected in the popup list or
249
- * the given value is not present in the popup list.
250
- * > For more details refer to
251
- * [`Time Duration`](https://ej2.syncfusion.com/demos/#/material/timepicker/list-formatting.html) sample.
252
- * {% codeBlock src='timepicker/scrollTo/index.md' %}{% endcodeBlock %}
253
- *
254
- * @default null
255
- */
256
- scrollTo?: Date;
257
-
258
- /**
259
- * Gets or sets the value of the component. The value is parsed based on the culture specific time format.
260
- *
261
- * @default null
262
- * @isGenericType true
263
- */
264
- value?: Date;
265
-
266
- /**
267
- * Gets or sets the minimum time value that can be allowed to select in TimePicker.
268
- * > For more details refer to
269
- * [`Time Range`](../../timepicker/time-range/) documentation.
270
- *
271
- * @default 00:00
272
- */
273
- min?: Date;
274
-
275
- /**
276
- * Gets or sets the maximum time value that can be allowed to select in TimePicker.
277
- * > For more details refer to
278
- * [`Time Range`](../../timepicker/time-range/) documentation.
279
- *
280
- * @default 00:00
281
- */
282
- max?: Date;
283
-
284
- /**
285
- * > Support for `allowEdit` has been provided from
286
- * [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#timepicker).
287
- *
288
- * Specifies whether the input textbox is editable or not. Here the user can select the value from the
289
- * popup and cannot edit in the input textbox.
290
- *
291
- * @default true
292
- */
293
- allowEdit?: boolean;
294
-
295
- /**
296
- * By default, the popup opens while clicking on the timepicker icon.
297
- * If you want to open the popup while focusing the time input then specify its value as true.
298
- *
299
- * @default false
300
- */
301
- openOnFocus?: boolean;
302
-
303
- /**
304
- * Specifies whether it is a masked timepicker or not.
305
- * By default the timepicker component render without masked input.
306
- * If you need masked timepicker input then specify it as true.
307
- *
308
- * @default false
309
- */
310
- enableMask?: boolean;
311
-
312
- /**
313
- * Specifies the mask placeholder to be displayed on masked timepicker.
314
- *
315
- * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
316
- * @aspType TimePickerMaskPlaceholder
317
- */
318
- maskPlaceholder?: TimeMaskPlaceholderModel;
319
-
320
- /**
321
- * By default, the time value will be processed based on system time zone.
322
- * If you want to process the initial time value using server time zone
323
- * then specify the time zone value to `serverTimezoneOffset` property.
324
- *
325
- * @default null
326
- * @deprecated
327
- */
328
- serverTimezoneOffset?: number;
329
-
330
- /**
331
- * Triggers when the value is changed.
332
- *
333
- * @event change
334
- */
335
- change?: EmitType<ChangeEventArgs>;
336
-
337
- /**
338
- * Triggers when the component is created.
339
- *
340
- * @event created
341
- */
342
- created?: EmitType<Object>;
343
-
344
- /**
345
- * Triggers when the component is destroyed.
346
- *
347
- * @event destroyed
348
- */
349
- destroyed?: EmitType<Object>;
350
-
351
- /**
352
- * Triggers when the popup is opened.
353
- *
354
- * @event open
355
- */
356
- open?: EmitType<PopupEventArgs>;
357
-
358
- /**
359
- * Triggers while rendering the each popup list item.
360
- *
361
- * @event itemRender
362
- */
363
- itemRender?: EmitType<ItemEventArgs>;
364
-
365
- /**
366
- * Triggers when the popup is closed.
367
- *
368
- * @event close
369
- */
370
- close?: EmitType<PopupEventArgs>;
371
-
372
- /**
373
- * Triggers when timepicker value is cleared using clear button.
374
- *
375
- * @event cleared
376
- */
377
- cleared?: EmitType<ClearedEventArgs>;
378
-
379
- /**
380
- * Triggers when the control loses the focus.
381
- *
382
- * @event blur
383
- */
384
- blur?: EmitType<BlurEventArgs>;
385
-
386
- /**
387
- * Triggers when the control gets focused.
388
- *
389
- * @event focus
390
- */
391
- focus?: EmitType<FocusEventArgs>;
392
-
393
- }