@syncfusion/ej2-vue-richtexteditor
Advanced tools
Comparing version 17.2.51 to 17.2.52
@@ -10,3 +10,3 @@ /*! | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["backgroundColor","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enablePersistence","enableRtl","enableTabKey","enabled","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","beforeDialogOpen","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return r(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t){if(("change"===e||"input"===e)&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],r=o[0];t&&o&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t)},c.prototype.render=function(e){return e("textarea",this.$slots.default)},c.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},c.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},c.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.focusOut=function(){return this.ej2Instances.focusOut()},c.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},c.prototype.getContent=function(){return this.ej2Instances.getContent()},c.prototype.getHtml=function(){return this.ej2Instances.getHtml()},c.prototype.getID=function(){return this.ej2Instances.getID()},c.prototype.getRange=function(){return this.ej2Instances.getRange()},c.prototype.getSelection=function(){return this.ej2Instances.getSelection()},c.prototype.getText=function(){return this.ej2Instances.getText()},c.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},c.prototype.preventDefaultResize=function(e){return this.ej2Instances.preventDefaultResize(e)},c.prototype.print=function(){return this.ej2Instances.print()},c.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},c.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},c.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},c.prototype.selectAll=function(){return this.ej2Instances.selectAll()},c.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},c.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},c.prototype.setEnable=function(){return this.ej2Instances.setEnable()},c.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},c.prototype.setReadOnly=function(e){return this.ej2Instances.setReadOnly(e)},c.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},c.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},c.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},c=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],c)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,c)}};e.RichTextEditorComponent=c,e.RichTextEditorPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["backgroundColor","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enablePersistence","enableRtl","enableTabKey","enabled","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","beforeDialogOpen","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return r(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t,successHandler){if(("change"===e||"input"===e)&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],r=o[0];t&&o&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,successHandler)},c.prototype.render=function(e){return e("textarea",this.$slots.default)},c.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},c.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},c.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.focusOut=function(){return this.ej2Instances.focusOut()},c.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},c.prototype.getContent=function(){return this.ej2Instances.getContent()},c.prototype.getHtml=function(){return this.ej2Instances.getHtml()},c.prototype.getID=function(){return this.ej2Instances.getID()},c.prototype.getRange=function(){return this.ej2Instances.getRange()},c.prototype.getSelection=function(){return this.ej2Instances.getSelection()},c.prototype.getText=function(){return this.ej2Instances.getText()},c.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},c.prototype.preventDefaultResize=function(e){return this.ej2Instances.preventDefaultResize(e)},c.prototype.print=function(){return this.ej2Instances.print()},c.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},c.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},c.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},c.prototype.selectAll=function(){return this.ej2Instances.selectAll()},c.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},c.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},c.prototype.setEnable=function(){return this.ej2Instances.setEnable()},c.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},c.prototype.setReadOnly=function(e){return this.ej2Instances.setReadOnly(e)},c.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},c.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},c.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},c=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],c)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,c)}};e.RichTextEditorComponent=c,e.RichTextEditorPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-richtexteditor.umd.min.js.map |
@@ -49,3 +49,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
} | ||
trigger(eventName, eventProp) { | ||
trigger(eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -60,3 +60,3 @@ let key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -63,0 +63,0 @@ } |
@@ -65,3 +65,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
}; | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -76,3 +76,3 @@ var key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -79,0 +79,0 @@ }; |
{ | ||
"_from": "@syncfusion/ej2-vue-richtexteditor@*", | ||
"_id": "@syncfusion/ej2-vue-richtexteditor@17.2.51", | ||
"_from": "@syncfusion/ej2-vue-richtexteditor@17.2.52", | ||
"_id": "@syncfusion/ej2-vue-richtexteditor@17.2.52", | ||
"_inBundle": false, | ||
"_integrity": "sha512-l2s8VObQqFnTaRY9XosK9qoskZvktODionZdkOz+wApusTVjmWtJ0Q6qq1p9jJpH4xrHlI4hLKGKyDejG2OYzQ==", | ||
"_integrity": "sha512-YPyPoRKD6h61mLuezVwGGcAUasY6fjaXMyPRAmOI0YqOe/6ypT24sYOYb9a6vdoj0Iw1NIBzu8fWsJe+w5u1ng==", | ||
"_location": "/@syncfusion/ej2-vue-richtexteditor", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "range", | ||
"type": "version", | ||
"registry": true, | ||
"raw": "@syncfusion/ej2-vue-richtexteditor@*", | ||
"raw": "@syncfusion/ej2-vue-richtexteditor@17.2.52", | ||
"name": "@syncfusion/ej2-vue-richtexteditor", | ||
"escapedName": "@syncfusion%2fej2-vue-richtexteditor", | ||
"scope": "@syncfusion", | ||
"rawSpec": "*", | ||
"rawSpec": "17.2.52", | ||
"saveSpec": null, | ||
"fetchSpec": "*" | ||
"fetchSpec": "17.2.52" | ||
}, | ||
@@ -22,6 +22,6 @@ "_requiredBy": [ | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-richtexteditor/-/ej2-vue-richtexteditor-18.0.1.tgz", | ||
"_shasum": "032bdf3f3d3d5c222ff4cb58fdac22e08804968a", | ||
"_spec": "@syncfusion/ej2-vue-richtexteditor@*", | ||
"_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-richtexteditor/-/ej2-vue-richtexteditor-17.2.52.tgz", | ||
"_shasum": "c817e8582cb7ab17308e493d6821dd5e38e15900", | ||
"_spec": "@syncfusion/ej2-vue-richtexteditor@17.2.52", | ||
"_where": "D:\\del6\\rich-text-editor", | ||
"author": { | ||
@@ -36,3 +36,3 @@ "name": "Syncfusion Inc." | ||
"@syncfusion/ej2-base": "~17.2.49", | ||
"@syncfusion/ej2-richtexteditor": "~17.2.51", | ||
"@syncfusion/ej2-richtexteditor": "~17.2.52", | ||
"@syncfusion/ej2-vue-base": "~17.2.47" | ||
@@ -67,4 +67,4 @@ }, | ||
}, | ||
"version": "17.2.51", | ||
"sideEffects": false | ||
} | ||
"sideEffects": false, | ||
"version": "17.2.52" | ||
} |
@@ -24,3 +24,3 @@ import { ComponentBase } from '@syncfusion/ej2-vue-base'; | ||
[key: string]: Object; | ||
}): void; | ||
}, successHandler?: Function): void; | ||
render(createElement: any): any; | ||
@@ -27,0 +27,0 @@ disableToolbarItem(items: string | string[], muteToolbarUpdate?: boolean): void; |
@@ -64,3 +64,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -75,3 +75,3 @@ var key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -78,0 +78,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2124693