@mindfusion/scheduling 2.0.0 → 2.0.1
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/README.md +3 -3
- package/dist/cjs/scheduling.js +1 -1
- package/dist/esm/scheduling.js +1 -1
- package/dist/umd/scheduling.js +1 -1
- package/package.json +1 -1
- package/scheduling.d.ts +794 -1364
- package/themes/earth.css +1 -0
package/scheduling.d.ts
CHANGED
|
@@ -7,7 +7,16 @@ declare module "Scheduling/jsplanner/src/UIControl" {
|
|
|
7
7
|
* @class A base class for UI controls.
|
|
8
8
|
*/
|
|
9
9
|
export class UIControl extends Control {
|
|
10
|
+
static get tm(): number[];
|
|
11
|
+
static get tm2(): number[];
|
|
12
|
+
static get ns(): string;
|
|
13
|
+
_messenger: {
|
|
14
|
+
message(control: any): void;
|
|
15
|
+
setKey(value: any): void;
|
|
16
|
+
};
|
|
17
|
+
get targetElement(): Element;
|
|
10
18
|
setLicenseKey(value: any): void;
|
|
19
|
+
get tm2(): number[];
|
|
11
20
|
}
|
|
12
21
|
import { Control } from "@mindfusion/common";
|
|
13
22
|
}
|
|
@@ -321,7 +330,6 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
321
330
|
/**
|
|
322
331
|
* @class Specifies data for form related events
|
|
323
332
|
* @augments CancelEventArgs
|
|
324
|
-
* @property {BaseForm} form Gets the form related to the event.
|
|
325
333
|
*/
|
|
326
334
|
export class FormEventArgs extends CancelEventArgs {
|
|
327
335
|
/**
|
|
@@ -333,14 +341,14 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
333
341
|
_form: any;
|
|
334
342
|
/**
|
|
335
343
|
* Gets the form related to the event.
|
|
336
|
-
* @
|
|
344
|
+
* @type {BaseForm}
|
|
345
|
+
* @summary The BaseForm instance related to the event.
|
|
337
346
|
*/
|
|
338
347
|
get form(): any;
|
|
339
348
|
}
|
|
340
349
|
/**
|
|
341
350
|
* @class Specifies data for the ButtonClick event.
|
|
342
351
|
* @augments CancelEventArgs
|
|
343
|
-
* @property {Number} button Gets a value indicating which navigation button is clicked.
|
|
344
352
|
*/
|
|
345
353
|
export class ButtonEventArgs extends CancelEventArgs {
|
|
346
354
|
/**
|
|
@@ -350,12 +358,16 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
350
358
|
*/
|
|
351
359
|
constructor(button: number);
|
|
352
360
|
_button: number;
|
|
361
|
+
/**
|
|
362
|
+
* Gets the index of the button related to the event.
|
|
363
|
+
* @type {Number}
|
|
364
|
+
* @summary The button index.
|
|
365
|
+
*/
|
|
353
366
|
get button(): number;
|
|
354
367
|
}
|
|
355
368
|
/**
|
|
356
369
|
* @class Specifies data for cell related events.
|
|
357
370
|
* @augments EventArgs
|
|
358
|
-
* @property {ViewCell} cell Gets the calendar view cell related to the event.
|
|
359
371
|
*/
|
|
360
372
|
export class CellEventArgs extends EventArgs {
|
|
361
373
|
/**
|
|
@@ -367,14 +379,14 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
367
379
|
_cell: any;
|
|
368
380
|
/**
|
|
369
381
|
* Gets the calendar view cell related to the event.
|
|
370
|
-
* @
|
|
382
|
+
* @type {ViewCell}
|
|
383
|
+
* @summary The ViewCell instance related to the event.
|
|
371
384
|
*/
|
|
372
385
|
get cell(): any;
|
|
373
386
|
}
|
|
374
387
|
/**
|
|
375
388
|
* @class Specifies data for header related events.
|
|
376
389
|
* @augments EventArgs
|
|
377
|
-
* @property {HeaderType} type Gets the type of the header related to the event.
|
|
378
390
|
*/
|
|
379
391
|
export class HeaderEventArgs extends EventArgs {
|
|
380
392
|
/**
|
|
@@ -386,16 +398,14 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
386
398
|
_type: any;
|
|
387
399
|
/**
|
|
388
400
|
* Gets the type of the header related to the event.
|
|
389
|
-
* @
|
|
401
|
+
* @type {HeaderType}
|
|
402
|
+
* @summary One of the HeaderType enumeration values.
|
|
390
403
|
*/
|
|
391
404
|
get type(): any;
|
|
392
405
|
}
|
|
393
406
|
/**
|
|
394
407
|
* @class Specifies data for selection related events.
|
|
395
408
|
* @augments CancelEventArgs
|
|
396
|
-
* @property {DateTime} startTime Gets the start time of the selection.
|
|
397
|
-
* @property {DateTime} endTime Gets the end time of the selection.
|
|
398
|
-
* @property {Resource} resource Gets the resource related to the event.
|
|
399
409
|
*/
|
|
400
410
|
export class SelectionEventArgs extends CancelEventArgs {
|
|
401
411
|
/**
|
|
@@ -411,25 +421,26 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
411
421
|
_resource: any;
|
|
412
422
|
/**
|
|
413
423
|
* Gets the start time of the selection.
|
|
414
|
-
* @
|
|
424
|
+
* @type {DateTime}
|
|
425
|
+
* @summary The start time of the selection.
|
|
415
426
|
*/
|
|
416
427
|
get startTime(): any;
|
|
417
428
|
/**
|
|
418
429
|
* Gets the end time of the selection.
|
|
419
|
-
* @
|
|
430
|
+
* @type {DateTime}
|
|
431
|
+
* @summary The end time of the selection.
|
|
420
432
|
*/
|
|
421
433
|
get endTime(): any;
|
|
422
434
|
/**
|
|
423
435
|
* Gets resource related to the event.
|
|
424
|
-
* @
|
|
436
|
+
* @type {Resource}
|
|
437
|
+
* @summary The resource related to the event.
|
|
425
438
|
*/
|
|
426
439
|
get resource(): any;
|
|
427
440
|
}
|
|
428
441
|
/**
|
|
429
442
|
* @class Specifies data for the item related events.
|
|
430
443
|
* @augments EventArgs
|
|
431
|
-
* @property {Item} item Gets the item, associated with the event.
|
|
432
|
-
* @property {Object} rawEventArgs Gets the Javascript event data.
|
|
433
444
|
*/
|
|
434
445
|
export class ItemEventArgs extends EventArgs {
|
|
435
446
|
/**
|
|
@@ -443,21 +454,20 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
443
454
|
_rawEventArgs: any;
|
|
444
455
|
/**
|
|
445
456
|
* Gets the item, associated with the event.
|
|
446
|
-
* @
|
|
457
|
+
* @type {Item}
|
|
458
|
+
* @summary The item, associated with the event.
|
|
447
459
|
*/
|
|
448
460
|
get item(): any;
|
|
449
461
|
/**
|
|
450
462
|
* Gets the Javascript event data.
|
|
451
|
-
* @
|
|
463
|
+
* @type {Object}
|
|
464
|
+
* @summary The Javascript event data.
|
|
452
465
|
*/
|
|
453
466
|
get rawEventArgs(): any;
|
|
454
467
|
}
|
|
455
468
|
/**
|
|
456
469
|
* @class Specifies data for the ItemModifying event.
|
|
457
470
|
* @augments CancelEventArgs
|
|
458
|
-
* @property {Item} item Gets the item that is modified.
|
|
459
|
-
* @property {Object} changes Gets the changed properties of the item, associated with the event.
|
|
460
|
-
* @property {ItemModifyAction} action Gets the type of action that is modifying the item.
|
|
461
471
|
*/
|
|
462
472
|
export class ItemModifyingEventArgs extends CancelEventArgs {
|
|
463
473
|
/**
|
|
@@ -473,26 +483,26 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
473
483
|
_action: any;
|
|
474
484
|
/**
|
|
475
485
|
* Gets the item that is modified.
|
|
476
|
-
* @
|
|
486
|
+
* @type {Item}
|
|
487
|
+
* @summary The item that is modified.
|
|
477
488
|
*/
|
|
478
489
|
get item(): any;
|
|
479
490
|
/**
|
|
480
491
|
* Gets the changed properties of the item, associated with the event.
|
|
481
|
-
* @
|
|
492
|
+
* @type {Object}
|
|
493
|
+
* @summary An object containing the changed properties.
|
|
482
494
|
*/
|
|
483
495
|
get changes(): any;
|
|
484
496
|
/**
|
|
485
497
|
* Gets the type of action that is modifying the item.
|
|
486
|
-
* @
|
|
498
|
+
* @type {ItemModifyAction}
|
|
499
|
+
* @summary One of the ItemModifyAction enumeration values.
|
|
487
500
|
*/
|
|
488
501
|
get action(): any;
|
|
489
502
|
}
|
|
490
503
|
/**
|
|
491
504
|
* @class Specifies data for the ItemModified event.
|
|
492
505
|
* @augments EventArgs
|
|
493
|
-
* @property {Item} item Gets the item that was modified.
|
|
494
|
-
* @property {Item} oldItem Gets the item before the modification has occurred.
|
|
495
|
-
* @property {ItemModifyAction} action Gets the type of action that is modifying the item.
|
|
496
506
|
*/
|
|
497
507
|
export class ItemModifiedEventArgs extends EventArgs {
|
|
498
508
|
/**
|
|
@@ -508,24 +518,26 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
508
518
|
_action: any;
|
|
509
519
|
/**
|
|
510
520
|
* Gets the item that was modified.
|
|
511
|
-
* @
|
|
521
|
+
* @type {Item}
|
|
522
|
+
* @summary The item that was modified.
|
|
512
523
|
*/
|
|
513
524
|
get item(): any;
|
|
514
525
|
/**
|
|
515
526
|
* Gets the item before the modification has occurred.
|
|
516
|
-
* @
|
|
527
|
+
* @type {Item}
|
|
528
|
+
* @summary The item before the modification has occurred.
|
|
517
529
|
*/
|
|
518
530
|
get oldItem(): any;
|
|
519
531
|
/**
|
|
520
532
|
* Gets the type of action that has modified the item.
|
|
521
|
-
* @
|
|
533
|
+
* @type {ItemModifyAction}
|
|
534
|
+
* @summary One of the ItemModifyAction enumeration values.
|
|
522
535
|
*/
|
|
523
536
|
get action(): any;
|
|
524
537
|
}
|
|
525
538
|
/**
|
|
526
539
|
* @class Specifies data for task related events.
|
|
527
540
|
* @augments CancelEventArgs
|
|
528
|
-
* @property {Task} task Gets the Task instance for which the event is raised.
|
|
529
541
|
*/
|
|
530
542
|
export class TaskEventArgs extends CancelEventArgs {
|
|
531
543
|
/**
|
|
@@ -537,15 +549,14 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
537
549
|
_task: any;
|
|
538
550
|
/**
|
|
539
551
|
* Gets the task related to the event.
|
|
540
|
-
* @
|
|
552
|
+
* @type {Task}
|
|
553
|
+
* @summary The Task instance for which the event is raised.
|
|
541
554
|
*/
|
|
542
555
|
get task(): any;
|
|
543
556
|
}
|
|
544
557
|
/**
|
|
545
558
|
* @class Specifies data for the VisibleDateChanged event.
|
|
546
559
|
* @augments EventArgs
|
|
547
|
-
* @property {DateTime} newDate Gets the new visible date.
|
|
548
|
-
* @property {DateTime} prevDate Gets the previous visible date.
|
|
549
560
|
*/
|
|
550
561
|
export class DateChangedEventArgs extends EventArgs {
|
|
551
562
|
/**
|
|
@@ -559,12 +570,14 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
559
570
|
_prevDate: any;
|
|
560
571
|
/**
|
|
561
572
|
* Gets the new visible date.
|
|
562
|
-
* @
|
|
573
|
+
* @type {DateTime}
|
|
574
|
+
* @summary The new visible date.
|
|
563
575
|
*/
|
|
564
576
|
get newDate(): any;
|
|
565
577
|
/**
|
|
566
578
|
* Gets the previous visible date.
|
|
567
|
-
* @
|
|
579
|
+
* @type {DateTime}
|
|
580
|
+
* @summary The previous visible date.
|
|
568
581
|
*/
|
|
569
582
|
get prevDate(): any;
|
|
570
583
|
}
|
|
@@ -574,12 +587,6 @@ declare module "Scheduling/jsplanner/src/EventArgs" {
|
|
|
574
587
|
declare module "Scheduling/jsplanner/src/TimeSpan" {
|
|
575
588
|
/**
|
|
576
589
|
* @class Represents a time interval.
|
|
577
|
-
* @property {Number} ticks Gets the number of ticks that represent the value of the time span.
|
|
578
|
-
* @property {Number} milliseconds Gets the number of milliseconds that represent the value of the time span.
|
|
579
|
-
* @property {Number} seconds Gets the number of seconds that represent the value of the time span.
|
|
580
|
-
* @property {Number} minutes Gets the number of minutes that represent the value of the time span.
|
|
581
|
-
* @property {Number} hours Gets the number of hours that represent the value of the time span.
|
|
582
|
-
* @property {Number} days Gets the number of days that represent the value of the time span.
|
|
583
590
|
*/
|
|
584
591
|
export class TimeSpan {
|
|
585
592
|
/**
|
|
@@ -633,32 +640,38 @@ declare module "Scheduling/jsplanner/src/TimeSpan" {
|
|
|
633
640
|
subtract(timespan: TimeSpan): TimeSpan;
|
|
634
641
|
/**
|
|
635
642
|
* Gets the number of ticks that represent the value of the time span.
|
|
636
|
-
* @
|
|
643
|
+
* @type {Number}
|
|
644
|
+
* @summary The number of ticks.
|
|
637
645
|
*/
|
|
638
646
|
get ticks(): number;
|
|
639
647
|
/**
|
|
640
648
|
* Gets the number of milliseconds that represent the value of the time span.
|
|
641
|
-
* @
|
|
649
|
+
* @type {Number}
|
|
650
|
+
* @summary The number of milliseconds.
|
|
642
651
|
*/
|
|
643
652
|
get milliseconds(): number;
|
|
644
653
|
/**
|
|
645
654
|
* Gets the number of seconds that represent the value of the time span.
|
|
646
|
-
* @
|
|
655
|
+
* @type {Number}
|
|
656
|
+
* @summary The number of seconds.
|
|
647
657
|
*/
|
|
648
658
|
get seconds(): number;
|
|
649
659
|
/**
|
|
650
660
|
* Gets the number of minutes that represent the value of the time span.
|
|
651
|
-
* @
|
|
661
|
+
* @type {Number}
|
|
662
|
+
* @summary The number of minutes.
|
|
652
663
|
*/
|
|
653
664
|
get minutes(): number;
|
|
654
665
|
/**
|
|
655
666
|
* Gets the number of hours that represent the value of the time span.
|
|
656
|
-
* @
|
|
667
|
+
* @type {Number}
|
|
668
|
+
* @summary The number of hours.
|
|
657
669
|
*/
|
|
658
670
|
get hours(): number;
|
|
659
671
|
/**
|
|
660
672
|
* Gets the number of days that represent the value of the time span.
|
|
661
|
-
* @
|
|
673
|
+
* @type {Number}
|
|
674
|
+
* @summary The number of days.
|
|
662
675
|
*/
|
|
663
676
|
get days(): number;
|
|
664
677
|
/**
|
|
@@ -679,17 +692,6 @@ declare module "Scheduling/jsplanner/src/DateTime" {
|
|
|
679
692
|
* @class A Javascript Date object wrapper that extends the functionality of the JavaScript Date object.
|
|
680
693
|
* @remarks It has all the capabilities of the Date class, plus it adds several helper methods to manipulate its date and time components.
|
|
681
694
|
* All date and time objects in the calendar are represented by this class.
|
|
682
|
-
* @property {DateTime} date Gets the date component of this DateTime object.
|
|
683
|
-
* @property {Number} timeOfDay Gets the time component of this DateTime object, expressed in milliseconds.
|
|
684
|
-
* @property {Number} dayOfWeek Gets the day of the week represented by this date.
|
|
685
|
-
* @property {Number} daysInMonth Gets the number of days in the month represented by this date.
|
|
686
|
-
* @property {Number} day Gets the day component of the date represented by this instance.
|
|
687
|
-
* @property {Number} month Gets the month component of the date represented by this instance.
|
|
688
|
-
* @property {Number} year Gets the year component of the date represented by this instance.
|
|
689
|
-
* @property {Number} hour Gets the hour component of the date represented by this instance.
|
|
690
|
-
* @property {Number} minute Gets the minute component of the date represented by this instance.
|
|
691
|
-
* @property {Number} second Gets the second component of the date represented by this instance.
|
|
692
|
-
* @property {Number} millisecond Gets the millisecond component of the date represented by this instance.
|
|
693
695
|
*/
|
|
694
696
|
export class DateTime {
|
|
695
697
|
/**
|
|
@@ -1104,8 +1106,8 @@ declare module "Scheduling/jsplanner/src/DateTime" {
|
|
|
1104
1106
|
/**
|
|
1105
1107
|
* Initializes a new instance of the DateTime class.
|
|
1106
1108
|
* @constructor
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
+
* @param {Date} [date] A JavaScript Date object.
|
|
1110
|
+
*/
|
|
1109
1111
|
constructor(date?: Date);
|
|
1110
1112
|
_date: Date;
|
|
1111
1113
|
_ticks: number | Date;
|
|
@@ -1231,50 +1233,74 @@ declare module "Scheduling/jsplanner/src/DateTime" {
|
|
|
1231
1233
|
isLeapYear(): boolean;
|
|
1232
1234
|
/**
|
|
1233
1235
|
* Gets the millisecond component of the date represented by this instance.
|
|
1236
|
+
* @type {Number}
|
|
1237
|
+
* @summary The milliseconds.
|
|
1234
1238
|
*/
|
|
1235
1239
|
get millisecond(): number;
|
|
1236
1240
|
/**
|
|
1237
|
-
|
|
1241
|
+
* Gets the second component of the date represented by this instance.
|
|
1242
|
+
* @type {Number}
|
|
1243
|
+
* @summary The seconds.
|
|
1238
1244
|
*/
|
|
1239
1245
|
get second(): number;
|
|
1240
1246
|
/**
|
|
1241
1247
|
* Gets the minute component of the date represented by this instance.
|
|
1248
|
+
* @type {Number}
|
|
1249
|
+
* @summary The minutes.
|
|
1242
1250
|
*/
|
|
1243
1251
|
get minute(): number;
|
|
1244
1252
|
/**
|
|
1245
1253
|
* Gets the hour component of the date represented by this instance.
|
|
1254
|
+
* @type {Number}
|
|
1255
|
+
* @summary The hours.
|
|
1246
1256
|
*/
|
|
1247
1257
|
get hour(): number;
|
|
1248
1258
|
/**
|
|
1249
1259
|
* Gets the day component of the date represented by this instance.
|
|
1260
|
+
* @type {Number}
|
|
1261
|
+
* @summary The day.
|
|
1250
1262
|
*/
|
|
1251
1263
|
get day(): number;
|
|
1252
1264
|
/**
|
|
1253
1265
|
* Gets the month component of the date represented by this instance.
|
|
1266
|
+
* @type {Number}
|
|
1267
|
+
* @summary The month.
|
|
1254
1268
|
*/
|
|
1255
1269
|
get month(): number;
|
|
1256
1270
|
/**
|
|
1257
1271
|
* Gets the year component of the date represented by this instance.
|
|
1272
|
+
* @type {Number}
|
|
1273
|
+
* @summary The year.
|
|
1258
1274
|
*/
|
|
1259
1275
|
get year(): number;
|
|
1260
1276
|
/**
|
|
1261
1277
|
* Gets the date component of this DateTime object.
|
|
1278
|
+
* @type {Number}
|
|
1279
|
+
* @summary The date.
|
|
1262
1280
|
*/
|
|
1263
|
-
get date():
|
|
1281
|
+
get date(): number;
|
|
1264
1282
|
/**
|
|
1265
1283
|
* Gets the time component of this DateTime object, expressed in milliseconds.
|
|
1284
|
+
* @type {Number}
|
|
1285
|
+
* @summary The time of day.
|
|
1266
1286
|
*/
|
|
1267
1287
|
get timeOfDay(): number;
|
|
1268
1288
|
/**
|
|
1269
1289
|
* Returns the day of the month represented by this date.
|
|
1290
|
+
* @type {Number}
|
|
1291
|
+
* @summary The day of month.
|
|
1270
1292
|
*/
|
|
1271
1293
|
get dayOfMonth(): number;
|
|
1272
1294
|
/**
|
|
1273
1295
|
* Returns the day of the week represented by this date.
|
|
1296
|
+
* @type {Number}
|
|
1297
|
+
* @summary The day of week.
|
|
1274
1298
|
*/
|
|
1275
1299
|
get dayOfWeek(): number;
|
|
1276
1300
|
/**
|
|
1277
1301
|
* Returns the number of days in the month represented by this date.
|
|
1302
|
+
* @type {Number}
|
|
1303
|
+
* @summary The number of days.
|
|
1278
1304
|
*/
|
|
1279
1305
|
get daysInMonth(): number;
|
|
1280
1306
|
/**
|
|
@@ -1543,9 +1569,6 @@ declare module "Scheduling/jsplanner/src/TimeRange" {
|
|
|
1543
1569
|
*/
|
|
1544
1570
|
/**
|
|
1545
1571
|
* @class Represents a date-time range.
|
|
1546
|
-
* @property {DateTime} start Gets or sets the beginning of the range.
|
|
1547
|
-
* @property {DateTime} end Gets or sets the end of the range.
|
|
1548
|
-
* @property {Boolean} isEmpty Gets a value indicating whether the range is empty.
|
|
1549
1572
|
*/
|
|
1550
1573
|
export class TimeRange {
|
|
1551
1574
|
/**
|
|
@@ -1557,24 +1580,18 @@ declare module "Scheduling/jsplanner/src/TimeRange" {
|
|
|
1557
1580
|
constructor(start: any, end: any);
|
|
1558
1581
|
_start: any;
|
|
1559
1582
|
_end: any;
|
|
1560
|
-
/**
|
|
1561
|
-
* Sets the beginning of the range.
|
|
1562
|
-
* @param {DateTime} value A DateTime instance representing the beginning of the range.
|
|
1563
|
-
*/
|
|
1564
1583
|
set start(arg: any);
|
|
1565
1584
|
/**
|
|
1566
|
-
* Gets the beginning of the range.
|
|
1567
|
-
* @
|
|
1585
|
+
* Gets or sets the beginning of the range.
|
|
1586
|
+
* @type {DateTime}
|
|
1587
|
+
* @summary A DateTime instance representing the beginning of the range.
|
|
1568
1588
|
*/
|
|
1569
1589
|
get start(): any;
|
|
1570
|
-
/**
|
|
1571
|
-
* Sets the end of the range.
|
|
1572
|
-
* @param {DateTime} value A DateTime instance representing the end of the range.
|
|
1573
|
-
*/
|
|
1574
1590
|
set end(arg: any);
|
|
1575
1591
|
/**
|
|
1576
|
-
* Gets the end of the range.
|
|
1577
|
-
* @
|
|
1592
|
+
* Gets or sets the end of the range.
|
|
1593
|
+
* @type {DateTime}
|
|
1594
|
+
* @summary A DateTime instance representing the end of the range.
|
|
1578
1595
|
*/
|
|
1579
1596
|
get end(): any;
|
|
1580
1597
|
/**
|
|
@@ -1772,14 +1789,6 @@ declare module "Scheduling/jsplanner/src/Forms/Controls" {
|
|
|
1772
1789
|
declare module "Scheduling/jsplanner/src/Forms/BaseForm" {
|
|
1773
1790
|
/**
|
|
1774
1791
|
* @class The BaseForm class is the base class for all built-in forms.
|
|
1775
|
-
* @property {Calendar} calendar Gets the calendar, displaying the form.
|
|
1776
|
-
* @property {Item} item Gets the item, whose information is displayed in the form.
|
|
1777
|
-
* @property {Map} controls Gets the controls collection.
|
|
1778
|
-
* @property {String} id Gets the id of the form.
|
|
1779
|
-
* @property {String} type Gets the type of the form.
|
|
1780
|
-
* @property {String} headerText Gets or sets the text which is displayed in the header of the form.
|
|
1781
|
-
* @property {Object} formatInfo Gets the locale object used to format and display date and time information in the form.
|
|
1782
|
-
* @property {Object} localInfo Gets the locale object used to format and display localizable strings in the form.
|
|
1783
1792
|
*/
|
|
1784
1793
|
export class BaseForm {
|
|
1785
1794
|
/**
|
|
@@ -2016,60 +2025,70 @@ declare module "Scheduling/jsplanner/src/Forms/BaseForm" {
|
|
|
2016
2025
|
onControlKeyUp(sender: any, e: any): boolean;
|
|
2017
2026
|
/**
|
|
2018
2027
|
* Gets a reference to the schedule item, whose information is displayed in the form.
|
|
2019
|
-
* @
|
|
2028
|
+
* @type {Item}
|
|
2029
|
+
* @summary The Item instance, whose information is displayed in the form.
|
|
2020
2030
|
*/
|
|
2021
2031
|
get item(): any;
|
|
2022
2032
|
/**
|
|
2023
2033
|
* Gets a reference to the parent Calendar control.
|
|
2024
|
-
* @
|
|
2034
|
+
* @type {Calendar}
|
|
2035
|
+
* @summary The Calendar control, displaying the form.
|
|
2025
2036
|
*/
|
|
2026
2037
|
get calendar(): any;
|
|
2027
2038
|
/**
|
|
2028
2039
|
* Gets the controls collection.
|
|
2029
|
-
* @
|
|
2040
|
+
* @type {Map}
|
|
2041
|
+
* @summary A dictionary, containing references to all controls present in the form.
|
|
2030
2042
|
*/
|
|
2031
2043
|
get controls(): Map<any, any>;
|
|
2032
2044
|
/**
|
|
2033
2045
|
* Gets the locale object used to format and display date and time information in the form.
|
|
2034
|
-
* @
|
|
2046
|
+
* @type {Object}
|
|
2047
|
+
* @summary The format info object.
|
|
2035
2048
|
*/
|
|
2036
2049
|
get formatInfo(): any;
|
|
2037
2050
|
/**
|
|
2038
2051
|
* Gets the locale object used to format and display localizable strings in the form.
|
|
2039
|
-
* @
|
|
2052
|
+
* @type {Object}
|
|
2053
|
+
* @summary The local info object.
|
|
2040
2054
|
*/
|
|
2041
2055
|
get localInfo(): any;
|
|
2042
2056
|
/**
|
|
2043
2057
|
* Gets a value indicating the type of the form.
|
|
2044
|
-
* @
|
|
2058
|
+
* @type {String}
|
|
2059
|
+
* @summary "edit" if an existing item or recurrence object is being modified through the form, otherwise "new".
|
|
2045
2060
|
*/
|
|
2046
2061
|
get type(): string;
|
|
2047
2062
|
/**
|
|
2048
2063
|
* Gets a value indicating the id of the form.
|
|
2049
|
-
* @
|
|
2064
|
+
* @type {String}
|
|
2065
|
+
* @summary The id of the form.
|
|
2050
2066
|
* @remarks For the default forms possible return values are NewForm, EditForm, RecurrenceForm or ItemsCueForm.
|
|
2051
2067
|
*/
|
|
2052
2068
|
get id(): string;
|
|
2053
|
-
/**
|
|
2054
|
-
* Sets the text which is displayed in the header of the form.
|
|
2055
|
-
* @param {String} value The header text.
|
|
2056
|
-
*/
|
|
2057
2069
|
set headerText(arg: string);
|
|
2058
2070
|
/**
|
|
2059
|
-
* Gets the text which is displayed in the header of the form.
|
|
2060
|
-
* @
|
|
2071
|
+
* Gets or sets the text which is displayed in the header of the form.
|
|
2072
|
+
* @type {String}
|
|
2073
|
+
* @summary The header text.
|
|
2061
2074
|
*/
|
|
2062
2075
|
get headerText(): string;
|
|
2063
2076
|
/**
|
|
2064
2077
|
* Returns a reference to the form DOM element.
|
|
2078
|
+
* @type {HTMLDivElement}
|
|
2079
|
+
* @summary The element.
|
|
2065
2080
|
*/
|
|
2066
2081
|
get element(): HTMLDivElement;
|
|
2067
2082
|
/**
|
|
2068
2083
|
* Returns a reference to the DOM element of the form content.
|
|
2084
|
+
* @type {HTMLDivElement}
|
|
2085
|
+
* @summary The content element.
|
|
2069
2086
|
*/
|
|
2070
2087
|
get content(): HTMLDivElement;
|
|
2071
2088
|
/**
|
|
2072
2089
|
* Returns a reference to the DOM element of the form header.
|
|
2090
|
+
* @type {HTMLDivElement}
|
|
2091
|
+
* @summary The header element.
|
|
2073
2092
|
*/
|
|
2074
2093
|
get header(): HTMLDivElement;
|
|
2075
2094
|
}
|
|
@@ -2085,19 +2104,17 @@ declare module "Scheduling/jsplanner/src/RecurrenceException" {
|
|
|
2085
2104
|
* to use the source code in any other way, please contact us at support@mindfusion.eu.
|
|
2086
2105
|
*/
|
|
2087
2106
|
/**
|
|
2088
|
-
*
|
|
2107
|
+
*
|
|
2108
|
+
* @xlass Represents an exception of the recurrence pattern.
|
|
2089
2109
|
*/
|
|
2090
2110
|
class RecurrenceException {
|
|
2091
2111
|
/**
|
|
2092
2112
|
* Initializes a new instance of the RecurrenceException class.
|
|
2093
2113
|
*/
|
|
2094
2114
|
constructor(item: any, index: any);
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
private _index;
|
|
2099
|
-
/** @private {boolean} */
|
|
2100
|
-
private _deleted;
|
|
2115
|
+
_item: any;
|
|
2116
|
+
_index: any;
|
|
2117
|
+
_deleted: boolean;
|
|
2101
2118
|
/**
|
|
2102
2119
|
* Mark this occurrence as deleted.
|
|
2103
2120
|
* @private
|
|
@@ -2118,10 +2135,14 @@ declare module "Scheduling/jsplanner/src/RecurrenceException" {
|
|
|
2118
2135
|
set item(arg: any);
|
|
2119
2136
|
/**
|
|
2120
2137
|
* Gets the item representing the recurrence exception.
|
|
2138
|
+
* @type {Item}
|
|
2139
|
+
* @summary The item.
|
|
2121
2140
|
*/
|
|
2122
2141
|
get item(): any;
|
|
2123
2142
|
/**
|
|
2124
|
-
* Gets
|
|
2143
|
+
* Gets a value indicating whether this event occurrence has been deleted.
|
|
2144
|
+
* @type {Boolean}
|
|
2145
|
+
* @summary True if the occurence has been deleted, otherwise false.
|
|
2125
2146
|
*/
|
|
2126
2147
|
isDeleted(): boolean;
|
|
2127
2148
|
}
|
|
@@ -2129,39 +2150,30 @@ declare module "Scheduling/jsplanner/src/RecurrenceException" {
|
|
|
2129
2150
|
declare module "Scheduling/jsplanner/src/Resource" {
|
|
2130
2151
|
/**
|
|
2131
2152
|
* @class Instances of the Resource class contain information about arbitrary resources.
|
|
2132
|
-
* @property {String} id Gets or sets the string identifier for this resource.
|
|
2133
|
-
* @property {String} name Gets or sets the name for this resource.
|
|
2134
|
-
* @property {Object} tag Gets or sets custom data associated with the resource.
|
|
2135
2153
|
*/
|
|
2136
2154
|
export class Resource {
|
|
2137
2155
|
_id: string;
|
|
2138
2156
|
_name: string;
|
|
2139
2157
|
_tag: any;
|
|
2140
|
-
/**
|
|
2141
|
-
* Sets the string identifier for this resource.
|
|
2142
|
-
* @param {String} value The new property value.
|
|
2143
|
-
*/
|
|
2144
2158
|
set id(arg: string);
|
|
2145
2159
|
/**
|
|
2146
2160
|
* Gets the string identifier for this resource.
|
|
2161
|
+
* @type {String}
|
|
2162
|
+
* @summary The identifier.
|
|
2147
2163
|
*/
|
|
2148
2164
|
get id(): string;
|
|
2149
|
-
/**
|
|
2150
|
-
* Sets the name of the resource.
|
|
2151
|
-
* @param {String} value The new property value.
|
|
2152
|
-
*/
|
|
2153
2165
|
set name(arg: string);
|
|
2154
2166
|
/**
|
|
2155
2167
|
* Gets the name of the resource.
|
|
2168
|
+
* @type {String}
|
|
2169
|
+
* @summary The name.
|
|
2156
2170
|
*/
|
|
2157
2171
|
get name(): string;
|
|
2158
|
-
/**
|
|
2159
|
-
* Sets custom data associated with the resource.
|
|
2160
|
-
* @param {Object} value The new property value.
|
|
2161
|
-
*/
|
|
2162
2172
|
set tag(arg: any);
|
|
2163
2173
|
/**
|
|
2164
2174
|
* Gets custom data associated with the resource.
|
|
2175
|
+
* @type {Object}
|
|
2176
|
+
* @summary The tag.
|
|
2165
2177
|
*/
|
|
2166
2178
|
get tag(): any;
|
|
2167
2179
|
/**
|
|
@@ -2198,66 +2210,46 @@ declare module "Scheduling/jsplanner/src/Location" {
|
|
|
2198
2210
|
/**
|
|
2199
2211
|
* @class Specifies data that identifies a location.
|
|
2200
2212
|
* @augments Resource
|
|
2201
|
-
* @property {String} address Gets or sets the address of the location.
|
|
2202
|
-
* @property {String} country Gets or sets the country of the location.
|
|
2203
|
-
* @property {String} city Gets or sets the city of the location.
|
|
2204
|
-
* @property {String} state Gets or sets the state of the location.
|
|
2205
|
-
* @property {String} zipCode Gets or sets the zip code of the location.
|
|
2206
2213
|
*/
|
|
2207
2214
|
export class Location extends Resource {
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
private _city;
|
|
2214
|
-
/** @private {string} */
|
|
2215
|
-
private _state;
|
|
2216
|
-
/** @private {string} */
|
|
2217
|
-
private _zipCode;
|
|
2218
|
-
/**
|
|
2219
|
-
* Sets the address of the location.
|
|
2220
|
-
* @param {String} value The new property value.
|
|
2221
|
-
*/
|
|
2215
|
+
_address: string;
|
|
2216
|
+
_country: string;
|
|
2217
|
+
_city: string;
|
|
2218
|
+
_state: string;
|
|
2219
|
+
_zipCode: string;
|
|
2222
2220
|
set address(arg: string);
|
|
2223
2221
|
/**
|
|
2224
|
-
* Gets the address of the location.
|
|
2222
|
+
* Gets or sets the address of the location.
|
|
2223
|
+
* @type {String}
|
|
2224
|
+
* @summary The address.
|
|
2225
2225
|
*/
|
|
2226
2226
|
get address(): string;
|
|
2227
|
-
/**
|
|
2228
|
-
* Sets the country of this location.
|
|
2229
|
-
* @param {String} value The new property value.
|
|
2230
|
-
*/
|
|
2231
2227
|
set country(arg: string);
|
|
2232
2228
|
/**
|
|
2233
|
-
* Gets the country of this location.
|
|
2229
|
+
* Gets or sets the country of this location.
|
|
2230
|
+
* @type {String}
|
|
2231
|
+
* @summary The country.
|
|
2234
2232
|
*/
|
|
2235
2233
|
get country(): string;
|
|
2236
|
-
/**
|
|
2237
|
-
* Sets the city of this location.
|
|
2238
|
-
* @param {String} value The new property value.
|
|
2239
|
-
*/
|
|
2240
2234
|
set city(arg: string);
|
|
2241
2235
|
/**
|
|
2242
|
-
* Gets the city of this location.
|
|
2236
|
+
* Gets or sets the city of this location.
|
|
2237
|
+
* @type {String}
|
|
2238
|
+
* @summary The city.
|
|
2243
2239
|
*/
|
|
2244
2240
|
get city(): string;
|
|
2245
|
-
/**
|
|
2246
|
-
* Sets the state of this location.
|
|
2247
|
-
* @param {String} value The new property value.
|
|
2248
|
-
*/
|
|
2249
2241
|
set state(arg: string);
|
|
2250
2242
|
/**
|
|
2251
|
-
* Gets the state of this location.
|
|
2243
|
+
* Gets or sets the state of this location.
|
|
2244
|
+
* @type {String}
|
|
2245
|
+
* @summary The state.
|
|
2252
2246
|
*/
|
|
2253
2247
|
get state(): string;
|
|
2254
|
-
/**
|
|
2255
|
-
* Sets the zip-code of this location.
|
|
2256
|
-
* @param {String} value The new property value.
|
|
2257
|
-
*/
|
|
2258
2248
|
set zipCode(arg: string);
|
|
2259
2249
|
/**
|
|
2260
|
-
* Gets the zip-code of this location.
|
|
2250
|
+
* Gets or sets the zip-code of this location.
|
|
2251
|
+
* @type {String}
|
|
2252
|
+
* @summary The zio-code.
|
|
2261
2253
|
*/
|
|
2262
2254
|
get zipCode(): string;
|
|
2263
2255
|
}
|
|
@@ -2266,10 +2258,6 @@ declare module "Scheduling/jsplanner/src/Location" {
|
|
|
2266
2258
|
declare module "Scheduling/jsplanner/src/Reminder" {
|
|
2267
2259
|
/**
|
|
2268
2260
|
* @class Represents reminders associated with schedule items.
|
|
2269
|
-
* @property {ReminderType} type Gets or sets the type of this reminder.
|
|
2270
|
-
* @property {TimeSpan} timeInterval Gets or sets how much time before the item's scheduled start time to raise the event that triggers the reminder.
|
|
2271
|
-
* @property {DateTime} time Gets or sets the time when the Reminder is triggered.
|
|
2272
|
-
* @property {String} message Gets or sets the message to display as a reminder.
|
|
2273
2261
|
*/
|
|
2274
2262
|
export class Reminder {
|
|
2275
2263
|
static get maxInterval(): TimeSpan;
|
|
@@ -2279,14 +2267,10 @@ declare module "Scheduling/jsplanner/src/Reminder" {
|
|
|
2279
2267
|
* @constructor
|
|
2280
2268
|
*/
|
|
2281
2269
|
constructor(options?: any);
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
/** @private {DateTime} */
|
|
2287
|
-
private _time;
|
|
2288
|
-
/** @private {string} */
|
|
2289
|
-
private _message;
|
|
2270
|
+
_type: number;
|
|
2271
|
+
_timeInterval: TimeSpan;
|
|
2272
|
+
_time: DateTime;
|
|
2273
|
+
_message: string;
|
|
2290
2274
|
_changedEvent: EventDispatcher<EventArgs>;
|
|
2291
2275
|
/**
|
|
2292
2276
|
* Returns an exact copy of this Reminder object.
|
|
@@ -2298,50 +2282,37 @@ declare module "Scheduling/jsplanner/src/Reminder" {
|
|
|
2298
2282
|
* @private
|
|
2299
2283
|
*/
|
|
2300
2284
|
private onChanged;
|
|
2301
|
-
/**
|
|
2302
|
-
* Sets the type of this reminder.
|
|
2303
|
-
* @param {ReminderType} value One of the ReminderType enumeration values.
|
|
2304
|
-
*/
|
|
2305
2285
|
set type(arg: number);
|
|
2306
2286
|
/**
|
|
2307
|
-
* Gets the type of this reminder.
|
|
2287
|
+
* Gets or sets the type of this reminder.
|
|
2288
|
+
* @type {ReminderType}
|
|
2289
|
+
* @summary One of the ReminderType enumeration values.
|
|
2308
2290
|
*/
|
|
2309
2291
|
get type(): number;
|
|
2310
|
-
/**
|
|
2311
|
-
* Sets how much time before the item's scheduled start
|
|
2312
|
-
* time to raise the event that triggers the reminder.
|
|
2313
|
-
* @param {TimeSpan} value The new property value.
|
|
2314
|
-
* @remarks The value of this property is considered only if the type of
|
|
2315
|
-
* the reminder is set to ReminderType.Leading.
|
|
2316
|
-
*/
|
|
2317
2292
|
set timeInterval(arg: TimeSpan);
|
|
2318
2293
|
/**
|
|
2319
|
-
* Gets how much time before the item's scheduled start
|
|
2294
|
+
* Gets or sets how much time before the item's scheduled start
|
|
2320
2295
|
* time to raise the event that triggers the reminder.
|
|
2296
|
+
* @type {TimeSpan}
|
|
2297
|
+
* @summary The time.
|
|
2321
2298
|
* @remarks The value of this property is considered only if the type of
|
|
2322
2299
|
* the reminder is set to ReminderType.Leading.
|
|
2323
2300
|
*/
|
|
2324
2301
|
get timeInterval(): TimeSpan;
|
|
2325
|
-
/**
|
|
2326
|
-
* Sets the time when the Reminder is triggered.
|
|
2327
|
-
* @param {DateTime} value The new property value.
|
|
2328
|
-
* @remarks The value of this property is considered only if the type of
|
|
2329
|
-
* the reminder is set to ReminderType.Exact.
|
|
2330
|
-
*/
|
|
2331
2302
|
set time(arg: DateTime);
|
|
2332
2303
|
/**
|
|
2333
|
-
* Gets the time when the Reminder is triggered.
|
|
2304
|
+
* Gets or sets the time when the Reminder is triggered.
|
|
2305
|
+
* @type {DateTime}
|
|
2306
|
+
* @summary The time.
|
|
2334
2307
|
* @remarks The value of this property is considered only if the type of
|
|
2335
2308
|
* the reminder is set to ReminderType.Exact.
|
|
2336
2309
|
*/
|
|
2337
2310
|
get time(): DateTime;
|
|
2338
|
-
/**
|
|
2339
|
-
* Sets the message to display as a reminder.
|
|
2340
|
-
* @param {String} value The new property value.
|
|
2341
|
-
*/
|
|
2342
2311
|
set message(arg: string);
|
|
2343
2312
|
/**
|
|
2344
|
-
* Gets the message to display as a reminder.
|
|
2313
|
+
* Gets or sets the message to display as a reminder.
|
|
2314
|
+
* @type {String}
|
|
2315
|
+
* @summary The message.
|
|
2345
2316
|
*/
|
|
2346
2317
|
get message(): string;
|
|
2347
2318
|
/**
|
|
@@ -2373,185 +2344,128 @@ declare module "Scheduling/jsplanner/src/Reminder" {
|
|
|
2373
2344
|
*/
|
|
2374
2345
|
fromJson(json: string, context: any): void;
|
|
2375
2346
|
}
|
|
2376
|
-
import { EventArgs } from "@mindfusion/controls";
|
|
2377
|
-
import { EventDispatcher } from "@mindfusion/common";
|
|
2378
2347
|
import { TimeSpan } from "Scheduling/jsplanner/src/TimeSpan";
|
|
2379
2348
|
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
2349
|
+
import { EventArgs } from "@mindfusion/controls";
|
|
2350
|
+
import { EventDispatcher } from "@mindfusion/common";
|
|
2380
2351
|
}
|
|
2381
2352
|
declare module "Scheduling/jsplanner/src/Task" {
|
|
2382
2353
|
/**
|
|
2383
2354
|
* @class Represents a task in the calendar.
|
|
2384
2355
|
* @augments Resource
|
|
2385
|
-
* @property {DateTime} dueDate Gets or sets the due date of the task.
|
|
2386
|
-
* @property {DateTime} startDate Gets or sets the start date of the task.
|
|
2387
|
-
* @property {DateTime} actualStart Gets or sets the actual start date of the task.
|
|
2388
|
-
* @property {DateTime} actualEnd Gets or sets the actual completion date of the task.
|
|
2389
|
-
* @property {String} subject Gets or sets the subject of the task.
|
|
2390
|
-
* @property {String} details Gets or sets the details of the task.
|
|
2391
|
-
* @property {TaskPriority} priority Gets or sets the priority of the task.
|
|
2392
|
-
* @property {TaskStatus} status Gets or sets the status of the task.
|
|
2393
|
-
* @property {Number} progress Gets or sets the progress of the task.
|
|
2394
|
-
* @property {Number} estimatedDuration Gets or sets the estimated duration of the task.
|
|
2395
|
-
* @property {Number} actualDuration Gets or sets the actual duration of the task.
|
|
2396
|
-
* @property {Number} estimatedCost Gets or sets the estimated cost of the task.
|
|
2397
|
-
* @property {Number} actualCost Gets or sets the actual cost of the task.
|
|
2398
|
-
* @property {Reminder} reminder Gets or sets the reminder of the task.
|
|
2399
2356
|
*/
|
|
2400
2357
|
export class Task extends Resource {
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
private _status;
|
|
2417
|
-
/** @private {TaskPriority} */
|
|
2418
|
-
private _priority;
|
|
2419
|
-
/** @private {number} */
|
|
2420
|
-
private _progress;
|
|
2421
|
-
/** @private {number} */
|
|
2422
|
-
private _estimatedDuration;
|
|
2423
|
-
/** @private {number} */
|
|
2424
|
-
private _actualDuration;
|
|
2425
|
-
/** @private {number} */
|
|
2426
|
-
private _estimatedCost;
|
|
2427
|
-
/** @private {number} */
|
|
2428
|
-
private _actualCost;
|
|
2429
|
-
/** @private {Reminder} */
|
|
2430
|
-
private _reminder;
|
|
2431
|
-
/**
|
|
2432
|
-
* Sets the task's due date.
|
|
2433
|
-
* @param {DateTime} value The new property value.
|
|
2434
|
-
*/
|
|
2358
|
+
_dueDate: DateTime;
|
|
2359
|
+
_startDate: DateTime;
|
|
2360
|
+
_actualEnd: DateTime;
|
|
2361
|
+
_actualStart: DateTime;
|
|
2362
|
+
_allDayEvent: boolean;
|
|
2363
|
+
_subject: string;
|
|
2364
|
+
_details: string;
|
|
2365
|
+
_status: number;
|
|
2366
|
+
_priority: number;
|
|
2367
|
+
_progress: number;
|
|
2368
|
+
_estimatedDuration: number;
|
|
2369
|
+
_actualDuration: number;
|
|
2370
|
+
_estimatedCost: number;
|
|
2371
|
+
_actualCost: number;
|
|
2372
|
+
_reminder: any;
|
|
2435
2373
|
set dueDate(arg: DateTime);
|
|
2436
2374
|
/**
|
|
2437
|
-
* Gets the task's due date.
|
|
2375
|
+
* Gets or sets the task's due date.
|
|
2376
|
+
* @type {DateTime}
|
|
2377
|
+
* @summary the due date.
|
|
2438
2378
|
*/
|
|
2439
2379
|
get dueDate(): DateTime;
|
|
2440
|
-
/**
|
|
2441
|
-
* Sets the task's start date.
|
|
2442
|
-
* @param {DateTime} value The new property value.
|
|
2443
|
-
*/
|
|
2444
2380
|
set startDate(arg: DateTime);
|
|
2445
2381
|
/**
|
|
2446
|
-
* Gets the task's start date.
|
|
2382
|
+
* Gets or sets the task's start date.
|
|
2383
|
+
* @type {DateTime}
|
|
2384
|
+
* @summary The start date.
|
|
2447
2385
|
*/
|
|
2448
2386
|
get startDate(): DateTime;
|
|
2449
|
-
/**
|
|
2450
|
-
* Sets the task's actual completion date.
|
|
2451
|
-
* @param {DateTime} value The new property value.
|
|
2452
|
-
*/
|
|
2453
2387
|
set actualEnd(arg: DateTime);
|
|
2454
2388
|
/**
|
|
2455
|
-
* Gets the task's actual completion date.
|
|
2389
|
+
* Gets or sets the task's actual completion date.
|
|
2390
|
+
* @type {DateTime}
|
|
2391
|
+
* @summary The completion date.
|
|
2456
2392
|
*/
|
|
2457
2393
|
get actualEnd(): DateTime;
|
|
2458
|
-
/**
|
|
2459
|
-
* Sets the task's actual start date.
|
|
2460
|
-
* @param {DateTime} value The new property value.
|
|
2461
|
-
*/
|
|
2462
2394
|
set actualStart(arg: DateTime);
|
|
2463
2395
|
/**
|
|
2464
|
-
* Gets the task's actual start date.
|
|
2396
|
+
* Gets or set the task's actual start date.
|
|
2397
|
+
* @type {DateTime}
|
|
2398
|
+
* @summary The actual start date.
|
|
2465
2399
|
*/
|
|
2466
2400
|
get actualStart(): DateTime;
|
|
2467
|
-
/**
|
|
2468
|
-
* Sets the subject of the task.
|
|
2469
|
-
* @param {String} value The new property value.
|
|
2470
|
-
*/
|
|
2471
2401
|
set subject(arg: string);
|
|
2472
2402
|
/**
|
|
2473
|
-
* Gets the subject of the task.
|
|
2403
|
+
* Gets or sets the subject of the task.
|
|
2404
|
+
* @type {String}
|
|
2405
|
+
* @summary The subject.
|
|
2474
2406
|
*/
|
|
2475
2407
|
get subject(): string;
|
|
2476
|
-
/**
|
|
2477
|
-
* Sets the detailed description of the Task.
|
|
2478
|
-
* @param {String} value The new property value.
|
|
2479
|
-
*/
|
|
2480
2408
|
set details(arg: string);
|
|
2481
2409
|
/**
|
|
2482
|
-
* Gets the detailed description of the Task.
|
|
2410
|
+
* Gets or sets the detailed description of the Task.
|
|
2411
|
+
* @type {String}
|
|
2412
|
+
* @summary The description.
|
|
2483
2413
|
*/
|
|
2484
2414
|
get details(): string;
|
|
2485
|
-
/**
|
|
2486
|
-
* Sets the status of the task.
|
|
2487
|
-
* @param {String} value The new property value.
|
|
2488
|
-
*/
|
|
2489
2415
|
set status(arg: string);
|
|
2490
2416
|
/**
|
|
2491
|
-
* Gets the status of the task.
|
|
2417
|
+
* Gets or sets the status of the task.
|
|
2418
|
+
* @type {String}
|
|
2419
|
+
* @summary The status.
|
|
2492
2420
|
*/
|
|
2493
2421
|
get status(): string;
|
|
2494
|
-
/**
|
|
2495
|
-
* Sets the task priority.
|
|
2496
|
-
* @param {TaskPriority} value The new property value.
|
|
2497
|
-
*/
|
|
2498
2422
|
set priority(arg: number);
|
|
2499
2423
|
/**
|
|
2500
|
-
* Gets the task priority.
|
|
2424
|
+
* Gets or sets the task priority.
|
|
2425
|
+
* @type {TaskPriority}
|
|
2426
|
+
* @summary One of the TaskPriority enumeration values.
|
|
2501
2427
|
*/
|
|
2502
2428
|
get priority(): number;
|
|
2503
|
-
/**
|
|
2504
|
-
* Sets the task progress measured in percents.
|
|
2505
|
-
* @param {Number} value The new property value.
|
|
2506
|
-
*/
|
|
2507
2429
|
set progress(arg: number);
|
|
2508
2430
|
/**
|
|
2509
|
-
* Gets the task progress measured in percents.
|
|
2431
|
+
* Gets or sets the task progress measured in percents.
|
|
2432
|
+
* @type {Number}
|
|
2433
|
+
* @summary The progress.
|
|
2510
2434
|
*/
|
|
2511
2435
|
get progress(): number;
|
|
2512
|
-
/**
|
|
2513
|
-
* Sets the estimated duration of the task measured in minutes.
|
|
2514
|
-
* @param {Number} value The new property value.
|
|
2515
|
-
*/
|
|
2516
2436
|
set estimatedDuration(arg: number);
|
|
2517
2437
|
/**
|
|
2518
|
-
* Gets the estimated duration of the task measured in minutes.
|
|
2438
|
+
* Gets or sets the estimated duration of the task measured in minutes.
|
|
2439
|
+
* @type {Number}
|
|
2440
|
+
* @summary The duration.
|
|
2519
2441
|
*/
|
|
2520
2442
|
get estimatedDuration(): number;
|
|
2521
|
-
/**
|
|
2522
|
-
* Sets the actual duration for this task measured in minutes.
|
|
2523
|
-
* @param {Number} value The new property value.
|
|
2524
|
-
*/
|
|
2525
2443
|
set actualDuration(arg: number);
|
|
2526
2444
|
/**
|
|
2527
|
-
* Gets the actual duration for this task measured in minutes.
|
|
2445
|
+
* Gets or sets the actual duration for this task measured in minutes.
|
|
2446
|
+
* @type {Number}
|
|
2447
|
+
* @summary The actual duration.
|
|
2528
2448
|
*/
|
|
2529
2449
|
get actualDuration(): number;
|
|
2530
|
-
/**
|
|
2531
|
-
* Sets the estimated cost of the task.
|
|
2532
|
-
* @param {Number} value The new property value.
|
|
2533
|
-
*/
|
|
2534
2450
|
set estimatedCost(arg: number);
|
|
2535
2451
|
/**
|
|
2536
|
-
* Gets the estimated cost of the task.
|
|
2452
|
+
* Gets or sets the estimated cost of the task.
|
|
2453
|
+
* @type {Number}
|
|
2454
|
+
* @summary The cost.
|
|
2537
2455
|
*/
|
|
2538
2456
|
get estimatedCost(): number;
|
|
2539
|
-
/**
|
|
2540
|
-
* Sets the actual cost of this task.
|
|
2541
|
-
* @param {Number} value The new property value.
|
|
2542
|
-
*/
|
|
2543
2457
|
set actualCost(arg: number);
|
|
2544
2458
|
/**
|
|
2545
|
-
* Gets the actual cost of this task.
|
|
2459
|
+
* Gets or sets the actual cost of this task.
|
|
2460
|
+
* @type {Number}
|
|
2461
|
+
* @summary The actual cost.
|
|
2546
2462
|
*/
|
|
2547
2463
|
get actualCost(): number;
|
|
2548
|
-
/**
|
|
2549
|
-
* Sets the reminder for this task.
|
|
2550
|
-
* @param {Reminder} value The new property value.
|
|
2551
|
-
*/
|
|
2552
2464
|
set reminder(arg: Reminder);
|
|
2553
2465
|
/**
|
|
2554
|
-
* Gets the reminder for this task.
|
|
2466
|
+
* Gets or sets the reminder for this task.
|
|
2467
|
+
* @type {Reminder}
|
|
2468
|
+
* @summary The reminder.
|
|
2555
2469
|
*/
|
|
2556
2470
|
get reminder(): Reminder;
|
|
2557
2471
|
allDayEvent: any;
|
|
@@ -2563,76 +2477,31 @@ declare module "Scheduling/jsplanner/src/Task" {
|
|
|
2563
2477
|
declare module "Scheduling/jsplanner/src/Item" {
|
|
2564
2478
|
/**
|
|
2565
2479
|
* @class Represents appointments within a schedule.
|
|
2566
|
-
* @property {String} id Gets or sets the string identifier for this item.
|
|
2567
|
-
* @property {DateTime} startTime Gets or sets item's scheduled start time.
|
|
2568
|
-
* @property {DateTime} endTime Gets or sets item's scheduled end time.
|
|
2569
|
-
* @property {Boolean} allowChangeStart Gets or sets a value indicating whether users are allowed to change the item's start time.
|
|
2570
|
-
* @property {Boolean} allowChangeEnd Gets or sets a value indicating whether users are allowed to change the item's end time.
|
|
2571
|
-
* @property {Boolean} allowMove Gets or sets a value indicating whether users are allowed to move the item.
|
|
2572
|
-
* @property {Boolean} allDayEvent Gets or sets a value indicating whether the item represents an all day event.
|
|
2573
|
-
* @property {String} subject Gets or sets the text rendered in the header for this item by the scheduling control.
|
|
2574
|
-
* @property {String} details Gets or sets the description rendered for this item by the scheduling control.
|
|
2575
|
-
* @property {Boolean} locked Gets or sets a value indicating whether users are forbidden to modify this item.
|
|
2576
|
-
* @property {String} cssClass Gets or sets the css class of the item.
|
|
2577
|
-
* @property {Reminder} reminder Gets or sets the reminder for this item.
|
|
2578
|
-
* @property {Location} location Gets or sets the location associated with this item.
|
|
2579
|
-
* @property {Task} task Gets or sets the task associated with this item.
|
|
2580
|
-
* @property {ObservableCollection} contacts Gets the collection of contacts associated with this item.
|
|
2581
|
-
* @property {ObservableCollection} resources Gets the collection of resources associated with this item.
|
|
2582
|
-
* @property {Boolean} visible Gets or sets a value indicating whether the item is visible or not.
|
|
2583
|
-
* @property {Recurrence} recurrence Gets or sets the recurrence pattern of this item.
|
|
2584
|
-
* @property {RecurrenceState} recurrenceState Gets the recurrence state of this item.
|
|
2585
|
-
* @property {Number} occurrenceIndex Gets the index of a repeating occurrence of a recurring item.
|
|
2586
|
-
* @property {Number} priority Gets or sets the priority of the item.
|
|
2587
|
-
* @property {Object} tag Gets or sets custom data associated with the item.
|
|
2588
|
-
* @property {String} id Gets or sets the string identifier of this item.
|
|
2589
2480
|
*/
|
|
2590
2481
|
export class Item {
|
|
2591
2482
|
static get tm(): number[];
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
/** @private {string} */
|
|
2615
|
-
private _id;
|
|
2616
|
-
/** @private {Location} */
|
|
2617
|
-
private _location;
|
|
2618
|
-
/** @private {Task} */
|
|
2619
|
-
private _task;
|
|
2620
|
-
/** @private {ObservableCollection} */
|
|
2621
|
-
private _contacts;
|
|
2622
|
-
/** @private {ObservableCollection} */
|
|
2623
|
-
private _resources;
|
|
2624
|
-
/** @private {boolean} */
|
|
2625
|
-
private _visible;
|
|
2626
|
-
/** @private {Recurrence} */
|
|
2627
|
-
private _recurrence;
|
|
2628
|
-
/** @private {RecurrenceState} */
|
|
2629
|
-
private _recurrenceState;
|
|
2630
|
-
/** @private {number} */
|
|
2631
|
-
private _occurrenceIndex;
|
|
2632
|
-
/** @private {boolean} */
|
|
2633
|
-
private _settingRecurrence;
|
|
2634
|
-
/** @private {number} */
|
|
2635
|
-
private _priority;
|
|
2483
|
+
_startTime: DateTime;
|
|
2484
|
+
_endTime: DateTime;
|
|
2485
|
+
_allowChangeStart: boolean;
|
|
2486
|
+
_allowChangeEnd: boolean;
|
|
2487
|
+
_allowMove: boolean;
|
|
2488
|
+
_allDayEvent: boolean;
|
|
2489
|
+
_subject: string;
|
|
2490
|
+
_details: string;
|
|
2491
|
+
_locked: boolean;
|
|
2492
|
+
_cssClass: string;
|
|
2493
|
+
_reminder: Reminder;
|
|
2494
|
+
_id: string;
|
|
2495
|
+
_location: any;
|
|
2496
|
+
_task: any;
|
|
2497
|
+
_contacts: ObservableCollection<any>;
|
|
2498
|
+
_resources: ObservableCollection<any>;
|
|
2499
|
+
_visible: boolean;
|
|
2500
|
+
_recurrence: any;
|
|
2501
|
+
_recurrenceState: number;
|
|
2502
|
+
_occurrenceIndex: number;
|
|
2503
|
+
_settingRecurrence: boolean;
|
|
2504
|
+
_priority: number;
|
|
2636
2505
|
_propertyChangedEvent: EventDispatcher<EventArgs>;
|
|
2637
2506
|
_exceptionCreatedEvent: EventDispatcher<EventArgs>;
|
|
2638
2507
|
_recurrenceResetEvent: EventDispatcher<EventArgs>;
|
|
@@ -2669,113 +2538,98 @@ declare module "Scheduling/jsplanner/src/Item" {
|
|
|
2669
2538
|
* @private
|
|
2670
2539
|
*/
|
|
2671
2540
|
private copyOccurrence;
|
|
2672
|
-
/**
|
|
2673
|
-
* @param {String} value The new property value.
|
|
2674
|
-
*/
|
|
2675
2541
|
set id(arg: string);
|
|
2676
2542
|
/**
|
|
2677
2543
|
* Gets or sets the string identifier of this item.
|
|
2544
|
+
* @type {String}
|
|
2545
|
+
* @summary The id.
|
|
2678
2546
|
* @remarks Used by the getItemById method of schedule.
|
|
2679
2547
|
*/
|
|
2680
2548
|
get id(): string;
|
|
2681
|
-
/**
|
|
2682
|
-
* @param {String} value The new property value.
|
|
2683
|
-
*/
|
|
2684
2549
|
set subject(arg: string);
|
|
2685
2550
|
/**
|
|
2686
2551
|
* Gets or sets header text displayed for this item by the calendar control.
|
|
2552
|
+
* @type {String}
|
|
2553
|
+
* @summary The header text.
|
|
2687
2554
|
*/
|
|
2688
2555
|
get subject(): string;
|
|
2689
|
-
/**
|
|
2690
|
-
* @param {String} value The new property value.
|
|
2691
|
-
*/
|
|
2692
2556
|
set details(arg: string);
|
|
2693
2557
|
/**
|
|
2694
|
-
|
|
2695
|
-
|
|
2558
|
+
* Gets or sets the details text displayed for this item by the scheduling control.
|
|
2559
|
+
* @type {String}
|
|
2560
|
+
* @summary The details text.
|
|
2561
|
+
*/
|
|
2696
2562
|
get details(): string;
|
|
2697
|
-
/**
|
|
2698
|
-
* @param {Task} value The new property value.
|
|
2699
|
-
*/
|
|
2700
2563
|
set task(arg: Task);
|
|
2701
2564
|
/**
|
|
2702
2565
|
* Gets or sets the task associated with this item.
|
|
2566
|
+
* @type {Task}
|
|
2567
|
+
* @summary The task.
|
|
2703
2568
|
*/
|
|
2704
2569
|
get task(): Task;
|
|
2705
|
-
/**
|
|
2706
|
-
* @param {Location} value The new property value.
|
|
2707
|
-
*/
|
|
2708
2570
|
set location(arg: Location);
|
|
2709
2571
|
/**
|
|
2710
2572
|
* Gets or sets the item location.
|
|
2573
|
+
* @type {Location}
|
|
2574
|
+
* @summary The location.
|
|
2711
2575
|
*/
|
|
2712
2576
|
get location(): Location;
|
|
2713
|
-
/**
|
|
2714
|
-
* @param {Boolean} value The new property value.
|
|
2715
|
-
*/
|
|
2716
2577
|
set locked(arg: boolean);
|
|
2717
2578
|
/**
|
|
2718
2579
|
* Gets or sets a value indicating whether users are allowed to modify this item.
|
|
2580
|
+
* @type {Boolean}
|
|
2581
|
+
* @summary True if the item is locked, otherwise false.
|
|
2719
2582
|
*/
|
|
2720
2583
|
get locked(): boolean;
|
|
2721
|
-
|
|
2722
|
-
* @param {ItemStyle} value The new property value.
|
|
2723
|
-
*/
|
|
2724
|
-
set visible(arg: any);
|
|
2584
|
+
set visible(arg: boolean);
|
|
2725
2585
|
/**
|
|
2726
2586
|
* Gets or sets whether the item is visible.
|
|
2587
|
+
* @type {Boolean}
|
|
2588
|
+
* @summary True if the item is visible, otherwise false.
|
|
2727
2589
|
*/
|
|
2728
|
-
get visible():
|
|
2729
|
-
/**
|
|
2730
|
-
* @param {Boolean} value The new property value.
|
|
2731
|
-
*/
|
|
2590
|
+
get visible(): boolean;
|
|
2732
2591
|
set allDayEvent(arg: boolean);
|
|
2733
2592
|
/**
|
|
2734
2593
|
* Gets or sets a value indicating whether the item is an all-day event.
|
|
2735
|
-
*
|
|
2736
|
-
*
|
|
2594
|
+
* @type {Boolean}
|
|
2595
|
+
* @summary True if the item is an all-day event, otherwise false.
|
|
2596
|
+
* @remarks All day events are displayed in a special header area when the Calendar displays a timetable view.
|
|
2737
2597
|
*/
|
|
2738
2598
|
get allDayEvent(): boolean;
|
|
2739
|
-
/**
|
|
2740
|
-
* @param {Boolean} value The new property value.
|
|
2741
|
-
*/
|
|
2742
2599
|
set allowChangeEnd(arg: boolean);
|
|
2743
2600
|
/**
|
|
2744
2601
|
* Gets or sets a value indicating whether users are allowed to change the item's end time.
|
|
2602
|
+
* @type {Boolean}
|
|
2603
|
+
* @summary True if the end time can be changed, otherwise false.
|
|
2745
2604
|
*/
|
|
2746
2605
|
get allowChangeEnd(): boolean;
|
|
2747
|
-
/**
|
|
2748
|
-
* @param {Boolean} value The new property value.
|
|
2749
|
-
*/
|
|
2750
2606
|
set allowChangeStart(arg: boolean);
|
|
2751
2607
|
/**
|
|
2752
2608
|
* Gets or sets a value indicating whether users are allowed to change the item's start time.
|
|
2609
|
+
* @type {Boolean}
|
|
2610
|
+
* @summary True if the start time can be changed, otherwise false.
|
|
2753
2611
|
*/
|
|
2754
2612
|
get allowChangeStart(): boolean;
|
|
2755
|
-
/**
|
|
2756
|
-
* @param {Boolean} value The new property value.
|
|
2757
|
-
*/
|
|
2758
2613
|
set allowMove(arg: boolean);
|
|
2759
2614
|
/**
|
|
2760
2615
|
* Gets or sets a value indicating whether users are allowed to move the item.
|
|
2616
|
+
* @type {Boolean}
|
|
2617
|
+
* @summary True if the item can be moved, otherwise false.
|
|
2761
2618
|
*/
|
|
2762
2619
|
get allowMove(): boolean;
|
|
2763
|
-
/**
|
|
2764
|
-
* @param {Number} value The new property value.
|
|
2765
|
-
*/
|
|
2766
2620
|
set priority(arg: number);
|
|
2767
2621
|
/**
|
|
2768
2622
|
* Gets or sets the priority of the Item.
|
|
2769
|
-
*
|
|
2770
|
-
*
|
|
2623
|
+
* @type {Number}
|
|
2624
|
+
* @summary The priority.
|
|
2625
|
+
* @remarks Items with higher priority are rendered with preference over items with lower priority.
|
|
2771
2626
|
*/
|
|
2772
2627
|
get priority(): number;
|
|
2773
|
-
/**
|
|
2774
|
-
* @param {String} value The new property value.
|
|
2775
|
-
*/
|
|
2776
2628
|
set cssClass(arg: string);
|
|
2777
2629
|
/**
|
|
2778
2630
|
* Gets or sets the css class of the item.
|
|
2631
|
+
* @type {String}
|
|
2632
|
+
* @summary The css class.
|
|
2779
2633
|
*/
|
|
2780
2634
|
get cssClass(): string;
|
|
2781
2635
|
/**
|
|
@@ -2794,67 +2648,63 @@ declare module "Scheduling/jsplanner/src/Item" {
|
|
|
2794
2648
|
clone(): Item;
|
|
2795
2649
|
/**
|
|
2796
2650
|
* Gets a list with all contacts associated with this item.
|
|
2651
|
+
* @type {ObservableCollection}
|
|
2652
|
+
* @summary The contacts.
|
|
2797
2653
|
*/
|
|
2798
2654
|
get contacts(): ObservableCollection<any>;
|
|
2799
2655
|
/**
|
|
2800
2656
|
* Gets a list with all resources associated with this item.
|
|
2657
|
+
* @type {ObservableCollection}
|
|
2658
|
+
* @summary The resources.
|
|
2801
2659
|
*/
|
|
2802
2660
|
get resources(): ObservableCollection<any>;
|
|
2803
|
-
/**
|
|
2804
|
-
* @param {DateTime} value The new property value.
|
|
2805
|
-
*/
|
|
2806
2661
|
set startTime(arg: DateTime);
|
|
2807
2662
|
/**
|
|
2808
2663
|
* Gets or sets the item's scheduled start time.
|
|
2664
|
+
* @type {DateTime}
|
|
2665
|
+
* @summary The start time.
|
|
2809
2666
|
*/
|
|
2810
2667
|
get startTime(): DateTime;
|
|
2811
|
-
/**
|
|
2812
|
-
* @param {DateTime} value The new property value.
|
|
2813
|
-
*/
|
|
2814
2668
|
set endTime(arg: DateTime);
|
|
2815
2669
|
/**
|
|
2816
2670
|
* Gets or sets the item's scheduled end time.
|
|
2671
|
+
* @type {DateTime}
|
|
2672
|
+
* @summary The end time.
|
|
2817
2673
|
*/
|
|
2818
2674
|
get endTime(): DateTime;
|
|
2819
|
-
/**
|
|
2820
|
-
* @param {String} value The new property value.
|
|
2821
|
-
*/
|
|
2822
2675
|
set headerText(arg: string);
|
|
2823
2676
|
/**
|
|
2824
2677
|
* Gets or sets header text displayed for this item by the calendar control.
|
|
2678
|
+
* @type {String}
|
|
2679
|
+
* @summary The header text.
|
|
2825
2680
|
*/
|
|
2826
2681
|
get headerText(): string;
|
|
2827
|
-
/**
|
|
2828
|
-
* @param {String} value The new property value.
|
|
2829
|
-
*/
|
|
2830
2682
|
set descriptionText(arg: string);
|
|
2831
2683
|
/**
|
|
2832
|
-
|
|
2833
|
-
|
|
2684
|
+
* Gets or sets the details text displayed for this item by the scheduling control.
|
|
2685
|
+
* @type {String}
|
|
2686
|
+
* @summary The details text.
|
|
2687
|
+
*/
|
|
2834
2688
|
get descriptionText(): string;
|
|
2835
|
-
/**
|
|
2836
|
-
* @param {Reminder} value The new property value.
|
|
2837
|
-
*/
|
|
2838
2689
|
set reminder(arg: Reminder);
|
|
2839
2690
|
/**
|
|
2840
2691
|
* Gets or sets the reminder for this item.
|
|
2692
|
+
* @type {Reminder}
|
|
2693
|
+
* @summary The reminder.
|
|
2841
2694
|
*/
|
|
2842
2695
|
get reminder(): Reminder;
|
|
2843
|
-
/**
|
|
2844
|
-
* @param {Recurrence} value The new property value.
|
|
2845
|
-
*/
|
|
2846
2696
|
set recurrence(arg: Recurrence);
|
|
2847
2697
|
/**
|
|
2848
2698
|
* Gets or sets the recurrence pattern of this item.
|
|
2699
|
+
* @type {Recurrence}
|
|
2700
|
+
* @summary The recurrence.
|
|
2849
2701
|
*/
|
|
2850
2702
|
get recurrence(): Recurrence;
|
|
2851
|
-
/**
|
|
2852
|
-
* @param {RecurrenceState} value The new property value.
|
|
2853
|
-
* @private
|
|
2854
|
-
*/
|
|
2855
2703
|
set recurrenceState(arg: number);
|
|
2856
2704
|
/**
|
|
2857
2705
|
* Gets the recurrence state of this item.
|
|
2706
|
+
* @type {RecurrenceState}
|
|
2707
|
+
* @summary The recurrence state.
|
|
2858
2708
|
*/
|
|
2859
2709
|
get recurrenceState(): number;
|
|
2860
2710
|
/**
|
|
@@ -2864,17 +2714,17 @@ declare module "Scheduling/jsplanner/src/Item" {
|
|
|
2864
2714
|
set occurrenceIndex(arg: number);
|
|
2865
2715
|
/**
|
|
2866
2716
|
* Gets the index of a repeating occurrence of a recurring item.
|
|
2867
|
-
*
|
|
2717
|
+
* @type {Number}
|
|
2718
|
+
* @summary The occurrence index.
|
|
2719
|
+
* @remarks If the item is not recurring, this property returns -1.
|
|
2868
2720
|
*/
|
|
2869
2721
|
get occurrenceIndex(): number;
|
|
2870
|
-
/**
|
|
2871
|
-
* @param {*} value The new property value.
|
|
2872
|
-
*/
|
|
2873
2722
|
set tag(arg: any);
|
|
2874
2723
|
/**
|
|
2875
2724
|
* Gets or sets custom data associated with the item.
|
|
2876
|
-
*
|
|
2877
|
-
*
|
|
2725
|
+
* @type {Object}
|
|
2726
|
+
* @summary The tag.
|
|
2727
|
+
* @remarks Use this property to store your custom data.
|
|
2878
2728
|
*/
|
|
2879
2729
|
get tag(): any;
|
|
2880
2730
|
_tag: any;
|
|
@@ -2927,77 +2777,39 @@ declare module "Scheduling/jsplanner/src/Item" {
|
|
|
2927
2777
|
*/
|
|
2928
2778
|
fromJson(json: string, context: any): void;
|
|
2929
2779
|
}
|
|
2780
|
+
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
2781
|
+
import { Reminder } from "Scheduling/jsplanner/src/Reminder";
|
|
2782
|
+
import { ObservableCollection } from "@mindfusion/common-collections";
|
|
2930
2783
|
import { EventArgs } from "@mindfusion/controls";
|
|
2931
2784
|
import { EventDispatcher } from "@mindfusion/common";
|
|
2932
2785
|
import { Task } from "Scheduling/jsplanner/src/Task";
|
|
2933
2786
|
import { Location } from "Scheduling/jsplanner/src/Location";
|
|
2934
|
-
import { ObservableCollection } from "@mindfusion/common-collections";
|
|
2935
|
-
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
2936
|
-
import { Reminder } from "Scheduling/jsplanner/src/Reminder";
|
|
2937
2787
|
import { Recurrence } from "Scheduling/jsplanner/src/Recurrence";
|
|
2938
2788
|
}
|
|
2939
2789
|
declare module "Scheduling/jsplanner/src/Recurrence" {
|
|
2940
2790
|
/**
|
|
2941
2791
|
* @class Defines recurrence patterns for items scheduled to repeat over and over again.
|
|
2942
|
-
* @property {RecurrencePattern} pattern Gets or sets the recurrence pattern.
|
|
2943
|
-
* @property {DailyRecurrence} daily Gets or sets the type of daily recurrence.
|
|
2944
|
-
* @property {MonthlyRecurrence} monthly Gets or sets the type of monthly recurrence.
|
|
2945
|
-
* @property {YearlyRecurrence} yearly Gets or sets the type of yearly recurrence.
|
|
2946
|
-
* @property {Number} days Gets or sets the number of days between two consecutive occurrences of the same event.
|
|
2947
|
-
* @property {Number} dayOfMonth Gets or sets the day of the month when the event occurs.
|
|
2948
|
-
* @property {Number} weeks Gets or sets the number of weeks between two consecutive occurrences of the event.
|
|
2949
|
-
* @property {DaysOfWeek} daysOfWeek Gets or sets the days of the week when the event occurs.
|
|
2950
|
-
* @property {Number} months Gets or sets the number of months between two consecutive occurrences of the same event.
|
|
2951
|
-
* @property {Number} monthOfYear Gets or sets the month of the year when the event occurs.
|
|
2952
|
-
* @property {Occurrence} occurrence Gets or sets on which occurrence of the week within the month the event occurs.
|
|
2953
|
-
* @property {DayOfWeekType} day Gets or sets a value indicating the day of the week when the event occurs.
|
|
2954
|
-
* @property {Number} interval Gets or sets the interval of recurrence.
|
|
2955
|
-
* @property {DateTime} startDate Gets or sets the date and time of the event's first occurrence.
|
|
2956
|
-
* @property {RecurrenceEnd} end Gets orsets the last time when the event occurs.
|
|
2957
|
-
* @property {Number} numOccurrences Gets or sets how many times a recurring event should occur.
|
|
2958
|
-
* @property {DateTime} endDate Gets or sets the end date of the recurrence.
|
|
2959
|
-
* @property {Map} exceptions Gets a list with all recurrence exceptions.
|
|
2960
|
-
* @property {Item} master Gets the master item for the recurrence.
|
|
2961
2792
|
*/
|
|
2962
2793
|
export class Recurrence {
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
private _monthOfYear;
|
|
2983
|
-
/** @private {Occurrence} */
|
|
2984
|
-
private _occurrence;
|
|
2985
|
-
/** @private {DayOfWeekType} */
|
|
2986
|
-
private _day;
|
|
2987
|
-
/** @private {number} */
|
|
2988
|
-
private _interval;
|
|
2989
|
-
/** @private {DateTime} */
|
|
2990
|
-
private _startDate;
|
|
2991
|
-
/** @private {RecurrenceEnd} */
|
|
2992
|
-
private _end;
|
|
2993
|
-
/** @private {number} */
|
|
2994
|
-
private _numOccurrences;
|
|
2995
|
-
/** @private {DateTime} */
|
|
2996
|
-
private _endDate;
|
|
2997
|
-
/** @private {Map} */
|
|
2998
|
-
private _exceptions;
|
|
2999
|
-
/** @private {Item} */
|
|
3000
|
-
private _master;
|
|
2794
|
+
_pattern: number;
|
|
2795
|
+
_daily: number;
|
|
2796
|
+
_monthly: number;
|
|
2797
|
+
_yearly: number;
|
|
2798
|
+
_days: number;
|
|
2799
|
+
_dayOfMonth: number;
|
|
2800
|
+
_weeks: number;
|
|
2801
|
+
_daysOfWeek: number;
|
|
2802
|
+
_months: number;
|
|
2803
|
+
_monthOfYear: number;
|
|
2804
|
+
_occurrence: number;
|
|
2805
|
+
_day: number;
|
|
2806
|
+
_interval: number;
|
|
2807
|
+
_startDate: DateTime;
|
|
2808
|
+
_end: number;
|
|
2809
|
+
_numOccurrences: number;
|
|
2810
|
+
_endDate: DateTime;
|
|
2811
|
+
_exceptions: Map<any, any>;
|
|
2812
|
+
_master: any;
|
|
3001
2813
|
_resetEvent: EventDispatcher<EventArgs>;
|
|
3002
2814
|
/**
|
|
3003
2815
|
* Creates an exact copy of this Recurrence object.
|
|
@@ -3118,183 +2930,155 @@ declare module "Scheduling/jsplanner/src/Recurrence" {
|
|
|
3118
2930
|
* @private
|
|
3119
2931
|
*/
|
|
3120
2932
|
private getOutcome;
|
|
3121
|
-
/**
|
|
3122
|
-
* @param {RecurrencePattern} value The new property value.
|
|
3123
|
-
*/
|
|
3124
2933
|
set pattern(arg: number);
|
|
3125
2934
|
/**
|
|
3126
2935
|
* Gets or sets the recurrence pattern.
|
|
2936
|
+
* @type {RecurrencePattern}
|
|
2937
|
+
* @summary One of the RecurrencePattern enumeration values.
|
|
3127
2938
|
*/
|
|
3128
2939
|
get pattern(): number;
|
|
3129
|
-
/**
|
|
3130
|
-
* @param {DailyRecurrence} value The new property value.
|
|
3131
|
-
*/
|
|
3132
2940
|
set dailyRecurrence(arg: number);
|
|
3133
2941
|
/**
|
|
3134
2942
|
* Gets or sets the type of daily recurrence.
|
|
3135
|
-
*
|
|
3136
|
-
*
|
|
2943
|
+
* @type {DailyRecurrence}
|
|
2944
|
+
* @summary One of the DailyRecurrence enumeration values.
|
|
2945
|
+
* @remarks This property is used when the Pattern is set to RecurrencePattern.Daily.
|
|
3137
2946
|
*/
|
|
3138
2947
|
get dailyRecurrence(): number;
|
|
3139
|
-
/**
|
|
3140
|
-
* @param {MonthlyRecurrence} value The new property value.
|
|
3141
|
-
*/
|
|
3142
2948
|
set monthlyRecurrence(arg: number);
|
|
3143
2949
|
/**
|
|
3144
2950
|
* Gets or sets the type of monthly recurrence.
|
|
3145
|
-
*
|
|
3146
|
-
*
|
|
2951
|
+
* @type {MonthlyRecurrence}
|
|
2952
|
+
* @summary One of the MonthlyRecurrence enumeration values.
|
|
2953
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.Monthly.
|
|
3147
2954
|
*/
|
|
3148
2955
|
get monthlyRecurrence(): number;
|
|
3149
|
-
/**
|
|
3150
|
-
* @param {YearlyRecurrence} value The new property value.
|
|
3151
|
-
*/
|
|
3152
2956
|
set yearlyRecurrence(arg: number);
|
|
3153
2957
|
/**
|
|
3154
2958
|
* Gets or sets the type of yearly recurrence.
|
|
3155
|
-
*
|
|
3156
|
-
*
|
|
2959
|
+
* @type {YearlyRecurrence}
|
|
2960
|
+
* @summary One of the YearlyRecurrence enumeration values.
|
|
2961
|
+
* @remarks This property is used when the Pattern is set to RecurrencePattern.Yearly.
|
|
3157
2962
|
*/
|
|
3158
2963
|
get yearlyRecurrence(): number;
|
|
3159
|
-
/**
|
|
3160
|
-
* @param {Number} value The new property value.
|
|
3161
|
-
*/
|
|
3162
2964
|
set days(arg: number);
|
|
3163
2965
|
/**
|
|
3164
2966
|
* Gets or sets the number of days between two consecutive occurrences of the same event.
|
|
3165
|
-
*
|
|
3166
|
-
*
|
|
2967
|
+
* @type {Number}
|
|
2968
|
+
* @summary The number of days.
|
|
2969
|
+
* @remarks This value is used when the recurrence Pattern is set to RecurrencePattern.Daily.
|
|
3167
2970
|
*/
|
|
3168
2971
|
get days(): number;
|
|
3169
|
-
/**
|
|
3170
|
-
* @param {Number} value The new property value.
|
|
3171
|
-
*/
|
|
3172
2972
|
set dayOfMonth(arg: number);
|
|
3173
2973
|
/**
|
|
3174
2974
|
* Gets or sets the day of the month when the event occurs.
|
|
3175
|
-
*
|
|
2975
|
+
* @type {Number}
|
|
2976
|
+
* @summary The day of the month.
|
|
3176
2977
|
* This property is used when the Pattern is set to RecurrencePattern.Monthly or RecurrencePattern.Yearly.
|
|
3177
2978
|
*/
|
|
3178
2979
|
get dayOfMonth(): number;
|
|
3179
|
-
/**
|
|
3180
|
-
* @param {Number} value The new property value.
|
|
3181
|
-
*/
|
|
3182
2980
|
set weeks(arg: number);
|
|
3183
2981
|
/**
|
|
3184
2982
|
* Gets or sets the number of weeks between two consecutive occurrences of the event.
|
|
3185
|
-
*
|
|
3186
|
-
* The
|
|
2983
|
+
* @type {Number}
|
|
2984
|
+
* @summary The number of weeks.
|
|
2985
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.Weekly.
|
|
3187
2986
|
*/
|
|
3188
2987
|
get weeks(): number;
|
|
3189
|
-
/**
|
|
3190
|
-
* @param {DaysOfWeek} value The new property value.
|
|
3191
|
-
*/
|
|
3192
2988
|
set daysOfWeek(arg: number);
|
|
3193
2989
|
/**
|
|
3194
2990
|
* Gets or sets the days of the week when the event occurs.
|
|
3195
|
-
*
|
|
3196
|
-
*
|
|
2991
|
+
* @type {DaysOfWeek}
|
|
2992
|
+
* @summary One of the DaysOfWeek enumeration values.
|
|
2993
|
+
* @remarks This property is used when the Pattern is set to RecurrencePattern.Weekly.
|
|
3197
2994
|
*/
|
|
3198
2995
|
get daysOfWeek(): number;
|
|
3199
|
-
/**
|
|
3200
|
-
* @param {Number} value The new property value.
|
|
3201
|
-
*/
|
|
3202
2996
|
set months(arg: number);
|
|
3203
2997
|
/**
|
|
3204
2998
|
* Gets or sets the number of months between two consecutive occurrences of the same event.
|
|
3205
|
-
*
|
|
3206
|
-
* The
|
|
2999
|
+
* @type {Number}
|
|
3000
|
+
* @summary The number of months.
|
|
3001
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.Monthly.
|
|
3207
3002
|
*/
|
|
3208
3003
|
get months(): number;
|
|
3209
|
-
/**
|
|
3210
|
-
* @param {Number} value The new property value.
|
|
3211
|
-
*/
|
|
3212
3004
|
set monthOfYear(arg: number);
|
|
3213
3005
|
/**
|
|
3214
3006
|
* Gets or sets the month of the year when the event occurs.
|
|
3215
|
-
*
|
|
3216
|
-
* The
|
|
3007
|
+
* @type {Number}
|
|
3008
|
+
* @summary The month.
|
|
3009
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.Yearly.
|
|
3217
3010
|
*/
|
|
3218
3011
|
get monthOfYear(): number;
|
|
3219
|
-
/**
|
|
3220
|
-
* @param {Occurrence} value The new property value.
|
|
3221
|
-
*/
|
|
3222
3012
|
set occurrence(arg: number);
|
|
3223
3013
|
/**
|
|
3224
3014
|
* Gets or sets on which occurrence of the week within the month the event occurs.
|
|
3225
|
-
*
|
|
3226
|
-
* The
|
|
3015
|
+
* @type {Occurrence}
|
|
3016
|
+
* @summary The occurrence.
|
|
3017
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.Monthly or
|
|
3227
3018
|
* RecurrencePattern.Yearly and the MonthlyRecurrence or YearlyRecurrence properties
|
|
3228
3019
|
* are set to MonthlyRecurrence.ByDayType.
|
|
3229
3020
|
*/
|
|
3230
3021
|
get occurrence(): number;
|
|
3231
|
-
/**
|
|
3232
|
-
* @param {DayOfWeekType} value The new property value.
|
|
3233
|
-
*/
|
|
3234
3022
|
set day(arg: number);
|
|
3235
3023
|
/**
|
|
3236
3024
|
* Gets or sets a value indicating the day of the week when the event occurs.
|
|
3237
|
-
*
|
|
3238
|
-
*
|
|
3025
|
+
* @type {DayOfWeekType}
|
|
3026
|
+
* @summary One of the DayOfWeekType enumeration values.
|
|
3027
|
+
* @remarks The property is used when Pattern is set to RecurrencePattern.Monthly or
|
|
3239
3028
|
* RecurrencePattern.Yearly and the MonthlyRecurrence or YearlyRecurrence properties
|
|
3240
3029
|
* are set to MonthlyRecurrence.ByDayType.
|
|
3241
3030
|
*/
|
|
3242
3031
|
get day(): number;
|
|
3243
|
-
/**
|
|
3244
|
-
* @param {Number} value The new property value.
|
|
3245
|
-
*/
|
|
3246
3032
|
set interval(arg: number);
|
|
3247
3033
|
/**
|
|
3248
3034
|
* Gets or sets the interval of recurrence.
|
|
3249
|
-
*
|
|
3250
|
-
|
|
3035
|
+
* @type {Number}
|
|
3036
|
+
* @summary The interval.
|
|
3037
|
+
* @remarks The property is used when the Pattern is set to RecurrencePattern.ByTimeInterval.
|
|
3251
3038
|
*/
|
|
3252
3039
|
get interval(): number;
|
|
3253
|
-
/**
|
|
3254
|
-
* @param {DateTime} value The new property value.
|
|
3255
|
-
*/
|
|
3256
3040
|
set startDate(arg: DateTime);
|
|
3257
3041
|
/**
|
|
3258
3042
|
* Gets or sets the date and time of the event's first occurrence.
|
|
3043
|
+
* @type {DateTime}
|
|
3044
|
+
* @summary The start date.
|
|
3259
3045
|
*/
|
|
3260
3046
|
get startDate(): DateTime;
|
|
3261
|
-
/**
|
|
3262
|
-
* @param {RecurrenceEnd} value The new property value.
|
|
3263
|
-
*/
|
|
3264
3047
|
set recurrenceEnd(arg: number);
|
|
3265
3048
|
/**
|
|
3266
3049
|
* Gets or sets the last time when the event occurs.
|
|
3050
|
+
* @type {RecurrenceEnd}
|
|
3051
|
+
* @summary One of the RecurrenceEnd enumeration values.
|
|
3267
3052
|
*/
|
|
3268
3053
|
get recurrenceEnd(): number;
|
|
3269
|
-
/**
|
|
3270
|
-
* @param {Number} value The new property value.
|
|
3271
|
-
*/
|
|
3272
3054
|
set numOccurrences(arg: number);
|
|
3273
3055
|
/**
|
|
3274
3056
|
* Gets or sets how many times a recurring event should occur.
|
|
3057
|
+
* @type {Number}
|
|
3058
|
+
* @summary The number of occurences.
|
|
3275
3059
|
*/
|
|
3276
3060
|
get numOccurrences(): number;
|
|
3277
|
-
/**
|
|
3278
|
-
* @param {DateTime} value The new property value.
|
|
3279
|
-
*/
|
|
3280
3061
|
set endDate(arg: DateTime);
|
|
3281
3062
|
/**
|
|
3282
3063
|
* Gets or sets the end date of the recurrence.
|
|
3283
|
-
*
|
|
3284
|
-
* The
|
|
3064
|
+
* @type {DateTime}
|
|
3065
|
+
* @summary The end date.
|
|
3066
|
+
* @remarks The property is used when RecurrenceEnd is set to RecurrenceEnd.EndDate.
|
|
3285
3067
|
*/
|
|
3286
3068
|
get endDate(): DateTime;
|
|
3287
3069
|
/**
|
|
3288
3070
|
* Gets a list with all recurrence exceptions.
|
|
3289
|
-
* @
|
|
3071
|
+
* @type {Map}
|
|
3072
|
+
* @summary A Map with all the Exceptions.
|
|
3290
3073
|
*/
|
|
3291
3074
|
getExceptions(): Map<any, any>;
|
|
3292
3075
|
/**
|
|
3293
3076
|
* Gets the master item for the recurrence.
|
|
3294
|
-
*
|
|
3295
|
-
*
|
|
3077
|
+
* @type {Item}
|
|
3078
|
+
* @summary The master item
|
|
3079
|
+
* @remarks To associate a Recurrence with an Item, set the Item's Recurrence property to the Recurrence object.
|
|
3296
3080
|
*/
|
|
3297
|
-
get master():
|
|
3081
|
+
get master(): Item;
|
|
3298
3082
|
/**
|
|
3299
3083
|
* Raised when the recurrence pattern has been reset, that is, all exceptions have been erased.
|
|
3300
3084
|
*/
|
|
@@ -3336,9 +3120,9 @@ declare module "Scheduling/jsplanner/src/Recurrence" {
|
|
|
3336
3120
|
*/
|
|
3337
3121
|
fromJson(json: string, context: any): void;
|
|
3338
3122
|
}
|
|
3123
|
+
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
3339
3124
|
import { EventArgs } from "@mindfusion/controls";
|
|
3340
3125
|
import { EventDispatcher } from "@mindfusion/common";
|
|
3341
|
-
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
3342
3126
|
import { Item } from "Scheduling/jsplanner/src/Item";
|
|
3343
3127
|
}
|
|
3344
3128
|
declare module "Scheduling/jsplanner/src/Forms/RecurrenceForm" {
|
|
@@ -3801,6 +3585,11 @@ declare module "Scheduling/jsplanner/src/Forms/NewForm" {
|
|
|
3801
3585
|
}
|
|
3802
3586
|
declare module "Scheduling/jsplanner/src/Forms/CueForm" {
|
|
3803
3587
|
export default CueForm;
|
|
3588
|
+
/**
|
|
3589
|
+
* @class Allows handling of hidden items in a cell.
|
|
3590
|
+
* @augments BaseForm
|
|
3591
|
+
* @remarks The CueForm is shown when an item cue of a calendar cell which isn't big enough to contain all of its items is clicked.
|
|
3592
|
+
*/
|
|
3804
3593
|
class CueForm extends BaseForm {
|
|
3805
3594
|
constructor(calendar: any, items: any, cell: any);
|
|
3806
3595
|
_type: string;
|
|
@@ -3949,26 +3738,20 @@ declare module "Scheduling/jsplanner/src/ViewCell" {
|
|
|
3949
3738
|
*/
|
|
3950
3739
|
/**
|
|
3951
3740
|
* @class Encapsulates data for a datetime cell in a calendar view.
|
|
3952
|
-
* @property {Number} index Gets the index of the cell.
|
|
3953
|
-
* @property {DateTime} startTime Gets the start time of the cell.
|
|
3954
|
-
* @property {DateTime} endTime Gets the end time of the cell.
|
|
3955
|
-
* @property {Resource} resource Gets the resource associated with the cell.
|
|
3956
|
-
* @property {DOMElement} bgCell Gets DOM element of the cell's content.
|
|
3957
|
-
* @property {DOMElement} title Gets DOM element of the cell's header.
|
|
3958
|
-
* @property {Boolean} isHeader Gets a value indicating whether this cell is a header cell.
|
|
3959
3741
|
*/
|
|
3960
3742
|
export class ViewCell {
|
|
3961
3743
|
_resource: any;
|
|
3962
3744
|
/**
|
|
3963
|
-
* For internal use only.
|
|
3964
3745
|
* @private
|
|
3965
3746
|
*/
|
|
3966
|
-
set index(arg:
|
|
3747
|
+
set index(arg: number);
|
|
3967
3748
|
/**
|
|
3968
3749
|
* Gets the index of the cell.
|
|
3750
|
+
* @type {Number}
|
|
3751
|
+
* @summary The index.
|
|
3969
3752
|
*/
|
|
3970
|
-
get index():
|
|
3971
|
-
_index:
|
|
3753
|
+
get index(): number;
|
|
3754
|
+
_index: number;
|
|
3972
3755
|
/**
|
|
3973
3756
|
* For internal use only.
|
|
3974
3757
|
* @private
|
|
@@ -4003,67 +3786,67 @@ declare module "Scheduling/jsplanner/src/ViewCell" {
|
|
|
4003
3786
|
private get columnIndex();
|
|
4004
3787
|
_columnIndex: any;
|
|
4005
3788
|
/**
|
|
4006
|
-
* For internal use only.
|
|
4007
3789
|
* @private
|
|
4008
3790
|
*/
|
|
4009
3791
|
set startTime(arg: any);
|
|
4010
3792
|
/**
|
|
4011
3793
|
* Gets the start time of the cell.
|
|
4012
|
-
* @
|
|
3794
|
+
* @type {DateTime}
|
|
3795
|
+
* @summary The start time of the cell.
|
|
4013
3796
|
*/
|
|
4014
3797
|
get startTime(): any;
|
|
4015
3798
|
_startTime: any;
|
|
4016
3799
|
/**
|
|
4017
|
-
* For internal use only.
|
|
4018
3800
|
* @private
|
|
4019
3801
|
*/
|
|
4020
3802
|
set endTime(arg: any);
|
|
4021
3803
|
/**
|
|
4022
3804
|
* Gets the end time of the cell.
|
|
4023
|
-
* @
|
|
3805
|
+
* @type {DateTime}
|
|
3806
|
+
* @summary The end time of the cell.
|
|
4024
3807
|
*/
|
|
4025
3808
|
get endTime(): any;
|
|
4026
3809
|
_endTime: any;
|
|
4027
3810
|
/**
|
|
4028
|
-
* For internal use only.
|
|
4029
3811
|
* @private
|
|
4030
3812
|
*/
|
|
4031
3813
|
set resource(arg: any);
|
|
4032
3814
|
/**
|
|
4033
3815
|
* Gets the resource associated with the cell.
|
|
4034
|
-
* @
|
|
3816
|
+
* @type {Resource}
|
|
3817
|
+
* @summary The resource associated with the cell in a grouped view, or null in a non-grouped view.
|
|
4035
3818
|
*/
|
|
4036
3819
|
get resource(): any;
|
|
4037
3820
|
/**
|
|
4038
|
-
* For internal use only.
|
|
4039
3821
|
* @private
|
|
4040
3822
|
*/
|
|
4041
3823
|
set bgCell(arg: any);
|
|
4042
3824
|
/**
|
|
4043
3825
|
* Gets the DOM element of the cell's content.
|
|
4044
|
-
* @
|
|
3826
|
+
* @type {DOMElement}
|
|
3827
|
+
* @summary The DOM element representing the cell content.
|
|
4045
3828
|
*/
|
|
4046
3829
|
get bgCell(): any;
|
|
4047
3830
|
_bgCell: any;
|
|
4048
3831
|
/**
|
|
4049
|
-
* For internal use only.
|
|
4050
3832
|
* @private
|
|
4051
3833
|
*/
|
|
4052
3834
|
set title(arg: any);
|
|
4053
3835
|
/**
|
|
4054
3836
|
* Gets the DOM element of the cell's header.
|
|
4055
|
-
* @
|
|
3837
|
+
* @type {DOMElement}
|
|
3838
|
+
* @summary The DOM element representing the cell header.
|
|
4056
3839
|
*/
|
|
4057
3840
|
get title(): any;
|
|
4058
3841
|
_title: any;
|
|
4059
3842
|
/**
|
|
4060
|
-
* For internal use only.
|
|
4061
3843
|
* @private
|
|
4062
3844
|
*/
|
|
4063
3845
|
set isHeader(arg: boolean);
|
|
4064
3846
|
/**
|
|
4065
3847
|
* Gets a value indicating whether this cell is a header cell.
|
|
4066
|
-
* @
|
|
3848
|
+
* @type {Boolean}
|
|
3849
|
+
* @summary True if it is a header cell, otherwise false.
|
|
4067
3850
|
* @remarks Only applies to Timetable view cells.
|
|
4068
3851
|
*/
|
|
4069
3852
|
get isHeader(): boolean;
|
|
@@ -5086,23 +4869,7 @@ declare module "Scheduling/jsplanner/src/ResourceViewCell" {
|
|
|
5086
4869
|
}
|
|
5087
4870
|
declare module "Scheduling/jsplanner/src/MonthSettings" {
|
|
5088
4871
|
/**
|
|
5089
|
-
* Defines properties that allow customization of the appearance of a Month view.
|
|
5090
|
-
* @property {MainHeaderStyle} headerStyle Gets or sets the style of the view header.
|
|
5091
|
-
* @property {VerticalHeaderStyle} weekHeaderStyle Gets or sets the style of the view week numbers header.
|
|
5092
|
-
* @property {HorizontalHeaderStyle} dayNamesHeaderStyle Gets or sets the style of the view day names header.
|
|
5093
|
-
* @property {DayOfWeekFormat} dayOfWeekFormat Gets or sets the format of the day names displayed in the day names header.
|
|
5094
|
-
* @property {String} titleFormat Gets or sets the string used to format the header title.
|
|
5095
|
-
* @property {Boolean} hideTrailingWeeks Gets or sets a value indicating whether to hide trailing weeks, which do not contain days from the current month.
|
|
5096
|
-
* @property {Number} trailingWeekCount Gets or sets the number of full weeks to display from the next month.
|
|
5097
|
-
* @property {Number} leadingWeekCount Gets or sets the number of full weeks to display from the previous month.
|
|
5098
|
-
* @property {Boolean} showPaddingDays Gets or sets a value indicating whether to display days from the
|
|
5099
|
-
* previous and next months at the beginning and the end of the current one, in order to fill the whole grid of day cells.
|
|
5100
|
-
* @property {Boolean} showPaddingItems Gets or sets a value indicating whether items are shown in padding days.
|
|
5101
|
-
* @property {String} generalFormat Gets or sets the string used to format cells' headers.
|
|
5102
|
-
* @property {String} firstDayOfMonthFormat Gets or sets the string used to format the cell header of the first day of each month.
|
|
5103
|
-
* @property {String} firstDayOfYearFormat Gets or sets the string used to format the cell header of the first day of each year.
|
|
5104
|
-
* @property {Number} maxItems Gets or sets the maximum number of items to display in a cell.
|
|
5105
|
-
* @property {Boolean} expandDayHeaders Gets or sets a value indicating whether day headers should fill the whole day cell.
|
|
4872
|
+
* @class Defines properties that allow customization of the appearance of a Month view.
|
|
5106
4873
|
*/
|
|
5107
4874
|
export class MonthSettings {
|
|
5108
4875
|
constructor(calendar: any);
|
|
@@ -5127,160 +4894,112 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
|
|
|
5127
4894
|
* @param {Object} settings An object containing property values.
|
|
5128
4895
|
*/
|
|
5129
4896
|
copyFrom(settings: any): void;
|
|
5130
|
-
/**
|
|
5131
|
-
* Sets the style of the view header.
|
|
5132
|
-
* @param {MainHeaderStyle} value One of the MainHeaderStyle enumeration values.
|
|
5133
|
-
*/
|
|
5134
4897
|
set headerStyle(arg: number);
|
|
5135
4898
|
/**
|
|
5136
|
-
* Gets the style of the view header.
|
|
5137
|
-
* @
|
|
4899
|
+
* Gets or sets the style of the view header.
|
|
4900
|
+
* @type {MainHeaderStyle}
|
|
4901
|
+
* @summary One of the MainHeaderStyle enumeration values.
|
|
5138
4902
|
*/
|
|
5139
4903
|
get headerStyle(): number;
|
|
5140
|
-
/**
|
|
5141
|
-
* Sets the style of the view week numbers header.
|
|
5142
|
-
* @param {VerticalHeaderStyle} value One of the VerticalHeaderStyle enumeration values.
|
|
5143
|
-
*/
|
|
5144
4904
|
set weekHeaderStyle(arg: number);
|
|
5145
4905
|
/**
|
|
5146
|
-
* Gets the style of the view week numbers header.
|
|
5147
|
-
* @
|
|
4906
|
+
* Gets or sets the style of the view week numbers header.
|
|
4907
|
+
* @type {VerticalHeaderStyle}
|
|
4908
|
+
* @summary One of the VerticalHeaderStyle enumeration values.
|
|
5148
4909
|
*/
|
|
5149
4910
|
get weekHeaderStyle(): number;
|
|
5150
|
-
/**
|
|
5151
|
-
* Sets the style of the view day names header.
|
|
5152
|
-
* @param {HorizontalHeaderStyle} value One of the HorizontalHeaderStyle enumeration values.
|
|
5153
|
-
*/
|
|
5154
4911
|
set dayNamesHeaderStyle(arg: number);
|
|
5155
4912
|
/**
|
|
5156
|
-
* Gets the style of the view day names header.
|
|
5157
|
-
* @
|
|
4913
|
+
* Gets or sets the style of the view day names header.
|
|
4914
|
+
* @type {HorizontalHeaderStyle}
|
|
4915
|
+
* @summary One of the HorizontalHeaderStyle enumeration values.
|
|
5158
4916
|
*/
|
|
5159
4917
|
get dayNamesHeaderStyle(): number;
|
|
5160
|
-
/**
|
|
5161
|
-
* Sets the format of the day names displayed in the day names header.
|
|
5162
|
-
* @param {DayOfWeekFormat} value One of the DayOfWeekFormat enumeration values.
|
|
5163
|
-
*/
|
|
5164
4918
|
set dayOfWeekFormat(arg: number);
|
|
5165
4919
|
/**
|
|
5166
|
-
* Gets the format of the day names displayed in the day names header.
|
|
5167
|
-
* @
|
|
4920
|
+
* Gets or sets the format of the day names displayed in the day names header.
|
|
4921
|
+
* @type {DayOfWeekFormat}
|
|
4922
|
+
* @summary One of the DayOfWeekFormat enumeration values.
|
|
5168
4923
|
*/
|
|
5169
4924
|
get dayOfWeekFormat(): number;
|
|
5170
|
-
/**
|
|
5171
|
-
* Sets the string used to format the header title.
|
|
5172
|
-
* @param {String} value The format string.
|
|
5173
|
-
*/
|
|
5174
4925
|
set titleFormat(arg: string);
|
|
5175
4926
|
/**
|
|
5176
|
-
* Gets the string used to format the header title.
|
|
5177
|
-
* @
|
|
4927
|
+
* Gets or sets the string used to format the header title.
|
|
4928
|
+
* @type {String}
|
|
4929
|
+
* @summary The format string.
|
|
5178
4930
|
*/
|
|
5179
4931
|
get titleFormat(): string;
|
|
5180
|
-
/**
|
|
5181
|
-
* Sets a value indicating whether to hide trailing weeks,
|
|
5182
|
-
* which do not contain days from the current month.
|
|
5183
|
-
* @param {Boolean} value True to hide trailing weeks, otherwise false.
|
|
5184
|
-
*/
|
|
5185
4932
|
set hideTrailingWeeks(arg: boolean);
|
|
5186
4933
|
/**
|
|
5187
|
-
* Gets a value indicating whether to hide trailing weeks,
|
|
4934
|
+
* Gets or sets a value indicating whether to hide trailing weeks,
|
|
5188
4935
|
* which do not contain days from the current month.
|
|
5189
|
-
* @
|
|
4936
|
+
* @type {Boolean}
|
|
4937
|
+
* @summary True to hide trailing weeks, otherwise false.
|
|
5190
4938
|
*/
|
|
5191
4939
|
get hideTrailingWeeks(): boolean;
|
|
5192
|
-
/**
|
|
5193
|
-
* Sets the number of full weeks to display from the next month.
|
|
5194
|
-
* @param {Number} value The number of full weeks to display from the next month.
|
|
5195
|
-
*/
|
|
5196
4940
|
set trailingWeekCount(arg: number);
|
|
5197
4941
|
/**
|
|
5198
|
-
* Gets the number of full weeks to display from the next month.
|
|
5199
|
-
* @
|
|
4942
|
+
* Gets or sets the number of full weeks to display from the next month.
|
|
4943
|
+
* @type {Number}
|
|
4944
|
+
* @summary The number of full weeks to display from the next month.
|
|
5200
4945
|
*/
|
|
5201
4946
|
get trailingWeekCount(): number;
|
|
5202
|
-
/**
|
|
5203
|
-
* Sets the number of full weeks to display from the previous month.
|
|
5204
|
-
* @param {Number} value The number of full weeks to display from the previous month.
|
|
5205
|
-
*/
|
|
5206
4947
|
set leadingWeekCount(arg: number);
|
|
5207
4948
|
/**
|
|
5208
|
-
* Gets the number of full weeks to display from the previous month.
|
|
5209
|
-
* @
|
|
4949
|
+
* Gets or sets the number of full weeks to display from the previous month.
|
|
4950
|
+
* @type {Number}
|
|
4951
|
+
* @summary The number of full weeks to display from the previous month.
|
|
5210
4952
|
*/
|
|
5211
4953
|
get leadingWeekCount(): number;
|
|
5212
|
-
/**
|
|
5213
|
-
* Sets a value indicating whether to display days from the
|
|
5214
|
-
* previous and next months at the beginning and the end of the current
|
|
5215
|
-
* one, in order to fill the whole grid of day cells.
|
|
5216
|
-
* @param {Boolean} value True if padding days are displayed, otherwise false.
|
|
5217
|
-
*/
|
|
5218
4954
|
set showPaddingDays(arg: boolean);
|
|
5219
4955
|
/**
|
|
5220
|
-
* Gets a value indicating whether to display days from the
|
|
4956
|
+
* Gets or sets a value indicating whether to display days from the
|
|
5221
4957
|
* previous and next months at the beginning and the end of the current
|
|
5222
4958
|
* one, in order to fill the whole grid of day cells.
|
|
5223
|
-
* @
|
|
4959
|
+
* @type {Boolean}
|
|
4960
|
+
* @summary True if padding days are displayed, otherwise false.
|
|
5224
4961
|
*/
|
|
5225
4962
|
get showPaddingDays(): boolean;
|
|
5226
|
-
/**
|
|
5227
|
-
* Sets a value indicating whether items are shown in padding days.
|
|
5228
|
-
* @param {Boolean} value True if items are shown in padding days, otherwise false.
|
|
5229
|
-
*/
|
|
5230
4963
|
set showPaddingItems(arg: boolean);
|
|
5231
4964
|
/**
|
|
5232
|
-
* Gets a value indicating whether items are shown in padding days.
|
|
5233
|
-
* @
|
|
4965
|
+
* Gets or sets a value indicating whether items are shown in padding days.
|
|
4966
|
+
* @type {Boolean}
|
|
4967
|
+
* @summary True if items are shown in padding days, otherwise false.
|
|
5234
4968
|
*/
|
|
5235
4969
|
get showPaddingItems(): boolean;
|
|
5236
|
-
/**
|
|
5237
|
-
* Sets a value indicating whether day headers should fill the whole day cell.
|
|
5238
|
-
* @param {Boolean} value True to expand the headers, otherwise false.
|
|
5239
|
-
*/
|
|
5240
4970
|
set expandDayHeaders(arg: boolean);
|
|
5241
4971
|
/**
|
|
5242
|
-
* Gets a value indicating whether day headers should fill the whole day cell.
|
|
5243
|
-
* @
|
|
4972
|
+
* Gets or sets a value indicating whether day headers should fill the whole day cell.
|
|
4973
|
+
* @type {Boolean}
|
|
4974
|
+
* @summary True to expand the headers, otherwise false.
|
|
5244
4975
|
*/
|
|
5245
4976
|
get expandDayHeaders(): boolean;
|
|
5246
|
-
/**
|
|
5247
|
-
* Sets the string used to format cells' headers.
|
|
5248
|
-
* @param {String} value The format string.
|
|
5249
|
-
*/
|
|
5250
4977
|
set generalFormat(arg: string);
|
|
5251
4978
|
/**
|
|
5252
|
-
* Gets the string used to format cells' headers.
|
|
5253
|
-
* @
|
|
4979
|
+
* Gets or sets the string used to format cells' headers.
|
|
4980
|
+
* @type {String}
|
|
4981
|
+
* @summary The format string.
|
|
5254
4982
|
*/
|
|
5255
4983
|
get generalFormat(): string;
|
|
5256
|
-
/**
|
|
5257
|
-
* Sets the string used to format the cell eader of the first day of each month.
|
|
5258
|
-
* @param {String} value The format string.
|
|
5259
|
-
*/
|
|
5260
4984
|
set firstDayOfMonthFormat(arg: string);
|
|
5261
4985
|
/**
|
|
5262
|
-
* Gets the string used to format the cell header of the first day of each month.
|
|
5263
|
-
* @
|
|
4986
|
+
* Gets or sets the string used to format the cell header of the first day of each month.
|
|
4987
|
+
* @type {String}
|
|
4988
|
+
* @summary The format string.
|
|
5264
4989
|
*/
|
|
5265
4990
|
get firstDayOfMonthFormat(): string;
|
|
5266
|
-
/**
|
|
5267
|
-
* Sets the string used to format the cell header of the first day of each year.
|
|
5268
|
-
* @param {String} value The format string.
|
|
5269
|
-
*/
|
|
5270
4991
|
set firstDayOfYearFormat(arg: string);
|
|
5271
4992
|
/**
|
|
5272
|
-
* Gets the string used to format the cell header of the first day of each year.
|
|
5273
|
-
* @
|
|
4993
|
+
* Gets or sets the string used to format the cell header of the first day of each year.
|
|
4994
|
+
* @type {String}
|
|
4995
|
+
* @summary The format string.
|
|
5274
4996
|
*/
|
|
5275
4997
|
get firstDayOfYearFormat(): string;
|
|
5276
|
-
/**
|
|
5277
|
-
* Sets the maximum number of calendar items to display in a view cell.
|
|
5278
|
-
* @param {Number} value The maximum number of calendar items to display in a view cell.
|
|
5279
|
-
*/
|
|
5280
4998
|
set maxItems(arg: number);
|
|
5281
4999
|
/**
|
|
5282
|
-
* Gets the maximum number of calendar items to display in a view cell.
|
|
5283
|
-
* @
|
|
5000
|
+
* Gets or sets the maximum number of calendar items to display in a view cell.
|
|
5001
|
+
* @type {Number}
|
|
5002
|
+
* @summary The maximum number of calendar items to display in a view cell.
|
|
5284
5003
|
*/
|
|
5285
5004
|
get maxItems(): number;
|
|
5286
5005
|
/**
|
|
@@ -5309,13 +5028,7 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
|
|
|
5309
5028
|
}
|
|
5310
5029
|
declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
|
|
5311
5030
|
/**
|
|
5312
|
-
* Defines properties that allow customization of the appearance of a MonthRange view.
|
|
5313
|
-
* @property {Number} numberOfMonths Gets or sets the total number of months to be displayed in the view.
|
|
5314
|
-
* @property {Number} monthsPerRow Gets or sets the number of months to be displayed in a row.
|
|
5315
|
-
* @property {Number} visibleRows Gets or sets the number of rows visible at the same time.
|
|
5316
|
-
* @property {MainHeaderStyle} headerStyle Gets or sets the style of the view header.
|
|
5317
|
-
* @property {String} titleFormat Gets or sets the string used to format the header title.
|
|
5318
|
-
* @property {String} titleSeparator Gets or sets the string used as a title separator.
|
|
5031
|
+
* @class Defines properties that allow customization of the appearance of a MonthRange view.
|
|
5319
5032
|
*/
|
|
5320
5033
|
export class MonthRangeSettings {
|
|
5321
5034
|
constructor(calendar: any);
|
|
@@ -5332,64 +5045,46 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
|
|
|
5332
5045
|
* @param {Object} settings An object containing property values.
|
|
5333
5046
|
*/
|
|
5334
5047
|
copyFrom(settings: any): void;
|
|
5335
|
-
/**
|
|
5336
|
-
* Sets the total number of months to be displayed in the view.
|
|
5337
|
-
* @param {Number} value The number of months to be displayed in the view.
|
|
5338
|
-
*/
|
|
5339
5048
|
set numberOfMonths(arg: number);
|
|
5340
5049
|
/**
|
|
5341
|
-
* Gets the total number of months to display in the view.
|
|
5342
|
-
* @
|
|
5050
|
+
* Gets or sets the total number of months to display in the view.
|
|
5051
|
+
* @type {Number}
|
|
5052
|
+
* @summary The number of months to be displayed in the view.
|
|
5343
5053
|
*/
|
|
5344
5054
|
get numberOfMonths(): number;
|
|
5345
|
-
/**
|
|
5346
|
-
* Sets the number of months to be displayed in a row.
|
|
5347
|
-
* @param {Number} value The number of months to be displayed in a row.
|
|
5348
|
-
*/
|
|
5349
5055
|
set monthsPerRow(arg: number);
|
|
5350
5056
|
/**
|
|
5351
|
-
* Gets the number of months to be displayed in a row.
|
|
5352
|
-
* @
|
|
5057
|
+
* Gets or sets the number of months to be displayed in a row.
|
|
5058
|
+
* @type {Number}
|
|
5059
|
+
* @summary The number of months to be displayed in a row.
|
|
5353
5060
|
*/
|
|
5354
5061
|
get monthsPerRow(): number;
|
|
5355
|
-
/**
|
|
5356
|
-
* Sets the number of rows visible at the same time.
|
|
5357
|
-
* @param {Number} value The number of rows visible at the same time.
|
|
5358
|
-
*/
|
|
5359
5062
|
set visibleRows(arg: number);
|
|
5360
5063
|
/**
|
|
5361
|
-
* Gets the number of rows visible at the same time.
|
|
5362
|
-
* @
|
|
5064
|
+
* Gets or sets the number of rows visible at the same time.
|
|
5065
|
+
* @type {Number}
|
|
5066
|
+
* @summary The number of rows visible at the same time.
|
|
5363
5067
|
*/
|
|
5364
5068
|
get visibleRows(): number;
|
|
5365
|
-
/**
|
|
5366
|
-
* Sets the style of the view header.
|
|
5367
|
-
* @param {MainHeaderStyle} value One of the MainHeaderStyle enumeration values.
|
|
5368
|
-
*/
|
|
5369
5069
|
set headerStyle(arg: number);
|
|
5370
5070
|
/**
|
|
5371
|
-
* Gets the style of the view header.
|
|
5372
|
-
* @
|
|
5071
|
+
* Gets or sets the style of the view header.
|
|
5072
|
+
* @type {MainHeaderStyle}
|
|
5073
|
+
* @summary One of the MainHeaderStyle enumeration values.
|
|
5373
5074
|
*/
|
|
5374
5075
|
get headerStyle(): number;
|
|
5375
|
-
/**
|
|
5376
|
-
* Sets the string used to format the header title.
|
|
5377
|
-
* @param {String} value The format string.
|
|
5378
|
-
*/
|
|
5379
5076
|
set titleFormat(arg: string);
|
|
5380
5077
|
/**
|
|
5381
|
-
* Gets the string used to format the header title.
|
|
5382
|
-
* @
|
|
5078
|
+
* Gets or sets the string used to format the header title.
|
|
5079
|
+
* @type {String}
|
|
5080
|
+
* @summary The format string.
|
|
5383
5081
|
*/
|
|
5384
5082
|
get titleFormat(): string;
|
|
5385
|
-
/**
|
|
5386
|
-
* Sets the string used as a title separator.
|
|
5387
|
-
* @param {String} value The separator string.
|
|
5388
|
-
*/
|
|
5389
5083
|
set titleSeparator(arg: string);
|
|
5390
5084
|
/**
|
|
5391
|
-
* Gets the string used as a title separator.
|
|
5392
|
-
* @
|
|
5085
|
+
* Gets or sets the string used as a title separator.
|
|
5086
|
+
* @type {String}
|
|
5087
|
+
* @summary The separator string.
|
|
5393
5088
|
*/
|
|
5394
5089
|
get titleSeparator(): string;
|
|
5395
5090
|
/**
|
|
@@ -5402,19 +5097,7 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
|
|
|
5402
5097
|
}
|
|
5403
5098
|
declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
|
|
5404
5099
|
/**
|
|
5405
|
-
* Defines properties that allow customization of the appearance of a WeekRange view.
|
|
5406
|
-
* @property {WeekRangeViewStyle} viewStyle Gets or sets the style of the view.
|
|
5407
|
-
* @property {Number} visibleRows Gets or sets the number of rows visible at the same time.
|
|
5408
|
-
* @property {MainHeaderStyle} headerStyle Gets or sets the style of the view header.
|
|
5409
|
-
* @property {String} titleFormat Gets or sets the string used to format the header title.
|
|
5410
|
-
* @property {String} titleSeparator Gets or sets the string used as a title separator.
|
|
5411
|
-
* @property {HorizontalHeaderStyle} dayNamesHeaderStyle Gets or sets the style of the view day names header.
|
|
5412
|
-
* @property {DayOfWeekFormat} dayOfWeekFormat Gets or sets the format of the day names displayed in the day names header.
|
|
5413
|
-
* @property {String} generalFormat Gets or sets the string used to format cells' headers.
|
|
5414
|
-
* @property {String} firstDayOfMonthFormat Gets or sets the string used to format the cell header of the first day of each month.
|
|
5415
|
-
* @property {String} firstDayOfYearFormat Gets or sets the string used to format the cell header of the first day of each year.
|
|
5416
|
-
* @property {Number} maxItems Gets or sets the maximum number of items to display in a cell.
|
|
5417
|
-
* @property {Boolean} expandDayHeaders Gets or sets a value indicating whether day headers should fill the whole day cell.
|
|
5100
|
+
* @class Defines properties that allow customization of the appearance of a WeekRange view.
|
|
5418
5101
|
*/
|
|
5419
5102
|
export class WeekRangeSettings {
|
|
5420
5103
|
constructor(calendar: any);
|
|
@@ -5436,124 +5119,88 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
|
|
|
5436
5119
|
* @param {Object} settings An object containing property values.
|
|
5437
5120
|
*/
|
|
5438
5121
|
copyFrom(settings: any): void;
|
|
5439
|
-
/**
|
|
5440
|
-
* Sets the style of the view.
|
|
5441
|
-
* @param {WeekRangeViewStyle} value One of the WeekRangeViewStyle enumeration values.
|
|
5442
|
-
*/
|
|
5443
5122
|
set viewStyle(arg: number);
|
|
5444
5123
|
/**
|
|
5445
|
-
* Gets the style of the view.
|
|
5446
|
-
* @
|
|
5124
|
+
* Gets or sets the style of the view.
|
|
5125
|
+
* @type {WeekRangeViewStyle}
|
|
5126
|
+
* @summary One of the WeekRangeViewStyle enumeration values.
|
|
5447
5127
|
*/
|
|
5448
5128
|
get viewStyle(): number;
|
|
5449
|
-
/**
|
|
5450
|
-
* Sets the number of rows visible at the same time.
|
|
5451
|
-
* @param {Number} value The number of rows visible at the same time.
|
|
5452
|
-
*/
|
|
5453
5129
|
set visibleRows(arg: number);
|
|
5454
5130
|
/**
|
|
5455
|
-
* Gets the number of rows visible at the same time.
|
|
5456
|
-
* @
|
|
5131
|
+
* Gets or sets the number of rows visible at the same time.
|
|
5132
|
+
* @type {Number}
|
|
5133
|
+
* @summary The number of rows visible at the same time.
|
|
5457
5134
|
*/
|
|
5458
5135
|
get visibleRows(): number;
|
|
5459
|
-
/**
|
|
5460
|
-
* Sets the style of the view header.
|
|
5461
|
-
* @param {MainHeaderStyle} value One of the MainHeaderStyle enumeration values.
|
|
5462
|
-
*/
|
|
5463
5136
|
set headerStyle(arg: number);
|
|
5464
5137
|
/**
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
get headerStyle(): number;
|
|
5469
|
-
/**
|
|
5470
|
-
* Sets the string used to format the header title.
|
|
5471
|
-
* @param {String} value The format string.
|
|
5138
|
+
* Gets or sets the style of the view header.
|
|
5139
|
+
* @type {MainHeaderStyle}
|
|
5140
|
+
* @summary One of the MainHeaderStyle enumeration values.
|
|
5472
5141
|
*/
|
|
5142
|
+
get headerStyle(): number;
|
|
5473
5143
|
set titleFormat(arg: string);
|
|
5474
5144
|
/**
|
|
5475
|
-
* Gets the string used to format the header title.
|
|
5476
|
-
* @
|
|
5145
|
+
* Gets or sets the string used to format the header title.
|
|
5146
|
+
* @type {String}
|
|
5147
|
+
* @summary The format string.
|
|
5477
5148
|
*/
|
|
5478
5149
|
get titleFormat(): string;
|
|
5479
|
-
/**
|
|
5480
|
-
* Sets the string used as a title separator.
|
|
5481
|
-
* @param {String} value The separator string.
|
|
5482
|
-
*/
|
|
5483
5150
|
set titleSeparator(arg: string);
|
|
5484
5151
|
/**
|
|
5485
|
-
* Gets the string used as a title separator.
|
|
5486
|
-
* @
|
|
5152
|
+
* Gets or sets the string used as a title separator.
|
|
5153
|
+
* @type {String}
|
|
5154
|
+
* @summary The separator string.
|
|
5487
5155
|
*/
|
|
5488
5156
|
get titleSeparator(): string;
|
|
5489
|
-
/**
|
|
5490
|
-
* Sets the style of the day names header.
|
|
5491
|
-
* @param {HorizontalHeaderStyle} value One of the HorizontalHeaderStyle enumeration values.
|
|
5492
|
-
*/
|
|
5493
5157
|
set dayNamesHeaderStyle(arg: number);
|
|
5494
5158
|
/**
|
|
5495
|
-
* Gets the style of the day names header.
|
|
5496
|
-
* @
|
|
5159
|
+
* Gets or sets the style of the day names header.
|
|
5160
|
+
* @type {HorizontalHeaderStyle}
|
|
5161
|
+
* @summary One of the HorizontalHeaderStyle enumeration values.
|
|
5497
5162
|
*/
|
|
5498
5163
|
get dayNamesHeaderStyle(): number;
|
|
5499
|
-
/**
|
|
5500
|
-
* Sets the format of the day names displayed in the day names header.
|
|
5501
|
-
* @param {DayOfWeekFormat} value One of the DayOfWeekFormat enumeration values.
|
|
5502
|
-
*/
|
|
5503
5164
|
set dayOfWeekFormat(arg: number);
|
|
5504
5165
|
/**
|
|
5505
|
-
* Gets the format of the day names displayed in the day names header.
|
|
5506
|
-
* @
|
|
5166
|
+
* Gets or sets the format of the day names displayed in the day names header.
|
|
5167
|
+
* @type {DayOfWeekFormat}
|
|
5168
|
+
* @summary One of the DayOfWeekFormat enumeration values.
|
|
5507
5169
|
*/
|
|
5508
5170
|
get dayOfWeekFormat(): number;
|
|
5509
|
-
/**
|
|
5510
|
-
* Sets the string used to format cells' headers.
|
|
5511
|
-
* @param {String} value The format string.
|
|
5512
|
-
*/
|
|
5513
5171
|
set generalFormat(arg: string);
|
|
5514
5172
|
/**
|
|
5515
|
-
* Gets the string used to format cells' headers.
|
|
5516
|
-
* @
|
|
5173
|
+
* Gets or sets the string used to format cells' headers.
|
|
5174
|
+
* @type {String}
|
|
5175
|
+
* @summary The format string.
|
|
5517
5176
|
*/
|
|
5518
5177
|
get generalFormat(): string;
|
|
5519
|
-
/**
|
|
5520
|
-
* Sets the string used to format the cell eader of the first day of each month.
|
|
5521
|
-
* @param {String} value The format string.
|
|
5522
|
-
*/
|
|
5523
5178
|
set firstDayOfMonthFormat(arg: string);
|
|
5524
5179
|
/**
|
|
5525
|
-
* Gets the string used to format the cell header of the first day of each month.
|
|
5526
|
-
* @
|
|
5180
|
+
* Gets or sets the string used to format the cell header of the first day of each month.
|
|
5181
|
+
* @type {String}
|
|
5182
|
+
* @summary The format string.
|
|
5527
5183
|
*/
|
|
5528
5184
|
get firstDayOfMonthFormat(): string;
|
|
5529
|
-
/**
|
|
5530
|
-
* Sets the string used to format the cell header of the first day of each year.
|
|
5531
|
-
* @param {String} value The format string.
|
|
5532
|
-
*/
|
|
5533
5185
|
set firstDayOfYearFormat(arg: string);
|
|
5534
5186
|
/**
|
|
5535
|
-
* Gets the string used to format the cell header of the first day of each year.
|
|
5536
|
-
* @
|
|
5187
|
+
* Gets or sets the string used to format the cell header of the first day of each year.
|
|
5188
|
+
* @type {String}
|
|
5189
|
+
* @summary The format string.
|
|
5537
5190
|
*/
|
|
5538
5191
|
get firstDayOfYearFormat(): string;
|
|
5539
|
-
/**
|
|
5540
|
-
* Sets a value indicating whether day headers should fill the whole day cell.
|
|
5541
|
-
* @param {Boolean} value True to expand the headers, otherwise false.
|
|
5542
|
-
*/
|
|
5543
5192
|
set expandDayHeaders(arg: boolean);
|
|
5544
5193
|
/**
|
|
5545
|
-
* Gets a value indicating whether day headers should fill the whole day cell.
|
|
5546
|
-
* @
|
|
5194
|
+
* Gets or sets a value indicating whether day headers should fill the whole day cell.
|
|
5195
|
+
* @type {Boolean}
|
|
5196
|
+
* @summary True to expand the headers, otherwise false.
|
|
5547
5197
|
*/
|
|
5548
5198
|
get expandDayHeaders(): boolean;
|
|
5549
|
-
/**
|
|
5550
|
-
* Sets the maximum number of calendar items to display in a view cell.
|
|
5551
|
-
* @param {Number} value The maximum number of calendar items to display in a view cell.
|
|
5552
|
-
*/
|
|
5553
5199
|
set maxItems(arg: number);
|
|
5554
5200
|
/**
|
|
5555
|
-
* Gets the maximum number of calendar items to display in a view cell.
|
|
5556
|
-
* @
|
|
5201
|
+
* Gets or sets the maximum number of calendar items to display in a view cell.
|
|
5202
|
+
* @type {Number}
|
|
5203
|
+
* @summary The maximum number of calendar items to display in a view cell.
|
|
5557
5204
|
*/
|
|
5558
5205
|
get maxItems(): number;
|
|
5559
5206
|
/**
|
|
@@ -5567,23 +5214,7 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
|
|
|
5567
5214
|
}
|
|
5568
5215
|
declare module "Scheduling/jsplanner/src/TimetableSettings" {
|
|
5569
5216
|
/**
|
|
5570
|
-
* Defines properties that allow customization of the appearance of a Timetable view.
|
|
5571
|
-
* @property {ObservableCollection} dates Gets or sets the collection of dates to display in the view.
|
|
5572
|
-
* @property {Orientation} orientation Gets or sets the orientation of the view.
|
|
5573
|
-
* @property {Number} startTime Gets or sets the start time of the timetable, expressed in minutes since the beginning of the day.
|
|
5574
|
-
* @property {Number} endTime Gets or sets the end time of the timetable, expressed in minutes since the beginning of the day.
|
|
5575
|
-
* @property {Number} cellSize Gets or sets the size of time cells.
|
|
5576
|
-
* @property {TimeSpan} cellTime Gets or sets the time length of a single cell in a timetable view, accurate to the nearest second.
|
|
5577
|
-
* @property {Boolean} reverseGrouping Gets or sets a value indicating whether grouping (if enabled) will be performed first by the resource, and then by the date.
|
|
5578
|
-
* @property {MainHeaderStyle} headerStyle Gets or sets the style of the view header.
|
|
5579
|
-
* @property {String} titleFormat Gets or sets the string used to format the header title.
|
|
5580
|
-
* @property {Boolean} showDayHeader Gets or sets a value indicating whether to show the header displaying all-day items.
|
|
5581
|
-
* @property {Boolean} groupHours Gets or sets a value indicating whether hours displayed in the timeline are grouped.
|
|
5582
|
-
* @property {Boolean} twelveHourFormat Gets or sets value indicating whether to use a 12-hour format.
|
|
5583
|
-
* @property {Boolean} showMinutes Gets or sets a value indicating whether to display the minutes of each hour in the timeline header when it displays whole hour cells.
|
|
5584
|
-
* @property {Boolean} showAM Gets or sets a value indicating whether the AM and PM suffixes are displayed.
|
|
5585
|
-
* @property {Number} scrollStep Gets or sets the number of days to scroll when the user clicks the navigation buttons.
|
|
5586
|
-
* @property {Number} maxItems Gets or sets the maximum number of items to display in a cell.
|
|
5217
|
+
* @class Defines properties that allow customization of the appearance of a Timetable view.
|
|
5587
5218
|
*/
|
|
5588
5219
|
export class TimetableSettings {
|
|
5589
5220
|
constructor(calendar: any);
|
|
@@ -5611,157 +5242,108 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
|
|
|
5611
5242
|
* @param {Object} settings An object containing property values.
|
|
5612
5243
|
*/
|
|
5613
5244
|
copyFrom(settings: any): void;
|
|
5614
|
-
/**
|
|
5615
|
-
* Sets the start time of the timetable, expressed in minutes since the beginning of the day.
|
|
5616
|
-
* @param {Number} value The start time of the timetable in minutes.
|
|
5617
|
-
*/
|
|
5618
5245
|
set startTime(arg: number);
|
|
5619
5246
|
/**
|
|
5620
|
-
* Gets the start time of the timetable, expressed in minutes since the beginning of the day.
|
|
5621
|
-
* @
|
|
5247
|
+
* Gets or sets the start time of the timetable, expressed in minutes since the beginning of the day.
|
|
5248
|
+
* @type {Number}
|
|
5249
|
+
* @summary The start time of the timetable in minutes.
|
|
5622
5250
|
*/
|
|
5623
5251
|
get startTime(): number;
|
|
5624
|
-
/**
|
|
5625
|
-
* Sets the end time of the timetable, expressed in minutes since the beginning of the day.
|
|
5626
|
-
* @param {Number} value The end time of the timetable in minutes.
|
|
5627
|
-
*/
|
|
5628
5252
|
set endTime(arg: number);
|
|
5629
5253
|
/**
|
|
5630
|
-
* Gets the end time of the timetable, expressed in minutes since the beginning of the day.
|
|
5631
|
-
* @
|
|
5254
|
+
* Gets or sets the end time of the timetable, expressed in minutes since the beginning of the day.
|
|
5255
|
+
* @type {Number}
|
|
5256
|
+
* @summary The end time of the timetable in minutes.
|
|
5632
5257
|
*/
|
|
5633
5258
|
get endTime(): number;
|
|
5634
|
-
/**
|
|
5635
|
-
* Sets the size of time cells.
|
|
5636
|
-
* @param {Number} value The size of time cells in pixels.
|
|
5637
|
-
*/
|
|
5638
5259
|
set cellSize(arg: number);
|
|
5639
5260
|
/**
|
|
5640
|
-
* Gets the size of time cells.
|
|
5641
|
-
* @
|
|
5261
|
+
* Gets or sets the size of time cells.
|
|
5262
|
+
* @type {Number}
|
|
5263
|
+
* @summary The size of time cells in pixels.
|
|
5642
5264
|
*/
|
|
5643
5265
|
get cellSize(): number;
|
|
5644
|
-
/**
|
|
5645
|
-
* Sets the time length of a single cell in a timetable view, accurate to the nearest second.
|
|
5646
|
-
* @param {TimeSpan} value A TimeSpan object representing the time length of the cell.
|
|
5647
|
-
* @remarks Valid values for this property range from 1 second to 1 day.
|
|
5648
|
-
*/
|
|
5649
5266
|
set cellTime(arg: TimeSpan);
|
|
5650
5267
|
/**
|
|
5651
|
-
* Gets the time length of a single cell in a timetable view, accurate to the nearest second.
|
|
5652
|
-
* @
|
|
5268
|
+
* Gets or sets the time length of a single cell in a timetable view, accurate to the nearest second.
|
|
5269
|
+
* @type {TimeSpan}
|
|
5270
|
+
* @summary A TimeSpan object representing the time length of the cell.
|
|
5653
5271
|
* @remarks Valid values for this property range from 1 second to 1 day.
|
|
5654
5272
|
*/
|
|
5655
5273
|
get cellTime(): TimeSpan;
|
|
5656
|
-
/**
|
|
5657
|
-
* Sets a value indicating whether whether grouping (if enabled) will be performed first by the resource, and then by the date.
|
|
5658
|
-
* @param {Boolean} value True if grouping is reversed, otherwise false.
|
|
5659
|
-
* @remarks By default grouping is done first by available dates, then by
|
|
5660
|
-
* the resources specified in the current grouping type. Setting
|
|
5661
|
-
* this property to true reverses this behavior.
|
|
5662
|
-
*/
|
|
5663
5274
|
set reverseGrouping(arg: boolean);
|
|
5664
5275
|
/**
|
|
5665
|
-
* Gets a value indicating whether whether grouping (if enabled) will be performed first by the resource, and then by the date.
|
|
5666
|
-
* @
|
|
5276
|
+
* Gets or sets a value indicating whether whether grouping (if enabled) will be performed first by the resource, and then by the date.
|
|
5277
|
+
* @type {Boolean}
|
|
5278
|
+
* @summary True if grouping is reversed, otherwise false.
|
|
5667
5279
|
* @remarks By default grouping is done first by available dates, then by
|
|
5668
5280
|
* the resources specified in the current grouping type. Setting
|
|
5669
5281
|
* this property to true reverses this behavior.
|
|
5670
5282
|
*/
|
|
5671
5283
|
get reverseGrouping(): boolean;
|
|
5672
|
-
/**
|
|
5673
|
-
* Sets the style of the view header.
|
|
5674
|
-
* @param {MainHeaderStyle} value One of the MainHeaderStyle enumeration values.
|
|
5675
|
-
*/
|
|
5676
5284
|
set headerStyle(arg: number);
|
|
5677
5285
|
/**
|
|
5678
|
-
* Gets the style of the view header.
|
|
5679
|
-
* @
|
|
5286
|
+
* Gets or sets the style of the view header.
|
|
5287
|
+
* @type {MainHeaderStyle}
|
|
5288
|
+
* @summary One of the MainHeaderStyle enumeration values.
|
|
5680
5289
|
*/
|
|
5681
5290
|
get headerStyle(): number;
|
|
5682
|
-
/**
|
|
5683
|
-
* Sets the string used to format header titles.
|
|
5684
|
-
* @param {String} value The format string.
|
|
5685
|
-
*/
|
|
5686
5291
|
set titleFormat(arg: string);
|
|
5687
5292
|
/**
|
|
5688
|
-
* Gets the string used to format header titles.
|
|
5689
|
-
* @
|
|
5293
|
+
* Gets or sets the string used to format header titles.
|
|
5294
|
+
* @type {String}
|
|
5295
|
+
* @summary The format string.
|
|
5690
5296
|
*/
|
|
5691
5297
|
get titleFormat(): string;
|
|
5692
|
-
/**
|
|
5693
|
-
* Sets a value indicating whether the header displaying all-day items is visible.
|
|
5694
|
-
* @param {Boolean} value True if day header is visible, otherwise false.
|
|
5695
|
-
*/
|
|
5696
5298
|
set showDayHeader(arg: boolean);
|
|
5697
5299
|
/**
|
|
5698
|
-
* Gets a value indicating whether the header displaying all-day items is visible.
|
|
5699
|
-
* @
|
|
5300
|
+
* Gets or sets a value indicating whether the header displaying all-day items is visible.
|
|
5301
|
+
* @type {Boolean}
|
|
5302
|
+
* @summary True if day header is visible, otherwise false.
|
|
5700
5303
|
*/
|
|
5701
5304
|
get showDayHeader(): boolean;
|
|
5702
|
-
/**
|
|
5703
|
-
* Sets a value indicating whether hours displayed in the timeline are grouped.
|
|
5704
|
-
* @param {Boolean} value True if hours are grouped, otherwise false.
|
|
5705
|
-
* @remarks Certain conditions prevent hours from grouping, such as when the hours are not divisible by the specified CellTime.
|
|
5706
|
-
*/
|
|
5707
5305
|
set groupHours(arg: boolean);
|
|
5708
5306
|
/**
|
|
5709
|
-
* Gets a value indicating whether hours displayed in the timeline are grouped.
|
|
5710
|
-
* @
|
|
5307
|
+
* Gets or sets a value indicating whether hours displayed in the timeline are grouped.
|
|
5308
|
+
* @type {Boolean}
|
|
5309
|
+
* @summary True if hours are grouped, otherwise false.
|
|
5711
5310
|
* @remarks Certain conditions prevent hours from grouping, such as when the hours are not divisible by the specified CellTime.
|
|
5712
5311
|
*/
|
|
5713
5312
|
get groupHours(): boolean;
|
|
5714
|
-
/**
|
|
5715
|
-
* Sets a value indicating whether to use a 12-hour format.
|
|
5716
|
-
* @param {Boolean} value True to use a 12-hour format, otherwise false.
|
|
5717
|
-
*/
|
|
5718
5313
|
set twelveHourFormat(arg: boolean);
|
|
5719
5314
|
/**
|
|
5720
|
-
* Gets a value indicating whether to use a 12-hour format.
|
|
5721
|
-
* @
|
|
5315
|
+
* Gets or sets a value indicating whether to use a 12-hour format.
|
|
5316
|
+
* @type {Boolean}
|
|
5317
|
+
* @summary True to use a 12-hour format, otherwise false.
|
|
5722
5318
|
*/
|
|
5723
5319
|
get twelveHourFormat(): boolean;
|
|
5724
|
-
/**
|
|
5725
|
-
* Sets a value indicating whether to display the minutes of each hour in the timeline header when it displays whole hour cells.
|
|
5726
|
-
* @param {Boolean} value True to display minutes, otherwise false.
|
|
5727
|
-
* @remarks Whole hour cells are displayed when the hours are divisible by the specified CellTime.
|
|
5728
|
-
*/
|
|
5729
5320
|
set showMinutes(arg: boolean);
|
|
5730
5321
|
/**
|
|
5731
|
-
* Gets a value indicating whether to display the minutes of each hour in the timeline header when it displays whole hour cells.
|
|
5732
|
-
* @
|
|
5322
|
+
* Gets or sets a value indicating whether to display the minutes of each hour in the timeline header when it displays whole hour cells.
|
|
5323
|
+
* @type {Boolean}
|
|
5324
|
+
* @summary True to display minutes, otherwise false.
|
|
5733
5325
|
* @remarks Whole hour cells are displayed when the hours are divisible by the specified CellTime.
|
|
5734
5326
|
*/
|
|
5735
5327
|
get showMinutes(): boolean;
|
|
5736
|
-
/**
|
|
5737
|
-
* Sets a value indicating whether the AM and PM suffixes are displayed.
|
|
5738
|
-
* @param {Boolean} value True to display AM and PM, otherwise false.
|
|
5739
|
-
*/
|
|
5740
5328
|
set showAM(arg: boolean);
|
|
5741
5329
|
/**
|
|
5742
|
-
* Gets a value indicating whether the AM and PM suffixes are displayed.
|
|
5743
|
-
* @
|
|
5330
|
+
* Gets or sets a value indicating whether the AM and PM suffixes are displayed.
|
|
5331
|
+
* @type {Boolean}
|
|
5332
|
+
* @summary True to display AM and PM, otherwise false.
|
|
5744
5333
|
*/
|
|
5745
5334
|
get showAM(): boolean;
|
|
5746
|
-
/**
|
|
5747
|
-
* Sets the number of days to scroll when a navigation button is clicked.
|
|
5748
|
-
* @param {Number} value The number of days to scroll.
|
|
5749
|
-
*/
|
|
5750
5335
|
set scrollStep(arg: number);
|
|
5751
5336
|
/**
|
|
5752
|
-
* Gets the number of days to scroll when a navigation button is clicked.
|
|
5753
|
-
* @
|
|
5337
|
+
* Gets or sets the number of days to scroll when a navigation button is clicked.
|
|
5338
|
+
* @type {Number}
|
|
5339
|
+
* @summary The number of days to scroll.
|
|
5754
5340
|
*/
|
|
5755
5341
|
get scrollStep(): number;
|
|
5756
|
-
/**
|
|
5757
|
-
* Sets the maximum number of calendar items to display in a view cell.
|
|
5758
|
-
* @param {Number} value The maximum number of calendar items to display in a view cell.
|
|
5759
|
-
* @remarks Applies only to all day (header) items.
|
|
5760
|
-
*/
|
|
5761
5342
|
set maxItems(arg: number);
|
|
5762
5343
|
/**
|
|
5763
|
-
* Gets the maximum number of calendar items to display in a view cell.
|
|
5764
|
-
* @
|
|
5344
|
+
* Gets or sets the maximum number of calendar items to display in a view cell.
|
|
5345
|
+
* @type {Number}
|
|
5346
|
+
* @summary The maximum number of calendar items to display in a view cell.
|
|
5765
5347
|
* @remarks Applies only to all day (header) items.
|
|
5766
5348
|
*/
|
|
5767
5349
|
get maxItems(): number;
|
|
@@ -5772,18 +5354,16 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
|
|
|
5772
5354
|
private onPropertyChanged;
|
|
5773
5355
|
/**
|
|
5774
5356
|
* Gets the collection of all dates visible in the timetable.
|
|
5775
|
-
* @
|
|
5357
|
+
* @type {ObservableCollection}
|
|
5358
|
+
* @summary A collection of DateTime objects.
|
|
5776
5359
|
*/
|
|
5777
5360
|
get dates(): ObservableCollection<any>;
|
|
5778
5361
|
onDatesChanged(sender: any, args: any): void;
|
|
5779
|
-
/**
|
|
5780
|
-
* Gets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5781
|
-
* @param {Orientation} value One of the Orientation enumeration values.
|
|
5782
|
-
*/
|
|
5783
5362
|
set orientation(arg: number);
|
|
5784
5363
|
/**
|
|
5785
|
-
* Gets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5786
|
-
* @
|
|
5364
|
+
* Gets or sets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5365
|
+
* @type {Orientation}
|
|
5366
|
+
* @summary One of the Orientation enumeration values.
|
|
5787
5367
|
*/
|
|
5788
5368
|
get orientation(): number;
|
|
5789
5369
|
/**
|
|
@@ -5791,14 +5371,11 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
|
|
|
5791
5371
|
* @private
|
|
5792
5372
|
*/
|
|
5793
5373
|
private get realEndTime();
|
|
5794
|
-
/**
|
|
5795
|
-
* Sets the string used to format ungrouped time cells in the timeline header.
|
|
5796
|
-
* @param {String} value The format string.
|
|
5797
|
-
*/
|
|
5798
5374
|
set generalFormat(arg: string);
|
|
5799
5375
|
/**
|
|
5800
|
-
* Gets the string used to format ungrouped time cells in the timeline header.
|
|
5801
|
-
* @
|
|
5376
|
+
* Gets or sets the string used to format ungrouped time cells in the timeline header.
|
|
5377
|
+
* @type {String}
|
|
5378
|
+
* @summary The format string.
|
|
5802
5379
|
*/
|
|
5803
5380
|
get generalFormat(): string;
|
|
5804
5381
|
}
|
|
@@ -5808,17 +5385,7 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
|
|
|
5808
5385
|
}
|
|
5809
5386
|
declare module "Scheduling/jsplanner/src/ListSettings" {
|
|
5810
5387
|
/**
|
|
5811
|
-
* Defines properties that allow customization of the appearance of a List view.
|
|
5812
|
-
* @property {Orientation} orientation Gets or sets the orientation of the view.
|
|
5813
|
-
* @property {TimeUnit} cellUnits Gets or sets the resolution of the list view.
|
|
5814
|
-
* @property {Number} numberOfCells Gets or sets the total number of cells to be displayed in the view.
|
|
5815
|
-
* @property {Number} visibleCells Gets or sets the number of cells visible at the same time.
|
|
5816
|
-
* @property {MainHeaderStyle} headerStyle Gets or sets the style of the view header.
|
|
5817
|
-
* @property {String} titleFormat Gets or sets the string used to format the header title.
|
|
5818
|
-
* @property {String} generalFormat Gets or sets the string used to format cells' headers.
|
|
5819
|
-
* @property {String} firstDayOfMonthFormat Gets or sets the string used to format the cell header of the first day of each month.
|
|
5820
|
-
* @property {String} firstDayOfYearFormat Gets or sets the string used to format the cell header of the first day of each year.
|
|
5821
|
-
* @property {Number} maxItems Gets or sets the maximum number of items to display in a cell.
|
|
5388
|
+
* @class Defines properties that allow customization of the appearance of a List view.
|
|
5822
5389
|
*/
|
|
5823
5390
|
export class ListSettings {
|
|
5824
5391
|
constructor(calendar: any);
|
|
@@ -5838,105 +5405,75 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
|
|
|
5838
5405
|
* @param {Object} settings An object containing property values.
|
|
5839
5406
|
*/
|
|
5840
5407
|
copyFrom(settings: any): void;
|
|
5841
|
-
/**
|
|
5842
|
-
* Gets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5843
|
-
* @param {Orientation} value One of the Orientation enumeration values.
|
|
5844
|
-
*/
|
|
5845
5408
|
set orientation(arg: number);
|
|
5846
5409
|
/**
|
|
5847
|
-
* Gets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5848
|
-
* @
|
|
5410
|
+
* Gets or sets a value indicating whether view cells are displayed horizontally or vertically.
|
|
5411
|
+
* @type {Orientation}
|
|
5412
|
+
* @summary One of the Orientation enumeration values.
|
|
5849
5413
|
*/
|
|
5850
5414
|
get orientation(): number;
|
|
5851
|
-
/**
|
|
5852
|
-
* Sets the resolution of the view.
|
|
5853
|
-
* @param {TimeUnit} value One of the TimeUnit enumeration values.
|
|
5854
|
-
*/
|
|
5855
5415
|
set cellUnits(arg: number);
|
|
5856
5416
|
/**
|
|
5857
|
-
* Gets the resolution of the view.
|
|
5858
|
-
* @
|
|
5417
|
+
* Gets or sets the resolution of the view.
|
|
5418
|
+
* @type {TimeUnit}
|
|
5419
|
+
* @summary One of the TimeUnit enumeration values.
|
|
5859
5420
|
*/
|
|
5860
5421
|
get cellUnits(): number;
|
|
5861
|
-
/**
|
|
5862
|
-
* Sets the total number of cells to be displayed in the view.
|
|
5863
|
-
* @param {Number} value The total number of cells to be displayed in the view.
|
|
5864
|
-
*/
|
|
5865
5422
|
set numberOfCells(arg: number);
|
|
5866
5423
|
/**
|
|
5867
|
-
* Gets the total number of cells to be displayed in the view.
|
|
5868
|
-
* @
|
|
5424
|
+
* Gets or sets the total number of cells to be displayed in the view.
|
|
5425
|
+
* @type {Number}
|
|
5426
|
+
* @summary The total number of cells to be displayed in the view.
|
|
5869
5427
|
*/
|
|
5870
5428
|
get numberOfCells(): number;
|
|
5871
|
-
/**
|
|
5872
|
-
* Sets the number of cells visible at the same time.
|
|
5873
|
-
* @param {Number} value The number of cells visible at the same time.
|
|
5874
|
-
*/
|
|
5875
5429
|
set visibleCells(arg: number);
|
|
5876
5430
|
/**
|
|
5877
|
-
* Gets the number of cells visible at the same time.
|
|
5878
|
-
* @
|
|
5431
|
+
* Gets or sets the number of cells visible at the same time.
|
|
5432
|
+
* @type {Number}
|
|
5433
|
+
* @summary The number of cells visible at the same time.
|
|
5879
5434
|
*/
|
|
5880
5435
|
get visibleCells(): number;
|
|
5881
|
-
/**
|
|
5882
|
-
* Sets the style of the view header.
|
|
5883
|
-
* @param {MainHeaderStyle} value One of the MainHeaderStyle enumeration values.
|
|
5884
|
-
*/
|
|
5885
5436
|
set headerStyle(arg: number);
|
|
5886
5437
|
/**
|
|
5887
|
-
* Gets the style of the view header.
|
|
5888
|
-
* @
|
|
5438
|
+
* Gets or sets the style of the view header.
|
|
5439
|
+
* @type {MainHeaderStyle}
|
|
5440
|
+
* @summary One of the MainHeaderStyle enumeration values.
|
|
5889
5441
|
*/
|
|
5890
5442
|
get headerStyle(): number;
|
|
5891
|
-
/**
|
|
5892
|
-
* Sets the string used to format the header title.
|
|
5893
|
-
* @param {String} value The format string.
|
|
5894
|
-
*/
|
|
5895
5443
|
set titleFormat(arg: string);
|
|
5896
5444
|
/**
|
|
5897
|
-
* Gets the string used to format the header title.
|
|
5898
|
-
* @
|
|
5445
|
+
* Gets or sets the string used to format the header title.
|
|
5446
|
+
* @type {String}
|
|
5447
|
+
* @summary The format string.
|
|
5899
5448
|
*/
|
|
5900
5449
|
get titleFormat(): string;
|
|
5901
|
-
/**
|
|
5902
|
-
* Sets the string used to format cells' headers.
|
|
5903
|
-
* @param {String} value The format string.
|
|
5904
|
-
*/
|
|
5905
5450
|
set generalFormat(arg: string);
|
|
5906
5451
|
/**
|
|
5907
|
-
* Gets the string used to format cells' headers.
|
|
5908
|
-
* @
|
|
5452
|
+
* Gets or sets the string used to format cells' headers.
|
|
5453
|
+
* @type {String}
|
|
5454
|
+
* @summary The format string.
|
|
5909
5455
|
*/
|
|
5910
5456
|
get generalFormat(): string;
|
|
5911
|
-
/**
|
|
5912
|
-
* Sets the string used to format the cell eader of the first day of each month.
|
|
5913
|
-
* @param {String} value The format string.
|
|
5914
|
-
*/
|
|
5915
5457
|
set firstDayOfMonthFormat(arg: string);
|
|
5916
5458
|
/**
|
|
5917
|
-
* Gets the string used to format the cell header of the first day of each month.
|
|
5918
|
-
* @
|
|
5459
|
+
* Gets or sets the string used to format the cell header of the first day of each month.
|
|
5460
|
+
* @type {String}
|
|
5461
|
+
* @summary The format string.
|
|
5919
5462
|
*/
|
|
5920
5463
|
get firstDayOfMonthFormat(): string;
|
|
5921
|
-
/**
|
|
5922
|
-
* Sets the string used to format the cell header of the first day of each year.
|
|
5923
|
-
* @param {String} value The format string.
|
|
5924
|
-
*/
|
|
5925
5464
|
set firstDayOfYearFormat(arg: string);
|
|
5926
5465
|
/**
|
|
5927
|
-
* Gets the string used to format the cell header of the first day of each year.
|
|
5928
|
-
* @
|
|
5466
|
+
* Gets or sets the string used to format the cell header of the first day of each year.
|
|
5467
|
+
* @type {String}
|
|
5468
|
+
* @summary The format string.
|
|
5929
5469
|
*/
|
|
5930
5470
|
get firstDayOfYearFormat(): string;
|
|
5931
|
-
/**
|
|
5932
|
-
* Sets the maximum number of calendar items to display in a view cell.
|
|
5933
|
-
* @param {Number} value The maximum number of calendar items to display in a view cell.
|
|
5934
|
-
*/
|
|
5935
5471
|
set maxItems(arg: number);
|
|
5936
5472
|
/**
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5473
|
+
* Gets or sets the maximum number of calendar items to display in a view cell.
|
|
5474
|
+
* @type {Number}
|
|
5475
|
+
* @summary The maximum number of calendar items to display in a view cell.
|
|
5476
|
+
*/
|
|
5940
5477
|
get maxItems(): number;
|
|
5941
5478
|
/**
|
|
5942
5479
|
* Raises the propertyChanged event.
|
|
@@ -5949,10 +5486,7 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
|
|
|
5949
5486
|
}
|
|
5950
5487
|
declare module "Scheduling/jsplanner/src/TimelineSettings" {
|
|
5951
5488
|
/**
|
|
5952
|
-
* Defines properties that allow customization of the appearance of timelines in a Resource view.
|
|
5953
|
-
* @property {TimeUnit} unit Gets the resolution of the timeline.
|
|
5954
|
-
* @property {Number} unitCount Gets or sets the number of units between adjacent ticks in the timeline.
|
|
5955
|
-
* @property {String} format Gets or sets the string used to format timeline headers.
|
|
5489
|
+
* @class Defines properties that allow customization of the appearance of timelines in a Resource view.
|
|
5956
5490
|
*/
|
|
5957
5491
|
export class TimelineSettings {
|
|
5958
5492
|
constructor(calendar: any, timeline: any);
|
|
@@ -5967,34 +5501,25 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
|
|
|
5967
5501
|
* @param {Object} settings An object containing property values.
|
|
5968
5502
|
*/
|
|
5969
5503
|
copyFrom(settings: any): void;
|
|
5970
|
-
/**
|
|
5971
|
-
* Sets the resolution of the timeline.
|
|
5972
|
-
* @param {TimeUnit} value One of the TimeUnit enumeration values.
|
|
5973
|
-
*/
|
|
5974
5504
|
set unit(arg: number);
|
|
5975
5505
|
/**
|
|
5976
|
-
* Gets the resolution of the timeline.
|
|
5977
|
-
* @
|
|
5506
|
+
* Gets or sets the resolution of the timeline.
|
|
5507
|
+
* @type {TimeUnit}
|
|
5508
|
+
* @summary One of the TimeUnit enumeration values.
|
|
5978
5509
|
*/
|
|
5979
5510
|
get unit(): number;
|
|
5980
|
-
/**
|
|
5981
|
-
* Sets the number of units between adjacent ticks in the timeline.
|
|
5982
|
-
* @param {Number} value The number of units between adjacent ticks in the timeline.
|
|
5983
|
-
*/
|
|
5984
5511
|
set unitCount(arg: number);
|
|
5985
5512
|
/**
|
|
5986
|
-
* Gets the number of units between adjacent ticks in the timeline.
|
|
5987
|
-
* @
|
|
5513
|
+
* Gets or sets the number of units between adjacent ticks in the timeline.
|
|
5514
|
+
* @type {Number}
|
|
5515
|
+
* @summary The number of units between adjacent ticks in the timeline.
|
|
5988
5516
|
*/
|
|
5989
5517
|
get unitCount(): number;
|
|
5990
|
-
/**
|
|
5991
|
-
* Sets the string used to format timeline headers.
|
|
5992
|
-
* @param {String} value The format string.
|
|
5993
|
-
*/
|
|
5994
5518
|
set format(arg: string);
|
|
5995
5519
|
/**
|
|
5996
|
-
* Gets the string used to format timeline headers.
|
|
5997
|
-
* @
|
|
5520
|
+
* Gets or sets the string used to format timeline headers.
|
|
5521
|
+
* @type {String}
|
|
5522
|
+
* @summary The format string.
|
|
5998
5523
|
*/
|
|
5999
5524
|
get format(): string;
|
|
6000
5525
|
/**
|
|
@@ -6007,12 +5532,7 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
|
|
|
6007
5532
|
}
|
|
6008
5533
|
declare module "Scheduling/jsplanner/src/ResourceViewSettings" {
|
|
6009
5534
|
/**
|
|
6010
|
-
* Defines properties that allow customization of the appearance of a Resource view.
|
|
6011
|
-
* @property {Number} timelines Gets or sets the number of timelines displayed in the view.
|
|
6012
|
-
* @property {TimelineSettings} topTimelineSettings Gets the settings for the top timeline.
|
|
6013
|
-
* @property {TimelineSettings} middleTimelineSettings Gets the settings for the middle timeline.
|
|
6014
|
-
* @property {TimelineSettings} bottomTimelineSettings Gets the settings for the bottom timeline.
|
|
6015
|
-
* @property {Number} visibleCells Gets or sets the number of cells visible at the same time.
|
|
5535
|
+
* @class Defines properties that allow customization of the appearance of a Resource view.
|
|
6016
5536
|
*/
|
|
6017
5537
|
export class ResourceViewSettings {
|
|
6018
5538
|
constructor(calendar: any);
|
|
@@ -6025,25 +5545,18 @@ declare module "Scheduling/jsplanner/src/ResourceViewSettings" {
|
|
|
6025
5545
|
* @param {Object} settings An object containing property values.
|
|
6026
5546
|
*/
|
|
6027
5547
|
copyFrom(settings: any): void;
|
|
6028
|
-
/**
|
|
6029
|
-
* Sets the number of timelines displayed in the view.
|
|
6030
|
-
* @param {Number} value The number of timelines displayed in the view.
|
|
6031
|
-
* @remarks The number of timelines can be between 0 and 3.
|
|
6032
|
-
*/
|
|
6033
5548
|
set timelines(arg: number);
|
|
6034
5549
|
/**
|
|
6035
|
-
* Gets the number of timelines displayed in the view.
|
|
6036
|
-
* @
|
|
5550
|
+
* Gets or sets the number of timelines displayed in the view.
|
|
5551
|
+
* @type {Number}
|
|
5552
|
+
* @summary The number of timelines displayed in the view.
|
|
6037
5553
|
*/
|
|
6038
5554
|
get timelines(): number;
|
|
6039
|
-
/**
|
|
6040
|
-
* Sets the number of cells visible at the same time.
|
|
6041
|
-
* @param {Number} value The number of cells visible at the same time.
|
|
6042
|
-
*/
|
|
6043
5555
|
set visibleCells(arg: number);
|
|
6044
5556
|
/**
|
|
6045
|
-
* Gets the number of cells visible at the same time.
|
|
6046
|
-
* @
|
|
5557
|
+
* Gets or sets the number of cells visible at the same time.
|
|
5558
|
+
* @type {Number}
|
|
5559
|
+
* @summary The number of cells visible at the same time.
|
|
6047
5560
|
*/
|
|
6048
5561
|
get visibleCells(): number;
|
|
6049
5562
|
/**
|
|
@@ -6053,19 +5566,22 @@ declare module "Scheduling/jsplanner/src/ResourceViewSettings" {
|
|
|
6053
5566
|
private onPropertyChanged;
|
|
6054
5567
|
/**
|
|
6055
5568
|
* Gets the settings for the top timeline.
|
|
6056
|
-
* @
|
|
5569
|
+
* @type {TimelineSettings}
|
|
5570
|
+
* @summary The settings for the top timeline.
|
|
6057
5571
|
*/
|
|
6058
5572
|
get topTimelineSettings(): TimelineSettings;
|
|
6059
5573
|
_topTimelineSettings: TimelineSettings;
|
|
6060
5574
|
/**
|
|
6061
5575
|
* Gets the settings for the middle timeline.
|
|
6062
|
-
* @
|
|
5576
|
+
* @type {TimelineSettings}
|
|
5577
|
+
* @summary The settings for the middle timeline.
|
|
6063
5578
|
*/
|
|
6064
5579
|
get middleTimelineSettings(): TimelineSettings;
|
|
6065
5580
|
_middleTimelineSettings: TimelineSettings;
|
|
6066
5581
|
/**
|
|
6067
5582
|
* Gets the settings for the bottom timeline.
|
|
6068
|
-
* @
|
|
5583
|
+
* @type {TimelineSettings}
|
|
5584
|
+
* @summary The settings for the bottom timeline.
|
|
6069
5585
|
*/
|
|
6070
5586
|
get bottomTimelineSettings(): TimelineSettings;
|
|
6071
5587
|
_bottomTimelineSettings: TimelineSettings;
|
|
@@ -6076,15 +5592,6 @@ declare module "Scheduling/jsplanner/src/ResourceViewSettings" {
|
|
|
6076
5592
|
declare module "Scheduling/jsplanner/src/ItemSettings" {
|
|
6077
5593
|
/**
|
|
6078
5594
|
* @class Defines properties that enable appearance customization of schedule items in the calendar views.
|
|
6079
|
-
* @property {String} cssClass Gets or sets the default CSS class for all appointments whose CSS is not explicitly specified.
|
|
6080
|
-
* @property {Number} size Gets or sets the size of schedule items drawn in the calendar.
|
|
6081
|
-
* @property {Number} spacing Gets or sets the amount of space between adjacent items.
|
|
6082
|
-
* @property {Boolean} showItems Gets or sets a value indicating whether to display schedule items.
|
|
6083
|
-
* @property {Boolean} showContinuationArrows Gets or sets a value indicating whether to display small arrows at the beginning or at the end of each incomplete segment to
|
|
6084
|
-
* indicate that the schedule item continues in an adjacent calendar cell.
|
|
6085
|
-
* @property {Boolean} showCues Gets or sets a value indicating whether to display a 'more items' link in a calendar cell which isn't big enough to contain all of its items.
|
|
6086
|
-
* @property {String} tooltipFormat Gets or sets a value indicating how to format and display item tooltips.
|
|
6087
|
-
* @property {String} titleFormat Gets or sets a value indicating how to format and display item titles.
|
|
6088
5595
|
*/
|
|
6089
5596
|
export class ItemSettings {
|
|
6090
5597
|
constructor(calendar: any);
|
|
@@ -6103,96 +5610,66 @@ declare module "Scheduling/jsplanner/src/ItemSettings" {
|
|
|
6103
5610
|
* @param {Object} settings An object containing property values.
|
|
6104
5611
|
*/
|
|
6105
5612
|
copyFrom(settings: any): void;
|
|
6106
|
-
/**
|
|
6107
|
-
* Sets the default CSS class for all appointments whose CSS is not explicitly specified.
|
|
6108
|
-
* @param {String} value The CSS class.
|
|
6109
|
-
*/
|
|
6110
5613
|
set cssClass(arg: string);
|
|
6111
5614
|
/**
|
|
6112
|
-
* Gets
|
|
6113
|
-
* @
|
|
5615
|
+
* Gets or sets the appointments' default css class.
|
|
5616
|
+
* @type {String}
|
|
5617
|
+
* @summary The CSS class.
|
|
6114
5618
|
*/
|
|
6115
5619
|
get cssClass(): string;
|
|
6116
|
-
/**
|
|
6117
|
-
* Sets the size of schedule items drawn in the calendar.
|
|
6118
|
-
* @param {Number} value The size in pixels.
|
|
6119
|
-
* @remarks The size of an item is its height when the items are positioned horizontally or its width when positioned vertically.
|
|
6120
|
-
*/
|
|
6121
5620
|
set size(arg: number);
|
|
6122
5621
|
/**
|
|
6123
|
-
* Gets the size of schedule items drawn in the calendar.
|
|
6124
|
-
* @
|
|
5622
|
+
* Gets or sets the size of schedule items drawn in the calendar.
|
|
5623
|
+
* @type {Number}
|
|
5624
|
+
* @summary The size in pixels.
|
|
6125
5625
|
* @remarks The size of an item is its height when the items are positioned horizontally or its width when positioned vertically.
|
|
6126
5626
|
*/
|
|
6127
5627
|
get size(): number;
|
|
6128
|
-
/**
|
|
6129
|
-
* Sets the amount of space between adjacent items.
|
|
6130
|
-
* @param {Number} value The amount of space between adjacent items in pixels.
|
|
6131
|
-
*/
|
|
6132
5628
|
set spacing(arg: number);
|
|
6133
5629
|
/**
|
|
6134
|
-
* Gets the amount of space between adjacent items.
|
|
6135
|
-
* @
|
|
5630
|
+
* Gets or sets the amount of space between adjacent items.
|
|
5631
|
+
* @type {Number}
|
|
5632
|
+
* @sumary The amount of space between adjacent items in pixels.
|
|
6136
5633
|
*/
|
|
6137
5634
|
get spacing(): number;
|
|
6138
|
-
/**
|
|
6139
|
-
* Sets a value indicating whether to display schedule items in the calendar.
|
|
6140
|
-
* @param {Boolean} value True if items should be displayed, otherwise false.
|
|
6141
|
-
*/
|
|
6142
5635
|
set showItems(arg: boolean);
|
|
6143
5636
|
/**
|
|
6144
|
-
|
|
6145
|
-
|
|
5637
|
+
* Gets or sets a value indicating whether to display schedule items in the calendar.
|
|
5638
|
+
* @type {Boolean}
|
|
5639
|
+
* @summary True if items should be displayed, otherwise false.
|
|
6146
5640
|
*/
|
|
6147
5641
|
get showItems(): boolean;
|
|
6148
|
-
/**
|
|
6149
|
-
* Sets a value indicating whether to display small arrows
|
|
6150
|
-
* at the beginning or at the end of each incomplete segment to
|
|
6151
|
-
* indicate that the schedule item continues in an adjacent calendar
|
|
6152
|
-
* cell.
|
|
6153
|
-
* @param {Boolean} value True if arrows should be displayed, otherwise false.
|
|
6154
|
-
*/
|
|
6155
5642
|
set showContinuationArrows(arg: boolean);
|
|
6156
5643
|
/**
|
|
6157
|
-
* Gets a value indicating whether to display small arrows
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
* @
|
|
5644
|
+
* Gets or sets a value indicating whether to display small arrows
|
|
5645
|
+
* at the beginning or at the end of each incomplete segment to
|
|
5646
|
+
* indicate that the schedule item continues in an adjacent calendar
|
|
5647
|
+
* cell.
|
|
5648
|
+
* @type {Boolean}
|
|
5649
|
+
* @summary True if arrows should be displayed, otherwise false.
|
|
6162
5650
|
*/
|
|
6163
5651
|
get showContinuationArrows(): boolean;
|
|
6164
|
-
/**
|
|
6165
|
-
* Sets a value indicating whether to display a 'more items'
|
|
6166
|
-
* link in a calendar cell which isn't big enough to contain all of
|
|
6167
|
-
* its items.
|
|
6168
|
-
* @param {Boolean} value True if cues should be displayed, otherwise false.
|
|
6169
|
-
*/
|
|
6170
5652
|
set showCues(arg: boolean);
|
|
6171
5653
|
/**
|
|
6172
|
-
* Gets a value indicating whether to display a 'more items'
|
|
5654
|
+
* Gets or sets a value indicating whether to display a 'more items'
|
|
6173
5655
|
* link in a calendar cell which isn't big enough to contain all of
|
|
6174
5656
|
* its items.
|
|
6175
|
-
* @
|
|
5657
|
+
* @type {Boolean}
|
|
5658
|
+
* @summary True if cues should be displayed, otherwise false.
|
|
6176
5659
|
*/
|
|
6177
5660
|
get showCues(): boolean;
|
|
6178
|
-
/**
|
|
6179
|
-
* Sets a value indicating how to format and display item tooltips.
|
|
6180
|
-
* @param {String} value The format string.
|
|
6181
|
-
*/
|
|
6182
5661
|
set tooltipFormat(arg: string);
|
|
6183
5662
|
/**
|
|
6184
|
-
* Gets a value indicating how to format and display item tooltips.
|
|
6185
|
-
* @
|
|
5663
|
+
* Gets or sets a value indicating how to format and display item tooltips.
|
|
5664
|
+
* @type {String}
|
|
5665
|
+
* @summary The format string.
|
|
6186
5666
|
*/
|
|
6187
5667
|
get tooltipFormat(): string;
|
|
6188
|
-
/**
|
|
6189
|
-
* Sets a value indicating how to format and display item titles.
|
|
6190
|
-
* @param {String} value The format string.
|
|
6191
|
-
*/
|
|
6192
5668
|
set titleFormat(arg: string);
|
|
6193
5669
|
/**
|
|
6194
|
-
* Gets a value indicating how to format and display item titles.
|
|
6195
|
-
* @
|
|
5670
|
+
* Gets or sets a value indicating how to format and display item titles.
|
|
5671
|
+
* @type {String}
|
|
5672
|
+
* @summary The format string.
|
|
6196
5673
|
*/
|
|
6197
5674
|
get titleFormat(): string;
|
|
6198
5675
|
/**
|
|
@@ -6207,78 +5684,54 @@ declare module "Scheduling/jsplanner/src/Contact" {
|
|
|
6207
5684
|
/**
|
|
6208
5685
|
* @class Represents an object that holds contact data for a person.
|
|
6209
5686
|
* @augments Resource
|
|
6210
|
-
* @property {String} firstName Gets or sets the first name of the contact.
|
|
6211
|
-
* @property {String} middleName Gets or sets the middle name of the contact.
|
|
6212
|
-
* @property {String} lastName Gets or sets the last name of the contact.
|
|
6213
|
-
* @property {String} address Gets or sets the address of the contact.
|
|
6214
|
-
* @property {String} phone Gets or sets the phone of the contact.
|
|
6215
|
-
* @property {String} email Gets or sets the email of the contact.
|
|
6216
5687
|
*/
|
|
6217
5688
|
export class Contact extends Resource {
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
/** @private {string} */
|
|
6225
|
-
private _address;
|
|
6226
|
-
/** @private {string} */
|
|
6227
|
-
private _phone;
|
|
6228
|
-
/** @private {string} */
|
|
6229
|
-
private _email;
|
|
6230
|
-
/**
|
|
6231
|
-
* Sets the first name of the contact.
|
|
6232
|
-
* @param {String} value The new property value.
|
|
6233
|
-
*/
|
|
5689
|
+
_firstName: string;
|
|
5690
|
+
_middleName: string;
|
|
5691
|
+
_lastName: string;
|
|
5692
|
+
_address: string;
|
|
5693
|
+
_phone: string;
|
|
5694
|
+
_email: string;
|
|
6234
5695
|
set firstName(arg: string);
|
|
6235
5696
|
/**
|
|
6236
|
-
* Gets the first name of the contact.
|
|
5697
|
+
* Gets or sets the first name of the contact.
|
|
5698
|
+
* @type {String}
|
|
5699
|
+
* @summary The first name.
|
|
6237
5700
|
*/
|
|
6238
5701
|
get firstName(): string;
|
|
6239
|
-
/**
|
|
6240
|
-
* Sets the middle name of the contact.
|
|
6241
|
-
* @param {String} value The new property value.
|
|
6242
|
-
*/
|
|
6243
5702
|
set middleName(arg: string);
|
|
6244
5703
|
/**
|
|
6245
|
-
* Gets the middle name of the contact.
|
|
5704
|
+
* Gets or sets the middle name of the contact.
|
|
5705
|
+
* @type {String}
|
|
5706
|
+
* @summary The middle name.
|
|
6246
5707
|
*/
|
|
6247
5708
|
get middleName(): string;
|
|
6248
|
-
/**
|
|
6249
|
-
* Sets the last name of the contact.
|
|
6250
|
-
* @param {String} value The new property value.
|
|
6251
|
-
*/
|
|
6252
5709
|
set lastName(arg: string);
|
|
6253
5710
|
/**
|
|
6254
|
-
* Gets the last name of the contact.
|
|
5711
|
+
* Gets or sets the last name of the contact.
|
|
5712
|
+
* @type {String}
|
|
5713
|
+
* @summary The last name.
|
|
6255
5714
|
*/
|
|
6256
5715
|
get lastName(): string;
|
|
6257
|
-
/**
|
|
6258
|
-
* Sets the address of the contact.
|
|
6259
|
-
* @param {String} value The new property value.
|
|
6260
|
-
*/
|
|
6261
5716
|
set address(arg: string);
|
|
6262
5717
|
/**
|
|
6263
|
-
* Gets the address of the contact.
|
|
5718
|
+
* Gets or sets the address of the contact.
|
|
5719
|
+
* @type {String}
|
|
5720
|
+
* @summary The address.
|
|
6264
5721
|
*/
|
|
6265
5722
|
get address(): string;
|
|
6266
|
-
/**
|
|
6267
|
-
* Sets the phone of the contact.
|
|
6268
|
-
* @param {String} value The new property value.
|
|
6269
|
-
*/
|
|
6270
5723
|
set phone(arg: string);
|
|
6271
5724
|
/**
|
|
6272
|
-
* Gets the phone of the contact.
|
|
5725
|
+
* Gets or sets the phone of the contact.
|
|
5726
|
+
* @type {String}
|
|
5727
|
+
* @summary The phone.
|
|
6273
5728
|
*/
|
|
6274
5729
|
get phone(): string;
|
|
6275
|
-
/**
|
|
6276
|
-
* Sets the e-mail address of the contact.
|
|
6277
|
-
* @param {String} value The new property value.
|
|
6278
|
-
*/
|
|
6279
5730
|
set email(arg: string);
|
|
6280
5731
|
/**
|
|
6281
|
-
* Gets the e-mail
|
|
5732
|
+
* Gets or sets the e-mail of the contact.
|
|
5733
|
+
* @type {String}
|
|
5734
|
+
* @summary The e-mail.
|
|
6282
5735
|
*/
|
|
6283
5736
|
get email(): string;
|
|
6284
5737
|
}
|
|
@@ -6287,15 +5740,23 @@ declare module "Scheduling/jsplanner/src/Contact" {
|
|
|
6287
5740
|
declare module "Scheduling/jsplanner/src/XmlPersistContext" {
|
|
6288
5741
|
/**
|
|
6289
5742
|
* @class Provides methods that read/write schedule data to and from XML.
|
|
6290
|
-
* @property {Schedule} schedule Gets a reference to the Schedule object being serialized.
|
|
6291
|
-
* @property {Document} document Gets a reference to the Document object containing XML-serialized schedule contents.
|
|
6292
5743
|
*/
|
|
6293
5744
|
export class XmlPersistContext {
|
|
6294
5745
|
constructor(schedule: any, document: any);
|
|
6295
5746
|
_schedule: any;
|
|
6296
5747
|
_document: any;
|
|
6297
|
-
|
|
6298
|
-
|
|
5748
|
+
/**
|
|
5749
|
+
* Gets a reference to the Schedule object being serialized.
|
|
5750
|
+
* @type {Schedule}
|
|
5751
|
+
* @summary The schedule.
|
|
5752
|
+
*/
|
|
5753
|
+
get schedule(): Schedule;
|
|
5754
|
+
/**
|
|
5755
|
+
* Gets a reference to the Document object containing XML-serialized schedule contents.
|
|
5756
|
+
* @type {Document}
|
|
5757
|
+
* @summary The document.
|
|
5758
|
+
*/
|
|
5759
|
+
get document(): Document;
|
|
6299
5760
|
saveResource(resource: any, collectionElement: any, elementName: any): void;
|
|
6300
5761
|
loadResource(element: any): any;
|
|
6301
5762
|
instantiateResource(classId: any): any;
|
|
@@ -6306,7 +5767,6 @@ declare module "Scheduling/jsplanner/src/XmlPersistContext" {
|
|
|
6306
5767
|
innerText(element: any): any;
|
|
6307
5768
|
isEmpty(element: any): boolean;
|
|
6308
5769
|
hasValue(value: any): boolean;
|
|
6309
|
-
isFloat(number: any): boolean;
|
|
6310
5770
|
/**
|
|
6311
5771
|
* Adds a new child node with the specified name and value to the specified parent node.
|
|
6312
5772
|
* @param {String} elementName A string containing the name of new child element.
|
|
@@ -6428,6 +5888,7 @@ declare module "Scheduling/jsplanner/src/XmlPersistContext" {
|
|
|
6428
5888
|
*/
|
|
6429
5889
|
readRecurrence(elementName: string, parentElement: Element): Recurrence;
|
|
6430
5890
|
}
|
|
5891
|
+
import { Schedule } from "Scheduling/jsplanner/src/Schedule";
|
|
6431
5892
|
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
6432
5893
|
import { Reminder } from "Scheduling/jsplanner/src/Reminder";
|
|
6433
5894
|
import { Recurrence } from "Scheduling/jsplanner/src/Recurrence";
|
|
@@ -6435,12 +5896,16 @@ declare module "Scheduling/jsplanner/src/XmlPersistContext" {
|
|
|
6435
5896
|
declare module "Scheduling/jsplanner/src/JsonPersistContext" {
|
|
6436
5897
|
/**
|
|
6437
5898
|
* @class Provides methods that read/write schedule data to and from JSON.
|
|
6438
|
-
* @property {Schedule} schedule Gets a reference to the Schedule object being serialized.
|
|
6439
5899
|
*/
|
|
6440
5900
|
export class JsonPersistContext {
|
|
6441
5901
|
constructor(schedule: any);
|
|
6442
5902
|
_schedule: any;
|
|
6443
|
-
|
|
5903
|
+
/**
|
|
5904
|
+
* Gets a reference to the Schedule object being serialized.
|
|
5905
|
+
* @type {Schedule}
|
|
5906
|
+
* @summary The schedule.
|
|
5907
|
+
*/
|
|
5908
|
+
get schedule(): Schedule;
|
|
6444
5909
|
saveResource(resource: any): any;
|
|
6445
5910
|
loadResource(obj: any, defaultType: any): any;
|
|
6446
5911
|
instantiateResource(classId: any): any;
|
|
@@ -6458,6 +5923,7 @@ declare module "Scheduling/jsplanner/src/JsonPersistContext" {
|
|
|
6458
5923
|
*/
|
|
6459
5924
|
readDateTime(value: string): DateTime;
|
|
6460
5925
|
}
|
|
5926
|
+
import { Schedule } from "Scheduling/jsplanner/src/Schedule";
|
|
6461
5927
|
import { DateTime } from "Scheduling/jsplanner/src/DateTime";
|
|
6462
5928
|
}
|
|
6463
5929
|
declare module "Scheduling/jsplanner/src/Schedule" {
|
|
@@ -6465,11 +5931,6 @@ declare module "Scheduling/jsplanner/src/Schedule" {
|
|
|
6465
5931
|
* @class Represents a timetable of scheduled events. In the model-view architecture,
|
|
6466
5932
|
* Schedule instances are the documents whose data is displayed by Calendar
|
|
6467
5933
|
* instances, which are the views.
|
|
6468
|
-
* @property {ObservableCollection} items Gets the collection of items in this schedule.
|
|
6469
|
-
* @property {ObservableCollection} tasks Gets the collection of tasks in this schedule.
|
|
6470
|
-
* @property {ObservableCollection} contacts Gets the collection of contacts in this schedule.
|
|
6471
|
-
* @property {ObservableCollection} locations Gets the collection of locations in this schedule.
|
|
6472
|
-
* @property {ObservableCollection} resources Gets the collection of resources in this schedule.
|
|
6473
5934
|
*/
|
|
6474
5935
|
export class Schedule {
|
|
6475
5936
|
_items: ObservableCollection<any>;
|
|
@@ -6516,10 +5977,35 @@ declare module "Scheduling/jsplanner/src/Schedule" {
|
|
|
6516
5977
|
* @remarks The schedule resource collection (contacts, locations, tasks, resources) is determined automatically by the resource's id.
|
|
6517
5978
|
*/
|
|
6518
5979
|
getResourceById(id: string): Resource;
|
|
5980
|
+
/**
|
|
5981
|
+
* Gets the collection of items in this schedule.
|
|
5982
|
+
* @type {ObservableCollection}
|
|
5983
|
+
* @summary The collection of items.
|
|
5984
|
+
*/
|
|
6519
5985
|
get items(): ObservableCollection<any>;
|
|
5986
|
+
/**
|
|
5987
|
+
* Gets the collection of tasks in this schedule.
|
|
5988
|
+
* @type {ObservableCollection}
|
|
5989
|
+
* @summary The collection of tasks.
|
|
5990
|
+
*/
|
|
6520
5991
|
get tasks(): ObservableCollection<any>;
|
|
5992
|
+
/**
|
|
5993
|
+
* Gets the collection of contacts in this schedule.
|
|
5994
|
+
* @type {ObservableCollection}
|
|
5995
|
+
* @summary The collection of contacts.
|
|
5996
|
+
*/
|
|
6521
5997
|
get contacts(): ObservableCollection<any>;
|
|
5998
|
+
/**
|
|
5999
|
+
* Gets the collection of resources in this schedule.
|
|
6000
|
+
* @type {ObservableCollection}
|
|
6001
|
+
* @summary The collection of resources.
|
|
6002
|
+
*/
|
|
6522
6003
|
get resources(): ObservableCollection<any>;
|
|
6004
|
+
/**
|
|
6005
|
+
* Gets the collection of locations in this schedule.
|
|
6006
|
+
* @type {ObservableCollection}
|
|
6007
|
+
* @summary The collection of locations.
|
|
6008
|
+
*/
|
|
6523
6009
|
get locations(): ObservableCollection<any>;
|
|
6524
6010
|
/**
|
|
6525
6011
|
* Raises the itemsChanging event.
|
|
@@ -6620,30 +6106,22 @@ declare module "Scheduling/jsplanner/src/Schedule" {
|
|
|
6620
6106
|
declare module "Scheduling/jsplanner/src/Selection" {
|
|
6621
6107
|
/**
|
|
6622
6108
|
* @class Represents a selected date-time range.
|
|
6623
|
-
* @property {Boolean} enabled Gets or sets a value indicating whether users are allowed to select date cells.
|
|
6624
|
-
* @property {Boolean} allowMultiple Gets or sets a value indicating whether users are allowed to select more than one date cell at a time.
|
|
6625
6109
|
*/
|
|
6626
6110
|
export class Selection {
|
|
6627
6111
|
constructor(calendar: any);
|
|
6628
6112
|
calendar: any;
|
|
6629
|
-
/**
|
|
6630
|
-
* Sets a value indicating whether users are allowed to select date cells.
|
|
6631
|
-
* @param {Boolean} value true to enable selection, otherwise false.
|
|
6632
|
-
*/
|
|
6633
6113
|
set enabled(arg: boolean);
|
|
6634
6114
|
/**
|
|
6635
|
-
* Gets a value indicating whether users are allowed to select date cells.
|
|
6636
|
-
* @
|
|
6115
|
+
* Gets or sets a value indicating whether users are allowed to select date cells.
|
|
6116
|
+
* @type {Boolean}
|
|
6117
|
+
* @summary True if selection is enabled, otherwise false.
|
|
6637
6118
|
*/
|
|
6638
6119
|
get enabled(): boolean;
|
|
6639
|
-
/**
|
|
6640
|
-
* Sets a value indicating whether users are allowed to select more than one date cell at a time.
|
|
6641
|
-
* @param {Boolean} value true to enable multiple selection, otherwise false.
|
|
6642
|
-
*/
|
|
6643
6120
|
set allowMultiple(arg: boolean);
|
|
6644
6121
|
/**
|
|
6645
|
-
* Gets a value indicating whether users are allowed to select more than one date cell at a time.
|
|
6646
|
-
* @
|
|
6122
|
+
* Gets or sets a value indicating whether users are allowed to select more than one date cell at a time.
|
|
6123
|
+
* @type {Boolean}
|
|
6124
|
+
* @summary True if multiple selection is enabled, otherwise false.
|
|
6647
6125
|
*/
|
|
6648
6126
|
get allowMultiple(): boolean;
|
|
6649
6127
|
ranges: any[];
|
|
@@ -7275,37 +6753,6 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
7275
6753
|
* related views, such as Month, List, Timetable, that
|
|
7276
6754
|
* present the scheduled events in different styles and layouts.
|
|
7277
6755
|
* @augments UIControl
|
|
7278
|
-
* @property {HTMLElement} header Gets a reference to the DOM element of the calendar main header.
|
|
7279
|
-
* @property {ObservableCollection} cells Gets the collection of cells in the calendar view.
|
|
7280
|
-
* @property {DateTime} date Gets or sets the date of the calendar.
|
|
7281
|
-
* @property {DateTime} endDate Gets or sets the end date of the calendar.
|
|
7282
|
-
* @property {DateTime} startTime Gets the start time of the first calendar cell.
|
|
7283
|
-
* @property {DateTime} endTime Gets the end time of the last calendar cell.
|
|
7284
|
-
* @property {DateTime} itemsStartTime Gets the start time of the first calendar cell, that can contain items.
|
|
7285
|
-
* @property {DateTime} itemsEndTime Gets the end time of the last calendar cell, that can contain items.
|
|
7286
|
-
* @property {ObservableCollection} tasks Gets the tasks whose schedule to display when the GroupType property is set to GroupByTasks or FilterByTasks.
|
|
7287
|
-
* @property {ObservableCollection} contacts Gets the contacts whose schedule to display when the GroupType property is set to GroupByContacts or FilterByContacts.
|
|
7288
|
-
* @property {ObservableCollection} resources Gets the resources whose schedule to display when the GroupType property is set to GroupByResources or FilterByResources.
|
|
7289
|
-
* @property {ObservableCollection} locations Gets the locations whose schedule to display when the GroupType property is set to GroupByLocations or FilterByLocations.
|
|
7290
|
-
* @property {CalendarView} currentView Gets or sets the type of the current view of the calendar.
|
|
7291
|
-
* @property {GroupType} groupType Gets or sets the grouping or filtering criteria for the calendar.
|
|
7292
|
-
* @property {Boolean} allowInplaceEdit Gets or sets a value indicating whether calendar's items can be inplace-edited.
|
|
7293
|
-
* @property {Boolean} useForms Gets or sets a value indicating whether the built-in forms for item editing will be used.
|
|
7294
|
-
* @property {Boolean} showTooltips Gets or sets a value indicating whether to show tooltips.
|
|
7295
|
-
* @property {String} contactNameFormat Gets or sets a value indicating how to format and display contact names in view headers.
|
|
7296
|
-
* @property {Schedule} schedule Gets or sets the schedule to be displayed inside the calendar.
|
|
7297
|
-
* @property {Selection} selection Gets the current calendar selection.
|
|
7298
|
-
* @property {ObservableCollection} itemSelection Gets the list of currently selected items.
|
|
7299
|
-
* @property {MonthSettings} monthSettings Gets the MonthSettings object used to customize the appearance of the SingleMonth view.
|
|
7300
|
-
* @property {TimetableSettings} timetableSettings Gets the TimetableSettings object used to customize the appearance of the Timetable view.
|
|
7301
|
-
* @property {ListSettings} listSettings Gets the ListSettings object used to customize the appearance of the List view.
|
|
7302
|
-
* @property {WeekRangeSettings} weekRangeSettings Gets the WeekRangeSettings object used to customize the appearance of the WeekRange view.
|
|
7303
|
-
* @property {ResourceViewSettings} resourceViewSettings Gets the ResourceViewSettings object used to customize the appearance of the Resource view.
|
|
7304
|
-
* @property {MonthRangeSettings} monthRangeSettings Gets the MonthRangeSettings object used to customize the appearance of the MonthRange view.
|
|
7305
|
-
* @property {ItemSettings} itemSettings Gets the ItemSettings object used to customize the appearance of calendar items.
|
|
7306
|
-
* @property {Object} locale Gets or sets the locale object used to format and display localizable information in the calendar.
|
|
7307
|
-
* @property {Object} formatInfo Gets the locale object used to format and display date and time information in the calendar.
|
|
7308
|
-
* @property {Object} localInfo Gets the locale object used to format and display localizable strings in the calendar.
|
|
7309
6756
|
*/
|
|
7310
6757
|
export class Calendar extends UIControl {
|
|
7311
6758
|
static set autoRepaint(arg: boolean);
|
|
@@ -7333,14 +6780,11 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
7333
6780
|
_itemChangeResourceKey: number;
|
|
7334
6781
|
_contactNameFormat: string;
|
|
7335
6782
|
_scheduleChangedHandler: (e: any) => void;
|
|
7336
|
-
/**
|
|
7337
|
-
* Sets the schedule to be displayed inside the calendar.
|
|
7338
|
-
* @param {Schedule} value The schedule.
|
|
7339
|
-
*/
|
|
7340
6783
|
set schedule(arg: Schedule);
|
|
7341
6784
|
/**
|
|
7342
|
-
* Gets the schedule to be displayed inside the calendar.
|
|
7343
|
-
* @
|
|
6785
|
+
* Gets or sets the schedule to be displayed inside the calendar.
|
|
6786
|
+
* @type {Schedule}
|
|
6787
|
+
* @summary The schedule.
|
|
7344
6788
|
*/
|
|
7345
6789
|
get schedule(): Schedule;
|
|
7346
6790
|
_selection: Selection;
|
|
@@ -7380,108 +6824,83 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
7380
6824
|
* @param {Object} settings An object containing property values.
|
|
7381
6825
|
*/
|
|
7382
6826
|
copyFrom(settings: any): void;
|
|
7383
|
-
/**
|
|
7384
|
-
* Sets the date of the calendar.
|
|
7385
|
-
* @param {DateTime} value The date of the calendar.
|
|
7386
|
-
*/
|
|
7387
6827
|
set date(arg: DateTime);
|
|
7388
6828
|
/**
|
|
7389
|
-
* Gets the date of the calendar.
|
|
7390
|
-
* @
|
|
6829
|
+
* Gets or sets the date of the calendar.
|
|
6830
|
+
* @type {DateTime}
|
|
6831
|
+
* @summary The date of the calendar.
|
|
7391
6832
|
*/
|
|
7392
6833
|
get date(): DateTime;
|
|
7393
|
-
/**
|
|
7394
|
-
* Sets the end date of the calendar.
|
|
7395
|
-
* @param {DateTime} value The end date of the calendar.
|
|
7396
|
-
*/
|
|
7397
6834
|
set endDate(arg: DateTime);
|
|
7398
6835
|
/**
|
|
7399
|
-
* Gets the end date of the calendar.
|
|
7400
|
-
* @
|
|
6836
|
+
* Gets or sets the end date of the calendar.
|
|
6837
|
+
* @type {DateTime}
|
|
6838
|
+
* @summary The end date of the calendar.
|
|
7401
6839
|
*/
|
|
7402
6840
|
get endDate(): DateTime;
|
|
7403
|
-
/**
|
|
7404
|
-
* Sets the type of the current view of the calendar.
|
|
7405
|
-
* @param {CalendarView} value The type of the current view.
|
|
7406
|
-
*/
|
|
7407
6841
|
set currentView(arg: number);
|
|
7408
6842
|
/**
|
|
7409
|
-
* Gets the type of the current view of the calendar.
|
|
7410
|
-
* @
|
|
6843
|
+
* Gets or sets the type of the current view of the calendar.
|
|
6844
|
+
* @type {CalendarView}
|
|
6845
|
+
* @summary The type of the current view.
|
|
7411
6846
|
*/
|
|
7412
6847
|
get currentView(): number;
|
|
7413
|
-
/**
|
|
7414
|
-
* Sets the grouping or filtering criteria for the calendar.
|
|
7415
|
-
* @param {GroupType} value The grouping criteria.
|
|
7416
|
-
*/
|
|
7417
6848
|
set groupType(arg: number);
|
|
7418
6849
|
/**
|
|
7419
|
-
* Gets the grouping or filtering criteria for the calendar.
|
|
7420
|
-
* @
|
|
6850
|
+
* Gets or sets the grouping or filtering criteria for the calendar.
|
|
6851
|
+
* @type {GroupType}
|
|
6852
|
+
* @summary The grouping criteria.
|
|
7421
6853
|
*/
|
|
7422
6854
|
get groupType(): number;
|
|
7423
|
-
/**
|
|
7424
|
-
* Sets a value indicating whether calendar's items can be inplace-edited.
|
|
7425
|
-
* @param {Boolean} value True if the calendar's items can be inplace-edited, otherwise false.
|
|
7426
|
-
*/
|
|
7427
6855
|
set allowInplaceEdit(arg: boolean);
|
|
7428
6856
|
/**
|
|
7429
|
-
* Gets a value indicating whether calendar's items can be inplace-edited.
|
|
7430
|
-
* @
|
|
6857
|
+
* Gets or sets a value indicating whether calendar's items can be inplace-edited.
|
|
6858
|
+
* @type {Boolean}
|
|
6859
|
+
* @summary True if the calendar's items can be inplace-edited, otherwise false.
|
|
7431
6860
|
*/
|
|
7432
6861
|
get allowInplaceEdit(): boolean;
|
|
7433
|
-
/**
|
|
7434
|
-
* Sets a value indicating whether the built-in forms for item editing will be used.
|
|
7435
|
-
* @param {Boolean} value True if the built-in forms will be used, otherwise false.
|
|
7436
|
-
*/
|
|
7437
6862
|
set useForms(arg: boolean);
|
|
7438
6863
|
/**
|
|
7439
|
-
* Gets a value indicating whether the built-in forms for item editing will be used.
|
|
7440
|
-
* @
|
|
6864
|
+
* Gets or sets a value indicating whether the built-in forms for item editing will be used.
|
|
6865
|
+
* @type {Boolean}
|
|
6866
|
+
* @summary True if the built-in forms will be used, otherwise false.
|
|
7441
6867
|
*/
|
|
7442
6868
|
get useForms(): boolean;
|
|
7443
|
-
/**
|
|
7444
|
-
* Sets a value indicating whether to show tooltips.
|
|
7445
|
-
* @param {Boolean} value True to show tooltips, otherwise false.
|
|
7446
|
-
*/
|
|
7447
6869
|
set showTooltips(arg: boolean);
|
|
7448
6870
|
/**
|
|
7449
|
-
* Gets a value indicating whether to show tooltips.
|
|
7450
|
-
* @
|
|
6871
|
+
* Gets or sets a value indicating whether to show tooltips.
|
|
6872
|
+
* @type {Boolean}
|
|
6873
|
+
* @summary True to show tooltips, otherwise false.
|
|
7451
6874
|
*/
|
|
7452
6875
|
get showTooltips(): boolean;
|
|
7453
|
-
/**
|
|
7454
|
-
* Sets a value indicating how to format and display contact names in view headers.
|
|
7455
|
-
* @param {String} value The format string.
|
|
7456
|
-
* @remarks Use the capital letters F, M and L as placeholders for the
|
|
7457
|
-
* First, Middle and Last names. Any other character will be displayed unchanged.
|
|
7458
|
-
*/
|
|
7459
6876
|
set contactNameFormat(arg: string);
|
|
7460
6877
|
/**
|
|
7461
|
-
* Gets a value indicating how to format and display contact names in view headers.
|
|
7462
|
-
* @
|
|
6878
|
+
* Gets or sets a value indicating how to format and display contact names in view headers.
|
|
6879
|
+
* @type {String}
|
|
6880
|
+
* @summary The format string.
|
|
7463
6881
|
* @remarks Capital letters F, M and L are used as placeholders for the
|
|
7464
6882
|
* First, Middle and Last names. Any other character are displayed unchanged.
|
|
7465
6883
|
*/
|
|
7466
6884
|
get contactNameFormat(): string;
|
|
7467
|
-
/**
|
|
7468
|
-
* Sets the locale object used to format and display localizable information in the calendar.
|
|
7469
|
-
* @param {Locale} value The locale.
|
|
7470
|
-
*/
|
|
7471
6885
|
set locale(arg: Locale);
|
|
7472
6886
|
/**
|
|
7473
|
-
* Gets the locale object used to format and display localizable information in the calendar.
|
|
7474
|
-
* @
|
|
6887
|
+
* Gets or sets the locale object used to format and display localizable information in the calendar.
|
|
6888
|
+
* @type {Locale}
|
|
6889
|
+
* @summary The locale.
|
|
7475
6890
|
*/
|
|
7476
6891
|
get locale(): Locale;
|
|
7477
6892
|
/**
|
|
7478
6893
|
* Returns a reference to the DOM element of the calendar main header.
|
|
6894
|
+
* @type {HTMLDivElement}
|
|
6895
|
+
* @summary A reference to the DOM element of the calendar main header.
|
|
7479
6896
|
*/
|
|
7480
|
-
get header():
|
|
6897
|
+
get header(): HTMLDivElement;
|
|
7481
6898
|
/**
|
|
7482
6899
|
* Gets the collection of cells in the calendar view.
|
|
6900
|
+
* @type {ObservableCollection}
|
|
6901
|
+
* @summary The collection of cells in the calendar view.
|
|
7483
6902
|
*/
|
|
7484
|
-
get cells():
|
|
6903
|
+
get cells(): ObservableCollection<any>;
|
|
7485
6904
|
selectManager: SelectManager;
|
|
7486
6905
|
keyUpHandler: (e: any) => void;
|
|
7487
6906
|
resizeHandler: (e: any) => void;
|
|
@@ -7577,7 +6996,8 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
7577
6996
|
* Gets the actual group type. This is the same as GroupType unless
|
|
7578
6997
|
* the corresponding resource collection is empty, in which case it
|
|
7579
6998
|
* returns GroupType.None.
|
|
7580
|
-
* @
|
|
6999
|
+
* @type {GroupType}
|
|
7000
|
+
* @summary The actual group type.
|
|
7581
7001
|
*/
|
|
7582
7002
|
get realGroupType(): number;
|
|
7583
7003
|
/**
|
|
@@ -7924,109 +7344,118 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
7924
7344
|
get cueClick(): EventDispatcher<any>;
|
|
7925
7345
|
_endDate: DateTime;
|
|
7926
7346
|
/**
|
|
7927
|
-
* Gets the start time of the first calendar cell.
|
|
7928
|
-
* @
|
|
7347
|
+
* Gets or sets the start time of the first calendar cell.
|
|
7348
|
+
* @type {DateTime}
|
|
7349
|
+
* @summary The start time of the first calendar cell.
|
|
7929
7350
|
*/
|
|
7930
7351
|
get startTime(): DateTime;
|
|
7352
|
+
get endTime(): any;
|
|
7931
7353
|
/**
|
|
7932
|
-
* Gets the
|
|
7933
|
-
* @
|
|
7934
|
-
|
|
7935
|
-
get endTime(): DateTime;
|
|
7936
|
-
/**
|
|
7937
|
-
* Gets the start time of the first calendar cell, that can contain items.
|
|
7938
|
-
* @returns {DateTime} The start time of the first calendar cell, that can contain items.
|
|
7354
|
+
* Gets or sets the start time of the first calendar cell, that can contain items.
|
|
7355
|
+
* @type {DateTime}
|
|
7356
|
+
* @summary The start time of the first calendar cell, that can contain items.
|
|
7939
7357
|
*/
|
|
7940
7358
|
get itemsStartTime(): DateTime;
|
|
7941
|
-
|
|
7942
|
-
* Gets the end time of the last calendar cell, that can contain items.
|
|
7943
|
-
* @returns {DateTime} The end time of the last calendar cell, that can contain items.
|
|
7944
|
-
*/
|
|
7945
|
-
get itemsEndTime(): DateTime;
|
|
7359
|
+
get itemsEndTime(): any;
|
|
7946
7360
|
/**
|
|
7947
7361
|
* Gets the tasks whose schedule to display when the GroupType property is set to GroupByTasks or FilterByTasks.
|
|
7948
|
-
* @
|
|
7362
|
+
* @type {ObservableCollection}
|
|
7363
|
+
* @summary The tasks.
|
|
7949
7364
|
*/
|
|
7950
7365
|
get tasks(): ObservableCollection<any>;
|
|
7951
7366
|
/**
|
|
7952
7367
|
* Gets the contacts whose schedule to display when the GroupType property is set to GroupByContacts or FilterByContacts.
|
|
7953
|
-
* @
|
|
7368
|
+
* @type {ObservableCollection}
|
|
7369
|
+
* @summary The contacts.
|
|
7954
7370
|
*/
|
|
7955
7371
|
get contacts(): ObservableCollection<any>;
|
|
7956
7372
|
/**
|
|
7957
7373
|
* Gets the resources whose schedule to display when the GroupType property is set to GroupByResources or FilterByResources.
|
|
7958
|
-
* @
|
|
7374
|
+
* @type {ObservableCollection}
|
|
7375
|
+
* @summary The resources.
|
|
7959
7376
|
*/
|
|
7960
7377
|
get resources(): ObservableCollection<any>;
|
|
7961
7378
|
/**
|
|
7962
7379
|
* Gets the locations whose schedule to display when the GroupType property is set to GroupByLocations or FilterByLocations.
|
|
7963
|
-
* @
|
|
7380
|
+
* @type {ObservableCollection}
|
|
7381
|
+
* @summary The locations.
|
|
7964
7382
|
*/
|
|
7965
7383
|
get locations(): ObservableCollection<any>;
|
|
7966
7384
|
_groupType: number;
|
|
7967
7385
|
_schedule: Schedule;
|
|
7968
7386
|
/**
|
|
7969
7387
|
* Gets the current calendar date-time selection.
|
|
7970
|
-
* @
|
|
7388
|
+
* @type {Selection}
|
|
7389
|
+
* @summary An instance of the Selection class.
|
|
7971
7390
|
*/
|
|
7972
7391
|
get selection(): Selection;
|
|
7973
7392
|
/**
|
|
7974
7393
|
* Gets the current item selection.
|
|
7975
|
-
* @
|
|
7394
|
+
* @type {ObservableCollection}
|
|
7395
|
+
* @summary The list of currently selected items.
|
|
7976
7396
|
*/
|
|
7977
7397
|
get itemSelection(): ObservableCollection<any>;
|
|
7978
7398
|
get popups(): Map<any, any>;
|
|
7979
7399
|
/**
|
|
7980
7400
|
* Gets the MonthSettings object used to customize the appearance of the SingleMonth view.
|
|
7981
|
-
* @
|
|
7401
|
+
* @type {MonthSettings}
|
|
7402
|
+
* @summary The settings.
|
|
7982
7403
|
*/
|
|
7983
7404
|
get monthSettings(): MonthSettings;
|
|
7984
7405
|
_monthSettings: MonthSettings;
|
|
7985
7406
|
/**
|
|
7986
7407
|
* Gets the TimetableSettings object used to customize the appearance of the Timetable view.
|
|
7987
|
-
* @
|
|
7408
|
+
* @type {TimetableSettings}
|
|
7409
|
+
* @summary The settings.
|
|
7988
7410
|
*/
|
|
7989
7411
|
get timetableSettings(): TimetableSettings;
|
|
7990
7412
|
_timetableSettings: TimetableSettings;
|
|
7991
7413
|
/**
|
|
7992
7414
|
* Gets the ListSettings object used to customize the appearance of the List view.
|
|
7993
|
-
* @
|
|
7415
|
+
* @type {ListSettings}
|
|
7416
|
+
* @summary The settings.
|
|
7994
7417
|
*/
|
|
7995
7418
|
get listSettings(): ListSettings;
|
|
7996
7419
|
_listSettings: ListSettings;
|
|
7997
7420
|
/**
|
|
7998
7421
|
* Gets the WeekRangeSettings object used to customize the appearance of the WeekRange view
|
|
7999
|
-
* @
|
|
7422
|
+
* @type {WeekRangeSettings}
|
|
7423
|
+
* @summary The settings.
|
|
8000
7424
|
*/
|
|
8001
7425
|
get weekRangeSettings(): WeekRangeSettings;
|
|
8002
7426
|
_weekRangeSettings: WeekRangeSettings;
|
|
8003
7427
|
/**
|
|
8004
7428
|
* Gets the ResourceViewSettings object used to customize the appearance of the Resource view
|
|
8005
|
-
* @
|
|
7429
|
+
* @type {ResourceViewSettings}
|
|
7430
|
+
* @summary The settings.
|
|
8006
7431
|
*/
|
|
8007
7432
|
get resourceViewSettings(): ResourceViewSettings;
|
|
8008
7433
|
_resourceViewSettings: ResourceViewSettings;
|
|
8009
7434
|
/**
|
|
8010
7435
|
* Gets the MonthRangeSettings object used to customize the appearance of the MonthRange view
|
|
8011
|
-
* @
|
|
7436
|
+
* @type {MonthRangeSettings}
|
|
7437
|
+
* @summary The settings.
|
|
8012
7438
|
*/
|
|
8013
7439
|
get monthRangeSettings(): MonthRangeSettings;
|
|
8014
7440
|
_monthRangeSettings: MonthRangeSettings;
|
|
8015
7441
|
/**
|
|
8016
7442
|
* Gets the ItemSettings object used to customize the appearance of calendar items.
|
|
8017
|
-
* @
|
|
7443
|
+
* @type {ItemSettings}
|
|
7444
|
+
* @summary The settings.
|
|
8018
7445
|
*/
|
|
8019
7446
|
get itemSettings(): ItemSettings;
|
|
8020
7447
|
_itemSettings: ItemSettings;
|
|
8021
7448
|
_locale: Locale;
|
|
8022
7449
|
/**
|
|
8023
7450
|
* Gets the locale object used to format and display date and time information in the calendar.
|
|
8024
|
-
* @
|
|
7451
|
+
* @type {DateSettings}
|
|
7452
|
+
* @summary The format info object.
|
|
8025
7453
|
*/
|
|
8026
|
-
get formatInfo():
|
|
7454
|
+
get formatInfo(): DateSettings;
|
|
8027
7455
|
/**
|
|
8028
7456
|
* Gets the locale object used to format and display localizable strings in the calendar.
|
|
8029
|
-
* @
|
|
7457
|
+
* @type {LocalStrings}
|
|
7458
|
+
* @summary The dictionary of localizable strings.
|
|
8030
7459
|
*/
|
|
8031
7460
|
get localInfo(): LocalStrings;
|
|
8032
7461
|
/**
|
|
@@ -8190,6 +7619,7 @@ declare module "Scheduling/jsplanner/src/Calendar" {
|
|
|
8190
7619
|
import { ResourceViewSettings } from "Scheduling/jsplanner/src/ResourceViewSettings";
|
|
8191
7620
|
import { MonthRangeSettings } from "Scheduling/jsplanner/src/MonthRangeSettings";
|
|
8192
7621
|
import { ItemSettings } from "Scheduling/jsplanner/src/ItemSettings";
|
|
7622
|
+
import { DateSettings } from "@mindfusion/common";
|
|
8193
7623
|
import { LocalStrings } from "Scheduling/jsplanner/src/LocalStrings";
|
|
8194
7624
|
import Timer from "Scheduling/jsplanner/src/Timer";
|
|
8195
7625
|
import { Resource } from "Scheduling/jsplanner/src/Resource";
|