@syncfusion/ej2-vue-schedule 32.1.19 → 32.1.20

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.
@@ -1,2 +1,11 @@
1
+ /*!
2
+ * filename: ej2-vue-schedule.umd.min.js
3
+ * version : 32.1.20
4
+ * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
1
10
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-schedule"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-schedule","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t((e=e||self).ej={},e.ej2Schedule,e.ej2VueBase,e.ej2Base)}(this,function(t,n,r,o){"use strict";var s=r.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!r.isExecute)return t=null,(r.isExecute?e:r.gh)("div",{class:"e-directive"},t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!r.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-views"}}}),i={name:"e-views",install:function(e){e.component(i.name,s)}},c=r.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-view"}}}),a={name:"e-view",install:function(e){e.component(a.name,c)}},u=r.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!r.isExecute)return t=null,(r.isExecute?e:r.gh)("div",{class:"e-directive"},t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!r.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-resources"}}}),l={name:"e-resources",install:function(e){e.component(l.name,u)}},d=r.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-resource"}}}),h={name:"e-resource",install:function(e){e.component(h.name,d)}},m=r.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!r.isExecute)return t=null,(r.isExecute?e:r.gh)("div",{class:"e-directive"},t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!r.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-header-rows"}}}),p={name:"e-header-rows",install:function(e){e.component(p.name,m)}},f=r.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-header-row"}}}),g={name:"e-header-row",install:function(e){e.component(g.name,f)}},I=r.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!r.isExecute)return t=null,(r.isExecute?e:r.gh)("div",{class:"e-directive"},t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!r.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-toolbaritems"}}}),j={name:"e-toolbaritems",install:function(e){e.component(j.name,I)}},v=r.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-toolbaritem"}}}),E={name:"e-toolbaritem",install:function(e){e.component(E.name,v)}},e=["isLazyUpdate","plugins","agendaDaysCount","allowClipboard","allowDragAndDrop","allowInline","allowKeyboardInteraction","allowMultiCellSelection","allowMultiDrag","allowMultiRowSelection","allowOverlap","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","overscanCount","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","beforePaste","beforePrint","cellClick","cellDoubleClick","created","dataBinding","dataBound","destroyed","drag","dragStart","dragStop","eventClick","eventDoubleClick","eventRendered","excelExport","hover","moreEventsClick","navigating","popupClose","popupOpen","renderCell","resizeStart","resizeStop","resizing","select","tooltipOpen","virtualScrollStart","virtualScrollStop"],w=["currentView","selectedDate"],R=r.getProps({props:e}),C=R[0],R=R[1],D=Object.keys(R);D.push("modelchanged","update:modelValue");for(var y=0,x=w;y<x.length;y++)D.push("update:"+x[y]);var T=r.vueDefineComponent({name:"ScheduleComponent",mixins:[r.ComponentBase],props:C,watch:R,emits:D,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new n.Schedule({}),propKeys:e,models:w,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-views":"e-view","e-resources":"e-resource","e-header-rows":"e-header-row","e-toolbaritems":"e-toolbaritem"},tagNameMapper:{"e-header-rows":"e-headerRows","e-toolbaritems":"e-toolbarItems"},isVue3:!r.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=null;return(r.isExecute?e:r.gh)("div",t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},methods:{clearTemplate:function(e){if((e=e||Object.keys(this.templateCollection||{})).length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var s=n[t],i=this.templateCollection[s];if(i&&i.length){for(var r=0,o=i;r<o.length;r++){var c=o[r];this.destroyPortals(c)}delete this.templateCollection[s]}}},setProperties:function(n,e){var s=this;this.isVue3&&(this.models=this.models||this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(n,e),n&&this.models&&this.models.length&&Object.keys(n).map(function(t){s.models.map(function(e){t!==e||/datasource/i.test(t)||(s.isVue3?s.ej2Instances.vueInstance.$emit("update:"+t,n[t]):(s.$emit("update:"+t,n[t]),s.$emit("modelchanged",n[t])))})})},trigger:function(e,t,n){var s,i;r.isExecute||(this.models=this.models||this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length?"actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length&&(i=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0],t)&&s&&!o.isUndefined(t[i])&&(r.isExecute?(this.$emit("update:"+i,t[i]),this):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance)).$emit("modelchanged",t[i]):(i=(s=this.models.toString().match(/checked|value/)||[])[0],t&&s&&!o.isUndefined(t[i])&&(r.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+i,t[i]),this.$emit("modelchanged",t[i])):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance.$emit("modelchanged",t[i]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[i])))),this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},custom:function(){this.updated()},addEvent:function(e){return this.ej2Instances.addEvent(e)},addResource:function(e,t,n){return this.ej2Instances.addResource(e,t,n)},changeCurrentView:function(e,t){return this.ej2Instances.changeCurrentView(e,t)},closeEditor:function(){return this.ej2Instances.closeEditor()},closeOverlapAlert:function(){return this.ej2Instances.closeOverlapAlert()},closeQuickInfoPopup:function(){return this.ej2Instances.closeQuickInfoPopup()},closeTooltip:function(){return this.ej2Instances.closeTooltip()},collapseResource:function(e,t){return this.ej2Instances.collapseResource(e,t)},copy:function(e){return this.ej2Instances.copy(e)},cut:function(e){return this.ej2Instances.cut(e)},deleteEvent:function(e,t){return this.ej2Instances.deleteEvent(e,t)},destroy:function(){return this.ej2Instances.destroy()},expandResource:function(e,t){return this.ej2Instances.expandResource(e,t)},exportToExcel:function(e){return this.ej2Instances.exportToExcel(e)},exportToICalendar:function(e,t){return this.ej2Instances.exportToICalendar(e,t)},generateEventOccurrences:function(e,t){return this.ej2Instances.generateEventOccurrences(e,t)},getBlockEvents:function(e,t,n){return this.ej2Instances.getBlockEvents(e,t,n)},getCellDetails:function(e){return this.ej2Instances.getCellDetails(e)},getCurrentViewDates:function(){return this.ej2Instances.getCurrentViewDates()},getCurrentViewEvents:function(){return this.ej2Instances.getCurrentViewEvents()},getCurrentViewIndex:function(){return this.ej2Instances.getCurrentViewIndex()},getDateRangeText:function(e){return this.ej2Instances.getDateRangeText(e)},getDeletedOccurrences:function(e){return this.ej2Instances.getDeletedOccurrences(e)},getEventDetails:function(e){return this.ej2Instances.getEventDetails(e)},getEventMaxID:function(){return this.ej2Instances.getEventMaxID()},getEventTemplateName:function(e){return this.ej2Instances.getEventTemplateName(e)},getEvents:function(e,t,n){return this.ej2Instances.getEvents(e,t,n)},getIndexFromResourceId:function(e,t){return this.ej2Instances.getIndexFromResourceId(e,t)},getOccurrencesByID:function(e){return this.ej2Instances.getOccurrencesByID(e)},getOccurrencesByRange:function(e,t){return this.ej2Instances.getOccurrencesByRange(e,t)},getResourceCollections:function(){return this.ej2Instances.getResourceCollections()},getResourcesByIndex:function(e){return this.ej2Instances.getResourcesByIndex(e)},getSelectedElements:function(){return this.ej2Instances.getSelectedElements()},getViewDates:function(e){return this.ej2Instances.getViewDates(e)},hideSpinner:function(){return this.ej2Instances.hideSpinner()},importICalendar:function(e){return this.ej2Instances.importICalendar(e)},isSlotAvailable:function(e,t,n){return this.ej2Instances.isSlotAvailable(e,t,n)},openEditor:function(e,t,n,s){return this.ej2Instances.openEditor(e,t,n,s)},openOverlapAlert:function(e){return this.ej2Instances.openOverlapAlert(e)},openQuickInfoPopup:function(e){return this.ej2Instances.openQuickInfoPopup(e)},paste:function(e){return this.ej2Instances.paste(e)},print:function(e){return this.ej2Instances.print(e)},refreshEvents:function(e){return this.ej2Instances.refreshEvents(e)},refreshLayout:function(){return this.ej2Instances.refreshLayout()},refreshTemplates:function(e){return this.ej2Instances.refreshTemplates(e)},removeResource:function(e,t){return this.ej2Instances.removeResource(e,t)},resetWorkHours:function(e,t,n,s){return this.ej2Instances.resetWorkHours(e,t,n,s)},saveEvent:function(e,t){return this.ej2Instances.saveEvent(e,t)},scrollTo:function(e,t){return this.ej2Instances.scrollTo(e,t)},scrollToResource:function(e,t){return this.ej2Instances.scrollToResource(e,t)},selectResourceByIndex:function(e){return this.ej2Instances.selectResourceByIndex(e)},setRecurrenceEditor:function(e){return this.ej2Instances.setRecurrenceEditor(e)},setResourceCollections:function(e,t){return this.ej2Instances.setResourceCollections(e,t)},setWorkHours:function(e,t,n,s){return this.ej2Instances.setWorkHours(e,t,n,s)},showSpinner:function(){return this.ej2Instances.showSpinner()}}}),b={name:"ejs-schedule",install:function(e){e.component(b.name,T),e.component(a.name,c),e.component(i.name,s),e.component(h.name,d),e.component(l.name,u),e.component(g.name,f),e.component(p.name,m),e.component(E.name,v),e.component(j.name,I)}},P=["isLazyUpdate","plugins","calendarMode","cssClass","dateFormat","enablePersistence","enableRtl","endTypes","firstDayOfWeek","frequencies","locale","maxDate","minDate","selectedType","startDate","value","change","created","destroyed"],O=[],C=r.getProps({props:P}),R=C[0],C=C[1],S=Object.keys(C);S.push("modelchanged","update:modelValue");for(var $=0,k=O;$<k.length;$++)S.push("update:"+k[$]);var V=r.vueDefineComponent({name:"RecurrenceEditorComponent",mixins:[r.ComponentBase],props:R,watch:C,emits:S,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new n.RecurrenceEditor({}),propKeys:P,models:O,hasChildDirective:!1,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!r.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=null;return(r.isExecute?e:r.gh)("div",t=o.isNullOrUndefined(this.$slots.default)?t:r.isExecute?this.$slots.default:this.$slots.default())},methods:{clearTemplate:function(e){if((e=e||Object.keys(this.templateCollection||{})).length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var s=n[t],i=this.templateCollection[s];if(i&&i.length){for(var r=0,o=i;r<o.length;r++){var c=o[r];this.destroyPortals(c)}delete this.templateCollection[s]}}},setProperties:function(n,e){var s=this;this.isVue3&&(this.models=this.models||this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(n,e),n&&this.models&&this.models.length&&Object.keys(n).map(function(t){s.models.map(function(e){t!==e||/datasource/i.test(t)||(s.isVue3?s.ej2Instances.vueInstance.$emit("update:"+t,n[t]):(s.$emit("update:"+t,n[t]),s.$emit("modelchanged",n[t])))})})},custom:function(){this.updated()},destroy:function(){return this.ej2Instances.destroy()},getRecurrenceDates:function(e,t,n,s,i){return this.ej2Instances.getRecurrenceDates(e,t,n,s,i)},getRecurrenceRule:function(){return this.ej2Instances.getRecurrenceRule()},getRuleSummary:function(e){return this.ej2Instances.getRuleSummary(e)},resetFields:function(){return this.ej2Instances.resetFields()},setRecurrenceRule:function(e,t){return this.ej2Instances.setRecurrenceRule(e,t)},updateRuleUntilDate:function(e){return this.ej2Instances.updateRuleUntilDate(e)}}}),H={name:"ejs-recurrenceeditor",install:function(e){e.component(H.name,V)}};Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),t.HeaderRowDirective=f,t.HeaderRowPlugin=g,t.HeaderRowsDirective=m,t.HeaderRowsPlugin=p,t.RecurrenceEditorComponent=V,t.RecurrenceEditorPlugin=H,t.ResourceDirective=d,t.ResourcePlugin=h,t.ResourcesDirective=u,t.ResourcesPlugin=l,t.ScheduleComponent=T,t.SchedulePlugin=b,t.ToolbarItemDirective=v,t.ToolbarItemPlugin=E,t.ToolbarItemsDirective=I,t.ToolbarItemsPlugin=j,t.ViewDirective=c,t.ViewPlugin=a,t.ViewsDirective=s,t.ViewsPlugin=i,Object.defineProperty(t,"__esModule",{value:!0})});
2
11
  //# sourceMappingURL=ej2-vue-schedule.umd.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-vue-schedule",
3
- "version": "32.1.19",
3
+ "version": "32.1.20",
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 Vue",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -21,8 +21,8 @@
21
21
  "readme": "ReadMe.md",
22
22
  "dependencies": {
23
23
  "@syncfusion/ej2-base": "~32.1.19",
24
- "@syncfusion/ej2-vue-base": "~32.1.19",
25
- "@syncfusion/ej2-schedule": "32.1.19"
24
+ "@syncfusion/ej2-vue-base": "~32.1.20",
25
+ "@syncfusion/ej2-schedule": "32.1.20"
26
26
  },
27
27
  "devDependencies": {},
28
28
  "scripts": {