MindFusion.Scheduling for JavaScript V2.0

Released: Jan 5, 2022

V2.0 での更新項目

機能

  • ECMAScript 6 (ES6) modules
    • JsScheduler distribution now includes a set of ES6 modules, in Scripts/esm folder, that lets you import classes from respective scripts.
    • The distribution still includes ES5-compatible scripts located in Scripts/umd folder, which are transpiled from current ES6 code, and whose classes are exposed as members of global MindFusion namespace object as in previous versions.
  • Localization improvements - Calendar date and time localization can now be done via the CLDR locale data JSON distributions, instead of writing the "date" object in the localization file. You can continue using the localization files for string localization.
  • API changes
    • JsScheduler source code has been refactored and is now dependent on the following MindFusion shared libraries: drawing, controls, common, and common.collections.
    • The distribution includes ES5-compatible scripts located in Scripts/umd folder, whose classes are exposed as members of global MindFusion namespace object.
    • The Scripts/esm folder contains ES6 code that lets you import the classes from respective modules.
  • Moving to version 2
    • For projects that access MindFusion namespace from the global namespace, check the "Loading UMD namespaced scripts" section in Getting Started guide.
    • For projects that use module loaders, check the various "Loading ... modules" sections in Getting Started guide.
    • For TypeScript projects that access MindFusion namespace from the global namespace, add a reference to the common.d.ts and global.d.ts files.