@syncfusion/ej2-vue-inplace-editor 25.2.3 → 26.2.4

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,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-inplace-editor.umd.min.js
3
- * version : 25.2.3
3
+ * version : 26.2.4
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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-inplace-editor"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inplace-editor","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2InplaceEditor,e.ej2VueBase,e.ej2Base)}(this,function(e,t,s,n){"use strict";var i=["isLazyUpdate","plugins","actionOnBlur","adaptor","cancelButton","cssClass","disabled","editableOn","emptyText","enableEditMode","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mode","model","name","popupSettings","primaryKey","saveButton","showButtons","submitOnEnter","template","textOption","type","url","validationRules","value","actionBegin","actionFailure","actionSuccess","beforeSanitizeHtml","beginEdit","cancelClick","change","created","destroyed","endEdit","submitClick","validating"],a=["value"],o=s.getProps({props:i}),c=o[0],l=o[1],r=Object.keys(l);r.push("modelchanged","update:modelValue");for(var d=0,u=a;d<u.length;d++){var h=u[d];r.push("update:"+h)}var m=s.vueDefineComponent({name:"InPlaceEditorComponent",mixins:[s.ComponentBase],props:c,watch:l,emits:r,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.InPlaceEditor({}),propKeys:i,models:a,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!s.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=s.isExecute?e:s.gh,i=null;return n.isNullOrUndefined(this.$slots.default)||(i=s.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var i=s[t],a=this.templateCollection[i];if(a&&a.length){for(var o=0,c=a;o<c.length;o++){var l=c[o];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var s=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){s.models.map(function(n){t!==n||/datasource/i.test(t)||(s.isVue3?s.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(s.$emit("update:"+t,e[t]),s.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(s.isExecute||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){o=(a=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&a&&!n.isUndefined(t[o])&&(s.isExecute?(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o])):(this.ej2Instances.vueInstance.$emit("update:"+o,t[o]),this.ej2Instances.vueInstance.$emit("modelchanged",t[o])))}}else{var a,o=(a=this.models.toString().match(/checked|value/)||[])[0];t&&a&&!n.isUndefined(t[o])&&(s.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o])):(this.ej2Instances.vueInstance.$emit("update:"+o,t[o]),this.ej2Instances.vueInstance.$emit("modelchanged",t[o]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[o])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},extendModelValue:function(e){return this.ej2Instances.extendModelValue(e)},save:function(){return this.ej2Instances.save()},setValue:function(){return this.ej2Instances.setValue()},validate:function(){return this.ej2Instances.validate()}}}),p={name:"ejs-inplaceeditor",install:function(e){e.component(p.name,m)}};e.InPlaceEditorComponent=m,e.InPlaceEditorPlugin=p,Object.keys(t).forEach(function(s){e[s]=t[s]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-inplace-editor"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inplace-editor","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t((e=e||self).ej={},e.ej2InplaceEditor,e.ej2VueBase,e.ej2Base)}(this,function(t,s,a,o){"use strict";var e=["isLazyUpdate","plugins","actionOnBlur","adaptor","cancelButton","cssClass","disabled","editableOn","emptyText","enableEditMode","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mode","model","name","popupSettings","primaryKey","saveButton","showButtons","submitOnEnter","template","textOption","type","url","validationRules","value","actionBegin","actionFailure","actionSuccess","beforeSanitizeHtml","beginEdit","cancelClick","change","created","destroyed","endEdit","submitClick","validating"],n=["value"],i=a.getProps({props:e}),c=i[0],i=i[1],l=Object.keys(i);l.push("modelchanged","update:modelValue");for(var r=0,d=n;r<d.length;r++)l.push("update:"+d[r]);var u=a.vueDefineComponent({name:"InPlaceEditorComponent",mixins:[a.ComponentBase],props:c,watch:i,emits:l,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new s.InPlaceEditor({}),propKeys:e,models:n,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!a.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=null;return(a.isExecute?e:a.gh)("div",t=o.isNullOrUndefined(this.$slots.default)?t:a.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,s=e;t<s.length;t++){var n=s[t],i=this.templateCollection[n];if(i&&i.length){for(var a=0,o=i;a<o.length;a++){var c=o[a];this.destroyPortals(c)}delete this.templateCollection[n]}}},setProperties:function(s,e){var n=this;this.isVue3&&(this.models=this.models||this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(s,e),s&&this.models&&this.models.length&&Object.keys(s).map(function(t){n.models.map(function(e){t!==e||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,s[t]):(n.$emit("update:"+t,s[t]),n.$emit("modelchanged",s[t])))})})},trigger:function(e,t,s){var n,i;a.isExecute||(this.models=this.models||this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length?"actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length&&(i=(n=this.models.toString().match(/currentView|selectedDate/)||[])[0],t)&&n&&!o.isUndefined(t[i])&&(a.isExecute?(this.$emit("update:"+i,t[i]),this):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance)).$emit("modelchanged",t[i]):(i=(n=this.models.toString().match(/checked|value/)||[])[0],t&&n&&!o.isUndefined(t[i])&&(a.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+i,t[i]),this.$emit("modelchanged",t[i])):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance.$emit("modelchanged",t[i]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[i])))),this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},custom:function(){this.updated()},extendModelValue:function(e){return this.ej2Instances.extendModelValue(e)},save:function(){return this.ej2Instances.save()},setValue:function(){return this.ej2Instances.setValue()},validate:function(){return this.ej2Instances.validate()}}}),h={name:"ejs-inplaceeditor",install:function(e){e.component(h.name,u)}};Object.keys(s).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})}),t.InPlaceEditorComponent=u,t.InPlaceEditorPlugin=h,Object.defineProperty(t,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-vue-inplace-editor.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-inplace-editor.umd.min.js","sources":["../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], 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}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport var InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 trigger: function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom: function () {\n this.updated();\n },\n extendModelValue: function (val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save: function () {\n return this.ej2Instances.save();\n },\n setValue: function () {\n return this.ej2Instances.setValue();\n },\n validate: function () {\n return this.ej2Instances.validate();\n },\n }\n});\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","InPlaceEditorComponent","vueDefineComponent","name","mixins","ComponentBase","emits","model","event","provide","custom","this","data","ej2Instances","InPlaceEditor","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","test","vueInstance","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","$props","isLazyUpdate","extendModelValue","val","save","setValue","validate","InPlaceEditorPlugin","install","Vue","component"],"mappings":"saAIO,IAAIA,GAAc,eAAgB,UAAW,eAAgB,UAAW,eAAgB,WAAY,WAAY,aAAc,YAAa,iBAAkB,kBAAmB,sBAAuB,oBAAqB,YAAa,SAAU,OAAQ,QAAS,OAAQ,gBAAiB,aAAc,aAAc,cAAe,gBAAiB,WAAY,aAAc,OAAQ,MAAO,kBAAmB,QAAS,cAAe,gBAAiB,gBAAiB,qBAAsB,YAAa,cAAe,S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AWC,MAAM,iCACrB,GACdL,GAAaL,IAAQW,cAAYN,EAAUG,MACtC3C,aAKDX,KAAKiD,MAAM,UAAYK,EAASH,EAAUG,IAC1CtD,KAAKiD,MAAM,eAAgBE,EAAUG,MALrCtD,KAAKE,aAAa8C,YAAYC,MAAM,UAAYK,EAASH,EAAUG,IACnEtD,KAAKE,aAAa8C,YAAYC,MAAM,eAAgBE,EAAUG,WAvB0B,CAChG,IAAIR,EACAQ,GADAR,EAAM9C,KAAKK,OAAOkD,WAAWC,MAAM,sBACrB,GACdL,GAAaL,IAAQW,cAAYN,EAAUG,MACtC3C,aAMiB,WAAduC,GAA2BlD,KAAK0D,SAAW1D,KAAK0D,OAAOC,gBACvD3D,KAAKiD,MAAM,UAAYK,EAASH,EAAUG,IAC1CtD,KAAKiD,MAAM,eAAgBE,EAAUG,MAPzCtD,KAAKE,aAAa8C,YAAYC,MAAM,UAAYK,EAASH,EAAUG,IACnEtD,KAAKE,aAAa8C,YAAYC,MAAM,eAAgBE,EAAUG,IAC9DtD,KAAKE,aAAa8C,YAAYC,MAAM,oBAAqBE,EAAUG,MAwB1EtD,KAAKE,cAAgBF,KAAKE,aAAaY,UACxCd,KAAKE,aAAaY,SAASoC,EAAWC,EAAWC,IAGzDrD,OAAQ,WACJC,KAAKoB,WAETwC,iBAAkB,SAAUC,GACxB,OAAO7D,KAAKE,aAAa0D,iBAAiBC,IAE9CC,KAAM,WACF,OAAO9D,KAAKE,aAAa4D,QAE7BC,SAAU,WACN,OAAO/D,KAAKE,aAAa6D,YAE7BC,SAAU,WACN,OAAOhE,KAAKE,aAAa8D,eAI1BC,GACPzE,KAAM,oBACN0E,QAAS,SAAUC,GACfA,EAAIC,UAAUH,EAAoBzE,KAAMF"}
1
+ {"version":3,"file":"ej2-vue-inplace-editor.umd.min.js","sources":["../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], 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}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport var InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 this.destroyPortals(ele);\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n 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 trigger: function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom: function () {\n this.updated();\n },\n extendModelValue: function (val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save: function () {\n return this.ej2Instances.save();\n },\n setValue: function () {\n return this.ej2Instances.setValue();\n },\n validate: function () {\n return this.ej2Instances.validate();\n },\n }\n});\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","InPlaceEditorComponent","vueDefineComponent","name","mixins","ComponentBase","emits","model","event","provide","custom","this","data","ej2Instances","InPlaceEditor","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","slots","gh","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","destroyPortals","prop","muteOnChange","_this","referModels","map","key","test","vueInstance","$emit","eventName","eventProp","successHandler","propKey","requestType","toString","match","isUndefined","$props","isLazyUpdate","extendModelValue","val","save","setValue","validate","InPlaceEditorPlugin","install","Vue","component"],"mappings":"gbAIO,IAAIA,EAAa,CAAC,eAAgB,UAAW,eAAgB,UAAW,eAAgB,WAAY,WAAY,aAAc,YAAa,iBAAkB,kBAAmB,sBAAuB,oBAAqB,YAAa,SAAU,OAAQ,QAAS,OAAQ,gBAAiB,aAAc,aAAc,cAAe,gBAAiB,WAAY,aAAc,OAAQ,MAAO,kBAAmB,QAAS,cAAe,gBAAiB,gBAAiB,qBAAsB,YAAa,cAAe,SAAU,UAAW,YAAa,UAAW,cAAe,cACzjBC,EAAa,CAAC,SACdC,EAAWC,WAAS,CAAEC,MAAOJ,EAAY,EACzCI,EAAQF,EAAS,GAAIG,EAAQH,EAAS,GAAII,EAAYC,OAAOC,KAAKH,CAAK,EAClFC,EAAUG,KAAK,eAAgB,mBAAmB,EAClD,IAAK,IAAIC,EAAK,EAAGC,EAAeV,EAAYS,EAAKC,EAAaC,OAAQF,CAAE,GAEpEJ,EAAUG,KAAK,UADDE,EAAaD,EACO,MAQ3BG,EAAyBC,qBAAmB,CACnDC,KAAM,yBACNC,OAAQ,CAACC,iBACTb,MAAOA,EACPC,MAAOA,EACPa,MAAOZ,EACPa,MAAO,CAAEC,MAAO,gBAChBC,QAAS,WAAc,MAAO,CAAEC,OAAQC,KAAKD,SAC7CE,KAAM,WACF,MAAO,CACHC,aAAc,IAAIC,gBAAc,EAAE,EAClCC,SAAU3B,EACV4B,OAAQ3B,EACR4B,kBAAmB,CAAA,EACnBC,mBAAoB,CAAA,EACpBC,UAAW,GACXC,cAAe,GACfC,OAAQ,CAACC,YACTC,mBAAoB,KAG5BC,QAAS,WACLb,KAAKE,aAAaY,SAAWd,KAAKE,aAAaa,QAC/Cf,KAAKE,aAAaa,QAAUf,KAAKe,QACjCf,KAAKgB,iBACLhB,KAAKE,aAAae,eAAiBjB,KAAKE,aAAagB,cACrDlB,KAAKE,aAAagB,cAAgBlB,KAAKkB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d,KAAKE,aAAaY,SAASgC,EAAWC,EAAWC,CAAc,GAGvEjD,OAAQ,WACJC,KAAKoB,WAEToC,iBAAkB,SAAUC,GACxB,OAAOzD,KAAKE,aAAasD,iBAAiBC,CAAG,GAEjDC,KAAM,WACF,OAAO1D,KAAKE,aAAawD,QAE7BC,SAAU,WACN,OAAO3D,KAAKE,aAAayD,YAE7BC,SAAU,WACN,OAAO5D,KAAKE,aAAa0D,YAGrC,CAAC,EACUC,EAAsB,CAC7BrE,KAAM,oBACNsE,QAAS,SAAUC,GACfA,EAAIC,UAAUH,EAAoBrE,KAAMF,CAAsB,EAEtE"}
@@ -1,13 +1,12 @@
1
1
  import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
2
- import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
- import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
2
+ export * from '@syncfusion/ej2-inplace-editor';
3
+ import { getProps, vueDefineComponent, ComponentBase, isExecute, gh } from '@syncfusion/ej2-vue-base';
4
+ import { isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
4
5
 
5
6
  const properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];
6
7
  const modelProps = ['value'];
7
8
  const testProp = getProps({ props: properties });
8
- const props = testProp[0];
9
- const watch = testProp[1];
10
- const emitProbs = Object.keys(watch);
9
+ const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
11
10
  emitProbs.push('modelchanged', 'update:modelValue');
12
11
  for (let props of modelProps) {
13
12
  emitProbs.push('update:' + props);
@@ -66,13 +65,7 @@ let InPlaceEditorComponent = vueDefineComponent({
66
65
  let elementCollection = this.templateCollection[tempName];
67
66
  if (elementCollection && elementCollection.length) {
68
67
  for (let ele of elementCollection) {
69
- let destroy = getValue('__vue__.$destroy', ele);
70
- if (destroy) {
71
- ele.__vue__.$destroy();
72
- }
73
- if (ele.innerHTML) {
74
- ele.innerHTML = '';
75
- }
68
+ this.destroyPortals(ele);
76
69
  }
77
70
  delete this.templateCollection[tempName];
78
71
  }
@@ -166,5 +159,4 @@ const InPlaceEditorPlugin = {
166
159
  };
167
160
 
168
161
  export { InPlaceEditorComponent, InPlaceEditorPlugin };
169
- export * from '@syncfusion/ej2-inplace-editor';
170
162
  //# sourceMappingURL=ej2-vue-inplace-editor.es2015.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-inplace-editor.es2015.js","sources":["../src/es6/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport const properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport let InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\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 trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom() {\n this.updated();\n },\n extendModelValue(val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save() {\n return this.ej2Instances.save();\n },\n setValue() {\n return this.ej2Instances.setValue();\n },\n validate() {\n return this.ej2Instances.validate();\n },\n }\n});\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":[],"mappings":";;;;AAIO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;AACplB,AAAO,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,CAAC;AACpC,AAAO,MAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACxD,AAAO,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;MAAE,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;MAAE,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACtF,SAAS,CAAC,IAAI,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;AACpD,KAAK,IAAI,KAAK,IAAI,UAAU,EAAE;IAC1B,SAAS,CAAC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC;CACrC;;;;;;;AAO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CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-inplace-editor.es2015.js","sources":["../src/es6/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport const properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport let InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\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 this.destroyPortals(ele);\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 trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom() {\n this.updated();\n },\n extendModelValue(val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save() {\n return this.ej2Instances.save();\n },\n setValue() {\n return this.ej2Instances.setValue();\n },\n validate() {\n return this.ej2Instances.validate();\n },\n }\n});\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":[],"mappings":";;;;;AAIO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,YA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AS;AACT,QAAQ,QAAQ,GAAG;AACnB,YAAY,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;AAChD,SAAS;AACT,KAAK;AACL,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,IAAI,IAAI,EAAE,mBAAmB;AAC7B,IAAI,OAAO,CAAC,GAAG,EAAE;AACjB,QAAQ,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;AACxE,KAAK;AACL;;;;"}
@@ -1,13 +1,12 @@
1
1
  import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
2
- import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
- import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
2
+ export * from '@syncfusion/ej2-inplace-editor';
3
+ import { getProps, vueDefineComponent, ComponentBase, isExecute, gh } from '@syncfusion/ej2-vue-base';
4
+ import { isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
4
5
 
5
6
  var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];
6
7
  var modelProps = ['value'];
7
8
  var testProp = getProps({ props: properties });
8
- var props = testProp[0];
9
- var watch = testProp[1];
10
- var emitProbs = Object.keys(watch);
9
+ var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
11
10
  emitProbs.push('modelchanged', 'update:modelValue');
12
11
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
13
12
  var props_1 = modelProps_1[_i];
@@ -69,13 +68,7 @@ var InPlaceEditorComponent = vueDefineComponent({
69
68
  if (elementCollection && elementCollection.length) {
70
69
  for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
70
  var ele = elementCollection_1[_a];
72
- var destroy = getValue('__vue__.$destroy', ele);
73
- if (destroy) {
74
- ele.__vue__.$destroy();
75
- }
76
- if (ele.innerHTML) {
77
- ele.innerHTML = '';
78
- }
71
+ this.destroyPortals(ele);
79
72
  }
80
73
  delete this.templateCollection[tempName];
81
74
  }
@@ -170,5 +163,4 @@ var InPlaceEditorPlugin = {
170
163
  };
171
164
 
172
165
  export { InPlaceEditorComponent, InPlaceEditorPlugin };
173
- export * from '@syncfusion/ej2-inplace-editor';
174
166
  //# sourceMappingURL=ej2-vue-inplace-editor.es5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-inplace-editor.es5.js","sources":["../../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], 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}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport var InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 trigger: function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom: function () {\n this.updated();\n },\n extendModelValue: function (val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save: function () {\n return this.ej2Instances.save();\n },\n setValue: function () {\n return this.ej2Instances.setValue();\n },\n validate: function () {\n return this.ej2Instances.validate();\n },\n }\n});\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":[],"mappings":";;;;AAIO,IAAI,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;AACllB,AAAO,IAAI,UAAU,GAAG,CAAC,OAAO,CAAC,CAAC;AAClC,AAAO,IAAI,QAAQ,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACtD,AAAO,IAAI,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;IAAE,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;IAAE,SAAS,GAAG,MAAM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AAO,CAAC,CAAC,CAAC;qBAClD;iBACJ;aACJ;YACD,KAAK,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,GAAG;gBACnD,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;aACpE;SACJ;QACD,MAAM,EAAE,YAAY;YAChB,IAAI,CAAC,OAAO,EAAE,CAAC;SAClB;QACD,gBAAgB,EAAE,UAAU,GAAG,EAAE;YAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;SAClD;QACD,IAAI,EAAE,YAAY;YACd,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SACnC;QACD,QAAQ,EAAE,YAAY;YAClB,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;QACD,QAAQ,EAAE,YAAY;YAClB,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,IAAI,mBAAmB,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-inplace-editor.es5.js","sources":["../../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], 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}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nexport var InPlaceEditorComponent = vueDefineComponent({\n name: 'InPlaceEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new InPlaceEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 this.destroyPortals(ele);\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n 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 trigger: function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n },\n custom: function () {\n this.updated();\n },\n extendModelValue: function (val) {\n return this.ej2Instances.extendModelValue(val);\n },\n save: function () {\n return this.ej2Instances.save();\n },\n setValue: function () {\n return this.ej2Instances.setValue();\n },\n validate: function () {\n return this.ej2Instances.validate();\n },\n }\n});\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":[],"mappings":";;;;;AAIO,IAAI,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;AAC3kB,IAAI,UAAU,GAAG,CAAC,OAAO,CAAC,CAAC;AAC3B,IA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,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAC3D,SAAS;AACT,QAAQ,IAAI,EAAE,YAAY;AAC1B,YAAY,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;AAC5C,SAAS;AACT,QAAQ,QAAQ,EAAE,YAAY;AAC9B,YAAY,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;AAChD,SAAS;AACT,QAAQ,QAAQ,EAAE,YAAY;AAC9B,YAAY,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;AAChD,SAAS;AACT,KAAK;AACL,CAAC,EAAE;AACO,IAAC,mBAAmB,GAAG;AACjC,IAAI,IAAI,EAAE,mBAAmB;AAC7B,IAAI,OAAO,EAAE,UAAU,GAAG,EAAE;AAC5B,QAAQ,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;AACxE,KAAK;AACL;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-inplace-editor@*",
3
- "_id": "@syncfusion/ej2-vue-inplace-editor@25.1.35",
3
+ "_id": "@syncfusion/ej2-vue-inplace-editor@26.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-syEFXiZ7nOnRt37PhyAmRURM/uzC7Ts9r+x+EWnceXmgKa78JpSWwiIwQm/QxtRovaMVs5p7lEajXDkf/f6mbQ==",
5
+ "_integrity": "sha512-DbrAYB8TALDdAQs7eRD9Ml0HYuYQq5r7T85BaNS6xIFnwaxCDqquopD4y/hxyiNKmd5kKYr7Va5WfknNCPaYLQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-inplace-editor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-25.1.35.tgz",
23
- "_shasum": "7988147614b79447ce705c04259cbe7f4458aed2",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-26.1.35.tgz",
23
+ "_shasum": "52a273c6ea905169a06b9e91b9044b2bd62c5df6",
24
24
  "_spec": "@syncfusion/ej2-vue-inplace-editor@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~25.2.3",
35
- "@syncfusion/ej2-inplace-editor": "25.2.3",
36
- "@syncfusion/ej2-vue-base": "~25.2.3"
34
+ "@syncfusion/ej2-base": "~26.2.4",
35
+ "@syncfusion/ej2-inplace-editor": "26.2.4",
36
+ "@syncfusion/ej2-vue-base": "~26.2.4"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server. for Vue",
@@ -58,6 +58,6 @@
58
58
  "ci-publish": "gulp ci-publish",
59
59
  "compile": "gulp ci-compile && gulp vue-global-script"
60
60
  },
61
- "version": "25.2.3",
61
+ "version": "26.2.4",
62
62
  "sideEffects": false
63
63
  }
@@ -27,7 +27,7 @@ export declare type InPlaceEditorComponent = typeof ComponentBase & {
27
27
  trigger(eventName: string, eventProp: {
28
28
  [key: string]: Object;
29
29
  }, successHandler?: Function): void;
30
- extendModelValue(val: string | number | boolean | Object | any | Object | string[] | Object[] | number[] | boolean[] | any[]): void;
30
+ extendModelValue(val: string | number | boolean | Object | object | Object | string[] | Object[] | number[] | boolean[] | object[]): void;
31
31
  save(): void;
32
32
  setValue(): void;
33
33
  validate(): void;
@@ -1,5 +1,5 @@
1
1
  import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
- import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
2
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
3
3
  import { isUndefined } from '@syncfusion/ej2-base';
4
4
  import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
5
5
  export var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];
@@ -67,13 +67,7 @@ export var InPlaceEditorComponent = vueDefineComponent({
67
67
  if (elementCollection && elementCollection.length) {
68
68
  for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
69
69
  var ele = elementCollection_1[_a];
70
- var destroy = getValue('__vue__.$destroy', ele);
71
- if (destroy) {
72
- ele.__vue__.$destroy();
73
- }
74
- if (ele.innerHTML) {
75
- ele.innerHTML = '';
76
- }
70
+ this.destroyPortals(ele);
77
71
  }
78
72
  delete this.templateCollection[tempName];
79
73
  }
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-inplace-editor/styles/fluent2.css';
@@ -0,0 +1 @@
1
+ @import 'inplace-editor/fluent2.scss';
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-inplace-editor/styles/inplace-editor/fluent2.css';
@@ -0,0 +1 @@
1
+ @import 'ej2-inplace-editor/styles/inplace-editor/fluent2.scss';
package/CHANGELOG.md DELETED
@@ -1,263 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ## 20.4.54 (2023-03-14)
6
-
7
- ### In-place Editor
8
-
9
- #### Bug Fixes
10
-
11
- - `#I440965` - Now, the validation works properly when using two way binding for the `value` property.
12
- - `#I443357` - Now, when you click the cancel button in the In-place Editor, the Rich Text Editor will no longer be focused.
13
-
14
- ## 20.4.48 (2023-02-01)
15
-
16
- ### In-place Editor
17
-
18
- #### Bug Fixes
19
-
20
- - `#I427677` - Resolved issue with `maxLength` validation rules for RTE type in In-place Editor.
21
-
22
- ## 19.4.38 (2021-12-17)
23
-
24
- ### In-place Editor
25
-
26
- #### Bug Fixes
27
-
28
- - `#I341653` - The issue with "Window `resize` event listener is not removed properly" has been resolved.
29
-
30
- ## 19.2.51 (2021-08-03)
31
-
32
- ### In-place Editor
33
-
34
- #### Bug Fixes
35
-
36
- - `#I335868` - The issue with "value is not being reset after form validation fails, and the cancel button is pressed" has been resolved.
37
- - `#I335868` - In popup mode, pressing the close-icon on the In-place editor `numeric` type changes the value to -1 has been resolved.
38
-
39
- ## 19.2.44 (2021-06-30)
40
-
41
- ### In-place Editor
42
-
43
- #### New Features
44
-
45
- - `#I311906`, `#FB23798` - Provided the new event `endEdit` that triggers when the edit action is finished and begin to submit/cancel the current value.
46
-
47
- #### Bug Fixes
48
-
49
- - `#I330556` - Resolved the exception raised, when the large value is typed and starting to edit for the second time in In-Place Editor.
50
-
51
- ## 18.4.30 (2020-12-17)
52
-
53
- ### In-place Editor
54
-
55
- #### Bug Fixes
56
-
57
- `#292832` - The issue with Validation is not working when template has more then two input elements" has been resolved.
58
-
59
-
60
- ## 18.2.59 (2020-09-21)
61
-
62
- ### In-place Editor
63
-
64
- #### Bug Fixes
65
-
66
- `#289326` - The issue with "Script error is thrown when configuring more than two validation rules in the In-place editor" has been resolved.
67
-
68
-
69
- ## 18.2.57 (2020-09-08)
70
-
71
- ### In-place Editor
72
-
73
- #### New Features
74
-
75
- - `#288860` - Provided the new events `submitClick` and `cancelClick` that triggers when clicking the In-place editor submit and cancel buttons.
76
-
77
- ## 18.2.54 (2020-08-18)
78
-
79
- ### In-place Editor
80
-
81
- #### New Features
82
-
83
- - `#279315` - Provided new event `change` that triggers when the integrated component value has changed that render based on the `type` property in the In-place editor.
84
-
85
- ## 18.2.48 (2020-08-04)
86
-
87
- ### In-place Editor
88
-
89
- #### Bug Fixes
90
-
91
- - `#284643` - The issue with "Keyborad actions closes the editor and calls the save action" has been resolved.
92
-
93
- ## 18.2.45 (2020-07-14)
94
-
95
- ### In-place Editor
96
-
97
- #### Bug Fixes
98
-
99
- - `#F154491` - The issue with "`OnActionBegin` event triggers only during the second time, when configuring validation with Date mode in the In-place Editor" has been resolved.
100
- - `#283160` - The issue with "validation occurs, when the `validationRules` API has not been configured in the In-place Editor" has been resolved.
101
-
102
- ## 18.2.44 (2020-07-07)
103
-
104
- ### In-place Editor
105
-
106
- #### Bug Fixes
107
-
108
- - `#273057` - Resolved the `EnableHtmlSanitizer` property is not working properly for In-place Editor value.
109
-
110
- ## 17.4.51 (2020-02-25)
111
-
112
- ### In-place Editor
113
-
114
- #### Bug Fixes
115
-
116
- - `#262774` - Resolved the focus not maintained issue when `type` is set to `DropDown` and enabling the `allowFiltering`.
117
-
118
- ## 17.4.50 (2020-02-18)
119
-
120
- ### In-place Editor
121
-
122
- #### Bug Fixes
123
-
124
- - `#255914` - Provided the `textOption` property and setting the value to `Always` will display field value on initial load when DropDown components are configured with the `fields` property.
125
-
126
- ## 17.4.46 (2020-01-30)
127
-
128
- ### In-place Editor
129
-
130
- #### New Features
131
-
132
- - `#258695` - Provided `cancel` argument in `beginEdit` event to prevent the open action of the editor.
133
-
134
- ## 17.4.43 (2020-01-14)
135
-
136
- ### In-place Editor
137
-
138
- #### New Features
139
-
140
- - `#255914` - Provided actual `text` field value display on initial load, when DropDown components are configured with the `fields` property.
141
-
142
- ## 17.4.40 (2019-12-24)
143
-
144
- ### In-place Editor
145
-
146
- #### Bug Fixes
147
-
148
- - `#254606` - Web accessibility related issues have been resolved.
149
-
150
- ## 17.3.29 (2019-11-26)
151
-
152
- ### In-place Editor
153
-
154
- #### Bug Fixes
155
-
156
- - `#253385` - The issue with displaying tooltip in the edit mode in the In-place Editor has been resolved.
157
-
158
- ## 17.3.16 (2019-10-09)
159
-
160
- ### In-place Editor
161
-
162
- #### Bug Fixes
163
-
164
- - `#247721` - The issue with rendering the MultiSelect type of In-place editor while configuring remote data source has been resolved.
165
-
166
- ## 17.3.9-beta (2019-09-20)
167
-
168
- ### In-place Editor
169
-
170
- #### Bug Fixes
171
-
172
- - `#F146947` - Resolved the argument issue that returns text field instead of value field in the action begin event when rendering the Combo Box within the In-place Editor.
173
- - `#248388` - Resolved the issue with configuring `cssClass` property to customize the appearance of sub-components of the In-place Editor.
174
-
175
- ## 17.2.48-beta (2019-08-28)
176
-
177
- ### In-place Editor
178
-
179
- #### Bug Fixes
180
-
181
- - The display format specified for the sub components in `In-place Editor`, will now be considered when initial value is provided.
182
-
183
- ## 17.2.35 (2019-07-17)
184
-
185
- ### In-place Editor
186
-
187
- #### New Features
188
-
189
- - `#240715` - Provided new event `beginEdit` that triggers when change to editing mode and it helps to skip the focus from `In-place Editor` component.
190
-
191
- ## 17.2.28-beta (2019-06-27)
192
-
193
- ### In-place Editor
194
-
195
- #### Bug Fixes
196
-
197
- - `#237441` - Modified value not updated, when using `RichTextEditor` with `Markdown` mode issue has been resolved
198
-
199
- ## 17.1.48 (2019-05-21)
200
-
201
- ### In-place Editor
202
-
203
- #### Bug Fixes
204
-
205
- - `#235175` - Issue with modules injection in Angular production mode that issue has been resolved.
206
-
207
- ## 17.1.47 (2019-05-14)
208
-
209
- ### In-place Editor
210
-
211
- #### Bug Fixes
212
-
213
- - Toolbar fails to render properly in `RichTextEditor` In-Place Editor when `afterOpen` is set, that issue has been fixed.
214
- - Not able to hide the close icon issue has been fixed.
215
- - Change event doesn't trigger, when `RichTextEditor` blurs that issue has been fixed.
216
-
217
- ## 16.4.53 (2019-02-13)
218
-
219
- ### In-place Editor
220
-
221
- #### Bug Fixes
222
-
223
- - Console error is thrown while validating `RTE` editor value issue has been fixed.
224
-
225
- ## 16.4.48 (2019-01-22)
226
-
227
- ### In-place Editor
228
-
229
- #### New Features
230
-
231
- - Type `number` support provided for `primaryKey` API.
232
-
233
- #### Bug Fixes
234
-
235
- - Formatting not applied to calendar component issue fixed.
236
- - Key returned instead of value while using `fieldSettings` with `dropDown` components issue has been fixed.
237
-
238
- ## 16.4.44 (2018-12-24)
239
-
240
- ### In-place Editor
241
-
242
- #### Bug Fixes
243
-
244
- - `space` key action issue is fixed with clicking save and cancel buttons.
245
- - Value persistence issue with `multi-select` when doing cancel action after removing selected item.
246
- - Double-Click issue in IOS device is fixed.
247
- - `Invalid background value` warning thrown in `In-place Editor`, that issue has been fixed.
248
-
249
- ## 16.4.40-beta (2018-12-10)
250
-
251
- ### In-place Editor
252
-
253
- The In-place Editor component is used to edit and update the input value dynamically to the server. It supports integrating many component types such as “DropDownList”,”DatePicker”,”AutoComplete”, etc.
254
-
255
-
256
- - **Render mode** - Provides two types of rendering modes when editing the input, namely “Inline” and “Popup”.
257
- - **Component integration** - Support to integrate components such as “DropDownList”, “DatePicker”,” AutoComplete”, etc. to the In-place Editor.
258
- - **Data binding** - Bind the In-place Editor component with an array of JSON objects or DataManager to save the edited data to the server.
259
- - **Customization** - Offers UI customization such as popup, buttons, and also denotes editable content state.
260
- - **Template** - Templates can be used to integrate custom controls to the In-place Editor.
261
- - **Globalization** - Provides right to left and localization support.
262
-
263
-