@syncfusion/ej2-vue-inplace-editor 21.1.36 → 21.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,12 +2,6 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### In-place Editor
6
-
7
- #### Bug Fixes
8
-
9
- - `#FB182978` - Resolved an issue Hidden save and cancel icons when focused on using tab key navigation.
10
-
11
5
  ## 20.4.54 (2023-03-14)
12
6
 
13
7
  ### In-place Editor
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-inplace-editor.umd.min.js
3
- * version : 21.1.36
3
+ * version : 21.1.37
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-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{ej2Instance: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.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})});
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 ej2Instance: 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","ej2Instance","InPlaceEditor","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","ej2Instances","_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","V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AAU,WACN,OAAOjE,KAAKc,aAAamD,eAI1BC,GACP1E,KAAM,oBACN2E,QAAS,SAAUC,GACfA,EAAIC,UAAUH,EAAoB1E,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, 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,SAAU,UAAW,YAAa,UAAW,cAAe,cACzjBC,GAAc,SACdC,EAAWC,YAAWC,MAAOJ,IAC7BI,EAAQF,EAAS,GAAIG,EAAQH,EAAS,GAAII,EAAYC,OAAOC,KAAKH,GAC7EC,EAAUG,KAAK,eAAgB,qBAC/B,IAAK,IAAIC,EAAK,EAAGC,EAAeV,EAAYS,EAAKC,EAAaC,OAAQF,IAAM,CACxE,IAAIG,EAAUF,EAAaD,GAC3BJ,EAAUG,KAAK,UAAYI,GAQ/B,IAAWC,EAAyBC,sBAChCC,KAAM,yBACNC,QAASC,iBACTd,MAAOA,EACPC,MAAOA,EACPc,MAAOb,EACPc,OAASC,MAAO,gBAChBC,QAAS,WAAc,OAASC,OAAQC,KAAKD,SAC7CE,KAAM,WACF,OACIC,aAAc,IAAIC,oBAClBC,SAA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E,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"}
@@ -28,7 +28,7 @@ let InPlaceEditorComponent = vueDefineComponent({
28
28
  provide() { return { custom: this.custom }; },
29
29
  data() {
30
30
  return {
31
- ej2Instance: new InPlaceEditor({}),
31
+ ej2Instances: new InPlaceEditor({}),
32
32
  propKeys: properties,
33
33
  models: modelProps,
34
34
  hasChildDirective: false,
@@ -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 ej2Instance: 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,C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,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;QACD,QAAQ,GAAG;YACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,mBAAmB,GAAG;IAC/B,IAAI,EAAE,mBAAmB;IACzB,OAAO,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, 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,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AC,OAAO,CAAC,CAAC,CAAC;wBAC7E,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC3E;yBACI;wBACD,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;wBACpD,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,OAAO,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,GAAG;YACL,IAAI,CAAC,OAAO,EAAE,CAAC;SAClB;QACD,gBAAgB,CAAC,GAAG,EAAE;YAClB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;SAClD;QACD,IAAI,GAAG;YACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SACnC;QACD,QAAQ,GAAG;YACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;QACD,QAAQ,GAAG;YACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;SACvC;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,mBAAmB,GAAG;IAC/B,IAAI,EAAE,mBAAmB;IACzB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
@@ -29,7 +29,7 @@ var InPlaceEditorComponent = vueDefineComponent({
29
29
  provide: function () { return { custom: this.custom }; },
30
30
  data: function () {
31
31
  return {
32
- ej2Instance: new InPlaceEditor({}),
32
+ ej2Instances: new InPlaceEditor({}),
33
33
  propKeys: properties,
34
34
  models: modelProps,
35
35
  hasChildDirective: false,
@@ -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 ej2Instance: 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,EA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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, 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,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACpF,SAAS,CAAC,IAAI,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;AACpD,KAAK,IAAI,EAAE,GAAG,CAAC,EAAE,YAAY,GAAG,UAAU,EAAE,EAAE,GAAG,YAAY,CAA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c,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;;;;;"}
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-vue-inplace-editor@*",
3
- "_id": "@syncfusion/ej2-vue-inplace-editor@22.1.34",
2
+ "_from": "@syncfusion/ej2-vue-inplace-editor@21.1.37",
3
+ "_id": "@syncfusion/ej2-vue-inplace-editor@21.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Q6RZvc7r4t5CLz9AuQ1lGEMWVkgjUHU3pdPBDghFLeTVpsJMsd1s1wh9wb86SocDU9e/fAZlNPLPIkb9nAHe6g==",
5
+ "_integrity": "sha512-bt9jKJdTHTvdorrQHzzZWsyJrPq5zXSDQJ1JD2/E+6mxe6vDFSm7YfkL8kbIrIzxeQ/oVKXSRh6tf9VQO9nyYg==",
6
6
  "_location": "/@syncfusion/ej2-vue-inplace-editor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
9
- "type": "range",
9
+ "type": "version",
10
10
  "registry": true,
11
- "raw": "@syncfusion/ej2-vue-inplace-editor@*",
11
+ "raw": "@syncfusion/ej2-vue-inplace-editor@21.1.37",
12
12
  "name": "@syncfusion/ej2-vue-inplace-editor",
13
13
  "escapedName": "@syncfusion%2fej2-vue-inplace-editor",
14
14
  "scope": "@syncfusion",
15
- "rawSpec": "*",
15
+ "rawSpec": "21.1.37",
16
16
  "saveSpec": null,
17
- "fetchSpec": "*"
17
+ "fetchSpec": "21.1.37"
18
18
  },
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-22.1.34.tgz",
23
- "_shasum": "bf055572e4fd316e637059c3bcb2ab27ac35ea29",
24
- "_spec": "@syncfusion/ej2-vue-inplace-editor@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
22
+ "_resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-21.1.37.tgz",
23
+ "_shasum": "84031f52c2f1186f38ca4aeca4374d11a2727a8f",
24
+ "_spec": "@syncfusion/ej2-vue-inplace-editor@21.1.37",
25
+ "_where": "E:\\june\\remove",
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": "~22.1.34",
35
- "@syncfusion/ej2-inplace-editor": "21.1.36",
36
- "@syncfusion/ej2-vue-base": "~22.1.34"
34
+ "@syncfusion/ej2-base": "~21.1.37",
35
+ "@syncfusion/ej2-inplace-editor": "21.1.37",
36
+ "@syncfusion/ej2-vue-base": "~21.1.37"
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": "21.1.36",
62
- "sideEffects": false
63
- }
61
+ "sideEffects": false,
62
+ "version": "21.1.42"
63
+ }
@@ -27,7 +27,7 @@ export var InPlaceEditorComponent = vueDefineComponent({
27
27
  provide: function () { return { custom: this.custom }; },
28
28
  data: function () {
29
29
  return {
30
- ej2Instance: new InPlaceEditor({}),
30
+ ej2Instances: new InPlaceEditor({}),
31
31
  propKeys: properties,
32
32
  models: modelProps,
33
33
  hasChildDirective: false,
@@ -197,8 +197,8 @@
197
197
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-fontcolor-dropdown,
198
198
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-numberformatlist-dropdown,
199
199
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-bulletformatlist-dropdown {
200
- padding-bottom: 1px;
201
- padding-top: 1px;
200
+ padding-bottom: 0;
201
+ padding-top: 0;
202
202
  }
203
203
  .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn:hover, .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn.e-active, .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn.e-active:hover,
204
204
  .e-rte-toolbar .e-toolbar-items .e-rte-fontcolor-dropdown.e-tbar-btn.e-btn:hover,
@@ -284,8 +284,8 @@
284
284
  }
285
285
  .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-inline-dropdown.e-control.e-tbar-btn.e-btn, .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-inline-dropdown.e-control.e-tbar-btn.e-btn {
286
286
  border: 1px solid transparent;
287
- padding-bottom: 0;
288
- padding-top: 0;
287
+ padding-bottom: 1px;
288
+ padding-top: 1px;
289
289
  }
290
290
  .e-richtexteditor .e-rte-content {
291
291
  border-bottom-left-radius: 4px;
@@ -1066,14 +1066,6 @@
1066
1066
  background-color: #5a6268;
1067
1067
  border: 1px solid #545b62;
1068
1068
  }
1069
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
1070
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
1071
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
1072
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
1073
- background-color: #fff;
1074
- border: 1px solid #ced4da;
1075
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
1076
- }
1077
1069
  .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus,
1078
1070
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus,
1079
1071
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus,
@@ -1088,21 +1080,18 @@
1088
1080
  background-color: #545b62;
1089
1081
  border: 1px solid #4e555b;
1090
1082
  }
1091
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1083
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1092
1084
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
1085
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1093
1086
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
1094
1087
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
1088
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1095
1089
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1096
1090
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
1091
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1097
1092
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
1098
1093
  color: #fff;
1099
1094
  }
1100
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1101
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1102
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1103
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons {
1104
- color: #fff;
1105
- }
1106
1095
 
1107
1096
  .e-inplaceeditor-tip.e-tooltip-wrap.e-popup {
1108
1097
  background: #fff;
@@ -777,23 +777,19 @@
777
777
  background-color: #5a6268;
778
778
  border: 1px solid #545b62;
779
779
  }
780
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
781
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
782
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
783
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
784
- background-color: #212529;
785
- border: 1px solid #444c54;
786
- border-radius: 4px;
787
- }
788
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
780
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
789
781
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
782
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
790
783
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
791
784
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
785
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
792
786
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
793
787
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
788
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
794
789
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
795
790
  color: #fff;
796
791
  }
792
+
797
793
  .e-inplaceeditor .e-editable-value-wrapper {
798
794
  background-color: transparent;
799
795
  border-radius: 4px;
@@ -777,23 +777,19 @@
777
777
  background-color: #5a6268;
778
778
  border: 1px solid #545b62;
779
779
  }
780
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
781
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
782
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
783
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
784
- background-color: #fff;
785
- border: 1px solid #dee2e6;
786
- border-radius: 4px;
787
- }
788
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
780
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
789
781
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
782
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
790
783
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
791
784
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
785
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
792
786
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
793
787
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
788
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
794
789
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
795
790
  color: #fff;
796
791
  }
792
+
797
793
  .e-inplaceeditor .e-editable-value-wrapper {
798
794
  background-color: transparent;
799
795
  border-radius: 4px;
@@ -197,8 +197,8 @@
197
197
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-fontcolor-dropdown,
198
198
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-numberformatlist-dropdown,
199
199
  .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-rte-bulletformatlist-dropdown {
200
- padding-bottom: 1px;
201
- padding-top: 1px;
200
+ padding-bottom: 0;
201
+ padding-top: 0;
202
202
  }
203
203
  .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn:hover, .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn.e-active, .e-rte-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn.e-btn.e-active:hover,
204
204
  .e-rte-toolbar .e-toolbar-items .e-rte-fontcolor-dropdown.e-tbar-btn.e-btn:hover,
@@ -284,8 +284,8 @@
284
284
  }
285
285
  .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-inline-dropdown.e-control.e-tbar-btn.e-btn, .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-inline-dropdown.e-control.e-tbar-btn.e-btn {
286
286
  border: 1px solid transparent;
287
- padding-bottom: 0;
288
- padding-top: 0;
287
+ padding-bottom: 1px;
288
+ padding-top: 1px;
289
289
  }
290
290
  .e-richtexteditor .e-rte-content {
291
291
  border-bottom-left-radius: 4px;
@@ -1066,14 +1066,6 @@
1066
1066
  background-color: #5a6268;
1067
1067
  border: 1px solid #545b62;
1068
1068
  }
1069
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
1070
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
1071
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
1072
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
1073
- background-color: #fff;
1074
- border: 1px solid #ced4da;
1075
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
1076
- }
1077
1069
  .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus,
1078
1070
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus,
1079
1071
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus,
@@ -1088,21 +1080,18 @@
1088
1080
  background-color: #545b62;
1089
1081
  border: 1px solid #4e555b;
1090
1082
  }
1091
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1083
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1092
1084
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
1085
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1093
1086
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
1094
1087
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
1088
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1095
1089
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
1096
1090
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
1091
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1097
1092
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
1098
1093
  color: #fff;
1099
1094
  }
1100
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1101
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
1102
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
1103
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons {
1104
- color: #fff;
1105
- }
1106
1095
 
1107
1096
  .e-inplaceeditor-tip.e-tooltip-wrap.e-popup {
1108
1097
  background: #fff;
@@ -777,23 +777,19 @@
777
777
  background-color: #5a6268;
778
778
  border: 1px solid #545b62;
779
779
  }
780
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
781
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
782
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
783
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
784
- background-color: #212529;
785
- border: 1px solid #444c54;
786
- border-radius: 4px;
787
- }
788
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
780
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
789
781
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
782
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
790
783
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
791
784
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
785
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
792
786
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
793
787
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
788
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
794
789
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
795
790
  color: #fff;
796
791
  }
792
+
797
793
  .e-inplaceeditor .e-editable-value-wrapper {
798
794
  background-color: transparent;
799
795
  border-radius: 4px;
@@ -777,23 +777,19 @@
777
777
  background-color: #5a6268;
778
778
  border: 1px solid #545b62;
779
779
  }
780
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
781
- .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled,
782
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:disabled,
783
- .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:disabled {
784
- background-color: #fff;
785
- border: 1px solid #dee2e6;
786
- border-radius: 4px;
787
- }
788
- .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
780
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
789
781
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
782
+ .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
790
783
  .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
791
784
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
785
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
792
786
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
793
787
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
788
+ .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
794
789
  .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
795
790
  color: #fff;
796
791
  }
792
+
797
793
  .e-inplaceeditor .e-editable-value-wrapper {
798
794
  background-color: transparent;
799
795
  border-radius: 4px;