@syncfusion/ej2-schedule 22.1.36 → 22.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +29 -11
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +29 -11
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -15
- package/src/recurrence-editor/recurrence-editor.js +3 -6
- package/src/schedule/actions/crud.js +1 -1
- package/src/schedule/base/schedule-model.d.ts +27 -38
- package/src/schedule/base/schedule.d.ts +27 -38
- package/src/schedule/base/schedule.js +1 -0
- package/src/schedule/base/util.d.ts +6 -0
- package/src/schedule/base/util.js +20 -1
- package/src/schedule/models/event-settings-model.d.ts +6 -0
- package/src/schedule/models/event-settings.d.ts +6 -0
- package/src/schedule/models/group-model.d.ts +3 -0
- package/src/schedule/models/group.d.ts +3 -0
- package/src/schedule/models/header-rows-model.d.ts +3 -0
- package/src/schedule/models/header-rows.d.ts +3 -0
- package/src/schedule/models/quick-info-templates-model.d.ts +15 -6
- package/src/schedule/models/quick-info-templates.d.ts +15 -6
- package/src/schedule/models/time-scale-model.d.ts +8 -2
- package/src/schedule/models/time-scale.d.ts +8 -2
- package/src/schedule/models/views-model.d.ts +24 -0
- package/src/schedule/models/views.d.ts +24 -0
- package/src/schedule/popups/event-window.js +1 -1
- package/src/schedule/popups/quick-popups.js +2 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 22.
|
|
3
|
+
* version : 22.2.5
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@22.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@22.1.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-/f/uec7OCsCBMxv+nQhjNLTXDmMakg89PgxFQiKKEsDVnqOZn05qsfQdlNOoN3r0VTuoi5Vbzfsb5pP+cJh6jw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-schedule",
|
|
24
24
|
"/@syncfusion/ej2-vue-schedule"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-22.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-22.1.38.tgz",
|
|
27
|
+
"_shasum": "a56930b8447fa4874764cc5805b721642a9390f3",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~22.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~
|
|
40
|
-
"@syncfusion/ej2-calendars": "~22.
|
|
41
|
-
"@syncfusion/ej2-data": "~22.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~22.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~22.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~22.
|
|
45
|
-
"@syncfusion/ej2-lists": "~22.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~22.
|
|
47
|
-
"@syncfusion/ej2-popups": "~22.
|
|
38
|
+
"@syncfusion/ej2-base": "~22.2.5",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~22.2.5",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~22.2.5",
|
|
41
|
+
"@syncfusion/ej2-data": "~22.2.5",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~22.2.5",
|
|
43
|
+
"@syncfusion/ej2-excel-export": "~22.2.5",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~22.2.5",
|
|
45
|
+
"@syncfusion/ej2-lists": "~22.2.5",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~22.2.5",
|
|
47
|
+
"@syncfusion/ej2-popups": "~22.2.5"
|
|
48
48
|
},
|
|
49
49
|
"deprecated": false,
|
|
50
50
|
"description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
74
74
|
},
|
|
75
75
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "22.
|
|
76
|
+
"version": "22.2.5",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
|
@@ -358,7 +358,7 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
358
358
|
value: VALUEFIELD
|
|
359
359
|
},
|
|
360
360
|
placeholder: this.localeObj.getConstant(REPEAT),
|
|
361
|
-
htmlAttributes: { 'title': this.localeObj.getConstant(REPEAT)
|
|
361
|
+
htmlAttributes: { 'title': this.localeObj.getConstant(REPEAT) },
|
|
362
362
|
change: function (args) {
|
|
363
363
|
self.setProperties({ selectedType: _this.frequencies.indexOf(args.value) }, false);
|
|
364
364
|
self.element.querySelector('.' + REPEATCONTENT).innerHTML =
|
|
@@ -380,7 +380,6 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
380
380
|
text: TEXTFIELD,
|
|
381
381
|
value: VALUEFIELD
|
|
382
382
|
},
|
|
383
|
-
htmlAttributes: { role: 'option' },
|
|
384
383
|
change: function (args) {
|
|
385
384
|
self.freshOnEndForm();
|
|
386
385
|
self.updateEndOnForm(args.value);
|
|
@@ -398,7 +397,6 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
398
397
|
text: TEXTFIELD,
|
|
399
398
|
value: VALUEFIELD
|
|
400
399
|
},
|
|
401
|
-
htmlAttributes: { role: 'option' },
|
|
402
400
|
index: 1,
|
|
403
401
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
404
402
|
change: function (args) {
|
|
@@ -418,7 +416,6 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
418
416
|
text: TEXTFIELD,
|
|
419
417
|
value: VALUEFIELD
|
|
420
418
|
},
|
|
421
|
-
htmlAttributes: { role: 'option' },
|
|
422
419
|
enableRtl: this.enableRtl,
|
|
423
420
|
index: 7,
|
|
424
421
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -722,7 +719,7 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
722
719
|
'<input type="text" tabindex="0" class="' + REPEATELEMENT +
|
|
723
720
|
'"label="' + REPEATELEMENT.substr(2) + '" />' +
|
|
724
721
|
'</div><div class="' + INPUTWARAPPER + ' ' +
|
|
725
|
-
INTERVALCLASS + ' ' + FORMRIGHT + '"><table class="' + RECURRENCETABLE + ' ' + REPEATCONTENTWRAPPER + '"><tr>' +
|
|
722
|
+
INTERVALCLASS + ' ' + FORMRIGHT + '"><table class="' + RECURRENCETABLE + ' ' + REPEATCONTENTWRAPPER + '" role="none"><tr>' +
|
|
726
723
|
'<td><input type="text" tabindex="0" id="' + this.element.id + '_' + REPEATINTERVAL + '" class="' + REPEATINTERVAL +
|
|
727
724
|
'"title="' + this.localeObj.getConstant('repeatEvery') + '" /></td>' +
|
|
728
725
|
'<td><span class="' + REPEATCONTENT + '"></span></td>' +
|
|
@@ -742,7 +739,7 @@ var RecurrenceEditor = /** @class */ (function (_super) {
|
|
|
742
739
|
this.localeObj.getConstant('yearExpander') + '"/>' +
|
|
743
740
|
'</div>' +
|
|
744
741
|
'<div class="' + MONETHEXPANDERWRAPPER + '">' +
|
|
745
|
-
'<table class="' + RECURRENCETABLE + ' ' + MONETHEXPANDWRAPPER + '"><tr><td>' +
|
|
742
|
+
'<table class="' + RECURRENCETABLE + ' ' + MONETHEXPANDWRAPPER + '" role="none"><tr><td>' +
|
|
746
743
|
'<div class="' + INPUTWARAPPER + ' ' + MONTHEXPANDERCHECKBOXWRAPPER + '">' +
|
|
747
744
|
'<input class="' + MONTHEXPANDERELEMENT + '"title="' + this.localeObj.getConstant('monthExpander') + '" type="radio">' +
|
|
748
745
|
'</div></td>' +
|
|
@@ -446,7 +446,7 @@ var Crud = /** @class */ (function () {
|
|
|
446
446
|
}
|
|
447
447
|
if (isSpanned) {
|
|
448
448
|
followData_1.occurrence = followData_1.occurrence.filter(function (eventObj) {
|
|
449
|
-
return eventObj[fields_1.recurrenceID] ===
|
|
449
|
+
return eventObj[fields_1.recurrenceID] === parentEvent[fields_1.id];
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
editParams.deletedRecords = editParams.deletedRecords.concat(followData_1.occurrence);
|
|
@@ -35,8 +35,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
35
35
|
* When set to `false`, hides the header bar of the Schedule from UI. By default,
|
|
36
36
|
* the header bar holds the date and view navigation options, to which the user can add their own custom items onto it.
|
|
37
37
|
*
|
|
38
|
-
* {% codeBlock src='schedule/showHeaderBar/index.md' %}{% endcodeBlock %}
|
|
39
|
-
*
|
|
40
38
|
* @default true
|
|
41
39
|
*/
|
|
42
40
|
showHeaderBar?: boolean;
|
|
@@ -45,8 +43,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
45
43
|
* When set to `false`, hides the current time indicator from the Schedule. Otherwise,
|
|
46
44
|
* it visually depicts the live current system time appropriately on the user interface.
|
|
47
45
|
*
|
|
48
|
-
* {% codeBlock src='schedule/showTimeIndicator/index.md' %}{% endcodeBlock %}
|
|
49
|
-
*
|
|
50
46
|
* @default true
|
|
51
47
|
*/
|
|
52
48
|
showTimeIndicator?: boolean;
|
|
@@ -157,8 +153,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
157
153
|
* When set to `false`, it hides the weekend days of a week from the Schedule. The days which are not defined in the working days
|
|
158
154
|
* collection are usually treated as weekend days.
|
|
159
155
|
*
|
|
160
|
-
* {% codeBlock src='schedule/showWeekend/index.md' %}{% endcodeBlock %}
|
|
161
|
-
*
|
|
162
156
|
* Note: By default, this option is not applicable on `Work Week` view.
|
|
163
157
|
* For example, if the working days are defined as [1, 2, 3, 4], then the remaining days of that week will be considered as
|
|
164
158
|
* the weekend days and will be hidden on all the views.
|
|
@@ -253,8 +247,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
253
247
|
* When set to `true`, If valid, the scroll on the all day row is activated when the all day row
|
|
254
248
|
* height reaches the max height when the all day row is expanded.
|
|
255
249
|
*
|
|
256
|
-
* {% codeBlock src='schedule/enableAllDayScroll/index.md' %}{% endcodeBlock %}
|
|
257
|
-
*
|
|
258
250
|
* @default false
|
|
259
251
|
*/
|
|
260
252
|
enableAllDayScroll?: boolean;
|
|
@@ -262,8 +254,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
262
254
|
/**
|
|
263
255
|
* When set to `true`, the header view navigations are listed under the popup and if we enable resource grouping, the compact view will be enabled.
|
|
264
256
|
*
|
|
265
|
-
* {% codeBlock src='schedule/enableAdaptiveUI/index.md' %}{% endcodeBlock %}
|
|
266
|
-
*
|
|
267
257
|
* @default false
|
|
268
258
|
*/
|
|
269
259
|
enableAdaptiveUI?: boolean;
|
|
@@ -272,8 +262,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
272
262
|
* When set to `true`, allows the resizing of appointments. It allows the rescheduling of appointments either by changing the
|
|
273
263
|
* start or end time by dragging the event resize handlers.
|
|
274
264
|
*
|
|
275
|
-
* {% codeBlock src='schedule/allowResizing/index.md' %}{% endcodeBlock %}
|
|
276
|
-
*
|
|
277
265
|
* @default true
|
|
278
266
|
*/
|
|
279
267
|
allowResizing?: boolean;
|
|
@@ -302,8 +290,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
302
290
|
/**
|
|
303
291
|
* When set to `true`, allows the keyboard interaction to take place on Schedule.
|
|
304
292
|
*
|
|
305
|
-
* {% codeBlock src='schedule/allowKeyboardInteraction/index.md' %}{% endcodeBlock %}
|
|
306
|
-
*
|
|
307
293
|
* @default true
|
|
308
294
|
*/
|
|
309
295
|
allowKeyboardInteraction?: boolean;
|
|
@@ -312,8 +298,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
312
298
|
* When set to `true`, allows the appointments to move over the time slots. When an appointment is dragged, both its start
|
|
313
299
|
* and end time tends to change simultaneously allowing it to reschedule the appointment on some other time.
|
|
314
300
|
*
|
|
315
|
-
* {% codeBlock src='schedule/allowDragAndDrop/index.md' %}{% endcodeBlock %}
|
|
316
|
-
*
|
|
317
301
|
* @default true
|
|
318
302
|
*/
|
|
319
303
|
allowDragAndDrop?: boolean;
|
|
@@ -325,6 +309,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
325
309
|
* {% codeBlock src='schedule/dateHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
326
310
|
*
|
|
327
311
|
* @default null
|
|
312
|
+
* @angularType string | object
|
|
313
|
+
* @reactType string | function | JSX.Element
|
|
314
|
+
* @vueType string | function
|
|
328
315
|
* @aspType string
|
|
329
316
|
*/
|
|
330
317
|
dateHeaderTemplate?: string | Function;
|
|
@@ -333,6 +320,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
333
320
|
* It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the header date range.
|
|
334
321
|
*
|
|
335
322
|
* @default null
|
|
323
|
+
* @angularType string | object
|
|
324
|
+
* @reactType string | function | JSX.Element
|
|
325
|
+
* @vueType string | function
|
|
336
326
|
* @aspType string
|
|
337
327
|
*/
|
|
338
328
|
dateRangeTemplate?: string | Function;
|
|
@@ -344,6 +334,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
344
334
|
* {% codeBlock src='schedule/cellHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
345
335
|
*
|
|
346
336
|
* @default null
|
|
337
|
+
* @angularType string | object
|
|
338
|
+
* @reactType string | function | JSX.Element
|
|
339
|
+
* @vueType string | function
|
|
347
340
|
* @aspType string
|
|
348
341
|
*/
|
|
349
342
|
cellHeaderTemplate?: string | Function;
|
|
@@ -355,6 +348,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
355
348
|
* {% codeBlock src='schedule/dayHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
356
349
|
*
|
|
357
350
|
* @default null
|
|
351
|
+
* @angularType string | object
|
|
352
|
+
* @reactType string | function | JSX.Element
|
|
353
|
+
* @vueType string | function
|
|
358
354
|
* @aspType string
|
|
359
355
|
*/
|
|
360
356
|
dayHeaderTemplate?: string | Function;
|
|
@@ -366,6 +362,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
366
362
|
* {% codeBlock src='schedule/monthHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
367
363
|
*
|
|
368
364
|
* @default null
|
|
365
|
+
* @angularType string | object
|
|
366
|
+
* @reactType string | function | JSX.Element
|
|
367
|
+
* @vueType string | function
|
|
369
368
|
* @aspType string
|
|
370
369
|
*/
|
|
371
370
|
monthHeaderTemplate?: string | Function;
|
|
@@ -383,6 +382,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
383
382
|
* {% codeBlock src='schedule/cellTemplate/index.md' %}{% endcodeBlock %}
|
|
384
383
|
*
|
|
385
384
|
* @default null
|
|
385
|
+
* @angularType string | object
|
|
386
|
+
* @reactType string | function | JSX.Element
|
|
387
|
+
* @vueType string | function
|
|
386
388
|
* @aspType string
|
|
387
389
|
*/
|
|
388
390
|
cellTemplate?: string | Function;
|
|
@@ -390,8 +392,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
390
392
|
/**
|
|
391
393
|
* When set to `true`, makes the Schedule to render in a read only mode. No CRUD actions will be allowed at this time.
|
|
392
394
|
*
|
|
393
|
-
* {% codeBlock src='schedule/readonly/index.md' %}{% endcodeBlock %}
|
|
394
|
-
*
|
|
395
395
|
* @default false
|
|
396
396
|
*/
|
|
397
397
|
readonly?: boolean;
|
|
@@ -400,8 +400,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
400
400
|
* When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
|
|
401
401
|
* By default, it is set to `true`.
|
|
402
402
|
*
|
|
403
|
-
* {% codeBlock src='schedule/showQuickInfo/index.md' %}{% endcodeBlock %}
|
|
404
|
-
*
|
|
405
403
|
* @default true
|
|
406
404
|
*/
|
|
407
405
|
showQuickInfo?: boolean;
|
|
@@ -409,8 +407,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
409
407
|
/**
|
|
410
408
|
* This property helps user to add/edit the event in inline. By default, it is set to `false`.
|
|
411
409
|
*
|
|
412
|
-
* {% codeBlock src='schedule/allowInline/index.md' %}{% endcodeBlock %}
|
|
413
|
-
*
|
|
414
410
|
* @default false
|
|
415
411
|
*/
|
|
416
412
|
allowInline?: boolean;
|
|
@@ -418,8 +414,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
418
414
|
/**
|
|
419
415
|
* This property helps user to allow/prevent the selection of multiple cells. By default, it is set to `true`.
|
|
420
416
|
*
|
|
421
|
-
* {% codeBlock src='schedule/allowMultiCellSelection/index.md' %}{% endcodeBlock %}
|
|
422
|
-
*
|
|
423
417
|
* @default true
|
|
424
418
|
*/
|
|
425
419
|
allowMultiCellSelection?: boolean;
|
|
@@ -427,8 +421,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
427
421
|
/**
|
|
428
422
|
* This property helps user to allow/prevent the selection of multiple days(rows). By default, it is set to `true`.
|
|
429
423
|
*
|
|
430
|
-
* {% codeBlock src='schedule/allowMultiRowSelection/index.md' %}{% endcodeBlock %}
|
|
431
|
-
*
|
|
432
424
|
* @default true
|
|
433
425
|
*/
|
|
434
426
|
allowMultiRowSelection?: boolean;
|
|
@@ -436,8 +428,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
436
428
|
/**
|
|
437
429
|
* This property helps to show quick popup after multiple cell selection. By default, it is set to `false`.
|
|
438
430
|
*
|
|
439
|
-
* {% codeBlock src='schedule/quickInfoOnSelectionEnd/index.md' %}{% endcodeBlock %}
|
|
440
|
-
*
|
|
441
431
|
* @default false
|
|
442
432
|
*/
|
|
443
433
|
quickInfoOnSelectionEnd?: boolean;
|
|
@@ -445,8 +435,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
445
435
|
/**
|
|
446
436
|
* When set to `true`, displays the week number of the current view date range. By default, it is set to `false`.
|
|
447
437
|
*
|
|
448
|
-
* {% codeBlock src='schedule/showWeekNumber/index.md' %}{% endcodeBlock %}
|
|
449
|
-
*
|
|
450
438
|
* @default false
|
|
451
439
|
*/
|
|
452
440
|
showWeekNumber?: boolean;
|
|
@@ -455,8 +443,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
455
443
|
* when set to `true`, allows the height of the work-cells to adjust automatically
|
|
456
444
|
* based on the number of appointments present in those time ranges.
|
|
457
445
|
*
|
|
458
|
-
* {% codeBlock src='schedule/rowAutoHeight/index.md' %}{% endcodeBlock %}
|
|
459
|
-
*
|
|
460
446
|
* @default false
|
|
461
447
|
*/
|
|
462
448
|
rowAutoHeight?: boolean;
|
|
@@ -464,8 +450,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
464
450
|
/**
|
|
465
451
|
* This property helps to drag the multiple selected events. By default, it is set to `false`.
|
|
466
452
|
*
|
|
467
|
-
* {% codeBlock src='schedule/allowMultiDrag/index.md' %}{% endcodeBlock %}
|
|
468
|
-
*
|
|
469
453
|
* @default false
|
|
470
454
|
*/
|
|
471
455
|
allowMultiDrag?: boolean;
|
|
@@ -486,6 +470,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
486
470
|
* {% codeBlock src='schedule/editorTemplate/index.md' %}{% endcodeBlock %}
|
|
487
471
|
*
|
|
488
472
|
* @default null
|
|
473
|
+
* @angularType string | object
|
|
474
|
+
* @reactType string | function | JSX.Element
|
|
475
|
+
* @vueType string | function
|
|
489
476
|
* @aspType string
|
|
490
477
|
*/
|
|
491
478
|
editorTemplate?: string | Function;
|
|
@@ -514,8 +501,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
514
501
|
* The days which does not has even a single event to display will be hidden from the UI of Agenda View by default.
|
|
515
502
|
* When this property is set to `false`, the empty dates will also be displayed on the Schedule.
|
|
516
503
|
*
|
|
517
|
-
* {% codeBlock src='schedule/hideEmptyAgendaDays/index.md' %}{% endcodeBlock %}
|
|
518
|
-
*
|
|
519
504
|
* @default true
|
|
520
505
|
*/
|
|
521
506
|
hideEmptyAgendaDays?: boolean;
|
|
@@ -523,8 +508,6 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
523
508
|
/**
|
|
524
509
|
* The recurrence validation will be done by default. When this property is set to `false`, the recurrence validation will be skipped.
|
|
525
510
|
*
|
|
526
|
-
* {% codeBlock src='schedule/enableRecurrenceValidation/index.md' %}{% endcodeBlock %}
|
|
527
|
-
*
|
|
528
511
|
* @default true
|
|
529
512
|
*/
|
|
530
513
|
enableRecurrenceValidation?: boolean;
|
|
@@ -573,6 +556,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
573
556
|
* {% codeBlock src='schedule/resourceHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
574
557
|
*
|
|
575
558
|
* @default null
|
|
559
|
+
* @angularType string | object
|
|
560
|
+
* @reactType string | function | JSX.Element
|
|
561
|
+
* @vueType string | function
|
|
576
562
|
* @aspType string
|
|
577
563
|
*/
|
|
578
564
|
resourceHeaderTemplate?: string | Function;
|
|
@@ -586,6 +572,9 @@ export interface ScheduleModel extends ComponentModel{
|
|
|
586
572
|
* {% codeBlock src='schedule/headerIndentTemplate/index.md' %}{% endcodeBlock %}
|
|
587
573
|
*
|
|
588
574
|
* @default null
|
|
575
|
+
* @angularType string | object
|
|
576
|
+
* @reactType string | function | JSX.Element
|
|
577
|
+
* @vueType string | function
|
|
589
578
|
* @aspType string
|
|
590
579
|
*/
|
|
591
580
|
headerIndentTemplate?: string | Function;
|
|
@@ -162,8 +162,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
162
162
|
* When set to `false`, hides the header bar of the Schedule from UI. By default,
|
|
163
163
|
* the header bar holds the date and view navigation options, to which the user can add their own custom items onto it.
|
|
164
164
|
*
|
|
165
|
-
* {% codeBlock src='schedule/showHeaderBar/index.md' %}{% endcodeBlock %}
|
|
166
|
-
*
|
|
167
165
|
* @default true
|
|
168
166
|
*/
|
|
169
167
|
showHeaderBar: boolean;
|
|
@@ -171,8 +169,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
171
169
|
* When set to `false`, hides the current time indicator from the Schedule. Otherwise,
|
|
172
170
|
* it visually depicts the live current system time appropriately on the user interface.
|
|
173
171
|
*
|
|
174
|
-
* {% codeBlock src='schedule/showTimeIndicator/index.md' %}{% endcodeBlock %}
|
|
175
|
-
*
|
|
176
172
|
* @default true
|
|
177
173
|
*/
|
|
178
174
|
showTimeIndicator: boolean;
|
|
@@ -274,8 +270,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
274
270
|
* When set to `false`, it hides the weekend days of a week from the Schedule. The days which are not defined in the working days
|
|
275
271
|
* collection are usually treated as weekend days.
|
|
276
272
|
*
|
|
277
|
-
* {% codeBlock src='schedule/showWeekend/index.md' %}{% endcodeBlock %}
|
|
278
|
-
*
|
|
279
273
|
* Note: By default, this option is not applicable on `Work Week` view.
|
|
280
274
|
* For example, if the working days are defined as [1, 2, 3, 4], then the remaining days of that week will be considered as
|
|
281
275
|
* the weekend days and will be hidden on all the views.
|
|
@@ -361,16 +355,12 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
361
355
|
* When set to `true`, If valid, the scroll on the all day row is activated when the all day row
|
|
362
356
|
* height reaches the max height when the all day row is expanded.
|
|
363
357
|
*
|
|
364
|
-
* {% codeBlock src='schedule/enableAllDayScroll/index.md' %}{% endcodeBlock %}
|
|
365
|
-
*
|
|
366
358
|
* @default false
|
|
367
359
|
*/
|
|
368
360
|
enableAllDayScroll: boolean;
|
|
369
361
|
/**
|
|
370
362
|
* When set to `true`, the header view navigations are listed under the popup and if we enable resource grouping, the compact view will be enabled.
|
|
371
363
|
*
|
|
372
|
-
* {% codeBlock src='schedule/enableAdaptiveUI/index.md' %}{% endcodeBlock %}
|
|
373
|
-
*
|
|
374
364
|
* @default false
|
|
375
365
|
*/
|
|
376
366
|
enableAdaptiveUI: boolean;
|
|
@@ -378,8 +368,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
378
368
|
* When set to `true`, allows the resizing of appointments. It allows the rescheduling of appointments either by changing the
|
|
379
369
|
* start or end time by dragging the event resize handlers.
|
|
380
370
|
*
|
|
381
|
-
* {% codeBlock src='schedule/allowResizing/index.md' %}{% endcodeBlock %}
|
|
382
|
-
*
|
|
383
371
|
* @default true
|
|
384
372
|
*/
|
|
385
373
|
allowResizing: boolean;
|
|
@@ -405,8 +393,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
405
393
|
/**
|
|
406
394
|
* When set to `true`, allows the keyboard interaction to take place on Schedule.
|
|
407
395
|
*
|
|
408
|
-
* {% codeBlock src='schedule/allowKeyboardInteraction/index.md' %}{% endcodeBlock %}
|
|
409
|
-
*
|
|
410
396
|
* @default true
|
|
411
397
|
*/
|
|
412
398
|
allowKeyboardInteraction: boolean;
|
|
@@ -414,8 +400,6 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
414
400
|
* When set to `true`, allows the appointments to move over the time slots. When an appointment is dragged, both its start
|
|
415
401
|
* and end time tends to change simultaneously allowing it to reschedule the appointment on some other time.
|
|
416
402
|
*
|
|
417
|
-
* {% codeBlock src='schedule/allowDragAndDrop/index.md' %}{% endcodeBlock %}
|
|
418
|
-
*
|
|
419
403
|
* @default true
|
|
420
404
|
*/
|
|
421
405
|
allowDragAndDrop: boolean;
|
|
@@ -426,6 +410,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
426
410
|
* {% codeBlock src='schedule/dateHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
427
411
|
*
|
|
428
412
|
* @default null
|
|
413
|
+
* @angularType string | object
|
|
414
|
+
* @reactType string | function | JSX.Element
|
|
415
|
+
* @vueType string | function
|
|
429
416
|
* @aspType string
|
|
430
417
|
*/
|
|
431
418
|
dateHeaderTemplate: string | Function;
|
|
@@ -433,6 +420,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
433
420
|
* It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the header date range.
|
|
434
421
|
*
|
|
435
422
|
* @default null
|
|
423
|
+
* @angularType string | object
|
|
424
|
+
* @reactType string | function | JSX.Element
|
|
425
|
+
* @vueType string | function
|
|
436
426
|
* @aspType string
|
|
437
427
|
*/
|
|
438
428
|
dateRangeTemplate: string | Function;
|
|
@@ -443,6 +433,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
443
433
|
* {% codeBlock src='schedule/cellHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
444
434
|
*
|
|
445
435
|
* @default null
|
|
436
|
+
* @angularType string | object
|
|
437
|
+
* @reactType string | function | JSX.Element
|
|
438
|
+
* @vueType string | function
|
|
446
439
|
* @aspType string
|
|
447
440
|
*/
|
|
448
441
|
cellHeaderTemplate: string | Function;
|
|
@@ -453,6 +446,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
453
446
|
* {% codeBlock src='schedule/dayHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
454
447
|
*
|
|
455
448
|
* @default null
|
|
449
|
+
* @angularType string | object
|
|
450
|
+
* @reactType string | function | JSX.Element
|
|
451
|
+
* @vueType string | function
|
|
456
452
|
* @aspType string
|
|
457
453
|
*/
|
|
458
454
|
dayHeaderTemplate: string | Function;
|
|
@@ -463,6 +459,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
463
459
|
* {% codeBlock src='schedule/monthHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
464
460
|
*
|
|
465
461
|
* @default null
|
|
462
|
+
* @angularType string | object
|
|
463
|
+
* @reactType string | function | JSX.Element
|
|
464
|
+
* @vueType string | function
|
|
466
465
|
* @aspType string
|
|
467
466
|
*/
|
|
468
467
|
monthHeaderTemplate: string | Function;
|
|
@@ -479,14 +478,15 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
479
478
|
* {% codeBlock src='schedule/cellTemplate/index.md' %}{% endcodeBlock %}
|
|
480
479
|
*
|
|
481
480
|
* @default null
|
|
481
|
+
* @angularType string | object
|
|
482
|
+
* @reactType string | function | JSX.Element
|
|
483
|
+
* @vueType string | function
|
|
482
484
|
* @aspType string
|
|
483
485
|
*/
|
|
484
486
|
cellTemplate: string | Function;
|
|
485
487
|
/**
|
|
486
488
|
* When set to `true`, makes the Schedule to render in a read only mode. No CRUD actions will be allowed at this time.
|
|
487
489
|
*
|
|
488
|
-
* {% codeBlock src='schedule/readonly/index.md' %}{% endcodeBlock %}
|
|
489
|
-
*
|
|
490
490
|
* @default false
|
|
491
491
|
*/
|
|
492
492
|
readonly: boolean;
|
|
@@ -494,48 +494,36 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
494
494
|
* When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
|
|
495
495
|
* By default, it is set to `true`.
|
|
496
496
|
*
|
|
497
|
-
* {% codeBlock src='schedule/showQuickInfo/index.md' %}{% endcodeBlock %}
|
|
498
|
-
*
|
|
499
497
|
* @default true
|
|
500
498
|
*/
|
|
501
499
|
showQuickInfo: boolean;
|
|
502
500
|
/**
|
|
503
501
|
* This property helps user to add/edit the event in inline. By default, it is set to `false`.
|
|
504
502
|
*
|
|
505
|
-
* {% codeBlock src='schedule/allowInline/index.md' %}{% endcodeBlock %}
|
|
506
|
-
*
|
|
507
503
|
* @default false
|
|
508
504
|
*/
|
|
509
505
|
allowInline: boolean;
|
|
510
506
|
/**
|
|
511
507
|
* This property helps user to allow/prevent the selection of multiple cells. By default, it is set to `true`.
|
|
512
508
|
*
|
|
513
|
-
* {% codeBlock src='schedule/allowMultiCellSelection/index.md' %}{% endcodeBlock %}
|
|
514
|
-
*
|
|
515
509
|
* @default true
|
|
516
510
|
*/
|
|
517
511
|
allowMultiCellSelection: boolean;
|
|
518
512
|
/**
|
|
519
513
|
* This property helps user to allow/prevent the selection of multiple days(rows). By default, it is set to `true`.
|
|
520
514
|
*
|
|
521
|
-
* {% codeBlock src='schedule/allowMultiRowSelection/index.md' %}{% endcodeBlock %}
|
|
522
|
-
*
|
|
523
515
|
* @default true
|
|
524
516
|
*/
|
|
525
517
|
allowMultiRowSelection: boolean;
|
|
526
518
|
/**
|
|
527
519
|
* This property helps to show quick popup after multiple cell selection. By default, it is set to `false`.
|
|
528
520
|
*
|
|
529
|
-
* {% codeBlock src='schedule/quickInfoOnSelectionEnd/index.md' %}{% endcodeBlock %}
|
|
530
|
-
*
|
|
531
521
|
* @default false
|
|
532
522
|
*/
|
|
533
523
|
quickInfoOnSelectionEnd: boolean;
|
|
534
524
|
/**
|
|
535
525
|
* When set to `true`, displays the week number of the current view date range. By default, it is set to `false`.
|
|
536
526
|
*
|
|
537
|
-
* {% codeBlock src='schedule/showWeekNumber/index.md' %}{% endcodeBlock %}
|
|
538
|
-
*
|
|
539
527
|
* @default false
|
|
540
528
|
*/
|
|
541
529
|
showWeekNumber: boolean;
|
|
@@ -543,16 +531,12 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
543
531
|
* when set to `true`, allows the height of the work-cells to adjust automatically
|
|
544
532
|
* based on the number of appointments present in those time ranges.
|
|
545
533
|
*
|
|
546
|
-
* {% codeBlock src='schedule/rowAutoHeight/index.md' %}{% endcodeBlock %}
|
|
547
|
-
*
|
|
548
534
|
* @default false
|
|
549
535
|
*/
|
|
550
536
|
rowAutoHeight: boolean;
|
|
551
537
|
/**
|
|
552
538
|
* This property helps to drag the multiple selected events. By default, it is set to `false`.
|
|
553
539
|
*
|
|
554
|
-
* {% codeBlock src='schedule/allowMultiDrag/index.md' %}{% endcodeBlock %}
|
|
555
|
-
*
|
|
556
540
|
* @default false
|
|
557
541
|
*/
|
|
558
542
|
allowMultiDrag: boolean;
|
|
@@ -571,6 +555,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
571
555
|
* {% codeBlock src='schedule/editorTemplate/index.md' %}{% endcodeBlock %}
|
|
572
556
|
*
|
|
573
557
|
* @default null
|
|
558
|
+
* @angularType string | object
|
|
559
|
+
* @reactType string | function | JSX.Element
|
|
560
|
+
* @vueType string | function
|
|
574
561
|
* @aspType string
|
|
575
562
|
*/
|
|
576
563
|
editorTemplate: string | Function;
|
|
@@ -596,16 +583,12 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
596
583
|
* The days which does not has even a single event to display will be hidden from the UI of Agenda View by default.
|
|
597
584
|
* When this property is set to `false`, the empty dates will also be displayed on the Schedule.
|
|
598
585
|
*
|
|
599
|
-
* {% codeBlock src='schedule/hideEmptyAgendaDays/index.md' %}{% endcodeBlock %}
|
|
600
|
-
*
|
|
601
586
|
* @default true
|
|
602
587
|
*/
|
|
603
588
|
hideEmptyAgendaDays: boolean;
|
|
604
589
|
/**
|
|
605
590
|
* The recurrence validation will be done by default. When this property is set to `false`, the recurrence validation will be skipped.
|
|
606
591
|
*
|
|
607
|
-
* {% codeBlock src='schedule/enableRecurrenceValidation/index.md' %}{% endcodeBlock %}
|
|
608
|
-
*
|
|
609
592
|
* @default true
|
|
610
593
|
*/
|
|
611
594
|
enableRecurrenceValidation: boolean;
|
|
@@ -650,6 +633,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
650
633
|
* {% codeBlock src='schedule/resourceHeaderTemplate/index.md' %}{% endcodeBlock %}
|
|
651
634
|
*
|
|
652
635
|
* @default null
|
|
636
|
+
* @angularType string | object
|
|
637
|
+
* @reactType string | function | JSX.Element
|
|
638
|
+
* @vueType string | function
|
|
653
639
|
* @aspType string
|
|
654
640
|
*/
|
|
655
641
|
resourceHeaderTemplate: string | Function;
|
|
@@ -662,6 +648,9 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
662
648
|
* {% codeBlock src='schedule/headerIndentTemplate/index.md' %}{% endcodeBlock %}
|
|
663
649
|
*
|
|
664
650
|
* @default null
|
|
651
|
+
* @angularType string | object
|
|
652
|
+
* @reactType string | function | JSX.Element
|
|
653
|
+
* @vueType string | function
|
|
665
654
|
* @aspType string
|
|
666
655
|
*/
|
|
667
656
|
headerIndentTemplate: string | Function;
|
|
@@ -1173,6 +1173,7 @@ var Schedule = /** @class */ (function (_super) {
|
|
|
1173
1173
|
if (this.quickPopup) {
|
|
1174
1174
|
this.quickPopup.onClosePopup();
|
|
1175
1175
|
}
|
|
1176
|
+
util.resetScrollbarWidth();
|
|
1176
1177
|
if (this.currentView === 'Month' || ((this.currentView !== 'Agenda' && this.currentView !== 'MonthAgenda')
|
|
1177
1178
|
&& !this.activeViewOptions.timeScale.enable) || this.activeView.isTimelineView()) {
|
|
1178
1179
|
this.activeView.resetColWidth();
|
|
@@ -172,6 +172,12 @@ export declare function getDateFromString(date: string): Date;
|
|
|
172
172
|
* @private
|
|
173
173
|
*/
|
|
174
174
|
export declare function getScrollBarWidth(): number;
|
|
175
|
+
/**
|
|
176
|
+
* Method to reset scrollbar width
|
|
177
|
+
*
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
180
|
+
export declare function resetScrollbarWidth(): void;
|
|
175
181
|
/**
|
|
176
182
|
* Method to find the index from data collection
|
|
177
183
|
*
|