@syncfusion/ej2-vue-schedule 23.2.7 → 24.2.3
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/README.md +1 -1
- package/dist/ej2-vue-schedule.umd.min.js +2 -2
- package/dist/ej2-vue-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-schedule.es2015.js +68 -6
- package/dist/es6/ej2-vue-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-schedule.es5.js +68 -6
- package/dist/es6/ej2-vue-schedule.es5.js.map +1 -1
- package/dist/global/ej2-vue-schedule.min.js +2 -2
- package/package.json +9 -9
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/recurrence-editor/recurrenceeditor.component.js +1 -1
- package/src/schedule/index.d.ts +1 -0
- package/src/schedule/index.js +1 -0
- package/src/schedule/schedule.component.js +7 -4
- package/src/schedule/toolbaritems.directive.d.ts +25 -0
- package/src/schedule/toolbaritems.directive.js +61 -0
- package/styles/bootstrap-dark.css +1 -4546
- package/styles/bootstrap.css +1 -4541
- package/styles/bootstrap4.css +1 -4650
- package/styles/bootstrap5-dark.css +1 -4595
- package/styles/bootstrap5.css +1 -4595
- package/styles/fabric-dark.css +1 -4513
- package/styles/fabric.css +1 -4503
- package/styles/fluent-dark.css +1 -4572
- package/styles/fluent.css +1 -4572
- package/styles/highcontrast-light.css +1 -4585
- package/styles/highcontrast.css +1 -4594
- package/styles/material-dark.css +1 -4529
- package/styles/material.css +1 -4565
- package/styles/material3-dark.css +1 -4687
- package/styles/material3.css +1 -4799
- package/styles/recurrence-editor/bootstrap-dark.css +1 -510
- package/styles/recurrence-editor/bootstrap.css +1 -510
- package/styles/recurrence-editor/bootstrap4.css +1 -555
- package/styles/recurrence-editor/bootstrap5-dark.css +1 -551
- package/styles/recurrence-editor/bootstrap5.css +1 -551
- package/styles/recurrence-editor/fabric-dark.css +1 -486
- package/styles/recurrence-editor/fabric.css +1 -479
- package/styles/recurrence-editor/fluent-dark.css +1 -531
- package/styles/recurrence-editor/fluent.css +1 -531
- package/styles/recurrence-editor/highcontrast-light.css +1 -483
- package/styles/recurrence-editor/highcontrast.css +1 -483
- package/styles/recurrence-editor/material-dark.css +1 -511
- package/styles/recurrence-editor/material.css +1 -536
- package/styles/recurrence-editor/material3-dark.css +1 -601
- package/styles/recurrence-editor/material3.css +1 -657
- package/styles/recurrence-editor/tailwind-dark.css +1 -499
- package/styles/recurrence-editor/tailwind.css +1 -499
- package/styles/schedule/bootstrap-dark.css +1 -4140
- package/styles/schedule/bootstrap.css +1 -4135
- package/styles/schedule/bootstrap4.css +1 -4244
- package/styles/schedule/bootstrap5-dark.css +1 -4189
- package/styles/schedule/bootstrap5.css +1 -4189
- package/styles/schedule/fabric-dark.css +1 -4107
- package/styles/schedule/fabric.css +1 -4097
- package/styles/schedule/fluent-dark.css +1 -4166
- package/styles/schedule/fluent.css +1 -4166
- package/styles/schedule/highcontrast-light.css +1 -4179
- package/styles/schedule/highcontrast.css +1 -4188
- package/styles/schedule/material-dark.css +1 -4123
- package/styles/schedule/material.css +1 -4159
- package/styles/schedule/material3-dark.css +1 -4226
- package/styles/schedule/material3.css +1 -4282
- package/styles/schedule/tailwind-dark.css +1 -4130
- package/styles/schedule/tailwind.css +1 -4130
- package/styles/tailwind-dark.css +1 -4536
- package/styles/tailwind.css +1 -4536
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-schedule@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-schedule@24.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-n9QmPiC+liv4nQJKT8DttTnFHMPxVbXIYJQaFM4Pr+WZYvKD4w5hM/z1zi5LqOfnwSTOeFvoyP5WmeqNijgUzw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-schedule/-/ej2-vue-schedule-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-schedule/-/ej2-vue-schedule-24.1.41.tgz",
|
|
23
|
+
"_shasum": "1f700c89b3faaa496fcc34e925aac2fd80f6d0b2",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-schedule@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-schedule": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~24.2.3",
|
|
35
|
+
"@syncfusion/ej2-schedule": "24.2.3",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~24.2.3"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"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 Vue",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"ci-publish": "gulp ci-publish",
|
|
60
60
|
"compile": "gulp ci-compile && gulp vue-global-script"
|
|
61
61
|
},
|
|
62
|
-
"version": "
|
|
62
|
+
"version": "24.2.3",
|
|
63
63
|
"sideEffects": false
|
|
64
64
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ export * from '@syncfusion/ej2-schedule';
|
|
|
2
2
|
export { ViewsDirective, ViewDirective, ViewsPlugin, ViewPlugin } from './schedule/views.directive';
|
|
3
3
|
export { ResourcesDirective, ResourceDirective, ResourcesPlugin, ResourcePlugin } from './schedule/resources.directive';
|
|
4
4
|
export { HeaderRowsDirective, HeaderRowDirective, HeaderRowsPlugin, HeaderRowPlugin } from './schedule/headerrows.directive';
|
|
5
|
+
export { ToolbarItemsDirective, ToolbarItemDirective, ToolbarItemsPlugin, ToolbarItemPlugin } from './schedule/toolbaritems.directive';
|
|
5
6
|
export { ScheduleComponent, SchedulePlugin } from './schedule/schedule.component';
|
|
6
7
|
export { RecurrenceEditorComponent, RecurrenceEditorPlugin } from './recurrence-editor/recurrenceeditor.component';
|
package/src/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from '@syncfusion/ej2-schedule';
|
|
|
2
2
|
export { ViewsDirective, ViewDirective, ViewsPlugin, ViewPlugin } from './schedule/views.directive';
|
|
3
3
|
export { ResourcesDirective, ResourceDirective, ResourcesPlugin, ResourcePlugin } from './schedule/resources.directive';
|
|
4
4
|
export { HeaderRowsDirective, HeaderRowDirective, HeaderRowsPlugin, HeaderRowPlugin } from './schedule/headerrows.directive';
|
|
5
|
+
export { ToolbarItemsDirective, ToolbarItemDirective, ToolbarItemsPlugin, ToolbarItemPlugin } from './schedule/toolbaritems.directive';
|
|
5
6
|
export { ScheduleComponent, SchedulePlugin } from './schedule/schedule.component';
|
|
6
7
|
export { RecurrenceEditorComponent, RecurrenceEditorPlugin } from './recurrence-editor/recurrenceeditor.component';
|
|
@@ -25,7 +25,7 @@ export var RecurrenceEditorComponent = vueDefineComponent({
|
|
|
25
25
|
provide: function () { return { custom: this.custom }; },
|
|
26
26
|
data: function () {
|
|
27
27
|
return {
|
|
28
|
-
|
|
28
|
+
ej2Instances: new RecurrenceEditor({}),
|
|
29
29
|
propKeys: properties,
|
|
30
30
|
models: modelProps,
|
|
31
31
|
hasChildDirective: false,
|
package/src/schedule/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { ViewsDirective, ViewDirective, ViewsPlugin, ViewPlugin } from './views.directive';
|
|
2
2
|
export { ResourcesDirective, ResourceDirective, ResourcesPlugin, ResourcePlugin } from './resources.directive';
|
|
3
3
|
export { HeaderRowsDirective, HeaderRowDirective, HeaderRowsPlugin, HeaderRowPlugin } from './headerrows.directive';
|
|
4
|
+
export { ToolbarItemsDirective, ToolbarItemDirective, ToolbarItemsPlugin, ToolbarItemPlugin } from './toolbaritems.directive';
|
|
4
5
|
export { ScheduleComponent, SchedulePlugin } from './schedule.component';
|
package/src/schedule/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { ViewsDirective, ViewDirective, ViewsPlugin, ViewPlugin } from './views.directive';
|
|
2
2
|
export { ResourcesDirective, ResourceDirective, ResourcesPlugin, ResourcePlugin } from './resources.directive';
|
|
3
3
|
export { HeaderRowsDirective, HeaderRowDirective, HeaderRowsPlugin, HeaderRowPlugin } from './headerrows.directive';
|
|
4
|
+
export { ToolbarItemsDirective, ToolbarItemDirective, ToolbarItemsPlugin, ToolbarItemPlugin } from './toolbaritems.directive';
|
|
4
5
|
export { ScheduleComponent, SchedulePlugin } from './schedule.component';
|
|
@@ -5,7 +5,8 @@ import { Schedule } from '@syncfusion/ej2-schedule';
|
|
|
5
5
|
import { ViewsDirective, ViewDirective, ViewsPlugin, ViewPlugin } from './views.directive';
|
|
6
6
|
import { ResourcesDirective, ResourceDirective, ResourcesPlugin, ResourcePlugin } from './resources.directive';
|
|
7
7
|
import { HeaderRowsDirective, HeaderRowDirective, HeaderRowsPlugin, HeaderRowPlugin } from './headerrows.directive';
|
|
8
|
-
|
|
8
|
+
import { ToolbarItemsDirective, ToolbarItemDirective, ToolbarItemsPlugin, ToolbarItemPlugin } from './toolbaritems.directive';
|
|
9
|
+
export var properties = ['isLazyUpdate', 'plugins', 'agendaDaysCount', 'allowDragAndDrop', 'allowInline', 'allowKeyboardInteraction', 'allowMultiCellSelection', 'allowMultiDrag', 'allowMultiRowSelection', 'allowResizing', 'allowSwiping', 'calendarMode', 'cellHeaderTemplate', 'cellTemplate', 'cssClass', 'currentView', 'dateFormat', 'dateHeaderTemplate', 'dateRangeTemplate', 'dayHeaderTemplate', 'editorFooterTemplate', 'editorHeaderTemplate', 'editorTemplate', 'enableAdaptiveUI', 'enableAllDayScroll', 'enableHtmlSanitizer', 'enablePersistence', 'enableRecurrenceValidation', 'enableRtl', 'endHour', 'eventDragArea', 'eventSettings', 'firstDayOfWeek', 'firstMonthOfYear', 'group', 'headerIndentTemplate', 'headerRows', 'height', 'hideEmptyAgendaDays', 'locale', 'maxDate', 'minDate', 'monthHeaderTemplate', 'monthsCount', 'quickInfoOnSelectionEnd', 'quickInfoTemplates', 'readonly', 'resourceHeaderTemplate', 'resources', 'rowAutoHeight', 'selectedDate', 'showHeaderBar', 'showQuickInfo', 'showTimeIndicator', 'showWeekNumber', 'showWeekend', 'startHour', 'timeFormat', 'timeScale', 'timezone', 'timezoneDataSource', 'toolbarItems', 'views', 'weekRule', 'width', 'workDays', 'workHours', 'actionBegin', 'actionComplete', 'actionFailure', 'cellClick', 'cellDoubleClick', 'created', 'dataBinding', 'dataBound', 'destroyed', 'drag', 'dragStart', 'dragStop', 'eventClick', 'eventDoubleClick', 'eventRendered', 'hover', 'moreEventsClick', 'navigating', 'popupClose', 'popupOpen', 'renderCell', 'resizeStart', 'resizeStop', 'resizing', 'select', 'virtualScrollStart', 'virtualScrollStop'];
|
|
9
10
|
export var modelProps = ['currentView', 'selectedDate'];
|
|
10
11
|
export var testProp = getProps({ props: properties });
|
|
11
12
|
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
@@ -30,13 +31,13 @@ export var ScheduleComponent = vueDefineComponent({
|
|
|
30
31
|
provide: function () { return { custom: this.custom }; },
|
|
31
32
|
data: function () {
|
|
32
33
|
return {
|
|
33
|
-
|
|
34
|
+
ej2Instances: new Schedule({}),
|
|
34
35
|
propKeys: properties,
|
|
35
36
|
models: modelProps,
|
|
36
37
|
hasChildDirective: true,
|
|
37
38
|
hasInjectedModules: true,
|
|
38
|
-
tagMapper: { "e-views": "e-view", "e-resources": "e-resource", "e-header-rows": "e-header-row" },
|
|
39
|
-
tagNameMapper: { "e-header-rows": "e-headerRows" },
|
|
39
|
+
tagMapper: { "e-views": "e-view", "e-resources": "e-resource", "e-header-rows": "e-header-row", "e-toolbaritems": "e-toolbaritem" },
|
|
40
|
+
tagNameMapper: { "e-header-rows": "e-headerRows", "e-toolbaritems": "e-toolbarItems" },
|
|
40
41
|
isVue3: !isExecute,
|
|
41
42
|
templateCollection: {},
|
|
42
43
|
};
|
|
@@ -299,5 +300,7 @@ export var SchedulePlugin = {
|
|
|
299
300
|
Vue.component(ResourcesPlugin.name, ResourcesDirective);
|
|
300
301
|
Vue.component(HeaderRowPlugin.name, HeaderRowDirective);
|
|
301
302
|
Vue.component(HeaderRowsPlugin.name, HeaderRowsDirective);
|
|
303
|
+
Vue.component(ToolbarItemPlugin.name, ToolbarItemDirective);
|
|
304
|
+
Vue.component(ToolbarItemsPlugin.name, ToolbarItemsDirective);
|
|
302
305
|
}
|
|
303
306
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DefineVueDirective } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ToolbarItemModel } from '@syncfusion/ej2-schedule';
|
|
3
|
+
export declare let ToolbarItemsDirective: any;
|
|
4
|
+
export declare const ToolbarItemsPlugin: {
|
|
5
|
+
name: string;
|
|
6
|
+
install(Vue: any): void;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* `e-toolbaritems` directive represent a custom toolbar items of the VueJS Schedule.
|
|
10
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
11
|
+
* ```vue
|
|
12
|
+
* <ejs-schedule>
|
|
13
|
+
* <e-toolbaritems>
|
|
14
|
+
* <e-toolbaritem name='Today'></<e-toolbaritem>
|
|
15
|
+
* <e-toolbaritem name='DateRangeText'></e-toolbaritem>
|
|
16
|
+
* <e-toolbaritem prefixIcon='e-icons e-cut' text='Cut'></e-toolbaritem>
|
|
17
|
+
* <e-toolbaritems>
|
|
18
|
+
* </ejs-schedule>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare let ToolbarItemDirective: DefineVueDirective<ToolbarItemModel>;
|
|
22
|
+
export declare const ToolbarItemPlugin: {
|
|
23
|
+
name: string;
|
|
24
|
+
install(Vue: any): void;
|
|
25
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
3
|
+
export var ToolbarItemsDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
6
|
+
if (!isExecute) {
|
|
7
|
+
var h = !isExecute ? gh : createElement;
|
|
8
|
+
var slots = null;
|
|
9
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
10
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
11
|
+
}
|
|
12
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
13
|
+
}
|
|
14
|
+
return;
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
17
|
+
if (!isExecute && this.custom) {
|
|
18
|
+
this.custom();
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-toolbaritems';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export var ToolbarItemsPlugin = {
|
|
28
|
+
name: 'e-toolbaritems',
|
|
29
|
+
install: function (Vue) {
|
|
30
|
+
Vue.component(ToolbarItemsPlugin.name, ToolbarItemsDirective);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* `e-toolbaritems` directive represent a custom toolbar items of the VueJS Schedule.
|
|
35
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
36
|
+
* ```vue
|
|
37
|
+
* <ejs-schedule>
|
|
38
|
+
* <e-toolbaritems>
|
|
39
|
+
* <e-toolbaritem name='Today'></<e-toolbaritem>
|
|
40
|
+
* <e-toolbaritem name='DateRangeText'></e-toolbaritem>
|
|
41
|
+
* <e-toolbaritem prefixIcon='e-icons e-cut' text='Cut'></e-toolbaritem>
|
|
42
|
+
* <e-toolbaritems>
|
|
43
|
+
* </ejs-schedule>
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export var ToolbarItemDirective = vueDefineComponent({
|
|
47
|
+
render: function () {
|
|
48
|
+
return;
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
getTag: function () {
|
|
52
|
+
return 'e-toolbaritem';
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export var ToolbarItemPlugin = {
|
|
57
|
+
name: 'e-toolbaritem',
|
|
58
|
+
install: function (Vue) {
|
|
59
|
+
Vue.component(ToolbarItemPlugin.name, ToolbarItemDirective);
|
|
60
|
+
}
|
|
61
|
+
};
|