@syncfusion/ej2-vue-kanban
Advanced tools
Comparing version 27.2.2 to 27.2.3
/*! | ||
* filename: ej2-vue-kanban.umd.min.js | ||
* version : 27.2.2 | ||
* version : 27.2.3 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-kanban"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-kanban","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t((e=e||self).ej={},e.ej2Kanban,e.ej2VueBase,e.ej2Base)}(this,function(t,n,s,a){"use strict";var i=s.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!s.isExecute)return t=null,(s.isExecute?e:s.gh)("div",{class:"e-directive"},t=a.isNullOrUndefined(this.$slots.default)?t:s.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!s.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),o={name:"e-columns",install:function(e){e.component(o.name,i)}},r=s.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),u={name:"e-column",install:function(e){e.component(u.name,r)}},c=s.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!s.isExecute)return t=null,(s.isExecute?e:s.gh)("div",{class:"e-directive"},t=a.isNullOrUndefined(this.$slots.default)?t:s.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!s.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-stackedHeaders"}}}),l={name:"e-stackedHeaders",install:function(e){e.component(l.name,c)}},d=s.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-stackedHeader"}}}),m={name:"e-stackedHeader",install:function(e){e.component(m.name,d)}},e=["isLazyUpdate","plugins","allowDragAndDrop","allowKeyboard","cardHeight","cardSettings","columns","constraintType","cssClass","dataSource","dialogSettings","enableHtmlSanitizer","enablePersistence","enableRtl","enableTooltip","enableVirtualization","externalDropId","height","keyField","locale","query","showEmptyColumn","sortSettings","stackedHeaders","swimlaneSettings","tooltipTemplate","width","actionBegin","actionComplete","actionFailure","cardClick","cardDoubleClick","cardRendered","created","dataBinding","dataBound","dataSourceChanged","dataStateChange","dialogClose","dialogOpen","drag","dragStart","dragStop","queryCellInfo"],h=[],f=s.getProps({props:e}),p=f[0],f=f[1],g=Object.keys(f);g.push("modelchanged","update:modelValue");for(var j=0,C=h;j<C.length;j++)g.push("update:"+C[j]);var I=s.vueDefineComponent({name:"KanbanComponent",mixins:[s.ComponentBase],props:p,watch:f,emits:g,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new n.Kanban({}),propKeys:e,models:h,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{"e-columns":"e-column","e-stackedHeaders":"e-stackedHeader"},tagNameMapper:{},isVue3:!s.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(s.isExecute?e:s.gh)("div",t=a.isNullOrUndefined(this.$slots.default)?t:s.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],a=this.templateCollection[s];if(a&&a.length){for(var i=0,o=a;i<o.length;i++){var r=o[i];this.destroyPortals(r)}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()},addCard:function(e,t){return this.ej2Instances.addCard(e,t)},addColumn:function(e,t){return this.ej2Instances.addColumn(e,t)},closeDialog:function(){return this.ej2Instances.closeDialog()},deleteCard:function(e){return this.ej2Instances.deleteCard(e)},deleteColumn:function(e){return this.ej2Instances.deleteColumn(e)},getCardDetails:function(e){return this.ej2Instances.getCardDetails(e)},getColumnData:function(e,t){return this.ej2Instances.getColumnData(e,t)},getSelectedCards:function(){return this.ej2Instances.getSelectedCards()},getSwimlaneData:function(e){return this.ej2Instances.getSwimlaneData(e)},hideColumn:function(e){return this.ej2Instances.hideColumn(e)},hideSpinner:function(){return this.ej2Instances.hideSpinner()},openDialog:function(e,t){return this.ej2Instances.openDialog(e,t)},refreshHeader:function(){return this.ej2Instances.refreshHeader()},refreshUI:function(e,t){return this.ej2Instances.refreshUI(e,t)},renderTemplates:function(){return this.ej2Instances.renderTemplates()},resetTemplates:function(e){return this.ej2Instances.resetTemplates(e)},showColumn:function(e){return this.ej2Instances.showColumn(e)},showSpinner:function(){return this.ej2Instances.showSpinner()},templateParser:function(e){return this.ej2Instances.templateParser(e)},updateCard:function(e,t){return this.ej2Instances.updateCard(e,t)}}}),v={name:"ejs-kanban",install:function(e){e.component(v.name,I),e.component(u.name,r),e.component(o.name,i),e.component(m.name,d),e.component(l.name,c)}};Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),t.ColumnDirective=r,t.ColumnPlugin=u,t.ColumnsDirective=i,t.ColumnsPlugin=o,t.KanbanComponent=I,t.KanbanPlugin=v,t.StackedHeaderDirective=d,t.StackedHeaderPlugin=m,t.StackedHeadersDirective=c,t.StackedHeadersPlugin=l,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-kanban"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-kanban","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t((e=e||self).ej={},e.ej2Kanban,e.ej2VueBase,e.ej2Base)}(this,function(t,n,s,a){"use strict";var i=s.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!s.isExecute)return t=null,(s.isExecute?e:s.gh)("div",{class:"e-directive"},t=a.isNullOrUndefined(this.$slots.default)?t:s.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!s.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),o={name:"e-columns",install:function(e){e.component(o.name,i)}},r=s.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),u={name:"e-column",install:function(e){e.component(u.name,r)}},c=s.vueDefineComponent({inject:{custom:{default:null}},render:function(e){var t;if(!s.isExecute)return t=null,(s.isExecute?e:s.gh)("div",{class:"e-directive"},t=a.isNullOrUndefined(this.$slots.default)?t:s.isExecute?this.$slots.default:this.$slots.default())},updated:function(){!s.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-stackedHeaders"}}}),l={name:"e-stackedHeaders",install:function(e){e.component(l.name,c)}},d=s.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-stackedHeader"}}}),m={name:"e-stackedHeader",install:function(e){e.component(m.name,d)}},e=["isLazyUpdate","plugins","allowDragAndDrop","allowKeyboard","cardHeight","cardSettings","columns","constraintType","cssClass","dataSource","dialogSettings","enableHtmlSanitizer","enablePersistence","enableRtl","enableTooltip","enableVirtualization","externalDropId","height","keyField","locale","query","showEmptyColumn","sortSettings","stackedHeaders","swimlaneSettings","tooltipTemplate","width","actionBegin","actionComplete","actionFailure","cardClick","cardDoubleClick","cardRendered","created","dataBinding","dataBound","dataSourceChanged","dataStateChange","dialogClose","dialogOpen","drag","dragStart","dragStop","queryCellInfo"],h=[],f=s.getProps({props:e}),p=f[0],f=f[1],g=Object.keys(f);g.push("modelchanged","update:modelValue");for(var j=0,C=h;j<C.length;j++)g.push("update:"+C[j]);var I=s.vueDefineComponent({name:"KanbanComponent",mixins:[s.ComponentBase],props:p,watch:f,emits:g,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new n.Kanban({}),propKeys:e,models:h,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{"e-columns":"e-column","e-stackedHeaders":"e-stackedHeader"},tagNameMapper:{},isVue3:!s.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(s.isExecute?e:s.gh)("div",t=a.isNullOrUndefined(this.$slots.default)?t:s.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],a=this.templateCollection[s];if(a&&a.length){for(var i=0,o=a;i<o.length;i++){var r=o[i];this.destroyPortals(r)}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()},addCard:function(e,t){return this.ej2Instances.addCard(e,t)},addColumn:function(e,t){return this.ej2Instances.addColumn(e,t)},closeDialog:function(){return this.ej2Instances.closeDialog()},deleteCard:function(e){return this.ej2Instances.deleteCard(e)},deleteColumn:function(e){return this.ej2Instances.deleteColumn(e)},destroy:function(){return this.ej2Instances.destroy()},getCardDetails:function(e){return this.ej2Instances.getCardDetails(e)},getColumnData:function(e,t){return this.ej2Instances.getColumnData(e,t)},getSelectedCards:function(){return this.ej2Instances.getSelectedCards()},getSwimlaneData:function(e){return this.ej2Instances.getSwimlaneData(e)},hideColumn:function(e){return this.ej2Instances.hideColumn(e)},hideSpinner:function(){return this.ej2Instances.hideSpinner()},openDialog:function(e,t){return this.ej2Instances.openDialog(e,t)},refreshHeader:function(){return this.ej2Instances.refreshHeader()},refreshUI:function(e,t){return this.ej2Instances.refreshUI(e,t)},renderTemplates:function(){return this.ej2Instances.renderTemplates()},resetTemplates:function(e){return this.ej2Instances.resetTemplates(e)},showColumn:function(e){return this.ej2Instances.showColumn(e)},showSpinner:function(){return this.ej2Instances.showSpinner()},templateParser:function(e){return this.ej2Instances.templateParser(e)},updateCard:function(e,t){return this.ej2Instances.updateCard(e,t)}}}),v={name:"ejs-kanban",install:function(e){e.component(v.name,I),e.component(u.name,r),e.component(o.name,i),e.component(m.name,d),e.component(l.name,c)}};Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),t.ColumnDirective=r,t.ColumnPlugin=u,t.ColumnsDirective=i,t.ColumnsPlugin=o,t.KanbanComponent=I,t.KanbanPlugin=v,t.StackedHeaderDirective=d,t.StackedHeaderPlugin=m,t.StackedHeadersDirective=c,t.StackedHeadersPlugin=l,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-kanban.umd.min.js.map |
@@ -231,2 +231,5 @@ import { Kanban } from '@syncfusion/ej2-kanban'; | ||
}, | ||
destroy() { | ||
return this.ej2Instances.destroy(); | ||
}, | ||
getCardDetails(target) { | ||
@@ -233,0 +236,0 @@ return this.ej2Instances.getCardDetails(target); |
@@ -235,2 +235,5 @@ import { Kanban } from '@syncfusion/ej2-kanban'; | ||
}, | ||
destroy: function () { | ||
return this.ej2Instances.destroy(); | ||
}, | ||
getCardDetails: function (target) { | ||
@@ -237,0 +240,0 @@ return this.ej2Instances.getCardDetails(target); |
{ | ||
"_from": "@syncfusion/ej2-vue-kanban@*", | ||
"_id": "@syncfusion/ej2-vue-kanban@27.1.52", | ||
"_id": "@syncfusion/ej2-vue-kanban@27.2.2", | ||
"_inBundle": false, | ||
"_integrity": "sha512-bt4FVQSJtuN1zRZKlozWRY87MakBJ6fj/Fors7Wc/RJZTmwqOIv0ic9LL4WzLpqgw7e6ng4zORP1ybeuMj4KSA==", | ||
"_integrity": "sha512-ZtICRh8eEsNwVmtZaBNYxD86pIOTJfQPX8lwkNWVx7RSRsC27C8rfiQU/7ijBHbTKgY+D0XvRmD9xGKu6chKjg==", | ||
"_location": "/@syncfusion/ej2-vue-kanban", | ||
@@ -22,4 +22,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-kanban/-/ej2-vue-kanban-27.1.52.tgz", | ||
"_shasum": "c565d249bfa1c87709077f500ab484087cb4a965", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-kanban/-/ej2-vue-kanban-27.2.2.tgz", | ||
"_shasum": "e007701da6452bc355a848e8da3eb59524519bbf", | ||
"_spec": "@syncfusion/ej2-vue-kanban@*", | ||
@@ -36,3 +36,3 @@ "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~27.2.2", | ||
"@syncfusion/ej2-kanban": "27.2.2", | ||
"@syncfusion/ej2-kanban": "27.2.3", | ||
"@syncfusion/ej2-vue-base": "~27.2.2" | ||
@@ -62,4 +62,4 @@ }, | ||
}, | ||
"version": "27.2.2", | ||
"version": "27.2.3", | ||
"sideEffects": false | ||
} |
@@ -35,2 +35,3 @@ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base'; | ||
deleteColumn(index: number): void; | ||
destroy(): void; | ||
getCardDetails(target: Object): Object; | ||
@@ -37,0 +38,0 @@ getColumnData(columnKey: string | number, dataSource?: Object[]): Object[]; |
@@ -117,2 +117,5 @@ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base'; | ||
}, | ||
destroy: function () { | ||
return this.ej2Instances.destroy(); | ||
}, | ||
getCardDetails: function (target) { | ||
@@ -119,0 +122,0 @@ return this.ej2Instances.getCardDetails(target); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
127931
1052
+ Added@syncfusion/ej2-kanban@27.2.3(transitive)
- Removed@syncfusion/ej2-kanban@27.2.2(transitive)