1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | var __assign = (this && this.__assign) || function () {
|
10 | __assign = Object.assign || function(t) {
|
11 | for (var s, i = 1, n = arguments.length; i < n; i++) {
|
12 | s = arguments[i];
|
13 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
14 | t[p] = s[p];
|
15 | }
|
16 | return t;
|
17 | };
|
18 | return __assign.apply(this, arguments);
|
19 | };
|
20 | Object.defineProperty(exports, "__esModule", { value: true });
|
21 | exports.EditorPropTypes = exports.eventPropTypes = void 0;
|
22 | var PropTypes = require("prop-types");
|
23 | exports.eventPropTypes = {
|
24 | onActivate: PropTypes.func,
|
25 | onAddUndo: PropTypes.func,
|
26 | onBeforeAddUndo: PropTypes.func,
|
27 | onBeforeExecCommand: PropTypes.func,
|
28 | onBeforeGetContent: PropTypes.func,
|
29 | onBeforeRenderUI: PropTypes.func,
|
30 | onBeforeSetContent: PropTypes.func,
|
31 | onBeforePaste: PropTypes.func,
|
32 | onBlur: PropTypes.func,
|
33 | onChange: PropTypes.func,
|
34 | onClearUndos: PropTypes.func,
|
35 | onClick: PropTypes.func,
|
36 | onContextMenu: PropTypes.func,
|
37 | onCommentChange: PropTypes.func,
|
38 | onCopy: PropTypes.func,
|
39 | onCut: PropTypes.func,
|
40 | onDblclick: PropTypes.func,
|
41 | onDeactivate: PropTypes.func,
|
42 | onDirty: PropTypes.func,
|
43 | onDrag: PropTypes.func,
|
44 | onDragDrop: PropTypes.func,
|
45 | onDragEnd: PropTypes.func,
|
46 | onDragGesture: PropTypes.func,
|
47 | onDragOver: PropTypes.func,
|
48 | onDrop: PropTypes.func,
|
49 | onExecCommand: PropTypes.func,
|
50 | onFocus: PropTypes.func,
|
51 | onFocusIn: PropTypes.func,
|
52 | onFocusOut: PropTypes.func,
|
53 | onGetContent: PropTypes.func,
|
54 | onHide: PropTypes.func,
|
55 | onInit: PropTypes.func,
|
56 | onKeyDown: PropTypes.func,
|
57 | onKeyPress: PropTypes.func,
|
58 | onKeyUp: PropTypes.func,
|
59 | onLoadContent: PropTypes.func,
|
60 | onMouseDown: PropTypes.func,
|
61 | onMouseEnter: PropTypes.func,
|
62 | onMouseLeave: PropTypes.func,
|
63 | onMouseMove: PropTypes.func,
|
64 | onMouseOut: PropTypes.func,
|
65 | onMouseOver: PropTypes.func,
|
66 | onMouseUp: PropTypes.func,
|
67 | onNodeChange: PropTypes.func,
|
68 | onObjectResizeStart: PropTypes.func,
|
69 | onObjectResized: PropTypes.func,
|
70 | onObjectSelected: PropTypes.func,
|
71 | onPaste: PropTypes.func,
|
72 | onPostProcess: PropTypes.func,
|
73 | onPostRender: PropTypes.func,
|
74 | onPreProcess: PropTypes.func,
|
75 | onProgressState: PropTypes.func,
|
76 | onRedo: PropTypes.func,
|
77 | onRemove: PropTypes.func,
|
78 | onReset: PropTypes.func,
|
79 | onSaveContent: PropTypes.func,
|
80 | onSelectionChange: PropTypes.func,
|
81 | onSetAttrib: PropTypes.func,
|
82 | onSetContent: PropTypes.func,
|
83 | onShow: PropTypes.func,
|
84 | onSubmit: PropTypes.func,
|
85 | onUndo: PropTypes.func,
|
86 | onVisualAid: PropTypes.func,
|
87 | onSkinLoadError: PropTypes.func,
|
88 | onThemeLoadError: PropTypes.func,
|
89 | onModelLoadError: PropTypes.func,
|
90 | onPluginLoadError: PropTypes.func,
|
91 | onIconsLoadError: PropTypes.func,
|
92 | onLanguageLoadError: PropTypes.func,
|
93 | };
|
94 | exports.EditorPropTypes = __assign({ apiKey: PropTypes.string, id: PropTypes.string, inline: PropTypes.bool, init: PropTypes.object, initialValue: PropTypes.string, onEditorChange: PropTypes.func, value: PropTypes.string, tagName: PropTypes.string, cloudChannel: PropTypes.string, plugins: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), toolbar: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), disabled: PropTypes.bool, textareaName: PropTypes.string, tinymceScriptSrc: PropTypes.string, rollback: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf([false])]), scriptLoading: PropTypes.shape({
|
95 | async: PropTypes.bool,
|
96 | defer: PropTypes.bool,
|
97 | delay: PropTypes.number
|
98 | }) }, exports.eventPropTypes);
|