@syncfusion/ej2-vue-lists 19.4.48 → 19.4.52

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,11 +1,29 @@
1
1
  /*!
2
2
  * filename: ej2-vue-lists.umd.min.js
3
- * version : 19.4.48
3
+ * version : 19.4.52
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
- !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","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=n.getProps({props:i}),u=(a[0],a[1]),l=Object.keys(u);l.push("modelchanged");for(var p=0,h=c;p<h.length;p++){var f=h[p];l.push("update:"+f)}var m=!n.gh,d=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.isVue3=!m,n.ej2Instances=new t.ListView({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,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.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},a.prototype.render=function(e){var t=n.gh||e,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.gh?this.$slots.default():this.$slots.default),t("div",o)},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},m)],a)}(n.ComponentBase),I={name:"ejs-listview",install:function(e){e.component(I.name,d)}};e.ListViewComponent=d,e.ListViewPlugin=I,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ /*!
11
+ * filename: ej2-vue-lists.umd.min.js
12
+ * version : 19.4.38
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})});
11
29
  //# 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, 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', '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 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.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 }) 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":["__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","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","isExecute","gh","ListViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","ej2Instances","ListView","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","render","createElement","h","slots","isNullOrUndefined","$slots","default","addItem","data","fields","back","checkAllItems","checkItem","item","disableItem","enableItem","findItem","getSelectedItems","hideItem","refreshItemHeight","removeItem","removeMultipleItems","requiredModules","selectItem","selectMultipleItems","showItem","uncheckAllItems","uncheckItem","EJComponentDecorator","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,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,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AAoBX,IAEjDlD,EAAkB9B,UAAU4F,SAAW,SAAUZ,GAC7C,OAAOlF,KAAK2C,aAAamD,SAASZ,IAEtClD,EAAkB9B,UAAU6F,gBAAkB,WAC1C,OAAO/F,KAAK2C,aAAaoD,mBAE7B/D,EAAkB9B,UAAU8F,YAAc,SAAUd,GAChD,OAAOlF,KAAK2C,aAAaqD,YAAYd,IAEzClD,EAAoB5B,GAChB6F,wBACI3E,MAAOJ,GACRY,IAMJE,IAELkE,iBAESC,GACPC,KAAM,eACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAeC,KAAMpE"}
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","uncheckIt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