@syncfusion/ej2-angular-schedule 31.1.21 → 31.2.2
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/CHANGELOG.md +10 -0
- package/package.json +4 -4
- package/schematics/collection.json +10 -39
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/schematics/generators/schedule-agenda-views/index.d.ts +0 -3
- package/schematics/generators/schedule-agenda-views/index.js +0 -8
- package/schematics/generators/schedule-agenda-views/index.ts +0 -8
- package/schematics/generators/schedule-agenda-views/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-agenda-views/sample-details.js +0 -7
- package/schematics/generators/schedule-agenda-views/sample-details.ts +0 -5
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -29
- package/schematics/generators/schedule-agenda-views/schema.d.ts +0 -3
- package/schematics/generators/schedule-agenda-views/schema.js +0 -2
- package/schematics/generators/schedule-agenda-views/schema.json +0 -125
- package/schematics/generators/schedule-agenda-views/schema.ts +0 -3
- package/schematics/generators/schedule-calendar-views/index.d.ts +0 -3
- package/schematics/generators/schedule-calendar-views/index.js +0 -8
- package/schematics/generators/schedule-calendar-views/index.ts +0 -8
- package/schematics/generators/schedule-calendar-views/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-calendar-views/sample-details.js +0 -7
- package/schematics/generators/schedule-calendar-views/sample-details.ts +0 -5
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -92
- package/schematics/generators/schedule-calendar-views/schema.d.ts +0 -3
- package/schematics/generators/schedule-calendar-views/schema.js +0 -2
- package/schematics/generators/schedule-calendar-views/schema.json +0 -125
- package/schematics/generators/schedule-calendar-views/schema.ts +0 -3
- package/schematics/generators/schedule-horizontal-grouping/index.d.ts +0 -3
- package/schematics/generators/schedule-horizontal-grouping/index.js +0 -8
- package/schematics/generators/schedule-horizontal-grouping/index.ts +0 -8
- package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-horizontal-grouping/sample-details.js +0 -7
- package/schematics/generators/schedule-horizontal-grouping/sample-details.ts +0 -5
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -92
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -29
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -51
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -25
- package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +0 -3
- package/schematics/generators/schedule-horizontal-grouping/schema.js +0 -2
- package/schematics/generators/schedule-horizontal-grouping/schema.json +0 -125
- package/schematics/generators/schedule-horizontal-grouping/schema.ts +0 -3
- package/schematics/generators/schedule-time-scale/index.d.ts +0 -3
- package/schematics/generators/schedule-time-scale/index.js +0 -8
- package/schematics/generators/schedule-time-scale/index.ts +0 -8
- package/schematics/generators/schedule-time-scale/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-time-scale/sample-details.js +0 -7
- package/schematics/generators/schedule-time-scale/sample-details.ts +0 -5
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -22
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -62
- package/schematics/generators/schedule-time-scale/schema.d.ts +0 -3
- package/schematics/generators/schedule-time-scale/schema.js +0 -2
- package/schematics/generators/schedule-time-scale/schema.json +0 -125
- package/schematics/generators/schedule-time-scale/schema.ts +0 -3
- package/schematics/generators/schedule-timeline-grouping/index.d.ts +0 -3
- package/schematics/generators/schedule-timeline-grouping/index.js +0 -8
- package/schematics/generators/schedule-timeline-grouping/index.ts +0 -8
- package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-timeline-grouping/sample-details.js +0 -7
- package/schematics/generators/schedule-timeline-grouping/sample-details.ts +0 -5
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -6
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -23
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -39
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -92
- package/schematics/generators/schedule-timeline-grouping/schema.d.ts +0 -3
- package/schematics/generators/schedule-timeline-grouping/schema.js +0 -2
- package/schematics/generators/schedule-timeline-grouping/schema.json +0 -125
- package/schematics/generators/schedule-timeline-grouping/schema.ts +0 -3
- package/schematics/generators/schedule-timeline-views/index.d.ts +0 -3
- package/schematics/generators/schedule-timeline-views/index.js +0 -8
- package/schematics/generators/schedule-timeline-views/index.ts +0 -8
- package/schematics/generators/schedule-timeline-views/sample-details.d.ts +0 -5
- package/schematics/generators/schedule-timeline-views/sample-details.js +0 -7
- package/schematics/generators/schedule-timeline-views/sample-details.ts +0 -5
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -184
- package/schematics/generators/schedule-timeline-views/schema.d.ts +0 -3
- package/schematics/generators/schedule-timeline-views/schema.js +0 -2
- package/schematics/generators/schedule-timeline-views/schema.json +0 -125
- package/schematics/generators/schedule-timeline-views/schema.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug fixes
|
|
8
8
|
|
|
9
|
+
- `#I757470` - An issue where cells were misaligned and events were added to the wrong cell when using the `enableLazyLoading` property has been fixed.
|
|
10
|
+
- `#I770447` - The issue where the tooltip displayed incorrect content in the `Year` view has been fixed.
|
|
11
|
+
|
|
12
|
+
## 31.1.21 (2025-09-23)
|
|
13
|
+
|
|
14
|
+
### Schedule
|
|
15
|
+
|
|
16
|
+
#### Bug fixes
|
|
17
|
+
|
|
9
18
|
- `#I746117`, `#I754057` - An issue where an empty content area was rendered during virtual scrolling when using `rowAutoHeight` in combination with `overscanCount` has been resolved.
|
|
19
|
+
- `#F197352` - An issue that caused appointments to overlap in the `TimelineYear` view has been fixed.
|
|
10
20
|
|
|
11
21
|
## 31.1.20 (2025-09-10)
|
|
12
22
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-angular-schedule",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.2.2",
|
|
4
4
|
"description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support. for Angular",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
7
7
|
"schematics": "./schematics/collection.json",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@syncfusion/ej2-base": "~31.
|
|
10
|
-
"@syncfusion/ej2-angular-base": "~31.
|
|
11
|
-
"@syncfusion/ej2-schedule": "31.
|
|
9
|
+
"@syncfusion/ej2-base": "~31.2.2",
|
|
10
|
+
"@syncfusion/ej2-angular-base": "~31.2.2",
|
|
11
|
+
"@syncfusion/ej2-schedule": "31.2.2"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"angular",
|
|
@@ -1,40 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"schema": "./generators/schedule-agenda-views/schema.json"
|
|
13
|
-
},
|
|
14
|
-
"schedule-calendar-views": {
|
|
15
|
-
"description": "Creates an Angular Scheduler component with calendar views.",
|
|
16
|
-
"factory": "./generators/schedule-calendar-views",
|
|
17
|
-
"schema": "./generators/schedule-calendar-views/schema.json"
|
|
18
|
-
},
|
|
19
|
-
"schedule-horizontal-grouping": {
|
|
20
|
-
"description": "Creates an Angular Scheduler component with horizontal grouping of resources.",
|
|
21
|
-
"factory": "./generators/schedule-horizontal-grouping",
|
|
22
|
-
"schema": "./generators/schedule-horizontal-grouping/schema.json"
|
|
23
|
-
},
|
|
24
|
-
"schedule-time-scale": {
|
|
25
|
-
"description": "Creates an Angular Scheduler component with modified timescale options.",
|
|
26
|
-
"factory": "./generators/schedule-time-scale",
|
|
27
|
-
"schema": "./generators/schedule-time-scale/schema.json"
|
|
28
|
-
},
|
|
29
|
-
"schedule-timeline-grouping": {
|
|
30
|
-
"description": "Creates an Angular Scheduler component with grouping of resources in timeline views.",
|
|
31
|
-
"factory": "./generators/schedule-timeline-grouping",
|
|
32
|
-
"schema": "./generators/schedule-timeline-grouping/schema.json"
|
|
33
|
-
},
|
|
34
|
-
"schedule-timeline-views": {
|
|
35
|
-
"description": "Creates an Angular Scheduler component with timeline views",
|
|
36
|
-
"factory": "./generators/schedule-timeline-views",
|
|
37
|
-
"schema": "./generators/schedule-timeline-views/schema.json"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
+
"factory": "./ng-add",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
-
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
-
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
-
|
|
6
|
-
export default function (options: OptionsSchema): Rule {
|
|
7
|
-
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
-
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
-
return install(options, libOptions);
|
|
10
|
-
}
|
|
1
|
+
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
+
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
+
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
+
|
|
6
|
+
export default function (options: OptionsSchema): Rule {
|
|
7
|
+
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
+
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
+
return install(options, libOptions);
|
|
10
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "ngAdd",
|
|
4
|
-
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"skipPackageJson": {
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"default": false,
|
|
10
|
-
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
-
},
|
|
12
|
-
"modules": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"default": "",
|
|
15
|
-
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
-
},
|
|
17
|
-
"modulePath": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"default": "",
|
|
20
|
-
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
-
},
|
|
22
|
-
"theme": {
|
|
23
|
-
"enum": [
|
|
24
|
-
"material",
|
|
25
|
-
"fabric",
|
|
26
|
-
"bootstrap",
|
|
27
|
-
"highcontrast"
|
|
28
|
-
],
|
|
29
|
-
"default": "material",
|
|
30
|
-
"description": "Used to change the theme that needs to be imported"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": []
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface OptionsSchema {
|
|
2
|
-
// Whether to skip package.json install.
|
|
3
|
-
skipPackageJson: boolean;
|
|
4
|
-
|
|
5
|
-
// Used to specify required module names
|
|
6
|
-
modules: string;
|
|
7
|
-
|
|
8
|
-
// Used to specify custom module path
|
|
9
|
-
modulePath: string;
|
|
10
|
-
|
|
11
|
-
// Used to specify theme name
|
|
12
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
-
|
|
14
|
-
// Name of the project to target.
|
|
15
|
-
project?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface LibOptionsSchema {
|
|
19
|
-
// Package name
|
|
20
|
-
pkgName: string;
|
|
21
|
-
|
|
22
|
-
// Package version
|
|
23
|
-
pkgVer: string;
|
|
24
|
-
|
|
25
|
-
// Library base module name
|
|
26
|
-
moduleName: string;
|
|
27
|
-
|
|
28
|
-
// Theme version
|
|
29
|
-
themeVer: string;
|
|
30
|
-
}
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
// Whether to skip package.json install.
|
|
3
|
+
skipPackageJson: boolean;
|
|
4
|
+
|
|
5
|
+
// Used to specify required module names
|
|
6
|
+
modules: string;
|
|
7
|
+
|
|
8
|
+
// Used to specify custom module path
|
|
9
|
+
modulePath: string;
|
|
10
|
+
|
|
11
|
+
// Used to specify theme name
|
|
12
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
+
|
|
14
|
+
// Name of the project to target.
|
|
15
|
+
project?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LibOptionsSchema {
|
|
19
|
+
// Package name
|
|
20
|
+
pkgName: string;
|
|
21
|
+
|
|
22
|
+
// Package version
|
|
23
|
+
pkgVer: string;
|
|
24
|
+
|
|
25
|
+
// Library base module name
|
|
26
|
+
moduleName: string;
|
|
27
|
+
|
|
28
|
+
// Theme version
|
|
29
|
+
themeVer: string;
|
|
30
|
+
}
|
package/schematics/tsconfig.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["es2017", "dom"],
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"noEmitOnError": false,
|
|
7
|
-
"skipDefaultLibCheck": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"target": "es6",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"jasmine",
|
|
14
|
-
"node"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"exclude": [
|
|
18
|
-
"node_modules",
|
|
19
|
-
"src",
|
|
20
|
-
"src/**/*.ts",
|
|
21
|
-
"spec",
|
|
22
|
-
"spec/**/*.ts",
|
|
23
|
-
"@typings"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-schedule";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^31.1.21";
|
|
3
3
|
export declare const moduleName = "ScheduleModule, RecurrenceEditorModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~31.1.21";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-schedule';
|
|
4
|
-
exports.pkgVer = '^31.
|
|
4
|
+
exports.pkgVer = '^31.2.2';
|
|
5
5
|
exports.moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
6
|
-
exports.themeVer = '~31.
|
|
6
|
+
exports.themeVer = '~31.2.2';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const pkgName = '@syncfusion/ej2-angular-schedule';
|
|
2
|
-
export const pkgVer = '^31.
|
|
3
|
-
export const moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
4
|
-
export const themeVer = '~31.
|
|
1
|
+
export const pkgName = '@syncfusion/ej2-angular-schedule';
|
|
2
|
+
export const pkgVer = '^31.2.2';
|
|
3
|
+
export const moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
4
|
+
export const themeVer = '~31.2.2';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
-
const sampleDetails = require("./sample-details");
|
|
5
|
-
function default_1(options) {
|
|
6
|
-
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
-
}
|
|
8
|
-
exports.default = default_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'schedule';
|
|
4
|
-
exports.sampleName = 'agenda-views';
|
|
5
|
-
exports.diModules = 'ResizeService,DragAndDropService,AgendaService,MonthAgendaService';
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-schedule';
|
|
7
|
-
exports.libModules = 'ScheduleModule';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const componentName: string = 'schedule';
|
|
2
|
-
export const sampleName: string = 'agenda-views';
|
|
3
|
-
export const diModules: string = 'ResizeService,DragAndDropService,AgendaService,MonthAgendaService';
|
|
4
|
-
export const packageName: string = '@syncfusion/ej2-angular-schedule';
|
|
5
|
-
export const libModules: string = 'ScheduleModule';
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<div class="col-lg-9 content-wrapper">
|
|
3
|
-
<ejs-schedule #scheduleObj width='100%' height='650px' [selectedDate]="selectedDate" [eventSettings]="eventSettings"
|
|
4
|
-
[currentView]="currentView">
|
|
5
|
-
<e-views>
|
|
6
|
-
<e-view option="Agenda"></e-view>
|
|
7
|
-
<e-view option="MonthAgenda"></e-view>
|
|
8
|
-
</e-views>
|
|
9
|
-
</ejs-schedule>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, ViewChild } from '@angular/core';
|
|
2
|
-
import { EventSettingsModel, View} from '@syncfusion/ej2-angular-schedule';
|
|
3
|
-
import { generateObject } from './assets/datasource';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Agenda views sample
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: '<%=dasherize(selector)%>',
|
|
11
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
12
|
-
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
13
|
-
})
|
|
14
|
-
export class <%= classify(name) %>Component {
|
|
15
|
-
public selectedDate: Date = new Date(2018, 1, 15);
|
|
16
|
-
public currentView: View = "Agenda";
|
|
17
|
-
public eventSettings: EventSettingsModel = { dataSource: generateObject() };
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export function generateObject(start: number = new Date(2017, 6, 1).getTime(), end: number = new Date(2018, 6, 31).getTime()): Object[] {
|
|
2
|
-
let data: Object[] = [];
|
|
3
|
-
let names: string[] = [
|
|
4
|
-
'Story Time for Kids', 'Camping with Turtles', 'Wildlife Warriors', 'Parrot Talk', 'Birds of Prey', 'Croco World',
|
|
5
|
-
'Venomous Snake Hunt', 'Face Painting & Drawing events', 'Pony Rides', 'Feed the Giants', 'Jungle Treasure Hunt',
|
|
6
|
-
'Endangered Species Program', 'Black Cockatoos Playtime', 'Walk with Jungle King', 'Trained Climbers', 'Playtime with Chimpanzees',
|
|
7
|
-
'Meet a small Mammal', 'Amazon Fish Feeding', 'Elephant Ride'
|
|
8
|
-
];
|
|
9
|
-
let dayCount: number = 1000 * 60 * 60;
|
|
10
|
-
for (let a: number = start, id: number = 1; a < end; a += (dayCount * 24) * 2) {
|
|
11
|
-
let count: number = Math.floor((Math.random() * 9) + 1);
|
|
12
|
-
for (let b: number = 0; b < count; b++) {
|
|
13
|
-
let hour: number = Math.floor(Math.random() * 100) % 24;
|
|
14
|
-
let minutes: number = Math.round((Math.floor(Math.random() * 100) % 60) / 5) * 5;
|
|
15
|
-
let nCount: number = Math.floor(Math.random() * names.length);
|
|
16
|
-
let startDate: Date = new Date(new Date(a).setHours(hour, minutes));
|
|
17
|
-
let endDate: Date = new Date(startDate.getTime() + (dayCount * 2.5));
|
|
18
|
-
data.push({
|
|
19
|
-
Id: id,
|
|
20
|
-
Subject: names[nCount],
|
|
21
|
-
StartTime: startDate,
|
|
22
|
-
EndTime: endDate,
|
|
23
|
-
IsAllDay: (id % 10) ? false : true
|
|
24
|
-
});
|
|
25
|
-
id++;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "schedule-agenda-views",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"path": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The path to create the component.",
|
|
11
|
-
"visible": false
|
|
12
|
-
},
|
|
13
|
-
"project": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The name of the project.",
|
|
16
|
-
"$default": {
|
|
17
|
-
"$source": "projectName"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"name": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The name of the component.",
|
|
23
|
-
"$default": {
|
|
24
|
-
"$source": "argv",
|
|
25
|
-
"index": 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"inlineStyle": {
|
|
29
|
-
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": false,
|
|
32
|
-
"alias": "s"
|
|
33
|
-
},
|
|
34
|
-
"inlineTemplate": {
|
|
35
|
-
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false,
|
|
38
|
-
"alias": "t"
|
|
39
|
-
},
|
|
40
|
-
"viewEncapsulation": {
|
|
41
|
-
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
-
"enum": [
|
|
43
|
-
"Emulated",
|
|
44
|
-
"Native",
|
|
45
|
-
"None",
|
|
46
|
-
"ShadowDom"
|
|
47
|
-
],
|
|
48
|
-
"type": "string",
|
|
49
|
-
"alias": "v"
|
|
50
|
-
},
|
|
51
|
-
"changeDetection": {
|
|
52
|
-
"description": "Specifies the change detection strategy.",
|
|
53
|
-
"enum": [
|
|
54
|
-
"Default",
|
|
55
|
-
"OnPush"
|
|
56
|
-
],
|
|
57
|
-
"type": "string",
|
|
58
|
-
"default": "Default",
|
|
59
|
-
"alias": "c"
|
|
60
|
-
},
|
|
61
|
-
"prefix": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "The prefix to apply to generated selectors.",
|
|
64
|
-
"alias": "p",
|
|
65
|
-
"oneOf": [
|
|
66
|
-
{
|
|
67
|
-
"maxLength": 0
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"minLength": 1,
|
|
71
|
-
"format": "html-selector"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"styleext": {
|
|
76
|
-
"description": "The file extension to be used for style files.",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"default": "css"
|
|
79
|
-
},
|
|
80
|
-
"spec": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Specifies if a spec file is generated.",
|
|
83
|
-
"default": true
|
|
84
|
-
},
|
|
85
|
-
"flat": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "Flag to indicate if a dir is created.",
|
|
88
|
-
"default": false
|
|
89
|
-
},
|
|
90
|
-
"skipImport": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Flag to skip the module import.",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"selector": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"format": "html-selector",
|
|
98
|
-
"description": "The selector to use for the component."
|
|
99
|
-
},
|
|
100
|
-
"module": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "Allows specification of the declaring module.",
|
|
103
|
-
"alias": "m"
|
|
104
|
-
},
|
|
105
|
-
"export": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"default": false,
|
|
108
|
-
"description": "Specifies if declaring module exports the component."
|
|
109
|
-
},
|
|
110
|
-
"entryComponent": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"default": false,
|
|
113
|
-
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
-
},
|
|
115
|
-
"lintFix": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"default": false,
|
|
118
|
-
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"name"
|
|
123
|
-
],
|
|
124
|
-
"id": "schedule-agenda-views"
|
|
125
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
-
const sampleDetails = require("./sample-details");
|
|
5
|
-
function default_1(options) {
|
|
6
|
-
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
-
}
|
|
8
|
-
exports.default = default_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'schedule';
|
|
4
|
-
exports.sampleName = 'calendar-views';
|
|
5
|
-
exports.diModules = 'DayService,WeekService,WorkWeekService,MonthService,AgendaService,ResizeService,DragAndDropService';
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-schedule';
|
|
7
|
-
exports.libModules = 'ScheduleModule';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const componentName: string = 'schedule';
|
|
2
|
-
export const sampleName: string = 'calendar-views';
|
|
3
|
-
export const diModules: string = 'DayService,WeekService,WorkWeekService,MonthService,AgendaService,ResizeService,DragAndDropService';
|
|
4
|
-
export const packageName: string = '@syncfusion/ej2-angular-schedule';
|
|
5
|
-
export const libModules: string = 'ScheduleModule';
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<div class="content-wrapper">
|
|
3
|
-
<ejs-schedule [eventSettings]="eventSettings" height='550px' [selectedDate]="currentDate">
|
|
4
|
-
<e-views>
|
|
5
|
-
<e-view option="Day"></e-view>
|
|
6
|
-
<e-view option="Week"></e-view>
|
|
7
|
-
<e-view option="WorkWeek"></e-view>
|
|
8
|
-
<e-view option="Month"></e-view>
|
|
9
|
-
</e-views>
|
|
10
|
-
</ejs-schedule>
|
|
11
|
-
</div>
|