@mindfusion/scheduling 2.2.0 → 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/README.md +36 -25
- package/dist/cjs/scheduling.js +1 -1
- package/dist/esm/scheduling.js +1 -1
- package/dist/esm/scheduling.mjs +1 -1
- package/dist/umd/scheduling.js +1 -1
- package/localization/bg.json +0 -0
- package/localization/cn.json +1 -3
- package/localization/de.json +0 -0
- package/localization/en.json +0 -0
- package/localization/es.json +100 -103
- package/localization/fr.json +100 -103
- package/localization/it.json +1 -3
- package/localization/jp.json +101 -104
- package/localization/kr.json +101 -104
- package/localization/nl.json +100 -103
- package/localization/pl.json +100 -103
- package/localization/pt.json +100 -103
- package/localization/ru.json +0 -0
- package/localization/tr.json +101 -104
- package/package.json +17 -3
- package/scheduling.d.mts +136 -101
- package/scheduling.d.ts +136 -101
package/README.md
CHANGED
|
@@ -10,57 +10,68 @@ For the latest stable version:
|
|
|
10
10
|
npm i @mindfusion/scheduling
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
### New in version 2.
|
|
14
|
-
|
|
15
|
-
- [repainted](https://www.mindfusion.eu/docs/javascript/diagramming/E_MindFusion_Scheduling_Calendar_repainted.htm) event raised after [Calendar](https://www.mindfusion.eu/docs/javascript/diagramming/T_MindFusion_Scheduling_Calendar_0.htm) updates its DOM elements, letting you adjust their content or layout.
|
|
16
|
-
- [realGroupType](https://www.mindfusion.eu/docs/javascript/diagramming/P_MindFusion_Scheduling_Calendar_realGroupType_0.htm) property returns the effective [GroupType](https://www.mindfusion.eu/docs/javascript/diagramming/T_MindFusion_Scheduling_GroupType.htm).
|
|
17
|
-
- [buttonClick](https://www.mindfusion.eu/docs/javascript/diagramming/E_MindFusion_Scheduling_Calendar_buttonClick.htm) eventnow alsoraised when calendar is disabled ([enabled](https://www.mindfusion.eu/docs/javascript/diagramming/P_MindFusion_Controls_Control_enabled_0.htm) property set to **false**).
|
|
18
|
-
- Improved React wrapper component in sample projects.
|
|
19
|
-
- Fixed exceptions when saving [Schedule](https://www.mindfusion.eu/docs/javascript/diagramming/T_MindFusion_Scheduling_Schedule_1.htm) with recurrent events to JSON.
|
|
20
|
-
|
|
13
|
+
### New in version 2.3
|
|
21
14
|
|
|
22
|
-
|
|
15
|
+
#### Localization improvements
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the [find](https://www.mindfusion.eu/onlinehelp/scheduler.javascript/index.htm?M_MindFusion_Common_Control_find_1_String.htm) method with id argument.
|
|
17
|
+
MindFusion.Scheduling now uses the **Intl API** ( [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)) for [localized formatting](https://mindfusion.dev/docs/javascript/scheduling/Localization_2.htm) of dates and times. All properties of the [Calendar](https://mindfusion.dev/docs/javascript/scheduling/T_MindFusion_Scheduling_Calendar_0.htm) control, that used to contain a format string, should now be set to an **Intl.DateTimeFormat** options object, e.g.:
|
|
27
18
|
|
|
28
19
|
```
|
|
29
|
-
|
|
30
|
-
</mindfusion-calendar>
|
|
20
|
+
settings.generalFormat = "dd MMMM";
|
|
31
21
|
```
|
|
32
22
|
|
|
23
|
+
must be changed to
|
|
24
|
+
|
|
33
25
|
```
|
|
34
|
-
|
|
35
|
-
calendar = ms.Calendar.find("calendar");
|
|
36
|
-
calendar.currentView = ms.CalendarView.SingleMonth;
|
|
26
|
+
settings.generalFormat = { day: '2-digit', month: 'long' };
|
|
37
27
|
```
|
|
38
28
|
|
|
29
|
+
The following list contains the fields and values that can be set in the options object:
|
|
30
|
+
- weekday: 'narrow' | 'short' | 'long'
|
|
31
|
+
- era: 'narrow' | 'short' | 'long'
|
|
32
|
+
- year: 'numeric' | '2-digit'
|
|
33
|
+
- month: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long'
|
|
34
|
+
- day: 'numeric' | '2-digit'
|
|
35
|
+
- hour: 'numeric' | '2-digit'
|
|
36
|
+
- minute: 'numeric' | '2-digit'
|
|
37
|
+
- second: 'numeric' | '2-digit'
|
|
38
|
+
- timeZoneName: 'short' | 'long'
|
|
39
|
+
- timeZone: 'Asia/Shanghai'
|
|
40
|
+
- hour12: true | false
|
|
41
|
+
- hourCycle: 'h11' | 'h12' | 'h23' | 'h24'
|
|
42
|
+
- formatMatcher: 'basic' | 'best fit'
|
|
43
|
+
|
|
44
|
+
### New in version 2.2
|
|
45
|
+
|
|
46
|
+
- [repainted](https://www.mindfusion.dev/docs/javascript/scheduling/E_MindFusion_Scheduling_Calendar_repainted.htm) event raised after [Calendar](https://www.mindfusion.dev/docs/javascript/scheduling/T_MindFusion_Scheduling_Calendar_0.htm) updates its DOM elements, letting you adjust their content or layout.
|
|
47
|
+
- [realGroupType](https://www.mindfusion.dev/docs/javascript/scheduling/P_MindFusion_Scheduling_Calendar_realGroupType_0.htm) property returns the effective [GroupType](https://www.mindfusion.dev/docs/javascript/scheduling/T_MindFusion_Scheduling_GroupType.htm).
|
|
48
|
+
- [buttonClick](https://www.mindfusion.dev/docs/javascript/scheduling/E_MindFusion_Scheduling_Calendar_buttonClick.htm) eventnow alsoraised when calendar is disabled ([enabled](https://www.mindfusion.dev/docs/javascript/scheduling/P_MindFusion_Controls_Control_enabled_0.htm) property set to **false**).
|
|
49
|
+
- Improved React wrapper component in sample projects.
|
|
50
|
+
- Fixed exceptions when saving [Schedule](https://www.mindfusion.dev/docs/javascript/scheduling/T_MindFusion_Scheduling_Schedule_1.htm) with recurrent events to JSON.
|
|
51
|
+
|
|
39
52
|
### Documentation
|
|
40
53
|
|
|
41
54
|
- [Detailed API Reference](http://www.mindfusion.eu/onlinehelp/scheduler.javascript/index.htm)
|
|
42
|
-
- [Getting started guide](https://www.mindfusion.
|
|
55
|
+
- [Getting started guide](https://www.mindfusion.dev/docs/javascript/scheduling/Your_First_Schedule.htm) and [tutorials](https://www.mindfusion.dev/docs/javascript/scheduling/Tutorials_12.htm)
|
|
43
56
|
|
|
44
57
|
|
|
45
58
|
### Samples
|
|
46
59
|
|
|
47
|
-
A lot of samples for the scheduling library are uploaded at the [demo site.](https://mindfusion.
|
|
60
|
+
A lot of samples for the scheduling library are uploaded at the [demo site.](https://mindfusion.dev/javascript-demo.html?sample=AppointmentSchedule). Each sample can be downloaded with all library files from [this page.](https://mindfusion.dev/products/javascript/scheduling/samples) You can download the library together with all samples [from here.](https://mindfusion.dev/JsScheduler.zip)
|
|
48
61
|
|
|
49
62
|
|
|
50
63
|
### Additional Information
|
|
51
64
|
|
|
52
|
-
Learn more about the JavaScript Scheduler [from the official product page.](
|
|
65
|
+
Learn more about the JavaScript Scheduler [from the official product page.](https://mindfusion.dev/javascript-scheduler.html) Stay in touch with MindFusion about our latest product announcements, tutorials and programming guidelines via [X](https://x.com/MindFusion_News) or [our company blog.](https://mindfusion.dev/blog/) A YouTube channel with interactive video tutorials is available [here.](https://www.youtube.com/channel/UCirPVdFWM2RTEnEAF5PK7Qg)
|
|
53
66
|
|
|
54
67
|
|
|
55
68
|
|
|
56
69
|
## Technical Support
|
|
57
70
|
|
|
58
|
-
* [Forum](https://mindfusion.
|
|
71
|
+
* [Forum](https://mindfusion.dev/Forum/YaBB.pl)
|
|
59
72
|
* [E-mail](support@mindfusion.eu)
|
|
60
|
-
* [Help desk](
|
|
73
|
+
* [Help desk](https://www.mindfusion.dev/HelpDesk/index.php)
|
|
61
74
|
|
|
62
75
|
### Licensing
|
|
63
76
|
|
|
64
|
-
The end-user license agreement for JS Scheduler is [here.](https://mindfusion.
|
|
65
|
-
|
|
66
|
-
|
|
77
|
+
The end-user license agreement for JS Scheduler is [here.](https://mindfusion.dev/eula.html)
|