@syncfusion/ej2-vue-richtexteditor 20.4.53 → 21.1.35

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 (42) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/README.md +4 -4
  3. package/dist/ej2-vue-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-vue-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-vue-richtexteditor.es2015.js +184 -207
  6. package/dist/es6/ej2-vue-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-richtexteditor.es5.js +199 -227
  8. package/dist/es6/ej2-vue-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-vue-richtexteditor.min.js +2 -2
  10. package/package.json +9 -9
  11. package/src/rich-text-editor/richtexteditor.component.d.ts +3 -52
  12. package/src/rich-text-editor/richtexteditor.component.js +201 -232
  13. package/styles/bootstrap-dark.css +31 -1
  14. package/styles/bootstrap.css +31 -1
  15. package/styles/bootstrap4.css +31 -1
  16. package/styles/bootstrap5-dark.css +32 -2
  17. package/styles/bootstrap5.css +32 -2
  18. package/styles/fabric-dark.css +31 -1
  19. package/styles/fabric.css +31 -1
  20. package/styles/fluent-dark.css +34 -4
  21. package/styles/fluent.css +34 -4
  22. package/styles/highcontrast-light.css +31 -1
  23. package/styles/highcontrast.css +31 -1
  24. package/styles/material-dark.css +31 -1
  25. package/styles/material.css +31 -1
  26. package/styles/rich-text-editor/bootstrap-dark.css +31 -1
  27. package/styles/rich-text-editor/bootstrap.css +31 -1
  28. package/styles/rich-text-editor/bootstrap4.css +31 -1
  29. package/styles/rich-text-editor/bootstrap5-dark.css +32 -2
  30. package/styles/rich-text-editor/bootstrap5.css +32 -2
  31. package/styles/rich-text-editor/fabric-dark.css +31 -1
  32. package/styles/rich-text-editor/fabric.css +31 -1
  33. package/styles/rich-text-editor/fluent-dark.css +34 -4
  34. package/styles/rich-text-editor/fluent.css +34 -4
  35. package/styles/rich-text-editor/highcontrast-light.css +31 -1
  36. package/styles/rich-text-editor/highcontrast.css +31 -1
  37. package/styles/rich-text-editor/material-dark.css +31 -1
  38. package/styles/rich-text-editor/material.css +31 -1
  39. package/styles/rich-text-editor/tailwind-dark.css +31 -1
  40. package/styles/rich-text-editor/tailwind.css +31 -1
  41. package/styles/tailwind-dark.css +31 -1
  42. package/styles/tailwind.css +31 -1
@@ -1,28 +1,8 @@
1
1
  import { RichTextEditor } from '@syncfusion/ej2-richtexteditor';
2
+ import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
3
  import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
3
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
4
4
 
5
- var __extends = (undefined && undefined.__extends) || (function () {
6
- var extendStatics = function (d, b) {
7
- extendStatics = Object.setPrototypeOf ||
8
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10
- return extendStatics(d, b);
11
- };
12
- return function (d, b) {
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
19
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
- 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;
22
- return c > 3 && r && Object.defineProperty(target, key, r), r;
23
- };
24
- import { Options } from 'vue-class-component';
25
- var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
5
+ var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatPainterSettings', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'showTooltip', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
26
6
  var modelProps = ['value'];
27
7
  var testProp = getProps({ props: properties });
28
8
  var props = testProp[0];
@@ -39,226 +19,218 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
39
19
  * <ejs-richtexteditor></ejs-richtexteditor>
40
20
  * ```
41
21
  */
42
- var RichTextEditorComponent = /** @__PURE__ @class */ (function (_super) {
43
- __extends(RichTextEditorComponent, _super);
44
- function RichTextEditorComponent() {
45
- var _this = _super.call(this, arguments) || this;
46
- _this.propKeys = properties;
47
- _this.models = modelProps;
48
- _this.hasChildDirective = false;
49
- _this.hasInjectedModules = true;
50
- _this.tagMapper = {};
51
- _this.tagNameMapper = {};
52
- _this.isVue3 = !isExecute;
53
- _this.ej2Instances = new RichTextEditor({});
54
- _this.ej2Instances._trigger = _this.ej2Instances.trigger;
55
- _this.ej2Instances.trigger = _this.trigger;
56
- _this.bindProperties();
57
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
58
- _this.ej2Instances.setProperties = _this.setProperties;
59
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
60
- _this.updated = _this.updated;
61
- return _this;
62
- }
63
- RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {
64
- if (!templateNames) {
65
- templateNames = Object.keys(this.templateCollection || {});
22
+ var RichTextEditorComponent = vueDefineComponent({
23
+ name: 'RichTextEditorComponent',
24
+ mixins: [ComponentBase],
25
+ props: props,
26
+ watch: watch,
27
+ emits: emitProbs,
28
+ model: { event: 'modelchanged' },
29
+ provide: function () { return { custom: this.custom }; },
30
+ data: function () {
31
+ return {
32
+ ej2Instances: new RichTextEditor({}),
33
+ propKeys: properties,
34
+ models: modelProps,
35
+ hasChildDirective: false,
36
+ hasInjectedModules: true,
37
+ tagMapper: {},
38
+ tagNameMapper: {},
39
+ isVue3: !isExecute,
40
+ templateCollection: {},
41
+ };
42
+ },
43
+ created: function () {
44
+ this.ej2Instances._trigger = this.ej2Instances.trigger;
45
+ this.ej2Instances.trigger = this.trigger;
46
+ this.bindProperties();
47
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
48
+ this.ej2Instances.setProperties = this.setProperties;
49
+ this.ej2Instances.clearTemplate = this.clearTemplate;
50
+ this.updated = this.updated;
51
+ },
52
+ render: function (createElement) {
53
+ var h = !isExecute ? gh : createElement;
54
+ var slots = null;
55
+ if (!isNullOrUndefined(this.$slots.default)) {
56
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
66
57
  }
67
- if (templateNames.length && this.templateCollection) {
68
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
69
- var tempName = templateNames_1[_i];
70
- var elementCollection = this.templateCollection[tempName];
71
- if (elementCollection && elementCollection.length) {
72
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
73
- var ele = elementCollection_1[_a];
74
- var destroy = getValue('__vue__.$destroy', ele);
75
- if (destroy) {
76
- ele.__vue__.$destroy();
77
- }
78
- if (ele.innerHTML) {
79
- ele.innerHTML = '';
58
+ return h('textarea', slots);
59
+ },
60
+ methods: {
61
+ clearTemplate: function (templateNames) {
62
+ if (!templateNames) {
63
+ templateNames = Object.keys(this.templateCollection || {});
64
+ }
65
+ if (templateNames.length && this.templateCollection) {
66
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
+ var tempName = templateNames_1[_i];
68
+ var elementCollection = this.templateCollection[tempName];
69
+ if (elementCollection && elementCollection.length) {
70
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
+ var ele = elementCollection_1[_a];
72
+ var destroy = getValue('__vue__.$destroy', ele);
73
+ if (destroy) {
74
+ ele.__vue__.$destroy();
75
+ }
76
+ if (ele.innerHTML) {
77
+ ele.innerHTML = '';
78
+ }
80
79
  }
80
+ delete this.templateCollection[tempName];
81
81
  }
82
- delete this.templateCollection[tempName];
83
82
  }
84
83
  }
85
- }
86
- };
87
- RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {
88
- var _this = this;
89
- if (this.isVue3) {
90
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
91
- }
92
- if (this.ej2Instances && this.ej2Instances._setProperties) {
93
- this.ej2Instances._setProperties(prop, muteOnChange);
94
- }
95
- if (prop && this.models && this.models.length) {
96
- Object.keys(prop).map(function (key) {
97
- _this.models.map(function (model) {
98
- if ((key === model) && !(/datasource/i.test(key))) {
99
- if (_this.isVue3) {
100
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
84
+ },
85
+ setProperties: function (prop, muteOnChange) {
86
+ var _this = this;
87
+ if (this.isVue3) {
88
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
89
+ }
90
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
91
+ this.ej2Instances._setProperties(prop, muteOnChange);
92
+ }
93
+ if (prop && this.models && this.models.length) {
94
+ Object.keys(prop).map(function (key) {
95
+ _this.models.map(function (model) {
96
+ if ((key === model) && !(/datasource/i.test(key))) {
97
+ if (_this.isVue3) {
98
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
99
+ }
100
+ else {
101
+ _this.$emit('update:' + key, prop[key]);
102
+ _this.$emit('modelchanged', prop[key]);
103
+ }
101
104
  }
102
- else {
103
- _this.$emit('update:' + key, prop[key]);
104
- _this.$emit('modelchanged', prop[key]);
105
+ });
106
+ });
107
+ }
108
+ },
109
+ trigger: function (eventName, eventProp, successHandler) {
110
+ if (!isExecute) {
111
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
112
+ }
113
+ if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
114
+ var key = this.models.toString().match(/checked|value/) || [];
115
+ var propKey = key[0];
116
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
117
+ if (!isExecute) {
118
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
119
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
120
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
121
+ }
122
+ else {
123
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
124
+ this.$emit('update:' + propKey, eventProp[propKey]);
125
+ this.$emit('modelchanged', eventProp[propKey]);
105
126
  }
106
127
  }
107
- });
108
- });
109
- }
110
- };
111
- RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
112
- if (!isExecute) {
113
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
114
- }
115
- if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
116
- var key = this.models.toString().match(/checked|value/) || [];
117
- var propKey = key[0];
118
- if (eventProp && key && !isUndefined(eventProp[propKey])) {
119
- if (!isExecute) {
120
- this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
121
- this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
- this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
123
128
  }
124
- else {
125
- if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
129
+ }
130
+ else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
131
+ var key = this.models.toString().match(/currentView|selectedDate/) || [];
132
+ var propKey = key[0];
133
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
134
+ if (!isExecute) {
135
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
136
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
137
+ }
138
+ else {
126
139
  this.$emit('update:' + propKey, eventProp[propKey]);
127
140
  this.$emit('modelchanged', eventProp[propKey]);
128
141
  }
129
142
  }
130
143
  }
131
- }
132
- else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
133
- var key = this.models.toString().match(/currentView|selectedDate/) || [];
134
- var propKey = key[0];
135
- if (eventProp && key && !isUndefined(eventProp[propKey])) {
136
- if (!isExecute) {
137
- this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
138
- this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
139
- }
140
- else {
141
- this.$emit('update:' + propKey, eventProp[propKey]);
142
- this.$emit('modelchanged', eventProp[propKey]);
143
- }
144
- }
145
- }
146
- if ((this.ej2Instances && this.ej2Instances._trigger)) {
147
- this.ej2Instances._trigger(eventName, eventProp, successHandler);
148
- }
149
- };
150
- RichTextEditorComponent.prototype.render = function (createElement) {
151
- var h = !isExecute ? gh : createElement;
152
- var slots = null;
153
- if (!isNullOrUndefined(this.$slots.default)) {
154
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
155
- }
156
- return h('textarea', slots);
157
- };
158
- RichTextEditorComponent.prototype.custom = function () {
159
- this.updated();
160
- };
161
- RichTextEditorComponent.prototype.cleanList = function (e) {
162
- return this.ej2Instances.cleanList(e);
163
- };
164
- RichTextEditorComponent.prototype.closeDialog = function (type) {
165
- return this.ej2Instances.closeDialog(type);
166
- };
167
- RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {
168
- return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);
169
- };
170
- RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {
171
- return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);
172
- };
173
- RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {
174
- return this.ej2Instances.executeCommand(commandName, value, option);
175
- };
176
- RichTextEditorComponent.prototype.focusIn = function () {
177
- return this.ej2Instances.focusIn();
178
- };
179
- RichTextEditorComponent.prototype.focusOut = function () {
180
- return this.ej2Instances.focusOut();
181
- };
182
- RichTextEditorComponent.prototype.getCharCount = function () {
183
- return this.ej2Instances.getCharCount();
184
- };
185
- RichTextEditorComponent.prototype.getContent = function () {
186
- return this.ej2Instances.getContent();
187
- };
188
- RichTextEditorComponent.prototype.getHtml = function () {
189
- return this.ej2Instances.getHtml();
190
- };
191
- RichTextEditorComponent.prototype.getRange = function () {
192
- return this.ej2Instances.getRange();
193
- };
194
- RichTextEditorComponent.prototype.getSelectedHtml = function () {
195
- return this.ej2Instances.getSelectedHtml();
196
- };
197
- RichTextEditorComponent.prototype.getSelection = function () {
198
- return this.ej2Instances.getSelection();
199
- };
200
- RichTextEditorComponent.prototype.getText = function () {
201
- return this.ej2Instances.getText();
202
- };
203
- RichTextEditorComponent.prototype.getXhtml = function () {
204
- return this.ej2Instances.getXhtml();
205
- };
206
- RichTextEditorComponent.prototype.hideInlineToolbar = function () {
207
- return this.ej2Instances.hideInlineToolbar();
208
- };
209
- RichTextEditorComponent.prototype.print = function () {
210
- return this.ej2Instances.print();
211
- };
212
- RichTextEditorComponent.prototype.refreshUI = function () {
213
- return this.ej2Instances.refreshUI();
214
- };
215
- RichTextEditorComponent.prototype.removeToolbarItem = function (items) {
216
- return this.ej2Instances.removeToolbarItem(items);
217
- };
218
- RichTextEditorComponent.prototype.renderTemplates = function (callBack) {
219
- return this.ej2Instances.renderTemplates(callBack);
220
- };
221
- RichTextEditorComponent.prototype.sanitizeHtml = function (value) {
222
- return this.ej2Instances.sanitizeHtml(value);
223
- };
224
- RichTextEditorComponent.prototype.selectAll = function () {
225
- return this.ej2Instances.selectAll();
226
- };
227
- RichTextEditorComponent.prototype.selectRange = function (range) {
228
- return this.ej2Instances.selectRange(range);
229
- };
230
- RichTextEditorComponent.prototype.showDialog = function (type) {
231
- return this.ej2Instances.showDialog(type);
232
- };
233
- RichTextEditorComponent.prototype.showFullScreen = function () {
234
- return this.ej2Instances.showFullScreen();
235
- };
236
- RichTextEditorComponent.prototype.showInlineToolbar = function () {
237
- return this.ej2Instances.showInlineToolbar();
238
- };
239
- RichTextEditorComponent.prototype.showSourceCode = function () {
240
- return this.ej2Instances.showSourceCode();
241
- };
242
- RichTextEditorComponent = __decorate([
243
- EJComponentDecorator({
244
- props: properties,
245
- model: {
246
- event: 'modelchanged'
247
- }
248
- }, isExecute)
249
- ,Options({
250
- props: props,
251
- watch: watch,
252
- emits: emitProbs,
253
- provide: function provide() {
254
- return {
255
- custom: this.custom
256
- };
144
+ if ((this.ej2Instances && this.ej2Instances._trigger)) {
145
+ this.ej2Instances._trigger(eventName, eventProp, successHandler);
257
146
  }
258
- })
259
- ], RichTextEditorComponent);
260
- return RichTextEditorComponent;
261
- }(ComponentBase));
147
+ },
148
+ custom: function () {
149
+ this.updated();
150
+ },
151
+ cleanList: function (e) {
152
+ return this.ej2Instances.cleanList(e);
153
+ },
154
+ closeDialog: function (type) {
155
+ return this.ej2Instances.closeDialog(type);
156
+ },
157
+ disableToolbarItem: function (items, muteToolbarUpdate) {
158
+ return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);
159
+ },
160
+ enableToolbarItem: function (items, muteToolbarUpdate) {
161
+ return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);
162
+ },
163
+ executeCommand: function (commandName, value, option) {
164
+ return this.ej2Instances.executeCommand(commandName, value, option);
165
+ },
166
+ focusIn: function () {
167
+ return this.ej2Instances.focusIn();
168
+ },
169
+ focusOut: function () {
170
+ return this.ej2Instances.focusOut();
171
+ },
172
+ getCharCount: function () {
173
+ return this.ej2Instances.getCharCount();
174
+ },
175
+ getContent: function () {
176
+ return this.ej2Instances.getContent();
177
+ },
178
+ getHtml: function () {
179
+ return this.ej2Instances.getHtml();
180
+ },
181
+ getRange: function () {
182
+ return this.ej2Instances.getRange();
183
+ },
184
+ getSelectedHtml: function () {
185
+ return this.ej2Instances.getSelectedHtml();
186
+ },
187
+ getSelection: function () {
188
+ return this.ej2Instances.getSelection();
189
+ },
190
+ getText: function () {
191
+ return this.ej2Instances.getText();
192
+ },
193
+ getXhtml: function () {
194
+ return this.ej2Instances.getXhtml();
195
+ },
196
+ hideInlineToolbar: function () {
197
+ return this.ej2Instances.hideInlineToolbar();
198
+ },
199
+ print: function () {
200
+ return this.ej2Instances.print();
201
+ },
202
+ refreshUI: function () {
203
+ return this.ej2Instances.refreshUI();
204
+ },
205
+ removeToolbarItem: function (items) {
206
+ return this.ej2Instances.removeToolbarItem(items);
207
+ },
208
+ renderTemplates: function (callBack) {
209
+ return this.ej2Instances.renderTemplates(callBack);
210
+ },
211
+ sanitizeHtml: function (value) {
212
+ return this.ej2Instances.sanitizeHtml(value);
213
+ },
214
+ selectAll: function () {
215
+ return this.ej2Instances.selectAll();
216
+ },
217
+ selectRange: function (range) {
218
+ return this.ej2Instances.selectRange(range);
219
+ },
220
+ showDialog: function (type) {
221
+ return this.ej2Instances.showDialog(type);
222
+ },
223
+ showFullScreen: function () {
224
+ return this.ej2Instances.showFullScreen();
225
+ },
226
+ showInlineToolbar: function () {
227
+ return this.ej2Instances.showInlineToolbar();
228
+ },
229
+ showSourceCode: function () {
230
+ return this.ej2Instances.showSourceCode();
231
+ },
232
+ }
233
+ });
262
234
  var RichTextEditorPlugin = {
263
235
  name: 'ejs-richtexteditor',
264
236
  install: function (Vue) {
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.es5.js","sources":["../../src/rich-text-editor/richtexteditor.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, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\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', '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-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\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 RichTextEditor({});\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 return _this;\n }\n RichTextEditorComponent.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 RichTextEditorComponent.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 RichTextEditorComponent.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 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 RichTextEditorComponent.prototype.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('textarea', slots);\n };\n RichTextEditorComponent.prototype.custom = function () {\n this.updated();\n };\n RichTextEditorComponent.prototype.cleanList = function (e) {\n return this.ej2Instances.cleanList(e);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.renderTemplates = function (callBack) {\n return this.ej2Instances.renderTemplates(callBack);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __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 provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\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,EAAE,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;QACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CA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AC7C,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,cAAc,GAAG,YAAY;QAC3D,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,iBAAiB,GAAG,YAAY;QAC9D,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,CAAC;KAChD,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,cAAc,GAAG,YAAY;QAC3D,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C,CAAC;IACF,uBAAuB,GAAG,UAAU,CAAC;QACjC,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE;gBACH,KAAK,EAAE,cAAc;aACxB;SACJ,EAAE,SAAS,CAAC;;;;;;;;;;;KAWhB,EAAE,uBAAuB,CAAC,CAAC;IAC5B,OAAO,uBAAuB,CAAC;CAClC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,oBAAoB,GAAG;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.es5.js","sources":["../../src/rich-text-editor/richtexteditor.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 { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatPainterSettings', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'showTooltip', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\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-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nexport var RichTextEditorComponent = vueDefineComponent({\n name: 'RichTextEditorComponent',\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 RichTextEditor({}),\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('textarea', 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 cleanList: function (e) {\n return this.ej2Instances.cleanList(e);\n },\n closeDialog: function (type) {\n return this.ej2Instances.closeDialog(type);\n },\n disableToolbarItem: function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n },\n enableToolbarItem: function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n },\n executeCommand: function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n },\n focusIn: function () {\n return this.ej2Instances.focusIn();\n },\n focusOut: function () {\n return this.ej2Instances.focusOut();\n },\n getCharCount: function () {\n return this.ej2Instances.getCharCount();\n },\n getContent: function () {\n return this.ej2Instances.getContent();\n },\n getHtml: function () {\n return this.ej2Instances.getHtml();\n },\n getRange: function () {\n return this.ej2Instances.getRange();\n },\n getSelectedHtml: function () {\n return this.ej2Instances.getSelectedHtml();\n },\n getSelection: function () {\n return this.ej2Instances.getSelection();\n },\n getText: function () {\n return this.ej2Instances.getText();\n },\n getXhtml: function () {\n return this.ej2Instances.getXhtml();\n },\n hideInlineToolbar: function () {\n return this.ej2Instances.hideInlineToolbar();\n },\n print: function () {\n return this.ej2Instances.print();\n },\n refreshUI: function () {\n return this.ej2Instances.refreshUI();\n },\n removeToolbarItem: function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n },\n renderTemplates: function (callBack) {\n return this.ej2Instances.renderTemplates(callBack);\n },\n sanitizeHtml: function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n },\n selectAll: function () {\n return this.ej2Instances.selectAll();\n },\n selectRange: function (range) {\n return this.ej2Instances.selectRange(range);\n },\n showDialog: function (type) {\n return this.ej2Instances.showDialog(type);\n },\n showFullScreen: function () {\n return this.ej2Instances.showFullScreen();\n },\n showInlineToolbar: function () {\n return this.ej2Instances.showInlineToolbar();\n },\n showSourceCode: function () {\n return this.ej2Instances.showSourceCode();\n },\n }\n});\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":[],"mappings":";;;;AAIO,IAAI,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,qBAA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