@syncfusion/ej2-vue-lists 20.2.38 → 20.2.45

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 20.2.39 (2022-07-19)
6
+
7
+ ### ListView
8
+
9
+ #### New Features
10
+
11
+ - `#I385167` - Provided support to cancel the ListView select event.
12
+
5
13
  ## 20.2.36 (2022-06-30)
6
14
 
7
15
  ### ListView
@@ -1,29 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-lists.umd.min.js
3
- * version : 20.2.38
3
+ * version : 20.2.45
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- /*!
11
- * filename: ej2-vue-lists.umd.min.js
12
- * version : 19.2.55
13
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
- * Use of this code is subject to the terms of our license.
15
- * A copy of the current license can be obtained at any time by e-mailing
16
- * licensing@syncfusion.com. Any infringement will be prosecuted under
17
- * applicable laws.
18
- */
19
- /*!
20
- * filename: ej2-vue-lists.umd.min.js
21
- * version : 19.1.63
22
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
- * Use of this code is subject to the terms of our license.
24
- * A copy of the current license can be obtained at any time by e-mailing
25
- * licensing@syncfusion.com. Any infringement will be prosecuted under
26
- * applicable laws.
27
- */
28
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-lists"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-lists","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Lists,e.ej2VueBase)}(this,function(e,t,n){"use strict";var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),o=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},r=["animation","checkBoxPosition","cssClass","dataSource","enable","enableHtmlSanitizer","enablePersistence","enableRtl","enableVirtualization","fields","groupTemplate","headerTemplate","headerTitle","height","htmlAttributes","locale","query","showCheckBox","showHeader","showIcon","sortOrder","template","width","actionBegin","actionComplete","actionFailure","select"],i=[],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=r,n.models=i,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ListView({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return s(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.render=function(e){return e("div",this.$slots.default)},c.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},c.prototype.back=function(){return this.ej2Instances.back()},c.prototype.checkAllItems=function(){return this.ej2Instances.checkAllItems()},c.prototype.checkItem=function(e){return this.ej2Instances.checkItem(e)},c.prototype.disableItem=function(e){return this.ej2Instances.disableItem(e)},c.prototype.enableItem=function(e){return this.ej2Instances.enableItem(e)},c.prototype.findItem=function(e){return this.ej2Instances.findItem(e)},c.prototype.getSelectedItems=function(){return this.ej2Instances.getSelectedItems()},c.prototype.hideItem=function(e){return this.ej2Instances.hideItem(e)},c.prototype.refreshItemHeight=function(){return this.ej2Instances.refreshItemHeight()},c.prototype.removeItem=function(e){return this.ej2Instances.removeItem(e)},c.prototype.removeMultipleItems=function(e){return this.ej2Instances.removeMultipleItems(e)},c.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},c.prototype.selectItem=function(e){return this.ej2Instances.selectItem(e)},c.prototype.selectMultipleItems=function(e){return this.ej2Instances.selectMultipleItems(e)},c.prototype.showItem=function(e){return this.ej2Instances.showItem(e)},c.prototype.uncheckAllItems=function(){return this.ej2Instances.uncheckAllItems()},c.prototype.uncheckItem=function(e){return this.ej2Instances.uncheckItem(e)},c=o([n.EJComponentDecorator({props:r})],c)}(n.ComponentBase),u={name:"ejs-listview",install:function(e){e.component(u.name,c)}};e.ListViewComponent=c,e.ListViewPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-lists"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-lists","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Lists,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),r=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},i=["isLazyUpdate","plugins","animation","checkBoxPosition","cssClass","dataSource","enable","enableHtmlSanitizer","enablePersistence","enableRtl","enableVirtualization","fields","groupTemplate","headerTemplate","headerTitle","height","htmlAttributes","locale","query","showCheckBox","showHeader","showIcon","sortOrder","template","width","actionBegin","actionComplete","actionFailure","select"],c=[],a=function(e){function a(){var n=e.call(this,arguments)||this;return n.propKeys=i,n.models=c,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ListView({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return o(a,e),a.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,c=r;i<c.length;i++){var a=c[i];s.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},a.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},a.prototype.render=function(e){return e("div",this.$slots.default)},a.prototype.custom=function(){this.updated()},a.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},a.prototype.back=function(){return this.ej2Instances.back()},a.prototype.checkAllItems=function(){return this.ej2Instances.checkAllItems()},a.prototype.checkItem=function(e){return this.ej2Instances.checkItem(e)},a.prototype.disableItem=function(e){return this.ej2Instances.disableItem(e)},a.prototype.enableItem=function(e){return this.ej2Instances.enableItem(e)},a.prototype.findItem=function(e){return this.ej2Instances.findItem(e)},a.prototype.getSelectedItems=function(){return this.ej2Instances.getSelectedItems()},a.prototype.hideItem=function(e){return this.ej2Instances.hideItem(e)},a.prototype.refreshItemHeight=function(){return this.ej2Instances.refreshItemHeight()},a.prototype.removeItem=function(e){return this.ej2Instances.removeItem(e)},a.prototype.removeMultipleItems=function(e){return this.ej2Instances.removeMultipleItems(e)},a.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},a.prototype.selectItem=function(e){return this.ej2Instances.selectItem(e)},a.prototype.selectMultipleItems=function(e){return this.ej2Instances.selectMultipleItems(e)},a.prototype.showItem=function(e){return this.ej2Instances.showItem(e)},a.prototype.uncheckAllItems=function(){return this.ej2Instances.uncheckAllItems()},a.prototype.uncheckItem=function(e){return this.ej2Instances.uncheckItem(e)},a=r([n.EJComponentDecorator({props:i})],a)}(n.ComponentBase),u={name:"ejs-listview",install:function(e){e.component(u.name,a)}};e.ListViewComponent=a,e.ListViewPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
29
11
  //# sourceMappingURL=ej2-vue-lists.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-lists.umd.min.js","sources":["../src/list-view/listview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nexport var properties = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport var modelProps = [];\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nvar ListViewComponent = /** @class */ (function (_super) {\n __extends(ListViewComponent, _super);\n function ListViewComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new ListView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n ListViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n ListViewComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n ListViewComponent.prototype.addItem = function (data, fields) {\n return this.ej2Instances.addItem(data, fields);\n };\n ListViewComponent.prototype.back = function () {\n return this.ej2Instances.back();\n };\n ListViewComponent.prototype.checkAllItems = function () {\n return this.ej2Instances.checkAllItems();\n };\n ListViewComponent.prototype.checkItem = function (item) {\n return this.ej2Instances.checkItem(item);\n };\n ListViewComponent.prototype.disableItem = function (item) {\n return this.ej2Instances.disableItem(item);\n };\n ListViewComponent.prototype.enableItem = function (item) {\n return this.ej2Instances.enableItem(item);\n };\n ListViewComponent.prototype.findItem = function (item) {\n return this.ej2Instances.findItem(item);\n };\n ListViewComponent.prototype.getSelectedItems = function () {\n return this.ej2Instances.getSelectedItems();\n };\n ListViewComponent.prototype.hideItem = function (item) {\n return this.ej2Instances.hideItem(item);\n };\n ListViewComponent.prototype.refreshItemHeight = function () {\n return this.ej2Instances.refreshItemHeight();\n };\n ListViewComponent.prototype.removeItem = function (item) {\n return this.ej2Instances.removeItem(item);\n };\n ListViewComponent.prototype.removeMultipleItems = function (item) {\n return this.ej2Instances.removeMultipleItems(item);\n };\n ListViewComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n ListViewComponent.prototype.selectItem = function (item) {\n return this.ej2Instances.selectItem(item);\n };\n ListViewComponent.prototype.selectMultipleItems = function (item) {\n return this.ej2Instances.selectMultipleItems(item);\n };\n ListViewComponent.prototype.showItem = function (item) {\n return this.ej2Instances.showItem(item);\n };\n ListViewComponent.prototype.uncheckAllItems = function () {\n return this.ej2Instances.uncheckAllItems();\n };\n ListViewComponent.prototype.uncheckItem = function (item) {\n return this.ej2Instances.uncheckItem(item);\n };\n ListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], ListViewComponent);\n return ListViewComponent;\n}(ComponentBase));\nexport { ListViewComponent };\nexport var ListViewPlugin = {\n name: 'ejs-listview',\n install: function (Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","ListViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","ListView","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","render","createElement","$slots","default","addItem","data","fields","back","checkAllItems","checkItem","item","disableItem","enableItem","findItem","getSelectedItems","hideItem","refreshItemHeight","removeItem","removeMultipleItems","requiredModules","selectItem","selectMultipleItems","showItem","uncheckAllItems","uncheckItem","EJComponentDecorator","props","ComponentBase","ListViewPlugin","name","install","Vue","component"],"mappings":"yUAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAA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KAAK8B,aAAakC,SAASZ,IAEtChC,EAAkBlB,UAAU+D,gBAAkB,WAC1C,OAAOjE,KAAK8B,aAAamC,mBAE7B7C,EAAkBlB,UAAUgE,YAAc,SAAUd,GAChD,OAAOpD,KAAK8B,aAAaoC,YAAYd,IAEzChC,EAAoBhB,GAChB+D,wBACIC,MAAOlD,KAEZE,IAELiD,iBAESC,GACPC,KAAM,eACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAeC,KAAMnD"}
1
+ {"version":3,"file":"ej2-vue-lists.umd.min.js","sources":["../vue2/src/list-view/listview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport var modelProps = [];\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nvar ListViewComponent = /** @class */ (function (_super) {\n __extends(ListViewComponent, _super);\n function ListViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new ListView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n ListViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n ListViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n ListViewComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n ListViewComponent.prototype.custom = function () {\n this.updated();\n };\n ListViewComponent.prototype.addItem = function (data, fields) {\n return this.ej2Instances.addItem(data, fields);\n };\n ListViewComponent.prototype.back = function () {\n return this.ej2Instances.back();\n };\n ListViewComponent.prototype.checkAllItems = function () {\n return this.ej2Instances.checkAllItems();\n };\n ListViewComponent.prototype.checkItem = function (item) {\n return this.ej2Instances.checkItem(item);\n };\n ListViewComponent.prototype.disableItem = function (item) {\n return this.ej2Instances.disableItem(item);\n };\n ListViewComponent.prototype.enableItem = function (item) {\n return this.ej2Instances.enableItem(item);\n };\n ListViewComponent.prototype.findItem = function (item) {\n return this.ej2Instances.findItem(item);\n };\n ListViewComponent.prototype.getSelectedItems = function () {\n return this.ej2Instances.getSelectedItems();\n };\n ListViewComponent.prototype.hideItem = function (item) {\n return this.ej2Instances.hideItem(item);\n };\n ListViewComponent.prototype.refreshItemHeight = function () {\n return this.ej2Instances.refreshItemHeight();\n };\n ListViewComponent.prototype.removeItem = function (item) {\n return this.ej2Instances.removeItem(item);\n };\n ListViewComponent.prototype.removeMultipleItems = function (item) {\n return this.ej2Instances.removeMultipleItems(item);\n };\n ListViewComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n ListViewComponent.prototype.selectItem = function (item) {\n return this.ej2Instances.selectItem(item);\n };\n ListViewComponent.prototype.selectMultipleItems = function (item) {\n return this.ej2Instances.selectMultipleItems(item);\n };\n ListViewComponent.prototype.showItem = function (item) {\n return this.ej2Instances.showItem(item);\n };\n ListViewComponent.prototype.uncheckAllItems = function () {\n return this.ej2Instances.uncheckAllItems();\n };\n ListViewComponent.prototype.uncheckItem = function (item) {\n return this.ej2Instances.uncheckItem(item);\n };\n ListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], ListViewComponent);\n return ListViewComponent;\n}(ComponentBase));\nexport { ListViewComponent };\nexport var ListViewPlugin = {\n name: 'ejs-listview',\n install: function (Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","ListViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","ListView","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","addItem","data","fields","back","checkAllItems","checkItem","item","disableItem","enableItem","findItem","getSelectedItems","hideItem","refreshItemHeight","removeItem","removeMultipleItems","requiredModules","selectItem","selectMultipleItems","showItem","uncheckAllItems","uncheckItem","EJComponentDecorator","props","ComponentBase","ListViewPlugin","name","install","Vue","component"],"mappings":"4YAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,E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AAK8B,aAAauC,YAAYD,IAEzChD,EAAkBlB,UAAUoE,WAAa,SAAUF,GAC/C,OAAOpE,KAAK8B,aAAawC,WAAWF,IAExChD,EAAkBlB,UAAUqE,SAAW,SAAUH,GAC7C,OAAOpE,KAAK8B,aAAayC,SAASH,IAEtChD,EAAkBlB,UAAUsE,iBAAmB,WAC3C,OAAOxE,KAAK8B,aAAa0C,oBAE7BpD,EAAkBlB,UAAUuE,SAAW,SAAUL,GAC7C,OAAOpE,KAAK8B,aAAa2C,SAASL,IAEtChD,EAAkBlB,UAAUwE,kBAAoB,WAC5C,OAAO1E,KAAK8B,aAAa4C,qBAE7BtD,EAAkBlB,UAAUyE,WAAa,SAAUP,GAC/C,OAAOpE,KAAK8B,aAAa6C,WAAWP,IAExChD,EAAkBlB,UAAU0E,oBAAsB,SAAUR,GACxD,OAAOpE,KAAK8B,aAAa8C,oBAAoBR,IAEjDhD,EAAkBlB,UAAU2E,gBAAkB,WAC1C,OAAO7E,KAAK8B,aAAa+C,mBAE7BzD,EAAkBlB,UAAU4E,WAAa,SAAUV,GAC/C,OAAOpE,KAAK8B,aAAagD,WAAWV,IAExChD,EAAkBlB,UAAU6E,oBAAsB,SAAUX,GACxD,OAAOpE,KAAK8B,aAAaiD,oBAAoBX,IAEjDhD,EAAkBlB,UAAU8E,SAAW,SAAUZ,GAC7C,OAAOpE,KAAK8B,aAAakD,SAASZ,IAEtChD,EAAkBlB,UAAU+E,gBAAkB,WAC1C,OAAOjF,KAAK8B,aAAamD,mBAE7B7D,EAAkBlB,UAAUgF,YAAc,SAAUd,GAChD,OAAOpE,KAAK8B,aAAaoD,YAAYd,IAEzChD,EAAoBhB,GAChB+E,wBACIC,MAAOlE,KAEZE,IAELiE,iBAESC,GACPC,KAAM,eACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAeC,KAAMnE"}
@@ -15,7 +15,7 @@ const testProp = getProps({ props: properties });
15
15
  const props = testProp[0];
16
16
  const watch = testProp[1];
17
17
  const emitProbs = Object.keys(watch);
18
- emitProbs.push('modelchanged');
18
+ emitProbs.push('modelchanged', 'update:modelValue');
19
19
  for (let props of modelProps) {
20
20
  emitProbs.push('update:' + props);
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-lists.es2015.js","sources":["../src/es6/list-view/listview.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ListView } from '@syncfusion/ej2-lists';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nlet ListViewComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass ListViewComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new ListView({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n addItem(data, fields) {\n return this.ej2Instances.addItem(data, fields);\n }\n back() {\n return this.ej2Instances.back();\n }\n checkAllItems() {\n return this.ej2Instances.checkAllItems();\n }\n checkItem(item) {\n return this.ej2Instances.checkItem(item);\n }\n disableItem(item) {\n return this.ej2Instances.disableItem(item);\n }\n enableItem(item) {\n return this.ej2Instances.enableItem(item);\n }\n findItem(item) {\n return this.ej2Instances.findItem(item);\n }\n getSelectedItems() {\n return this.ej2Instances.getSelectedItems();\n }\n hideItem(item) {\n return this.ej2Instances.hideItem(item);\n }\n refreshItemHeight() {\n return this.ej2Instances.refreshItemHeight();\n }\n removeItem(item) {\n return this.ej2Instances.removeItem(item);\n }\n removeMultipleItems(item) {\n return this.ej2Instances.removeMultipleItems(item);\n }\n requiredModules() {\n return this.ej2Instances.requiredModules();\n }\n selectItem(item) {\n return this.ej2Instances.selectItem(item);\n }\n selectMultipleItems(item) {\n return this.ej2Instances.selectMultipleItems(item);\n }\n showItem(item) {\n return this.ej2Instances.showItem(item);\n }\n uncheckAllItems() {\n return this.ej2Instances.uncheckAllItems();\n }\n uncheckItem(item) {\n return this.ej2Instances.uncheckItem(item);\n }\n};\nListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], ListViewComponent);\nexport { ListViewComponent };\nexport const ListViewPlugin = {\n name: 'ejs-listview',\n install(Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC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AAI,CAAC,CAAC;KACtD;IACD,QAAQ,CAAC,IAAI,EAAE;QACX,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;KAC3C;IACD,eAAe,GAAG;QACd,OAAO,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;KAC9C;IACD,WAAW,CAAC,IAAI,EAAE;QACd,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;KAC9C;CACJ,CAAC;AACF,iBAAiB,GAAG,UAAU,CAAC;IAC3B,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;KACpB,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,iBAAiB,CAAC,CAAC;AACtB,AACO,MAAM,cAAc,GAAG;IAC1B,IAAI,EAAE,cAAc;IACpB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;KACzD;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-lists.es2015.js","sources":["../src/es6/list-view/listview.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ListView } from '@syncfusion/ej2-lists';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nlet ListViewComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass ListViewComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new ListView({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n addItem(data, fields) {\n return this.ej2Instances.addItem(data, fields);\n }\n back() {\n return this.ej2Instances.back();\n }\n checkAllItems() {\n return this.ej2Instances.checkAllItems();\n }\n checkItem(item) {\n return this.ej2Instances.checkItem(item);\n }\n disableItem(item) {\n return this.ej2Instances.disableItem(item);\n }\n enableItem(item) {\n return this.ej2Instances.enableItem(item);\n }\n findItem(item) {\n return this.ej2Instances.findItem(item);\n }\n getSelectedItems() {\n return this.ej2Instances.getSelectedItems();\n }\n hideItem(item) {\n return this.ej2Instances.hideItem(item);\n }\n refreshItemHeight() {\n return this.ej2Instances.refreshItemHeight();\n }\n removeItem(item) {\n return this.ej2Instances.removeItem(item);\n }\n removeMultipleItems(item) {\n return this.ej2Instances.removeMultipleItems(item);\n }\n requiredModules() {\n return this.ej2Instances.requiredModules();\n }\n selectItem(item) {\n return this.ej2Instances.selectItem(item);\n }\n selectMultipleItems(item) {\n return this.ej2Instances.selectMultipleItems(item);\n }\n showItem(item) {\n return this.ej2Instances.showItem(item);\n }\n uncheckAllItems() {\n return this.ej2Instances.uncheckAllItems();\n }\n uncheckItem(item) {\n return this.ej2Instances.uncheckItem(item);\n }\n};\nListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], ListViewComponent);\nexport { ListViewComponent };\nexport const ListViewPlugin = {\n name: 'ejs-listview',\n install(Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAClJ,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;CACjE,CAAC;AACF,AAGA;AACA,AAAO,MAAM,UAAU,GAA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ch = testProp[1];
30
30
  var emitProbs = Object.keys(watch);
31
- emitProbs.push('modelchanged');
31
+ emitProbs.push('modelchanged', 'update:modelValue');
32
32
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
33
33
  var props_1 = modelProps_1[_i];
34
34
  emitProbs.push('update:' + props_1);
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-lists.es5.js","sources":["../../src/list-view/listview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ListView } from '@syncfusion/ej2-lists';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nvar ListViewComponent = /** @class */ (function (_super) {\n __extends(ListViewComponent, _super);\n function ListViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new ListView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n ListViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n ListViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n ListViewComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n ListViewComponent.prototype.custom = function () {\n this.updated();\n };\n ListViewComponent.prototype.addItem = function (data, fields) {\n return this.ej2Instances.addItem(data, fields);\n };\n ListViewComponent.prototype.back = function () {\n return this.ej2Instances.back();\n };\n ListViewComponent.prototype.checkAllItems = function () {\n return this.ej2Instances.checkAllItems();\n };\n ListViewComponent.prototype.checkItem = function (item) {\n return this.ej2Instances.checkItem(item);\n };\n ListViewComponent.prototype.disableItem = function (item) {\n return this.ej2Instances.disableItem(item);\n };\n ListViewComponent.prototype.enableItem = function (item) {\n return this.ej2Instances.enableItem(item);\n };\n ListViewComponent.prototype.findItem = function (item) {\n return this.ej2Instances.findItem(item);\n };\n ListViewComponent.prototype.getSelectedItems = function () {\n return this.ej2Instances.getSelectedItems();\n };\n ListViewComponent.prototype.hideItem = function (item) {\n return this.ej2Instances.hideItem(item);\n };\n ListViewComponent.prototype.refreshItemHeight = function () {\n return this.ej2Instances.refreshItemHeight();\n };\n ListViewComponent.prototype.removeItem = function (item) {\n return this.ej2Instances.removeItem(item);\n };\n ListViewComponent.prototype.removeMultipleItems = function (item) {\n return this.ej2Instances.removeMultipleItems(item);\n };\n ListViewComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n ListViewComponent.prototype.selectItem = function (item) {\n return this.ej2Instances.selectItem(item);\n };\n ListViewComponent.prototype.selectMultipleItems = function (item) {\n return this.ej2Instances.selectMultipleItems(item);\n };\n ListViewComponent.prototype.showItem = function (item) {\n return this.ej2Instances.showItem(item);\n };\n ListViewComponent.prototype.uncheckAllItems = function () {\n return this.ej2Instances.uncheckAllItems();\n };\n ListViewComponent.prototype.uncheckItem = function (item) {\n return this.ej2Instances.uncheckItem(item);\n };\n ListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], ListViewComponent);\n return ListViewComponent;\n}(ComponentBase));\nexport { ListViewComponent };\nexport var ListViewPlugin = {\n name: 'ejs-listview',\n install: function (Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,OAAO,UAAU,CAAC,EAAE,CAAC,EAAE;QACnB,aAAa,CAAC,CAAC,EAAE,C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;;;;KAWhB,EAAE,iBAAiB,CAAC,CAAC;IACtB,OAAO,iBAAiB,CAAC;CAC5B,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,cAAc,GAAG;IACxB,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;KACzD;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-lists.es5.js","sources":["../../src/list-view/listview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ListView } from '@syncfusion/ej2-lists';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'select'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents VueJS ListView Component\n * ```\n * <ejs-listview :dataSource='data'></ejs-listview>\n * ```\n */\nvar ListViewComponent = /** @class */ (function (_super) {\n __extends(ListViewComponent, _super);\n function ListViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new ListView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n ListViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n ListViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n ListViewComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n ListViewComponent.prototype.custom = function () {\n this.updated();\n };\n ListViewComponent.prototype.addItem = function (data, fields) {\n return this.ej2Instances.addItem(data, fields);\n };\n ListViewComponent.prototype.back = function () {\n return this.ej2Instances.back();\n };\n ListViewComponent.prototype.checkAllItems = function () {\n return this.ej2Instances.checkAllItems();\n };\n ListViewComponent.prototype.checkItem = function (item) {\n return this.ej2Instances.checkItem(item);\n };\n ListViewComponent.prototype.disableItem = function (item) {\n return this.ej2Instances.disableItem(item);\n };\n ListViewComponent.prototype.enableItem = function (item) {\n return this.ej2Instances.enableItem(item);\n };\n ListViewComponent.prototype.findItem = function (item) {\n return this.ej2Instances.findItem(item);\n };\n ListViewComponent.prototype.getSelectedItems = function () {\n return this.ej2Instances.getSelectedItems();\n };\n ListViewComponent.prototype.hideItem = function (item) {\n return this.ej2Instances.hideItem(item);\n };\n ListViewComponent.prototype.refreshItemHeight = function () {\n return this.ej2Instances.refreshItemHeight();\n };\n ListViewComponent.prototype.removeItem = function (item) {\n return this.ej2Instances.removeItem(item);\n };\n ListViewComponent.prototype.removeMultipleItems = function (item) {\n return this.ej2Instances.removeMultipleItems(item);\n };\n ListViewComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n ListViewComponent.prototype.selectItem = function (item) {\n return this.ej2Instances.selectItem(item);\n };\n ListViewComponent.prototype.selectMultipleItems = function (item) {\n return this.ej2Instances.selectMultipleItems(item);\n };\n ListViewComponent.prototype.showItem = function (item) {\n return this.ej2Instances.showItem(item);\n };\n ListViewComponent.prototype.uncheckAllItems = function () {\n return this.ej2Instances.uncheckAllItems();\n };\n ListViewComponent.prototype.uncheckItem = function (item) {\n return this.ej2Instances.uncheckItem(item);\n };\n ListViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], ListViewComponent);\n return ListViewComponent;\n}(ComponentBase));\nexport { ListViewComponent };\nexport var ListViewPlugin = {\n name: 'ejs-listview',\n install: function (Vue) {\n Vue.component(ListViewPlugin.name, ListViewComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;K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