roosterjs 8.21.1-dev.2 → 8.21.1-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rooster-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +8788 -0
- package/dist/rooster-amd.js +1772 -0
- package/dist/rooster-amd.js.map +1 -1
- package/dist/rooster-min.js +1 -1
- package/dist/rooster-min.js.map +1 -1
- package/dist/rooster.d.ts +8790 -0
- package/dist/rooster.js +1772 -0
- package/dist/rooster.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-amd/index.d.ts +1 -0
- package/lib-amd/index.js +2 -1
- package/lib-amd/index.js.map +1 -1
- package/package.json +7 -6
- package/tsconfig.child.tsbuildinfo +1 -1
package/dist/rooster-amd.js
CHANGED
|
@@ -2175,6 +2175,31 @@ function getDarkColor(color) {
|
|
|
2175
2175
|
exports.default = getDarkColor;
|
|
2176
2176
|
|
|
2177
2177
|
|
|
2178
|
+
/***/ }),
|
|
2179
|
+
|
|
2180
|
+
/***/ "./packages/roosterjs-compatible-types/lib/index.ts":
|
|
2181
|
+
/*!**********************************************************!*\
|
|
2182
|
+
!*** ./packages/roosterjs-compatible-types/lib/index.ts ***!
|
|
2183
|
+
\**********************************************************/
|
|
2184
|
+
/*! no static exports found */
|
|
2185
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2186
|
+
|
|
2187
|
+
"use strict";
|
|
2188
|
+
|
|
2189
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2190
|
+
if (k2 === undefined) k2 = k;
|
|
2191
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2192
|
+
}) : (function(o, m, k, k2) {
|
|
2193
|
+
if (k2 === undefined) k2 = k;
|
|
2194
|
+
o[k2] = m[k];
|
|
2195
|
+
}));
|
|
2196
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2197
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2198
|
+
};
|
|
2199
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2200
|
+
__exportStar(__webpack_require__(/*! roosterjs-editor-types/lib/compatibleTypes */ "./packages/roosterjs-editor-types/lib/compatibleTypes.ts"), exports);
|
|
2201
|
+
|
|
2202
|
+
|
|
2178
2203
|
/***/ }),
|
|
2179
2204
|
|
|
2180
2205
|
/***/ "./packages/roosterjs-editor-api/lib/experiment/experimentCommitListChains.ts":
|
|
@@ -24880,6 +24905,1752 @@ Object.defineProperty(exports, "Watermark", { enumerable: true, get: function ()
|
|
|
24880
24905
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24881
24906
|
|
|
24882
24907
|
|
|
24908
|
+
/***/ }),
|
|
24909
|
+
|
|
24910
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/Alignment.ts":
|
|
24911
|
+
/*!*************************************************************************!*\
|
|
24912
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/Alignment.ts ***!
|
|
24913
|
+
\*************************************************************************/
|
|
24914
|
+
/*! no static exports found */
|
|
24915
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24916
|
+
|
|
24917
|
+
"use strict";
|
|
24918
|
+
|
|
24919
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24920
|
+
exports.CompatibleAlignment = void 0;
|
|
24921
|
+
/**
|
|
24922
|
+
* enum for setting block alignment, used by setAlignment API
|
|
24923
|
+
*/
|
|
24924
|
+
var CompatibleAlignment;
|
|
24925
|
+
(function (CompatibleAlignment) {
|
|
24926
|
+
/**
|
|
24927
|
+
* Align left
|
|
24928
|
+
*/
|
|
24929
|
+
CompatibleAlignment[CompatibleAlignment["Left"] = 0] = "Left";
|
|
24930
|
+
/**
|
|
24931
|
+
* Align center
|
|
24932
|
+
*/
|
|
24933
|
+
CompatibleAlignment[CompatibleAlignment["Center"] = 1] = "Center";
|
|
24934
|
+
/**
|
|
24935
|
+
* Align right
|
|
24936
|
+
*/
|
|
24937
|
+
CompatibleAlignment[CompatibleAlignment["Right"] = 2] = "Right";
|
|
24938
|
+
})(CompatibleAlignment = exports.CompatibleAlignment || (exports.CompatibleAlignment = {}));
|
|
24939
|
+
|
|
24940
|
+
|
|
24941
|
+
/***/ }),
|
|
24942
|
+
|
|
24943
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/Capitalization.ts":
|
|
24944
|
+
/*!******************************************************************************!*\
|
|
24945
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/Capitalization.ts ***!
|
|
24946
|
+
\******************************************************************************/
|
|
24947
|
+
/*! no static exports found */
|
|
24948
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24949
|
+
|
|
24950
|
+
"use strict";
|
|
24951
|
+
|
|
24952
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24953
|
+
exports.CompatibleCapitalization = void 0;
|
|
24954
|
+
/**
|
|
24955
|
+
* The enum used for controlling the capitalization of text.
|
|
24956
|
+
* Used by changeCapitalization API
|
|
24957
|
+
*/
|
|
24958
|
+
var CompatibleCapitalization;
|
|
24959
|
+
(function (CompatibleCapitalization) {
|
|
24960
|
+
/**
|
|
24961
|
+
* Transforms the first character after punctuation mark followed by space
|
|
24962
|
+
* to uppercase and the rest of characters to lowercase.
|
|
24963
|
+
*/
|
|
24964
|
+
CompatibleCapitalization["Sentence"] = "sentence";
|
|
24965
|
+
/**
|
|
24966
|
+
* Transforms all characters to lowercase
|
|
24967
|
+
*/
|
|
24968
|
+
CompatibleCapitalization["Lowercase"] = "lowercase";
|
|
24969
|
+
/**
|
|
24970
|
+
* Transforms all characters to uppercase
|
|
24971
|
+
*/
|
|
24972
|
+
CompatibleCapitalization["Uppercase"] = "uppercase";
|
|
24973
|
+
/**
|
|
24974
|
+
* Transforms the first character of each word to uppercase
|
|
24975
|
+
*/
|
|
24976
|
+
CompatibleCapitalization["CapitalizeEachWord"] = "capitalize";
|
|
24977
|
+
})(CompatibleCapitalization = exports.CompatibleCapitalization || (exports.CompatibleCapitalization = {}));
|
|
24978
|
+
|
|
24979
|
+
|
|
24980
|
+
/***/ }),
|
|
24981
|
+
|
|
24982
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ChangeSource.ts":
|
|
24983
|
+
/*!****************************************************************************!*\
|
|
24984
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ChangeSource.ts ***!
|
|
24985
|
+
\****************************************************************************/
|
|
24986
|
+
/*! no static exports found */
|
|
24987
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24988
|
+
|
|
24989
|
+
"use strict";
|
|
24990
|
+
|
|
24991
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24992
|
+
exports.CompatibleChangeSource = void 0;
|
|
24993
|
+
/**
|
|
24994
|
+
* Possible change sources. Here are the predefined sources.
|
|
24995
|
+
* It can also be other string if the change source can't fall into these sources.
|
|
24996
|
+
*/
|
|
24997
|
+
var CompatibleChangeSource;
|
|
24998
|
+
(function (CompatibleChangeSource) {
|
|
24999
|
+
/**
|
|
25000
|
+
* Content changed by auto link
|
|
25001
|
+
*/
|
|
25002
|
+
CompatibleChangeSource["AutoLink"] = "AutoLink";
|
|
25003
|
+
/**
|
|
25004
|
+
* Content changed by create link
|
|
25005
|
+
*/
|
|
25006
|
+
CompatibleChangeSource["CreateLink"] = "CreateLink";
|
|
25007
|
+
/**
|
|
25008
|
+
* Content changed by format
|
|
25009
|
+
*/
|
|
25010
|
+
CompatibleChangeSource["Format"] = "Format";
|
|
25011
|
+
/**
|
|
25012
|
+
* Content changed by image resize
|
|
25013
|
+
*/
|
|
25014
|
+
CompatibleChangeSource["ImageResize"] = "ImageResize";
|
|
25015
|
+
/**
|
|
25016
|
+
* Content changed by paste
|
|
25017
|
+
*/
|
|
25018
|
+
CompatibleChangeSource["Paste"] = "Paste";
|
|
25019
|
+
/**
|
|
25020
|
+
* Content changed by setContent API
|
|
25021
|
+
*/
|
|
25022
|
+
CompatibleChangeSource["SetContent"] = "SetContent";
|
|
25023
|
+
/**
|
|
25024
|
+
* Content changed by cut operation
|
|
25025
|
+
*/
|
|
25026
|
+
CompatibleChangeSource["Cut"] = "Cut";
|
|
25027
|
+
/**
|
|
25028
|
+
* Content changed by drag & drop operation
|
|
25029
|
+
*/
|
|
25030
|
+
CompatibleChangeSource["Drop"] = "Drop";
|
|
25031
|
+
/**
|
|
25032
|
+
* Insert a new entity into editor
|
|
25033
|
+
*/
|
|
25034
|
+
CompatibleChangeSource["InsertEntity"] = "InsertEntity";
|
|
25035
|
+
/**
|
|
25036
|
+
* Editor is switched to dark mode, content color is changed
|
|
25037
|
+
*/
|
|
25038
|
+
CompatibleChangeSource["SwitchToDarkMode"] = "SwitchToDarkMode";
|
|
25039
|
+
/**
|
|
25040
|
+
* Editor is switched to light mode, content color is changed
|
|
25041
|
+
*/
|
|
25042
|
+
CompatibleChangeSource["SwitchToLightMode"] = "SwitchToLightMode";
|
|
25043
|
+
/**
|
|
25044
|
+
* List chain reorganized numbers of lists
|
|
25045
|
+
*/
|
|
25046
|
+
CompatibleChangeSource["ListChain"] = "ListChain";
|
|
25047
|
+
})(CompatibleChangeSource = exports.CompatibleChangeSource || (exports.CompatibleChangeSource = {}));
|
|
25048
|
+
|
|
25049
|
+
|
|
25050
|
+
/***/ }),
|
|
25051
|
+
|
|
25052
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ClearFormatMode.ts":
|
|
25053
|
+
/*!*******************************************************************************!*\
|
|
25054
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ClearFormatMode.ts ***!
|
|
25055
|
+
\*******************************************************************************/
|
|
25056
|
+
/*! no static exports found */
|
|
25057
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25058
|
+
|
|
25059
|
+
"use strict";
|
|
25060
|
+
|
|
25061
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25062
|
+
exports.CompatibleClearFormatMode = void 0;
|
|
25063
|
+
/**
|
|
25064
|
+
* Represents the strategy to clear the format of the current editor selection
|
|
25065
|
+
*/
|
|
25066
|
+
var CompatibleClearFormatMode;
|
|
25067
|
+
(function (CompatibleClearFormatMode) {
|
|
25068
|
+
/**
|
|
25069
|
+
* Inline format. Remove text format.
|
|
25070
|
+
*/
|
|
25071
|
+
CompatibleClearFormatMode[CompatibleClearFormatMode["Inline"] = 0] = "Inline";
|
|
25072
|
+
/**
|
|
25073
|
+
* BLock format. Remove text and structure format of the block.
|
|
25074
|
+
*/
|
|
25075
|
+
CompatibleClearFormatMode[CompatibleClearFormatMode["Block"] = 1] = "Block";
|
|
25076
|
+
/**
|
|
25077
|
+
* Detect Inline or Block format based on the current editor selector.
|
|
25078
|
+
*/
|
|
25079
|
+
CompatibleClearFormatMode[CompatibleClearFormatMode["AutoDetect"] = 2] = "AutoDetect";
|
|
25080
|
+
})(CompatibleClearFormatMode = exports.CompatibleClearFormatMode || (exports.CompatibleClearFormatMode = {}));
|
|
25081
|
+
|
|
25082
|
+
|
|
25083
|
+
/***/ }),
|
|
25084
|
+
|
|
25085
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ColorTransformDirection.ts":
|
|
25086
|
+
/*!***************************************************************************************!*\
|
|
25087
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ColorTransformDirection.ts ***!
|
|
25088
|
+
\***************************************************************************************/
|
|
25089
|
+
/*! no static exports found */
|
|
25090
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25091
|
+
|
|
25092
|
+
"use strict";
|
|
25093
|
+
|
|
25094
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25095
|
+
exports.CompatibleColorTransformDirection = void 0;
|
|
25096
|
+
/**
|
|
25097
|
+
* Represents the mode of color transformation
|
|
25098
|
+
*/
|
|
25099
|
+
var CompatibleColorTransformDirection;
|
|
25100
|
+
(function (CompatibleColorTransformDirection) {
|
|
25101
|
+
/**
|
|
25102
|
+
* Transform from light to dark
|
|
25103
|
+
*/
|
|
25104
|
+
CompatibleColorTransformDirection[CompatibleColorTransformDirection["LightToDark"] = 0] = "LightToDark";
|
|
25105
|
+
/**
|
|
25106
|
+
* Transform from dark to light
|
|
25107
|
+
*/
|
|
25108
|
+
CompatibleColorTransformDirection[CompatibleColorTransformDirection["DarkToLight"] = 1] = "DarkToLight";
|
|
25109
|
+
})(CompatibleColorTransformDirection = exports.CompatibleColorTransformDirection || (exports.CompatibleColorTransformDirection = {}));
|
|
25110
|
+
|
|
25111
|
+
|
|
25112
|
+
/***/ }),
|
|
25113
|
+
|
|
25114
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ContentPosition.ts":
|
|
25115
|
+
/*!*******************************************************************************!*\
|
|
25116
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ContentPosition.ts ***!
|
|
25117
|
+
\*******************************************************************************/
|
|
25118
|
+
/*! no static exports found */
|
|
25119
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25120
|
+
|
|
25121
|
+
"use strict";
|
|
25122
|
+
|
|
25123
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25124
|
+
exports.CompatibleContentPosition = void 0;
|
|
25125
|
+
/**
|
|
25126
|
+
* The position. Mostly used for content insertion and traversing
|
|
25127
|
+
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside)
|
|
25128
|
+
* On content traversing, we will need to specify the start position of traversing
|
|
25129
|
+
*/
|
|
25130
|
+
var CompatibleContentPosition;
|
|
25131
|
+
(function (CompatibleContentPosition) {
|
|
25132
|
+
/**
|
|
25133
|
+
* Begin of the container
|
|
25134
|
+
*/
|
|
25135
|
+
CompatibleContentPosition[CompatibleContentPosition["Begin"] = 0] = "Begin";
|
|
25136
|
+
/**
|
|
25137
|
+
* End of the container
|
|
25138
|
+
*/
|
|
25139
|
+
CompatibleContentPosition[CompatibleContentPosition["End"] = 1] = "End";
|
|
25140
|
+
/**
|
|
25141
|
+
* End of the content div domain.
|
|
25142
|
+
*/
|
|
25143
|
+
CompatibleContentPosition[CompatibleContentPosition["DomEnd"] = 2] = "DomEnd";
|
|
25144
|
+
/**
|
|
25145
|
+
* Selection start
|
|
25146
|
+
*/
|
|
25147
|
+
CompatibleContentPosition[CompatibleContentPosition["SelectionStart"] = 3] = "SelectionStart";
|
|
25148
|
+
/**
|
|
25149
|
+
* Outside of editor
|
|
25150
|
+
*/
|
|
25151
|
+
CompatibleContentPosition[CompatibleContentPosition["Outside"] = 4] = "Outside";
|
|
25152
|
+
/**
|
|
25153
|
+
* Manually defined range
|
|
25154
|
+
*/
|
|
25155
|
+
CompatibleContentPosition[CompatibleContentPosition["Range"] = 5] = "Range";
|
|
25156
|
+
})(CompatibleContentPosition = exports.CompatibleContentPosition || (exports.CompatibleContentPosition = {}));
|
|
25157
|
+
|
|
25158
|
+
|
|
25159
|
+
/***/ }),
|
|
25160
|
+
|
|
25161
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ContentType.ts":
|
|
25162
|
+
/*!***************************************************************************!*\
|
|
25163
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ContentType.ts ***!
|
|
25164
|
+
\***************************************************************************/
|
|
25165
|
+
/*! no static exports found */
|
|
25166
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25167
|
+
|
|
25168
|
+
"use strict";
|
|
25169
|
+
|
|
25170
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25171
|
+
exports.CompatibleContentType = exports.CompatibleContentTypePrefix = void 0;
|
|
25172
|
+
/**
|
|
25173
|
+
* Prefix of content types
|
|
25174
|
+
*/
|
|
25175
|
+
var CompatibleContentTypePrefix;
|
|
25176
|
+
(function (CompatibleContentTypePrefix) {
|
|
25177
|
+
/**
|
|
25178
|
+
* Text type prefix
|
|
25179
|
+
*/
|
|
25180
|
+
CompatibleContentTypePrefix["Text"] = "text/";
|
|
25181
|
+
/**
|
|
25182
|
+
* Image type prefix
|
|
25183
|
+
*/
|
|
25184
|
+
CompatibleContentTypePrefix["Image"] = "image/";
|
|
25185
|
+
})(CompatibleContentTypePrefix = exports.CompatibleContentTypePrefix || (exports.CompatibleContentTypePrefix = {}));
|
|
25186
|
+
/**
|
|
25187
|
+
* Known content types
|
|
25188
|
+
*/
|
|
25189
|
+
var CompatibleContentType;
|
|
25190
|
+
(function (CompatibleContentType) {
|
|
25191
|
+
/**
|
|
25192
|
+
* Plain text content type
|
|
25193
|
+
*/
|
|
25194
|
+
CompatibleContentType["PlainText"] = "text/plain";
|
|
25195
|
+
/**
|
|
25196
|
+
* HTML content type
|
|
25197
|
+
*/
|
|
25198
|
+
CompatibleContentType["HTML"] = "text/html";
|
|
25199
|
+
})(CompatibleContentType = exports.CompatibleContentType || (exports.CompatibleContentType = {}));
|
|
25200
|
+
|
|
25201
|
+
|
|
25202
|
+
/***/ }),
|
|
25203
|
+
|
|
25204
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/DarkModeDatasetNames.ts":
|
|
25205
|
+
/*!************************************************************************************!*\
|
|
25206
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/DarkModeDatasetNames.ts ***!
|
|
25207
|
+
\************************************************************************************/
|
|
25208
|
+
/*! no static exports found */
|
|
25209
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25210
|
+
|
|
25211
|
+
"use strict";
|
|
25212
|
+
|
|
25213
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25214
|
+
exports.CompatibleDarkModeDatasetNames = void 0;
|
|
25215
|
+
/**
|
|
25216
|
+
* Constants string for dataset names used by dark mode
|
|
25217
|
+
*/
|
|
25218
|
+
var CompatibleDarkModeDatasetNames;
|
|
25219
|
+
(function (CompatibleDarkModeDatasetNames) {
|
|
25220
|
+
/**
|
|
25221
|
+
* Original style text color
|
|
25222
|
+
*/
|
|
25223
|
+
CompatibleDarkModeDatasetNames["OriginalStyleColor"] = "ogsc";
|
|
25224
|
+
/**
|
|
25225
|
+
* Original style background color
|
|
25226
|
+
*/
|
|
25227
|
+
CompatibleDarkModeDatasetNames["OriginalStyleBackgroundColor"] = "ogsb";
|
|
25228
|
+
/**
|
|
25229
|
+
* Original attribute text color
|
|
25230
|
+
*/
|
|
25231
|
+
CompatibleDarkModeDatasetNames["OriginalAttributeColor"] = "ogac";
|
|
25232
|
+
/**
|
|
25233
|
+
* Original attribute background color
|
|
25234
|
+
*/
|
|
25235
|
+
CompatibleDarkModeDatasetNames["OriginalAttributeBackgroundColor"] = "ogab";
|
|
25236
|
+
})(CompatibleDarkModeDatasetNames = exports.CompatibleDarkModeDatasetNames || (exports.CompatibleDarkModeDatasetNames = {}));
|
|
25237
|
+
|
|
25238
|
+
|
|
25239
|
+
/***/ }),
|
|
25240
|
+
|
|
25241
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/Direction.ts":
|
|
25242
|
+
/*!*************************************************************************!*\
|
|
25243
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/Direction.ts ***!
|
|
25244
|
+
\*************************************************************************/
|
|
25245
|
+
/*! no static exports found */
|
|
25246
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25247
|
+
|
|
25248
|
+
"use strict";
|
|
25249
|
+
|
|
25250
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25251
|
+
exports.CompatibleDirection = void 0;
|
|
25252
|
+
/**
|
|
25253
|
+
* enum for setting block direction, used by setDirection API
|
|
25254
|
+
*/
|
|
25255
|
+
var CompatibleDirection;
|
|
25256
|
+
(function (CompatibleDirection) {
|
|
25257
|
+
/**
|
|
25258
|
+
* Left to right
|
|
25259
|
+
*/
|
|
25260
|
+
CompatibleDirection[CompatibleDirection["LeftToRight"] = 0] = "LeftToRight";
|
|
25261
|
+
/**
|
|
25262
|
+
* Right to left
|
|
25263
|
+
*/
|
|
25264
|
+
CompatibleDirection[CompatibleDirection["RightToLeft"] = 1] = "RightToLeft";
|
|
25265
|
+
})(CompatibleDirection = exports.CompatibleDirection || (exports.CompatibleDirection = {}));
|
|
25266
|
+
|
|
25267
|
+
|
|
25268
|
+
/***/ }),
|
|
25269
|
+
|
|
25270
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentCommand.ts":
|
|
25271
|
+
/*!*******************************************************************************!*\
|
|
25272
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentCommand.ts ***!
|
|
25273
|
+
\*******************************************************************************/
|
|
25274
|
+
/*! no static exports found */
|
|
25275
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25276
|
+
|
|
25277
|
+
"use strict";
|
|
25278
|
+
|
|
25279
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25280
|
+
exports.CompatibleDocumentCommand = void 0;
|
|
25281
|
+
/**
|
|
25282
|
+
* Command strings for Document.execCommand() API
|
|
25283
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
|
|
25284
|
+
*/
|
|
25285
|
+
var CompatibleDocumentCommand;
|
|
25286
|
+
(function (CompatibleDocumentCommand) {
|
|
25287
|
+
/**
|
|
25288
|
+
* Changes the browser auto-link behavior (Internet Explorer only)
|
|
25289
|
+
*/
|
|
25290
|
+
CompatibleDocumentCommand["AutoUrlDetect"] = "AutoUrlDetect";
|
|
25291
|
+
/**
|
|
25292
|
+
* Changes the document background color. In styleWithCss mode, it affects the background color of the containing block instead.
|
|
25293
|
+
* This requires a <color> value string to be passed in as a value argument. Note that Internet Explorer uses this to set the
|
|
25294
|
+
* text background color.
|
|
25295
|
+
*/
|
|
25296
|
+
CompatibleDocumentCommand["BackColor"] = "backColor";
|
|
25297
|
+
/**
|
|
25298
|
+
* Toggles bold on/off for the selection or at the insertion point. Internet Explorer uses the <strong> tag instead of <b>.
|
|
25299
|
+
*/
|
|
25300
|
+
CompatibleDocumentCommand["Bold"] = "bold";
|
|
25301
|
+
/**
|
|
25302
|
+
* Clears all authentication credentials from the cache.
|
|
25303
|
+
*/
|
|
25304
|
+
CompatibleDocumentCommand["ClearAuthenticationCache"] = "ClearAuthenticationCache";
|
|
25305
|
+
/**
|
|
25306
|
+
* Makes the content document either read-only or editable. This requires a boolean true/false as the value argument.
|
|
25307
|
+
* (Not supported by Internet Explorer.)
|
|
25308
|
+
*/
|
|
25309
|
+
CompatibleDocumentCommand["ContentReadOnly"] = "contentReadOnly";
|
|
25310
|
+
/**
|
|
25311
|
+
* Copies the current selection to the clipboard. Conditions of having this behavior enabled vary from one browser to another,
|
|
25312
|
+
* and have evolved over time. Check the compatibility table to determine if you can use it in your case.
|
|
25313
|
+
*/
|
|
25314
|
+
CompatibleDocumentCommand["Copy"] = "copy";
|
|
25315
|
+
/**
|
|
25316
|
+
* Creates an hyperlink from the selection, but only if there is a selection. Requires a URI string as a value argument for the
|
|
25317
|
+
* hyperlink's href. The URI must contain at least a single character, which may be whitespace.
|
|
25318
|
+
* (Internet Explorer will create a link with a null value.)
|
|
25319
|
+
*/
|
|
25320
|
+
CompatibleDocumentCommand["CreateLink"] = "createLink";
|
|
25321
|
+
/**
|
|
25322
|
+
* Removes the current selection and copies it to the clipboard. When this behavior is enabled varies between browsers,
|
|
25323
|
+
* and its conditions have evolved over time. Check the compatibility table for usage details.
|
|
25324
|
+
*/
|
|
25325
|
+
CompatibleDocumentCommand["Cut"] = "cut";
|
|
25326
|
+
/**
|
|
25327
|
+
* Adds a <small> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
|
|
25328
|
+
*/
|
|
25329
|
+
CompatibleDocumentCommand["DecreaseFontSize"] = "decreaseFontSize";
|
|
25330
|
+
/**
|
|
25331
|
+
* Changes the paragraph separator used when new paragraphs are created in editable text regions. See Differences in markup
|
|
25332
|
+
* generation for more details.
|
|
25333
|
+
*/
|
|
25334
|
+
CompatibleDocumentCommand["DefaultParagraphSeparator"] = "defaultParagraphSeparator";
|
|
25335
|
+
/**
|
|
25336
|
+
* Deletes the current selection.
|
|
25337
|
+
*/
|
|
25338
|
+
CompatibleDocumentCommand["Delete"] = "delete";
|
|
25339
|
+
/**
|
|
25340
|
+
* Enables or disables the table row/column insertion and deletion controls. (Not supported by Internet Explorer.)
|
|
25341
|
+
*/
|
|
25342
|
+
CompatibleDocumentCommand["EnableInlineTableEditing"] = "enableInlineTableEditing";
|
|
25343
|
+
/**
|
|
25344
|
+
* Enables or disables the resize handles on images and other resizable objects. (Not supported by Internet Explorer.)
|
|
25345
|
+
*/
|
|
25346
|
+
CompatibleDocumentCommand["EnableObjectResizing"] = "enableObjectResizing";
|
|
25347
|
+
/**
|
|
25348
|
+
* Changes the font name for the selection or at the insertion point. This requires a font name string (like "Arial")
|
|
25349
|
+
* as a value argument.
|
|
25350
|
+
*/
|
|
25351
|
+
CompatibleDocumentCommand["FontName"] = "fontName";
|
|
25352
|
+
/**
|
|
25353
|
+
* Changes the font size for the selection or at the insertion point. This requires an integer from 1-7 as a value argument.
|
|
25354
|
+
*/
|
|
25355
|
+
CompatibleDocumentCommand["FontSize"] = "fontSize";
|
|
25356
|
+
/**
|
|
25357
|
+
* Changes a font color for the selection or at the insertion point. This requires a hexadecimal color value string
|
|
25358
|
+
* as a value argument.
|
|
25359
|
+
*/
|
|
25360
|
+
CompatibleDocumentCommand["ForeColor"] = "foreColor";
|
|
25361
|
+
/**
|
|
25362
|
+
* Adds an HTML block-level element around the line containing the current selection, replacing the block element containing
|
|
25363
|
+
* the line if one exists (in Firefox, <blockquote> is the exception — it will wrap any containing block element).
|
|
25364
|
+
* Requires a tag-name string as a value argument. Virtually all block-level elements can be used.
|
|
25365
|
+
* (Internet Explorer supports only heading tags H1–H6, ADDRESS, and PRE, which must be wrapped in angle brackets, such as "<H1>".)
|
|
25366
|
+
*/
|
|
25367
|
+
CompatibleDocumentCommand["FormatBlock"] = "formatBlock";
|
|
25368
|
+
/**
|
|
25369
|
+
* Deletes the character ahead of the cursor's position, identical to hitting the Delete key on a Windows keyboard.
|
|
25370
|
+
*/
|
|
25371
|
+
CompatibleDocumentCommand["ForwardDelete"] = "forwardDelete";
|
|
25372
|
+
/**
|
|
25373
|
+
* Adds a heading element around a selection or insertion point line. Requires the tag-name strings a value argument (i.e. "H1", "H6").
|
|
25374
|
+
* (Not supported by Internet Explorer and Safari.)
|
|
25375
|
+
*/
|
|
25376
|
+
CompatibleDocumentCommand["Heading"] = "heading";
|
|
25377
|
+
/**
|
|
25378
|
+
* Changes the background color for the selection or at the insertion point. Requires a color value string as a value argument.
|
|
25379
|
+
* useCSS must be true for this to function. (Not supported by Internet Explorer.)
|
|
25380
|
+
*/
|
|
25381
|
+
CompatibleDocumentCommand["HiliteColor"] = "hiliteColor";
|
|
25382
|
+
/**
|
|
25383
|
+
* Adds a <big> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
|
|
25384
|
+
*/
|
|
25385
|
+
CompatibleDocumentCommand["IncreaseFontSize"] = "increaseFontSize";
|
|
25386
|
+
/**
|
|
25387
|
+
* Indents the line containing the selection or insertion point. In Firefox, if the selection spans multiple lines at different
|
|
25388
|
+
* levels of indentation, only the least indented lines in the selection will be indented.
|
|
25389
|
+
*/
|
|
25390
|
+
CompatibleDocumentCommand["Indent"] = "indent";
|
|
25391
|
+
/**
|
|
25392
|
+
* Controls whether the Enter key inserts a <br> element, or splits the current block element into two.
|
|
25393
|
+
* (Not supported by Internet Explorer.)
|
|
25394
|
+
*/
|
|
25395
|
+
CompatibleDocumentCommand["InsertBrOnReturn"] = "insertBrOnReturn";
|
|
25396
|
+
/**
|
|
25397
|
+
* Inserts a <hr> element at the insertion point, or replaces the selection with it.
|
|
25398
|
+
*/
|
|
25399
|
+
CompatibleDocumentCommand["InsertHorizontalRule"] = "insertHorizontalRule";
|
|
25400
|
+
/**
|
|
25401
|
+
* Inserts an HTML string at the insertion point (deletes selection). Requires a valid HTML string as a value argument.
|
|
25402
|
+
* (Not supported by Internet Explorer.)
|
|
25403
|
+
*/
|
|
25404
|
+
CompatibleDocumentCommand["InsertHTML"] = "insertHTML";
|
|
25405
|
+
/**
|
|
25406
|
+
* Inserts an image at the insertion point (deletes selection). Requires a URL string for the image's src as a value argument.
|
|
25407
|
+
* The requirements for this string are the same as createLink.
|
|
25408
|
+
*/
|
|
25409
|
+
CompatibleDocumentCommand["InsertImage"] = "insertImage";
|
|
25410
|
+
/**
|
|
25411
|
+
* Creates a numbered ordered list for the selection or at the insertion point.
|
|
25412
|
+
*/
|
|
25413
|
+
CompatibleDocumentCommand["InsertOrderedList"] = "insertOrderedList";
|
|
25414
|
+
/**
|
|
25415
|
+
* Creates a bulleted unordered list for the selection or at the insertion point.
|
|
25416
|
+
*/
|
|
25417
|
+
CompatibleDocumentCommand["InsertUnorderedList"] = "insertUnorderedList";
|
|
25418
|
+
/**
|
|
25419
|
+
* Inserts a paragraph around the selection or the current line.
|
|
25420
|
+
* (Internet Explorer inserts a paragraph at the insertion point and deletes the selection.)
|
|
25421
|
+
*/
|
|
25422
|
+
CompatibleDocumentCommand["InsertParagraph"] = "insertParagraph";
|
|
25423
|
+
/**
|
|
25424
|
+
* Inserts the given plain text at the insertion point (deletes selection).
|
|
25425
|
+
*/
|
|
25426
|
+
CompatibleDocumentCommand["InsertText"] = "insertText";
|
|
25427
|
+
/**
|
|
25428
|
+
* Toggles italics on/off for the selection or at the insertion point.
|
|
25429
|
+
* (Internet Explorer uses the <em> element instead of <i>.)
|
|
25430
|
+
*/
|
|
25431
|
+
CompatibleDocumentCommand["Italic"] = "italic";
|
|
25432
|
+
/**
|
|
25433
|
+
* Centers the selection or insertion point.
|
|
25434
|
+
*/
|
|
25435
|
+
CompatibleDocumentCommand["JustifyCenter"] = "justifyCenter";
|
|
25436
|
+
/**
|
|
25437
|
+
* Justifies the selection or insertion point.
|
|
25438
|
+
*/
|
|
25439
|
+
CompatibleDocumentCommand["JustifyFull"] = "justifyFull";
|
|
25440
|
+
/**
|
|
25441
|
+
* Justifies the selection or insertion point to the left.
|
|
25442
|
+
*/
|
|
25443
|
+
CompatibleDocumentCommand["JustifyLeft"] = "justifyLeft";
|
|
25444
|
+
/**
|
|
25445
|
+
* Right-justifies the selection or the insertion point.
|
|
25446
|
+
*/
|
|
25447
|
+
CompatibleDocumentCommand["JustifyRight"] = "justifyRight";
|
|
25448
|
+
/**
|
|
25449
|
+
* Outdents the line containing the selection or insertion point.
|
|
25450
|
+
*/
|
|
25451
|
+
CompatibleDocumentCommand["Outdent"] = "outdent";
|
|
25452
|
+
/**
|
|
25453
|
+
* Pastes the clipboard contents at the insertion point (replaces current selection). Disabled for web content. See [1].
|
|
25454
|
+
*/
|
|
25455
|
+
CompatibleDocumentCommand["Paste"] = "paste";
|
|
25456
|
+
/**
|
|
25457
|
+
* Redoes the previous undo command.
|
|
25458
|
+
*/
|
|
25459
|
+
CompatibleDocumentCommand["Redo"] = "redo";
|
|
25460
|
+
/**
|
|
25461
|
+
* Removes all formatting from the current selection.
|
|
25462
|
+
*/
|
|
25463
|
+
CompatibleDocumentCommand["RemoveFormat"] = "removeFormat";
|
|
25464
|
+
/**
|
|
25465
|
+
* Selects all of the content of the editable region.
|
|
25466
|
+
*/
|
|
25467
|
+
CompatibleDocumentCommand["SelectAll"] = "selectAll";
|
|
25468
|
+
/**
|
|
25469
|
+
* Toggles strikethrough on/off for the selection or at the insertion point.
|
|
25470
|
+
*/
|
|
25471
|
+
CompatibleDocumentCommand["StrikeThrough"] = "strikeThrough";
|
|
25472
|
+
/**
|
|
25473
|
+
* Toggles subscript on/off for the selection or at the insertion point.
|
|
25474
|
+
*/
|
|
25475
|
+
CompatibleDocumentCommand["Subscript"] = "subscript";
|
|
25476
|
+
/**
|
|
25477
|
+
* Toggles superscript on/off for the selection or at the insertion point.
|
|
25478
|
+
*/
|
|
25479
|
+
CompatibleDocumentCommand["Superscript"] = "superscript";
|
|
25480
|
+
/**
|
|
25481
|
+
* Toggles underline on/off for the selection or at the insertion point.
|
|
25482
|
+
*/
|
|
25483
|
+
CompatibleDocumentCommand["Underline"] = "underline";
|
|
25484
|
+
/**
|
|
25485
|
+
* Undoes the last executed command.
|
|
25486
|
+
*/
|
|
25487
|
+
CompatibleDocumentCommand["Undo"] = "undo";
|
|
25488
|
+
/**
|
|
25489
|
+
* Removes the anchor element from a selected hyperlink.
|
|
25490
|
+
*/
|
|
25491
|
+
CompatibleDocumentCommand["Unlink"] = "unlink";
|
|
25492
|
+
/**
|
|
25493
|
+
* Replaces the useCSS command. true modifies/generates style attributes in markup, false generates presentational elements.
|
|
25494
|
+
*/
|
|
25495
|
+
CompatibleDocumentCommand["StyleWithCSS"] = "styleWithCSS";
|
|
25496
|
+
})(CompatibleDocumentCommand = exports.CompatibleDocumentCommand || (exports.CompatibleDocumentCommand = {}));
|
|
25497
|
+
|
|
25498
|
+
|
|
25499
|
+
/***/ }),
|
|
25500
|
+
|
|
25501
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentPosition.ts":
|
|
25502
|
+
/*!********************************************************************************!*\
|
|
25503
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentPosition.ts ***!
|
|
25504
|
+
\********************************************************************************/
|
|
25505
|
+
/*! no static exports found */
|
|
25506
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25507
|
+
|
|
25508
|
+
"use strict";
|
|
25509
|
+
|
|
25510
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25511
|
+
exports.CompatibleDocumentPosition = void 0;
|
|
25512
|
+
/**
|
|
25513
|
+
* The is essentially an enum representing result from browser compareDocumentPosition API
|
|
25514
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
|
25515
|
+
*/
|
|
25516
|
+
var CompatibleDocumentPosition;
|
|
25517
|
+
(function (CompatibleDocumentPosition) {
|
|
25518
|
+
/**
|
|
25519
|
+
* Same node
|
|
25520
|
+
*/
|
|
25521
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["Same"] = 0] = "Same";
|
|
25522
|
+
/**
|
|
25523
|
+
* Node is disconnected from document
|
|
25524
|
+
*/
|
|
25525
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["Disconnected"] = 1] = "Disconnected";
|
|
25526
|
+
/**
|
|
25527
|
+
* Node is preceding the comparing node
|
|
25528
|
+
*/
|
|
25529
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["Preceding"] = 2] = "Preceding";
|
|
25530
|
+
/**
|
|
25531
|
+
* Node is following the comparing node
|
|
25532
|
+
*/
|
|
25533
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["Following"] = 4] = "Following";
|
|
25534
|
+
/**
|
|
25535
|
+
* Node contains the comparing node
|
|
25536
|
+
*/
|
|
25537
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["Contains"] = 8] = "Contains";
|
|
25538
|
+
/**
|
|
25539
|
+
* Node is contained by the comparing node
|
|
25540
|
+
*/
|
|
25541
|
+
CompatibleDocumentPosition[CompatibleDocumentPosition["ContainedBy"] = 16] = "ContainedBy";
|
|
25542
|
+
})(CompatibleDocumentPosition = exports.CompatibleDocumentPosition || (exports.CompatibleDocumentPosition = {}));
|
|
25543
|
+
|
|
25544
|
+
|
|
25545
|
+
/***/ }),
|
|
25546
|
+
|
|
25547
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/EntityClasses.ts":
|
|
25548
|
+
/*!*****************************************************************************!*\
|
|
25549
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/EntityClasses.ts ***!
|
|
25550
|
+
\*****************************************************************************/
|
|
25551
|
+
/*! no static exports found */
|
|
25552
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25553
|
+
|
|
25554
|
+
"use strict";
|
|
25555
|
+
|
|
25556
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25557
|
+
exports.CompatibleEntityClasses = void 0;
|
|
25558
|
+
/**
|
|
25559
|
+
* CSS Class names for Entity
|
|
25560
|
+
*/
|
|
25561
|
+
var CompatibleEntityClasses;
|
|
25562
|
+
(function (CompatibleEntityClasses) {
|
|
25563
|
+
/**
|
|
25564
|
+
* Class name to specify this is an entity
|
|
25565
|
+
*/
|
|
25566
|
+
CompatibleEntityClasses["ENTITY_INFO_NAME"] = "_Entity";
|
|
25567
|
+
/**
|
|
25568
|
+
* Class name to specify the type of an entity
|
|
25569
|
+
*/
|
|
25570
|
+
CompatibleEntityClasses["ENTITY_TYPE_PREFIX"] = "_EType_";
|
|
25571
|
+
/**
|
|
25572
|
+
* Class name to specify the ID of an entity
|
|
25573
|
+
*/
|
|
25574
|
+
CompatibleEntityClasses["ENTITY_ID_PREFIX"] = "_EId_";
|
|
25575
|
+
/**
|
|
25576
|
+
* Class name to specify if the entity is readonly
|
|
25577
|
+
*/
|
|
25578
|
+
CompatibleEntityClasses["ENTITY_READONLY_PREFIX"] = "_EReadonly_";
|
|
25579
|
+
})(CompatibleEntityClasses = exports.CompatibleEntityClasses || (exports.CompatibleEntityClasses = {}));
|
|
25580
|
+
|
|
25581
|
+
|
|
25582
|
+
/***/ }),
|
|
25583
|
+
|
|
25584
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/EntityOperation.ts":
|
|
25585
|
+
/*!*******************************************************************************!*\
|
|
25586
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/EntityOperation.ts ***!
|
|
25587
|
+
\*******************************************************************************/
|
|
25588
|
+
/*! no static exports found */
|
|
25589
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25590
|
+
|
|
25591
|
+
"use strict";
|
|
25592
|
+
|
|
25593
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25594
|
+
exports.CompatibleEntityOperation = void 0;
|
|
25595
|
+
/**
|
|
25596
|
+
* Define possible operations to an entity
|
|
25597
|
+
*/
|
|
25598
|
+
var CompatibleEntityOperation;
|
|
25599
|
+
(function (CompatibleEntityOperation) {
|
|
25600
|
+
/**
|
|
25601
|
+
* Notify plugins that there is a new plugin was added into editor.
|
|
25602
|
+
* Plugin can handle this event to entity hydration.
|
|
25603
|
+
* This event will be only fired once for each entity DOM node.
|
|
25604
|
+
* After undo, or copy/paste, since new DOM nodes were added, this event will be fired
|
|
25605
|
+
* for those entities represented by newly added nodes.
|
|
25606
|
+
*/
|
|
25607
|
+
CompatibleEntityOperation[CompatibleEntityOperation["NewEntity"] = 0] = "NewEntity";
|
|
25608
|
+
/**
|
|
25609
|
+
* Notify plugins that user is clicking target to an entity
|
|
25610
|
+
*/
|
|
25611
|
+
CompatibleEntityOperation[CompatibleEntityOperation["Click"] = 1] = "Click";
|
|
25612
|
+
/**
|
|
25613
|
+
* Notify plugins that user is triggering context menu to an entity
|
|
25614
|
+
*/
|
|
25615
|
+
CompatibleEntityOperation[CompatibleEntityOperation["ContextMenu"] = 2] = "ContextMenu";
|
|
25616
|
+
/**
|
|
25617
|
+
* Notify plugins that user is escaping from an entity by pressing ESC key
|
|
25618
|
+
*/
|
|
25619
|
+
CompatibleEntityOperation[CompatibleEntityOperation["Escape"] = 3] = "Escape";
|
|
25620
|
+
/**
|
|
25621
|
+
* Notify plugins that user is removing an entity from its start position using DELETE key
|
|
25622
|
+
*/
|
|
25623
|
+
CompatibleEntityOperation[CompatibleEntityOperation["RemoveFromStart"] = 4] = "RemoveFromStart";
|
|
25624
|
+
/**
|
|
25625
|
+
* Notify plugins that user is remove an entity from its end position using BACKSPACE key
|
|
25626
|
+
*/
|
|
25627
|
+
CompatibleEntityOperation[CompatibleEntityOperation["RemoveFromEnd"] = 5] = "RemoveFromEnd";
|
|
25628
|
+
/**
|
|
25629
|
+
* Notify plugins that an entity is being overwritten.
|
|
25630
|
+
* This can be caused by key in, cut, paste, delete, backspace ... on a selection
|
|
25631
|
+
* which contains some entities.
|
|
25632
|
+
*/
|
|
25633
|
+
CompatibleEntityOperation[CompatibleEntityOperation["Overwrite"] = 6] = "Overwrite";
|
|
25634
|
+
/**
|
|
25635
|
+
* Notify plugins that an entity is being partially overwritten.
|
|
25636
|
+
* This happens when user selected part of the entity then do key press, or cut, paste, delete, backspace, ...
|
|
25637
|
+
*/
|
|
25638
|
+
CompatibleEntityOperation[CompatibleEntityOperation["PartialOverwrite"] = 7] = "PartialOverwrite";
|
|
25639
|
+
/**
|
|
25640
|
+
* Notify plugins that editor is generating HTML content for save.
|
|
25641
|
+
* Plugin should use this event to remove any temporary content, and only leave DOM nodes that
|
|
25642
|
+
* should be saved as HTML string.
|
|
25643
|
+
* This event will provide a cloned DOM tree for each entity, do NOT compare the DOM nodes with cached nodes
|
|
25644
|
+
* because it will always return false.
|
|
25645
|
+
*/
|
|
25646
|
+
CompatibleEntityOperation[CompatibleEntityOperation["ReplaceTemporaryContent"] = 8] = "ReplaceTemporaryContent";
|
|
25647
|
+
/**
|
|
25648
|
+
* Notify plugins that editor has attached shadow root for an entity.
|
|
25649
|
+
* Plugins can handle this event to do extra operations to the shadow root
|
|
25650
|
+
*/
|
|
25651
|
+
CompatibleEntityOperation[CompatibleEntityOperation["AddShadowRoot"] = 9] = "AddShadowRoot";
|
|
25652
|
+
/**
|
|
25653
|
+
* Notify plugins that editor has removed the shadow root of an entity
|
|
25654
|
+
* Plugins can handle this event to do any necessary clean up for shadow root
|
|
25655
|
+
*/
|
|
25656
|
+
CompatibleEntityOperation[CompatibleEntityOperation["RemoveShadowRoot"] = 10] = "RemoveShadowRoot";
|
|
25657
|
+
})(CompatibleEntityOperation = exports.CompatibleEntityOperation || (exports.CompatibleEntityOperation = {}));
|
|
25658
|
+
|
|
25659
|
+
|
|
25660
|
+
/***/ }),
|
|
25661
|
+
|
|
25662
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ExperimentalFeatures.ts":
|
|
25663
|
+
/*!************************************************************************************!*\
|
|
25664
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ExperimentalFeatures.ts ***!
|
|
25665
|
+
\************************************************************************************/
|
|
25666
|
+
/*! no static exports found */
|
|
25667
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25668
|
+
|
|
25669
|
+
"use strict";
|
|
25670
|
+
|
|
25671
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25672
|
+
exports.CompatibleExperimentalFeatures = void 0;
|
|
25673
|
+
/**
|
|
25674
|
+
* Experimental feature flags
|
|
25675
|
+
*/
|
|
25676
|
+
var CompatibleExperimentalFeatures;
|
|
25677
|
+
(function (CompatibleExperimentalFeatures) {
|
|
25678
|
+
/**
|
|
25679
|
+
* @deprecated This feature is always enabled
|
|
25680
|
+
*/
|
|
25681
|
+
CompatibleExperimentalFeatures["NewIndentation"] = "NewIndentation";
|
|
25682
|
+
/**
|
|
25683
|
+
* @deprecated This feature is always enabled
|
|
25684
|
+
*/
|
|
25685
|
+
CompatibleExperimentalFeatures["NewBullet"] = "NewBullet";
|
|
25686
|
+
/**
|
|
25687
|
+
* @deprecated This feature is always enabled
|
|
25688
|
+
*/
|
|
25689
|
+
CompatibleExperimentalFeatures["NewNumbering"] = "NewNumbering";
|
|
25690
|
+
/**
|
|
25691
|
+
* @deprecated This feature is always enabled
|
|
25692
|
+
*/
|
|
25693
|
+
CompatibleExperimentalFeatures["ListChain"] = "ListChain";
|
|
25694
|
+
/**
|
|
25695
|
+
* @deprecated This feature is always enabled
|
|
25696
|
+
*/
|
|
25697
|
+
CompatibleExperimentalFeatures["MergePastedLine"] = "MergePastedLine";
|
|
25698
|
+
/**
|
|
25699
|
+
* Resize an image horizontally or vertically
|
|
25700
|
+
*/
|
|
25701
|
+
CompatibleExperimentalFeatures["SingleDirectionResize"] = "SingleDirectionResize";
|
|
25702
|
+
/**
|
|
25703
|
+
* Try retrieve link preview information when paste
|
|
25704
|
+
*/
|
|
25705
|
+
CompatibleExperimentalFeatures["PasteWithLinkPreview"] = "PasteWithLinkPreview";
|
|
25706
|
+
/**
|
|
25707
|
+
* Rotate an inline image (requires ImageEdit plugin)
|
|
25708
|
+
*/
|
|
25709
|
+
CompatibleExperimentalFeatures["ImageRotate"] = "ImageRotate";
|
|
25710
|
+
/**
|
|
25711
|
+
* Crop an inline image (requires ImageEdit plugin)
|
|
25712
|
+
*/
|
|
25713
|
+
CompatibleExperimentalFeatures["ImageCrop"] = "ImageCrop";
|
|
25714
|
+
/**
|
|
25715
|
+
* @deprecated This feature is always enabled
|
|
25716
|
+
* Check if the element has a style attribute, if not, apply the default format
|
|
25717
|
+
*/
|
|
25718
|
+
CompatibleExperimentalFeatures["AlwaysApplyDefaultFormat"] = "AlwaysApplyDefaultFormat";
|
|
25719
|
+
/**
|
|
25720
|
+
* Paste the Html instead of the Img when the Html Body only have one IMG Child node
|
|
25721
|
+
*/
|
|
25722
|
+
CompatibleExperimentalFeatures["ConvertSingleImageBody"] = "ConvertSingleImageBody";
|
|
25723
|
+
/**
|
|
25724
|
+
* Align table elements to left, center and right using setAlignment API
|
|
25725
|
+
*/
|
|
25726
|
+
CompatibleExperimentalFeatures["TableAlignment"] = "TableAlignment";
|
|
25727
|
+
/**
|
|
25728
|
+
* Provide additional Tab Key Features. Requires Text Features Content Editable Features
|
|
25729
|
+
*/
|
|
25730
|
+
CompatibleExperimentalFeatures["TabKeyTextFeatures"] = "TabKeyTextFeatures";
|
|
25731
|
+
/**
|
|
25732
|
+
* Provide a circular resize handles that adaptive the number od handles to the size of the image
|
|
25733
|
+
*/
|
|
25734
|
+
CompatibleExperimentalFeatures["AdaptiveHandlesResizer"] = "AdaptiveHandlesResizer";
|
|
25735
|
+
})(CompatibleExperimentalFeatures = exports.CompatibleExperimentalFeatures || (exports.CompatibleExperimentalFeatures = {}));
|
|
25736
|
+
|
|
25737
|
+
|
|
25738
|
+
/***/ }),
|
|
25739
|
+
|
|
25740
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/FontSizeChange.ts":
|
|
25741
|
+
/*!******************************************************************************!*\
|
|
25742
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/FontSizeChange.ts ***!
|
|
25743
|
+
\******************************************************************************/
|
|
25744
|
+
/*! no static exports found */
|
|
25745
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25746
|
+
|
|
25747
|
+
"use strict";
|
|
25748
|
+
|
|
25749
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25750
|
+
exports.CompatibleFontSizeChange = void 0;
|
|
25751
|
+
/**
|
|
25752
|
+
* The enum used for increase or decrease font size
|
|
25753
|
+
* Used by setFontSize API
|
|
25754
|
+
*/
|
|
25755
|
+
var CompatibleFontSizeChange;
|
|
25756
|
+
(function (CompatibleFontSizeChange) {
|
|
25757
|
+
/**
|
|
25758
|
+
* Increase font size
|
|
25759
|
+
*/
|
|
25760
|
+
CompatibleFontSizeChange[CompatibleFontSizeChange["Increase"] = 0] = "Increase";
|
|
25761
|
+
/**
|
|
25762
|
+
* Decrease font size
|
|
25763
|
+
*/
|
|
25764
|
+
CompatibleFontSizeChange[CompatibleFontSizeChange["Decrease"] = 1] = "Decrease";
|
|
25765
|
+
})(CompatibleFontSizeChange = exports.CompatibleFontSizeChange || (exports.CompatibleFontSizeChange = {}));
|
|
25766
|
+
|
|
25767
|
+
|
|
25768
|
+
/***/ }),
|
|
25769
|
+
|
|
25770
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/GetContentMode.ts":
|
|
25771
|
+
/*!******************************************************************************!*\
|
|
25772
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/GetContentMode.ts ***!
|
|
25773
|
+
\******************************************************************************/
|
|
25774
|
+
/*! no static exports found */
|
|
25775
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25776
|
+
|
|
25777
|
+
"use strict";
|
|
25778
|
+
|
|
25779
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25780
|
+
exports.CompatibleGetContentMode = void 0;
|
|
25781
|
+
/**
|
|
25782
|
+
* Represents a mode number to indicate what kind of content to retrieve when call Editor.getContent()
|
|
25783
|
+
*/
|
|
25784
|
+
var CompatibleGetContentMode;
|
|
25785
|
+
(function (CompatibleGetContentMode) {
|
|
25786
|
+
/**
|
|
25787
|
+
* The clean content without any temporary content only for editor.
|
|
25788
|
+
* This is the default value. Call to Editor.getContent() with trigger an ExtractContentWithDom event
|
|
25789
|
+
* so that plugins can remove their temporary content, and will return the HTML content
|
|
25790
|
+
* which is ready for save to storage.
|
|
25791
|
+
*/
|
|
25792
|
+
CompatibleGetContentMode[CompatibleGetContentMode["CleanHTML"] = 0] = "CleanHTML";
|
|
25793
|
+
/**
|
|
25794
|
+
* Retrieve the raw HTML string in current editor. Temporary content will be included.
|
|
25795
|
+
*/
|
|
25796
|
+
CompatibleGetContentMode[CompatibleGetContentMode["RawHTMLOnly"] = 1] = "RawHTMLOnly";
|
|
25797
|
+
/**
|
|
25798
|
+
* Retrieve the raw HTML string in current editor with a selection marker. This can be used for
|
|
25799
|
+
* save current editor state and call to SetContent with this result can fully restore editor state
|
|
25800
|
+
* including current selection
|
|
25801
|
+
*/
|
|
25802
|
+
CompatibleGetContentMode[CompatibleGetContentMode["RawHTMLWithSelection"] = 2] = "RawHTMLWithSelection";
|
|
25803
|
+
/**
|
|
25804
|
+
* Get plain text content only, all format will be ignored
|
|
25805
|
+
*/
|
|
25806
|
+
CompatibleGetContentMode[CompatibleGetContentMode["PlainText"] = 3] = "PlainText";
|
|
25807
|
+
/**
|
|
25808
|
+
* A fast way to get plain text content, the line-end positions may not be exactly same with HTML content,
|
|
25809
|
+
* but the text content should be the same. This is used for quickly retrieve text content and check
|
|
25810
|
+
* text only
|
|
25811
|
+
*/
|
|
25812
|
+
CompatibleGetContentMode[CompatibleGetContentMode["PlainTextFast"] = 4] = "PlainTextFast";
|
|
25813
|
+
})(CompatibleGetContentMode = exports.CompatibleGetContentMode || (exports.CompatibleGetContentMode = {}));
|
|
25814
|
+
|
|
25815
|
+
|
|
25816
|
+
/***/ }),
|
|
25817
|
+
|
|
25818
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ImageEditOperation.ts":
|
|
25819
|
+
/*!**********************************************************************************!*\
|
|
25820
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ImageEditOperation.ts ***!
|
|
25821
|
+
\**********************************************************************************/
|
|
25822
|
+
/*! no static exports found */
|
|
25823
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25824
|
+
|
|
25825
|
+
"use strict";
|
|
25826
|
+
|
|
25827
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25828
|
+
exports.CompatibleImageEditOperation = void 0;
|
|
25829
|
+
/**
|
|
25830
|
+
* Operation flags for ImageEdit plugin
|
|
25831
|
+
*/
|
|
25832
|
+
var CompatibleImageEditOperation;
|
|
25833
|
+
(function (CompatibleImageEditOperation) {
|
|
25834
|
+
/**
|
|
25835
|
+
* No operation
|
|
25836
|
+
*/
|
|
25837
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["None"] = 0] = "None";
|
|
25838
|
+
/**
|
|
25839
|
+
* Resize image from corner ( horizontal and vertical resize)
|
|
25840
|
+
*/
|
|
25841
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["CornerResize"] = 1] = "CornerResize";
|
|
25842
|
+
/**
|
|
25843
|
+
* Resize image from side ( either horizontal or vertical resize)
|
|
25844
|
+
*/
|
|
25845
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["SideResize"] = 2] = "SideResize";
|
|
25846
|
+
/**
|
|
25847
|
+
* Image resize
|
|
25848
|
+
*/
|
|
25849
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["Resize"] = 3] = "Resize";
|
|
25850
|
+
/**
|
|
25851
|
+
* Image rotate
|
|
25852
|
+
*/
|
|
25853
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["Rotate"] = 4] = "Rotate";
|
|
25854
|
+
/**
|
|
25855
|
+
* Image resize and rotate
|
|
25856
|
+
*/
|
|
25857
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["ResizeAndRotate"] = 7] = "ResizeAndRotate";
|
|
25858
|
+
/**
|
|
25859
|
+
* Image crop
|
|
25860
|
+
*/
|
|
25861
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["Crop"] = 8] = "Crop";
|
|
25862
|
+
/**
|
|
25863
|
+
* All operations
|
|
25864
|
+
*/
|
|
25865
|
+
CompatibleImageEditOperation[CompatibleImageEditOperation["All"] = 15] = "All";
|
|
25866
|
+
})(CompatibleImageEditOperation = exports.CompatibleImageEditOperation || (exports.CompatibleImageEditOperation = {}));
|
|
25867
|
+
|
|
25868
|
+
|
|
25869
|
+
/***/ }),
|
|
25870
|
+
|
|
25871
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/Indentation.ts":
|
|
25872
|
+
/*!***************************************************************************!*\
|
|
25873
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/Indentation.ts ***!
|
|
25874
|
+
\***************************************************************************/
|
|
25875
|
+
/*! no static exports found */
|
|
25876
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25877
|
+
|
|
25878
|
+
"use strict";
|
|
25879
|
+
|
|
25880
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25881
|
+
exports.CompatibleIndentation = void 0;
|
|
25882
|
+
/**
|
|
25883
|
+
* The enum used for increase or decrease indentation of a block
|
|
25884
|
+
* Used by setIndentation API
|
|
25885
|
+
*/
|
|
25886
|
+
var CompatibleIndentation;
|
|
25887
|
+
(function (CompatibleIndentation) {
|
|
25888
|
+
/**
|
|
25889
|
+
* Increase indentation
|
|
25890
|
+
*/
|
|
25891
|
+
CompatibleIndentation[CompatibleIndentation["Increase"] = 0] = "Increase";
|
|
25892
|
+
/**
|
|
25893
|
+
* Decrease indentation
|
|
25894
|
+
*/
|
|
25895
|
+
CompatibleIndentation[CompatibleIndentation["Decrease"] = 1] = "Decrease";
|
|
25896
|
+
})(CompatibleIndentation = exports.CompatibleIndentation || (exports.CompatibleIndentation = {}));
|
|
25897
|
+
|
|
25898
|
+
|
|
25899
|
+
/***/ }),
|
|
25900
|
+
|
|
25901
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/Keys.ts":
|
|
25902
|
+
/*!********************************************************************!*\
|
|
25903
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/Keys.ts ***!
|
|
25904
|
+
\********************************************************************/
|
|
25905
|
+
/*! no static exports found */
|
|
25906
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25907
|
+
|
|
25908
|
+
"use strict";
|
|
25909
|
+
|
|
25910
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25911
|
+
exports.CompatibleKeys = void 0;
|
|
25912
|
+
/**
|
|
25913
|
+
* Key numbers common used keys
|
|
25914
|
+
*/
|
|
25915
|
+
var CompatibleKeys;
|
|
25916
|
+
(function (CompatibleKeys) {
|
|
25917
|
+
CompatibleKeys[CompatibleKeys["NULL"] = 0] = "NULL";
|
|
25918
|
+
CompatibleKeys[CompatibleKeys["BACKSPACE"] = 8] = "BACKSPACE";
|
|
25919
|
+
CompatibleKeys[CompatibleKeys["TAB"] = 9] = "TAB";
|
|
25920
|
+
CompatibleKeys[CompatibleKeys["ENTER"] = 13] = "ENTER";
|
|
25921
|
+
CompatibleKeys[CompatibleKeys["SHIFT"] = 16] = "SHIFT";
|
|
25922
|
+
CompatibleKeys[CompatibleKeys["ESCAPE"] = 27] = "ESCAPE";
|
|
25923
|
+
CompatibleKeys[CompatibleKeys["SPACE"] = 32] = "SPACE";
|
|
25924
|
+
CompatibleKeys[CompatibleKeys["PAGEUP"] = 33] = "PAGEUP";
|
|
25925
|
+
CompatibleKeys[CompatibleKeys["LEFT"] = 37] = "LEFT";
|
|
25926
|
+
CompatibleKeys[CompatibleKeys["UP"] = 38] = "UP";
|
|
25927
|
+
CompatibleKeys[CompatibleKeys["RIGHT"] = 39] = "RIGHT";
|
|
25928
|
+
CompatibleKeys[CompatibleKeys["DOWN"] = 40] = "DOWN";
|
|
25929
|
+
CompatibleKeys[CompatibleKeys["DELETE"] = 46] = "DELETE";
|
|
25930
|
+
/**
|
|
25931
|
+
* @deprecated Just for backward compatibility
|
|
25932
|
+
*/
|
|
25933
|
+
CompatibleKeys[CompatibleKeys["EIGHT_ASTIRISK"] = 56] = "EIGHT_ASTIRISK";
|
|
25934
|
+
CompatibleKeys[CompatibleKeys["EIGHT_ASTERISK"] = 56] = "EIGHT_ASTERISK";
|
|
25935
|
+
CompatibleKeys[CompatibleKeys["B"] = 66] = "B";
|
|
25936
|
+
CompatibleKeys[CompatibleKeys["I"] = 73] = "I";
|
|
25937
|
+
CompatibleKeys[CompatibleKeys["U"] = 85] = "U";
|
|
25938
|
+
CompatibleKeys[CompatibleKeys["Y"] = 89] = "Y";
|
|
25939
|
+
CompatibleKeys[CompatibleKeys["Z"] = 90] = "Z";
|
|
25940
|
+
CompatibleKeys[CompatibleKeys["COMMA"] = 188] = "COMMA";
|
|
25941
|
+
CompatibleKeys[CompatibleKeys["DASH_UNDERSCORE"] = 189] = "DASH_UNDERSCORE";
|
|
25942
|
+
CompatibleKeys[CompatibleKeys["PERIOD"] = 190] = "PERIOD";
|
|
25943
|
+
/**
|
|
25944
|
+
* @deprecated Just for backward compatibility
|
|
25945
|
+
*/
|
|
25946
|
+
CompatibleKeys[CompatibleKeys["FORWARDSLASH"] = 191] = "FORWARDSLASH";
|
|
25947
|
+
CompatibleKeys[CompatibleKeys["FORWARD_SLASH"] = 191] = "FORWARD_SLASH";
|
|
25948
|
+
CompatibleKeys[CompatibleKeys["GRAVE_TILDE"] = 192] = "GRAVE_TILDE";
|
|
25949
|
+
// Keys below are non-standard, and should be used in ContentEditFeatures only
|
|
25950
|
+
CompatibleKeys[CompatibleKeys["CONTENTCHANGED"] = 257] = "CONTENTCHANGED";
|
|
25951
|
+
CompatibleKeys[CompatibleKeys["RANGE"] = 258] = "RANGE";
|
|
25952
|
+
CompatibleKeys[CompatibleKeys["Ctrl"] = 4096] = "Ctrl";
|
|
25953
|
+
CompatibleKeys[CompatibleKeys["Meta"] = 8192] = "Meta";
|
|
25954
|
+
CompatibleKeys[CompatibleKeys["Shift"] = 16384] = "Shift";
|
|
25955
|
+
})(CompatibleKeys = exports.CompatibleKeys || (exports.CompatibleKeys = {}));
|
|
25956
|
+
|
|
25957
|
+
|
|
25958
|
+
/***/ }),
|
|
25959
|
+
|
|
25960
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/KnownCreateElementDataIndex.ts":
|
|
25961
|
+
/*!*******************************************************************************************!*\
|
|
25962
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/KnownCreateElementDataIndex.ts ***!
|
|
25963
|
+
\*******************************************************************************************/
|
|
25964
|
+
/*! no static exports found */
|
|
25965
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25966
|
+
|
|
25967
|
+
"use strict";
|
|
25968
|
+
|
|
25969
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25970
|
+
exports.CompatibleKnownCreateElementDataIndex = void 0;
|
|
25971
|
+
/**
|
|
25972
|
+
* Index of known CreateElementData used by createElement function
|
|
25973
|
+
*/
|
|
25974
|
+
var CompatibleKnownCreateElementDataIndex;
|
|
25975
|
+
(function (CompatibleKnownCreateElementDataIndex) {
|
|
25976
|
+
/**
|
|
25977
|
+
* Set a none value to help createElement function ignore falsy value
|
|
25978
|
+
*/
|
|
25979
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["None"] = 0] = "None";
|
|
25980
|
+
/**
|
|
25981
|
+
* An empty line without format
|
|
25982
|
+
*/
|
|
25983
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["EmptyLine"] = 1] = "EmptyLine";
|
|
25984
|
+
/**
|
|
25985
|
+
* Wrapper for blockquote
|
|
25986
|
+
*/
|
|
25987
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["BlockquoteWrapper"] = 2] = "BlockquoteWrapper";
|
|
25988
|
+
/**
|
|
25989
|
+
* Temp DIV for copy/paste
|
|
25990
|
+
*/
|
|
25991
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["CopyPasteTempDiv"] = 3] = "CopyPasteTempDiv";
|
|
25992
|
+
/**
|
|
25993
|
+
* ListItem with block style
|
|
25994
|
+
*/
|
|
25995
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["BlockListItem"] = 4] = "BlockListItem";
|
|
25996
|
+
/**
|
|
25997
|
+
* Wrapper element for context menu
|
|
25998
|
+
*/
|
|
25999
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["ContextMenuWrapper"] = 5] = "ContextMenuWrapper";
|
|
26000
|
+
/**
|
|
26001
|
+
* Wrapper element for image edit
|
|
26002
|
+
*/
|
|
26003
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["ImageEditWrapper"] = 6] = "ImageEditWrapper";
|
|
26004
|
+
/**
|
|
26005
|
+
* @deprecated
|
|
26006
|
+
*/
|
|
26007
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["TableHorizontalResizer"] = 7] = "TableHorizontalResizer";
|
|
26008
|
+
/**
|
|
26009
|
+
* @deprecated
|
|
26010
|
+
*/
|
|
26011
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["TableVerticalResizer"] = 8] = "TableVerticalResizer";
|
|
26012
|
+
/**
|
|
26013
|
+
* @deprecated
|
|
26014
|
+
*/
|
|
26015
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["TableResizerLTR"] = 9] = "TableResizerLTR";
|
|
26016
|
+
/**
|
|
26017
|
+
* @deprecated
|
|
26018
|
+
*/
|
|
26019
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["TableResizerRTL"] = 10] = "TableResizerRTL";
|
|
26020
|
+
/**
|
|
26021
|
+
* @deprecated
|
|
26022
|
+
*/
|
|
26023
|
+
CompatibleKnownCreateElementDataIndex[CompatibleKnownCreateElementDataIndex["TableSelector"] = 11] = "TableSelector";
|
|
26024
|
+
})(CompatibleKnownCreateElementDataIndex = exports.CompatibleKnownCreateElementDataIndex || (exports.CompatibleKnownCreateElementDataIndex = {}));
|
|
26025
|
+
|
|
26026
|
+
|
|
26027
|
+
/***/ }),
|
|
26028
|
+
|
|
26029
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/ListType.ts":
|
|
26030
|
+
/*!************************************************************************!*\
|
|
26031
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/ListType.ts ***!
|
|
26032
|
+
\************************************************************************/
|
|
26033
|
+
/*! no static exports found */
|
|
26034
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26035
|
+
|
|
26036
|
+
"use strict";
|
|
26037
|
+
|
|
26038
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26039
|
+
exports.CompatibleListType = void 0;
|
|
26040
|
+
/**
|
|
26041
|
+
* Type of list (numbering or bullet)
|
|
26042
|
+
*/
|
|
26043
|
+
var CompatibleListType;
|
|
26044
|
+
(function (CompatibleListType) {
|
|
26045
|
+
/**
|
|
26046
|
+
* None list type
|
|
26047
|
+
* It means this is not a list
|
|
26048
|
+
*/
|
|
26049
|
+
CompatibleListType[CompatibleListType["None"] = 0] = "None";
|
|
26050
|
+
/**
|
|
26051
|
+
* Ordered List type (numbering list)
|
|
26052
|
+
* Represented by "OL" tag
|
|
26053
|
+
*/
|
|
26054
|
+
CompatibleListType[CompatibleListType["Ordered"] = 1] = "Ordered";
|
|
26055
|
+
/**
|
|
26056
|
+
* Unordered List type (bullet list)
|
|
26057
|
+
* Represented by "UL" tag
|
|
26058
|
+
*/
|
|
26059
|
+
CompatibleListType[CompatibleListType["Unordered"] = 2] = "Unordered";
|
|
26060
|
+
})(CompatibleListType = exports.CompatibleListType || (exports.CompatibleListType = {}));
|
|
26061
|
+
|
|
26062
|
+
|
|
26063
|
+
/***/ }),
|
|
26064
|
+
|
|
26065
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/NodeType.ts":
|
|
26066
|
+
/*!************************************************************************!*\
|
|
26067
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/NodeType.ts ***!
|
|
26068
|
+
\************************************************************************/
|
|
26069
|
+
/*! no static exports found */
|
|
26070
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26071
|
+
|
|
26072
|
+
"use strict";
|
|
26073
|
+
|
|
26074
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26075
|
+
exports.CompatibleNodeType = void 0;
|
|
26076
|
+
/**
|
|
26077
|
+
* The is essentially an enum represents the type of the node
|
|
26078
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
26079
|
+
* Values not listed here are deprecated.
|
|
26080
|
+
*/
|
|
26081
|
+
var CompatibleNodeType;
|
|
26082
|
+
(function (CompatibleNodeType) {
|
|
26083
|
+
/**
|
|
26084
|
+
* An Element node such as <p> or <div>.
|
|
26085
|
+
*/
|
|
26086
|
+
CompatibleNodeType[CompatibleNodeType["Element"] = 1] = "Element";
|
|
26087
|
+
/**
|
|
26088
|
+
* The actual Text of Element or Attr.
|
|
26089
|
+
*/
|
|
26090
|
+
CompatibleNodeType[CompatibleNodeType["Text"] = 3] = "Text";
|
|
26091
|
+
/**
|
|
26092
|
+
* A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?> declaration.
|
|
26093
|
+
*/
|
|
26094
|
+
CompatibleNodeType[CompatibleNodeType["ProcessingInstruction"] = 7] = "ProcessingInstruction";
|
|
26095
|
+
/**
|
|
26096
|
+
* A Comment node.
|
|
26097
|
+
*/
|
|
26098
|
+
CompatibleNodeType[CompatibleNodeType["Comment"] = 8] = "Comment";
|
|
26099
|
+
/**
|
|
26100
|
+
* A Document node.
|
|
26101
|
+
*/
|
|
26102
|
+
CompatibleNodeType[CompatibleNodeType["Document"] = 9] = "Document";
|
|
26103
|
+
/**
|
|
26104
|
+
* A DocumentType node e.g. <!DOCTYPE html> for HTML5 documents.
|
|
26105
|
+
*/
|
|
26106
|
+
CompatibleNodeType[CompatibleNodeType["DocumentType"] = 10] = "DocumentType";
|
|
26107
|
+
/**
|
|
26108
|
+
* A DocumentFragment node.
|
|
26109
|
+
*/
|
|
26110
|
+
CompatibleNodeType[CompatibleNodeType["DocumentFragment"] = 11] = "DocumentFragment";
|
|
26111
|
+
})(CompatibleNodeType = exports.CompatibleNodeType || (exports.CompatibleNodeType = {}));
|
|
26112
|
+
|
|
26113
|
+
|
|
26114
|
+
/***/ }),
|
|
26115
|
+
|
|
26116
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/PluginEventType.ts":
|
|
26117
|
+
/*!*******************************************************************************!*\
|
|
26118
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/PluginEventType.ts ***!
|
|
26119
|
+
\*******************************************************************************/
|
|
26120
|
+
/*! no static exports found */
|
|
26121
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26122
|
+
|
|
26123
|
+
"use strict";
|
|
26124
|
+
|
|
26125
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26126
|
+
exports.CompatiblePluginEventType = void 0;
|
|
26127
|
+
/**
|
|
26128
|
+
* Editor plugin event type
|
|
26129
|
+
*/
|
|
26130
|
+
var CompatiblePluginEventType;
|
|
26131
|
+
(function (CompatiblePluginEventType) {
|
|
26132
|
+
/**
|
|
26133
|
+
* HTML KeyDown event
|
|
26134
|
+
*/
|
|
26135
|
+
CompatiblePluginEventType[CompatiblePluginEventType["KeyDown"] = 0] = "KeyDown";
|
|
26136
|
+
/**
|
|
26137
|
+
* HTML KeyPress event
|
|
26138
|
+
*/
|
|
26139
|
+
CompatiblePluginEventType[CompatiblePluginEventType["KeyPress"] = 1] = "KeyPress";
|
|
26140
|
+
/**
|
|
26141
|
+
* HTML KeyUp event
|
|
26142
|
+
*/
|
|
26143
|
+
CompatiblePluginEventType[CompatiblePluginEventType["KeyUp"] = 2] = "KeyUp";
|
|
26144
|
+
/**
|
|
26145
|
+
* HTML Input / TextInput event
|
|
26146
|
+
*/
|
|
26147
|
+
CompatiblePluginEventType[CompatiblePluginEventType["Input"] = 3] = "Input";
|
|
26148
|
+
/**
|
|
26149
|
+
* HTML CompositionEnd event
|
|
26150
|
+
*/
|
|
26151
|
+
CompatiblePluginEventType[CompatiblePluginEventType["CompositionEnd"] = 4] = "CompositionEnd";
|
|
26152
|
+
/**
|
|
26153
|
+
* HTML MouseDown event
|
|
26154
|
+
*/
|
|
26155
|
+
CompatiblePluginEventType[CompatiblePluginEventType["MouseDown"] = 5] = "MouseDown";
|
|
26156
|
+
/**
|
|
26157
|
+
* HTML MouseUp event
|
|
26158
|
+
*/
|
|
26159
|
+
CompatiblePluginEventType[CompatiblePluginEventType["MouseUp"] = 6] = "MouseUp";
|
|
26160
|
+
/**
|
|
26161
|
+
* Content changed event
|
|
26162
|
+
*/
|
|
26163
|
+
CompatiblePluginEventType[CompatiblePluginEventType["ContentChanged"] = 7] = "ContentChanged";
|
|
26164
|
+
/**
|
|
26165
|
+
* Extract Content with a DOM tree event
|
|
26166
|
+
* This event is triggered when getContent() is called with triggerExtractContentEvent = true
|
|
26167
|
+
* Plugin can handle this event to remove the UI only markups to return clean HTML
|
|
26168
|
+
* by operating on a cloned DOM tree
|
|
26169
|
+
*/
|
|
26170
|
+
CompatiblePluginEventType[CompatiblePluginEventType["ExtractContentWithDom"] = 8] = "ExtractContentWithDom";
|
|
26171
|
+
/**
|
|
26172
|
+
* Before Paste event, provide a chance to change copied content
|
|
26173
|
+
*/
|
|
26174
|
+
CompatiblePluginEventType[CompatiblePluginEventType["BeforeCutCopy"] = 9] = "BeforeCutCopy";
|
|
26175
|
+
/**
|
|
26176
|
+
* Before Paste event, provide a chance to change paste content
|
|
26177
|
+
*/
|
|
26178
|
+
CompatiblePluginEventType[CompatiblePluginEventType["BeforePaste"] = 10] = "BeforePaste";
|
|
26179
|
+
/**
|
|
26180
|
+
* Let plugin know editor is ready now
|
|
26181
|
+
*/
|
|
26182
|
+
CompatiblePluginEventType[CompatiblePluginEventType["EditorReady"] = 11] = "EditorReady";
|
|
26183
|
+
/**
|
|
26184
|
+
* Let plugin know editor is about to dispose
|
|
26185
|
+
*/
|
|
26186
|
+
CompatiblePluginEventType[CompatiblePluginEventType["BeforeDispose"] = 12] = "BeforeDispose";
|
|
26187
|
+
/**
|
|
26188
|
+
* Pending format state (bold, italic, underline, ... with collapsed selection) is changed
|
|
26189
|
+
*/
|
|
26190
|
+
CompatiblePluginEventType[CompatiblePluginEventType["PendingFormatStateChanged"] = 13] = "PendingFormatStateChanged";
|
|
26191
|
+
/**
|
|
26192
|
+
* Scroll event triggered by scroll container
|
|
26193
|
+
*/
|
|
26194
|
+
CompatiblePluginEventType[CompatiblePluginEventType["Scroll"] = 14] = "Scroll";
|
|
26195
|
+
/**
|
|
26196
|
+
* Operating on an entity. See enum EntityOperation for more details about each operation
|
|
26197
|
+
*/
|
|
26198
|
+
CompatiblePluginEventType[CompatiblePluginEventType["EntityOperation"] = 15] = "EntityOperation";
|
|
26199
|
+
/**
|
|
26200
|
+
* HTML ContextMenu event
|
|
26201
|
+
*/
|
|
26202
|
+
CompatiblePluginEventType[CompatiblePluginEventType["ContextMenu"] = 16] = "ContextMenu";
|
|
26203
|
+
/**
|
|
26204
|
+
* Editor has entered shadow edit mode
|
|
26205
|
+
*/
|
|
26206
|
+
CompatiblePluginEventType[CompatiblePluginEventType["EnteredShadowEdit"] = 17] = "EnteredShadowEdit";
|
|
26207
|
+
/**
|
|
26208
|
+
* Editor is about to leave shadow edit mode
|
|
26209
|
+
*/
|
|
26210
|
+
CompatiblePluginEventType[CompatiblePluginEventType["LeavingShadowEdit"] = 18] = "LeavingShadowEdit";
|
|
26211
|
+
/**
|
|
26212
|
+
* Content of image is being changed from client side
|
|
26213
|
+
*/
|
|
26214
|
+
CompatiblePluginEventType[CompatiblePluginEventType["EditImage"] = 19] = "EditImage";
|
|
26215
|
+
/**
|
|
26216
|
+
* Content of editor is about to be cleared by SetContent API, handle this event to cache anything you need
|
|
26217
|
+
* before it is gone
|
|
26218
|
+
*/
|
|
26219
|
+
CompatiblePluginEventType[CompatiblePluginEventType["BeforeSetContent"] = 20] = "BeforeSetContent";
|
|
26220
|
+
/**
|
|
26221
|
+
* Zoom scale value is changed, triggered by Editor.setZoomScale() when set a different scale number
|
|
26222
|
+
*/
|
|
26223
|
+
CompatiblePluginEventType[CompatiblePluginEventType["ZoomChanged"] = 21] = "ZoomChanged";
|
|
26224
|
+
})(CompatiblePluginEventType = exports.CompatiblePluginEventType || (exports.CompatiblePluginEventType = {}));
|
|
26225
|
+
|
|
26226
|
+
|
|
26227
|
+
/***/ }),
|
|
26228
|
+
|
|
26229
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/PositionType.ts":
|
|
26230
|
+
/*!****************************************************************************!*\
|
|
26231
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/PositionType.ts ***!
|
|
26232
|
+
\****************************************************************************/
|
|
26233
|
+
/*! no static exports found */
|
|
26234
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26235
|
+
|
|
26236
|
+
"use strict";
|
|
26237
|
+
|
|
26238
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26239
|
+
exports.CompatiblePositionType = void 0;
|
|
26240
|
+
/**
|
|
26241
|
+
* Represent the type of a position
|
|
26242
|
+
*/
|
|
26243
|
+
var CompatiblePositionType;
|
|
26244
|
+
(function (CompatiblePositionType) {
|
|
26245
|
+
/**
|
|
26246
|
+
* At the beginning of a node
|
|
26247
|
+
*/
|
|
26248
|
+
CompatiblePositionType[CompatiblePositionType["Begin"] = 0] = "Begin";
|
|
26249
|
+
/**
|
|
26250
|
+
* At the end of a node
|
|
26251
|
+
*/
|
|
26252
|
+
CompatiblePositionType[CompatiblePositionType["End"] = -1] = "End";
|
|
26253
|
+
/**
|
|
26254
|
+
* Before a node
|
|
26255
|
+
*/
|
|
26256
|
+
CompatiblePositionType[CompatiblePositionType["Before"] = -2] = "Before";
|
|
26257
|
+
/**
|
|
26258
|
+
* After a node
|
|
26259
|
+
*/
|
|
26260
|
+
CompatiblePositionType[CompatiblePositionType["After"] = -3] = "After";
|
|
26261
|
+
})(CompatiblePositionType = exports.CompatiblePositionType || (exports.CompatiblePositionType = {}));
|
|
26262
|
+
|
|
26263
|
+
|
|
26264
|
+
/***/ }),
|
|
26265
|
+
|
|
26266
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/QueryScope.ts":
|
|
26267
|
+
/*!**************************************************************************!*\
|
|
26268
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/QueryScope.ts ***!
|
|
26269
|
+
\**************************************************************************/
|
|
26270
|
+
/*! no static exports found */
|
|
26271
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26272
|
+
|
|
26273
|
+
"use strict";
|
|
26274
|
+
|
|
26275
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26276
|
+
exports.CompatibleQueryScope = void 0;
|
|
26277
|
+
/**
|
|
26278
|
+
* Query scope for queryElements() API
|
|
26279
|
+
*/
|
|
26280
|
+
var CompatibleQueryScope;
|
|
26281
|
+
(function (CompatibleQueryScope) {
|
|
26282
|
+
/**
|
|
26283
|
+
* Query from the whole body of root node. This is default value.
|
|
26284
|
+
*/
|
|
26285
|
+
CompatibleQueryScope[CompatibleQueryScope["Body"] = 0] = "Body";
|
|
26286
|
+
/**
|
|
26287
|
+
* Query elements on a given selection (intersect)
|
|
26288
|
+
* The result element can contain the selection, contain part of selection, or inside selection
|
|
26289
|
+
*/
|
|
26290
|
+
CompatibleQueryScope[CompatibleQueryScope["OnSelection"] = 1] = "OnSelection";
|
|
26291
|
+
/**
|
|
26292
|
+
* Query elements inside a given selection only
|
|
26293
|
+
*/
|
|
26294
|
+
CompatibleQueryScope[CompatibleQueryScope["InSelection"] = 2] = "InSelection";
|
|
26295
|
+
})(CompatibleQueryScope = exports.CompatibleQueryScope || (exports.CompatibleQueryScope = {}));
|
|
26296
|
+
|
|
26297
|
+
|
|
26298
|
+
/***/ }),
|
|
26299
|
+
|
|
26300
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/RegionType.ts":
|
|
26301
|
+
/*!**************************************************************************!*\
|
|
26302
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/RegionType.ts ***!
|
|
26303
|
+
\**************************************************************************/
|
|
26304
|
+
/*! no static exports found */
|
|
26305
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26306
|
+
|
|
26307
|
+
"use strict";
|
|
26308
|
+
|
|
26309
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26310
|
+
exports.CompatibleRegionType = void 0;
|
|
26311
|
+
/**
|
|
26312
|
+
* Type of all possible regions. Currently we only support region of Table
|
|
26313
|
+
*/
|
|
26314
|
+
var CompatibleRegionType;
|
|
26315
|
+
(function (CompatibleRegionType) {
|
|
26316
|
+
/**
|
|
26317
|
+
* Region split by Table
|
|
26318
|
+
*/
|
|
26319
|
+
CompatibleRegionType[CompatibleRegionType["Table"] = 0] = "Table";
|
|
26320
|
+
})(CompatibleRegionType = exports.CompatibleRegionType || (exports.CompatibleRegionType = {}));
|
|
26321
|
+
|
|
26322
|
+
|
|
26323
|
+
/***/ }),
|
|
26324
|
+
|
|
26325
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/SelectionRangeTypes.ts":
|
|
26326
|
+
/*!***********************************************************************************!*\
|
|
26327
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/SelectionRangeTypes.ts ***!
|
|
26328
|
+
\***********************************************************************************/
|
|
26329
|
+
/*! no static exports found */
|
|
26330
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26331
|
+
|
|
26332
|
+
"use strict";
|
|
26333
|
+
|
|
26334
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26335
|
+
exports.CompatibleSelectionRangeTypes = void 0;
|
|
26336
|
+
/**
|
|
26337
|
+
* Types of Selection Ranges that the SelectionRangeEx can return
|
|
26338
|
+
*/
|
|
26339
|
+
var CompatibleSelectionRangeTypes;
|
|
26340
|
+
(function (CompatibleSelectionRangeTypes) {
|
|
26341
|
+
/**
|
|
26342
|
+
* Normal selection range provided by browser.
|
|
26343
|
+
*/
|
|
26344
|
+
CompatibleSelectionRangeTypes[CompatibleSelectionRangeTypes["Normal"] = 0] = "Normal";
|
|
26345
|
+
/**
|
|
26346
|
+
* Selection made inside of a single table.
|
|
26347
|
+
*/
|
|
26348
|
+
CompatibleSelectionRangeTypes[CompatibleSelectionRangeTypes["TableSelection"] = 1] = "TableSelection";
|
|
26349
|
+
})(CompatibleSelectionRangeTypes = exports.CompatibleSelectionRangeTypes || (exports.CompatibleSelectionRangeTypes = {}));
|
|
26350
|
+
|
|
26351
|
+
|
|
26352
|
+
/***/ }),
|
|
26353
|
+
|
|
26354
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/TableBorderFormat.ts":
|
|
26355
|
+
/*!*********************************************************************************!*\
|
|
26356
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/TableBorderFormat.ts ***!
|
|
26357
|
+
\*********************************************************************************/
|
|
26358
|
+
/*! no static exports found */
|
|
26359
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26360
|
+
|
|
26361
|
+
"use strict";
|
|
26362
|
+
|
|
26363
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26364
|
+
exports.CompatibleTableBorderFormat = void 0;
|
|
26365
|
+
/**
|
|
26366
|
+
* Table format border
|
|
26367
|
+
*/
|
|
26368
|
+
var CompatibleTableBorderFormat;
|
|
26369
|
+
(function (CompatibleTableBorderFormat) {
|
|
26370
|
+
/**
|
|
26371
|
+
* All border of the table are displayed
|
|
26372
|
+
* __ __ __
|
|
26373
|
+
* |__|__|__|
|
|
26374
|
+
* |__|__|__|
|
|
26375
|
+
* |__|__|__|
|
|
26376
|
+
*/
|
|
26377
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["DEFAULT"] = 0] = "DEFAULT";
|
|
26378
|
+
/**
|
|
26379
|
+
* Middle vertical border are not displayed
|
|
26380
|
+
* __ __ __
|
|
26381
|
+
* |__ __ __|
|
|
26382
|
+
* |__ __ __|
|
|
26383
|
+
* |__ __ __|
|
|
26384
|
+
*/
|
|
26385
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["LIST_WITH_SIDE_BORDERS"] = 1] = "LIST_WITH_SIDE_BORDERS";
|
|
26386
|
+
/**
|
|
26387
|
+
* All borders except header rows borders are displayed
|
|
26388
|
+
* __ __ __
|
|
26389
|
+
* __|__|__
|
|
26390
|
+
* __|__|__
|
|
26391
|
+
*/
|
|
26392
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["NO_HEADER_BORDERS"] = 2] = "NO_HEADER_BORDERS";
|
|
26393
|
+
/**
|
|
26394
|
+
* The left and right border of the table are not displayed
|
|
26395
|
+
* __ __ __
|
|
26396
|
+
* __|__|__
|
|
26397
|
+
* __|__|__
|
|
26398
|
+
* __|__|__
|
|
26399
|
+
*/
|
|
26400
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["NO_SIDE_BORDERS"] = 3] = "NO_SIDE_BORDERS";
|
|
26401
|
+
/**
|
|
26402
|
+
* Only the borders that divides the header row, first column and externals are displayed
|
|
26403
|
+
* __ __ __
|
|
26404
|
+
* |__ __ __|
|
|
26405
|
+
* | | |
|
|
26406
|
+
* |__|__ __|
|
|
26407
|
+
*/
|
|
26408
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["FIRST_COLUMN_HEADER_EXTERNAL"] = 4] = "FIRST_COLUMN_HEADER_EXTERNAL";
|
|
26409
|
+
/**
|
|
26410
|
+
* The header row has no vertical border, except for the first one
|
|
26411
|
+
* The first column has no horizontal border, except for the first one
|
|
26412
|
+
* __ __ __
|
|
26413
|
+
* |__ __ __
|
|
26414
|
+
* | |__|__|
|
|
26415
|
+
* | |__|__|
|
|
26416
|
+
*/
|
|
26417
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["ESPECIAL_TYPE_1"] = 5] = "ESPECIAL_TYPE_1";
|
|
26418
|
+
/**
|
|
26419
|
+
* The header row has no vertical border, except for the first one
|
|
26420
|
+
* The only horizontal border of the table is the top and bottom of header row
|
|
26421
|
+
* __ __ __
|
|
26422
|
+
* |__ __ __
|
|
26423
|
+
* | | |
|
|
26424
|
+
* | | |
|
|
26425
|
+
*/
|
|
26426
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["ESPECIAL_TYPE_2"] = 6] = "ESPECIAL_TYPE_2";
|
|
26427
|
+
/**
|
|
26428
|
+
* The only borders are the bottom of header row and the right border of first column
|
|
26429
|
+
* __ __ __
|
|
26430
|
+
* |
|
|
26431
|
+
* |
|
|
26432
|
+
*/
|
|
26433
|
+
CompatibleTableBorderFormat[CompatibleTableBorderFormat["ESPECIAL_TYPE_3"] = 7] = "ESPECIAL_TYPE_3";
|
|
26434
|
+
})(CompatibleTableBorderFormat = exports.CompatibleTableBorderFormat || (exports.CompatibleTableBorderFormat = {}));
|
|
26435
|
+
|
|
26436
|
+
|
|
26437
|
+
/***/ }),
|
|
26438
|
+
|
|
26439
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/TableOperation.ts":
|
|
26440
|
+
/*!******************************************************************************!*\
|
|
26441
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/TableOperation.ts ***!
|
|
26442
|
+
\******************************************************************************/
|
|
26443
|
+
/*! no static exports found */
|
|
26444
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26445
|
+
|
|
26446
|
+
"use strict";
|
|
26447
|
+
|
|
26448
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26449
|
+
exports.CompatibleTableOperation = void 0;
|
|
26450
|
+
/**
|
|
26451
|
+
* Operations used by editTable() API
|
|
26452
|
+
*/
|
|
26453
|
+
var CompatibleTableOperation;
|
|
26454
|
+
(function (CompatibleTableOperation) {
|
|
26455
|
+
/**
|
|
26456
|
+
* Insert a row above current row
|
|
26457
|
+
*/
|
|
26458
|
+
CompatibleTableOperation[CompatibleTableOperation["InsertAbove"] = 0] = "InsertAbove";
|
|
26459
|
+
/**
|
|
26460
|
+
* Insert a row below current row
|
|
26461
|
+
*/
|
|
26462
|
+
CompatibleTableOperation[CompatibleTableOperation["InsertBelow"] = 1] = "InsertBelow";
|
|
26463
|
+
/**
|
|
26464
|
+
* Insert a column on the left of current column
|
|
26465
|
+
*/
|
|
26466
|
+
CompatibleTableOperation[CompatibleTableOperation["InsertLeft"] = 2] = "InsertLeft";
|
|
26467
|
+
/**
|
|
26468
|
+
* Insert a column on the right of current column
|
|
26469
|
+
*/
|
|
26470
|
+
CompatibleTableOperation[CompatibleTableOperation["InsertRight"] = 3] = "InsertRight";
|
|
26471
|
+
/**
|
|
26472
|
+
* Delete the whole table
|
|
26473
|
+
*/
|
|
26474
|
+
CompatibleTableOperation[CompatibleTableOperation["DeleteTable"] = 4] = "DeleteTable";
|
|
26475
|
+
/**
|
|
26476
|
+
* Delete current column
|
|
26477
|
+
*/
|
|
26478
|
+
CompatibleTableOperation[CompatibleTableOperation["DeleteColumn"] = 5] = "DeleteColumn";
|
|
26479
|
+
/**
|
|
26480
|
+
* Delete current row
|
|
26481
|
+
*/
|
|
26482
|
+
CompatibleTableOperation[CompatibleTableOperation["DeleteRow"] = 6] = "DeleteRow";
|
|
26483
|
+
/**
|
|
26484
|
+
* Merge current row with the row above
|
|
26485
|
+
*/
|
|
26486
|
+
CompatibleTableOperation[CompatibleTableOperation["MergeAbove"] = 7] = "MergeAbove";
|
|
26487
|
+
/**
|
|
26488
|
+
* Merge current row with the row below
|
|
26489
|
+
*/
|
|
26490
|
+
CompatibleTableOperation[CompatibleTableOperation["MergeBelow"] = 8] = "MergeBelow";
|
|
26491
|
+
/**
|
|
26492
|
+
* Merge current column with the column on the left
|
|
26493
|
+
*/
|
|
26494
|
+
CompatibleTableOperation[CompatibleTableOperation["MergeLeft"] = 9] = "MergeLeft";
|
|
26495
|
+
/**
|
|
26496
|
+
* Merge current column with the column on the right
|
|
26497
|
+
*/
|
|
26498
|
+
CompatibleTableOperation[CompatibleTableOperation["MergeRight"] = 10] = "MergeRight";
|
|
26499
|
+
/**
|
|
26500
|
+
* Merge all selected cells
|
|
26501
|
+
*/
|
|
26502
|
+
CompatibleTableOperation[CompatibleTableOperation["MergeCells"] = 11] = "MergeCells";
|
|
26503
|
+
/**
|
|
26504
|
+
* Split current table cell horizontally
|
|
26505
|
+
*/
|
|
26506
|
+
CompatibleTableOperation[CompatibleTableOperation["SplitHorizontally"] = 12] = "SplitHorizontally";
|
|
26507
|
+
/**
|
|
26508
|
+
* Split current table cell vertically
|
|
26509
|
+
*/
|
|
26510
|
+
CompatibleTableOperation[CompatibleTableOperation["SplitVertically"] = 13] = "SplitVertically";
|
|
26511
|
+
/**
|
|
26512
|
+
* Align current table at the center
|
|
26513
|
+
*/
|
|
26514
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCenter"] = 14] = "AlignCenter";
|
|
26515
|
+
/**
|
|
26516
|
+
* Align current table at the left
|
|
26517
|
+
*/
|
|
26518
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignLeft"] = 15] = "AlignLeft";
|
|
26519
|
+
/**
|
|
26520
|
+
* Align current table at the right
|
|
26521
|
+
*/
|
|
26522
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignRight"] = 16] = "AlignRight";
|
|
26523
|
+
/**
|
|
26524
|
+
* Align current content table cell at the left
|
|
26525
|
+
*/
|
|
26526
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellLeft"] = 17] = "AlignCellLeft";
|
|
26527
|
+
/**
|
|
26528
|
+
* Align current content table cell at the center
|
|
26529
|
+
*/
|
|
26530
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellCenter"] = 18] = "AlignCellCenter";
|
|
26531
|
+
/**
|
|
26532
|
+
* Align current content table cell at the right
|
|
26533
|
+
*/
|
|
26534
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellRight"] = 19] = "AlignCellRight";
|
|
26535
|
+
/**
|
|
26536
|
+
* Align current content table cell at the top
|
|
26537
|
+
*/
|
|
26538
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellTop"] = 20] = "AlignCellTop";
|
|
26539
|
+
/**
|
|
26540
|
+
* Align current table cell at the middle
|
|
26541
|
+
*/
|
|
26542
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellMiddle"] = 21] = "AlignCellMiddle";
|
|
26543
|
+
/**
|
|
26544
|
+
* Align current table cell at the bottom
|
|
26545
|
+
*/
|
|
26546
|
+
CompatibleTableOperation[CompatibleTableOperation["AlignCellBottom"] = 22] = "AlignCellBottom";
|
|
26547
|
+
})(CompatibleTableOperation = exports.CompatibleTableOperation || (exports.CompatibleTableOperation = {}));
|
|
26548
|
+
|
|
26549
|
+
|
|
26550
|
+
/***/ }),
|
|
26551
|
+
|
|
26552
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleEnum/index.ts":
|
|
26553
|
+
/*!*********************************************************************!*\
|
|
26554
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleEnum/index.ts ***!
|
|
26555
|
+
\*********************************************************************/
|
|
26556
|
+
/*! no static exports found */
|
|
26557
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26558
|
+
|
|
26559
|
+
"use strict";
|
|
26560
|
+
|
|
26561
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26562
|
+
exports.CompatibleSelectionRangeTypes = exports.CompatiblePluginEventType = exports.CompatibleTableBorderFormat = exports.CompatibleKnownCreateElementDataIndex = exports.CompatibleClearFormatMode = exports.CompatibleImageEditOperation = exports.CompatibleTableOperation = exports.CompatibleRegionType = exports.CompatibleQueryScope = exports.CompatiblePositionType = exports.CompatibleListType = exports.CompatibleCapitalization = exports.CompatibleIndentation = exports.CompatibleGetContentMode = exports.CompatibleFontSizeChange = exports.CompatibleExperimentalFeatures = exports.CompatibleEntityOperation = exports.CompatibleEntityClasses = exports.CompatibleDirection = exports.CompatibleDarkModeDatasetNames = exports.CompatibleContentPosition = exports.CompatibleColorTransformDirection = exports.CompatibleChangeSource = exports.CompatibleAlignment = exports.CompatibleContentType = exports.CompatibleContentTypePrefix = exports.CompatibleNodeType = exports.CompatibleKeys = exports.CompatibleDocumentPosition = exports.CompatibleDocumentCommand = void 0;
|
|
26563
|
+
var DocumentCommand_1 = __webpack_require__(/*! ./DocumentCommand */ "./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentCommand.ts");
|
|
26564
|
+
Object.defineProperty(exports, "CompatibleDocumentCommand", { enumerable: true, get: function () { return DocumentCommand_1.CompatibleDocumentCommand; } });
|
|
26565
|
+
var DocumentPosition_1 = __webpack_require__(/*! ./DocumentPosition */ "./packages/roosterjs-editor-types/lib/compatibleEnum/DocumentPosition.ts");
|
|
26566
|
+
Object.defineProperty(exports, "CompatibleDocumentPosition", { enumerable: true, get: function () { return DocumentPosition_1.CompatibleDocumentPosition; } });
|
|
26567
|
+
var Keys_1 = __webpack_require__(/*! ./Keys */ "./packages/roosterjs-editor-types/lib/compatibleEnum/Keys.ts");
|
|
26568
|
+
Object.defineProperty(exports, "CompatibleKeys", { enumerable: true, get: function () { return Keys_1.CompatibleKeys; } });
|
|
26569
|
+
var NodeType_1 = __webpack_require__(/*! ./NodeType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/NodeType.ts");
|
|
26570
|
+
Object.defineProperty(exports, "CompatibleNodeType", { enumerable: true, get: function () { return NodeType_1.CompatibleNodeType; } });
|
|
26571
|
+
var ContentType_1 = __webpack_require__(/*! ./ContentType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ContentType.ts");
|
|
26572
|
+
Object.defineProperty(exports, "CompatibleContentTypePrefix", { enumerable: true, get: function () { return ContentType_1.CompatibleContentTypePrefix; } });
|
|
26573
|
+
Object.defineProperty(exports, "CompatibleContentType", { enumerable: true, get: function () { return ContentType_1.CompatibleContentType; } });
|
|
26574
|
+
var Alignment_1 = __webpack_require__(/*! ./Alignment */ "./packages/roosterjs-editor-types/lib/compatibleEnum/Alignment.ts");
|
|
26575
|
+
Object.defineProperty(exports, "CompatibleAlignment", { enumerable: true, get: function () { return Alignment_1.CompatibleAlignment; } });
|
|
26576
|
+
var ChangeSource_1 = __webpack_require__(/*! ./ChangeSource */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ChangeSource.ts");
|
|
26577
|
+
Object.defineProperty(exports, "CompatibleChangeSource", { enumerable: true, get: function () { return ChangeSource_1.CompatibleChangeSource; } });
|
|
26578
|
+
var ColorTransformDirection_1 = __webpack_require__(/*! ./ColorTransformDirection */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ColorTransformDirection.ts");
|
|
26579
|
+
Object.defineProperty(exports, "CompatibleColorTransformDirection", { enumerable: true, get: function () { return ColorTransformDirection_1.CompatibleColorTransformDirection; } });
|
|
26580
|
+
var ContentPosition_1 = __webpack_require__(/*! ./ContentPosition */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ContentPosition.ts");
|
|
26581
|
+
Object.defineProperty(exports, "CompatibleContentPosition", { enumerable: true, get: function () { return ContentPosition_1.CompatibleContentPosition; } });
|
|
26582
|
+
var DarkModeDatasetNames_1 = __webpack_require__(/*! ./DarkModeDatasetNames */ "./packages/roosterjs-editor-types/lib/compatibleEnum/DarkModeDatasetNames.ts");
|
|
26583
|
+
Object.defineProperty(exports, "CompatibleDarkModeDatasetNames", { enumerable: true, get: function () { return DarkModeDatasetNames_1.CompatibleDarkModeDatasetNames; } });
|
|
26584
|
+
var Direction_1 = __webpack_require__(/*! ./Direction */ "./packages/roosterjs-editor-types/lib/compatibleEnum/Direction.ts");
|
|
26585
|
+
Object.defineProperty(exports, "CompatibleDirection", { enumerable: true, get: function () { return Direction_1.CompatibleDirection; } });
|
|
26586
|
+
var EntityClasses_1 = __webpack_require__(/*! ./EntityClasses */ "./packages/roosterjs-editor-types/lib/compatibleEnum/EntityClasses.ts");
|
|
26587
|
+
Object.defineProperty(exports, "CompatibleEntityClasses", { enumerable: true, get: function () { return EntityClasses_1.CompatibleEntityClasses; } });
|
|
26588
|
+
var EntityOperation_1 = __webpack_require__(/*! ./EntityOperation */ "./packages/roosterjs-editor-types/lib/compatibleEnum/EntityOperation.ts");
|
|
26589
|
+
Object.defineProperty(exports, "CompatibleEntityOperation", { enumerable: true, get: function () { return EntityOperation_1.CompatibleEntityOperation; } });
|
|
26590
|
+
var ExperimentalFeatures_1 = __webpack_require__(/*! ./ExperimentalFeatures */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ExperimentalFeatures.ts");
|
|
26591
|
+
Object.defineProperty(exports, "CompatibleExperimentalFeatures", { enumerable: true, get: function () { return ExperimentalFeatures_1.CompatibleExperimentalFeatures; } });
|
|
26592
|
+
var FontSizeChange_1 = __webpack_require__(/*! ./FontSizeChange */ "./packages/roosterjs-editor-types/lib/compatibleEnum/FontSizeChange.ts");
|
|
26593
|
+
Object.defineProperty(exports, "CompatibleFontSizeChange", { enumerable: true, get: function () { return FontSizeChange_1.CompatibleFontSizeChange; } });
|
|
26594
|
+
var GetContentMode_1 = __webpack_require__(/*! ./GetContentMode */ "./packages/roosterjs-editor-types/lib/compatibleEnum/GetContentMode.ts");
|
|
26595
|
+
Object.defineProperty(exports, "CompatibleGetContentMode", { enumerable: true, get: function () { return GetContentMode_1.CompatibleGetContentMode; } });
|
|
26596
|
+
var Indentation_1 = __webpack_require__(/*! ./Indentation */ "./packages/roosterjs-editor-types/lib/compatibleEnum/Indentation.ts");
|
|
26597
|
+
Object.defineProperty(exports, "CompatibleIndentation", { enumerable: true, get: function () { return Indentation_1.CompatibleIndentation; } });
|
|
26598
|
+
var Capitalization_1 = __webpack_require__(/*! ./Capitalization */ "./packages/roosterjs-editor-types/lib/compatibleEnum/Capitalization.ts");
|
|
26599
|
+
Object.defineProperty(exports, "CompatibleCapitalization", { enumerable: true, get: function () { return Capitalization_1.CompatibleCapitalization; } });
|
|
26600
|
+
var ListType_1 = __webpack_require__(/*! ./ListType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ListType.ts");
|
|
26601
|
+
Object.defineProperty(exports, "CompatibleListType", { enumerable: true, get: function () { return ListType_1.CompatibleListType; } });
|
|
26602
|
+
var PositionType_1 = __webpack_require__(/*! ./PositionType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/PositionType.ts");
|
|
26603
|
+
Object.defineProperty(exports, "CompatiblePositionType", { enumerable: true, get: function () { return PositionType_1.CompatiblePositionType; } });
|
|
26604
|
+
var QueryScope_1 = __webpack_require__(/*! ./QueryScope */ "./packages/roosterjs-editor-types/lib/compatibleEnum/QueryScope.ts");
|
|
26605
|
+
Object.defineProperty(exports, "CompatibleQueryScope", { enumerable: true, get: function () { return QueryScope_1.CompatibleQueryScope; } });
|
|
26606
|
+
var RegionType_1 = __webpack_require__(/*! ./RegionType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/RegionType.ts");
|
|
26607
|
+
Object.defineProperty(exports, "CompatibleRegionType", { enumerable: true, get: function () { return RegionType_1.CompatibleRegionType; } });
|
|
26608
|
+
var TableOperation_1 = __webpack_require__(/*! ./TableOperation */ "./packages/roosterjs-editor-types/lib/compatibleEnum/TableOperation.ts");
|
|
26609
|
+
Object.defineProperty(exports, "CompatibleTableOperation", { enumerable: true, get: function () { return TableOperation_1.CompatibleTableOperation; } });
|
|
26610
|
+
var ImageEditOperation_1 = __webpack_require__(/*! ./ImageEditOperation */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ImageEditOperation.ts");
|
|
26611
|
+
Object.defineProperty(exports, "CompatibleImageEditOperation", { enumerable: true, get: function () { return ImageEditOperation_1.CompatibleImageEditOperation; } });
|
|
26612
|
+
var ClearFormatMode_1 = __webpack_require__(/*! ./ClearFormatMode */ "./packages/roosterjs-editor-types/lib/compatibleEnum/ClearFormatMode.ts");
|
|
26613
|
+
Object.defineProperty(exports, "CompatibleClearFormatMode", { enumerable: true, get: function () { return ClearFormatMode_1.CompatibleClearFormatMode; } });
|
|
26614
|
+
var KnownCreateElementDataIndex_1 = __webpack_require__(/*! ./KnownCreateElementDataIndex */ "./packages/roosterjs-editor-types/lib/compatibleEnum/KnownCreateElementDataIndex.ts");
|
|
26615
|
+
Object.defineProperty(exports, "CompatibleKnownCreateElementDataIndex", { enumerable: true, get: function () { return KnownCreateElementDataIndex_1.CompatibleKnownCreateElementDataIndex; } });
|
|
26616
|
+
var TableBorderFormat_1 = __webpack_require__(/*! ./TableBorderFormat */ "./packages/roosterjs-editor-types/lib/compatibleEnum/TableBorderFormat.ts");
|
|
26617
|
+
Object.defineProperty(exports, "CompatibleTableBorderFormat", { enumerable: true, get: function () { return TableBorderFormat_1.CompatibleTableBorderFormat; } });
|
|
26618
|
+
var PluginEventType_1 = __webpack_require__(/*! ./PluginEventType */ "./packages/roosterjs-editor-types/lib/compatibleEnum/PluginEventType.ts");
|
|
26619
|
+
Object.defineProperty(exports, "CompatiblePluginEventType", { enumerable: true, get: function () { return PluginEventType_1.CompatiblePluginEventType; } });
|
|
26620
|
+
var SelectionRangeTypes_1 = __webpack_require__(/*! ./SelectionRangeTypes */ "./packages/roosterjs-editor-types/lib/compatibleEnum/SelectionRangeTypes.ts");
|
|
26621
|
+
Object.defineProperty(exports, "CompatibleSelectionRangeTypes", { enumerable: true, get: function () { return SelectionRangeTypes_1.CompatibleSelectionRangeTypes; } });
|
|
26622
|
+
|
|
26623
|
+
|
|
26624
|
+
/***/ }),
|
|
26625
|
+
|
|
26626
|
+
/***/ "./packages/roosterjs-editor-types/lib/compatibleTypes.ts":
|
|
26627
|
+
/*!****************************************************************!*\
|
|
26628
|
+
!*** ./packages/roosterjs-editor-types/lib/compatibleTypes.ts ***!
|
|
26629
|
+
\****************************************************************/
|
|
26630
|
+
/*! no static exports found */
|
|
26631
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26632
|
+
|
|
26633
|
+
"use strict";
|
|
26634
|
+
|
|
26635
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
26636
|
+
if (k2 === undefined) k2 = k;
|
|
26637
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
26638
|
+
}) : (function(o, m, k, k2) {
|
|
26639
|
+
if (k2 === undefined) k2 = k;
|
|
26640
|
+
o[k2] = m[k];
|
|
26641
|
+
}));
|
|
26642
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26643
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26644
|
+
};
|
|
26645
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26646
|
+
__exportStar(__webpack_require__(/*! ./browser/index */ "./packages/roosterjs-editor-types/lib/browser/index.ts"), exports);
|
|
26647
|
+
__exportStar(__webpack_require__(/*! ./corePluginState/index */ "./packages/roosterjs-editor-types/lib/corePluginState/index.ts"), exports);
|
|
26648
|
+
__exportStar(__webpack_require__(/*! ./compatibleEnum/index */ "./packages/roosterjs-editor-types/lib/compatibleEnum/index.ts"), exports);
|
|
26649
|
+
__exportStar(__webpack_require__(/*! ./event/index */ "./packages/roosterjs-editor-types/lib/event/index.ts"), exports);
|
|
26650
|
+
__exportStar(__webpack_require__(/*! ./interface/index */ "./packages/roosterjs-editor-types/lib/interface/index.ts"), exports);
|
|
26651
|
+
__exportStar(__webpack_require__(/*! ./type/index */ "./packages/roosterjs-editor-types/lib/type/index.ts"), exports);
|
|
26652
|
+
|
|
26653
|
+
|
|
24883
26654
|
/***/ }),
|
|
24884
26655
|
|
|
24885
26656
|
/***/ "./packages/roosterjs-editor-types/lib/corePluginState/index.ts":
|
|
@@ -25049,6 +26820,7 @@ exports.createEditor = void 0;
|
|
|
25049
26820
|
var createEditor_1 = __webpack_require__(/*! ./createEditor */ "./packages/roosterjs/lib/createEditor.ts");
|
|
25050
26821
|
Object.defineProperty(exports, "createEditor", { enumerable: true, get: function () { return createEditor_1.default; } });
|
|
25051
26822
|
__exportStar(__webpack_require__(/*! roosterjs-editor-types */ "./packages/roosterjs-editor-types/lib/index.ts"), exports);
|
|
26823
|
+
__exportStar(__webpack_require__(/*! roosterjs-compatible-types */ "./packages/roosterjs-compatible-types/lib/index.ts"), exports);
|
|
25052
26824
|
__exportStar(__webpack_require__(/*! roosterjs-editor-dom */ "./packages/roosterjs-editor-dom/lib/index.ts"), exports);
|
|
25053
26825
|
__exportStar(__webpack_require__(/*! roosterjs-editor-core */ "./packages/roosterjs-editor-core/lib/index.ts"), exports);
|
|
25054
26826
|
__exportStar(__webpack_require__(/*! roosterjs-editor-api */ "./packages/roosterjs-editor-api/lib/index.ts"), exports);
|