@adminforth/rich-editor 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1018) hide show
  1. package/ChangeLog.md +6 -0
  2. package/custom/node_modules/.package-lock.json +66 -0
  3. package/custom/node_modules/eventemitter3/LICENSE +21 -0
  4. package/custom/node_modules/eventemitter3/README.md +94 -0
  5. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
  6. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
  7. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
  8. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
  9. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
  10. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
  11. package/custom/node_modules/eventemitter3/index.d.ts +135 -0
  12. package/custom/node_modules/eventemitter3/index.js +336 -0
  13. package/custom/node_modules/eventemitter3/index.mjs +4 -0
  14. package/custom/node_modules/eventemitter3/package.json +67 -0
  15. package/custom/node_modules/fast-diff/LICENSE +201 -0
  16. package/custom/node_modules/fast-diff/README.md +24 -0
  17. package/custom/node_modules/fast-diff/diff.d.ts +21 -0
  18. package/custom/node_modules/fast-diff/diff.js +1138 -0
  19. package/custom/node_modules/fast-diff/package.json +30 -0
  20. package/custom/node_modules/lodash-es/LICENSE +47 -0
  21. package/custom/node_modules/lodash-es/README.md +10 -0
  22. package/custom/node_modules/lodash-es/_DataView.js +7 -0
  23. package/custom/node_modules/lodash-es/_Hash.js +32 -0
  24. package/custom/node_modules/lodash-es/_LazyWrapper.js +28 -0
  25. package/custom/node_modules/lodash-es/_ListCache.js +32 -0
  26. package/custom/node_modules/lodash-es/_LodashWrapper.js +22 -0
  27. package/custom/node_modules/lodash-es/_Map.js +7 -0
  28. package/custom/node_modules/lodash-es/_MapCache.js +32 -0
  29. package/custom/node_modules/lodash-es/_Promise.js +7 -0
  30. package/custom/node_modules/lodash-es/_Set.js +7 -0
  31. package/custom/node_modules/lodash-es/_SetCache.js +27 -0
  32. package/custom/node_modules/lodash-es/_Stack.js +27 -0
  33. package/custom/node_modules/lodash-es/_Symbol.js +6 -0
  34. package/custom/node_modules/lodash-es/_Uint8Array.js +6 -0
  35. package/custom/node_modules/lodash-es/_WeakMap.js +7 -0
  36. package/custom/node_modules/lodash-es/_addMapEntry.js +15 -0
  37. package/custom/node_modules/lodash-es/_addSetEntry.js +15 -0
  38. package/custom/node_modules/lodash-es/_apply.js +21 -0
  39. package/custom/node_modules/lodash-es/_arrayAggregator.js +22 -0
  40. package/custom/node_modules/lodash-es/_arrayEach.js +22 -0
  41. package/custom/node_modules/lodash-es/_arrayEachRight.js +21 -0
  42. package/custom/node_modules/lodash-es/_arrayEvery.js +23 -0
  43. package/custom/node_modules/lodash-es/_arrayFilter.js +25 -0
  44. package/custom/node_modules/lodash-es/_arrayIncludes.js +17 -0
  45. package/custom/node_modules/lodash-es/_arrayIncludesWith.js +22 -0
  46. package/custom/node_modules/lodash-es/_arrayLikeKeys.js +49 -0
  47. package/custom/node_modules/lodash-es/_arrayMap.js +21 -0
  48. package/custom/node_modules/lodash-es/_arrayPush.js +20 -0
  49. package/custom/node_modules/lodash-es/_arrayReduce.js +26 -0
  50. package/custom/node_modules/lodash-es/_arrayReduceRight.js +24 -0
  51. package/custom/node_modules/lodash-es/_arraySample.js +15 -0
  52. package/custom/node_modules/lodash-es/_arraySampleSize.js +17 -0
  53. package/custom/node_modules/lodash-es/_arrayShuffle.js +15 -0
  54. package/custom/node_modules/lodash-es/_arraySome.js +23 -0
  55. package/custom/node_modules/lodash-es/_asciiSize.js +12 -0
  56. package/custom/node_modules/lodash-es/_asciiToArray.js +12 -0
  57. package/custom/node_modules/lodash-es/_asciiWords.js +15 -0
  58. package/custom/node_modules/lodash-es/_assignMergeValue.js +20 -0
  59. package/custom/node_modules/lodash-es/_assignValue.js +28 -0
  60. package/custom/node_modules/lodash-es/_assocIndexOf.js +21 -0
  61. package/custom/node_modules/lodash-es/_baseAggregator.js +21 -0
  62. package/custom/node_modules/lodash-es/_baseAssign.js +17 -0
  63. package/custom/node_modules/lodash-es/_baseAssignIn.js +17 -0
  64. package/custom/node_modules/lodash-es/_baseAssignValue.js +25 -0
  65. package/custom/node_modules/lodash-es/_baseAt.js +23 -0
  66. package/custom/node_modules/lodash-es/_baseClamp.js +22 -0
  67. package/custom/node_modules/lodash-es/_baseClone.js +166 -0
  68. package/custom/node_modules/lodash-es/_baseConforms.js +18 -0
  69. package/custom/node_modules/lodash-es/_baseConformsTo.js +27 -0
  70. package/custom/node_modules/lodash-es/_baseCreate.js +30 -0
  71. package/custom/node_modules/lodash-es/_baseDelay.js +21 -0
  72. package/custom/node_modules/lodash-es/_baseDifference.js +67 -0
  73. package/custom/node_modules/lodash-es/_baseEach.js +14 -0
  74. package/custom/node_modules/lodash-es/_baseEachRight.js +14 -0
  75. package/custom/node_modules/lodash-es/_baseEvery.js +21 -0
  76. package/custom/node_modules/lodash-es/_baseExtremum.js +32 -0
  77. package/custom/node_modules/lodash-es/_baseFill.js +32 -0
  78. package/custom/node_modules/lodash-es/_baseFilter.js +21 -0
  79. package/custom/node_modules/lodash-es/_baseFindIndex.js +24 -0
  80. package/custom/node_modules/lodash-es/_baseFindKey.js +23 -0
  81. package/custom/node_modules/lodash-es/_baseFlatten.js +38 -0
  82. package/custom/node_modules/lodash-es/_baseFor.js +16 -0
  83. package/custom/node_modules/lodash-es/_baseForOwn.js +16 -0
  84. package/custom/node_modules/lodash-es/_baseForOwnRight.js +16 -0
  85. package/custom/node_modules/lodash-es/_baseForRight.js +15 -0
  86. package/custom/node_modules/lodash-es/_baseFunctions.js +19 -0
  87. package/custom/node_modules/lodash-es/_baseGet.js +24 -0
  88. package/custom/node_modules/lodash-es/_baseGetAllKeys.js +20 -0
  89. package/custom/node_modules/lodash-es/_baseGetTag.js +28 -0
  90. package/custom/node_modules/lodash-es/_baseGt.js +14 -0
  91. package/custom/node_modules/lodash-es/_baseHas.js +19 -0
  92. package/custom/node_modules/lodash-es/_baseHasIn.js +13 -0
  93. package/custom/node_modules/lodash-es/_baseInRange.js +18 -0
  94. package/custom/node_modules/lodash-es/_baseIndexOf.js +20 -0
  95. package/custom/node_modules/lodash-es/_baseIndexOfWith.js +23 -0
  96. package/custom/node_modules/lodash-es/_baseIntersection.js +74 -0
  97. package/custom/node_modules/lodash-es/_baseInverter.js +21 -0
  98. package/custom/node_modules/lodash-es/_baseInvoke.js +24 -0
  99. package/custom/node_modules/lodash-es/_baseIsArguments.js +18 -0
  100. package/custom/node_modules/lodash-es/_baseIsArrayBuffer.js +17 -0
  101. package/custom/node_modules/lodash-es/_baseIsDate.js +18 -0
  102. package/custom/node_modules/lodash-es/_baseIsEqual.js +28 -0
  103. package/custom/node_modules/lodash-es/_baseIsEqualDeep.js +83 -0
  104. package/custom/node_modules/lodash-es/_baseIsMap.js +18 -0
  105. package/custom/node_modules/lodash-es/_baseIsMatch.js +62 -0
  106. package/custom/node_modules/lodash-es/_baseIsNaN.js +12 -0
  107. package/custom/node_modules/lodash-es/_baseIsNative.js +47 -0
  108. package/custom/node_modules/lodash-es/_baseIsRegExp.js +18 -0
  109. package/custom/node_modules/lodash-es/_baseIsSet.js +18 -0
  110. package/custom/node_modules/lodash-es/_baseIsTypedArray.js +60 -0
  111. package/custom/node_modules/lodash-es/_baseIteratee.js +31 -0
  112. package/custom/node_modules/lodash-es/_baseKeys.js +30 -0
  113. package/custom/node_modules/lodash-es/_baseKeysIn.js +33 -0
  114. package/custom/node_modules/lodash-es/_baseLodash.js +10 -0
  115. package/custom/node_modules/lodash-es/_baseLt.js +14 -0
  116. package/custom/node_modules/lodash-es/_baseMap.js +22 -0
  117. package/custom/node_modules/lodash-es/_baseMatches.js +22 -0
  118. package/custom/node_modules/lodash-es/_baseMatchesProperty.js +33 -0
  119. package/custom/node_modules/lodash-es/_baseMean.js +20 -0
  120. package/custom/node_modules/lodash-es/_baseMerge.js +42 -0
  121. package/custom/node_modules/lodash-es/_baseMergeDeep.js +94 -0
  122. package/custom/node_modules/lodash-es/_baseNth.js +20 -0
  123. package/custom/node_modules/lodash-es/_baseOrderBy.js +49 -0
  124. package/custom/node_modules/lodash-es/_basePick.js +19 -0
  125. package/custom/node_modules/lodash-es/_basePickBy.js +30 -0
  126. package/custom/node_modules/lodash-es/_baseProperty.js +14 -0
  127. package/custom/node_modules/lodash-es/_basePropertyDeep.js +16 -0
  128. package/custom/node_modules/lodash-es/_basePropertyOf.js +14 -0
  129. package/custom/node_modules/lodash-es/_basePullAll.js +51 -0
  130. package/custom/node_modules/lodash-es/_basePullAt.js +37 -0
  131. package/custom/node_modules/lodash-es/_baseRandom.js +18 -0
  132. package/custom/node_modules/lodash-es/_baseRange.js +28 -0
  133. package/custom/node_modules/lodash-es/_baseReduce.js +23 -0
  134. package/custom/node_modules/lodash-es/_baseRepeat.js +35 -0
  135. package/custom/node_modules/lodash-es/_baseRest.js +17 -0
  136. package/custom/node_modules/lodash-es/_baseSample.js +15 -0
  137. package/custom/node_modules/lodash-es/_baseSampleSize.js +18 -0
  138. package/custom/node_modules/lodash-es/_baseSet.js +51 -0
  139. package/custom/node_modules/lodash-es/_baseSetData.js +17 -0
  140. package/custom/node_modules/lodash-es/_baseSetToString.js +22 -0
  141. package/custom/node_modules/lodash-es/_baseShuffle.js +15 -0
  142. package/custom/node_modules/lodash-es/_baseSlice.js +31 -0
  143. package/custom/node_modules/lodash-es/_baseSome.js +22 -0
  144. package/custom/node_modules/lodash-es/_baseSortBy.js +21 -0
  145. package/custom/node_modules/lodash-es/_baseSortedIndex.js +42 -0
  146. package/custom/node_modules/lodash-es/_baseSortedIndexBy.js +67 -0
  147. package/custom/node_modules/lodash-es/_baseSortedUniq.js +30 -0
  148. package/custom/node_modules/lodash-es/_baseSum.js +24 -0
  149. package/custom/node_modules/lodash-es/_baseTimes.js +20 -0
  150. package/custom/node_modules/lodash-es/_baseToNumber.js +24 -0
  151. package/custom/node_modules/lodash-es/_baseToPairs.js +18 -0
  152. package/custom/node_modules/lodash-es/_baseToString.js +37 -0
  153. package/custom/node_modules/lodash-es/_baseTrim.js +19 -0
  154. package/custom/node_modules/lodash-es/_baseUnary.js +14 -0
  155. package/custom/node_modules/lodash-es/_baseUniq.js +72 -0
  156. package/custom/node_modules/lodash-es/_baseUnset.js +20 -0
  157. package/custom/node_modules/lodash-es/_baseUpdate.js +18 -0
  158. package/custom/node_modules/lodash-es/_baseValues.js +19 -0
  159. package/custom/node_modules/lodash-es/_baseWhile.js +26 -0
  160. package/custom/node_modules/lodash-es/_baseWrapperValue.js +25 -0
  161. package/custom/node_modules/lodash-es/_baseXor.js +36 -0
  162. package/custom/node_modules/lodash-es/_baseZipObject.js +23 -0
  163. package/custom/node_modules/lodash-es/_cacheHas.js +13 -0
  164. package/custom/node_modules/lodash-es/_castArrayLikeObject.js +14 -0
  165. package/custom/node_modules/lodash-es/_castFunction.js +14 -0
  166. package/custom/node_modules/lodash-es/_castPath.js +21 -0
  167. package/custom/node_modules/lodash-es/_castRest.js +14 -0
  168. package/custom/node_modules/lodash-es/_castSlice.js +18 -0
  169. package/custom/node_modules/lodash-es/_charsEndIndex.js +19 -0
  170. package/custom/node_modules/lodash-es/_charsStartIndex.js +20 -0
  171. package/custom/node_modules/lodash-es/_cloneArrayBuffer.js +16 -0
  172. package/custom/node_modules/lodash-es/_cloneBuffer.js +35 -0
  173. package/custom/node_modules/lodash-es/_cloneDataView.js +16 -0
  174. package/custom/node_modules/lodash-es/_cloneMap.js +22 -0
  175. package/custom/node_modules/lodash-es/_cloneRegExp.js +17 -0
  176. package/custom/node_modules/lodash-es/_cloneSet.js +22 -0
  177. package/custom/node_modules/lodash-es/_cloneSymbol.js +18 -0
  178. package/custom/node_modules/lodash-es/_cloneTypedArray.js +16 -0
  179. package/custom/node_modules/lodash-es/_compareAscending.js +41 -0
  180. package/custom/node_modules/lodash-es/_compareMultiple.js +44 -0
  181. package/custom/node_modules/lodash-es/_composeArgs.js +39 -0
  182. package/custom/node_modules/lodash-es/_composeArgsRight.js +41 -0
  183. package/custom/node_modules/lodash-es/_copyArray.js +20 -0
  184. package/custom/node_modules/lodash-es/_copyObject.js +40 -0
  185. package/custom/node_modules/lodash-es/_copySymbols.js +16 -0
  186. package/custom/node_modules/lodash-es/_copySymbolsIn.js +16 -0
  187. package/custom/node_modules/lodash-es/_coreJsData.js +6 -0
  188. package/custom/node_modules/lodash-es/_countHolders.js +21 -0
  189. package/custom/node_modules/lodash-es/_createAggregator.js +23 -0
  190. package/custom/node_modules/lodash-es/_createAssigner.js +37 -0
  191. package/custom/node_modules/lodash-es/_createBaseEach.js +32 -0
  192. package/custom/node_modules/lodash-es/_createBaseFor.js +25 -0
  193. package/custom/node_modules/lodash-es/_createBind.js +28 -0
  194. package/custom/node_modules/lodash-es/_createCaseFirst.js +33 -0
  195. package/custom/node_modules/lodash-es/_createCompounder.js +24 -0
  196. package/custom/node_modules/lodash-es/_createCtor.js +37 -0
  197. package/custom/node_modules/lodash-es/_createCurry.js +46 -0
  198. package/custom/node_modules/lodash-es/_createFind.js +25 -0
  199. package/custom/node_modules/lodash-es/_createFlow.js +78 -0
  200. package/custom/node_modules/lodash-es/_createHybrid.js +92 -0
  201. package/custom/node_modules/lodash-es/_createInverter.js +17 -0
  202. package/custom/node_modules/lodash-es/_createMathOperation.js +38 -0
  203. package/custom/node_modules/lodash-es/_createOver.js +27 -0
  204. package/custom/node_modules/lodash-es/_createPadding.js +33 -0
  205. package/custom/node_modules/lodash-es/_createPartial.js +43 -0
  206. package/custom/node_modules/lodash-es/_createRange.js +30 -0
  207. package/custom/node_modules/lodash-es/_createRecurry.js +56 -0
  208. package/custom/node_modules/lodash-es/_createRelationalOperation.js +20 -0
  209. package/custom/node_modules/lodash-es/_createRound.js +35 -0
  210. package/custom/node_modules/lodash-es/_createSet.js +19 -0
  211. package/custom/node_modules/lodash-es/_createToPairs.js +30 -0
  212. package/custom/node_modules/lodash-es/_createWrap.js +106 -0
  213. package/custom/node_modules/lodash-es/_customDefaultsAssignIn.js +29 -0
  214. package/custom/node_modules/lodash-es/_customDefaultsMerge.js +28 -0
  215. package/custom/node_modules/lodash-es/_customOmitClone.js +16 -0
  216. package/custom/node_modules/lodash-es/_deburrLetter.js +71 -0
  217. package/custom/node_modules/lodash-es/_defineProperty.js +11 -0
  218. package/custom/node_modules/lodash-es/_equalArrays.js +84 -0
  219. package/custom/node_modules/lodash-es/_equalByTag.js +112 -0
  220. package/custom/node_modules/lodash-es/_equalObjects.js +90 -0
  221. package/custom/node_modules/lodash-es/_escapeHtmlChar.js +21 -0
  222. package/custom/node_modules/lodash-es/_escapeStringChar.js +22 -0
  223. package/custom/node_modules/lodash-es/_flatRest.js +16 -0
  224. package/custom/node_modules/lodash-es/_freeGlobal.js +4 -0
  225. package/custom/node_modules/lodash-es/_getAllKeys.js +16 -0
  226. package/custom/node_modules/lodash-es/_getAllKeysIn.js +17 -0
  227. package/custom/node_modules/lodash-es/_getData.js +15 -0
  228. package/custom/node_modules/lodash-es/_getFuncName.js +31 -0
  229. package/custom/node_modules/lodash-es/_getHolder.js +13 -0
  230. package/custom/node_modules/lodash-es/_getMapData.js +18 -0
  231. package/custom/node_modules/lodash-es/_getMatchData.js +24 -0
  232. package/custom/node_modules/lodash-es/_getNative.js +17 -0
  233. package/custom/node_modules/lodash-es/_getPrototype.js +6 -0
  234. package/custom/node_modules/lodash-es/_getRawTag.js +46 -0
  235. package/custom/node_modules/lodash-es/_getSymbols.js +30 -0
  236. package/custom/node_modules/lodash-es/_getSymbolsIn.js +25 -0
  237. package/custom/node_modules/lodash-es/_getTag.js +58 -0
  238. package/custom/node_modules/lodash-es/_getValue.js +13 -0
  239. package/custom/node_modules/lodash-es/_getView.js +33 -0
  240. package/custom/node_modules/lodash-es/_getWrapDetails.js +17 -0
  241. package/custom/node_modules/lodash-es/_hasPath.js +39 -0
  242. package/custom/node_modules/lodash-es/_hasUnicode.js +26 -0
  243. package/custom/node_modules/lodash-es/_hasUnicodeWord.js +15 -0
  244. package/custom/node_modules/lodash-es/_hashClear.js +15 -0
  245. package/custom/node_modules/lodash-es/_hashDelete.js +17 -0
  246. package/custom/node_modules/lodash-es/_hashGet.js +30 -0
  247. package/custom/node_modules/lodash-es/_hashHas.js +23 -0
  248. package/custom/node_modules/lodash-es/_hashSet.js +23 -0
  249. package/custom/node_modules/lodash-es/_initCloneArray.js +26 -0
  250. package/custom/node_modules/lodash-es/_initCloneByTag.js +77 -0
  251. package/custom/node_modules/lodash-es/_initCloneObject.js +18 -0
  252. package/custom/node_modules/lodash-es/_insertWrapDetails.js +23 -0
  253. package/custom/node_modules/lodash-es/_isFlattenable.js +20 -0
  254. package/custom/node_modules/lodash-es/_isIndex.js +25 -0
  255. package/custom/node_modules/lodash-es/_isIterateeCall.js +30 -0
  256. package/custom/node_modules/lodash-es/_isKey.js +29 -0
  257. package/custom/node_modules/lodash-es/_isKeyable.js +15 -0
  258. package/custom/node_modules/lodash-es/_isLaziable.js +28 -0
  259. package/custom/node_modules/lodash-es/_isMaskable.js +14 -0
  260. package/custom/node_modules/lodash-es/_isMasked.js +20 -0
  261. package/custom/node_modules/lodash-es/_isPrototype.js +18 -0
  262. package/custom/node_modules/lodash-es/_isStrictComparable.js +15 -0
  263. package/custom/node_modules/lodash-es/_iteratorToArray.js +18 -0
  264. package/custom/node_modules/lodash-es/_lazyClone.js +23 -0
  265. package/custom/node_modules/lodash-es/_lazyReverse.js +23 -0
  266. package/custom/node_modules/lodash-es/_lazyValue.js +69 -0
  267. package/custom/node_modules/lodash-es/_listCacheClear.js +13 -0
  268. package/custom/node_modules/lodash-es/_listCacheDelete.js +35 -0
  269. package/custom/node_modules/lodash-es/_listCacheGet.js +19 -0
  270. package/custom/node_modules/lodash-es/_listCacheHas.js +16 -0
  271. package/custom/node_modules/lodash-es/_listCacheSet.js +26 -0
  272. package/custom/node_modules/lodash-es/_mapCacheClear.js +21 -0
  273. package/custom/node_modules/lodash-es/_mapCacheDelete.js +18 -0
  274. package/custom/node_modules/lodash-es/_mapCacheGet.js +16 -0
  275. package/custom/node_modules/lodash-es/_mapCacheHas.js +16 -0
  276. package/custom/node_modules/lodash-es/_mapCacheSet.js +22 -0
  277. package/custom/node_modules/lodash-es/_mapToArray.js +18 -0
  278. package/custom/node_modules/lodash-es/_matchesStrictComparable.js +20 -0
  279. package/custom/node_modules/lodash-es/_memoizeCapped.js +26 -0
  280. package/custom/node_modules/lodash-es/_mergeData.js +90 -0
  281. package/custom/node_modules/lodash-es/_metaMap.js +6 -0
  282. package/custom/node_modules/lodash-es/_nativeCreate.js +6 -0
  283. package/custom/node_modules/lodash-es/_nativeKeys.js +6 -0
  284. package/custom/node_modules/lodash-es/_nativeKeysIn.js +20 -0
  285. package/custom/node_modules/lodash-es/_nodeUtil.js +30 -0
  286. package/custom/node_modules/lodash-es/_objectToString.js +22 -0
  287. package/custom/node_modules/lodash-es/_overArg.js +15 -0
  288. package/custom/node_modules/lodash-es/_overRest.js +36 -0
  289. package/custom/node_modules/lodash-es/_parent.js +16 -0
  290. package/custom/node_modules/lodash-es/_reEscape.js +4 -0
  291. package/custom/node_modules/lodash-es/_reEvaluate.js +4 -0
  292. package/custom/node_modules/lodash-es/_reInterpolate.js +4 -0
  293. package/custom/node_modules/lodash-es/_realNames.js +4 -0
  294. package/custom/node_modules/lodash-es/_reorder.js +29 -0
  295. package/custom/node_modules/lodash-es/_replaceHolders.js +29 -0
  296. package/custom/node_modules/lodash-es/_root.js +9 -0
  297. package/custom/node_modules/lodash-es/_safeGet.js +21 -0
  298. package/custom/node_modules/lodash-es/_setCacheAdd.js +19 -0
  299. package/custom/node_modules/lodash-es/_setCacheHas.js +14 -0
  300. package/custom/node_modules/lodash-es/_setData.js +20 -0
  301. package/custom/node_modules/lodash-es/_setToArray.js +18 -0
  302. package/custom/node_modules/lodash-es/_setToPairs.js +18 -0
  303. package/custom/node_modules/lodash-es/_setToString.js +14 -0
  304. package/custom/node_modules/lodash-es/_setWrapToString.js +21 -0
  305. package/custom/node_modules/lodash-es/_shortOut.js +37 -0
  306. package/custom/node_modules/lodash-es/_shuffleSelf.js +28 -0
  307. package/custom/node_modules/lodash-es/_stackClear.js +15 -0
  308. package/custom/node_modules/lodash-es/_stackDelete.js +18 -0
  309. package/custom/node_modules/lodash-es/_stackGet.js +14 -0
  310. package/custom/node_modules/lodash-es/_stackHas.js +14 -0
  311. package/custom/node_modules/lodash-es/_stackSet.js +34 -0
  312. package/custom/node_modules/lodash-es/_strictIndexOf.js +23 -0
  313. package/custom/node_modules/lodash-es/_strictLastIndexOf.js +21 -0
  314. package/custom/node_modules/lodash-es/_stringSize.js +18 -0
  315. package/custom/node_modules/lodash-es/_stringToArray.js +18 -0
  316. package/custom/node_modules/lodash-es/_stringToPath.js +27 -0
  317. package/custom/node_modules/lodash-es/_toKey.js +21 -0
  318. package/custom/node_modules/lodash-es/_toSource.js +26 -0
  319. package/custom/node_modules/lodash-es/_trimmedEndIndex.js +19 -0
  320. package/custom/node_modules/lodash-es/_unescapeHtmlChar.js +21 -0
  321. package/custom/node_modules/lodash-es/_unicodeSize.js +44 -0
  322. package/custom/node_modules/lodash-es/_unicodeToArray.js +40 -0
  323. package/custom/node_modules/lodash-es/_unicodeWords.js +69 -0
  324. package/custom/node_modules/lodash-es/_updateWrapDetails.js +46 -0
  325. package/custom/node_modules/lodash-es/_wrapperClone.js +23 -0
  326. package/custom/node_modules/lodash-es/add.js +22 -0
  327. package/custom/node_modules/lodash-es/after.js +42 -0
  328. package/custom/node_modules/lodash-es/array.default.js +81 -0
  329. package/custom/node_modules/lodash-es/array.js +66 -0
  330. package/custom/node_modules/lodash-es/ary.js +29 -0
  331. package/custom/node_modules/lodash-es/assign.js +58 -0
  332. package/custom/node_modules/lodash-es/assignIn.js +40 -0
  333. package/custom/node_modules/lodash-es/assignInWith.js +38 -0
  334. package/custom/node_modules/lodash-es/assignWith.js +37 -0
  335. package/custom/node_modules/lodash-es/at.js +23 -0
  336. package/custom/node_modules/lodash-es/attempt.js +35 -0
  337. package/custom/node_modules/lodash-es/before.js +40 -0
  338. package/custom/node_modules/lodash-es/bind.js +57 -0
  339. package/custom/node_modules/lodash-es/bindAll.js +41 -0
  340. package/custom/node_modules/lodash-es/bindKey.js +68 -0
  341. package/custom/node_modules/lodash-es/camelCase.js +29 -0
  342. package/custom/node_modules/lodash-es/capitalize.js +23 -0
  343. package/custom/node_modules/lodash-es/castArray.js +44 -0
  344. package/custom/node_modules/lodash-es/ceil.js +26 -0
  345. package/custom/node_modules/lodash-es/chain.js +38 -0
  346. package/custom/node_modules/lodash-es/chunk.js +50 -0
  347. package/custom/node_modules/lodash-es/clamp.js +39 -0
  348. package/custom/node_modules/lodash-es/clone.js +36 -0
  349. package/custom/node_modules/lodash-es/cloneDeep.js +29 -0
  350. package/custom/node_modules/lodash-es/cloneDeepWith.js +40 -0
  351. package/custom/node_modules/lodash-es/cloneWith.js +42 -0
  352. package/custom/node_modules/lodash-es/collection.default.js +37 -0
  353. package/custom/node_modules/lodash-es/collection.js +29 -0
  354. package/custom/node_modules/lodash-es/commit.js +33 -0
  355. package/custom/node_modules/lodash-es/compact.js +31 -0
  356. package/custom/node_modules/lodash-es/concat.js +43 -0
  357. package/custom/node_modules/lodash-es/cond.js +60 -0
  358. package/custom/node_modules/lodash-es/conforms.js +35 -0
  359. package/custom/node_modules/lodash-es/conformsTo.js +32 -0
  360. package/custom/node_modules/lodash-es/constant.js +26 -0
  361. package/custom/node_modules/lodash-es/countBy.js +40 -0
  362. package/custom/node_modules/lodash-es/create.js +43 -0
  363. package/custom/node_modules/lodash-es/curry.js +57 -0
  364. package/custom/node_modules/lodash-es/curryRight.js +54 -0
  365. package/custom/node_modules/lodash-es/date.default.js +5 -0
  366. package/custom/node_modules/lodash-es/date.js +2 -0
  367. package/custom/node_modules/lodash-es/debounce.js +191 -0
  368. package/custom/node_modules/lodash-es/deburr.js +45 -0
  369. package/custom/node_modules/lodash-es/defaultTo.js +25 -0
  370. package/custom/node_modules/lodash-es/defaults.js +64 -0
  371. package/custom/node_modules/lodash-es/defaultsDeep.js +30 -0
  372. package/custom/node_modules/lodash-es/defer.js +26 -0
  373. package/custom/node_modules/lodash-es/delay.js +28 -0
  374. package/custom/node_modules/lodash-es/difference.js +33 -0
  375. package/custom/node_modules/lodash-es/differenceBy.js +44 -0
  376. package/custom/node_modules/lodash-es/differenceWith.js +40 -0
  377. package/custom/node_modules/lodash-es/divide.js +22 -0
  378. package/custom/node_modules/lodash-es/drop.js +38 -0
  379. package/custom/node_modules/lodash-es/dropRight.js +39 -0
  380. package/custom/node_modules/lodash-es/dropRightWhile.js +45 -0
  381. package/custom/node_modules/lodash-es/dropWhile.js +45 -0
  382. package/custom/node_modules/lodash-es/each.js +1 -0
  383. package/custom/node_modules/lodash-es/eachRight.js +1 -0
  384. package/custom/node_modules/lodash-es/endsWith.js +43 -0
  385. package/custom/node_modules/lodash-es/entries.js +1 -0
  386. package/custom/node_modules/lodash-es/entriesIn.js +1 -0
  387. package/custom/node_modules/lodash-es/eq.js +37 -0
  388. package/custom/node_modules/lodash-es/escape.js +43 -0
  389. package/custom/node_modules/lodash-es/escapeRegExp.js +32 -0
  390. package/custom/node_modules/lodash-es/every.js +56 -0
  391. package/custom/node_modules/lodash-es/extend.js +1 -0
  392. package/custom/node_modules/lodash-es/extendWith.js +1 -0
  393. package/custom/node_modules/lodash-es/fill.js +45 -0
  394. package/custom/node_modules/lodash-es/filter.js +52 -0
  395. package/custom/node_modules/lodash-es/find.js +42 -0
  396. package/custom/node_modules/lodash-es/findIndex.js +55 -0
  397. package/custom/node_modules/lodash-es/findKey.js +44 -0
  398. package/custom/node_modules/lodash-es/findLast.js +25 -0
  399. package/custom/node_modules/lodash-es/findLastIndex.js +59 -0
  400. package/custom/node_modules/lodash-es/findLastKey.js +44 -0
  401. package/custom/node_modules/lodash-es/first.js +1 -0
  402. package/custom/node_modules/lodash-es/flake.lock +40 -0
  403. package/custom/node_modules/lodash-es/flake.nix +20 -0
  404. package/custom/node_modules/lodash-es/flatMap.js +29 -0
  405. package/custom/node_modules/lodash-es/flatMapDeep.js +31 -0
  406. package/custom/node_modules/lodash-es/flatMapDepth.js +31 -0
  407. package/custom/node_modules/lodash-es/flatten.js +22 -0
  408. package/custom/node_modules/lodash-es/flattenDeep.js +25 -0
  409. package/custom/node_modules/lodash-es/flattenDepth.js +33 -0
  410. package/custom/node_modules/lodash-es/flip.js +28 -0
  411. package/custom/node_modules/lodash-es/floor.js +26 -0
  412. package/custom/node_modules/lodash-es/flow.js +27 -0
  413. package/custom/node_modules/lodash-es/flowRight.js +26 -0
  414. package/custom/node_modules/lodash-es/forEach.js +41 -0
  415. package/custom/node_modules/lodash-es/forEachRight.js +31 -0
  416. package/custom/node_modules/lodash-es/forIn.js +39 -0
  417. package/custom/node_modules/lodash-es/forInRight.js +37 -0
  418. package/custom/node_modules/lodash-es/forOwn.js +36 -0
  419. package/custom/node_modules/lodash-es/forOwnRight.js +34 -0
  420. package/custom/node_modules/lodash-es/fromPairs.js +28 -0
  421. package/custom/node_modules/lodash-es/function.default.js +31 -0
  422. package/custom/node_modules/lodash-es/function.js +24 -0
  423. package/custom/node_modules/lodash-es/functions.js +31 -0
  424. package/custom/node_modules/lodash-es/functionsIn.js +31 -0
  425. package/custom/node_modules/lodash-es/get.js +33 -0
  426. package/custom/node_modules/lodash-es/groupBy.js +41 -0
  427. package/custom/node_modules/lodash-es/gt.js +29 -0
  428. package/custom/node_modules/lodash-es/gte.js +30 -0
  429. package/custom/node_modules/lodash-es/has.js +35 -0
  430. package/custom/node_modules/lodash-es/hasIn.js +34 -0
  431. package/custom/node_modules/lodash-es/head.js +23 -0
  432. package/custom/node_modules/lodash-es/identity.js +21 -0
  433. package/custom/node_modules/lodash-es/inRange.js +55 -0
  434. package/custom/node_modules/lodash-es/includes.js +53 -0
  435. package/custom/node_modules/lodash-es/indexOf.js +42 -0
  436. package/custom/node_modules/lodash-es/initial.js +22 -0
  437. package/custom/node_modules/lodash-es/intersection.js +30 -0
  438. package/custom/node_modules/lodash-es/intersectionBy.js +45 -0
  439. package/custom/node_modules/lodash-es/intersectionWith.js +41 -0
  440. package/custom/node_modules/lodash-es/invert.js +42 -0
  441. package/custom/node_modules/lodash-es/invertBy.js +56 -0
  442. package/custom/node_modules/lodash-es/invoke.js +24 -0
  443. package/custom/node_modules/lodash-es/invokeMap.js +41 -0
  444. package/custom/node_modules/lodash-es/isArguments.js +36 -0
  445. package/custom/node_modules/lodash-es/isArray.js +26 -0
  446. package/custom/node_modules/lodash-es/isArrayBuffer.js +27 -0
  447. package/custom/node_modules/lodash-es/isArrayLike.js +33 -0
  448. package/custom/node_modules/lodash-es/isArrayLikeObject.js +33 -0
  449. package/custom/node_modules/lodash-es/isBoolean.js +29 -0
  450. package/custom/node_modules/lodash-es/isBuffer.js +38 -0
  451. package/custom/node_modules/lodash-es/isDate.js +27 -0
  452. package/custom/node_modules/lodash-es/isElement.js +25 -0
  453. package/custom/node_modules/lodash-es/isEmpty.js +77 -0
  454. package/custom/node_modules/lodash-es/isEqual.js +35 -0
  455. package/custom/node_modules/lodash-es/isEqualWith.js +41 -0
  456. package/custom/node_modules/lodash-es/isError.js +36 -0
  457. package/custom/node_modules/lodash-es/isFinite.js +36 -0
  458. package/custom/node_modules/lodash-es/isFunction.js +37 -0
  459. package/custom/node_modules/lodash-es/isInteger.js +33 -0
  460. package/custom/node_modules/lodash-es/isLength.js +35 -0
  461. package/custom/node_modules/lodash-es/isMap.js +27 -0
  462. package/custom/node_modules/lodash-es/isMatch.js +36 -0
  463. package/custom/node_modules/lodash-es/isMatchWith.js +41 -0
  464. package/custom/node_modules/lodash-es/isNaN.js +38 -0
  465. package/custom/node_modules/lodash-es/isNative.js +40 -0
  466. package/custom/node_modules/lodash-es/isNil.js +25 -0
  467. package/custom/node_modules/lodash-es/isNull.js +22 -0
  468. package/custom/node_modules/lodash-es/isNumber.js +38 -0
  469. package/custom/node_modules/lodash-es/isObject.js +31 -0
  470. package/custom/node_modules/lodash-es/isObjectLike.js +29 -0
  471. package/custom/node_modules/lodash-es/isPlainObject.js +62 -0
  472. package/custom/node_modules/lodash-es/isRegExp.js +27 -0
  473. package/custom/node_modules/lodash-es/isSafeInteger.js +37 -0
  474. package/custom/node_modules/lodash-es/isSet.js +27 -0
  475. package/custom/node_modules/lodash-es/isString.js +30 -0
  476. package/custom/node_modules/lodash-es/isSymbol.js +29 -0
  477. package/custom/node_modules/lodash-es/isTypedArray.js +27 -0
  478. package/custom/node_modules/lodash-es/isUndefined.js +22 -0
  479. package/custom/node_modules/lodash-es/isWeakMap.js +28 -0
  480. package/custom/node_modules/lodash-es/isWeakSet.js +28 -0
  481. package/custom/node_modules/lodash-es/iteratee.js +53 -0
  482. package/custom/node_modules/lodash-es/join.js +26 -0
  483. package/custom/node_modules/lodash-es/kebabCase.js +28 -0
  484. package/custom/node_modules/lodash-es/keyBy.js +36 -0
  485. package/custom/node_modules/lodash-es/keys.js +37 -0
  486. package/custom/node_modules/lodash-es/keysIn.js +32 -0
  487. package/custom/node_modules/lodash-es/lang.default.js +71 -0
  488. package/custom/node_modules/lodash-es/lang.js +57 -0
  489. package/custom/node_modules/lodash-es/last.js +20 -0
  490. package/custom/node_modules/lodash-es/lastIndexOf.js +46 -0
  491. package/custom/node_modules/lodash-es/lodash.default.js +643 -0
  492. package/custom/node_modules/lodash-es/lodash.js +331 -0
  493. package/custom/node_modules/lodash-es/lowerCase.js +27 -0
  494. package/custom/node_modules/lodash-es/lowerFirst.js +22 -0
  495. package/custom/node_modules/lodash-es/lt.js +29 -0
  496. package/custom/node_modules/lodash-es/lte.js +30 -0
  497. package/custom/node_modules/lodash-es/map.js +53 -0
  498. package/custom/node_modules/lodash-es/mapKeys.js +36 -0
  499. package/custom/node_modules/lodash-es/mapValues.js +43 -0
  500. package/custom/node_modules/lodash-es/matches.js +46 -0
  501. package/custom/node_modules/lodash-es/matchesProperty.js +44 -0
  502. package/custom/node_modules/lodash-es/math.default.js +21 -0
  503. package/custom/node_modules/lodash-es/math.js +16 -0
  504. package/custom/node_modules/lodash-es/max.js +29 -0
  505. package/custom/node_modules/lodash-es/maxBy.js +34 -0
  506. package/custom/node_modules/lodash-es/mean.js +22 -0
  507. package/custom/node_modules/lodash-es/meanBy.js +31 -0
  508. package/custom/node_modules/lodash-es/memoize.js +73 -0
  509. package/custom/node_modules/lodash-es/merge.js +39 -0
  510. package/custom/node_modules/lodash-es/mergeWith.js +39 -0
  511. package/custom/node_modules/lodash-es/method.js +34 -0
  512. package/custom/node_modules/lodash-es/methodOf.js +33 -0
  513. package/custom/node_modules/lodash-es/min.js +29 -0
  514. package/custom/node_modules/lodash-es/minBy.js +34 -0
  515. package/custom/node_modules/lodash-es/mixin.js +74 -0
  516. package/custom/node_modules/lodash-es/multiply.js +22 -0
  517. package/custom/node_modules/lodash-es/negate.js +40 -0
  518. package/custom/node_modules/lodash-es/next.js +35 -0
  519. package/custom/node_modules/lodash-es/noop.js +17 -0
  520. package/custom/node_modules/lodash-es/now.js +23 -0
  521. package/custom/node_modules/lodash-es/nth.js +29 -0
  522. package/custom/node_modules/lodash-es/nthArg.js +32 -0
  523. package/custom/node_modules/lodash-es/number.default.js +7 -0
  524. package/custom/node_modules/lodash-es/number.js +4 -0
  525. package/custom/node_modules/lodash-es/object.default.js +60 -0
  526. package/custom/node_modules/lodash-es/object.js +48 -0
  527. package/custom/node_modules/lodash-es/omit.js +57 -0
  528. package/custom/node_modules/lodash-es/omitBy.js +29 -0
  529. package/custom/node_modules/lodash-es/once.js +25 -0
  530. package/custom/node_modules/lodash-es/orderBy.js +47 -0
  531. package/custom/node_modules/lodash-es/over.js +24 -0
  532. package/custom/node_modules/lodash-es/overArgs.js +61 -0
  533. package/custom/node_modules/lodash-es/overEvery.js +34 -0
  534. package/custom/node_modules/lodash-es/overSome.js +37 -0
  535. package/custom/node_modules/lodash-es/package.json +21 -0
  536. package/custom/node_modules/lodash-es/pad.js +49 -0
  537. package/custom/node_modules/lodash-es/padEnd.js +39 -0
  538. package/custom/node_modules/lodash-es/padStart.js +39 -0
  539. package/custom/node_modules/lodash-es/parseInt.js +43 -0
  540. package/custom/node_modules/lodash-es/partial.js +50 -0
  541. package/custom/node_modules/lodash-es/partialRight.js +49 -0
  542. package/custom/node_modules/lodash-es/partition.js +43 -0
  543. package/custom/node_modules/lodash-es/pick.js +25 -0
  544. package/custom/node_modules/lodash-es/pickBy.js +37 -0
  545. package/custom/node_modules/lodash-es/plant.js +48 -0
  546. package/custom/node_modules/lodash-es/property.js +32 -0
  547. package/custom/node_modules/lodash-es/propertyOf.js +30 -0
  548. package/custom/node_modules/lodash-es/pull.js +29 -0
  549. package/custom/node_modules/lodash-es/pullAll.js +29 -0
  550. package/custom/node_modules/lodash-es/pullAllBy.js +33 -0
  551. package/custom/node_modules/lodash-es/pullAllWith.js +32 -0
  552. package/custom/node_modules/lodash-es/pullAt.js +43 -0
  553. package/custom/node_modules/lodash-es/random.js +82 -0
  554. package/custom/node_modules/lodash-es/range.js +46 -0
  555. package/custom/node_modules/lodash-es/rangeRight.js +41 -0
  556. package/custom/node_modules/lodash-es/rearg.js +33 -0
  557. package/custom/node_modules/lodash-es/reduce.js +51 -0
  558. package/custom/node_modules/lodash-es/reduceRight.js +36 -0
  559. package/custom/node_modules/lodash-es/reject.js +46 -0
  560. package/custom/node_modules/lodash-es/release.md +48 -0
  561. package/custom/node_modules/lodash-es/remove.js +53 -0
  562. package/custom/node_modules/lodash-es/repeat.js +37 -0
  563. package/custom/node_modules/lodash-es/replace.js +29 -0
  564. package/custom/node_modules/lodash-es/rest.js +40 -0
  565. package/custom/node_modules/lodash-es/result.js +56 -0
  566. package/custom/node_modules/lodash-es/reverse.js +34 -0
  567. package/custom/node_modules/lodash-es/round.js +26 -0
  568. package/custom/node_modules/lodash-es/sample.js +24 -0
  569. package/custom/node_modules/lodash-es/sampleSize.js +37 -0
  570. package/custom/node_modules/lodash-es/seq.default.js +20 -0
  571. package/custom/node_modules/lodash-es/seq.js +15 -0
  572. package/custom/node_modules/lodash-es/set.js +35 -0
  573. package/custom/node_modules/lodash-es/setWith.js +32 -0
  574. package/custom/node_modules/lodash-es/shuffle.js +25 -0
  575. package/custom/node_modules/lodash-es/size.js +46 -0
  576. package/custom/node_modules/lodash-es/slice.js +37 -0
  577. package/custom/node_modules/lodash-es/snakeCase.js +28 -0
  578. package/custom/node_modules/lodash-es/some.js +51 -0
  579. package/custom/node_modules/lodash-es/sortBy.js +48 -0
  580. package/custom/node_modules/lodash-es/sortedIndex.js +24 -0
  581. package/custom/node_modules/lodash-es/sortedIndexBy.js +33 -0
  582. package/custom/node_modules/lodash-es/sortedIndexOf.js +31 -0
  583. package/custom/node_modules/lodash-es/sortedLastIndex.js +25 -0
  584. package/custom/node_modules/lodash-es/sortedLastIndexBy.js +33 -0
  585. package/custom/node_modules/lodash-es/sortedLastIndexOf.js +31 -0
  586. package/custom/node_modules/lodash-es/sortedUniq.js +24 -0
  587. package/custom/node_modules/lodash-es/sortedUniqBy.js +26 -0
  588. package/custom/node_modules/lodash-es/split.js +52 -0
  589. package/custom/node_modules/lodash-es/spread.js +63 -0
  590. package/custom/node_modules/lodash-es/startCase.js +29 -0
  591. package/custom/node_modules/lodash-es/startsWith.js +39 -0
  592. package/custom/node_modules/lodash-es/string.default.js +41 -0
  593. package/custom/node_modules/lodash-es/string.js +32 -0
  594. package/custom/node_modules/lodash-es/stubArray.js +23 -0
  595. package/custom/node_modules/lodash-es/stubFalse.js +18 -0
  596. package/custom/node_modules/lodash-es/stubObject.js +23 -0
  597. package/custom/node_modules/lodash-es/stubString.js +18 -0
  598. package/custom/node_modules/lodash-es/stubTrue.js +18 -0
  599. package/custom/node_modules/lodash-es/subtract.js +22 -0
  600. package/custom/node_modules/lodash-es/sum.js +24 -0
  601. package/custom/node_modules/lodash-es/sumBy.js +33 -0
  602. package/custom/node_modules/lodash-es/tail.js +22 -0
  603. package/custom/node_modules/lodash-es/take.js +37 -0
  604. package/custom/node_modules/lodash-es/takeRight.js +39 -0
  605. package/custom/node_modules/lodash-es/takeRightWhile.js +45 -0
  606. package/custom/node_modules/lodash-es/takeWhile.js +45 -0
  607. package/custom/node_modules/lodash-es/tap.js +29 -0
  608. package/custom/node_modules/lodash-es/template.js +272 -0
  609. package/custom/node_modules/lodash-es/templateSettings.js +67 -0
  610. package/custom/node_modules/lodash-es/throttle.js +69 -0
  611. package/custom/node_modules/lodash-es/thru.js +28 -0
  612. package/custom/node_modules/lodash-es/times.js +51 -0
  613. package/custom/node_modules/lodash-es/toArray.js +58 -0
  614. package/custom/node_modules/lodash-es/toFinite.js +42 -0
  615. package/custom/node_modules/lodash-es/toInteger.js +36 -0
  616. package/custom/node_modules/lodash-es/toIterator.js +23 -0
  617. package/custom/node_modules/lodash-es/toJSON.js +1 -0
  618. package/custom/node_modules/lodash-es/toLength.js +38 -0
  619. package/custom/node_modules/lodash-es/toLower.js +28 -0
  620. package/custom/node_modules/lodash-es/toNumber.js +64 -0
  621. package/custom/node_modules/lodash-es/toPairs.js +30 -0
  622. package/custom/node_modules/lodash-es/toPairsIn.js +30 -0
  623. package/custom/node_modules/lodash-es/toPath.js +33 -0
  624. package/custom/node_modules/lodash-es/toPlainObject.js +32 -0
  625. package/custom/node_modules/lodash-es/toSafeInteger.js +37 -0
  626. package/custom/node_modules/lodash-es/toString.js +28 -0
  627. package/custom/node_modules/lodash-es/toUpper.js +28 -0
  628. package/custom/node_modules/lodash-es/transform.js +65 -0
  629. package/custom/node_modules/lodash-es/trim.js +47 -0
  630. package/custom/node_modules/lodash-es/trimEnd.js +41 -0
  631. package/custom/node_modules/lodash-es/trimStart.js +43 -0
  632. package/custom/node_modules/lodash-es/truncate.js +111 -0
  633. package/custom/node_modules/lodash-es/unary.js +22 -0
  634. package/custom/node_modules/lodash-es/unescape.js +34 -0
  635. package/custom/node_modules/lodash-es/union.js +26 -0
  636. package/custom/node_modules/lodash-es/unionBy.js +39 -0
  637. package/custom/node_modules/lodash-es/unionWith.js +34 -0
  638. package/custom/node_modules/lodash-es/uniq.js +25 -0
  639. package/custom/node_modules/lodash-es/uniqBy.js +31 -0
  640. package/custom/node_modules/lodash-es/uniqWith.js +28 -0
  641. package/custom/node_modules/lodash-es/uniqueId.js +28 -0
  642. package/custom/node_modules/lodash-es/unset.js +34 -0
  643. package/custom/node_modules/lodash-es/unzip.js +45 -0
  644. package/custom/node_modules/lodash-es/unzipWith.js +39 -0
  645. package/custom/node_modules/lodash-es/update.js +35 -0
  646. package/custom/node_modules/lodash-es/updateWith.js +33 -0
  647. package/custom/node_modules/lodash-es/upperCase.js +27 -0
  648. package/custom/node_modules/lodash-es/upperFirst.js +22 -0
  649. package/custom/node_modules/lodash-es/util.default.js +42 -0
  650. package/custom/node_modules/lodash-es/util.js +33 -0
  651. package/custom/node_modules/lodash-es/value.js +1 -0
  652. package/custom/node_modules/lodash-es/valueOf.js +1 -0
  653. package/custom/node_modules/lodash-es/values.js +34 -0
  654. package/custom/node_modules/lodash-es/valuesIn.js +32 -0
  655. package/custom/node_modules/lodash-es/without.js +31 -0
  656. package/custom/node_modules/lodash-es/words.js +35 -0
  657. package/custom/node_modules/lodash-es/wrap.js +30 -0
  658. package/custom/node_modules/lodash-es/wrapperAt.js +48 -0
  659. package/custom/node_modules/lodash-es/wrapperChain.js +34 -0
  660. package/custom/node_modules/lodash-es/wrapperLodash.js +147 -0
  661. package/custom/node_modules/lodash-es/wrapperReverse.js +44 -0
  662. package/custom/node_modules/lodash-es/wrapperValue.js +21 -0
  663. package/custom/node_modules/lodash-es/xor.js +28 -0
  664. package/custom/node_modules/lodash-es/xorBy.js +39 -0
  665. package/custom/node_modules/lodash-es/xorWith.js +34 -0
  666. package/custom/node_modules/lodash-es/zip.js +22 -0
  667. package/custom/node_modules/lodash-es/zipObject.js +24 -0
  668. package/custom/node_modules/lodash-es/zipObjectDeep.js +23 -0
  669. package/custom/node_modules/lodash-es/zipWith.js +32 -0
  670. package/custom/node_modules/lodash.clonedeep/LICENSE +47 -0
  671. package/custom/node_modules/lodash.clonedeep/README.md +18 -0
  672. package/custom/node_modules/lodash.clonedeep/index.js +1748 -0
  673. package/custom/node_modules/lodash.clonedeep/package.json +17 -0
  674. package/custom/node_modules/lodash.isequal/LICENSE +47 -0
  675. package/custom/node_modules/lodash.isequal/README.md +18 -0
  676. package/custom/node_modules/lodash.isequal/index.js +1848 -0
  677. package/custom/node_modules/lodash.isequal/package.json +16 -0
  678. package/custom/node_modules/parchment/LICENSE +30 -0
  679. package/custom/node_modules/parchment/README.md +271 -0
  680. package/custom/node_modules/parchment/dist/parchment.d.ts +453 -0
  681. package/custom/node_modules/parchment/dist/parchment.js +847 -0
  682. package/custom/node_modules/parchment/dist/parchment.js.map +1 -0
  683. package/custom/node_modules/parchment/dist/parchment.umd.cjs +2 -0
  684. package/custom/node_modules/parchment/dist/parchment.umd.cjs.map +1 -0
  685. package/custom/node_modules/parchment/package.json +53 -0
  686. package/custom/node_modules/parchment/src/attributor/attributor.ts +62 -0
  687. package/custom/node_modules/parchment/src/attributor/class.ts +43 -0
  688. package/custom/node_modules/parchment/src/attributor/store.ts +79 -0
  689. package/custom/node_modules/parchment/src/attributor/style.ts +44 -0
  690. package/custom/node_modules/parchment/src/blot/abstract/blot.ts +128 -0
  691. package/custom/node_modules/parchment/src/blot/abstract/container.ts +48 -0
  692. package/custom/node_modules/parchment/src/blot/abstract/leaf.ts +57 -0
  693. package/custom/node_modules/parchment/src/blot/abstract/parent.ts +400 -0
  694. package/custom/node_modules/parchment/src/blot/abstract/shadow.ts +188 -0
  695. package/custom/node_modules/parchment/src/blot/block.ts +123 -0
  696. package/custom/node_modules/parchment/src/blot/embed.ts +34 -0
  697. package/custom/node_modules/parchment/src/blot/inline.ts +159 -0
  698. package/custom/node_modules/parchment/src/blot/scroll.ts +216 -0
  699. package/custom/node_modules/parchment/src/blot/text.ts +100 -0
  700. package/custom/node_modules/parchment/src/collection/linked-list.ts +201 -0
  701. package/custom/node_modules/parchment/src/collection/linked-node.ts +8 -0
  702. package/custom/node_modules/parchment/src/error.ts +12 -0
  703. package/custom/node_modules/parchment/src/parchment.ts +48 -0
  704. package/custom/node_modules/parchment/src/registry.ts +155 -0
  705. package/custom/node_modules/parchment/src/scope.ts +18 -0
  706. package/custom/node_modules/parchment/tsconfig.json +16 -0
  707. package/custom/node_modules/quill/LICENSE +31 -0
  708. package/custom/node_modules/quill/README.md +104 -0
  709. package/custom/node_modules/quill/assets/base.styl +309 -0
  710. package/custom/node_modules/quill/assets/bubble/toolbar.styl +14 -0
  711. package/custom/node_modules/quill/assets/bubble/tooltip.styl +49 -0
  712. package/custom/node_modules/quill/assets/bubble.styl +45 -0
  713. package/custom/node_modules/quill/assets/core.styl +215 -0
  714. package/custom/node_modules/quill/assets/favicon.png +0 -0
  715. package/custom/node_modules/quill/assets/icons/align-center.svg +5 -0
  716. package/custom/node_modules/quill/assets/icons/align-justify.svg +5 -0
  717. package/custom/node_modules/quill/assets/icons/align-left.svg +5 -0
  718. package/custom/node_modules/quill/assets/icons/align-right.svg +5 -0
  719. package/custom/node_modules/quill/assets/icons/attachment.svg +3 -0
  720. package/custom/node_modules/quill/assets/icons/audio.svg +5 -0
  721. package/custom/node_modules/quill/assets/icons/authorship.svg +5 -0
  722. package/custom/node_modules/quill/assets/icons/background.svg +52 -0
  723. package/custom/node_modules/quill/assets/icons/blockquote.svg +6 -0
  724. package/custom/node_modules/quill/assets/icons/bold.svg +4 -0
  725. package/custom/node_modules/quill/assets/icons/clean.svg +7 -0
  726. package/custom/node_modules/quill/assets/icons/code.svg +5 -0
  727. package/custom/node_modules/quill/assets/icons/color.svg +5 -0
  728. package/custom/node_modules/quill/assets/icons/comment.svg +3 -0
  729. package/custom/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
  730. package/custom/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
  731. package/custom/node_modules/quill/assets/icons/dropdown.svg +4 -0
  732. package/custom/node_modules/quill/assets/icons/embed.svg +3 -0
  733. package/custom/node_modules/quill/assets/icons/emoji.svg +6 -0
  734. package/custom/node_modules/quill/assets/icons/float-center.svg +5 -0
  735. package/custom/node_modules/quill/assets/icons/float-full.svg +5 -0
  736. package/custom/node_modules/quill/assets/icons/float-left.svg +7 -0
  737. package/custom/node_modules/quill/assets/icons/float-right.svg +7 -0
  738. package/custom/node_modules/quill/assets/icons/font.svg +5 -0
  739. package/custom/node_modules/quill/assets/icons/formula.svg +5 -0
  740. package/custom/node_modules/quill/assets/icons/hashtag.svg +6 -0
  741. package/custom/node_modules/quill/assets/icons/header-2.svg +3 -0
  742. package/custom/node_modules/quill/assets/icons/header-3.svg +3 -0
  743. package/custom/node_modules/quill/assets/icons/header-4.svg +3 -0
  744. package/custom/node_modules/quill/assets/icons/header-5.svg +3 -0
  745. package/custom/node_modules/quill/assets/icons/header-6.svg +3 -0
  746. package/custom/node_modules/quill/assets/icons/header.svg +3 -0
  747. package/custom/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
  748. package/custom/node_modules/quill/assets/icons/image.svg +5 -0
  749. package/custom/node_modules/quill/assets/icons/indent.svg +6 -0
  750. package/custom/node_modules/quill/assets/icons/italic.svg +5 -0
  751. package/custom/node_modules/quill/assets/icons/link.svg +5 -0
  752. package/custom/node_modules/quill/assets/icons/list-bullet.svg +8 -0
  753. package/custom/node_modules/quill/assets/icons/list-check.svg +8 -0
  754. package/custom/node_modules/quill/assets/icons/list-ordered.svg +9 -0
  755. package/custom/node_modules/quill/assets/icons/map.svg +5 -0
  756. package/custom/node_modules/quill/assets/icons/mention.svg +4 -0
  757. package/custom/node_modules/quill/assets/icons/more.svg +3 -0
  758. package/custom/node_modules/quill/assets/icons/outdent.svg +6 -0
  759. package/custom/node_modules/quill/assets/icons/redo.svg +4 -0
  760. package/custom/node_modules/quill/assets/icons/size-decrease.svg +5 -0
  761. package/custom/node_modules/quill/assets/icons/size-increase.svg +6 -0
  762. package/custom/node_modules/quill/assets/icons/size.svg +6 -0
  763. package/custom/node_modules/quill/assets/icons/spacing.svg +9 -0
  764. package/custom/node_modules/quill/assets/icons/speech.svg +6 -0
  765. package/custom/node_modules/quill/assets/icons/strike.svg +5 -0
  766. package/custom/node_modules/quill/assets/icons/subscript.svg +4 -0
  767. package/custom/node_modules/quill/assets/icons/superscript.svg +4 -0
  768. package/custom/node_modules/quill/assets/icons/table-border-all.svg +5 -0
  769. package/custom/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
  770. package/custom/node_modules/quill/assets/icons/table-border-left.svg +28 -0
  771. package/custom/node_modules/quill/assets/icons/table-border-none.svg +25 -0
  772. package/custom/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
  773. package/custom/node_modules/quill/assets/icons/table-border-right.svg +28 -0
  774. package/custom/node_modules/quill/assets/icons/table-border-top.svg +28 -0
  775. package/custom/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
  776. package/custom/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
  777. package/custom/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
  778. package/custom/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
  779. package/custom/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
  780. package/custom/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
  781. package/custom/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
  782. package/custom/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
  783. package/custom/node_modules/quill/assets/icons/table.svg +11 -0
  784. package/custom/node_modules/quill/assets/icons/underline.svg +4 -0
  785. package/custom/node_modules/quill/assets/icons/undo.svg +4 -0
  786. package/custom/node_modules/quill/assets/icons/video.svg +14 -0
  787. package/custom/node_modules/quill/assets/snow/toolbar.styl +26 -0
  788. package/custom/node_modules/quill/assets/snow/tooltip.styl +53 -0
  789. package/custom/node_modules/quill/assets/snow.styl +18 -0
  790. package/custom/node_modules/quill/blots/block.d.ts +34 -0
  791. package/custom/node_modules/quill/blots/block.js +182 -0
  792. package/custom/node_modules/quill/blots/block.js.map +1 -0
  793. package/custom/node_modules/quill/blots/break.d.ts +8 -0
  794. package/custom/node_modules/quill/blots/break.js +21 -0
  795. package/custom/node_modules/quill/blots/break.js.map +1 -0
  796. package/custom/node_modules/quill/blots/container.d.ts +4 -0
  797. package/custom/node_modules/quill/blots/container.js +4 -0
  798. package/custom/node_modules/quill/blots/container.js.map +1 -0
  799. package/custom/node_modules/quill/blots/cursor.d.ts +26 -0
  800. package/custom/node_modules/quill/blots/cursor.js +170 -0
  801. package/custom/node_modules/quill/blots/cursor.js.map +1 -0
  802. package/custom/node_modules/quill/blots/embed.d.ts +18 -0
  803. package/custom/node_modules/quill/blots/embed.js +72 -0
  804. package/custom/node_modules/quill/blots/embed.js.map +1 -0
  805. package/custom/node_modules/quill/blots/inline.d.ts +12 -0
  806. package/custom/node_modules/quill/blots/inline.js +48 -0
  807. package/custom/node_modules/quill/blots/inline.js.map +1 -0
  808. package/custom/node_modules/quill/blots/scroll.d.ts +49 -0
  809. package/custom/node_modules/quill/blots/scroll.js +349 -0
  810. package/custom/node_modules/quill/blots/scroll.js.map +1 -0
  811. package/custom/node_modules/quill/blots/text.d.ts +5 -0
  812. package/custom/node_modules/quill/blots/text.js +17 -0
  813. package/custom/node_modules/quill/blots/text.js.map +1 -0
  814. package/custom/node_modules/quill/core/composition.d.ts +12 -0
  815. package/custom/node_modules/quill/core/composition.js +44 -0
  816. package/custom/node_modules/quill/core/composition.js.map +1 -0
  817. package/custom/node_modules/quill/core/editor.d.ts +28 -0
  818. package/custom/node_modules/quill/core/editor.js +403 -0
  819. package/custom/node_modules/quill/core/editor.js.map +1 -0
  820. package/custom/node_modules/quill/core/emitter.d.ts +33 -0
  821. package/custom/node_modules/quill/core/emitter.js +78 -0
  822. package/custom/node_modules/quill/core/emitter.js.map +1 -0
  823. package/custom/node_modules/quill/core/instances.d.ts +3 -0
  824. package/custom/node_modules/quill/core/instances.js +2 -0
  825. package/custom/node_modules/quill/core/instances.js.map +1 -0
  826. package/custom/node_modules/quill/core/logger.d.ts +7 -0
  827. package/custom/node_modules/quill/core/logger.js +24 -0
  828. package/custom/node_modules/quill/core/logger.js.map +1 -0
  829. package/custom/node_modules/quill/core/module.d.ts +8 -0
  830. package/custom/node_modules/quill/core/module.js +10 -0
  831. package/custom/node_modules/quill/core/module.js.map +1 -0
  832. package/custom/node_modules/quill/core/quill.d.ts +218 -0
  833. package/custom/node_modules/quill/core/quill.js +628 -0
  834. package/custom/node_modules/quill/core/quill.js.map +1 -0
  835. package/custom/node_modules/quill/core/selection.d.ts +74 -0
  836. package/custom/node_modules/quill/core/selection.js +374 -0
  837. package/custom/node_modules/quill/core/selection.js.map +1 -0
  838. package/custom/node_modules/quill/core/theme.d.ts +32 -0
  839. package/custom/node_modules/quill/core/theme.js +28 -0
  840. package/custom/node_modules/quill/core/theme.js.map +1 -0
  841. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.d.ts +5 -0
  842. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js +29 -0
  843. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js.map +1 -0
  844. package/custom/node_modules/quill/core/utils/scrollRectIntoView.d.ts +8 -0
  845. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js +75 -0
  846. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js.map +1 -0
  847. package/custom/node_modules/quill/core.d.ts +7 -0
  848. package/custom/node_modules/quill/core.js +37 -0
  849. package/custom/node_modules/quill/core.js.map +1 -0
  850. package/custom/node_modules/quill/dist/quill.bubble.css +10 -0
  851. package/custom/node_modules/quill/dist/quill.bubble.css.map +1 -0
  852. package/custom/node_modules/quill/dist/quill.core.css +10 -0
  853. package/custom/node_modules/quill/dist/quill.core.css.map +1 -0
  854. package/custom/node_modules/quill/dist/quill.core.js +3 -0
  855. package/custom/node_modules/quill/dist/quill.core.js.LICENSE.txt +7 -0
  856. package/custom/node_modules/quill/dist/quill.core.js.map +1 -0
  857. package/custom/node_modules/quill/dist/quill.js +3 -0
  858. package/custom/node_modules/quill/dist/quill.js.LICENSE.txt +7 -0
  859. package/custom/node_modules/quill/dist/quill.js.map +1 -0
  860. package/custom/node_modules/quill/dist/quill.snow.css +10 -0
  861. package/custom/node_modules/quill/dist/quill.snow.css.map +1 -0
  862. package/custom/node_modules/quill/formats/align.d.ts +5 -0
  863. package/custom/node_modules/quill/formats/align.js +10 -0
  864. package/custom/node_modules/quill/formats/align.js.map +1 -0
  865. package/custom/node_modules/quill/formats/background.d.ts +5 -0
  866. package/custom/node_modules/quill/formats/background.js +10 -0
  867. package/custom/node_modules/quill/formats/background.js.map +1 -0
  868. package/custom/node_modules/quill/formats/blockquote.d.ts +6 -0
  869. package/custom/node_modules/quill/formats/blockquote.js +7 -0
  870. package/custom/node_modules/quill/formats/blockquote.js.map +1 -0
  871. package/custom/node_modules/quill/formats/bold.d.ts +11 -0
  872. package/custom/node_modules/quill/formats/bold.js +19 -0
  873. package/custom/node_modules/quill/formats/bold.js.map +1 -0
  874. package/custom/node_modules/quill/formats/code.d.ts +15 -0
  875. package/custom/node_modules/quill/formats/code.js +44 -0
  876. package/custom/node_modules/quill/formats/code.js.map +1 -0
  877. package/custom/node_modules/quill/formats/color.d.ts +7 -0
  878. package/custom/node_modules/quill/formats/color.js +18 -0
  879. package/custom/node_modules/quill/formats/color.js.map +1 -0
  880. package/custom/node_modules/quill/formats/direction.d.ts +5 -0
  881. package/custom/node_modules/quill/formats/direction.js +10 -0
  882. package/custom/node_modules/quill/formats/direction.js.map +1 -0
  883. package/custom/node_modules/quill/formats/font.d.ts +7 -0
  884. package/custom/node_modules/quill/formats/font.js +14 -0
  885. package/custom/node_modules/quill/formats/font.js.map +1 -0
  886. package/custom/node_modules/quill/formats/formula.d.ts +10 -0
  887. package/custom/node_modules/quill/formats/formula.js +33 -0
  888. package/custom/node_modules/quill/formats/formula.js.map +1 -0
  889. package/custom/node_modules/quill/formats/header.d.ts +7 -0
  890. package/custom/node_modules/quill/formats/header.js +10 -0
  891. package/custom/node_modules/quill/formats/header.js.map +1 -0
  892. package/custom/node_modules/quill/formats/image.d.ts +13 -0
  893. package/custom/node_modules/quill/formats/image.js +44 -0
  894. package/custom/node_modules/quill/formats/image.js.map +1 -0
  895. package/custom/node_modules/quill/formats/indent.d.ts +8 -0
  896. package/custom/node_modules/quill/formats/indent.js +30 -0
  897. package/custom/node_modules/quill/formats/indent.js.map +1 -0
  898. package/custom/node_modules/quill/formats/italic.d.ts +6 -0
  899. package/custom/node_modules/quill/formats/italic.js +7 -0
  900. package/custom/node_modules/quill/formats/italic.js.map +1 -0
  901. package/custom/node_modules/quill/formats/link.d.ts +13 -0
  902. package/custom/node_modules/quill/formats/link.js +36 -0
  903. package/custom/node_modules/quill/formats/link.js.map +1 -0
  904. package/custom/node_modules/quill/formats/list.d.ts +13 -0
  905. package/custom/node_modules/quill/formats/list.js +50 -0
  906. package/custom/node_modules/quill/formats/list.js.map +1 -0
  907. package/custom/node_modules/quill/formats/script.d.ts +8 -0
  908. package/custom/node_modules/quill/formats/script.js +21 -0
  909. package/custom/node_modules/quill/formats/script.js.map +1 -0
  910. package/custom/node_modules/quill/formats/size.d.ts +4 -0
  911. package/custom/node_modules/quill/formats/size.js +11 -0
  912. package/custom/node_modules/quill/formats/size.js.map +1 -0
  913. package/custom/node_modules/quill/formats/strike.d.ts +6 -0
  914. package/custom/node_modules/quill/formats/strike.js +7 -0
  915. package/custom/node_modules/quill/formats/strike.js.map +1 -0
  916. package/custom/node_modules/quill/formats/table.d.ts +45 -0
  917. package/custom/node_modules/quill/formats/table.js +176 -0
  918. package/custom/node_modules/quill/formats/table.js.map +1 -0
  919. package/custom/node_modules/quill/formats/underline.d.ts +6 -0
  920. package/custom/node_modules/quill/formats/underline.js +7 -0
  921. package/custom/node_modules/quill/formats/underline.js.map +1 -0
  922. package/custom/node_modules/quill/formats/video.d.ts +14 -0
  923. package/custom/node_modules/quill/formats/video.js +48 -0
  924. package/custom/node_modules/quill/formats/video.js.map +1 -0
  925. package/custom/node_modules/quill/modules/clipboard.d.ts +43 -0
  926. package/custom/node_modules/quill/modules/clipboard.js +475 -0
  927. package/custom/node_modules/quill/modules/clipboard.js.map +1 -0
  928. package/custom/node_modules/quill/modules/history.d.ts +36 -0
  929. package/custom/node_modules/quill/modules/history.js +178 -0
  930. package/custom/node_modules/quill/modules/history.js.map +1 -0
  931. package/custom/node_modules/quill/modules/input.d.ts +10 -0
  932. package/custom/node_modules/quill/modules/input.js +83 -0
  933. package/custom/node_modules/quill/modules/input.js.map +1 -0
  934. package/custom/node_modules/quill/modules/keyboard.d.ts +58 -0
  935. package/custom/node_modules/quill/modules/keyboard.js +713 -0
  936. package/custom/node_modules/quill/modules/keyboard.js.map +1 -0
  937. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.d.ts +2 -0
  938. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js +12 -0
  939. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js.map +1 -0
  940. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +1 -0
  941. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js +24 -0
  942. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js.map +1 -0
  943. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.d.ts +1 -0
  944. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js +87 -0
  945. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js.map +1 -0
  946. package/custom/node_modules/quill/modules/syntax.d.ts +50 -0
  947. package/custom/node_modules/quill/modules/syntax.js +332 -0
  948. package/custom/node_modules/quill/modules/syntax.js.map +1 -0
  949. package/custom/node_modules/quill/modules/table.d.ts +20 -0
  950. package/custom/node_modules/quill/modules/table.js +125 -0
  951. package/custom/node_modules/quill/modules/table.js.map +1 -0
  952. package/custom/node_modules/quill/modules/tableEmbed.d.ts +27 -0
  953. package/custom/node_modules/quill/modules/tableEmbed.js +209 -0
  954. package/custom/node_modules/quill/modules/tableEmbed.js.map +1 -0
  955. package/custom/node_modules/quill/modules/toolbar.d.ts +24 -0
  956. package/custom/node_modules/quill/modules/toolbar.js +265 -0
  957. package/custom/node_modules/quill/modules/toolbar.js.map +1 -0
  958. package/custom/node_modules/quill/modules/uiNode.d.ts +19 -0
  959. package/custom/node_modules/quill/modules/uiNode.js +95 -0
  960. package/custom/node_modules/quill/modules/uiNode.js.map +1 -0
  961. package/custom/node_modules/quill/modules/uploader.d.ts +15 -0
  962. package/custom/node_modules/quill/modules/uploader.js +69 -0
  963. package/custom/node_modules/quill/modules/uploader.js.map +1 -0
  964. package/custom/node_modules/quill/package.json +100 -0
  965. package/custom/node_modules/quill/quill.d.ts +6 -0
  966. package/custom/node_modules/quill/quill.js +83 -0
  967. package/custom/node_modules/quill/quill.js.map +1 -0
  968. package/custom/node_modules/quill/themes/base.d.ts +35 -0
  969. package/custom/node_modules/quill/themes/base.js +257 -0
  970. package/custom/node_modules/quill/themes/base.js.map +1 -0
  971. package/custom/node_modules/quill/themes/bubble.d.ts +18 -0
  972. package/custom/node_modules/quill/themes/bubble.js +114 -0
  973. package/custom/node_modules/quill/themes/bubble.js.map +1 -0
  974. package/custom/node_modules/quill/themes/snow.d.ts +9 -0
  975. package/custom/node_modules/quill/themes/snow.js +122 -0
  976. package/custom/node_modules/quill/themes/snow.js.map +1 -0
  977. package/custom/node_modules/quill/types.d.js +2 -0
  978. package/custom/node_modules/quill/types.d.js.map +1 -0
  979. package/custom/node_modules/quill/ui/color-picker.d.ts +7 -0
  980. package/custom/node_modules/quill/ui/color-picker.js +30 -0
  981. package/custom/node_modules/quill/ui/color-picker.js.map +1 -0
  982. package/custom/node_modules/quill/ui/icon-picker.d.ts +7 -0
  983. package/custom/node_modules/quill/ui/icon-picker.js +22 -0
  984. package/custom/node_modules/quill/ui/icon-picker.js.map +1 -0
  985. package/custom/node_modules/quill/ui/icons.d.ts +49 -0
  986. package/custom/node_modules/quill/ui/icons.js +82 -0
  987. package/custom/node_modules/quill/ui/icons.js.map +1 -0
  988. package/custom/node_modules/quill/ui/picker.d.ts +16 -0
  989. package/custom/node_modules/quill/ui/picker.js +171 -0
  990. package/custom/node_modules/quill/ui/picker.js.map +1 -0
  991. package/custom/node_modules/quill/ui/tooltip.d.ts +12 -0
  992. package/custom/node_modules/quill/ui/tooltip.js +56 -0
  993. package/custom/node_modules/quill/ui/tooltip.js.map +1 -0
  994. package/custom/node_modules/quill-delta/LICENSE +14 -0
  995. package/custom/node_modules/quill-delta/README.md +672 -0
  996. package/custom/node_modules/quill-delta/dist/AttributeMap.d.ts +10 -0
  997. package/custom/node_modules/quill-delta/dist/AttributeMap.js +86 -0
  998. package/custom/node_modules/quill-delta/dist/AttributeMap.js.map +1 -0
  999. package/custom/node_modules/quill-delta/dist/Delta.d.ts +45 -0
  1000. package/custom/node_modules/quill-delta/dist/Delta.js +478 -0
  1001. package/custom/node_modules/quill-delta/dist/Delta.js.map +1 -0
  1002. package/custom/node_modules/quill-delta/dist/Op.d.ts +11 -0
  1003. package/custom/node_modules/quill-delta/dist/Op.js +22 -0
  1004. package/custom/node_modules/quill-delta/dist/Op.js.map +1 -0
  1005. package/custom/node_modules/quill-delta/dist/OpIterator.d.ts +13 -0
  1006. package/custom/node_modules/quill-delta/dist/OpIterator.js +106 -0
  1007. package/custom/node_modules/quill-delta/dist/OpIterator.js.map +1 -0
  1008. package/custom/node_modules/quill-delta/package.json +77 -0
  1009. package/custom/node_modules/quill-delta/src/AttributeMap.ts +101 -0
  1010. package/custom/node_modules/quill-delta/src/Delta.ts +573 -0
  1011. package/custom/node_modules/quill-delta/src/Op.ts +26 -0
  1012. package/custom/node_modules/quill-delta/src/OpIterator.ts +106 -0
  1013. package/custom/node_modules/quill-delta/tsconfig.json +15 -0
  1014. package/custom/quillEditor.vue +2 -2
  1015. package/dist/custom/quillEditor.vue +2 -2
  1016. package/dist/index.js +7 -3
  1017. package/index.ts +8 -5
  1018. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline.js","names":["EmbedBlot","InlineBlot","Scope","Break","Text","Inline","allowedChildren","order","compare","self","other","selfIndex","indexOf","otherIndex","formatAt","index","length","name","value","statics","blotName","scroll","query","BLOT","blot","isolate","wrap","optimize","context","parent","offset","moveChildren"],"sources":["../../src/blots/inline.ts"],"sourcesContent":["import { EmbedBlot, InlineBlot, Scope } from 'parchment';\nimport type { BlotConstructor } from 'parchment';\nimport Break from './break.js';\nimport Text from './text.js';\n\nclass Inline extends InlineBlot {\n static allowedChildren: BlotConstructor[] = [Inline, Break, EmbedBlot, Text];\n // Lower index means deeper in the DOM tree, since not found (-1) is for embeds\n static order = [\n 'cursor',\n 'inline', // Must be lower\n 'link', // Chrome wants <a> to be lower\n 'underline',\n 'strike',\n 'italic',\n 'bold',\n 'script',\n 'code', // Must be higher\n ];\n\n static compare(self: string, other: string) {\n const selfIndex = Inline.order.indexOf(self);\n const otherIndex = Inline.order.indexOf(other);\n if (selfIndex >= 0 || otherIndex >= 0) {\n return selfIndex - otherIndex;\n }\n if (self === other) {\n return 0;\n }\n if (self < other) {\n return -1;\n }\n return 1;\n }\n\n formatAt(index: number, length: number, name: string, value: unknown) {\n if (\n Inline.compare(this.statics.blotName, name) < 0 &&\n this.scroll.query(name, Scope.BLOT)\n ) {\n const blot = this.isolate(index, length);\n if (value) {\n blot.wrap(name, value);\n }\n } else {\n super.formatAt(index, length, name, value);\n }\n }\n\n optimize(context: { [key: string]: any }) {\n super.optimize(context);\n if (\n this.parent instanceof Inline &&\n Inline.compare(this.statics.blotName, this.parent.statics.blotName) > 0\n ) {\n const parent = this.parent.isolate(this.offset(), this.length());\n // @ts-expect-error TODO: make isolate generic\n this.moveChildren(parent);\n parent.wrap(this);\n }\n }\n}\n\nexport default Inline;\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,UAAU,EAAEC,KAAK,QAAQ,WAAW;AAExD,OAAOC,KAAK,MAAM,YAAY;AAC9B,OAAOC,IAAI,MAAM,WAAW;AAE5B,MAAMC,MAAM,SAASJ,UAAU,CAAC;EAC9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AS,QAAQA,CAACC,OAA+B,EAAE;IACxC,KAAK,CAACD,QAAQ,CAACC,OAAO,CAAC;IACvB,IACE,IAAI,CAACC,MAAM,YAAYxB,MAAM,IAC7BA,MAAM,CAACG,OAAO,CAAC,IAAI,CAACW,OAAO,CAACC,QAAQ,EAAE,IAAI,CAACS,MAAM,CAACV,OAAO,CAACC,QAAQ,CAAC,GAAG,CAAC,EACvE;MACA,MAAMS,MAAM,GAAG,IAAI,CAACA,MAAM,CAACJ,OAAO,CAAC,IAAI,CAACK,MAAM,CAAC,CAAC,EAAE,IAAI,CAACd,MAAM,CAAC,CAAC,CAAC;MAChE;MACA,IAAI,CAACe,YAAY,CAACF,MAAM,CAAC;MACzBA,MAAM,CAACH,IAAI,CAAC,IAAI,CAAC;IACnB;EACF;AACF;AAEA,eAAerB,MAAM","ignoreList":[]}
@@ -0,0 +1,49 @@
1
+ import { LeafBlot, ScrollBlot } from 'parchment';
2
+ import type { Blot, Registry } from 'parchment';
3
+ import Delta from 'quill-delta';
4
+ import Emitter from '../core/emitter.js';
5
+ import type { EmitterSource } from '../core/emitter.js';
6
+ import Block, { BlockEmbed } from './block.js';
7
+ import Container from './container.js';
8
+ declare class Scroll extends ScrollBlot {
9
+ static blotName: string;
10
+ static className: string;
11
+ static tagName: string;
12
+ static defaultChild: typeof Block;
13
+ static allowedChildren: (typeof Block | typeof BlockEmbed | typeof Container)[];
14
+ emitter: Emitter;
15
+ batch: false | MutationRecord[];
16
+ constructor(registry: Registry, domNode: HTMLDivElement, { emitter }: {
17
+ emitter: Emitter;
18
+ });
19
+ batchStart(): void;
20
+ batchEnd(): void;
21
+ emitMount(blot: Blot): void;
22
+ emitUnmount(blot: Blot): void;
23
+ emitEmbedUpdate(blot: Blot, change: unknown): void;
24
+ deleteAt(index: number, length: number): void;
25
+ enable(enabled?: boolean): void;
26
+ formatAt(index: number, length: number, format: string, value: unknown): void;
27
+ insertAt(index: number, value: string, def?: unknown): void;
28
+ insertBefore(blot: Blot, ref?: Blot | null): void;
29
+ insertContents(index: number, delta: Delta): void;
30
+ isEnabled(): boolean;
31
+ leaf(index: number): [LeafBlot | null, number];
32
+ line(index: number): [Block | BlockEmbed | null, number];
33
+ lines(index?: number, length?: number): (Block | BlockEmbed)[];
34
+ optimize(context?: {
35
+ [key: string]: any;
36
+ }): void;
37
+ optimize(mutations?: MutationRecord[], context?: {
38
+ [key: string]: any;
39
+ }): void;
40
+ path(index: number): [Blot, number][];
41
+ remove(): void;
42
+ update(source?: EmitterSource): void;
43
+ update(mutations?: MutationRecord[]): void;
44
+ updateEmbedAt(index: number, key: string, change: unknown): void;
45
+ protected handleDragStart(event: DragEvent): void;
46
+ private deltaToRenderBlocks;
47
+ private createBlock;
48
+ }
49
+ export default Scroll;
@@ -0,0 +1,349 @@
1
+ import { ContainerBlot, LeafBlot, Scope, ScrollBlot } from 'parchment';
2
+ import Delta, { AttributeMap, Op } from 'quill-delta';
3
+ import Emitter from '../core/emitter.js';
4
+ import Block, { BlockEmbed, bubbleFormats } from './block.js';
5
+ import Break from './break.js';
6
+ import Container from './container.js';
7
+ function isLine(blot) {
8
+ return blot instanceof Block || blot instanceof BlockEmbed;
9
+ }
10
+ function isUpdatable(blot) {
11
+ return typeof blot.updateContent === 'function';
12
+ }
13
+ class Scroll extends ScrollBlot {
14
+ static blotName = 'scroll';
15
+ static className = 'ql-editor';
16
+ static tagName = 'DIV';
17
+ static defaultChild = Block;
18
+ static allowedChildren = [Block, BlockEmbed, Container];
19
+ constructor(registry, domNode, _ref) {
20
+ let {
21
+ emitter
22
+ } = _ref;
23
+ super(registry, domNode);
24
+ this.emitter = emitter;
25
+ this.batch = false;
26
+ this.optimize();
27
+ this.enable();
28
+ this.domNode.addEventListener('dragstart', e => this.handleDragStart(e));
29
+ }
30
+ batchStart() {
31
+ if (!Array.isArray(this.batch)) {
32
+ this.batch = [];
33
+ }
34
+ }
35
+ batchEnd() {
36
+ if (!this.batch) return;
37
+ const mutations = this.batch;
38
+ this.batch = false;
39
+ this.update(mutations);
40
+ }
41
+ emitMount(blot) {
42
+ this.emitter.emit(Emitter.events.SCROLL_BLOT_MOUNT, blot);
43
+ }
44
+ emitUnmount(blot) {
45
+ this.emitter.emit(Emitter.events.SCROLL_BLOT_UNMOUNT, blot);
46
+ }
47
+ emitEmbedUpdate(blot, change) {
48
+ this.emitter.emit(Emitter.events.SCROLL_EMBED_UPDATE, blot, change);
49
+ }
50
+ deleteAt(index, length) {
51
+ const [first, offset] = this.line(index);
52
+ const [last] = this.line(index + length);
53
+ super.deleteAt(index, length);
54
+ if (last != null && first !== last && offset > 0) {
55
+ if (first instanceof BlockEmbed || last instanceof BlockEmbed) {
56
+ this.optimize();
57
+ return;
58
+ }
59
+ const ref = last.children.head instanceof Break ? null : last.children.head;
60
+ // @ts-expect-error
61
+ first.moveChildren(last, ref);
62
+ // @ts-expect-error
63
+ first.remove();
64
+ }
65
+ this.optimize();
66
+ }
67
+ enable() {
68
+ let enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
69
+ this.domNode.setAttribute('contenteditable', enabled ? 'true' : 'false');
70
+ }
71
+ formatAt(index, length, format, value) {
72
+ super.formatAt(index, length, format, value);
73
+ this.optimize();
74
+ }
75
+ insertAt(index, value, def) {
76
+ if (index >= this.length()) {
77
+ if (def == null || this.scroll.query(value, Scope.BLOCK) == null) {
78
+ const blot = this.scroll.create(this.statics.defaultChild.blotName);
79
+ this.appendChild(blot);
80
+ if (def == null && value.endsWith('\n')) {
81
+ blot.insertAt(0, value.slice(0, -1), def);
82
+ } else {
83
+ blot.insertAt(0, value, def);
84
+ }
85
+ } else {
86
+ const embed = this.scroll.create(value, def);
87
+ this.appendChild(embed);
88
+ }
89
+ } else {
90
+ super.insertAt(index, value, def);
91
+ }
92
+ this.optimize();
93
+ }
94
+ insertBefore(blot, ref) {
95
+ if (blot.statics.scope === Scope.INLINE_BLOT) {
96
+ const wrapper = this.scroll.create(this.statics.defaultChild.blotName);
97
+ wrapper.appendChild(blot);
98
+ super.insertBefore(wrapper, ref);
99
+ } else {
100
+ super.insertBefore(blot, ref);
101
+ }
102
+ }
103
+ insertContents(index, delta) {
104
+ const renderBlocks = this.deltaToRenderBlocks(delta.concat(new Delta().insert('\n')));
105
+ const last = renderBlocks.pop();
106
+ if (last == null) return;
107
+ this.batchStart();
108
+ const first = renderBlocks.shift();
109
+ if (first) {
110
+ const shouldInsertNewlineChar = first.type === 'block' && (first.delta.length() === 0 || !this.descendant(BlockEmbed, index)[0] && index < this.length());
111
+ const delta = first.type === 'block' ? first.delta : new Delta().insert({
112
+ [first.key]: first.value
113
+ });
114
+ insertInlineContents(this, index, delta);
115
+ const newlineCharLength = first.type === 'block' ? 1 : 0;
116
+ const lineEndIndex = index + delta.length() + newlineCharLength;
117
+ if (shouldInsertNewlineChar) {
118
+ this.insertAt(lineEndIndex - 1, '\n');
119
+ }
120
+ const formats = bubbleFormats(this.line(index)[0]);
121
+ const attributes = AttributeMap.diff(formats, first.attributes) || {};
122
+ Object.keys(attributes).forEach(name => {
123
+ this.formatAt(lineEndIndex - 1, 1, name, attributes[name]);
124
+ });
125
+ index = lineEndIndex;
126
+ }
127
+ let [refBlot, refBlotOffset] = this.children.find(index);
128
+ if (renderBlocks.length) {
129
+ if (refBlot) {
130
+ refBlot = refBlot.split(refBlotOffset);
131
+ refBlotOffset = 0;
132
+ }
133
+ renderBlocks.forEach(renderBlock => {
134
+ if (renderBlock.type === 'block') {
135
+ const block = this.createBlock(renderBlock.attributes, refBlot || undefined);
136
+ insertInlineContents(block, 0, renderBlock.delta);
137
+ } else {
138
+ const blockEmbed = this.create(renderBlock.key, renderBlock.value);
139
+ this.insertBefore(blockEmbed, refBlot || undefined);
140
+ Object.keys(renderBlock.attributes).forEach(name => {
141
+ blockEmbed.format(name, renderBlock.attributes[name]);
142
+ });
143
+ }
144
+ });
145
+ }
146
+ if (last.type === 'block' && last.delta.length()) {
147
+ const offset = refBlot ? refBlot.offset(refBlot.scroll) + refBlotOffset : this.length();
148
+ insertInlineContents(this, offset, last.delta);
149
+ }
150
+ this.batchEnd();
151
+ this.optimize();
152
+ }
153
+ isEnabled() {
154
+ return this.domNode.getAttribute('contenteditable') === 'true';
155
+ }
156
+ leaf(index) {
157
+ const last = this.path(index).pop();
158
+ if (!last) {
159
+ return [null, -1];
160
+ }
161
+ const [blot, offset] = last;
162
+ return blot instanceof LeafBlot ? [blot, offset] : [null, -1];
163
+ }
164
+ line(index) {
165
+ if (index === this.length()) {
166
+ return this.line(index - 1);
167
+ }
168
+ // @ts-expect-error TODO: make descendant() generic
169
+ return this.descendant(isLine, index);
170
+ }
171
+ lines() {
172
+ let index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
173
+ let length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.MAX_VALUE;
174
+ const getLines = (blot, blotIndex, blotLength) => {
175
+ let lines = [];
176
+ let lengthLeft = blotLength;
177
+ blot.children.forEachAt(blotIndex, blotLength, (child, childIndex, childLength) => {
178
+ if (isLine(child)) {
179
+ lines.push(child);
180
+ } else if (child instanceof ContainerBlot) {
181
+ lines = lines.concat(getLines(child, childIndex, lengthLeft));
182
+ }
183
+ lengthLeft -= childLength;
184
+ });
185
+ return lines;
186
+ };
187
+ return getLines(this, index, length);
188
+ }
189
+ optimize() {
190
+ let mutations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
191
+ let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
192
+ if (this.batch) return;
193
+ super.optimize(mutations, context);
194
+ if (mutations.length > 0) {
195
+ this.emitter.emit(Emitter.events.SCROLL_OPTIMIZE, mutations, context);
196
+ }
197
+ }
198
+ path(index) {
199
+ return super.path(index).slice(1); // Exclude self
200
+ }
201
+ remove() {
202
+ // Never remove self
203
+ }
204
+ update(mutations) {
205
+ if (this.batch) {
206
+ if (Array.isArray(mutations)) {
207
+ this.batch = this.batch.concat(mutations);
208
+ }
209
+ return;
210
+ }
211
+ let source = Emitter.sources.USER;
212
+ if (typeof mutations === 'string') {
213
+ source = mutations;
214
+ }
215
+ if (!Array.isArray(mutations)) {
216
+ mutations = this.observer.takeRecords();
217
+ }
218
+ mutations = mutations.filter(_ref2 => {
219
+ let {
220
+ target
221
+ } = _ref2;
222
+ const blot = this.find(target, true);
223
+ return blot && !isUpdatable(blot);
224
+ });
225
+ if (mutations.length > 0) {
226
+ this.emitter.emit(Emitter.events.SCROLL_BEFORE_UPDATE, source, mutations);
227
+ }
228
+ super.update(mutations.concat([])); // pass copy
229
+ if (mutations.length > 0) {
230
+ this.emitter.emit(Emitter.events.SCROLL_UPDATE, source, mutations);
231
+ }
232
+ }
233
+ updateEmbedAt(index, key, change) {
234
+ // Currently it only supports top-level embeds (BlockEmbed).
235
+ // We can update `ParentBlot` in parchment to support inline embeds.
236
+ const [blot] = this.descendant(b => b instanceof BlockEmbed, index);
237
+ if (blot && blot.statics.blotName === key && isUpdatable(blot)) {
238
+ blot.updateContent(change);
239
+ }
240
+ }
241
+ handleDragStart(event) {
242
+ event.preventDefault();
243
+ }
244
+ deltaToRenderBlocks(delta) {
245
+ const renderBlocks = [];
246
+ let currentBlockDelta = new Delta();
247
+ delta.forEach(op => {
248
+ const insert = op?.insert;
249
+ if (!insert) return;
250
+ if (typeof insert === 'string') {
251
+ const splitted = insert.split('\n');
252
+ splitted.slice(0, -1).forEach(text => {
253
+ currentBlockDelta.insert(text, op.attributes);
254
+ renderBlocks.push({
255
+ type: 'block',
256
+ delta: currentBlockDelta,
257
+ attributes: op.attributes ?? {}
258
+ });
259
+ currentBlockDelta = new Delta();
260
+ });
261
+ const last = splitted[splitted.length - 1];
262
+ if (last) {
263
+ currentBlockDelta.insert(last, op.attributes);
264
+ }
265
+ } else {
266
+ const key = Object.keys(insert)[0];
267
+ if (!key) return;
268
+ if (this.query(key, Scope.INLINE)) {
269
+ currentBlockDelta.push(op);
270
+ } else {
271
+ if (currentBlockDelta.length()) {
272
+ renderBlocks.push({
273
+ type: 'block',
274
+ delta: currentBlockDelta,
275
+ attributes: {}
276
+ });
277
+ }
278
+ currentBlockDelta = new Delta();
279
+ renderBlocks.push({
280
+ type: 'blockEmbed',
281
+ key,
282
+ value: insert[key],
283
+ attributes: op.attributes ?? {}
284
+ });
285
+ }
286
+ }
287
+ });
288
+ if (currentBlockDelta.length()) {
289
+ renderBlocks.push({
290
+ type: 'block',
291
+ delta: currentBlockDelta,
292
+ attributes: {}
293
+ });
294
+ }
295
+ return renderBlocks;
296
+ }
297
+ createBlock(attributes, refBlot) {
298
+ let blotName;
299
+ const formats = {};
300
+ Object.entries(attributes).forEach(_ref3 => {
301
+ let [key, value] = _ref3;
302
+ const isBlockBlot = this.query(key, Scope.BLOCK & Scope.BLOT) != null;
303
+ if (isBlockBlot) {
304
+ blotName = key;
305
+ } else {
306
+ formats[key] = value;
307
+ }
308
+ });
309
+ const block = this.create(blotName || this.statics.defaultChild.blotName, blotName ? attributes[blotName] : undefined);
310
+ this.insertBefore(block, refBlot || undefined);
311
+ const length = block.length();
312
+ Object.entries(formats).forEach(_ref4 => {
313
+ let [key, value] = _ref4;
314
+ block.formatAt(0, length, key, value);
315
+ });
316
+ return block;
317
+ }
318
+ }
319
+ function insertInlineContents(parent, index, inlineContents) {
320
+ inlineContents.reduce((index, op) => {
321
+ const length = Op.length(op);
322
+ let attributes = op.attributes || {};
323
+ if (op.insert != null) {
324
+ if (typeof op.insert === 'string') {
325
+ const text = op.insert;
326
+ parent.insertAt(index, text);
327
+ const [leaf] = parent.descendant(LeafBlot, index);
328
+ const formats = bubbleFormats(leaf);
329
+ attributes = AttributeMap.diff(formats, attributes) || {};
330
+ } else if (typeof op.insert === 'object') {
331
+ const key = Object.keys(op.insert)[0]; // There should only be one key
332
+ if (key == null) return index;
333
+ parent.insertAt(index, key, op.insert[key]);
334
+ const isInlineEmbed = parent.scroll.query(key, Scope.INLINE) != null;
335
+ if (isInlineEmbed) {
336
+ const [leaf] = parent.descendant(LeafBlot, index);
337
+ const formats = bubbleFormats(leaf);
338
+ attributes = AttributeMap.diff(formats, attributes) || {};
339
+ }
340
+ }
341
+ }
342
+ Object.keys(attributes).forEach(key => {
343
+ parent.formatAt(index, length, key, attributes[key]);
344
+ });
345
+ return index + length;
346
+ }, index);
347
+ }
348
+ export default Scroll;
349
+ //# sourceMappingURL=scroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll.js","names":["ContainerBlot","LeafBlot","Scope","ScrollBlot","Delta","AttributeMap","Op","Emitter","Block","BlockEmbed","bubbleFormats","Break","Container","isLine","blot","isUpdatable","updateContent","Scroll","blotName","className","tagName","defaultChild","allowedChildren","constructor","registry","domNode","_ref","emitter","batch","optimize","enable","addEventListener","e","handleDragStart","batchStart","Array","isArray","batchEnd","mutations","update","emitMount","emit","events","SCROLL_BLOT_MOUNT","emitUnmount","SCROLL_BLOT_UNMOUNT","emitEmbedUpdate","change","SCROLL_EMBED_UPDATE","deleteAt","index","length","first","offset","line","last","ref","children","head","moveChildren","remove","enabled","arguments","undefined","setAttribute","formatAt","format","value","insertAt","def","scroll","query","BLOCK","create","statics","appendChild","endsWith","slice","embed","insertBefore","scope","INLINE_BLOT","wrapper","insertContents","delta","renderBlocks","deltaToRenderBlocks","concat","insert","pop","shift","shouldInsertNewlineChar","type","descendant","key","insertInlineContents","newlineCharLength","lineEndIndex","formats","attributes","diff","Object","keys","forEach","name","refBlot","refBlotOffset","find","split","renderBlock","block","createBlock","blockEmbed","isEnabled","getAttribute","leaf","path","lines","Number","MAX_VALUE","getLines","blotIndex","blotLength","lengthLeft","forEachAt","child","childIndex","childLength","push","context","SCROLL_OPTIMIZE","source","sources","USER","observer","takeRecords","filter","_ref2","target","SCROLL_BEFORE_UPDATE","SCROLL_UPDATE","updateEmbedAt","b","event","preventDefault","currentBlockDelta","op","splitted","text","INLINE","entries","_ref3","isBlockBlot","BLOT","_ref4","parent","inlineContents","reduce","isInlineEmbed"],"sources":["../../src/blots/scroll.ts"],"sourcesContent":["import { ContainerBlot, LeafBlot, Scope, ScrollBlot } from 'parchment';\nimport type { Blot, Parent, EmbedBlot, ParentBlot, Registry } from 'parchment';\nimport Delta, { AttributeMap, Op } from 'quill-delta';\nimport Emitter from '../core/emitter.js';\nimport type { EmitterSource } from '../core/emitter.js';\nimport Block, { BlockEmbed, bubbleFormats } from './block.js';\nimport Break from './break.js';\nimport Container from './container.js';\n\ntype RenderBlock =\n | {\n type: 'blockEmbed';\n attributes: AttributeMap;\n key: string;\n value: unknown;\n }\n | { type: 'block'; attributes: AttributeMap; delta: Delta };\n\nfunction isLine(blot: unknown): blot is Block | BlockEmbed {\n return blot instanceof Block || blot instanceof BlockEmbed;\n}\n\ninterface UpdatableEmbed {\n updateContent(change: unknown): void;\n}\n\nfunction isUpdatable(blot: Blot): blot is Blot & UpdatableEmbed {\n return typeof (blot as unknown as any).updateContent === 'function';\n}\n\nclass Scroll extends ScrollBlot {\n static blotName = 'scroll';\n static className = 'ql-editor';\n static tagName = 'DIV';\n static defaultChild = Block;\n static allowedChildren = [Block, BlockEmbed, Container];\n\n emitter: Emitter;\n batch: false | MutationRecord[];\n\n constructor(\n registry: Registry,\n domNode: HTMLDivElement,\n { emitter }: { emitter: Emitter },\n ) {\n super(registry, domNode);\n this.emitter = emitter;\n this.batch = false;\n this.optimize();\n this.enable();\n this.domNode.addEventListener('dragstart', (e) => this.handleDragStart(e));\n }\n\n batchStart() {\n if (!Array.isArray(this.batch)) {\n this.batch = [];\n }\n }\n\n batchEnd() {\n if (!this.batch) return;\n const mutations = this.batch;\n this.batch = false;\n this.update(mutations);\n }\n\n emitMount(blot: Blot) {\n this.emitter.emit(Emitter.events.SCROLL_BLOT_MOUNT, blot);\n }\n\n emitUnmount(blot: Blot) {\n this.emitter.emit(Emitter.events.SCROLL_BLOT_UNMOUNT, blot);\n }\n\n emitEmbedUpdate(blot: Blot, change: unknown) {\n this.emitter.emit(Emitter.events.SCROLL_EMBED_UPDATE, blot, change);\n }\n\n deleteAt(index: number, length: number) {\n const [first, offset] = this.line(index);\n const [last] = this.line(index + length);\n super.deleteAt(index, length);\n if (last != null && first !== last && offset > 0) {\n if (first instanceof BlockEmbed || last instanceof BlockEmbed) {\n this.optimize();\n return;\n }\n const ref =\n last.children.head instanceof Break ? null : last.children.head;\n // @ts-expect-error\n first.moveChildren(last, ref);\n // @ts-expect-error\n first.remove();\n }\n this.optimize();\n }\n\n enable(enabled = true) {\n this.domNode.setAttribute('contenteditable', enabled ? 'true' : 'false');\n }\n\n formatAt(index: number, length: number, format: string, value: unknown) {\n super.formatAt(index, length, format, value);\n this.optimize();\n }\n\n insertAt(index: number, value: string, def?: unknown) {\n if (index >= this.length()) {\n if (def == null || this.scroll.query(value, Scope.BLOCK) == null) {\n const blot = this.scroll.create(this.statics.defaultChild.blotName);\n this.appendChild(blot);\n if (def == null && value.endsWith('\\n')) {\n blot.insertAt(0, value.slice(0, -1), def);\n } else {\n blot.insertAt(0, value, def);\n }\n } else {\n const embed = this.scroll.create(value, def);\n this.appendChild(embed);\n }\n } else {\n super.insertAt(index, value, def);\n }\n this.optimize();\n }\n\n insertBefore(blot: Blot, ref?: Blot | null) {\n if (blot.statics.scope === Scope.INLINE_BLOT) {\n const wrapper = this.scroll.create(\n this.statics.defaultChild.blotName,\n ) as Parent;\n wrapper.appendChild(blot);\n super.insertBefore(wrapper, ref);\n } else {\n super.insertBefore(blot, ref);\n }\n }\n\n insertContents(index: number, delta: Delta) {\n const renderBlocks = this.deltaToRenderBlocks(\n delta.concat(new Delta().insert('\\n')),\n );\n const last = renderBlocks.pop();\n if (last == null) return;\n\n this.batchStart();\n\n const first = renderBlocks.shift();\n if (first) {\n const shouldInsertNewlineChar =\n first.type === 'block' &&\n (first.delta.length() === 0 ||\n (!this.descendant(BlockEmbed, index)[0] && index < this.length()));\n const delta =\n first.type === 'block'\n ? first.delta\n : new Delta().insert({ [first.key]: first.value });\n insertInlineContents(this, index, delta);\n const newlineCharLength = first.type === 'block' ? 1 : 0;\n const lineEndIndex = index + delta.length() + newlineCharLength;\n if (shouldInsertNewlineChar) {\n this.insertAt(lineEndIndex - 1, '\\n');\n }\n\n const formats = bubbleFormats(this.line(index)[0]);\n const attributes = AttributeMap.diff(formats, first.attributes) || {};\n Object.keys(attributes).forEach((name) => {\n this.formatAt(lineEndIndex - 1, 1, name, attributes[name]);\n });\n\n index = lineEndIndex;\n }\n\n let [refBlot, refBlotOffset] = this.children.find(index);\n if (renderBlocks.length) {\n if (refBlot) {\n refBlot = refBlot.split(refBlotOffset);\n refBlotOffset = 0;\n }\n\n renderBlocks.forEach((renderBlock) => {\n if (renderBlock.type === 'block') {\n const block = this.createBlock(\n renderBlock.attributes,\n refBlot || undefined,\n );\n insertInlineContents(block, 0, renderBlock.delta);\n } else {\n const blockEmbed = this.create(\n renderBlock.key,\n renderBlock.value,\n ) as EmbedBlot;\n this.insertBefore(blockEmbed, refBlot || undefined);\n Object.keys(renderBlock.attributes).forEach((name) => {\n blockEmbed.format(name, renderBlock.attributes[name]);\n });\n }\n });\n }\n\n if (last.type === 'block' && last.delta.length()) {\n const offset = refBlot\n ? refBlot.offset(refBlot.scroll) + refBlotOffset\n : this.length();\n insertInlineContents(this, offset, last.delta);\n }\n\n this.batchEnd();\n this.optimize();\n }\n\n isEnabled() {\n return this.domNode.getAttribute('contenteditable') === 'true';\n }\n\n leaf(index: number): [LeafBlot | null, number] {\n const last = this.path(index).pop();\n if (!last) {\n return [null, -1];\n }\n\n const [blot, offset] = last;\n return blot instanceof LeafBlot ? [blot, offset] : [null, -1];\n }\n\n line(index: number): [Block | BlockEmbed | null, number] {\n if (index === this.length()) {\n return this.line(index - 1);\n }\n // @ts-expect-error TODO: make descendant() generic\n return this.descendant(isLine, index);\n }\n\n lines(index = 0, length = Number.MAX_VALUE): (Block | BlockEmbed)[] {\n const getLines = (\n blot: ParentBlot,\n blotIndex: number,\n blotLength: number,\n ) => {\n let lines: (Block | BlockEmbed)[] = [];\n let lengthLeft = blotLength;\n blot.children.forEachAt(\n blotIndex,\n blotLength,\n (child, childIndex, childLength) => {\n if (isLine(child)) {\n lines.push(child);\n } else if (child instanceof ContainerBlot) {\n lines = lines.concat(getLines(child, childIndex, lengthLeft));\n }\n lengthLeft -= childLength;\n },\n );\n return lines;\n };\n return getLines(this, index, length);\n }\n\n optimize(context?: { [key: string]: any }): void;\n optimize(\n mutations?: MutationRecord[],\n context?: { [key: string]: any },\n ): void;\n optimize(mutations = [], context = {}) {\n if (this.batch) return;\n super.optimize(mutations, context);\n if (mutations.length > 0) {\n this.emitter.emit(Emitter.events.SCROLL_OPTIMIZE, mutations, context);\n }\n }\n\n path(index: number) {\n return super.path(index).slice(1); // Exclude self\n }\n\n remove() {\n // Never remove self\n }\n\n update(source?: EmitterSource): void;\n update(mutations?: MutationRecord[]): void;\n update(mutations?: MutationRecord[] | EmitterSource): void {\n if (this.batch) {\n if (Array.isArray(mutations)) {\n this.batch = this.batch.concat(mutations);\n }\n return;\n }\n let source: EmitterSource = Emitter.sources.USER;\n if (typeof mutations === 'string') {\n source = mutations;\n }\n if (!Array.isArray(mutations)) {\n mutations = this.observer.takeRecords();\n }\n mutations = mutations.filter(({ target }) => {\n const blot = this.find(target, true);\n return blot && !isUpdatable(blot);\n });\n if (mutations.length > 0) {\n this.emitter.emit(Emitter.events.SCROLL_BEFORE_UPDATE, source, mutations);\n }\n super.update(mutations.concat([])); // pass copy\n if (mutations.length > 0) {\n this.emitter.emit(Emitter.events.SCROLL_UPDATE, source, mutations);\n }\n }\n\n updateEmbedAt(index: number, key: string, change: unknown) {\n // Currently it only supports top-level embeds (BlockEmbed).\n // We can update `ParentBlot` in parchment to support inline embeds.\n const [blot] = this.descendant((b: Blot) => b instanceof BlockEmbed, index);\n if (blot && blot.statics.blotName === key && isUpdatable(blot)) {\n blot.updateContent(change);\n }\n }\n\n protected handleDragStart(event: DragEvent) {\n event.preventDefault();\n }\n\n private deltaToRenderBlocks(delta: Delta) {\n const renderBlocks: RenderBlock[] = [];\n\n let currentBlockDelta = new Delta();\n delta.forEach((op) => {\n const insert = op?.insert;\n if (!insert) return;\n if (typeof insert === 'string') {\n const splitted = insert.split('\\n');\n splitted.slice(0, -1).forEach((text) => {\n currentBlockDelta.insert(text, op.attributes);\n renderBlocks.push({\n type: 'block',\n delta: currentBlockDelta,\n attributes: op.attributes ?? {},\n });\n currentBlockDelta = new Delta();\n });\n const last = splitted[splitted.length - 1];\n if (last) {\n currentBlockDelta.insert(last, op.attributes);\n }\n } else {\n const key = Object.keys(insert)[0];\n if (!key) return;\n if (this.query(key, Scope.INLINE)) {\n currentBlockDelta.push(op);\n } else {\n if (currentBlockDelta.length()) {\n renderBlocks.push({\n type: 'block',\n delta: currentBlockDelta,\n attributes: {},\n });\n }\n currentBlockDelta = new Delta();\n renderBlocks.push({\n type: 'blockEmbed',\n key,\n value: insert[key],\n attributes: op.attributes ?? {},\n });\n }\n }\n });\n\n if (currentBlockDelta.length()) {\n renderBlocks.push({\n type: 'block',\n delta: currentBlockDelta,\n attributes: {},\n });\n }\n\n return renderBlocks;\n }\n\n private createBlock(attributes: AttributeMap, refBlot?: Blot) {\n let blotName: string | undefined;\n const formats: AttributeMap = {};\n\n Object.entries(attributes).forEach(([key, value]) => {\n const isBlockBlot = this.query(key, Scope.BLOCK & Scope.BLOT) != null;\n if (isBlockBlot) {\n blotName = key;\n } else {\n formats[key] = value;\n }\n });\n\n const block = this.create(\n blotName || this.statics.defaultChild.blotName,\n blotName ? attributes[blotName] : undefined,\n ) as ParentBlot;\n\n this.insertBefore(block, refBlot || undefined);\n\n const length = block.length();\n Object.entries(formats).forEach(([key, value]) => {\n block.formatAt(0, length, key, value);\n });\n\n return block;\n }\n}\n\nfunction insertInlineContents(\n parent: ParentBlot,\n index: number,\n inlineContents: Delta,\n) {\n inlineContents.reduce((index, op) => {\n const length = Op.length(op);\n let attributes = op.attributes || {};\n if (op.insert != null) {\n if (typeof op.insert === 'string') {\n const text = op.insert;\n parent.insertAt(index, text);\n const [leaf] = parent.descendant(LeafBlot, index);\n const formats = bubbleFormats(leaf);\n attributes = AttributeMap.diff(formats, attributes) || {};\n } else if (typeof op.insert === 'object') {\n const key = Object.keys(op.insert)[0]; // There should only be one key\n if (key == null) return index;\n parent.insertAt(index, key, op.insert[key]);\n const isInlineEmbed = parent.scroll.query(key, Scope.INLINE) != null;\n if (isInlineEmbed) {\n const [leaf] = parent.descendant(LeafBlot, index);\n const formats = bubbleFormats(leaf);\n attributes = AttributeMap.diff(formats, attributes) || {};\n }\n }\n }\n Object.keys(attributes).forEach((key) => {\n parent.formatAt(index, length, key, attributes[key]);\n });\n return index + length;\n }, index);\n}\n\nexport default Scroll;\n"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,UAAU,QAAQ,WAAW;AAEtE,OAAOC,KAAK,IAAIC,YAAY,EAAEC,EAAE,QAAQ,aAAa;AACrD,OAAOC,OAAO,MAAM,oBAAoB;AAExC,OAAOC,KAAK,IAAIC,UAAU,EAAEC,aAAa,QAAQ,YAAY;AAC7D,OAAOC,KAAK,MAAM,YAAY;AAC9B,OAAOC,SAAS,MAAM,gBAAgB;AAWtC,SAASC,MAAMA,CAACC,IAAa,EAA8B;EACzD,OAAOA,IAAI,YAAYN,KAAK,IAAIM,IAAI,YAAYL,UAAU;AAC5D;AAMA,SAASM,WAAWA,CAACD,IAAU,EAAiC;EAC9D,OAAO,OAAQA,IAAI,CAAoBE,aAAa,KAAK,UAAU;AACrE;AAEA,MAAMC,MAAM,SAASd,UAAU,CAAC;EAC9B,OAAOe,QAAQ,GAAG,QAAQ;EAC1B,OAAOC,SAAS,GAAG,WAAW;EAC9B,OAAOC,OAAO,GAAG,KAAK;EACtB,OAAOC,YAAY,GAAGb,KAAK;EAC3B,OAAOc,eAAe,GAAG,CAACd,KAAK,EAAEC,UAAU,EAAEG,SAAS,CAAC;EAKvDW,WAAWA,CACTC,QAAkB,EAClBC,OAAuB,EAAAC,IAAA,EAEvB;IAAA,IADA;MAAEC;IAA8B,CAAC,GAAAD,IAAA;IAEjC,KAAK,CAACF,QAAQ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AClB,KAAK,EAAE4C,GAAG,EAAEoD,EAAE,CAAC1D,MAAM,CAACM,GAAG,CAAC,CAAC;QAC3C,MAAMgE,aAAa,GAAGH,MAAM,CAACrF,MAAM,CAACC,KAAK,CAACuB,GAAG,EAAE5F,KAAK,CAACmJ,MAAM,CAAC,IAAI,IAAI;QACpE,IAAIS,aAAa,EAAE;UACjB,MAAM,CAAC3C,IAAI,CAAC,GAAGwC,MAAM,CAAC9D,UAAU,CAAC5F,QAAQ,EAAEiD,KAAK,CAAC;UACjD,MAAMgD,OAAO,GAAGxF,aAAa,CAACyG,IAAI,CAAC;UACnChB,UAAU,GAAG9F,YAAY,CAAC+F,IAAI,CAACF,OAAO,EAAEC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC3D;MACF;IACF;IACAE,MAAM,CAACC,IAAI,CAACH,UAAU,CAAC,CAACI,OAAO,CAAET,GAAG,IAAK;MACvC6D,MAAM,CAAC1F,QAAQ,CAACf,KAAK,EAAEC,MAAM,EAAE2C,GAAG,EAAEK,UAAU,CAACL,GAAG,CAAC,CAAC;IACtD,CAAC,CAAC;IACF,OAAO5C,KAAK,GAAGC,MAAM;EACvB,CAAC,EAAED,KAAK,CAAC;AACX;AAEA,eAAejC,MAAM","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import { TextBlot } from 'parchment';
2
+ declare class Text extends TextBlot {
3
+ }
4
+ declare function escapeText(text: string): string;
5
+ export { Text as default, escapeText };
@@ -0,0 +1,17 @@
1
+ import { TextBlot } from 'parchment';
2
+ class Text extends TextBlot {}
3
+ function escapeText(text) {
4
+ return text.replace(/[&<>"']/g, s => {
5
+ // https://lodash.com/docs#escape
6
+ const entityMap = {
7
+ '&': '&amp;',
8
+ '<': '&lt;',
9
+ '>': '&gt;',
10
+ '"': '&quot;',
11
+ "'": '&#39;'
12
+ };
13
+ return entityMap[s];
14
+ });
15
+ }
16
+ export { Text as default, escapeText };
17
+ //# sourceMappingURL=text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.js","names":["TextBlot","Text","escapeText","text","replace","s","entityMap","default"],"sources":["../../src/blots/text.ts"],"sourcesContent":["import { TextBlot } from 'parchment';\n\nclass Text extends TextBlot {}\n\nfunction escapeText(text: string) {\n return text.replace(/[&<>\"']/g, (s) => {\n // https://lodash.com/docs#escape\n const entityMap: Record<string, string> = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n };\n return entityMap[s];\n });\n}\n\nexport { Text as default, escapeText };\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,WAAW;AAEpC,MAAMC,IAAI,SAASD,QAAQ,CAAC;AAE5B,SAASE,UAAUA,CAACC,IAAY,EAAE;EAChC,OAAOA,IAAI,CAACC,OAAO,CAAC,UAAU,EAAGC,CAAC,IAAK;IACrC;IACA,MAAMC,SAAiC,GAAG;MACxC,GAAG,EAAE,OAAO;MACZ,GAAG,EAAE,MAAM;MACX,GAAG,EAAE,MAAM;MACX,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE;IACP,CAAC;IACD,OAAOA,SAAS,CAACD,CAAC,CAAC;EACrB,CAAC,CAAC;AACJ;AAEA,SAASJ,IAAI,IAAIM,OAAO,EAAEL,UAAU","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ import type Scroll from '../blots/scroll.js';
2
+ import Emitter from './emitter.js';
3
+ declare class Composition {
4
+ private scroll;
5
+ private emitter;
6
+ isComposing: boolean;
7
+ constructor(scroll: Scroll, emitter: Emitter);
8
+ private setupListeners;
9
+ private handleCompositionStart;
10
+ private handleCompositionEnd;
11
+ }
12
+ export default Composition;
@@ -0,0 +1,44 @@
1
+ import Embed from '../blots/embed.js';
2
+ import Emitter from './emitter.js';
3
+ class Composition {
4
+ isComposing = false;
5
+ constructor(scroll, emitter) {
6
+ this.scroll = scroll;
7
+ this.emitter = emitter;
8
+ this.setupListeners();
9
+ }
10
+ setupListeners() {
11
+ this.scroll.domNode.addEventListener('compositionstart', event => {
12
+ if (!this.isComposing) {
13
+ this.handleCompositionStart(event);
14
+ }
15
+ });
16
+ this.scroll.domNode.addEventListener('compositionend', event => {
17
+ if (this.isComposing) {
18
+ // Webkit makes DOM changes after compositionend, so we use microtask to
19
+ // ensure the order.
20
+ // https://bugs.webkit.org/show_bug.cgi?id=31902
21
+ queueMicrotask(() => {
22
+ this.handleCompositionEnd(event);
23
+ });
24
+ }
25
+ });
26
+ }
27
+ handleCompositionStart(event) {
28
+ const blot = event.target instanceof Node ? this.scroll.find(event.target, true) : null;
29
+ if (blot && !(blot instanceof Embed)) {
30
+ this.emitter.emit(Emitter.events.COMPOSITION_BEFORE_START, event);
31
+ this.scroll.batchStart();
32
+ this.emitter.emit(Emitter.events.COMPOSITION_START, event);
33
+ this.isComposing = true;
34
+ }
35
+ }
36
+ handleCompositionEnd(event) {
37
+ this.emitter.emit(Emitter.events.COMPOSITION_BEFORE_END, event);
38
+ this.scroll.batchEnd();
39
+ this.emitter.emit(Emitter.events.COMPOSITION_END, event);
40
+ this.isComposing = false;
41
+ }
42
+ }
43
+ export default Composition;
44
+ //# sourceMappingURL=composition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composition.js","names":["Embed","Emitter","Composition","isComposing","constructor","scroll","emitter","setupListeners","domNode","addEventListener","event","handleCompositionStart","queueMicrotask","handleCompositionEnd","blot","target","Node","find","emit","events","COMPOSITION_BEFORE_START","batchStart","COMPOSITION_START","COMPOSITION_BEFORE_END","batchEnd","COMPOSITION_END"],"sources":["../../src/core/composition.ts"],"sourcesContent":["import Embed from '../blots/embed.js';\nimport type Scroll from '../blots/scroll.js';\nimport Emitter from './emitter.js';\n\nclass Composition {\n isComposing = false;\n\n constructor(\n private scroll: Scroll,\n private emitter: Emitter,\n ) {\n this.setupListeners();\n }\n\n private setupListeners() {\n this.scroll.domNode.addEventListener('compositionstart', (event) => {\n if (!this.isComposing) {\n this.handleCompositionStart(event);\n }\n });\n\n this.scroll.domNode.addEventListener('compositionend', (event) => {\n if (this.isComposing) {\n // Webkit makes DOM changes after compositionend, so we use microtask to\n // ensure the order.\n // https://bugs.webkit.org/show_bug.cgi?id=31902\n queueMicrotask(() => {\n this.handleCompositionEnd(event);\n });\n }\n });\n }\n\n private handleCompositionStart(event: CompositionEvent) {\n const blot =\n event.target instanceof Node\n ? this.scroll.find(event.target, true)\n : null;\n\n if (blot && !(blot instanceof Embed)) {\n this.emitter.emit(Emitter.events.COMPOSITION_BEFORE_START, event);\n this.scroll.batchStart();\n this.emitter.emit(Emitter.events.COMPOSITION_START, event);\n this.isComposing = true;\n }\n }\n\n private handleCompositionEnd(event: CompositionEvent) {\n this.emitter.emit(Emitter.events.COMPOSITION_BEFORE_END, event);\n this.scroll.batchEnd();\n this.emitter.emit(Emitter.events.COMPOSITION_END, event);\n this.isComposing = false;\n }\n}\n\nexport default Composition;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AAErC,OAAOC,OAAO,MAAM,cAAc;AAElC,MAAMC,WAAW,CAAC;EAChBC,WAAW,GAAG,KAAK;EAEnBC,WAAWA,CACDC,MAAc,EACdC,OAAgB,EACxB;IAAA,KAFQD,MAAc,GAAdA,MAAc;IAAA,KACdC,OAAgB,GAAhBA,OAAgB;IAExB,IAAI,CAACC,cAAc,CAAC,CAAC;EACvB;EAEQA,cAAcA,CAAA,EAAG;IACvB,IAAI,CAACF,MAAM,CAACG,OAAO,CAACC,gBAAgB,CAAC,kBAAkB,EAAGC,KAAK,IAAK;MAClE,IAAI,CAAC,IAAI,CAACP,WAAW,EAAE;QACrB,IAAI,CAACQ,sBAAsB,CAACD,KAAK,CAAC;MACpC;IACF,CAAC,CAAC;IAEF,IAAI,CAACL,MAAM,CAACG,OAAO,CAACC,gBAAgB,CAAC,gBAAgB,EAAGC,KAAK,IAAK;MAChE,IAAI,IAAI,CAACP,WAAW,EAAE;QACpB;QACA;QACA;QACAS,cAAc,CAAC,MAAM;UACnB,IAAI,CAACC,oBAAoB,CAACH,KAAK,CAAC;QAClC,CAAC,CAAC;MACJ;IACF,CAAC,CAAC;EACJ;EAEQC,sBAAsBA,CAACD,KAAuB,EAAE;IACtD,MAAMI,IAAI,GACRJ,KAAK,CAACK,MAAM,YAAYC,IAAI,GACxB,IAAI,CAACX,MAAM,CAACY,IAAI,CAACP,KAAK,CAACK,MAAM,EAAE,IAAI,CAAC,GACpC,IAAI;IAEV,IAAID,IAAI,IAAI,EAAEA,IAAI,YAAYd,KAAK,CAAC,EAAE;MACpC,IAAI,CAACM,OAAO,CAACY,IAAI,CAACjB,OAAO,CAACkB,MAAM,CAACC,wBAAwB,EAAEV,KAAK,CAAC;MACjE,IAAI,CAACL,MAAM,CAACgB,UAAU,CAAC,CAAC;MACxB,IAAI,CAACf,OAAO,CAACY,IAAI,CAACjB,OAAO,CAACkB,MAAM,CAACG,iBAAiB,EAAEZ,KAAK,CAAC;MAC1D,IAAI,CAACP,WAAW,GAAG,IAAI;IACzB;EACF;EAEQU,oBAAoBA,CAACH,KAAuB,EAAE;IACpD,IAAI,CAACJ,OAAO,CAACY,IAAI,CAACjB,OAAO,CAACkB,MAAM,CAACI,sBAAsB,EAAEb,KAAK,CAAC;IAC/D,IAAI,CAACL,MAAM,CAACmB,QAAQ,CAAC,CAAC;IACtB,IAAI,CAAClB,OAAO,CAACY,IAAI,CAACjB,OAAO,CAACkB,MAAM,CAACM,eAAe,EAAEf,KAAK,CAAC;IACxD,IAAI,CAACP,WAAW,GAAG,KAAK;EAC1B;AACF;AAEA,eAAeD,WAAW","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ import Delta from 'quill-delta';
2
+ import type Scroll from '../blots/scroll.js';
3
+ import { Range } from './selection.js';
4
+ type SelectionInfo = {
5
+ newRange: Range;
6
+ oldRange: Range;
7
+ };
8
+ declare class Editor {
9
+ scroll: Scroll;
10
+ delta: Delta;
11
+ constructor(scroll: Scroll);
12
+ applyDelta(delta: Delta): Delta;
13
+ deleteText(index: number, length: number): Delta;
14
+ formatLine(index: number, length: number, formats?: Record<string, unknown>): Delta;
15
+ formatText(index: number, length: number, formats?: Record<string, unknown>): Delta;
16
+ getContents(index: number, length: number): Delta;
17
+ getDelta(): Delta;
18
+ getFormat(index: number, length?: number): Record<string, unknown>;
19
+ getHTML(index: number, length: number): string;
20
+ getText(index: number, length: number): string;
21
+ insertContents(index: number, contents: Delta): Delta;
22
+ insertEmbed(index: number, embed: string, value: unknown): Delta;
23
+ insertText(index: number, text: string, formats?: Record<string, unknown>): Delta;
24
+ isBlank(): boolean;
25
+ removeFormat(index: number, length: number): Delta;
26
+ update(change: Delta | null, mutations?: MutationRecord[], selectionInfo?: SelectionInfo | undefined): Delta;
27
+ }
28
+ export default Editor;