@adminforth/rich-editor 1.0.18 → 1.2.0

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 (1024) hide show
  1. package/.woodpecker/buildRelease.sh +13 -0
  2. package/.woodpecker/buildSlackNotify.sh +44 -0
  3. package/.woodpecker/release.yml +42 -0
  4. package/CHANGELOG.md +5 -0
  5. package/{custom/node_modules/eventemitter3/LICENSE → LICENSE} +2 -2
  6. package/build.log +14 -0
  7. package/custom/quillEditor.vue +4 -2
  8. package/custom/tsconfig.json +19 -0
  9. package/dist/custom/quillEditor.vue +4 -2
  10. package/dist/custom/tsconfig.json +19 -0
  11. package/dist/index.js +3 -3
  12. package/package.json +43 -6
  13. package/ChangeLog.md +0 -17
  14. package/custom/node_modules/.package-lock.json +0 -66
  15. package/custom/node_modules/eventemitter3/README.md +0 -94
  16. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  17. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  18. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  19. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  20. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  21. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  22. package/custom/node_modules/eventemitter3/index.d.ts +0 -135
  23. package/custom/node_modules/eventemitter3/index.js +0 -336
  24. package/custom/node_modules/eventemitter3/index.mjs +0 -4
  25. package/custom/node_modules/eventemitter3/package.json +0 -67
  26. package/custom/node_modules/fast-diff/LICENSE +0 -201
  27. package/custom/node_modules/fast-diff/README.md +0 -24
  28. package/custom/node_modules/fast-diff/diff.d.ts +0 -21
  29. package/custom/node_modules/fast-diff/diff.js +0 -1138
  30. package/custom/node_modules/fast-diff/package.json +0 -30
  31. package/custom/node_modules/lodash-es/LICENSE +0 -47
  32. package/custom/node_modules/lodash-es/README.md +0 -10
  33. package/custom/node_modules/lodash-es/_DataView.js +0 -7
  34. package/custom/node_modules/lodash-es/_Hash.js +0 -32
  35. package/custom/node_modules/lodash-es/_LazyWrapper.js +0 -28
  36. package/custom/node_modules/lodash-es/_ListCache.js +0 -32
  37. package/custom/node_modules/lodash-es/_LodashWrapper.js +0 -22
  38. package/custom/node_modules/lodash-es/_Map.js +0 -7
  39. package/custom/node_modules/lodash-es/_MapCache.js +0 -32
  40. package/custom/node_modules/lodash-es/_Promise.js +0 -7
  41. package/custom/node_modules/lodash-es/_Set.js +0 -7
  42. package/custom/node_modules/lodash-es/_SetCache.js +0 -27
  43. package/custom/node_modules/lodash-es/_Stack.js +0 -27
  44. package/custom/node_modules/lodash-es/_Symbol.js +0 -6
  45. package/custom/node_modules/lodash-es/_Uint8Array.js +0 -6
  46. package/custom/node_modules/lodash-es/_WeakMap.js +0 -7
  47. package/custom/node_modules/lodash-es/_addMapEntry.js +0 -15
  48. package/custom/node_modules/lodash-es/_addSetEntry.js +0 -15
  49. package/custom/node_modules/lodash-es/_apply.js +0 -21
  50. package/custom/node_modules/lodash-es/_arrayAggregator.js +0 -22
  51. package/custom/node_modules/lodash-es/_arrayEach.js +0 -22
  52. package/custom/node_modules/lodash-es/_arrayEachRight.js +0 -21
  53. package/custom/node_modules/lodash-es/_arrayEvery.js +0 -23
  54. package/custom/node_modules/lodash-es/_arrayFilter.js +0 -25
  55. package/custom/node_modules/lodash-es/_arrayIncludes.js +0 -17
  56. package/custom/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  57. package/custom/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
  58. package/custom/node_modules/lodash-es/_arrayMap.js +0 -21
  59. package/custom/node_modules/lodash-es/_arrayPush.js +0 -20
  60. package/custom/node_modules/lodash-es/_arrayReduce.js +0 -26
  61. package/custom/node_modules/lodash-es/_arrayReduceRight.js +0 -24
  62. package/custom/node_modules/lodash-es/_arraySample.js +0 -15
  63. package/custom/node_modules/lodash-es/_arraySampleSize.js +0 -17
  64. package/custom/node_modules/lodash-es/_arrayShuffle.js +0 -15
  65. package/custom/node_modules/lodash-es/_arraySome.js +0 -23
  66. package/custom/node_modules/lodash-es/_asciiSize.js +0 -12
  67. package/custom/node_modules/lodash-es/_asciiToArray.js +0 -12
  68. package/custom/node_modules/lodash-es/_asciiWords.js +0 -15
  69. package/custom/node_modules/lodash-es/_assignMergeValue.js +0 -20
  70. package/custom/node_modules/lodash-es/_assignValue.js +0 -28
  71. package/custom/node_modules/lodash-es/_assocIndexOf.js +0 -21
  72. package/custom/node_modules/lodash-es/_baseAggregator.js +0 -21
  73. package/custom/node_modules/lodash-es/_baseAssign.js +0 -17
  74. package/custom/node_modules/lodash-es/_baseAssignIn.js +0 -17
  75. package/custom/node_modules/lodash-es/_baseAssignValue.js +0 -25
  76. package/custom/node_modules/lodash-es/_baseAt.js +0 -23
  77. package/custom/node_modules/lodash-es/_baseClamp.js +0 -22
  78. package/custom/node_modules/lodash-es/_baseClone.js +0 -166
  79. package/custom/node_modules/lodash-es/_baseConforms.js +0 -18
  80. package/custom/node_modules/lodash-es/_baseConformsTo.js +0 -27
  81. package/custom/node_modules/lodash-es/_baseCreate.js +0 -30
  82. package/custom/node_modules/lodash-es/_baseDelay.js +0 -21
  83. package/custom/node_modules/lodash-es/_baseDifference.js +0 -67
  84. package/custom/node_modules/lodash-es/_baseEach.js +0 -14
  85. package/custom/node_modules/lodash-es/_baseEachRight.js +0 -14
  86. package/custom/node_modules/lodash-es/_baseEvery.js +0 -21
  87. package/custom/node_modules/lodash-es/_baseExtremum.js +0 -32
  88. package/custom/node_modules/lodash-es/_baseFill.js +0 -32
  89. package/custom/node_modules/lodash-es/_baseFilter.js +0 -21
  90. package/custom/node_modules/lodash-es/_baseFindIndex.js +0 -24
  91. package/custom/node_modules/lodash-es/_baseFindKey.js +0 -23
  92. package/custom/node_modules/lodash-es/_baseFlatten.js +0 -38
  93. package/custom/node_modules/lodash-es/_baseFor.js +0 -16
  94. package/custom/node_modules/lodash-es/_baseForOwn.js +0 -16
  95. package/custom/node_modules/lodash-es/_baseForOwnRight.js +0 -16
  96. package/custom/node_modules/lodash-es/_baseForRight.js +0 -15
  97. package/custom/node_modules/lodash-es/_baseFunctions.js +0 -19
  98. package/custom/node_modules/lodash-es/_baseGet.js +0 -24
  99. package/custom/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
  100. package/custom/node_modules/lodash-es/_baseGetTag.js +0 -28
  101. package/custom/node_modules/lodash-es/_baseGt.js +0 -14
  102. package/custom/node_modules/lodash-es/_baseHas.js +0 -19
  103. package/custom/node_modules/lodash-es/_baseHasIn.js +0 -13
  104. package/custom/node_modules/lodash-es/_baseInRange.js +0 -18
  105. package/custom/node_modules/lodash-es/_baseIndexOf.js +0 -20
  106. package/custom/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
  107. package/custom/node_modules/lodash-es/_baseIntersection.js +0 -74
  108. package/custom/node_modules/lodash-es/_baseInverter.js +0 -21
  109. package/custom/node_modules/lodash-es/_baseInvoke.js +0 -24
  110. package/custom/node_modules/lodash-es/_baseIsArguments.js +0 -18
  111. package/custom/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
  112. package/custom/node_modules/lodash-es/_baseIsDate.js +0 -18
  113. package/custom/node_modules/lodash-es/_baseIsEqual.js +0 -28
  114. package/custom/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
  115. package/custom/node_modules/lodash-es/_baseIsMap.js +0 -18
  116. package/custom/node_modules/lodash-es/_baseIsMatch.js +0 -62
  117. package/custom/node_modules/lodash-es/_baseIsNaN.js +0 -12
  118. package/custom/node_modules/lodash-es/_baseIsNative.js +0 -47
  119. package/custom/node_modules/lodash-es/_baseIsRegExp.js +0 -18
  120. package/custom/node_modules/lodash-es/_baseIsSet.js +0 -18
  121. package/custom/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
  122. package/custom/node_modules/lodash-es/_baseIteratee.js +0 -31
  123. package/custom/node_modules/lodash-es/_baseKeys.js +0 -30
  124. package/custom/node_modules/lodash-es/_baseKeysIn.js +0 -33
  125. package/custom/node_modules/lodash-es/_baseLodash.js +0 -10
  126. package/custom/node_modules/lodash-es/_baseLt.js +0 -14
  127. package/custom/node_modules/lodash-es/_baseMap.js +0 -22
  128. package/custom/node_modules/lodash-es/_baseMatches.js +0 -22
  129. package/custom/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
  130. package/custom/node_modules/lodash-es/_baseMean.js +0 -20
  131. package/custom/node_modules/lodash-es/_baseMerge.js +0 -42
  132. package/custom/node_modules/lodash-es/_baseMergeDeep.js +0 -94
  133. package/custom/node_modules/lodash-es/_baseNth.js +0 -20
  134. package/custom/node_modules/lodash-es/_baseOrderBy.js +0 -49
  135. package/custom/node_modules/lodash-es/_basePick.js +0 -19
  136. package/custom/node_modules/lodash-es/_basePickBy.js +0 -30
  137. package/custom/node_modules/lodash-es/_baseProperty.js +0 -14
  138. package/custom/node_modules/lodash-es/_basePropertyDeep.js +0 -16
  139. package/custom/node_modules/lodash-es/_basePropertyOf.js +0 -14
  140. package/custom/node_modules/lodash-es/_basePullAll.js +0 -51
  141. package/custom/node_modules/lodash-es/_basePullAt.js +0 -37
  142. package/custom/node_modules/lodash-es/_baseRandom.js +0 -18
  143. package/custom/node_modules/lodash-es/_baseRange.js +0 -28
  144. package/custom/node_modules/lodash-es/_baseReduce.js +0 -23
  145. package/custom/node_modules/lodash-es/_baseRepeat.js +0 -35
  146. package/custom/node_modules/lodash-es/_baseRest.js +0 -17
  147. package/custom/node_modules/lodash-es/_baseSample.js +0 -15
  148. package/custom/node_modules/lodash-es/_baseSampleSize.js +0 -18
  149. package/custom/node_modules/lodash-es/_baseSet.js +0 -51
  150. package/custom/node_modules/lodash-es/_baseSetData.js +0 -17
  151. package/custom/node_modules/lodash-es/_baseSetToString.js +0 -22
  152. package/custom/node_modules/lodash-es/_baseShuffle.js +0 -15
  153. package/custom/node_modules/lodash-es/_baseSlice.js +0 -31
  154. package/custom/node_modules/lodash-es/_baseSome.js +0 -22
  155. package/custom/node_modules/lodash-es/_baseSortBy.js +0 -21
  156. package/custom/node_modules/lodash-es/_baseSortedIndex.js +0 -42
  157. package/custom/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
  158. package/custom/node_modules/lodash-es/_baseSortedUniq.js +0 -30
  159. package/custom/node_modules/lodash-es/_baseSum.js +0 -24
  160. package/custom/node_modules/lodash-es/_baseTimes.js +0 -20
  161. package/custom/node_modules/lodash-es/_baseToNumber.js +0 -24
  162. package/custom/node_modules/lodash-es/_baseToPairs.js +0 -18
  163. package/custom/node_modules/lodash-es/_baseToString.js +0 -37
  164. package/custom/node_modules/lodash-es/_baseTrim.js +0 -19
  165. package/custom/node_modules/lodash-es/_baseUnary.js +0 -14
  166. package/custom/node_modules/lodash-es/_baseUniq.js +0 -72
  167. package/custom/node_modules/lodash-es/_baseUnset.js +0 -20
  168. package/custom/node_modules/lodash-es/_baseUpdate.js +0 -18
  169. package/custom/node_modules/lodash-es/_baseValues.js +0 -19
  170. package/custom/node_modules/lodash-es/_baseWhile.js +0 -26
  171. package/custom/node_modules/lodash-es/_baseWrapperValue.js +0 -25
  172. package/custom/node_modules/lodash-es/_baseXor.js +0 -36
  173. package/custom/node_modules/lodash-es/_baseZipObject.js +0 -23
  174. package/custom/node_modules/lodash-es/_cacheHas.js +0 -13
  175. package/custom/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  176. package/custom/node_modules/lodash-es/_castFunction.js +0 -14
  177. package/custom/node_modules/lodash-es/_castPath.js +0 -21
  178. package/custom/node_modules/lodash-es/_castRest.js +0 -14
  179. package/custom/node_modules/lodash-es/_castSlice.js +0 -18
  180. package/custom/node_modules/lodash-es/_charsEndIndex.js +0 -19
  181. package/custom/node_modules/lodash-es/_charsStartIndex.js +0 -20
  182. package/custom/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
  183. package/custom/node_modules/lodash-es/_cloneBuffer.js +0 -35
  184. package/custom/node_modules/lodash-es/_cloneDataView.js +0 -16
  185. package/custom/node_modules/lodash-es/_cloneMap.js +0 -22
  186. package/custom/node_modules/lodash-es/_cloneRegExp.js +0 -17
  187. package/custom/node_modules/lodash-es/_cloneSet.js +0 -22
  188. package/custom/node_modules/lodash-es/_cloneSymbol.js +0 -18
  189. package/custom/node_modules/lodash-es/_cloneTypedArray.js +0 -16
  190. package/custom/node_modules/lodash-es/_compareAscending.js +0 -41
  191. package/custom/node_modules/lodash-es/_compareMultiple.js +0 -44
  192. package/custom/node_modules/lodash-es/_composeArgs.js +0 -39
  193. package/custom/node_modules/lodash-es/_composeArgsRight.js +0 -41
  194. package/custom/node_modules/lodash-es/_copyArray.js +0 -20
  195. package/custom/node_modules/lodash-es/_copyObject.js +0 -40
  196. package/custom/node_modules/lodash-es/_copySymbols.js +0 -16
  197. package/custom/node_modules/lodash-es/_copySymbolsIn.js +0 -16
  198. package/custom/node_modules/lodash-es/_coreJsData.js +0 -6
  199. package/custom/node_modules/lodash-es/_countHolders.js +0 -21
  200. package/custom/node_modules/lodash-es/_createAggregator.js +0 -23
  201. package/custom/node_modules/lodash-es/_createAssigner.js +0 -37
  202. package/custom/node_modules/lodash-es/_createBaseEach.js +0 -32
  203. package/custom/node_modules/lodash-es/_createBaseFor.js +0 -25
  204. package/custom/node_modules/lodash-es/_createBind.js +0 -28
  205. package/custom/node_modules/lodash-es/_createCaseFirst.js +0 -33
  206. package/custom/node_modules/lodash-es/_createCompounder.js +0 -24
  207. package/custom/node_modules/lodash-es/_createCtor.js +0 -37
  208. package/custom/node_modules/lodash-es/_createCurry.js +0 -46
  209. package/custom/node_modules/lodash-es/_createFind.js +0 -25
  210. package/custom/node_modules/lodash-es/_createFlow.js +0 -78
  211. package/custom/node_modules/lodash-es/_createHybrid.js +0 -92
  212. package/custom/node_modules/lodash-es/_createInverter.js +0 -17
  213. package/custom/node_modules/lodash-es/_createMathOperation.js +0 -38
  214. package/custom/node_modules/lodash-es/_createOver.js +0 -27
  215. package/custom/node_modules/lodash-es/_createPadding.js +0 -33
  216. package/custom/node_modules/lodash-es/_createPartial.js +0 -43
  217. package/custom/node_modules/lodash-es/_createRange.js +0 -30
  218. package/custom/node_modules/lodash-es/_createRecurry.js +0 -56
  219. package/custom/node_modules/lodash-es/_createRelationalOperation.js +0 -20
  220. package/custom/node_modules/lodash-es/_createRound.js +0 -35
  221. package/custom/node_modules/lodash-es/_createSet.js +0 -19
  222. package/custom/node_modules/lodash-es/_createToPairs.js +0 -30
  223. package/custom/node_modules/lodash-es/_createWrap.js +0 -106
  224. package/custom/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
  225. package/custom/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
  226. package/custom/node_modules/lodash-es/_customOmitClone.js +0 -16
  227. package/custom/node_modules/lodash-es/_deburrLetter.js +0 -71
  228. package/custom/node_modules/lodash-es/_defineProperty.js +0 -11
  229. package/custom/node_modules/lodash-es/_equalArrays.js +0 -84
  230. package/custom/node_modules/lodash-es/_equalByTag.js +0 -112
  231. package/custom/node_modules/lodash-es/_equalObjects.js +0 -90
  232. package/custom/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
  233. package/custom/node_modules/lodash-es/_escapeStringChar.js +0 -22
  234. package/custom/node_modules/lodash-es/_flatRest.js +0 -16
  235. package/custom/node_modules/lodash-es/_freeGlobal.js +0 -4
  236. package/custom/node_modules/lodash-es/_getAllKeys.js +0 -16
  237. package/custom/node_modules/lodash-es/_getAllKeysIn.js +0 -17
  238. package/custom/node_modules/lodash-es/_getData.js +0 -15
  239. package/custom/node_modules/lodash-es/_getFuncName.js +0 -31
  240. package/custom/node_modules/lodash-es/_getHolder.js +0 -13
  241. package/custom/node_modules/lodash-es/_getMapData.js +0 -18
  242. package/custom/node_modules/lodash-es/_getMatchData.js +0 -24
  243. package/custom/node_modules/lodash-es/_getNative.js +0 -17
  244. package/custom/node_modules/lodash-es/_getPrototype.js +0 -6
  245. package/custom/node_modules/lodash-es/_getRawTag.js +0 -46
  246. package/custom/node_modules/lodash-es/_getSymbols.js +0 -30
  247. package/custom/node_modules/lodash-es/_getSymbolsIn.js +0 -25
  248. package/custom/node_modules/lodash-es/_getTag.js +0 -58
  249. package/custom/node_modules/lodash-es/_getValue.js +0 -13
  250. package/custom/node_modules/lodash-es/_getView.js +0 -33
  251. package/custom/node_modules/lodash-es/_getWrapDetails.js +0 -17
  252. package/custom/node_modules/lodash-es/_hasPath.js +0 -39
  253. package/custom/node_modules/lodash-es/_hasUnicode.js +0 -26
  254. package/custom/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
  255. package/custom/node_modules/lodash-es/_hashClear.js +0 -15
  256. package/custom/node_modules/lodash-es/_hashDelete.js +0 -17
  257. package/custom/node_modules/lodash-es/_hashGet.js +0 -30
  258. package/custom/node_modules/lodash-es/_hashHas.js +0 -23
  259. package/custom/node_modules/lodash-es/_hashSet.js +0 -23
  260. package/custom/node_modules/lodash-es/_initCloneArray.js +0 -26
  261. package/custom/node_modules/lodash-es/_initCloneByTag.js +0 -77
  262. package/custom/node_modules/lodash-es/_initCloneObject.js +0 -18
  263. package/custom/node_modules/lodash-es/_insertWrapDetails.js +0 -23
  264. package/custom/node_modules/lodash-es/_isFlattenable.js +0 -20
  265. package/custom/node_modules/lodash-es/_isIndex.js +0 -25
  266. package/custom/node_modules/lodash-es/_isIterateeCall.js +0 -30
  267. package/custom/node_modules/lodash-es/_isKey.js +0 -29
  268. package/custom/node_modules/lodash-es/_isKeyable.js +0 -15
  269. package/custom/node_modules/lodash-es/_isLaziable.js +0 -28
  270. package/custom/node_modules/lodash-es/_isMaskable.js +0 -14
  271. package/custom/node_modules/lodash-es/_isMasked.js +0 -20
  272. package/custom/node_modules/lodash-es/_isPrototype.js +0 -18
  273. package/custom/node_modules/lodash-es/_isStrictComparable.js +0 -15
  274. package/custom/node_modules/lodash-es/_iteratorToArray.js +0 -18
  275. package/custom/node_modules/lodash-es/_lazyClone.js +0 -23
  276. package/custom/node_modules/lodash-es/_lazyReverse.js +0 -23
  277. package/custom/node_modules/lodash-es/_lazyValue.js +0 -69
  278. package/custom/node_modules/lodash-es/_listCacheClear.js +0 -13
  279. package/custom/node_modules/lodash-es/_listCacheDelete.js +0 -35
  280. package/custom/node_modules/lodash-es/_listCacheGet.js +0 -19
  281. package/custom/node_modules/lodash-es/_listCacheHas.js +0 -16
  282. package/custom/node_modules/lodash-es/_listCacheSet.js +0 -26
  283. package/custom/node_modules/lodash-es/_mapCacheClear.js +0 -21
  284. package/custom/node_modules/lodash-es/_mapCacheDelete.js +0 -18
  285. package/custom/node_modules/lodash-es/_mapCacheGet.js +0 -16
  286. package/custom/node_modules/lodash-es/_mapCacheHas.js +0 -16
  287. package/custom/node_modules/lodash-es/_mapCacheSet.js +0 -22
  288. package/custom/node_modules/lodash-es/_mapToArray.js +0 -18
  289. package/custom/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
  290. package/custom/node_modules/lodash-es/_memoizeCapped.js +0 -26
  291. package/custom/node_modules/lodash-es/_mergeData.js +0 -90
  292. package/custom/node_modules/lodash-es/_metaMap.js +0 -6
  293. package/custom/node_modules/lodash-es/_nativeCreate.js +0 -6
  294. package/custom/node_modules/lodash-es/_nativeKeys.js +0 -6
  295. package/custom/node_modules/lodash-es/_nativeKeysIn.js +0 -20
  296. package/custom/node_modules/lodash-es/_nodeUtil.js +0 -30
  297. package/custom/node_modules/lodash-es/_objectToString.js +0 -22
  298. package/custom/node_modules/lodash-es/_overArg.js +0 -15
  299. package/custom/node_modules/lodash-es/_overRest.js +0 -36
  300. package/custom/node_modules/lodash-es/_parent.js +0 -16
  301. package/custom/node_modules/lodash-es/_reEscape.js +0 -4
  302. package/custom/node_modules/lodash-es/_reEvaluate.js +0 -4
  303. package/custom/node_modules/lodash-es/_reInterpolate.js +0 -4
  304. package/custom/node_modules/lodash-es/_realNames.js +0 -4
  305. package/custom/node_modules/lodash-es/_reorder.js +0 -29
  306. package/custom/node_modules/lodash-es/_replaceHolders.js +0 -29
  307. package/custom/node_modules/lodash-es/_root.js +0 -9
  308. package/custom/node_modules/lodash-es/_safeGet.js +0 -21
  309. package/custom/node_modules/lodash-es/_setCacheAdd.js +0 -19
  310. package/custom/node_modules/lodash-es/_setCacheHas.js +0 -14
  311. package/custom/node_modules/lodash-es/_setData.js +0 -20
  312. package/custom/node_modules/lodash-es/_setToArray.js +0 -18
  313. package/custom/node_modules/lodash-es/_setToPairs.js +0 -18
  314. package/custom/node_modules/lodash-es/_setToString.js +0 -14
  315. package/custom/node_modules/lodash-es/_setWrapToString.js +0 -21
  316. package/custom/node_modules/lodash-es/_shortOut.js +0 -37
  317. package/custom/node_modules/lodash-es/_shuffleSelf.js +0 -28
  318. package/custom/node_modules/lodash-es/_stackClear.js +0 -15
  319. package/custom/node_modules/lodash-es/_stackDelete.js +0 -18
  320. package/custom/node_modules/lodash-es/_stackGet.js +0 -14
  321. package/custom/node_modules/lodash-es/_stackHas.js +0 -14
  322. package/custom/node_modules/lodash-es/_stackSet.js +0 -34
  323. package/custom/node_modules/lodash-es/_strictIndexOf.js +0 -23
  324. package/custom/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
  325. package/custom/node_modules/lodash-es/_stringSize.js +0 -18
  326. package/custom/node_modules/lodash-es/_stringToArray.js +0 -18
  327. package/custom/node_modules/lodash-es/_stringToPath.js +0 -27
  328. package/custom/node_modules/lodash-es/_toKey.js +0 -21
  329. package/custom/node_modules/lodash-es/_toSource.js +0 -26
  330. package/custom/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
  331. package/custom/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
  332. package/custom/node_modules/lodash-es/_unicodeSize.js +0 -44
  333. package/custom/node_modules/lodash-es/_unicodeToArray.js +0 -40
  334. package/custom/node_modules/lodash-es/_unicodeWords.js +0 -69
  335. package/custom/node_modules/lodash-es/_updateWrapDetails.js +0 -46
  336. package/custom/node_modules/lodash-es/_wrapperClone.js +0 -23
  337. package/custom/node_modules/lodash-es/add.js +0 -22
  338. package/custom/node_modules/lodash-es/after.js +0 -42
  339. package/custom/node_modules/lodash-es/array.default.js +0 -81
  340. package/custom/node_modules/lodash-es/array.js +0 -66
  341. package/custom/node_modules/lodash-es/ary.js +0 -29
  342. package/custom/node_modules/lodash-es/assign.js +0 -58
  343. package/custom/node_modules/lodash-es/assignIn.js +0 -40
  344. package/custom/node_modules/lodash-es/assignInWith.js +0 -38
  345. package/custom/node_modules/lodash-es/assignWith.js +0 -37
  346. package/custom/node_modules/lodash-es/at.js +0 -23
  347. package/custom/node_modules/lodash-es/attempt.js +0 -35
  348. package/custom/node_modules/lodash-es/before.js +0 -40
  349. package/custom/node_modules/lodash-es/bind.js +0 -57
  350. package/custom/node_modules/lodash-es/bindAll.js +0 -41
  351. package/custom/node_modules/lodash-es/bindKey.js +0 -68
  352. package/custom/node_modules/lodash-es/camelCase.js +0 -29
  353. package/custom/node_modules/lodash-es/capitalize.js +0 -23
  354. package/custom/node_modules/lodash-es/castArray.js +0 -44
  355. package/custom/node_modules/lodash-es/ceil.js +0 -26
  356. package/custom/node_modules/lodash-es/chain.js +0 -38
  357. package/custom/node_modules/lodash-es/chunk.js +0 -50
  358. package/custom/node_modules/lodash-es/clamp.js +0 -39
  359. package/custom/node_modules/lodash-es/clone.js +0 -36
  360. package/custom/node_modules/lodash-es/cloneDeep.js +0 -29
  361. package/custom/node_modules/lodash-es/cloneDeepWith.js +0 -40
  362. package/custom/node_modules/lodash-es/cloneWith.js +0 -42
  363. package/custom/node_modules/lodash-es/collection.default.js +0 -37
  364. package/custom/node_modules/lodash-es/collection.js +0 -29
  365. package/custom/node_modules/lodash-es/commit.js +0 -33
  366. package/custom/node_modules/lodash-es/compact.js +0 -31
  367. package/custom/node_modules/lodash-es/concat.js +0 -43
  368. package/custom/node_modules/lodash-es/cond.js +0 -60
  369. package/custom/node_modules/lodash-es/conforms.js +0 -35
  370. package/custom/node_modules/lodash-es/conformsTo.js +0 -32
  371. package/custom/node_modules/lodash-es/constant.js +0 -26
  372. package/custom/node_modules/lodash-es/countBy.js +0 -40
  373. package/custom/node_modules/lodash-es/create.js +0 -43
  374. package/custom/node_modules/lodash-es/curry.js +0 -57
  375. package/custom/node_modules/lodash-es/curryRight.js +0 -54
  376. package/custom/node_modules/lodash-es/date.default.js +0 -5
  377. package/custom/node_modules/lodash-es/date.js +0 -2
  378. package/custom/node_modules/lodash-es/debounce.js +0 -191
  379. package/custom/node_modules/lodash-es/deburr.js +0 -45
  380. package/custom/node_modules/lodash-es/defaultTo.js +0 -25
  381. package/custom/node_modules/lodash-es/defaults.js +0 -64
  382. package/custom/node_modules/lodash-es/defaultsDeep.js +0 -30
  383. package/custom/node_modules/lodash-es/defer.js +0 -26
  384. package/custom/node_modules/lodash-es/delay.js +0 -28
  385. package/custom/node_modules/lodash-es/difference.js +0 -33
  386. package/custom/node_modules/lodash-es/differenceBy.js +0 -44
  387. package/custom/node_modules/lodash-es/differenceWith.js +0 -40
  388. package/custom/node_modules/lodash-es/divide.js +0 -22
  389. package/custom/node_modules/lodash-es/drop.js +0 -38
  390. package/custom/node_modules/lodash-es/dropRight.js +0 -39
  391. package/custom/node_modules/lodash-es/dropRightWhile.js +0 -45
  392. package/custom/node_modules/lodash-es/dropWhile.js +0 -45
  393. package/custom/node_modules/lodash-es/each.js +0 -1
  394. package/custom/node_modules/lodash-es/eachRight.js +0 -1
  395. package/custom/node_modules/lodash-es/endsWith.js +0 -43
  396. package/custom/node_modules/lodash-es/entries.js +0 -1
  397. package/custom/node_modules/lodash-es/entriesIn.js +0 -1
  398. package/custom/node_modules/lodash-es/eq.js +0 -37
  399. package/custom/node_modules/lodash-es/escape.js +0 -43
  400. package/custom/node_modules/lodash-es/escapeRegExp.js +0 -32
  401. package/custom/node_modules/lodash-es/every.js +0 -56
  402. package/custom/node_modules/lodash-es/extend.js +0 -1
  403. package/custom/node_modules/lodash-es/extendWith.js +0 -1
  404. package/custom/node_modules/lodash-es/fill.js +0 -45
  405. package/custom/node_modules/lodash-es/filter.js +0 -52
  406. package/custom/node_modules/lodash-es/find.js +0 -42
  407. package/custom/node_modules/lodash-es/findIndex.js +0 -55
  408. package/custom/node_modules/lodash-es/findKey.js +0 -44
  409. package/custom/node_modules/lodash-es/findLast.js +0 -25
  410. package/custom/node_modules/lodash-es/findLastIndex.js +0 -59
  411. package/custom/node_modules/lodash-es/findLastKey.js +0 -44
  412. package/custom/node_modules/lodash-es/first.js +0 -1
  413. package/custom/node_modules/lodash-es/flake.lock +0 -40
  414. package/custom/node_modules/lodash-es/flake.nix +0 -20
  415. package/custom/node_modules/lodash-es/flatMap.js +0 -29
  416. package/custom/node_modules/lodash-es/flatMapDeep.js +0 -31
  417. package/custom/node_modules/lodash-es/flatMapDepth.js +0 -31
  418. package/custom/node_modules/lodash-es/flatten.js +0 -22
  419. package/custom/node_modules/lodash-es/flattenDeep.js +0 -25
  420. package/custom/node_modules/lodash-es/flattenDepth.js +0 -33
  421. package/custom/node_modules/lodash-es/flip.js +0 -28
  422. package/custom/node_modules/lodash-es/floor.js +0 -26
  423. package/custom/node_modules/lodash-es/flow.js +0 -27
  424. package/custom/node_modules/lodash-es/flowRight.js +0 -26
  425. package/custom/node_modules/lodash-es/forEach.js +0 -41
  426. package/custom/node_modules/lodash-es/forEachRight.js +0 -31
  427. package/custom/node_modules/lodash-es/forIn.js +0 -39
  428. package/custom/node_modules/lodash-es/forInRight.js +0 -37
  429. package/custom/node_modules/lodash-es/forOwn.js +0 -36
  430. package/custom/node_modules/lodash-es/forOwnRight.js +0 -34
  431. package/custom/node_modules/lodash-es/fromPairs.js +0 -28
  432. package/custom/node_modules/lodash-es/function.default.js +0 -31
  433. package/custom/node_modules/lodash-es/function.js +0 -24
  434. package/custom/node_modules/lodash-es/functions.js +0 -31
  435. package/custom/node_modules/lodash-es/functionsIn.js +0 -31
  436. package/custom/node_modules/lodash-es/get.js +0 -33
  437. package/custom/node_modules/lodash-es/groupBy.js +0 -41
  438. package/custom/node_modules/lodash-es/gt.js +0 -29
  439. package/custom/node_modules/lodash-es/gte.js +0 -30
  440. package/custom/node_modules/lodash-es/has.js +0 -35
  441. package/custom/node_modules/lodash-es/hasIn.js +0 -34
  442. package/custom/node_modules/lodash-es/head.js +0 -23
  443. package/custom/node_modules/lodash-es/identity.js +0 -21
  444. package/custom/node_modules/lodash-es/inRange.js +0 -55
  445. package/custom/node_modules/lodash-es/includes.js +0 -53
  446. package/custom/node_modules/lodash-es/indexOf.js +0 -42
  447. package/custom/node_modules/lodash-es/initial.js +0 -22
  448. package/custom/node_modules/lodash-es/intersection.js +0 -30
  449. package/custom/node_modules/lodash-es/intersectionBy.js +0 -45
  450. package/custom/node_modules/lodash-es/intersectionWith.js +0 -41
  451. package/custom/node_modules/lodash-es/invert.js +0 -42
  452. package/custom/node_modules/lodash-es/invertBy.js +0 -56
  453. package/custom/node_modules/lodash-es/invoke.js +0 -24
  454. package/custom/node_modules/lodash-es/invokeMap.js +0 -41
  455. package/custom/node_modules/lodash-es/isArguments.js +0 -36
  456. package/custom/node_modules/lodash-es/isArray.js +0 -26
  457. package/custom/node_modules/lodash-es/isArrayBuffer.js +0 -27
  458. package/custom/node_modules/lodash-es/isArrayLike.js +0 -33
  459. package/custom/node_modules/lodash-es/isArrayLikeObject.js +0 -33
  460. package/custom/node_modules/lodash-es/isBoolean.js +0 -29
  461. package/custom/node_modules/lodash-es/isBuffer.js +0 -38
  462. package/custom/node_modules/lodash-es/isDate.js +0 -27
  463. package/custom/node_modules/lodash-es/isElement.js +0 -25
  464. package/custom/node_modules/lodash-es/isEmpty.js +0 -77
  465. package/custom/node_modules/lodash-es/isEqual.js +0 -35
  466. package/custom/node_modules/lodash-es/isEqualWith.js +0 -41
  467. package/custom/node_modules/lodash-es/isError.js +0 -36
  468. package/custom/node_modules/lodash-es/isFinite.js +0 -36
  469. package/custom/node_modules/lodash-es/isFunction.js +0 -37
  470. package/custom/node_modules/lodash-es/isInteger.js +0 -33
  471. package/custom/node_modules/lodash-es/isLength.js +0 -35
  472. package/custom/node_modules/lodash-es/isMap.js +0 -27
  473. package/custom/node_modules/lodash-es/isMatch.js +0 -36
  474. package/custom/node_modules/lodash-es/isMatchWith.js +0 -41
  475. package/custom/node_modules/lodash-es/isNaN.js +0 -38
  476. package/custom/node_modules/lodash-es/isNative.js +0 -40
  477. package/custom/node_modules/lodash-es/isNil.js +0 -25
  478. package/custom/node_modules/lodash-es/isNull.js +0 -22
  479. package/custom/node_modules/lodash-es/isNumber.js +0 -38
  480. package/custom/node_modules/lodash-es/isObject.js +0 -31
  481. package/custom/node_modules/lodash-es/isObjectLike.js +0 -29
  482. package/custom/node_modules/lodash-es/isPlainObject.js +0 -62
  483. package/custom/node_modules/lodash-es/isRegExp.js +0 -27
  484. package/custom/node_modules/lodash-es/isSafeInteger.js +0 -37
  485. package/custom/node_modules/lodash-es/isSet.js +0 -27
  486. package/custom/node_modules/lodash-es/isString.js +0 -30
  487. package/custom/node_modules/lodash-es/isSymbol.js +0 -29
  488. package/custom/node_modules/lodash-es/isTypedArray.js +0 -27
  489. package/custom/node_modules/lodash-es/isUndefined.js +0 -22
  490. package/custom/node_modules/lodash-es/isWeakMap.js +0 -28
  491. package/custom/node_modules/lodash-es/isWeakSet.js +0 -28
  492. package/custom/node_modules/lodash-es/iteratee.js +0 -53
  493. package/custom/node_modules/lodash-es/join.js +0 -26
  494. package/custom/node_modules/lodash-es/kebabCase.js +0 -28
  495. package/custom/node_modules/lodash-es/keyBy.js +0 -36
  496. package/custom/node_modules/lodash-es/keys.js +0 -37
  497. package/custom/node_modules/lodash-es/keysIn.js +0 -32
  498. package/custom/node_modules/lodash-es/lang.default.js +0 -71
  499. package/custom/node_modules/lodash-es/lang.js +0 -57
  500. package/custom/node_modules/lodash-es/last.js +0 -20
  501. package/custom/node_modules/lodash-es/lastIndexOf.js +0 -46
  502. package/custom/node_modules/lodash-es/lodash.default.js +0 -643
  503. package/custom/node_modules/lodash-es/lodash.js +0 -331
  504. package/custom/node_modules/lodash-es/lowerCase.js +0 -27
  505. package/custom/node_modules/lodash-es/lowerFirst.js +0 -22
  506. package/custom/node_modules/lodash-es/lt.js +0 -29
  507. package/custom/node_modules/lodash-es/lte.js +0 -30
  508. package/custom/node_modules/lodash-es/map.js +0 -53
  509. package/custom/node_modules/lodash-es/mapKeys.js +0 -36
  510. package/custom/node_modules/lodash-es/mapValues.js +0 -43
  511. package/custom/node_modules/lodash-es/matches.js +0 -46
  512. package/custom/node_modules/lodash-es/matchesProperty.js +0 -44
  513. package/custom/node_modules/lodash-es/math.default.js +0 -21
  514. package/custom/node_modules/lodash-es/math.js +0 -16
  515. package/custom/node_modules/lodash-es/max.js +0 -29
  516. package/custom/node_modules/lodash-es/maxBy.js +0 -34
  517. package/custom/node_modules/lodash-es/mean.js +0 -22
  518. package/custom/node_modules/lodash-es/meanBy.js +0 -31
  519. package/custom/node_modules/lodash-es/memoize.js +0 -73
  520. package/custom/node_modules/lodash-es/merge.js +0 -39
  521. package/custom/node_modules/lodash-es/mergeWith.js +0 -39
  522. package/custom/node_modules/lodash-es/method.js +0 -34
  523. package/custom/node_modules/lodash-es/methodOf.js +0 -33
  524. package/custom/node_modules/lodash-es/min.js +0 -29
  525. package/custom/node_modules/lodash-es/minBy.js +0 -34
  526. package/custom/node_modules/lodash-es/mixin.js +0 -74
  527. package/custom/node_modules/lodash-es/multiply.js +0 -22
  528. package/custom/node_modules/lodash-es/negate.js +0 -40
  529. package/custom/node_modules/lodash-es/next.js +0 -35
  530. package/custom/node_modules/lodash-es/noop.js +0 -17
  531. package/custom/node_modules/lodash-es/now.js +0 -23
  532. package/custom/node_modules/lodash-es/nth.js +0 -29
  533. package/custom/node_modules/lodash-es/nthArg.js +0 -32
  534. package/custom/node_modules/lodash-es/number.default.js +0 -7
  535. package/custom/node_modules/lodash-es/number.js +0 -4
  536. package/custom/node_modules/lodash-es/object.default.js +0 -60
  537. package/custom/node_modules/lodash-es/object.js +0 -48
  538. package/custom/node_modules/lodash-es/omit.js +0 -57
  539. package/custom/node_modules/lodash-es/omitBy.js +0 -29
  540. package/custom/node_modules/lodash-es/once.js +0 -25
  541. package/custom/node_modules/lodash-es/orderBy.js +0 -47
  542. package/custom/node_modules/lodash-es/over.js +0 -24
  543. package/custom/node_modules/lodash-es/overArgs.js +0 -61
  544. package/custom/node_modules/lodash-es/overEvery.js +0 -34
  545. package/custom/node_modules/lodash-es/overSome.js +0 -37
  546. package/custom/node_modules/lodash-es/package.json +0 -21
  547. package/custom/node_modules/lodash-es/pad.js +0 -49
  548. package/custom/node_modules/lodash-es/padEnd.js +0 -39
  549. package/custom/node_modules/lodash-es/padStart.js +0 -39
  550. package/custom/node_modules/lodash-es/parseInt.js +0 -43
  551. package/custom/node_modules/lodash-es/partial.js +0 -50
  552. package/custom/node_modules/lodash-es/partialRight.js +0 -49
  553. package/custom/node_modules/lodash-es/partition.js +0 -43
  554. package/custom/node_modules/lodash-es/pick.js +0 -25
  555. package/custom/node_modules/lodash-es/pickBy.js +0 -37
  556. package/custom/node_modules/lodash-es/plant.js +0 -48
  557. package/custom/node_modules/lodash-es/property.js +0 -32
  558. package/custom/node_modules/lodash-es/propertyOf.js +0 -30
  559. package/custom/node_modules/lodash-es/pull.js +0 -29
  560. package/custom/node_modules/lodash-es/pullAll.js +0 -29
  561. package/custom/node_modules/lodash-es/pullAllBy.js +0 -33
  562. package/custom/node_modules/lodash-es/pullAllWith.js +0 -32
  563. package/custom/node_modules/lodash-es/pullAt.js +0 -43
  564. package/custom/node_modules/lodash-es/random.js +0 -82
  565. package/custom/node_modules/lodash-es/range.js +0 -46
  566. package/custom/node_modules/lodash-es/rangeRight.js +0 -41
  567. package/custom/node_modules/lodash-es/rearg.js +0 -33
  568. package/custom/node_modules/lodash-es/reduce.js +0 -51
  569. package/custom/node_modules/lodash-es/reduceRight.js +0 -36
  570. package/custom/node_modules/lodash-es/reject.js +0 -46
  571. package/custom/node_modules/lodash-es/release.md +0 -48
  572. package/custom/node_modules/lodash-es/remove.js +0 -53
  573. package/custom/node_modules/lodash-es/repeat.js +0 -37
  574. package/custom/node_modules/lodash-es/replace.js +0 -29
  575. package/custom/node_modules/lodash-es/rest.js +0 -40
  576. package/custom/node_modules/lodash-es/result.js +0 -56
  577. package/custom/node_modules/lodash-es/reverse.js +0 -34
  578. package/custom/node_modules/lodash-es/round.js +0 -26
  579. package/custom/node_modules/lodash-es/sample.js +0 -24
  580. package/custom/node_modules/lodash-es/sampleSize.js +0 -37
  581. package/custom/node_modules/lodash-es/seq.default.js +0 -20
  582. package/custom/node_modules/lodash-es/seq.js +0 -15
  583. package/custom/node_modules/lodash-es/set.js +0 -35
  584. package/custom/node_modules/lodash-es/setWith.js +0 -32
  585. package/custom/node_modules/lodash-es/shuffle.js +0 -25
  586. package/custom/node_modules/lodash-es/size.js +0 -46
  587. package/custom/node_modules/lodash-es/slice.js +0 -37
  588. package/custom/node_modules/lodash-es/snakeCase.js +0 -28
  589. package/custom/node_modules/lodash-es/some.js +0 -51
  590. package/custom/node_modules/lodash-es/sortBy.js +0 -48
  591. package/custom/node_modules/lodash-es/sortedIndex.js +0 -24
  592. package/custom/node_modules/lodash-es/sortedIndexBy.js +0 -33
  593. package/custom/node_modules/lodash-es/sortedIndexOf.js +0 -31
  594. package/custom/node_modules/lodash-es/sortedLastIndex.js +0 -25
  595. package/custom/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
  596. package/custom/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
  597. package/custom/node_modules/lodash-es/sortedUniq.js +0 -24
  598. package/custom/node_modules/lodash-es/sortedUniqBy.js +0 -26
  599. package/custom/node_modules/lodash-es/split.js +0 -52
  600. package/custom/node_modules/lodash-es/spread.js +0 -63
  601. package/custom/node_modules/lodash-es/startCase.js +0 -29
  602. package/custom/node_modules/lodash-es/startsWith.js +0 -39
  603. package/custom/node_modules/lodash-es/string.default.js +0 -41
  604. package/custom/node_modules/lodash-es/string.js +0 -32
  605. package/custom/node_modules/lodash-es/stubArray.js +0 -23
  606. package/custom/node_modules/lodash-es/stubFalse.js +0 -18
  607. package/custom/node_modules/lodash-es/stubObject.js +0 -23
  608. package/custom/node_modules/lodash-es/stubString.js +0 -18
  609. package/custom/node_modules/lodash-es/stubTrue.js +0 -18
  610. package/custom/node_modules/lodash-es/subtract.js +0 -22
  611. package/custom/node_modules/lodash-es/sum.js +0 -24
  612. package/custom/node_modules/lodash-es/sumBy.js +0 -33
  613. package/custom/node_modules/lodash-es/tail.js +0 -22
  614. package/custom/node_modules/lodash-es/take.js +0 -37
  615. package/custom/node_modules/lodash-es/takeRight.js +0 -39
  616. package/custom/node_modules/lodash-es/takeRightWhile.js +0 -45
  617. package/custom/node_modules/lodash-es/takeWhile.js +0 -45
  618. package/custom/node_modules/lodash-es/tap.js +0 -29
  619. package/custom/node_modules/lodash-es/template.js +0 -272
  620. package/custom/node_modules/lodash-es/templateSettings.js +0 -67
  621. package/custom/node_modules/lodash-es/throttle.js +0 -69
  622. package/custom/node_modules/lodash-es/thru.js +0 -28
  623. package/custom/node_modules/lodash-es/times.js +0 -51
  624. package/custom/node_modules/lodash-es/toArray.js +0 -58
  625. package/custom/node_modules/lodash-es/toFinite.js +0 -42
  626. package/custom/node_modules/lodash-es/toInteger.js +0 -36
  627. package/custom/node_modules/lodash-es/toIterator.js +0 -23
  628. package/custom/node_modules/lodash-es/toJSON.js +0 -1
  629. package/custom/node_modules/lodash-es/toLength.js +0 -38
  630. package/custom/node_modules/lodash-es/toLower.js +0 -28
  631. package/custom/node_modules/lodash-es/toNumber.js +0 -64
  632. package/custom/node_modules/lodash-es/toPairs.js +0 -30
  633. package/custom/node_modules/lodash-es/toPairsIn.js +0 -30
  634. package/custom/node_modules/lodash-es/toPath.js +0 -33
  635. package/custom/node_modules/lodash-es/toPlainObject.js +0 -32
  636. package/custom/node_modules/lodash-es/toSafeInteger.js +0 -37
  637. package/custom/node_modules/lodash-es/toString.js +0 -28
  638. package/custom/node_modules/lodash-es/toUpper.js +0 -28
  639. package/custom/node_modules/lodash-es/transform.js +0 -65
  640. package/custom/node_modules/lodash-es/trim.js +0 -47
  641. package/custom/node_modules/lodash-es/trimEnd.js +0 -41
  642. package/custom/node_modules/lodash-es/trimStart.js +0 -43
  643. package/custom/node_modules/lodash-es/truncate.js +0 -111
  644. package/custom/node_modules/lodash-es/unary.js +0 -22
  645. package/custom/node_modules/lodash-es/unescape.js +0 -34
  646. package/custom/node_modules/lodash-es/union.js +0 -26
  647. package/custom/node_modules/lodash-es/unionBy.js +0 -39
  648. package/custom/node_modules/lodash-es/unionWith.js +0 -34
  649. package/custom/node_modules/lodash-es/uniq.js +0 -25
  650. package/custom/node_modules/lodash-es/uniqBy.js +0 -31
  651. package/custom/node_modules/lodash-es/uniqWith.js +0 -28
  652. package/custom/node_modules/lodash-es/uniqueId.js +0 -28
  653. package/custom/node_modules/lodash-es/unset.js +0 -34
  654. package/custom/node_modules/lodash-es/unzip.js +0 -45
  655. package/custom/node_modules/lodash-es/unzipWith.js +0 -39
  656. package/custom/node_modules/lodash-es/update.js +0 -35
  657. package/custom/node_modules/lodash-es/updateWith.js +0 -33
  658. package/custom/node_modules/lodash-es/upperCase.js +0 -27
  659. package/custom/node_modules/lodash-es/upperFirst.js +0 -22
  660. package/custom/node_modules/lodash-es/util.default.js +0 -42
  661. package/custom/node_modules/lodash-es/util.js +0 -33
  662. package/custom/node_modules/lodash-es/value.js +0 -1
  663. package/custom/node_modules/lodash-es/valueOf.js +0 -1
  664. package/custom/node_modules/lodash-es/values.js +0 -34
  665. package/custom/node_modules/lodash-es/valuesIn.js +0 -32
  666. package/custom/node_modules/lodash-es/without.js +0 -31
  667. package/custom/node_modules/lodash-es/words.js +0 -35
  668. package/custom/node_modules/lodash-es/wrap.js +0 -30
  669. package/custom/node_modules/lodash-es/wrapperAt.js +0 -48
  670. package/custom/node_modules/lodash-es/wrapperChain.js +0 -34
  671. package/custom/node_modules/lodash-es/wrapperLodash.js +0 -147
  672. package/custom/node_modules/lodash-es/wrapperReverse.js +0 -44
  673. package/custom/node_modules/lodash-es/wrapperValue.js +0 -21
  674. package/custom/node_modules/lodash-es/xor.js +0 -28
  675. package/custom/node_modules/lodash-es/xorBy.js +0 -39
  676. package/custom/node_modules/lodash-es/xorWith.js +0 -34
  677. package/custom/node_modules/lodash-es/zip.js +0 -22
  678. package/custom/node_modules/lodash-es/zipObject.js +0 -24
  679. package/custom/node_modules/lodash-es/zipObjectDeep.js +0 -23
  680. package/custom/node_modules/lodash-es/zipWith.js +0 -32
  681. package/custom/node_modules/lodash.clonedeep/LICENSE +0 -47
  682. package/custom/node_modules/lodash.clonedeep/README.md +0 -18
  683. package/custom/node_modules/lodash.clonedeep/index.js +0 -1748
  684. package/custom/node_modules/lodash.clonedeep/package.json +0 -17
  685. package/custom/node_modules/lodash.isequal/LICENSE +0 -47
  686. package/custom/node_modules/lodash.isequal/README.md +0 -18
  687. package/custom/node_modules/lodash.isequal/index.js +0 -1848
  688. package/custom/node_modules/lodash.isequal/package.json +0 -16
  689. package/custom/node_modules/parchment/LICENSE +0 -30
  690. package/custom/node_modules/parchment/README.md +0 -271
  691. package/custom/node_modules/parchment/dist/parchment.d.ts +0 -453
  692. package/custom/node_modules/parchment/dist/parchment.js +0 -847
  693. package/custom/node_modules/parchment/dist/parchment.js.map +0 -1
  694. package/custom/node_modules/parchment/dist/parchment.umd.cjs +0 -2
  695. package/custom/node_modules/parchment/dist/parchment.umd.cjs.map +0 -1
  696. package/custom/node_modules/parchment/package.json +0 -53
  697. package/custom/node_modules/parchment/src/attributor/attributor.ts +0 -62
  698. package/custom/node_modules/parchment/src/attributor/class.ts +0 -43
  699. package/custom/node_modules/parchment/src/attributor/store.ts +0 -79
  700. package/custom/node_modules/parchment/src/attributor/style.ts +0 -44
  701. package/custom/node_modules/parchment/src/blot/abstract/blot.ts +0 -128
  702. package/custom/node_modules/parchment/src/blot/abstract/container.ts +0 -48
  703. package/custom/node_modules/parchment/src/blot/abstract/leaf.ts +0 -57
  704. package/custom/node_modules/parchment/src/blot/abstract/parent.ts +0 -400
  705. package/custom/node_modules/parchment/src/blot/abstract/shadow.ts +0 -188
  706. package/custom/node_modules/parchment/src/blot/block.ts +0 -123
  707. package/custom/node_modules/parchment/src/blot/embed.ts +0 -34
  708. package/custom/node_modules/parchment/src/blot/inline.ts +0 -159
  709. package/custom/node_modules/parchment/src/blot/scroll.ts +0 -216
  710. package/custom/node_modules/parchment/src/blot/text.ts +0 -100
  711. package/custom/node_modules/parchment/src/collection/linked-list.ts +0 -201
  712. package/custom/node_modules/parchment/src/collection/linked-node.ts +0 -8
  713. package/custom/node_modules/parchment/src/error.ts +0 -12
  714. package/custom/node_modules/parchment/src/parchment.ts +0 -48
  715. package/custom/node_modules/parchment/src/registry.ts +0 -155
  716. package/custom/node_modules/parchment/src/scope.ts +0 -18
  717. package/custom/node_modules/parchment/tsconfig.json +0 -16
  718. package/custom/node_modules/quill/LICENSE +0 -31
  719. package/custom/node_modules/quill/README.md +0 -104
  720. package/custom/node_modules/quill/assets/base.styl +0 -309
  721. package/custom/node_modules/quill/assets/bubble/toolbar.styl +0 -14
  722. package/custom/node_modules/quill/assets/bubble/tooltip.styl +0 -49
  723. package/custom/node_modules/quill/assets/bubble.styl +0 -45
  724. package/custom/node_modules/quill/assets/core.styl +0 -215
  725. package/custom/node_modules/quill/assets/favicon.png +0 -0
  726. package/custom/node_modules/quill/assets/icons/align-center.svg +0 -5
  727. package/custom/node_modules/quill/assets/icons/align-justify.svg +0 -5
  728. package/custom/node_modules/quill/assets/icons/align-left.svg +0 -5
  729. package/custom/node_modules/quill/assets/icons/align-right.svg +0 -5
  730. package/custom/node_modules/quill/assets/icons/attachment.svg +0 -3
  731. package/custom/node_modules/quill/assets/icons/audio.svg +0 -5
  732. package/custom/node_modules/quill/assets/icons/authorship.svg +0 -5
  733. package/custom/node_modules/quill/assets/icons/background.svg +0 -52
  734. package/custom/node_modules/quill/assets/icons/blockquote.svg +0 -6
  735. package/custom/node_modules/quill/assets/icons/bold.svg +0 -4
  736. package/custom/node_modules/quill/assets/icons/clean.svg +0 -7
  737. package/custom/node_modules/quill/assets/icons/code.svg +0 -5
  738. package/custom/node_modules/quill/assets/icons/color.svg +0 -5
  739. package/custom/node_modules/quill/assets/icons/comment.svg +0 -3
  740. package/custom/node_modules/quill/assets/icons/direction-ltr.svg +0 -7
  741. package/custom/node_modules/quill/assets/icons/direction-rtl.svg +0 -7
  742. package/custom/node_modules/quill/assets/icons/dropdown.svg +0 -4
  743. package/custom/node_modules/quill/assets/icons/embed.svg +0 -3
  744. package/custom/node_modules/quill/assets/icons/emoji.svg +0 -6
  745. package/custom/node_modules/quill/assets/icons/float-center.svg +0 -5
  746. package/custom/node_modules/quill/assets/icons/float-full.svg +0 -5
  747. package/custom/node_modules/quill/assets/icons/float-left.svg +0 -7
  748. package/custom/node_modules/quill/assets/icons/float-right.svg +0 -7
  749. package/custom/node_modules/quill/assets/icons/font.svg +0 -5
  750. package/custom/node_modules/quill/assets/icons/formula.svg +0 -5
  751. package/custom/node_modules/quill/assets/icons/hashtag.svg +0 -6
  752. package/custom/node_modules/quill/assets/icons/header-2.svg +0 -3
  753. package/custom/node_modules/quill/assets/icons/header-3.svg +0 -3
  754. package/custom/node_modules/quill/assets/icons/header-4.svg +0 -3
  755. package/custom/node_modules/quill/assets/icons/header-5.svg +0 -3
  756. package/custom/node_modules/quill/assets/icons/header-6.svg +0 -3
  757. package/custom/node_modules/quill/assets/icons/header.svg +0 -3
  758. package/custom/node_modules/quill/assets/icons/horizontal-rule.svg +0 -4
  759. package/custom/node_modules/quill/assets/icons/image.svg +0 -5
  760. package/custom/node_modules/quill/assets/icons/indent.svg +0 -6
  761. package/custom/node_modules/quill/assets/icons/italic.svg +0 -5
  762. package/custom/node_modules/quill/assets/icons/link.svg +0 -5
  763. package/custom/node_modules/quill/assets/icons/list-bullet.svg +0 -8
  764. package/custom/node_modules/quill/assets/icons/list-check.svg +0 -8
  765. package/custom/node_modules/quill/assets/icons/list-ordered.svg +0 -9
  766. package/custom/node_modules/quill/assets/icons/map.svg +0 -5
  767. package/custom/node_modules/quill/assets/icons/mention.svg +0 -4
  768. package/custom/node_modules/quill/assets/icons/more.svg +0 -3
  769. package/custom/node_modules/quill/assets/icons/outdent.svg +0 -6
  770. package/custom/node_modules/quill/assets/icons/redo.svg +0 -4
  771. package/custom/node_modules/quill/assets/icons/size-decrease.svg +0 -5
  772. package/custom/node_modules/quill/assets/icons/size-increase.svg +0 -6
  773. package/custom/node_modules/quill/assets/icons/size.svg +0 -6
  774. package/custom/node_modules/quill/assets/icons/spacing.svg +0 -9
  775. package/custom/node_modules/quill/assets/icons/speech.svg +0 -6
  776. package/custom/node_modules/quill/assets/icons/strike.svg +0 -5
  777. package/custom/node_modules/quill/assets/icons/subscript.svg +0 -4
  778. package/custom/node_modules/quill/assets/icons/superscript.svg +0 -4
  779. package/custom/node_modules/quill/assets/icons/table-border-all.svg +0 -5
  780. package/custom/node_modules/quill/assets/icons/table-border-bottom.svg +0 -28
  781. package/custom/node_modules/quill/assets/icons/table-border-left.svg +0 -28
  782. package/custom/node_modules/quill/assets/icons/table-border-none.svg +0 -25
  783. package/custom/node_modules/quill/assets/icons/table-border-outside.svg +0 -35
  784. package/custom/node_modules/quill/assets/icons/table-border-right.svg +0 -28
  785. package/custom/node_modules/quill/assets/icons/table-border-top.svg +0 -28
  786. package/custom/node_modules/quill/assets/icons/table-delete-cells.svg +0 -13
  787. package/custom/node_modules/quill/assets/icons/table-delete-columns.svg +0 -8
  788. package/custom/node_modules/quill/assets/icons/table-delete-rows.svg +0 -9
  789. package/custom/node_modules/quill/assets/icons/table-insert-cells.svg +0 -13
  790. package/custom/node_modules/quill/assets/icons/table-insert-columns.svg +0 -8
  791. package/custom/node_modules/quill/assets/icons/table-insert-rows.svg +0 -9
  792. package/custom/node_modules/quill/assets/icons/table-merge-cells.svg +0 -4
  793. package/custom/node_modules/quill/assets/icons/table-unmerge-cells.svg +0 -7
  794. package/custom/node_modules/quill/assets/icons/table.svg +0 -11
  795. package/custom/node_modules/quill/assets/icons/underline.svg +0 -4
  796. package/custom/node_modules/quill/assets/icons/undo.svg +0 -4
  797. package/custom/node_modules/quill/assets/icons/video.svg +0 -14
  798. package/custom/node_modules/quill/assets/snow/toolbar.styl +0 -26
  799. package/custom/node_modules/quill/assets/snow/tooltip.styl +0 -53
  800. package/custom/node_modules/quill/assets/snow.styl +0 -18
  801. package/custom/node_modules/quill/blots/block.d.ts +0 -34
  802. package/custom/node_modules/quill/blots/block.js +0 -182
  803. package/custom/node_modules/quill/blots/block.js.map +0 -1
  804. package/custom/node_modules/quill/blots/break.d.ts +0 -8
  805. package/custom/node_modules/quill/blots/break.js +0 -21
  806. package/custom/node_modules/quill/blots/break.js.map +0 -1
  807. package/custom/node_modules/quill/blots/container.d.ts +0 -4
  808. package/custom/node_modules/quill/blots/container.js +0 -4
  809. package/custom/node_modules/quill/blots/container.js.map +0 -1
  810. package/custom/node_modules/quill/blots/cursor.d.ts +0 -26
  811. package/custom/node_modules/quill/blots/cursor.js +0 -170
  812. package/custom/node_modules/quill/blots/cursor.js.map +0 -1
  813. package/custom/node_modules/quill/blots/embed.d.ts +0 -18
  814. package/custom/node_modules/quill/blots/embed.js +0 -72
  815. package/custom/node_modules/quill/blots/embed.js.map +0 -1
  816. package/custom/node_modules/quill/blots/inline.d.ts +0 -12
  817. package/custom/node_modules/quill/blots/inline.js +0 -48
  818. package/custom/node_modules/quill/blots/inline.js.map +0 -1
  819. package/custom/node_modules/quill/blots/scroll.d.ts +0 -49
  820. package/custom/node_modules/quill/blots/scroll.js +0 -349
  821. package/custom/node_modules/quill/blots/scroll.js.map +0 -1
  822. package/custom/node_modules/quill/blots/text.d.ts +0 -5
  823. package/custom/node_modules/quill/blots/text.js +0 -17
  824. package/custom/node_modules/quill/blots/text.js.map +0 -1
  825. package/custom/node_modules/quill/core/composition.d.ts +0 -12
  826. package/custom/node_modules/quill/core/composition.js +0 -44
  827. package/custom/node_modules/quill/core/composition.js.map +0 -1
  828. package/custom/node_modules/quill/core/editor.d.ts +0 -28
  829. package/custom/node_modules/quill/core/editor.js +0 -403
  830. package/custom/node_modules/quill/core/editor.js.map +0 -1
  831. package/custom/node_modules/quill/core/emitter.d.ts +0 -33
  832. package/custom/node_modules/quill/core/emitter.js +0 -78
  833. package/custom/node_modules/quill/core/emitter.js.map +0 -1
  834. package/custom/node_modules/quill/core/instances.d.ts +0 -3
  835. package/custom/node_modules/quill/core/instances.js +0 -2
  836. package/custom/node_modules/quill/core/instances.js.map +0 -1
  837. package/custom/node_modules/quill/core/logger.d.ts +0 -7
  838. package/custom/node_modules/quill/core/logger.js +0 -24
  839. package/custom/node_modules/quill/core/logger.js.map +0 -1
  840. package/custom/node_modules/quill/core/module.d.ts +0 -8
  841. package/custom/node_modules/quill/core/module.js +0 -10
  842. package/custom/node_modules/quill/core/module.js.map +0 -1
  843. package/custom/node_modules/quill/core/quill.d.ts +0 -218
  844. package/custom/node_modules/quill/core/quill.js +0 -628
  845. package/custom/node_modules/quill/core/quill.js.map +0 -1
  846. package/custom/node_modules/quill/core/selection.d.ts +0 -74
  847. package/custom/node_modules/quill/core/selection.js +0 -374
  848. package/custom/node_modules/quill/core/selection.js.map +0 -1
  849. package/custom/node_modules/quill/core/theme.d.ts +0 -32
  850. package/custom/node_modules/quill/core/theme.js +0 -28
  851. package/custom/node_modules/quill/core/theme.js.map +0 -1
  852. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.d.ts +0 -5
  853. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js +0 -29
  854. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js.map +0 -1
  855. package/custom/node_modules/quill/core/utils/scrollRectIntoView.d.ts +0 -8
  856. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js +0 -75
  857. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js.map +0 -1
  858. package/custom/node_modules/quill/core.d.ts +0 -7
  859. package/custom/node_modules/quill/core.js +0 -37
  860. package/custom/node_modules/quill/core.js.map +0 -1
  861. package/custom/node_modules/quill/dist/quill.bubble.css +0 -10
  862. package/custom/node_modules/quill/dist/quill.bubble.css.map +0 -1
  863. package/custom/node_modules/quill/dist/quill.core.css +0 -10
  864. package/custom/node_modules/quill/dist/quill.core.css.map +0 -1
  865. package/custom/node_modules/quill/dist/quill.core.js +0 -3
  866. package/custom/node_modules/quill/dist/quill.core.js.LICENSE.txt +0 -7
  867. package/custom/node_modules/quill/dist/quill.core.js.map +0 -1
  868. package/custom/node_modules/quill/dist/quill.js +0 -3
  869. package/custom/node_modules/quill/dist/quill.js.LICENSE.txt +0 -7
  870. package/custom/node_modules/quill/dist/quill.js.map +0 -1
  871. package/custom/node_modules/quill/dist/quill.snow.css +0 -10
  872. package/custom/node_modules/quill/dist/quill.snow.css.map +0 -1
  873. package/custom/node_modules/quill/formats/align.d.ts +0 -5
  874. package/custom/node_modules/quill/formats/align.js +0 -10
  875. package/custom/node_modules/quill/formats/align.js.map +0 -1
  876. package/custom/node_modules/quill/formats/background.d.ts +0 -5
  877. package/custom/node_modules/quill/formats/background.js +0 -10
  878. package/custom/node_modules/quill/formats/background.js.map +0 -1
  879. package/custom/node_modules/quill/formats/blockquote.d.ts +0 -6
  880. package/custom/node_modules/quill/formats/blockquote.js +0 -7
  881. package/custom/node_modules/quill/formats/blockquote.js.map +0 -1
  882. package/custom/node_modules/quill/formats/bold.d.ts +0 -11
  883. package/custom/node_modules/quill/formats/bold.js +0 -19
  884. package/custom/node_modules/quill/formats/bold.js.map +0 -1
  885. package/custom/node_modules/quill/formats/code.d.ts +0 -15
  886. package/custom/node_modules/quill/formats/code.js +0 -44
  887. package/custom/node_modules/quill/formats/code.js.map +0 -1
  888. package/custom/node_modules/quill/formats/color.d.ts +0 -7
  889. package/custom/node_modules/quill/formats/color.js +0 -18
  890. package/custom/node_modules/quill/formats/color.js.map +0 -1
  891. package/custom/node_modules/quill/formats/direction.d.ts +0 -5
  892. package/custom/node_modules/quill/formats/direction.js +0 -10
  893. package/custom/node_modules/quill/formats/direction.js.map +0 -1
  894. package/custom/node_modules/quill/formats/font.d.ts +0 -7
  895. package/custom/node_modules/quill/formats/font.js +0 -14
  896. package/custom/node_modules/quill/formats/font.js.map +0 -1
  897. package/custom/node_modules/quill/formats/formula.d.ts +0 -10
  898. package/custom/node_modules/quill/formats/formula.js +0 -33
  899. package/custom/node_modules/quill/formats/formula.js.map +0 -1
  900. package/custom/node_modules/quill/formats/header.d.ts +0 -7
  901. package/custom/node_modules/quill/formats/header.js +0 -10
  902. package/custom/node_modules/quill/formats/header.js.map +0 -1
  903. package/custom/node_modules/quill/formats/image.d.ts +0 -13
  904. package/custom/node_modules/quill/formats/image.js +0 -44
  905. package/custom/node_modules/quill/formats/image.js.map +0 -1
  906. package/custom/node_modules/quill/formats/indent.d.ts +0 -8
  907. package/custom/node_modules/quill/formats/indent.js +0 -30
  908. package/custom/node_modules/quill/formats/indent.js.map +0 -1
  909. package/custom/node_modules/quill/formats/italic.d.ts +0 -6
  910. package/custom/node_modules/quill/formats/italic.js +0 -7
  911. package/custom/node_modules/quill/formats/italic.js.map +0 -1
  912. package/custom/node_modules/quill/formats/link.d.ts +0 -13
  913. package/custom/node_modules/quill/formats/link.js +0 -36
  914. package/custom/node_modules/quill/formats/link.js.map +0 -1
  915. package/custom/node_modules/quill/formats/list.d.ts +0 -13
  916. package/custom/node_modules/quill/formats/list.js +0 -50
  917. package/custom/node_modules/quill/formats/list.js.map +0 -1
  918. package/custom/node_modules/quill/formats/script.d.ts +0 -8
  919. package/custom/node_modules/quill/formats/script.js +0 -21
  920. package/custom/node_modules/quill/formats/script.js.map +0 -1
  921. package/custom/node_modules/quill/formats/size.d.ts +0 -4
  922. package/custom/node_modules/quill/formats/size.js +0 -11
  923. package/custom/node_modules/quill/formats/size.js.map +0 -1
  924. package/custom/node_modules/quill/formats/strike.d.ts +0 -6
  925. package/custom/node_modules/quill/formats/strike.js +0 -7
  926. package/custom/node_modules/quill/formats/strike.js.map +0 -1
  927. package/custom/node_modules/quill/formats/table.d.ts +0 -45
  928. package/custom/node_modules/quill/formats/table.js +0 -176
  929. package/custom/node_modules/quill/formats/table.js.map +0 -1
  930. package/custom/node_modules/quill/formats/underline.d.ts +0 -6
  931. package/custom/node_modules/quill/formats/underline.js +0 -7
  932. package/custom/node_modules/quill/formats/underline.js.map +0 -1
  933. package/custom/node_modules/quill/formats/video.d.ts +0 -14
  934. package/custom/node_modules/quill/formats/video.js +0 -48
  935. package/custom/node_modules/quill/formats/video.js.map +0 -1
  936. package/custom/node_modules/quill/modules/clipboard.d.ts +0 -43
  937. package/custom/node_modules/quill/modules/clipboard.js +0 -475
  938. package/custom/node_modules/quill/modules/clipboard.js.map +0 -1
  939. package/custom/node_modules/quill/modules/history.d.ts +0 -36
  940. package/custom/node_modules/quill/modules/history.js +0 -178
  941. package/custom/node_modules/quill/modules/history.js.map +0 -1
  942. package/custom/node_modules/quill/modules/input.d.ts +0 -10
  943. package/custom/node_modules/quill/modules/input.js +0 -83
  944. package/custom/node_modules/quill/modules/input.js.map +0 -1
  945. package/custom/node_modules/quill/modules/keyboard.d.ts +0 -58
  946. package/custom/node_modules/quill/modules/keyboard.js +0 -713
  947. package/custom/node_modules/quill/modules/keyboard.js.map +0 -1
  948. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.d.ts +0 -2
  949. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js +0 -12
  950. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js.map +0 -1
  951. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -1
  952. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js +0 -24
  953. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js.map +0 -1
  954. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -1
  955. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js +0 -87
  956. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js.map +0 -1
  957. package/custom/node_modules/quill/modules/syntax.d.ts +0 -50
  958. package/custom/node_modules/quill/modules/syntax.js +0 -332
  959. package/custom/node_modules/quill/modules/syntax.js.map +0 -1
  960. package/custom/node_modules/quill/modules/table.d.ts +0 -20
  961. package/custom/node_modules/quill/modules/table.js +0 -125
  962. package/custom/node_modules/quill/modules/table.js.map +0 -1
  963. package/custom/node_modules/quill/modules/tableEmbed.d.ts +0 -27
  964. package/custom/node_modules/quill/modules/tableEmbed.js +0 -209
  965. package/custom/node_modules/quill/modules/tableEmbed.js.map +0 -1
  966. package/custom/node_modules/quill/modules/toolbar.d.ts +0 -24
  967. package/custom/node_modules/quill/modules/toolbar.js +0 -265
  968. package/custom/node_modules/quill/modules/toolbar.js.map +0 -1
  969. package/custom/node_modules/quill/modules/uiNode.d.ts +0 -19
  970. package/custom/node_modules/quill/modules/uiNode.js +0 -95
  971. package/custom/node_modules/quill/modules/uiNode.js.map +0 -1
  972. package/custom/node_modules/quill/modules/uploader.d.ts +0 -15
  973. package/custom/node_modules/quill/modules/uploader.js +0 -69
  974. package/custom/node_modules/quill/modules/uploader.js.map +0 -1
  975. package/custom/node_modules/quill/package.json +0 -100
  976. package/custom/node_modules/quill/quill.d.ts +0 -6
  977. package/custom/node_modules/quill/quill.js +0 -83
  978. package/custom/node_modules/quill/quill.js.map +0 -1
  979. package/custom/node_modules/quill/themes/base.d.ts +0 -35
  980. package/custom/node_modules/quill/themes/base.js +0 -257
  981. package/custom/node_modules/quill/themes/base.js.map +0 -1
  982. package/custom/node_modules/quill/themes/bubble.d.ts +0 -18
  983. package/custom/node_modules/quill/themes/bubble.js +0 -114
  984. package/custom/node_modules/quill/themes/bubble.js.map +0 -1
  985. package/custom/node_modules/quill/themes/snow.d.ts +0 -9
  986. package/custom/node_modules/quill/themes/snow.js +0 -122
  987. package/custom/node_modules/quill/themes/snow.js.map +0 -1
  988. package/custom/node_modules/quill/types.d.js +0 -2
  989. package/custom/node_modules/quill/types.d.js.map +0 -1
  990. package/custom/node_modules/quill/ui/color-picker.d.ts +0 -7
  991. package/custom/node_modules/quill/ui/color-picker.js +0 -30
  992. package/custom/node_modules/quill/ui/color-picker.js.map +0 -1
  993. package/custom/node_modules/quill/ui/icon-picker.d.ts +0 -7
  994. package/custom/node_modules/quill/ui/icon-picker.js +0 -22
  995. package/custom/node_modules/quill/ui/icon-picker.js.map +0 -1
  996. package/custom/node_modules/quill/ui/icons.d.ts +0 -49
  997. package/custom/node_modules/quill/ui/icons.js +0 -82
  998. package/custom/node_modules/quill/ui/icons.js.map +0 -1
  999. package/custom/node_modules/quill/ui/picker.d.ts +0 -16
  1000. package/custom/node_modules/quill/ui/picker.js +0 -171
  1001. package/custom/node_modules/quill/ui/picker.js.map +0 -1
  1002. package/custom/node_modules/quill/ui/tooltip.d.ts +0 -12
  1003. package/custom/node_modules/quill/ui/tooltip.js +0 -56
  1004. package/custom/node_modules/quill/ui/tooltip.js.map +0 -1
  1005. package/custom/node_modules/quill-delta/LICENSE +0 -14
  1006. package/custom/node_modules/quill-delta/README.md +0 -672
  1007. package/custom/node_modules/quill-delta/dist/AttributeMap.d.ts +0 -10
  1008. package/custom/node_modules/quill-delta/dist/AttributeMap.js +0 -86
  1009. package/custom/node_modules/quill-delta/dist/AttributeMap.js.map +0 -1
  1010. package/custom/node_modules/quill-delta/dist/Delta.d.ts +0 -45
  1011. package/custom/node_modules/quill-delta/dist/Delta.js +0 -478
  1012. package/custom/node_modules/quill-delta/dist/Delta.js.map +0 -1
  1013. package/custom/node_modules/quill-delta/dist/Op.d.ts +0 -11
  1014. package/custom/node_modules/quill-delta/dist/Op.js +0 -22
  1015. package/custom/node_modules/quill-delta/dist/Op.js.map +0 -1
  1016. package/custom/node_modules/quill-delta/dist/OpIterator.d.ts +0 -13
  1017. package/custom/node_modules/quill-delta/dist/OpIterator.js +0 -106
  1018. package/custom/node_modules/quill-delta/dist/OpIterator.js.map +0 -1
  1019. package/custom/node_modules/quill-delta/package.json +0 -77
  1020. package/custom/node_modules/quill-delta/src/AttributeMap.ts +0 -101
  1021. package/custom/node_modules/quill-delta/src/Delta.ts +0 -573
  1022. package/custom/node_modules/quill-delta/src/Op.ts +0 -26
  1023. package/custom/node_modules/quill-delta/src/OpIterator.ts +0 -106
  1024. package/custom/node_modules/quill-delta/tsconfig.json +0 -15
@@ -1,403 +0,0 @@
1
- import { cloneDeep, isEqual, merge } from 'lodash-es';
2
- import { LeafBlot, EmbedBlot, Scope, ParentBlot } from 'parchment';
3
- import Delta, { AttributeMap, Op } from 'quill-delta';
4
- import Block, { BlockEmbed, bubbleFormats } from '../blots/block.js';
5
- import Break from '../blots/break.js';
6
- import CursorBlot from '../blots/cursor.js';
7
- import TextBlot, { escapeText } from '../blots/text.js';
8
- import { Range } from './selection.js';
9
- const ASCII = /^[ -~]*$/;
10
- class Editor {
11
- constructor(scroll) {
12
- this.scroll = scroll;
13
- this.delta = this.getDelta();
14
- }
15
- applyDelta(delta) {
16
- this.scroll.update();
17
- let scrollLength = this.scroll.length();
18
- this.scroll.batchStart();
19
- const normalizedDelta = normalizeDelta(delta);
20
- const deleteDelta = new Delta();
21
- const normalizedOps = splitOpLines(normalizedDelta.ops.slice());
22
- normalizedOps.reduce((index, op) => {
23
- const length = Op.length(op);
24
- let attributes = op.attributes || {};
25
- let isImplicitNewlinePrepended = false;
26
- let isImplicitNewlineAppended = false;
27
- if (op.insert != null) {
28
- deleteDelta.retain(length);
29
- if (typeof op.insert === 'string') {
30
- const text = op.insert;
31
- isImplicitNewlineAppended = !text.endsWith('\n') && (scrollLength <= index || !!this.scroll.descendant(BlockEmbed, index)[0]);
32
- this.scroll.insertAt(index, text);
33
- const [line, offset] = this.scroll.line(index);
34
- let formats = merge({}, bubbleFormats(line));
35
- if (line instanceof Block) {
36
- const [leaf] = line.descendant(LeafBlot, offset);
37
- if (leaf) {
38
- formats = merge(formats, bubbleFormats(leaf));
39
- }
40
- }
41
- attributes = AttributeMap.diff(formats, attributes) || {};
42
- } else if (typeof op.insert === 'object') {
43
- const key = Object.keys(op.insert)[0]; // There should only be one key
44
- if (key == null) return index;
45
- const isInlineEmbed = this.scroll.query(key, Scope.INLINE) != null;
46
- if (isInlineEmbed) {
47
- if (scrollLength <= index || !!this.scroll.descendant(BlockEmbed, index)[0]) {
48
- isImplicitNewlineAppended = true;
49
- }
50
- } else if (index > 0) {
51
- const [leaf, offset] = this.scroll.descendant(LeafBlot, index - 1);
52
- if (leaf instanceof TextBlot) {
53
- const text = leaf.value();
54
- if (text[offset] !== '\n') {
55
- isImplicitNewlinePrepended = true;
56
- }
57
- } else if (leaf instanceof EmbedBlot && leaf.statics.scope === Scope.INLINE_BLOT) {
58
- isImplicitNewlinePrepended = true;
59
- }
60
- }
61
- this.scroll.insertAt(index, key, op.insert[key]);
62
- if (isInlineEmbed) {
63
- const [leaf] = this.scroll.descendant(LeafBlot, index);
64
- if (leaf) {
65
- const formats = merge({}, bubbleFormats(leaf));
66
- attributes = AttributeMap.diff(formats, attributes) || {};
67
- }
68
- }
69
- }
70
- scrollLength += length;
71
- } else {
72
- deleteDelta.push(op);
73
- if (op.retain !== null && typeof op.retain === 'object') {
74
- const key = Object.keys(op.retain)[0];
75
- if (key == null) return index;
76
- this.scroll.updateEmbedAt(index, key, op.retain[key]);
77
- }
78
- }
79
- Object.keys(attributes).forEach(name => {
80
- this.scroll.formatAt(index, length, name, attributes[name]);
81
- });
82
- const prependedLength = isImplicitNewlinePrepended ? 1 : 0;
83
- const addedLength = isImplicitNewlineAppended ? 1 : 0;
84
- scrollLength += prependedLength + addedLength;
85
- deleteDelta.retain(prependedLength);
86
- deleteDelta.delete(addedLength);
87
- return index + length + prependedLength + addedLength;
88
- }, 0);
89
- deleteDelta.reduce((index, op) => {
90
- if (typeof op.delete === 'number') {
91
- this.scroll.deleteAt(index, op.delete);
92
- return index;
93
- }
94
- return index + Op.length(op);
95
- }, 0);
96
- this.scroll.batchEnd();
97
- this.scroll.optimize();
98
- return this.update(normalizedDelta);
99
- }
100
- deleteText(index, length) {
101
- this.scroll.deleteAt(index, length);
102
- return this.update(new Delta().retain(index).delete(length));
103
- }
104
- formatLine(index, length) {
105
- let formats = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
106
- this.scroll.update();
107
- Object.keys(formats).forEach(format => {
108
- this.scroll.lines(index, Math.max(length, 1)).forEach(line => {
109
- line.format(format, formats[format]);
110
- });
111
- });
112
- this.scroll.optimize();
113
- const delta = new Delta().retain(index).retain(length, cloneDeep(formats));
114
- return this.update(delta);
115
- }
116
- formatText(index, length) {
117
- let formats = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
118
- Object.keys(formats).forEach(format => {
119
- this.scroll.formatAt(index, length, format, formats[format]);
120
- });
121
- const delta = new Delta().retain(index).retain(length, cloneDeep(formats));
122
- return this.update(delta);
123
- }
124
- getContents(index, length) {
125
- return this.delta.slice(index, index + length);
126
- }
127
- getDelta() {
128
- return this.scroll.lines().reduce((delta, line) => {
129
- return delta.concat(line.delta());
130
- }, new Delta());
131
- }
132
- getFormat(index) {
133
- let length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
134
- let lines = [];
135
- let leaves = [];
136
- if (length === 0) {
137
- this.scroll.path(index).forEach(path => {
138
- const [blot] = path;
139
- if (blot instanceof Block) {
140
- lines.push(blot);
141
- } else if (blot instanceof LeafBlot) {
142
- leaves.push(blot);
143
- }
144
- });
145
- } else {
146
- lines = this.scroll.lines(index, length);
147
- leaves = this.scroll.descendants(LeafBlot, index, length);
148
- }
149
- const [lineFormats, leafFormats] = [lines, leaves].map(blots => {
150
- const blot = blots.shift();
151
- if (blot == null) return {};
152
- let formats = bubbleFormats(blot);
153
- while (Object.keys(formats).length > 0) {
154
- const blot = blots.shift();
155
- if (blot == null) return formats;
156
- formats = combineFormats(bubbleFormats(blot), formats);
157
- }
158
- return formats;
159
- });
160
- return {
161
- ...lineFormats,
162
- ...leafFormats
163
- };
164
- }
165
- getHTML(index, length) {
166
- const [line, lineOffset] = this.scroll.line(index);
167
- if (line) {
168
- const lineLength = line.length();
169
- const isWithinLine = line.length() >= lineOffset + length;
170
- if (isWithinLine && !(lineOffset === 0 && length === lineLength)) {
171
- return convertHTML(line, lineOffset, length, true);
172
- }
173
- return convertHTML(this.scroll, index, length, true);
174
- }
175
- return '';
176
- }
177
- getText(index, length) {
178
- return this.getContents(index, length).filter(op => typeof op.insert === 'string').map(op => op.insert).join('');
179
- }
180
- insertContents(index, contents) {
181
- const normalizedDelta = normalizeDelta(contents);
182
- const change = new Delta().retain(index).concat(normalizedDelta);
183
- this.scroll.insertContents(index, normalizedDelta);
184
- return this.update(change);
185
- }
186
- insertEmbed(index, embed, value) {
187
- this.scroll.insertAt(index, embed, value);
188
- return this.update(new Delta().retain(index).insert({
189
- [embed]: value
190
- }));
191
- }
192
- insertText(index, text) {
193
- let formats = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
194
- text = text.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
195
- this.scroll.insertAt(index, text);
196
- Object.keys(formats).forEach(format => {
197
- this.scroll.formatAt(index, text.length, format, formats[format]);
198
- });
199
- return this.update(new Delta().retain(index).insert(text, cloneDeep(formats)));
200
- }
201
- isBlank() {
202
- if (this.scroll.children.length === 0) return true;
203
- if (this.scroll.children.length > 1) return false;
204
- const blot = this.scroll.children.head;
205
- if (blot?.statics.blotName !== Block.blotName) return false;
206
- const block = blot;
207
- if (block.children.length > 1) return false;
208
- return block.children.head instanceof Break;
209
- }
210
- removeFormat(index, length) {
211
- const text = this.getText(index, length);
212
- const [line, offset] = this.scroll.line(index + length);
213
- let suffixLength = 0;
214
- let suffix = new Delta();
215
- if (line != null) {
216
- suffixLength = line.length() - offset;
217
- suffix = line.delta().slice(offset, offset + suffixLength - 1).insert('\n');
218
- }
219
- const contents = this.getContents(index, length + suffixLength);
220
- const diff = contents.diff(new Delta().insert(text).concat(suffix));
221
- const delta = new Delta().retain(index).concat(diff);
222
- return this.applyDelta(delta);
223
- }
224
- update(change) {
225
- let mutations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
226
- let selectionInfo = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
227
- const oldDelta = this.delta;
228
- if (mutations.length === 1 && mutations[0].type === 'characterData' &&
229
- // @ts-expect-error Fix me later
230
- mutations[0].target.data.match(ASCII) && this.scroll.find(mutations[0].target)) {
231
- // Optimization for character changes
232
- const textBlot = this.scroll.find(mutations[0].target);
233
- const formats = bubbleFormats(textBlot);
234
- const index = textBlot.offset(this.scroll);
235
- // @ts-expect-error Fix me later
236
- const oldValue = mutations[0].oldValue.replace(CursorBlot.CONTENTS, '');
237
- const oldText = new Delta().insert(oldValue);
238
- // @ts-expect-error
239
- const newText = new Delta().insert(textBlot.value());
240
- const relativeSelectionInfo = selectionInfo && {
241
- oldRange: shiftRange(selectionInfo.oldRange, -index),
242
- newRange: shiftRange(selectionInfo.newRange, -index)
243
- };
244
- const diffDelta = new Delta().retain(index).concat(oldText.diff(newText, relativeSelectionInfo));
245
- change = diffDelta.reduce((delta, op) => {
246
- if (op.insert) {
247
- return delta.insert(op.insert, formats);
248
- }
249
- return delta.push(op);
250
- }, new Delta());
251
- this.delta = oldDelta.compose(change);
252
- } else {
253
- this.delta = this.getDelta();
254
- if (!change || !isEqual(oldDelta.compose(change), this.delta)) {
255
- change = oldDelta.diff(this.delta, selectionInfo);
256
- }
257
- }
258
- return change;
259
- }
260
- }
261
- function convertListHTML(items, lastIndent, types) {
262
- if (items.length === 0) {
263
- const [endTag] = getListType(types.pop());
264
- if (lastIndent <= 0) {
265
- return `</li></${endTag}>`;
266
- }
267
- return `</li></${endTag}>${convertListHTML([], lastIndent - 1, types)}`;
268
- }
269
- const [{
270
- child,
271
- offset,
272
- length,
273
- indent,
274
- type
275
- }, ...rest] = items;
276
- const [tag, attribute] = getListType(type);
277
- if (indent > lastIndent) {
278
- types.push(type);
279
- if (indent === lastIndent + 1) {
280
- return `<${tag}><li${attribute}>${convertHTML(child, offset, length)}${convertListHTML(rest, indent, types)}`;
281
- }
282
- return `<${tag}><li>${convertListHTML(items, lastIndent + 1, types)}`;
283
- }
284
- const previousType = types[types.length - 1];
285
- if (indent === lastIndent && type === previousType) {
286
- return `</li><li${attribute}>${convertHTML(child, offset, length)}${convertListHTML(rest, indent, types)}`;
287
- }
288
- const [endTag] = getListType(types.pop());
289
- return `</li></${endTag}>${convertListHTML(items, lastIndent - 1, types)}`;
290
- }
291
- function convertHTML(blot, index, length) {
292
- let isRoot = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
293
- if ('html' in blot && typeof blot.html === 'function') {
294
- return blot.html(index, length);
295
- }
296
- if (blot instanceof TextBlot) {
297
- return escapeText(blot.value().slice(index, index + length));
298
- }
299
- if (blot instanceof ParentBlot) {
300
- // TODO fix API
301
- if (blot.statics.blotName === 'list-container') {
302
- const items = [];
303
- blot.children.forEachAt(index, length, (child, offset, childLength) => {
304
- const formats = 'formats' in child && typeof child.formats === 'function' ? child.formats() : {};
305
- items.push({
306
- child,
307
- offset,
308
- length: childLength,
309
- indent: formats.indent || 0,
310
- type: formats.list
311
- });
312
- });
313
- return convertListHTML(items, -1, []);
314
- }
315
- const parts = [];
316
- blot.children.forEachAt(index, length, (child, offset, childLength) => {
317
- parts.push(convertHTML(child, offset, childLength));
318
- });
319
- if (isRoot || blot.statics.blotName === 'list') {
320
- return parts.join('');
321
- }
322
- const {
323
- outerHTML,
324
- innerHTML
325
- } = blot.domNode;
326
- const [start, end] = outerHTML.split(`>${innerHTML}<`);
327
- // TODO cleanup
328
- if (start === '<table') {
329
- return `<table style="border: 1px solid #000;">${parts.join('')}<${end}`;
330
- }
331
- return `${start}>${parts.join('')}<${end}`;
332
- }
333
- return blot.domNode instanceof Element ? blot.domNode.outerHTML : '';
334
- }
335
- function combineFormats(formats, combined) {
336
- return Object.keys(combined).reduce((merged, name) => {
337
- if (formats[name] == null) return merged;
338
- const combinedValue = combined[name];
339
- if (combinedValue === formats[name]) {
340
- merged[name] = combinedValue;
341
- } else if (Array.isArray(combinedValue)) {
342
- if (combinedValue.indexOf(formats[name]) < 0) {
343
- merged[name] = combinedValue.concat([formats[name]]);
344
- } else {
345
- // If style already exists, don't add to an array, but don't lose other styles
346
- merged[name] = combinedValue;
347
- }
348
- } else {
349
- merged[name] = [combinedValue, formats[name]];
350
- }
351
- return merged;
352
- }, {});
353
- }
354
- function getListType(type) {
355
- const tag = type === 'ordered' ? 'ol' : 'ul';
356
- switch (type) {
357
- case 'checked':
358
- return [tag, ' data-list="checked"'];
359
- case 'unchecked':
360
- return [tag, ' data-list="unchecked"'];
361
- default:
362
- return [tag, ''];
363
- }
364
- }
365
- function normalizeDelta(delta) {
366
- return delta.reduce((normalizedDelta, op) => {
367
- if (typeof op.insert === 'string') {
368
- const text = op.insert.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
369
- return normalizedDelta.insert(text, op.attributes);
370
- }
371
- return normalizedDelta.push(op);
372
- }, new Delta());
373
- }
374
- function shiftRange(_ref, amount) {
375
- let {
376
- index,
377
- length
378
- } = _ref;
379
- return new Range(index + amount, length);
380
- }
381
- function splitOpLines(ops) {
382
- const split = [];
383
- ops.forEach(op => {
384
- if (typeof op.insert === 'string') {
385
- const lines = op.insert.split('\n');
386
- lines.forEach((line, index) => {
387
- if (index) split.push({
388
- insert: '\n',
389
- attributes: op.attributes
390
- });
391
- if (line) split.push({
392
- insert: line,
393
- attributes: op.attributes
394
- });
395
- });
396
- } else {
397
- split.push(op);
398
- }
399
- });
400
- return split;
401
- }
402
- export default Editor;
403
- //# sourceMappingURL=editor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.js","names":["cloneDeep","isEqual","merge","LeafBlot","EmbedBlot","Scope","ParentBlot","Delta","AttributeMap","Op","Block","BlockEmbed","bubbleFormats","Break","CursorBlot","TextBlot","escapeText","Range","ASCII","Editor","constructor","scroll","delta","getDelta","applyDelta","update","scrollLength","length","batchStart","normalizedDelta","normalizeDelta","deleteDelta","normalizedOps","splitOpLines","ops","slice","reduce","index","op","attributes","isImplicitNewlinePrepended","isImplicitNewlineAppended","insert","retain","text","endsWith","descendant","insertAt","line","offset","formats","leaf","diff","key","Object","keys","isInlineEmbed","query","INLINE","value","statics","scope","INLINE_BLOT","push","updateEmbedAt","forEach","name","formatAt","prependedLength","addedLength","delete","deleteAt","batchEnd","optimize","deleteText","formatLine","arguments","undefined","format","lines","Math","max","formatText","getContents","concat","getFormat","leaves","path","blot","descendants","lineFormats","leafFormats","map","blots","shift","combineFormats","getHTML","lineOffset","lineLength","isWithinLine","convertHTML","getText","filter","join","insertContents","contents","change","insertEmbed","embed","insertText","replace","isBlank","children","head","blotName","block","removeFormat","suffixLength","suffix","mutations","selectionInfo","oldDelta","type","target","data","match","find","textBlot","oldValue","CONTENTS","oldText","newText","relativeSelectionInfo","oldRange","shiftRange","newRange","diffDelta","compose","convertListHTML","items","lastIndent","types","endTag","getListType","pop","child","indent","rest","tag","attribute","previousType","isRoot","html","forEachAt","childLength","list","parts","outerHTML","innerHTML","domNode","start","end","split","Element","combined","merged","combinedValue","Array","isArray","indexOf","_ref","amount"],"sources":["../../src/core/editor.ts"],"sourcesContent":["import { cloneDeep, isEqual, merge } from 'lodash-es';\nimport { LeafBlot, EmbedBlot, Scope, ParentBlot } from 'parchment';\nimport type { Blot } from 'parchment';\nimport Delta, { AttributeMap, Op } from 'quill-delta';\nimport Block, { BlockEmbed, bubbleFormats } from '../blots/block.js';\nimport Break from '../blots/break.js';\nimport CursorBlot from '../blots/cursor.js';\nimport type Scroll from '../blots/scroll.js';\nimport TextBlot, { escapeText } from '../blots/text.js';\nimport { Range } from './selection.js';\n\nconst ASCII = /^[ -~]*$/;\n\ntype SelectionInfo = {\n newRange: Range;\n oldRange: Range;\n};\n\nclass Editor {\n scroll: Scroll;\n delta: Delta;\n\n constructor(scroll: Scroll) {\n this.scroll = scroll;\n this.delta = this.getDelta();\n }\n\n applyDelta(delta: Delta): Delta {\n this.scroll.update();\n let scrollLength = this.scroll.length();\n this.scroll.batchStart();\n const normalizedDelta = normalizeDelta(delta);\n const deleteDelta = new Delta();\n const normalizedOps = splitOpLines(normalizedDelta.ops.slice());\n normalizedOps.reduce((index, op) => {\n const length = Op.length(op);\n let attributes = op.attributes || {};\n let isImplicitNewlinePrepended = false;\n let isImplicitNewlineAppended = false;\n if (op.insert != null) {\n deleteDelta.retain(length);\n if (typeof op.insert === 'string') {\n const text = op.insert;\n isImplicitNewlineAppended =\n !text.endsWith('\\n') &&\n (scrollLength <= index ||\n !!this.scroll.descendant(BlockEmbed, index)[0]);\n this.scroll.insertAt(index, text);\n const [line, offset] = this.scroll.line(index);\n let formats = merge({}, bubbleFormats(line));\n if (line instanceof Block) {\n const [leaf] = line.descendant(LeafBlot, offset);\n if (leaf) {\n formats = merge(formats, bubbleFormats(leaf));\n }\n }\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 const isInlineEmbed = this.scroll.query(key, Scope.INLINE) != null;\n if (isInlineEmbed) {\n if (\n scrollLength <= index ||\n !!this.scroll.descendant(BlockEmbed, index)[0]\n ) {\n isImplicitNewlineAppended = true;\n }\n } else if (index > 0) {\n const [leaf, offset] = this.scroll.descendant(LeafBlot, index - 1);\n if (leaf instanceof TextBlot) {\n const text = leaf.value();\n if (text[offset] !== '\\n') {\n isImplicitNewlinePrepended = true;\n }\n } else if (\n leaf instanceof EmbedBlot &&\n leaf.statics.scope === Scope.INLINE_BLOT\n ) {\n isImplicitNewlinePrepended = true;\n }\n }\n this.scroll.insertAt(index, key, op.insert[key]);\n\n if (isInlineEmbed) {\n const [leaf] = this.scroll.descendant(LeafBlot, index);\n if (leaf) {\n const formats = merge({}, bubbleFormats(leaf));\n attributes = AttributeMap.diff(formats, attributes) || {};\n }\n }\n }\n scrollLength += length;\n } else {\n deleteDelta.push(op);\n\n if (op.retain !== null && typeof op.retain === 'object') {\n const key = Object.keys(op.retain)[0];\n if (key == null) return index;\n this.scroll.updateEmbedAt(index, key, op.retain[key]);\n }\n }\n Object.keys(attributes).forEach((name) => {\n this.scroll.formatAt(index, length, name, attributes[name]);\n });\n const prependedLength = isImplicitNewlinePrepended ? 1 : 0;\n const addedLength = isImplicitNewlineAppended ? 1 : 0;\n scrollLength += prependedLength + addedLength;\n deleteDelta.retain(prependedLength);\n deleteDelta.delete(addedLength);\n return index + length + prependedLength + addedLength;\n }, 0);\n deleteDelta.reduce((index, op) => {\n if (typeof op.delete === 'number') {\n this.scroll.deleteAt(index, op.delete);\n return index;\n }\n return index + Op.length(op);\n }, 0);\n this.scroll.batchEnd();\n this.scroll.optimize();\n return this.update(normalizedDelta);\n }\n\n deleteText(index: number, length: number): Delta {\n this.scroll.deleteAt(index, length);\n return this.update(new Delta().retain(index).delete(length));\n }\n\n formatLine(\n index: number,\n length: number,\n formats: Record<string, unknown> = {},\n ): Delta {\n this.scroll.update();\n Object.keys(formats).forEach((format) => {\n this.scroll.lines(index, Math.max(length, 1)).forEach((line) => {\n line.format(format, formats[format]);\n });\n });\n this.scroll.optimize();\n const delta = new Delta().retain(index).retain(length, cloneDeep(formats));\n return this.update(delta);\n }\n\n formatText(\n index: number,\n length: number,\n formats: Record<string, unknown> = {},\n ): Delta {\n Object.keys(formats).forEach((format) => {\n this.scroll.formatAt(index, length, format, formats[format]);\n });\n const delta = new Delta().retain(index).retain(length, cloneDeep(formats));\n return this.update(delta);\n }\n\n getContents(index: number, length: number): Delta {\n return this.delta.slice(index, index + length);\n }\n\n getDelta(): Delta {\n return this.scroll.lines().reduce((delta, line) => {\n return delta.concat(line.delta());\n }, new Delta());\n }\n\n getFormat(index: number, length = 0): Record<string, unknown> {\n let lines: (Block | BlockEmbed)[] = [];\n let leaves: LeafBlot[] = [];\n if (length === 0) {\n this.scroll.path(index).forEach((path) => {\n const [blot] = path;\n if (blot instanceof Block) {\n lines.push(blot);\n } else if (blot instanceof LeafBlot) {\n leaves.push(blot);\n }\n });\n } else {\n lines = this.scroll.lines(index, length);\n leaves = this.scroll.descendants(LeafBlot, index, length);\n }\n const [lineFormats, leafFormats] = [lines, leaves].map((blots) => {\n const blot = blots.shift();\n if (blot == null) return {};\n let formats = bubbleFormats(blot);\n while (Object.keys(formats).length > 0) {\n const blot = blots.shift();\n if (blot == null) return formats;\n formats = combineFormats(bubbleFormats(blot), formats);\n }\n return formats;\n });\n return { ...lineFormats, ...leafFormats };\n }\n\n getHTML(index: number, length: number): string {\n const [line, lineOffset] = this.scroll.line(index);\n if (line) {\n const lineLength = line.length();\n const isWithinLine = line.length() >= lineOffset + length;\n if (isWithinLine && !(lineOffset === 0 && length === lineLength)) {\n return convertHTML(line, lineOffset, length, true);\n }\n return convertHTML(this.scroll, index, length, true);\n }\n return '';\n }\n\n getText(index: number, length: number): string {\n return this.getContents(index, length)\n .filter((op) => typeof op.insert === 'string')\n .map((op) => op.insert)\n .join('');\n }\n\n insertContents(index: number, contents: Delta): Delta {\n const normalizedDelta = normalizeDelta(contents);\n const change = new Delta().retain(index).concat(normalizedDelta);\n this.scroll.insertContents(index, normalizedDelta);\n return this.update(change);\n }\n\n insertEmbed(index: number, embed: string, value: unknown): Delta {\n this.scroll.insertAt(index, embed, value);\n return this.update(new Delta().retain(index).insert({ [embed]: value }));\n }\n\n insertText(\n index: number,\n text: string,\n formats: Record<string, unknown> = {},\n ): Delta {\n text = text.replace(/\\r\\n/g, '\\n').replace(/\\r/g, '\\n');\n this.scroll.insertAt(index, text);\n Object.keys(formats).forEach((format) => {\n this.scroll.formatAt(index, text.length, format, formats[format]);\n });\n return this.update(\n new Delta().retain(index).insert(text, cloneDeep(formats)),\n );\n }\n\n isBlank(): boolean {\n if (this.scroll.children.length === 0) return true;\n if (this.scroll.children.length > 1) return false;\n const blot = this.scroll.children.head;\n if (blot?.statics.blotName !== Block.blotName) return false;\n const block = blot as Block;\n if (block.children.length > 1) return false;\n return block.children.head instanceof Break;\n }\n\n removeFormat(index: number, length: number): Delta {\n const text = this.getText(index, length);\n const [line, offset] = this.scroll.line(index + length);\n let suffixLength = 0;\n let suffix = new Delta();\n if (line != null) {\n suffixLength = line.length() - offset;\n suffix = line\n .delta()\n .slice(offset, offset + suffixLength - 1)\n .insert('\\n');\n }\n const contents = this.getContents(index, length + suffixLength);\n const diff = contents.diff(new Delta().insert(text).concat(suffix));\n const delta = new Delta().retain(index).concat(diff);\n return this.applyDelta(delta);\n }\n\n update(\n change: Delta | null,\n mutations: MutationRecord[] = [],\n selectionInfo: SelectionInfo | undefined = undefined,\n ): Delta {\n const oldDelta = this.delta;\n if (\n mutations.length === 1 &&\n mutations[0].type === 'characterData' &&\n // @ts-expect-error Fix me later\n mutations[0].target.data.match(ASCII) &&\n this.scroll.find(mutations[0].target)\n ) {\n // Optimization for character changes\n const textBlot = this.scroll.find(mutations[0].target) as Blot;\n const formats = bubbleFormats(textBlot);\n const index = textBlot.offset(this.scroll);\n // @ts-expect-error Fix me later\n const oldValue = mutations[0].oldValue.replace(CursorBlot.CONTENTS, '');\n const oldText = new Delta().insert(oldValue);\n // @ts-expect-error\n const newText = new Delta().insert(textBlot.value());\n const relativeSelectionInfo = selectionInfo && {\n oldRange: shiftRange(selectionInfo.oldRange, -index),\n newRange: shiftRange(selectionInfo.newRange, -index),\n };\n const diffDelta = new Delta()\n .retain(index)\n .concat(oldText.diff(newText, relativeSelectionInfo));\n change = diffDelta.reduce((delta, op) => {\n if (op.insert) {\n return delta.insert(op.insert, formats);\n }\n return delta.push(op);\n }, new Delta());\n this.delta = oldDelta.compose(change);\n } else {\n this.delta = this.getDelta();\n if (!change || !isEqual(oldDelta.compose(change), this.delta)) {\n change = oldDelta.diff(this.delta, selectionInfo);\n }\n }\n return change;\n }\n}\n\ninterface ListItem {\n child: Blot;\n offset: number;\n length: number;\n indent: number;\n type: string;\n}\nfunction convertListHTML(\n items: ListItem[],\n lastIndent: number,\n types: string[],\n): string {\n if (items.length === 0) {\n const [endTag] = getListType(types.pop());\n if (lastIndent <= 0) {\n return `</li></${endTag}>`;\n }\n return `</li></${endTag}>${convertListHTML([], lastIndent - 1, types)}`;\n }\n const [{ child, offset, length, indent, type }, ...rest] = items;\n const [tag, attribute] = getListType(type);\n if (indent > lastIndent) {\n types.push(type);\n if (indent === lastIndent + 1) {\n return `<${tag}><li${attribute}>${convertHTML(\n child,\n offset,\n length,\n )}${convertListHTML(rest, indent, types)}`;\n }\n return `<${tag}><li>${convertListHTML(items, lastIndent + 1, types)}`;\n }\n const previousType = types[types.length - 1];\n if (indent === lastIndent && type === previousType) {\n return `</li><li${attribute}>${convertHTML(\n child,\n offset,\n length,\n )}${convertListHTML(rest, indent, types)}`;\n }\n const [endTag] = getListType(types.pop());\n return `</li></${endTag}>${convertListHTML(items, lastIndent - 1, types)}`;\n}\n\nfunction convertHTML(\n blot: Blot,\n index: number,\n length: number,\n isRoot = false,\n): string {\n if ('html' in blot && typeof blot.html === 'function') {\n return blot.html(index, length);\n }\n if (blot instanceof TextBlot) {\n return escapeText(blot.value().slice(index, index + length));\n }\n if (blot instanceof ParentBlot) {\n // TODO fix API\n if (blot.statics.blotName === 'list-container') {\n const items: any[] = [];\n blot.children.forEachAt(index, length, (child, offset, childLength) => {\n const formats =\n 'formats' in child && typeof child.formats === 'function'\n ? child.formats()\n : {};\n items.push({\n child,\n offset,\n length: childLength,\n indent: formats.indent || 0,\n type: formats.list,\n });\n });\n return convertListHTML(items, -1, []);\n }\n const parts: string[] = [];\n blot.children.forEachAt(index, length, (child, offset, childLength) => {\n parts.push(convertHTML(child, offset, childLength));\n });\n if (isRoot || blot.statics.blotName === 'list') {\n return parts.join('');\n }\n const { outerHTML, innerHTML } = blot.domNode as Element;\n const [start, end] = outerHTML.split(`>${innerHTML}<`);\n // TODO cleanup\n if (start === '<table') {\n return `<table style=\"border: 1px solid #000;\">${parts.join('')}<${end}`;\n }\n return `${start}>${parts.join('')}<${end}`;\n }\n return blot.domNode instanceof Element ? blot.domNode.outerHTML : '';\n}\n\nfunction combineFormats(\n formats: Record<string, unknown>,\n combined: Record<string, unknown>,\n): Record<string, unknown> {\n return Object.keys(combined).reduce(\n (merged, name) => {\n if (formats[name] == null) return merged;\n const combinedValue = combined[name];\n if (combinedValue === formats[name]) {\n merged[name] = combinedValue;\n } else if (Array.isArray(combinedValue)) {\n if (combinedValue.indexOf(formats[name]) < 0) {\n merged[name] = combinedValue.concat([formats[name]]);\n } else {\n // If style already exists, don't add to an array, but don't lose other styles\n merged[name] = combinedValue;\n }\n } else {\n merged[name] = [combinedValue, formats[name]];\n }\n return merged;\n },\n {} as Record<string, unknown>,\n );\n}\n\nfunction getListType(type: string | undefined) {\n const tag = type === 'ordered' ? 'ol' : 'ul';\n switch (type) {\n case 'checked':\n return [tag, ' data-list=\"checked\"'];\n case 'unchecked':\n return [tag, ' data-list=\"unchecked\"'];\n default:\n return [tag, ''];\n }\n}\n\nfunction normalizeDelta(delta: Delta) {\n return delta.reduce((normalizedDelta, op) => {\n if (typeof op.insert === 'string') {\n const text = op.insert.replace(/\\r\\n/g, '\\n').replace(/\\r/g, '\\n');\n return normalizedDelta.insert(text, op.attributes);\n }\n return normalizedDelta.push(op);\n }, new Delta());\n}\n\nfunction shiftRange({ index, length }: Range, amount: number) {\n return new Range(index + amount, length);\n}\n\nfunction splitOpLines(ops: Op[]) {\n const split: Op[] = [];\n ops.forEach((op) => {\n if (typeof op.insert === 'string') {\n const lines = op.insert.split('\\n');\n lines.forEach((line, index) => {\n if (index) split.push({ insert: '\\n', attributes: op.attributes });\n if (line) split.push({ insert: line, attributes: op.attributes });\n });\n } else {\n split.push(op);\n }\n });\n\n return split;\n}\n\nexport default Editor;\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AACrD,SAASC,QAAQ,EAAEC,SAAS,EAAEC,KAAK,EAAEC,UAAU,QAAQ,WAAW;AAElE,OAAOC,KAAK,IAAIC,YAAY,EAAEC,EAAE,QAAQ,aAAa;AACrD,OAAOC,KAAK,IAAIC,UAAU,EAAEC,aAAa,QAAQ,mBAAmB;AACpE,OAAOC,KAAK,MAAM,mBAAmB;AACrC,OAAOC,UA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,eAAe/I,MAAM","ignoreList":[]}
@@ -1,33 +0,0 @@
1
- import { EventEmitter } from 'eventemitter3';
2
- declare class Emitter extends EventEmitter<string> {
3
- static events: {
4
- readonly EDITOR_CHANGE: "editor-change";
5
- readonly SCROLL_BEFORE_UPDATE: "scroll-before-update";
6
- readonly SCROLL_BLOT_MOUNT: "scroll-blot-mount";
7
- readonly SCROLL_BLOT_UNMOUNT: "scroll-blot-unmount";
8
- readonly SCROLL_OPTIMIZE: "scroll-optimize";
9
- readonly SCROLL_UPDATE: "scroll-update";
10
- readonly SCROLL_EMBED_UPDATE: "scroll-embed-update";
11
- readonly SELECTION_CHANGE: "selection-change";
12
- readonly TEXT_CHANGE: "text-change";
13
- readonly COMPOSITION_BEFORE_START: "composition-before-start";
14
- readonly COMPOSITION_START: "composition-start";
15
- readonly COMPOSITION_BEFORE_END: "composition-before-end";
16
- readonly COMPOSITION_END: "composition-end";
17
- };
18
- static sources: {
19
- readonly API: "api";
20
- readonly SILENT: "silent";
21
- readonly USER: "user";
22
- };
23
- protected domListeners: Record<string, {
24
- node: Node;
25
- handler: Function;
26
- }[]>;
27
- constructor();
28
- emit(...args: unknown[]): boolean;
29
- handleDOM(event: Event, ...args: unknown[]): void;
30
- listenDOM(eventName: string, node: Node, handler: EventListener): void;
31
- }
32
- export type EmitterSource = (typeof Emitter.sources)[keyof typeof Emitter.sources];
33
- export default Emitter;
@@ -1,78 +0,0 @@
1
- import { EventEmitter } from 'eventemitter3';
2
- import instances from './instances.js';
3
- import logger from './logger.js';
4
- const debug = logger('quill:events');
5
- const EVENTS = ['selectionchange', 'mousedown', 'mouseup', 'click'];
6
- EVENTS.forEach(eventName => {
7
- document.addEventListener(eventName, function () {
8
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9
- args[_key] = arguments[_key];
10
- }
11
- Array.from(document.querySelectorAll('.ql-container')).forEach(node => {
12
- const quill = instances.get(node);
13
- if (quill && quill.emitter) {
14
- quill.emitter.handleDOM(...args);
15
- }
16
- });
17
- });
18
- });
19
- class Emitter extends EventEmitter {
20
- static events = {
21
- EDITOR_CHANGE: 'editor-change',
22
- SCROLL_BEFORE_UPDATE: 'scroll-before-update',
23
- SCROLL_BLOT_MOUNT: 'scroll-blot-mount',
24
- SCROLL_BLOT_UNMOUNT: 'scroll-blot-unmount',
25
- SCROLL_OPTIMIZE: 'scroll-optimize',
26
- SCROLL_UPDATE: 'scroll-update',
27
- SCROLL_EMBED_UPDATE: 'scroll-embed-update',
28
- SELECTION_CHANGE: 'selection-change',
29
- TEXT_CHANGE: 'text-change',
30
- COMPOSITION_BEFORE_START: 'composition-before-start',
31
- COMPOSITION_START: 'composition-start',
32
- COMPOSITION_BEFORE_END: 'composition-before-end',
33
- COMPOSITION_END: 'composition-end'
34
- };
35
- static sources = {
36
- API: 'api',
37
- SILENT: 'silent',
38
- USER: 'user'
39
- };
40
- constructor() {
41
- super();
42
- this.domListeners = {};
43
- this.on('error', debug.error);
44
- }
45
- emit() {
46
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
47
- args[_key2] = arguments[_key2];
48
- }
49
- debug.log.call(debug, ...args);
50
- // @ts-expect-error
51
- return super.emit(...args);
52
- }
53
- handleDOM(event) {
54
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
55
- args[_key3 - 1] = arguments[_key3];
56
- }
57
- (this.domListeners[event.type] || []).forEach(_ref => {
58
- let {
59
- node,
60
- handler
61
- } = _ref;
62
- if (event.target === node || node.contains(event.target)) {
63
- handler(event, ...args);
64
- }
65
- });
66
- }
67
- listenDOM(eventName, node, handler) {
68
- if (!this.domListeners[eventName]) {
69
- this.domListeners[eventName] = [];
70
- }
71
- this.domListeners[eventName].push({
72
- node,
73
- handler
74
- });
75
- }
76
- }
77
- export default Emitter;
78
- //# sourceMappingURL=emitter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emitter.js","names":["EventEmitter","instances","logger","debug","EVENTS","forEach","eventName","document","addEventListener","_len","arguments","length","args","Array","_key","from","querySelectorAll","node","quill","get","emitter","handleDOM","Emitter","events","EDITOR_CHANGE","SCROLL_BEFORE_UPDATE","SCROLL_BLOT_MOUNT","SCROLL_BLOT_UNMOUNT","SCROLL_OPTIMIZE","SCROLL_UPDATE","SCROLL_EMBED_UPDATE","SELECTION_CHANGE","TEXT_CHANGE","COMPOSITION_BEFORE_START","COMPOSITION_START","COMPOSITION_BEFORE_END","COMPOSITION_END","sources","API","SILENT","USER","constructor","domListeners","on","error","emit","_len2","_key2","log","call","event","_len3","_key3","type","_ref","handler","target","contains","listenDOM","push"],"sources":["../../src/core/emitter.ts"],"sourcesContent":["import { EventEmitter } from 'eventemitter3';\nimport instances from './instances.js';\nimport logger from './logger.js';\n\nconst debug = logger('quill:events');\nconst EVENTS = ['selectionchange', 'mousedown', 'mouseup', 'click'];\n\nEVENTS.forEach((eventName) => {\n document.addEventListener(eventName, (...args) => {\n Array.from(document.querySelectorAll('.ql-container')).forEach((node) => {\n const quill = instances.get(node);\n if (quill && quill.emitter) {\n quill.emitter.handleDOM(...args);\n }\n });\n });\n});\n\nclass Emitter extends EventEmitter<string> {\n static events = {\n EDITOR_CHANGE: 'editor-change',\n SCROLL_BEFORE_UPDATE: 'scroll-before-update',\n SCROLL_BLOT_MOUNT: 'scroll-blot-mount',\n SCROLL_BLOT_UNMOUNT: 'scroll-blot-unmount',\n SCROLL_OPTIMIZE: 'scroll-optimize',\n SCROLL_UPDATE: 'scroll-update',\n SCROLL_EMBED_UPDATE: 'scroll-embed-update',\n SELECTION_CHANGE: 'selection-change',\n TEXT_CHANGE: 'text-change',\n COMPOSITION_BEFORE_START: 'composition-before-start',\n COMPOSITION_START: 'composition-start',\n COMPOSITION_BEFORE_END: 'composition-before-end',\n COMPOSITION_END: 'composition-end',\n } as const;\n\n static sources = {\n API: 'api',\n SILENT: 'silent',\n USER: 'user',\n } as const;\n\n protected domListeners: Record<string, { node: Node; handler: Function }[]>;\n\n constructor() {\n super();\n this.domListeners = {};\n this.on('error', debug.error);\n }\n\n emit(...args: unknown[]): boolean {\n debug.log.call(debug, ...args);\n // @ts-expect-error\n return super.emit(...args);\n }\n\n handleDOM(event: Event, ...args: unknown[]) {\n (this.domListeners[event.type] || []).forEach(({ node, handler }) => {\n if (event.target === node || node.contains(event.target as Node)) {\n handler(event, ...args);\n }\n });\n }\n\n listenDOM(eventName: string, node: Node, handler: EventListener) {\n if (!this.domListeners[eventName]) {\n this.domListeners[eventName] = [];\n }\n this.domListeners[eventName].push({ node, handler });\n }\n}\n\nexport type EmitterSource =\n (typeof Emitter.sources)[keyof typeof Emitter.sources];\n\nexport default Emitter;\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,eAAe;AAC5C,OAAOC,SAAS,MAAM,gBAAgB;AACtC,OAAOC,MAAM,MAAM,aAAa;AAEhC,MAAMC,KAAK,GAAGD,MAAM,CAAC,cAAc,CAAC;AACpC,MAAME,MAAM,GAAG,CAAC,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC;AAEnEA,MAAM,CAACC,OAAO,CAAEC,SAAS,IAAK;EAC5BC,QAAQ,CAACC,gBAAgB,CAACF,SAAS,EAAE,YAAa;IAAA,SAAAG,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAATC,IAAI,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;MAAJF,IAAI,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;IAAA;IAC3CD,KAAK,CAACE,IAAI,CAACR,QAAQ,CAACS,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAACX,OAAO,CAAEY,IAAI,IAAK;MACvE,MAAMC,KAAK,GAAGjB,SAAS,CAACkB,GAAG,CAACF,IAAI,CAAC;MACjC,IAAIC,KAAK,IAAIA,KAAK,CAACE,OAAO,EAAE;QAC1BF,KAAK,CA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EAAsB;IAAA,SAAAC,KAAA,GAAAzC,SAAA,CAAAC,MAAA,EAAjBC,IAAI,OAAAC,KAAA,CAAAsC,KAAA,OAAAA,KAAA,WAAAC,KAAA,MAAAA,KAAA,GAAAD,KAAA,EAAAC,KAAA;MAAJxC,IAAI,CAAAwC,KAAA,QAAA1C,SAAA,CAAA0C,KAAA;IAAA;IAC7B,CAAC,IAAI,CAACV,YAAY,CAACQ,KAAK,CAACG,IAAI,CAAC,IAAI,EAAE,EAAEhD,OAAO,CAACiD,IAAA,IAAuB;MAAA,IAAtB;QAAErC,IAAI;QAAEsC;MAAQ,CAAC,GAAAD,IAAA;MAC9D,IAAIJ,KAAK,CAACM,MAAM,KAAKvC,IAAI,IAAIA,IAAI,CAACwC,QAAQ,CAACP,KAAK,CAACM,MAAc,CAAC,EAAE;QAChED,OAAO,CAACL,KAAK,EAAE,GAAGtC,IAAI,CAAC;MACzB;IACF,CAAC,CAAC;EACJ;EAEA8C,SAASA,CAACpD,SAAiB,EAAEW,IAAU,EAAEsC,OAAsB,EAAE;IAC/D,IAAI,CAAC,IAAI,CAACb,YAAY,CAACpC,SAAS,CAAC,EAAE;MACjC,IAAI,CAACoC,YAAY,CAACpC,SAAS,CAAC,GAAG,EAAE;IACnC;IACA,IAAI,CAACoC,YAAY,CAACpC,SAAS,CAAC,CAACqD,IAAI,CAAC;MAAE1C,IAAI;MAAEsC;IAAQ,CAAC,CAAC;EACtD;AACF;AAKA,eAAejC,OAAO","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import type Quill from '../core.js';
2
- declare const _default: WeakMap<Node, Quill>;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- export default new WeakMap();
2
- //# sourceMappingURL=instances.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"instances.js","names":["WeakMap"],"sources":["../../src/core/instances.ts"],"sourcesContent":["import type Quill from '../core.js';\n\nexport default new WeakMap<Node, Quill>();\n"],"mappings":"AAEA,eAAe,IAAIA,OAAO,CAAc,CAAC","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- declare const levels: readonly ["error", "warn", "log", "info"];
2
- export type DebugLevel = (typeof levels)[number];
3
- declare function namespace(ns: string): Record<DebugLevel, (...args: unknown[]) => void>;
4
- declare namespace namespace {
5
- var level: (newLevel: false | "error" | "warn" | "log" | "info") => void;
6
- }
7
- export default namespace;
@@ -1,24 +0,0 @@
1
- const levels = ['error', 'warn', 'log', 'info'];
2
- let level = 'warn';
3
- function debug(method) {
4
- if (level) {
5
- if (levels.indexOf(method) <= levels.indexOf(level)) {
6
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7
- args[_key - 1] = arguments[_key];
8
- }
9
- console[method](...args); // eslint-disable-line no-console
10
- }
11
- }
12
- }
13
- function namespace(ns) {
14
- return levels.reduce((logger, method) => {
15
- logger[method] = debug.bind(console, method, ns);
16
- return logger;
17
- }, {});
18
- }
19
- namespace.level = newLevel => {
20
- level = newLevel;
21
- };
22
- debug.level = namespace.level;
23
- export default namespace;
24
- //# sourceMappingURL=logger.js.map