@mindfusion/scheduling 2.2.1 → 2.3.0

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;
@@ -1553,12 +1553,12 @@ declare module "Scheduling/jsplanner/src/TimeRange" {
1553
1553
  * @namespace MindFusion.Scheduling
1554
1554
  */
1555
1555
  /**
1556
- * Copyright (c) 2017-2025, MindFusion LLC - Bulgaria.
1556
+ * Copyright (c) 2017-2022, MindFusion LLC - Bulgaria.
1557
1557
  *
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;
@@ -2089,12 +2089,12 @@ declare module "Scheduling/jsplanner/src/Forms/BaseForm" {
2089
2089
  declare module "Scheduling/jsplanner/src/RecurrenceException" {
2090
2090
  export default RecurrenceException;
2091
2091
  /**
2092
- * Copyright (c) 2017-2025, MindFusion LLC - Bulgaria.
2092
+ * Copyright (c) 2017-2022, MindFusion LLC - Bulgaria.
2093
2093
  *
2094
2094
  * This source code is provided to you as part of the MindFusion software components
2095
2095
  * package you have purchased. You may use the source code to trace and/or fix
2096
2096
  * 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.
2097
+ * to use the source code in any other way, please contact us at support@mindfusion.eu.
2098
2098
  */
2099
2099
  /**
2100
2100
  *
@@ -3719,12 +3719,12 @@ declare module "Scheduling/jsplanner/src/ViewCell" {
3719
3719
  * @namespace MindFusion.Scheduling
3720
3720
  */
3721
3721
  /**
3722
- * Copyright (c) 2017-2025, MindFusion LLC - Bulgaria.
3722
+ * Copyright (c) 2017-2022, MindFusion LLC - Bulgaria.
3723
3723
  *
3724
3724
  * This source code is provided to you as part of the MindFusion software components
3725
3725
  * package you have purchased. You may use the source code to trace and/or fix
3726
3726
  * 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.
3727
+ * to use the source code in any other way, please contact us at support@mindfusion.eu.
3728
3728
  */
3729
3729
  /**
3730
3730
  * @class Encapsulates data for a datetime cell in a calendar view.
@@ -4868,15 +4868,25 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4868
4868
  _weekHeaderStyle: number;
4869
4869
  _dayNamesHeaderStyle: number;
4870
4870
  _dayOfWeekFormat: number;
4871
- _titleFormat: string;
4871
+ _titleFormat: {
4872
+ month: string;
4873
+ year: string;
4874
+ };
4872
4875
  _hideTrailingWeeks: boolean;
4873
4876
  _trailingWeekCount: number;
4874
4877
  _leadingWeekCount: number;
4875
4878
  _showPaddingDays: boolean;
4876
4879
  _showPaddingItems: boolean;
4877
- _generalFormat: string;
4878
- _firstDayOfMonthFormat: string;
4879
- _firstDayOfYearFormat: string;
4880
+ _generalFormat: {
4881
+ day: string;
4882
+ };
4883
+ _firstDayOfMonthFormat: {
4884
+ day: string;
4885
+ month: string;
4886
+ };
4887
+ _firstDayOfYearFormat: {
4888
+ day: string;
4889
+ };
4880
4890
  _expandDayHeaders: boolean;
4881
4891
  _propertyChanged: EventDispatcher;
4882
4892
  /**
@@ -4912,13 +4922,13 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4912
4922
  * @summary One of the DayOfWeekFormat enumeration values.
4913
4923
  */
4914
4924
  get dayOfWeekFormat(): number;
4915
- set titleFormat(arg: string);
4925
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
4916
4926
  /**
4917
- * Gets or sets the string used to format the header title.
4918
- * @type {String}
4919
- * @summary The format string.
4927
+ * Gets or sets the options used to format the header title.
4928
+ * @type {Intl.DateTimeFormatOptions}
4929
+ * @summary The format options.
4920
4930
  */
4921
- get titleFormat(): string;
4931
+ get titleFormat(): Intl.DateTimeFormatOptions;
4922
4932
  set hideTrailingWeeks(arg: boolean);
4923
4933
  /**
4924
4934
  * Gets or sets a value indicating whether to hide trailing weeks,
@@ -4964,27 +4974,27 @@ declare module "Scheduling/jsplanner/src/MonthSettings" {
4964
4974
  * @summary True to expand the headers, otherwise false.
4965
4975
  */
4966
4976
  get expandDayHeaders(): boolean;
4967
- set generalFormat(arg: string);
4977
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
4968
4978
  /**
4969
- * Gets or sets the string used to format cells' headers.
4970
- * @type {String}
4971
- * @summary The format string.
4979
+ * Gets or sets the options used to format cells' headers.
4980
+ * @type {Intl.DateTimeFormatOptions}
4981
+ * @summary The format options.
4972
4982
  */
4973
- get generalFormat(): string;
4974
- set firstDayOfMonthFormat(arg: string);
4983
+ get generalFormat(): Intl.DateTimeFormatOptions;
4984
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
4975
4985
  /**
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.
4986
+ * Gets or sets the options used to format the cell header of the first day of each month.
4987
+ * @type {Intl.DateTimeFormatOptions}
4988
+ * @summary The format options.
4979
4989
  */
4980
- get firstDayOfMonthFormat(): string;
4981
- set firstDayOfYearFormat(arg: string);
4990
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
4991
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
4982
4992
  /**
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.
4993
+ * Gets or sets the options used to format the cell header of the first day of each year.
4994
+ * @type {Intl.DateTimeFormatOptions}
4995
+ * @summary The format options.
4986
4996
  */
4987
- get firstDayOfYearFormat(): string;
4997
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
4988
4998
  set maxItems(arg: number);
4989
4999
  /**
4990
5000
  * Gets or sets the maximum number of calendar items to display in a view cell.
@@ -5027,7 +5037,10 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
5027
5037
  _monthsPerRow: number;
5028
5038
  _visibleRows: number;
5029
5039
  _headerStyle: number;
5030
- _titleFormat: string;
5040
+ _titleFormat: {
5041
+ month: string;
5042
+ year: string;
5043
+ };
5031
5044
  _titleSeparator: string;
5032
5045
  _propertyChanged: EventDispatcher;
5033
5046
  /**
@@ -5063,13 +5076,13 @@ declare module "Scheduling/jsplanner/src/MonthRangeSettings" {
5063
5076
  * @summary One of the MainHeaderStyle enumeration values.
5064
5077
  */
5065
5078
  get headerStyle(): number;
5066
- set titleFormat(arg: string);
5079
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5067
5080
  /**
5068
- * Gets or sets the string used to format the header title.
5069
- * @type {String}
5070
- * @summary The format string.
5081
+ * Gets or sets the options used to format the header title.
5082
+ * @type {Intl.DateTimeFormatOptions}
5083
+ * @summary The format options.
5071
5084
  */
5072
- get titleFormat(): string;
5085
+ get titleFormat(): Intl.DateTimeFormatOptions;
5073
5086
  set titleSeparator(arg: string);
5074
5087
  /**
5075
5088
  * Gets or sets the string used as a title separator.
@@ -5095,13 +5108,23 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5095
5108
  _viewStyle: number;
5096
5109
  _visibleRows: number;
5097
5110
  _headerStyle: number;
5098
- _titleFormat: string;
5111
+ _titleFormat: {
5112
+ day: string;
5113
+ month: string;
5114
+ };
5099
5115
  _titleSeparator: string;
5100
5116
  _dayNamesHeaderStyle: number;
5101
5117
  _dayOfWeekFormat: number;
5102
- _generalFormat: string;
5103
- _firstDayOfMonthFormat: string;
5104
- _firstDayOfYearFormat: string;
5118
+ _generalFormat: {
5119
+ day: string;
5120
+ };
5121
+ _firstDayOfMonthFormat: {
5122
+ day: string;
5123
+ month: string;
5124
+ };
5125
+ _firstDayOfYearFormat: {
5126
+ day: string;
5127
+ };
5105
5128
  _expandDayHeaders: boolean;
5106
5129
  _propertyChanged: EventDispatcher;
5107
5130
  /**
@@ -5130,13 +5153,13 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5130
5153
  * @summary One of the MainHeaderStyle enumeration values.
5131
5154
  */
5132
5155
  get headerStyle(): number;
5133
- set titleFormat(arg: string);
5156
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5134
5157
  /**
5135
- * Gets or sets the string used to format the header title.
5136
- * @type {String}
5137
- * @summary The format string.
5158
+ * Gets or sets the options used to format the header title.
5159
+ * @type {Intl.DateTimeFormatOptions}
5160
+ * @summary The format options.
5138
5161
  */
5139
- get titleFormat(): string;
5162
+ get titleFormat(): Intl.DateTimeFormatOptions;
5140
5163
  set titleSeparator(arg: string);
5141
5164
  /**
5142
5165
  * Gets or sets the string used as a title separator.
@@ -5158,27 +5181,27 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5158
5181
  * @summary One of the DayOfWeekFormat enumeration values.
5159
5182
  */
5160
5183
  get dayOfWeekFormat(): number;
5161
- set generalFormat(arg: string);
5184
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5162
5185
  /**
5163
- * Gets or sets the string used to format cells' headers.
5164
- * @type {String}
5165
- * @summary The format string.
5186
+ * Gets or sets the options used to format cells' headers.
5187
+ * @type {Intl.DateTimeFormatOptions}
5188
+ * @summary The format options.
5166
5189
  */
5167
- get generalFormat(): string;
5168
- set firstDayOfMonthFormat(arg: string);
5190
+ get generalFormat(): Intl.DateTimeFormatOptions;
5191
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
5169
5192
  /**
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.
5193
+ * Gets or sets the options used to format the cell header of the first day of each month.
5194
+ * @type {Intl.DateTimeFormatOptions}
5195
+ * @summary The format options.
5173
5196
  */
5174
- get firstDayOfMonthFormat(): string;
5175
- set firstDayOfYearFormat(arg: string);
5197
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
5198
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
5176
5199
  /**
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.
5200
+ * Gets or sets the options used to format the cell header of the first day of each year.
5201
+ * @type {Intl.DateTimeFormatOptions}
5202
+ * @summary The format options.
5180
5203
  */
5181
- get firstDayOfYearFormat(): string;
5204
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
5182
5205
  set expandDayHeaders(arg: boolean);
5183
5206
  /**
5184
5207
  * Gets or sets a value indicating whether day headers should fill the whole day cell.
@@ -5194,9 +5217,9 @@ declare module "Scheduling/jsplanner/src/WeekRangeSettings" {
5194
5217
  */
5195
5218
  get maxItems(): number;
5196
5219
  /**
5197
- * Raises the propertyChanged event.
5198
- * @private
5199
- */
5220
+ * Raises the propertyChanged event.
5221
+ * @private
5222
+ */
5200
5223
  private onPropertyChanged;
5201
5224
  _maxItems: number;
5202
5225
  }
@@ -5219,7 +5242,10 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5219
5242
  _headerStyle: number;
5220
5243
  _titleFormat: any;
5221
5244
  _showDayHeader: boolean;
5222
- _generalFormat: string;
5245
+ _generalFormat: {
5246
+ hour: string;
5247
+ minute: string;
5248
+ };
5223
5249
  _groupHours: boolean;
5224
5250
  _twelveHourFormat: boolean;
5225
5251
  _showMinutes: boolean;
@@ -5278,13 +5304,13 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5278
5304
  * @summary One of the MainHeaderStyle enumeration values.
5279
5305
  */
5280
5306
  get headerStyle(): number;
5281
- set titleFormat(arg: string);
5307
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5282
5308
  /**
5283
- * Gets or sets the string used to format header titles.
5284
- * @type {String}
5285
- * @summary The format string.
5309
+ * Gets or sets the options used to format header titles.
5310
+ * @type {Intl.DateTimeFormatOptions}
5311
+ * @summary The format options.
5286
5312
  */
5287
- get titleFormat(): string;
5313
+ get titleFormat(): Intl.DateTimeFormatOptions;
5288
5314
  set showDayHeader(arg: boolean);
5289
5315
  /**
5290
5316
  * Gets or sets a value indicating whether the header displaying all-day items is visible.
@@ -5361,13 +5387,13 @@ declare module "Scheduling/jsplanner/src/TimetableSettings" {
5361
5387
  * @private
5362
5388
  */
5363
5389
  private get realEndTime();
5364
- set generalFormat(arg: string);
5390
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5365
5391
  /**
5366
- * Gets or sets the string used to format ungrouped time cells in the timeline header.
5367
- * @type {String}
5368
- * @summary The format string.
5392
+ * Gets or sets the options used to format ungrouped time cells in the timeline header.
5393
+ * @type {Intl.DateTimeFormatOptions}
5394
+ * @summary The format options.
5369
5395
  */
5370
- get generalFormat(): string;
5396
+ get generalFormat(): Intl.DateTimeFormatOptions;
5371
5397
  }
5372
5398
  import { ObservableCollection } from "@mindfusion/common-collections";
5373
5399
  import { TimeSpan } from "Scheduling/jsplanner/src/TimeSpan";
@@ -5386,9 +5412,16 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
5386
5412
  _visibleCells: number;
5387
5413
  _headerStyle: number;
5388
5414
  _titleFormat: any;
5389
- _generalFormat: string;
5390
- _firstDayOfMonthFormat: string;
5391
- _firstDayOfYearFormat: string;
5415
+ _generalFormat: {
5416
+ day: string;
5417
+ };
5418
+ _firstDayOfMonthFormat: {
5419
+ day: string;
5420
+ month: string;
5421
+ };
5422
+ _firstDayOfYearFormat: {
5423
+ day: string;
5424
+ };
5392
5425
  _propertyChanged: EventDispatcher;
5393
5426
  /**
5394
5427
  * Copies property values from another object.
@@ -5430,34 +5463,34 @@ declare module "Scheduling/jsplanner/src/ListSettings" {
5430
5463
  * @summary One of the MainHeaderStyle enumeration values.
5431
5464
  */
5432
5465
  get headerStyle(): number;
5433
- set titleFormat(arg: string);
5466
+ set titleFormat(arg: Intl.DateTimeFormatOptions);
5434
5467
  /**
5435
- * Gets or sets the string used to format the header title.
5436
- * @type {String}
5437
- * @summary The format string.
5468
+ * Gets or sets the options used to format the header title.
5469
+ * @type {Intl.DateTimeFormatOptions}
5470
+ * @summary The format options.
5438
5471
  */
5439
- get titleFormat(): string;
5440
- set generalFormat(arg: string);
5472
+ get titleFormat(): Intl.DateTimeFormatOptions;
5473
+ set generalFormat(arg: Intl.DateTimeFormatOptions);
5441
5474
  /**
5442
- * Gets or sets the string used to format cells' headers.
5443
- * @type {String}
5444
- * @summary The format string.
5475
+ * Gets or sets the options used to format cells' headers.
5476
+ * @type {Intl.DateTimeFormatOptions}
5477
+ * @summary The format options.
5445
5478
  */
5446
- get generalFormat(): string;
5447
- set firstDayOfMonthFormat(arg: string);
5479
+ get generalFormat(): Intl.DateTimeFormatOptions;
5480
+ set firstDayOfMonthFormat(arg: Intl.DateTimeFormatOptions);
5448
5481
  /**
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.
5482
+ * Gets or sets the options used to format the cell header of the first day of each month.
5483
+ * @type {Intl.DateTimeFormatOptions}
5484
+ * @summary The format options.
5452
5485
  */
5453
- get firstDayOfMonthFormat(): string;
5454
- set firstDayOfYearFormat(arg: string);
5486
+ get firstDayOfMonthFormat(): Intl.DateTimeFormatOptions;
5487
+ set firstDayOfYearFormat(arg: Intl.DateTimeFormatOptions);
5455
5488
  /**
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.
5489
+ * Gets or sets the options used to format the cell header of the first day of each year.
5490
+ * @type {Intl.DateTimeFormatOptions}
5491
+ * @summary The format options.
5459
5492
  */
5460
- get firstDayOfYearFormat(): string;
5493
+ get firstDayOfYearFormat(): Intl.DateTimeFormatOptions;
5461
5494
  set maxItems(arg: number);
5462
5495
  /**
5463
5496
  * Gets or sets the maximum number of calendar items to display in a view cell.
@@ -5484,7 +5517,9 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
5484
5517
  _timeline: any;
5485
5518
  _unit: number;
5486
5519
  _unitCount: number;
5487
- _format: string;
5520
+ _format: {
5521
+ day: string;
5522
+ };
5488
5523
  _propertyChanged: EventDispatcher;
5489
5524
  /**
5490
5525
  * Copies property values from another object.
@@ -5505,13 +5540,13 @@ declare module "Scheduling/jsplanner/src/TimelineSettings" {
5505
5540
  * @summary The number of units between adjacent ticks in the timeline.
5506
5541
  */
5507
5542
  get unitCount(): number;
5508
- set format(arg: string);
5543
+ set format(arg: Intl.DateTimeFormatOptions);
5509
5544
  /**
5510
- * Gets or sets the string used to format timeline headers.
5511
- * @type {String}
5512
- * @summary The format string.
5545
+ * Gets or sets the options used to format timeline headers.
5546
+ * @type {Intl.DateTimeFormatOptions}
5547
+ * @summary The format options.
5513
5548
  */
5514
- get format(): string;
5549
+ get format(): Intl.DateTimeFormatOptions;
5515
5550
  /**
5516
5551
  * Raises the propertyChanged event.
5517
5552
  * @private
@@ -6229,12 +6264,12 @@ declare module "Scheduling/jsplanner/src/LocalStrings" {
6229
6264
  * @namespace MindFusion.Scheduling
6230
6265
  */
6231
6266
  /**
6232
- * Copyright (c) 2017-2025, MindFusion LLC - Bulgaria.
6267
+ * Copyright (c) 2017-2022, MindFusion LLC - Bulgaria.
6233
6268
  *
6234
6269
  * This source code is provided to you as part of the MindFusion software components
6235
6270
  * package you have purchased. You may use the source code to trace and/or fix
6236
6271
  * 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.
6272
+ * to use the source code in any other way; } please contact us at support@mindfusion.eu.
6238
6273
  */
6239
6274
  /**
6240
6275
  * @class Contains the dictionary of localizable caption texts for the Calendar control.