@mindfusion/scheduling 2.2.1 → 2.3.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/scheduling.d.ts CHANGED
@@ -941,7 +941,7 @@ declare module "Scheduling/jsplanner/src/DateTime" {
941
941
  */
942
942
  static get TicksPerDay(): number;
943
943
  /**
944
- * Formats a Date instance by the specified format string.
944
+ * Formats a Date instance by the specified Intl options.
945
945
  * @private
946
946
  */
947
947
  private static formatDate;
@@ -1558,7 +1558,7 @@ declare module "Scheduling/jsplanner/src/TimeRange" {
1558
1558
  * This source code is provided to you as part of the MindFusion software components
1559
1559
  * package you have purchased. You may use the source code to trace and/or fix
1560
1560
  * problems or customize the library as needed for your application. To get permission
1561
- * to use the source code in any other way, please contact us at support@mindfusion.dev.
1561
+ * to use the source code in any other way, please contact us at support@mindfusion.eu.
1562
1562
  */
1563
1563
  /**
1564
1564
  * @class Represents a date-time range.
@@ -1681,13 +1681,14 @@ declare module "Scheduling/jsplanner/src/Forms/Controls" {
1681
1681
  value: any;
1682
1682
  isOpen: boolean;
1683
1683
  theme: any;
1684
- oldValue: any;
1685
1684
  width: any;
1686
1685
  cssClass: string;
1687
1686
  parentElement: any;
1688
1687
  visible: any;
1689
1688
  formatInfo: any;
1690
1689
  localInfo: any;
1690
+ timeFormatString: any;
1691
+ dateFormatString: any;
1691
1692
  timeFormat: any;
1692
1693
  dateFormat: any;
1693
1694
  _textBox: HTMLInputElement;
@@ -1702,7 +1703,6 @@ declare module "Scheduling/jsplanner/src/Forms/Controls" {
1702
1703
  element: HTMLDivElement;
1703
1704
  drawControl(): HTMLDivElement;
1704
1705
  _onKeyUp(e: any): boolean;
1705
- _onKeyDown(e: any): boolean;
1706
1706
  showDateView(): void;
1707
1707
  dropDown: any;
1708
1708
  showTimeView(): void;
@@ -1718,7 +1718,7 @@ declare module "Scheduling/jsplanner/src/Forms/Controls" {
1718
1718
  onBlur(e: any): boolean;
1719
1719
  _onTextBoxMouseDown(e: any): void;
1720
1720
  _onTextBoxFocus(e: any): void;
1721
- _onTextBoxBlur(e: any): void;
1721
+ oldValue: any;
1722
1722
  _onTextBoxChanged(e: any): void;
1723
1723
  _onButtonMouseDown(e: any): void;
1724
1724
  buttonClicked: boolean;
@@ -2088,13 +2088,16 @@ declare module "Scheduling/jsplanner/src/Forms/BaseForm" {
2088
2088
  }
2089
2089
  declare module "Scheduling/jsplanner/src/RecurrenceException" {
2090
2090
  export default RecurrenceException;
2091
+ /**
2092
+ * @namespace MindFusion.Scheduling
2093
+ */
2091
2094
  /**
2092
2095
  * Copyright (c) 2017-2025, MindFusion LLC - Bulgaria.
2093
2096
  *
2094
2097
  * This source code is provided to you as part of the MindFusion software components
2095
2098
  * package you have purchased. You may use the source code to trace and/or fix
2096
2099
  * problems or customize the library as needed for your application. To get permission
2097
- * to use the source code in any other way, please contact us at support@mindfusion.dev.
2100
+ * to use the source code in any other way, please contact us at support@mindfusion.eu.
2098
2101
  */
2099
2102
  /**
2100
2103
  *
@@ -3724,7 +3727,7 @@ declare module "Scheduling/jsplanner/src/ViewCell" {
3724
3727
  * This source code is provided to you as part of the MindFusion software components
3725
3728
  * package you have purchased. You may use the source code to trace and/or fix
3726
3729
  * problems or customize the library as needed for your application. To get permission
3727
- * to use the source code in any other way, please contact us at support@mindfusion.dev.
3730
+ * to use the source code in any other way, please contact us at support@mindfusion.eu.
3728
3731
  */
3729
3732
  /**
3730
3733
  * @class Encapsulates data for a datetime cell in a calendar view.
@@ -4868,15 +4871,25 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4868
4871
  _weekHeaderStyle: number;
4869
4872
  _dayNamesHeaderStyle: number;
4870
4873
  _dayOfWeekFormat: number;
4871
- _titleFormat: string;
4874
+ _titleFormat: {
4875
+ month: string;
4876
+ year: string;
4877
+ };
4872
4878
  _hideTrailingWeeks: boolean;
4873
4879
  _trailingWeekCount: number;
4874
4880
  _leadingWeekCount: number;
4875
4881
  _showPaddingDays: boolean;
4876
4882
  _showPaddingItems: boolean;
4877
- _generalFormat: string;
4878
- _firstDayOfMonthFormat: string;
4879
- _firstDayOfYearFormat: string;
4883
+ _generalFormat: {
4884
+ day: string;
4885
+ };
4886
+ _firstDayOfMonthFormat: {
4887
+ day: string;
4888
+ month: string;
4889
+ };
4890
+ _firstDayOfYearFormat: {
4891
+ day: string;
4892
+ };
4880
4893
  _expandDayHeaders: boolean;
4881
4894
  _propertyChanged: EventDispatcher;
4882
4895
  /**
@@ -4912,13 +4925,13 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4912
4925
  * @summary One of the DayOfWeekFormat enumeration values.
4913
4926
  */
4914
4927
  get dayOfWeekFormat(): number;
4915
- set titleFormat(arg: string);
4928
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
4916
4929
  /**
4917
- * Gets or sets the string used to format the header title.
4918
- * @type {String}
4919
- * @summary The format string.
4930
+ * Gets or sets the options used to format the header title.
4931
+ * @type {Intl.DateTimeFormatOptions}
4932
+ * @summary The format options.
4920
4933
  */
4921
- get titleFormat(): string;
4934
+ get titleFormat(): Intl.DateTimeFormatOptions;
4922
4935
  set hideTrailingWeeks(arg: boolean);
4923
4936
  /**
4924
4937
  * Gets or sets a value indicating whether to hide trailing weeks,
@@ -4964,27 +4977,27 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4964
4977
  * @summary True to expand the headers, otherwise false.
4965
4978
  */
4966
4979
  get expandDayHeaders(): boolean;
4967
- set generalFormat(arg: string);
4980
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
4968
4981
  /**
4969
- * Gets or sets the string used to format cells' headers.
4970
- * @type {String}
4971
- * @summary The format string.
4982
+ * Gets or sets the options used to format cells' headers.
4983
+ * @type {Intl.DateTimeFormatOptions}
4984
+ * @summary The format options.
4972
4985
  */
4973
- get generalFormat(): string;
4974
- set firstDayOfMonthFormat(arg: string);
4986
+ get generalFormat(): Intl.DateTimeFormatOptions;
4987
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
4975
4988
  /**
4976
- * Gets or sets the string used to format the cell header of the first day of each month.
4977
- * @type {String}
4978
- * @summary The format string.
4989
+ * Gets or sets the options used to format the cell header of the first day of each month.
4990
+ * @type {Intl.DateTimeFormatOptions}
4991
+ * @summary The format options.
4979
4992
  */
4980
- get firstDayOfMonthFormat(): string;
4981
- set firstDayOfYearFormat(arg: string);
4993
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
4994
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
4982
4995
  /**
4983
- * Gets or sets the string used to format the cell header of the first day of each year.
4984
- * @type {String}
4985
- * @summary The format string.
4996
+ * Gets or sets the options used to format the cell header of the first day of each year.
4997
+ * @type {Intl.DateTimeFormatOptions}
4998
+ * @summary The format options.
4986
4999
  */
4987
- get firstDayOfYearFormat(): string;
5000
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
4988
5001
  set maxItems(arg: number);
4989
5002
  /**
4990
5003
  * Gets or sets the maximum number of calendar items to display in a view cell.
@@ -5027,7 +5040,10 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
5027
5040
  _monthsPerRow: number;
5028
5041
  _visibleRows: number;
5029
5042
  _headerStyle: number;
5030
- _titleFormat: string;
5043
+ _titleFormat: {
5044
+ month: string;
5045
+ year: string;
5046
+ };
5031
5047
  _titleSeparator: string;
5032
5048
  _propertyChanged: EventDispatcher;
5033
5049
  /**
@@ -5063,13 +5079,13 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
5063
5079
  * @summary One of the MainHeaderStyle enumeration values.
5064
5080
  */
5065
5081
  get headerStyle(): number;
5066
- set titleFormat(arg: string);
5082
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5067
5083
  /**
5068
- * Gets or sets the string used to format the header title.
5069
- * @type {String}
5070
- * @summary The format string.
5084
+ * Gets or sets the options used to format the header title.
5085
+ * @type {Intl.DateTimeFormatOptions}
5086
+ * @summary The format options.
5071
5087
  */
5072
- get titleFormat(): string;
5088
+ get titleFormat(): Intl.DateTimeFormatOptions;
5073
5089
  set titleSeparator(arg: string);
5074
5090
  /**
5075
5091
  * Gets or sets the string used as a title separator.
@@ -5095,13 +5111,23 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5095
5111
  _viewStyle: number;
5096
5112
  _visibleRows: number;
5097
5113
  _headerStyle: number;
5098
- _titleFormat: string;
5114
+ _titleFormat: {
5115
+ day: string;
5116
+ month: string;
5117
+ };
5099
5118
  _titleSeparator: string;
5100
5119
  _dayNamesHeaderStyle: number;
5101
5120
  _dayOfWeekFormat: number;
5102
- _generalFormat: string;
5103
- _firstDayOfMonthFormat: string;
5104
- _firstDayOfYearFormat: string;
5121
+ _generalFormat: {
5122
+ day: string;
5123
+ };
5124
+ _firstDayOfMonthFormat: {
5125
+ day: string;
5126
+ month: string;
5127
+ };
5128
+ _firstDayOfYearFormat: {
5129
+ day: string;
5130
+ };
5105
5131
  _expandDayHeaders: boolean;
5106
5132
  _propertyChanged: EventDispatcher;
5107
5133
  /**
@@ -5130,13 +5156,13 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5130
5156
  * @summary One of the MainHeaderStyle enumeration values.
5131
5157
  */
5132
5158
  get headerStyle(): number;
5133
- set titleFormat(arg: string);
5159
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5134
5160
  /**
5135
- * Gets or sets the string used to format the header title.
5136
- * @type {String}
5137
- * @summary The format string.
5161
+ * Gets or sets the options used to format the header title.
5162
+ * @type {Intl.DateTimeFormatOptions}
5163
+ * @summary The format options.
5138
5164
  */
5139
- get titleFormat(): string;
5165
+ get titleFormat(): Intl.DateTimeFormatOptions;
5140
5166
  set titleSeparator(arg: string);
5141
5167
  /**
5142
5168
  * Gets or sets the string used as a title separator.
@@ -5158,27 +5184,27 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5158
5184
  * @summary One of the DayOfWeekFormat enumeration values.
5159
5185
  */
5160
5186
  get dayOfWeekFormat(): number;
5161
- set generalFormat(arg: string);
5187
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5162
5188
  /**
5163
- * Gets or sets the string used to format cells' headers.
5164
- * @type {String}
5165
- * @summary The format string.
5189
+ * Gets or sets the options used to format cells' headers.
5190
+ * @type {Intl.DateTimeFormatOptions}
5191
+ * @summary The format options.
5166
5192
  */
5167
- get generalFormat(): string;
5168
- set firstDayOfMonthFormat(arg: string);
5193
+ get generalFormat(): Intl.DateTimeFormatOptions;
5194
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
5169
5195
  /**
5170
- * Gets or sets the string used to format the cell header of the first day of each month.
5171
- * @type {String}
5172
- * @summary The format string.
5196
+ * Gets or sets the options used to format the cell header of the first day of each month.
5197
+ * @type {Intl.DateTimeFormatOptions}
5198
+ * @summary The format options.
5173
5199
  */
5174
- get firstDayOfMonthFormat(): string;
5175
- set firstDayOfYearFormat(arg: string);
5200
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
5201
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
5176
5202
  /**
5177
- * Gets or sets the string used to format the cell header of the first day of each year.
5178
- * @type {String}
5179
- * @summary The format string.
5203
+ * Gets or sets the options used to format the cell header of the first day of each year.
5204
+ * @type {Intl.DateTimeFormatOptions}
5205
+ * @summary The format options.
5180
5206
  */
5181
- get firstDayOfYearFormat(): string;
5207
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
5182
5208
  set expandDayHeaders(arg: boolean);
5183
5209
  /**
5184
5210
  * Gets or sets a value indicating whether day headers should fill the whole day cell.
@@ -5194,9 +5220,9 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5194
5220
  */
5195
5221
  get maxItems(): number;
5196
5222
  /**
5197
- * Raises the propertyChanged event.
5198
- * @private
5199
- */
5223
+ * Raises the propertyChanged event.
5224
+ * @private
5225
+ */
5200
5226
  private onPropertyChanged;
5201
5227
  _maxItems: number;
5202
5228
  }
@@ -5219,7 +5245,10 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5219
5245
  _headerStyle: number;
5220
5246
  _titleFormat: any;
5221
5247
  _showDayHeader: boolean;
5222
- _generalFormat: string;
5248
+ _generalFormat: {
5249
+ hour: string;
5250
+ minute: string;
5251
+ };
5223
5252
  _groupHours: boolean;
5224
5253
  _twelveHourFormat: boolean;
5225
5254
  _showMinutes: boolean;
@@ -5278,13 +5307,13 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5278
5307
  * @summary One of the MainHeaderStyle enumeration values.
5279
5308
  */
5280
5309
  get headerStyle(): number;
5281
- set titleFormat(arg: string);
5310
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5282
5311
  /**
5283
- * Gets or sets the string used to format header titles.
5284
- * @type {String}
5285
- * @summary The format string.
5312
+ * Gets or sets the options used to format header titles.
5313
+ * @type {Intl.DateTimeFormatOptions}
5314
+ * @summary The format options.
5286
5315
  */
5287
- get titleFormat(): string;
5316
+ get titleFormat(): Intl.DateTimeFormatOptions;
5288
5317
  set showDayHeader(arg: boolean);
5289
5318
  /**
5290
5319
  * Gets or sets a value indicating whether the header displaying all-day items is visible.
@@ -5361,13 +5390,13 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5361
5390
  * @private
5362
5391
  */
5363
5392
  private get realEndTime();
5364
- set generalFormat(arg: string);
5393
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5365
5394
  /**
5366
- * Gets or sets the string used to format ungrouped time cells in the timeline header.
5367
- * @type {String}
5368
- * @summary The format string.
5395
+ * Gets or sets the options used to format ungrouped time cells in the timeline header.
5396
+ * @type {Intl.DateTimeFormatOptions}
5397
+ * @summary The format options.
5369
5398
  */
5370
- get generalFormat(): string;
5399
+ get generalFormat(): Intl.DateTimeFormatOptions;
5371
5400
  }
5372
5401
  import { ObservableCollection } from "@mindfusion/common-collections";
5373
5402
  import { TimeSpan } from "Scheduling/jsplanner/src/TimeSpan";
@@ -5386,9 +5415,16 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
5386
5415
  _visibleCells: number;
5387
5416
  _headerStyle: number;
5388
5417
  _titleFormat: any;
5389
- _generalFormat: string;
5390
- _firstDayOfMonthFormat: string;
5391
- _firstDayOfYearFormat: string;
5418
+ _generalFormat: {
5419
+ day: string;
5420
+ };
5421
+ _firstDayOfMonthFormat: {
5422
+ day: string;
5423
+ month: string;
5424
+ };
5425
+ _firstDayOfYearFormat: {
5426
+ day: string;
5427
+ };
5392
5428
  _propertyChanged: EventDispatcher;
5393
5429
  /**
5394
5430
  * Copies property values from another object.
@@ -5430,34 +5466,34 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
5430
5466
  * @summary One of the MainHeaderStyle enumeration values.
5431
5467
  */
5432
5468
  get headerStyle(): number;
5433
- set titleFormat(arg: string);
5469
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5434
5470
  /**
5435
- * Gets or sets the string used to format the header title.
5436
- * @type {String}
5437
- * @summary The format string.
5471
+ * Gets or sets the options used to format the header title.
5472
+ * @type {Intl.DateTimeFormatOptions}
5473
+ * @summary The format options.
5438
5474
  */
5439
- get titleFormat(): string;
5440
- set generalFormat(arg: string);
5475
+ get titleFormat(): Intl.DateTimeFormatOptions;
5476
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5441
5477
  /**
5442
- * Gets or sets the string used to format cells' headers.
5443
- * @type {String}
5444
- * @summary The format string.
5478
+ * Gets or sets the options used to format cells' headers.
5479
+ * @type {Intl.DateTimeFormatOptions}
5480
+ * @summary The format options.
5445
5481
  */
5446
- get generalFormat(): string;
5447
- set firstDayOfMonthFormat(arg: string);
5482
+ get generalFormat(): Intl.DateTimeFormatOptions;
5483
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
5448
5484
  /**
5449
- * Gets or sets the string used to format the cell header of the first day of each month.
5450
- * @type {String}
5451
- * @summary The format string.
5485
+ * Gets or sets the options used to format the cell header of the first day of each month.
5486
+ * @type {Intl.DateTimeFormatOptions}
5487
+ * @summary The format options.
5452
5488
  */
5453
- get firstDayOfMonthFormat(): string;
5454
- set firstDayOfYearFormat(arg: string);
5489
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
5490
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
5455
5491
  /**
5456
- * Gets or sets the string used to format the cell header of the first day of each year.
5457
- * @type {String}
5458
- * @summary The format string.
5492
+ * Gets or sets the options used to format the cell header of the first day of each year.
5493
+ * @type {Intl.DateTimeFormatOptions}
5494
+ * @summary The format options.
5459
5495
  */
5460
- get firstDayOfYearFormat(): string;
5496
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
5461
5497
  set maxItems(arg: number);
5462
5498
  /**
5463
5499
  * Gets or sets the maximum number of calendar items to display in a view cell.
@@ -5484,7 +5520,9 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
5484
5520
  _timeline: any;
5485
5521
  _unit: number;
5486
5522
  _unitCount: number;
5487
- _format: string;
5523
+ _format: {
5524
+ day: string;
5525
+ };
5488
5526
  _propertyChanged: EventDispatcher;
5489
5527
  /**
5490
5528
  * Copies property values from another object.
@@ -5505,13 +5543,13 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
5505
5543
  * @summary The number of units between adjacent ticks in the timeline.
5506
5544
  */
5507
5545
  get unitCount(): number;
5508
- set format(arg: string);
5546
+ set format(arg: Intl.DateTimeFormatOptions);
5509
5547
  /**
5510
- * Gets or sets the string used to format timeline headers.
5511
- * @type {String}
5512
- * @summary The format string.
5548
+ * Gets or sets the options used to format timeline headers.
5549
+ * @type {Intl.DateTimeFormatOptions}
5550
+ * @summary The format options.
5513
5551
  */
5514
- get format(): string;
5552
+ get format(): Intl.DateTimeFormatOptions;
5515
5553
  /**
5516
5554
  * Raises the propertyChanged event.
5517
5555
  * @private
@@ -6234,7 +6272,7 @@ declare module "Scheduling/jsplanner/src/LocalStrings" {
6234
6272
  * This source code is provided to you as part of the MindFusion software components
6235
6273
  * package you have purchased. You may use the source code to trace and/or fix
6236
6274
  * problems or customize the library as needed for your application. To get permission
6237
- * to use the source code in any other way; } please contact us at support@mindfusion.dev.
6275
+ * to use the source code in any other way; } please contact us at support@mindfusion.eu.
6238
6276
  */
6239
6277
  /**
6240
6278
  * @class Contains the dictionary of localizable caption texts for the Calendar control.