@syncfusion/ej2-vue-inplace-editor 19.4.38 → 20.1.47

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-vue-inplace-editor.umd.min.js +9 -0
  4. package/dist/es6/ej2-vue-inplace-editor.es2015.js +5 -3
  5. package/dist/es6/ej2-vue-inplace-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-inplace-editor.es5.js +5 -3
  7. package/dist/es6/ej2-vue-inplace-editor.es5.js.map +1 -1
  8. package/package.json +8 -8
  9. package/src/inplace-editor/inplaceeditor.component.js +5 -3
  10. package/styles/bootstrap-dark.css +0 -5
  11. package/styles/bootstrap.css +0 -5
  12. package/styles/bootstrap4.css +0 -5
  13. package/styles/bootstrap5-dark.css +5 -5
  14. package/styles/bootstrap5.css +5 -5
  15. package/styles/fabric-dark.css +0 -5
  16. package/styles/fabric.css +0 -5
  17. package/styles/highcontrast-light.css +0 -5
  18. package/styles/highcontrast.css +0 -5
  19. package/styles/inplace-editor/bootstrap-dark.css +0 -5
  20. package/styles/inplace-editor/bootstrap.css +0 -5
  21. package/styles/inplace-editor/bootstrap4.css +0 -5
  22. package/styles/inplace-editor/bootstrap5-dark.css +5 -5
  23. package/styles/inplace-editor/bootstrap5.css +5 -5
  24. package/styles/inplace-editor/fabric-dark.css +0 -5
  25. package/styles/inplace-editor/fabric.css +0 -5
  26. package/styles/inplace-editor/highcontrast-light.css +0 -5
  27. package/styles/inplace-editor/highcontrast.css +0 -5
  28. package/styles/inplace-editor/material-dark.css +0 -5
  29. package/styles/inplace-editor/material.css +0 -5
  30. package/styles/inplace-editor/tailwind-dark.css +4 -5
  31. package/styles/inplace-editor/tailwind.css +4 -5
  32. package/styles/material-dark.css +0 -5
  33. package/styles/material.css +0 -5
  34. package/styles/tailwind-dark.css +4 -5
  35. package/styles/tailwind.css +4 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 19.3.56 (2021-12-02)
6
+
7
+ ### In-place Editor
8
+
9
+ #### Bug Fixes
10
+
11
+ - `#I347382` - The issue with "'submitClick' event not triggered for 'enter' key action" has been resolved.
12
+ - `#I347379` - The issue with "Editor closed when press enter key on multiline enabled textbox" has been resolved.
13
+
14
+ ## 19.3.46 (2021-10-19)
15
+
5
16
  ### In-place Editor
6
17
 
7
18
  #### Bug Fixes
package/README.md CHANGED
@@ -57,4 +57,4 @@ Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-
57
57
  Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/inplace-editor/CHANGELOG.md?utm_source=npm&utm_campaign=inplace-editor)
58
58
 
59
59
 
60
- © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
60
+ © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,5 +1,14 @@
1
1
  /*!
2
2
  * filename: ej2-vue-inplace-editor.umd.min.js
3
+ * version : 20.1.47
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ /*!
11
+ * filename: ej2-vue-inplace-editor.umd.min.js
3
12
  * version : 19.4.38
4
13
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
14
  * Use of this code is subject to the terms of our license.
@@ -9,7 +9,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
11
  // {{VueImport}}
12
- const properties = ['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'];
12
+ const properties = ['islazyUpdate', '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'];
13
13
  const modelProps = ['value'];
14
14
  const testProp = getProps({ props: properties });
15
15
  const props = testProp[0];
@@ -108,8 +108,10 @@ class InPlaceEditorComponent extends ComponentBase {
108
108
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
109
109
  }
110
110
  else {
111
- this.$emit('update:' + propKey, eventProp[propKey]);
112
- this.$emit('modelchanged', eventProp[propKey]);
111
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
112
+ this.$emit('update:' + propKey, eventProp[propKey]);
113
+ this.$emit('modelchanged', eventProp[propKey]);
114
+ }
113
115
  }
114
116
  }
115
117
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-inplace-editor.es2015.js","sources":["../src/es6/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport const properties = ['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];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nlet InPlaceEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n}) End */\nclass InPlaceEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new InPlaceEditor({});\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 }\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 }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nInPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n], InPlaceEditorComponent);\nexport { InPlaceEditorComponent };\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM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,CAAC;KACvC;CACJ,CAAC;AACF,sBAAsB,GAAG,UAAU,CAAC;IAChC,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;CAMhB,EAAE,sBAAsB,CAAC,CAAC;AAC3B,AACO,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":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport const properties = ['islazyUpdate', '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];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nlet InPlaceEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n}) End */\nclass InPlaceEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new InPlaceEditor({});\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 }\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 }\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nInPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n], InPlaceEditorComponent);\nexport { InPlaceEditorComponent };\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EA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22
22
  return c > 3 && r && Object.defineProperty(target, key, r), r;
23
23
  };
24
24
  import { Options } from 'vue-class-component';
25
- var properties = ['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'];
25
+ var properties = ['islazyUpdate', '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'];
26
26
  var modelProps = ['value'];
27
27
  var testProp = getProps({ props: properties });
28
28
  var props = testProp[0];
@@ -121,8 +121,10 @@ var InPlaceEditorComponent = /** @__PURE__ @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- this.$emit('update:' + propKey, eventProp[propKey]);
125
- this.$emit('modelchanged', eventProp[propKey]);
124
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
125
+ this.$emit('update:' + propKey, eventProp[propKey]);
126
+ this.$emit('modelchanged', eventProp[propKey]);
127
+ }
126
128
  }
127
129
  }
128
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-inplace-editor.es5.js","sources":["../../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport var properties = ['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];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new InPlaceEditor({});\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 return _this;\n }\n InPlaceEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.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 }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\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 InPlaceEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,OAAO,UAAU,CAAC,EAAE,CAAC,EAAE;QACnB,aAAa,CAAC,CAAC,EA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,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,GAAG,UAAU,CAAC;QAChC,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE;gBACH,KAAK,EAAE,cAAc;aACxB;SACJ,EAAE,SAAS,CAAC;;;;;;KAMhB,EAAE,sBAAsB,CAAC,CAAC;IAC3B,OAAO,sBAAsB,CAAC;CACjC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,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":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport var properties = ['islazyUpdate', '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];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new InPlaceEditor({});\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 return _this;\n }\n InPlaceEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.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 }\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 InPlaceEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorP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J,EAAE,SAAS,CAAC;;;;;;KAMhB,EAAE,sBAAsB,CAAC,CAAC;IAC3B,OAAO,sBAAsB,CAAC;CACjC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-inplace-editor@*",
3
- "_id": "@syncfusion/ej2-vue-inplace-editor@19.6.1",
3
+ "_id": "@syncfusion/ej2-vue-inplace-editor@19.3.56",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-B92a3iG3aVSKH607VfFeBLwn6jEC43S5r2R2M9CU1/4cxFGnf6rd6q64DhhFkoce0TyzX0UAv+vDkdbHPYgrZw==",
5
+ "_integrity": "sha512-S6Qtc1mHeRzlRDlxGt4Xu+hjs7aXOKuC/xZ/N7cpmq590/Mmdee9E3V3Ka+SZev4SG64lMLBc134dI+zIJGtTA==",
6
6
  "_location": "/@syncfusion/ej2-vue-inplace-editor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-19.6.1.tgz",
23
- "_shasum": "1683ecf376fed97035efd306242febf44117fda9",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-19.3.56.tgz",
23
+ "_shasum": "1c0fd3dac75f1e3fa1b42d79439fe6896225451c",
24
24
  "_spec": "@syncfusion/ej2-vue-inplace-editor@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~19.4.38",
35
- "@syncfusion/ej2-inplace-editor": "19.4.38",
36
- "@syncfusion/ej2-vue-base": "~19.4.38"
34
+ "@syncfusion/ej2-base": "~20.1.47",
35
+ "@syncfusion/ej2-inplace-editor": "20.1.47",
36
+ "@syncfusion/ej2-vue-base": "~20.1.47"
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",
@@ -59,6 +59,6 @@
59
59
  "type": "git",
60
60
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
61
61
  },
62
- "version": "19.4.38",
62
+ "version": "20.1.47",
63
63
  "sideEffects": false
64
64
  }
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['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'];
25
+ export var properties = ['islazyUpdate', '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'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,8 +121,10 @@ var InPlaceEditorComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- this.$emit('update:' + propKey, eventProp[propKey]);
125
- this.$emit('modelchanged', eventProp[propKey]);
124
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
125
+ this.$emit('update:' + propKey, eventProp[propKey]);
126
+ this.$emit('modelchanged', eventProp[propKey]);
127
+ }
126
128
  }
127
129
  }
128
130
  }
@@ -615,11 +615,6 @@
615
615
  transform: translateX(30%) translateY(-50%);
616
616
  }
617
617
 
618
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
619
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
620
- padding: 0;
621
- }
622
-
623
618
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
624
619
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
625
620
  padding: 12px;
@@ -760,11 +760,6 @@
760
760
  transform: translateX(30%) translateY(-50%);
761
761
  }
762
762
 
763
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
764
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
765
- padding: 0;
766
- }
767
-
768
763
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
769
764
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
770
765
  padding: 12px;
@@ -1001,11 +1001,6 @@
1001
1001
  transform: translateX(30%) translateY(-50%);
1002
1002
  }
1003
1003
 
1004
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
1005
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
1006
- padding: 0;
1007
- }
1008
-
1009
1004
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
1010
1005
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
1011
1006
  padding: 16px;
@@ -63,6 +63,7 @@
63
63
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
64
64
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
65
65
  background: transparent;
66
+ color: inherit;
66
67
  }
67
68
 
68
69
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,11 +638,6 @@
637
638
  transform: translateX(30%) translateY(-50%);
638
639
  }
639
640
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
641
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
642
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
643
  padding: 16px;
@@ -778,6 +774,10 @@
778
774
  border-radius: 4px;
779
775
  }
780
776
 
777
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
778
+ padding: 0;
779
+ }
780
+
781
781
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
782
  min-height: 30px;
783
783
  }
@@ -63,6 +63,7 @@
63
63
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
64
64
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
65
65
  background: transparent;
66
+ color: inherit;
66
67
  }
67
68
 
68
69
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,11 +638,6 @@
637
638
  transform: translateX(30%) translateY(-50%);
638
639
  }
639
640
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
641
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
642
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
643
  padding: 16px;
@@ -778,6 +774,10 @@
778
774
  border-radius: 4px;
779
775
  }
780
776
 
777
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
778
+ padding: 0;
779
+ }
780
+
781
781
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
782
  min-height: 30px;
783
783
  }
@@ -569,11 +569,6 @@
569
569
  transform: translateX(30%) translateY(-50%);
570
570
  }
571
571
 
572
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
573
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
574
- padding: 0;
575
- }
576
-
577
572
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
578
573
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
579
574
  padding: 12px;
package/styles/fabric.css CHANGED
@@ -563,11 +563,6 @@
563
563
  transform: translateX(30%) translateY(-50%);
564
564
  }
565
565
 
566
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
567
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
568
- padding: 0;
569
- }
570
-
571
566
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
572
567
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
573
568
  padding: 12px;
@@ -677,11 +677,6 @@
677
677
  transform: translateX(30%) translateY(-50%);
678
678
  }
679
679
 
680
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
681
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
682
- padding: 0;
683
- }
684
-
685
680
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
686
681
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
687
682
  padding: 12px;
@@ -680,11 +680,6 @@
680
680
  transform: translateX(30%) translateY(-50%);
681
681
  }
682
682
 
683
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
684
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
685
- padding: 0;
686
- }
687
-
688
683
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
689
684
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
690
685
  padding: 12px;
@@ -615,11 +615,6 @@
615
615
  transform: translateX(30%) translateY(-50%);
616
616
  }
617
617
 
618
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
619
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
620
- padding: 0;
621
- }
622
-
623
618
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
624
619
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
625
620
  padding: 12px;
@@ -760,11 +760,6 @@
760
760
  transform: translateX(30%) translateY(-50%);
761
761
  }
762
762
 
763
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
764
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
765
- padding: 0;
766
- }
767
-
768
763
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
769
764
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
770
765
  padding: 12px;
@@ -1001,11 +1001,6 @@
1001
1001
  transform: translateX(30%) translateY(-50%);
1002
1002
  }
1003
1003
 
1004
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
1005
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
1006
- padding: 0;
1007
- }
1008
-
1009
1004
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
1010
1005
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
1011
1006
  padding: 16px;
@@ -63,6 +63,7 @@
63
63
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
64
64
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
65
65
  background: transparent;
66
+ color: inherit;
66
67
  }
67
68
 
68
69
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,11 +638,6 @@
637
638
  transform: translateX(30%) translateY(-50%);
638
639
  }
639
640
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
641
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
642
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
643
  padding: 16px;
@@ -778,6 +774,10 @@
778
774
  border-radius: 4px;
779
775
  }
780
776
 
777
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
778
+ padding: 0;
779
+ }
780
+
781
781
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
782
  min-height: 30px;
783
783
  }
@@ -63,6 +63,7 @@
63
63
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
64
64
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
65
65
  background: transparent;
66
+ color: inherit;
66
67
  }
67
68
 
68
69
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,11 +638,6 @@
637
638
  transform: translateX(30%) translateY(-50%);
638
639
  }
639
640
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
641
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
642
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
643
  padding: 16px;
@@ -778,6 +774,10 @@
778
774
  border-radius: 4px;
779
775
  }
780
776
 
777
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
778
+ padding: 0;
779
+ }
780
+
781
781
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
782
  min-height: 30px;
783
783
  }
@@ -569,11 +569,6 @@
569
569
  transform: translateX(30%) translateY(-50%);
570
570
  }
571
571
 
572
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
573
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
574
- padding: 0;
575
- }
576
-
577
572
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
578
573
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
579
574
  padding: 12px;
@@ -563,11 +563,6 @@
563
563
  transform: translateX(30%) translateY(-50%);
564
564
  }
565
565
 
566
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
567
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
568
- padding: 0;
569
- }
570
-
571
566
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
572
567
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
573
568
  padding: 12px;
@@ -677,11 +677,6 @@
677
677
  transform: translateX(30%) translateY(-50%);
678
678
  }
679
679
 
680
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
681
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
682
- padding: 0;
683
- }
684
-
685
680
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
686
681
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
687
682
  padding: 12px;
@@ -680,11 +680,6 @@
680
680
  transform: translateX(30%) translateY(-50%);
681
681
  }
682
682
 
683
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
684
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
685
- padding: 0;
686
- }
687
-
688
683
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
689
684
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
690
685
  padding: 12px;
@@ -576,11 +576,6 @@
576
576
  transform: translateX(30%) translateY(-50%);
577
577
  }
578
578
 
579
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
580
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
581
- padding: 0;
582
- }
583
-
584
579
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
585
580
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
586
581
  padding: 16px;
@@ -628,11 +628,6 @@
628
628
  transform: translateX(30%) translateY(-50%);
629
629
  }
630
630
 
631
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
632
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
633
- padding: 0;
634
- }
635
-
636
631
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
637
632
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
638
633
  padding: 16px;
@@ -637,11 +637,6 @@
637
637
  transform: translateX(30%) translateY(-50%);
638
638
  }
639
639
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
640
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
641
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
642
  padding: 16px;
@@ -778,6 +773,10 @@
778
773
  border-radius: 4px;
779
774
  }
780
775
 
776
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
777
+ padding: 0;
778
+ }
779
+
781
780
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
781
  min-height: 30px;
783
782
  }
@@ -637,11 +637,6 @@
637
637
  transform: translateX(30%) translateY(-50%);
638
638
  }
639
639
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
640
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
641
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
642
  padding: 16px;
@@ -778,6 +773,10 @@
778
773
  border-radius: 4px;
779
774
  }
780
775
 
776
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
777
+ padding: 0;
778
+ }
779
+
781
780
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
781
  min-height: 30px;
783
782
  }
@@ -576,11 +576,6 @@
576
576
  transform: translateX(30%) translateY(-50%);
577
577
  }
578
578
 
579
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
580
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
581
- padding: 0;
582
- }
583
-
584
579
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
585
580
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
586
581
  padding: 16px;
@@ -628,11 +628,6 @@
628
628
  transform: translateX(30%) translateY(-50%);
629
629
  }
630
630
 
631
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
632
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
633
- padding: 0;
634
- }
635
-
636
631
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
637
632
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
638
633
  padding: 16px;
@@ -637,11 +637,6 @@
637
637
  transform: translateX(30%) translateY(-50%);
638
638
  }
639
639
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
640
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
641
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
642
  padding: 16px;
@@ -778,6 +773,10 @@
778
773
  border-radius: 4px;
779
774
  }
780
775
 
776
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
777
+ padding: 0;
778
+ }
779
+
781
780
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
781
  min-height: 30px;
783
782
  }
@@ -637,11 +637,6 @@
637
637
  transform: translateX(30%) translateY(-50%);
638
638
  }
639
639
 
640
- .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content,
641
- .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content {
642
- padding: 0;
643
- }
644
-
645
640
  .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper,
646
641
  .e-inplaceeditor-tip.e-bigger.e-tooltip-wrap .e-tip-content .e-editable-wrapper {
647
642
  padding: 16px;
@@ -778,6 +773,10 @@
778
773
  border-radius: 4px;
779
774
  }
780
775
 
776
+ .e-bigger .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content {
777
+ padding: 0;
778
+ }
779
+
781
780
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
782
781
  min-height: 30px;
783
782
  }