@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,332 +0,0 @@
1
- import Delta from 'quill-delta';
2
- import { ClassAttributor, Scope } from 'parchment';
3
- import Inline from '../blots/inline.js';
4
- import Quill from '../core/quill.js';
5
- import Module from '../core/module.js';
6
- import { blockDelta } from '../blots/block.js';
7
- import BreakBlot from '../blots/break.js';
8
- import CursorBlot from '../blots/cursor.js';
9
- import TextBlot, { escapeText } from '../blots/text.js';
10
- import CodeBlock, { CodeBlockContainer } from '../formats/code.js';
11
- import { traverse } from './clipboard.js';
12
- const TokenAttributor = new ClassAttributor('code-token', 'hljs', {
13
- scope: Scope.INLINE
14
- });
15
- class CodeToken extends Inline {
16
- static formats(node, scroll) {
17
- while (node != null && node !== scroll.domNode) {
18
- if (node.classList && node.classList.contains(CodeBlock.className)) {
19
- // @ts-expect-error
20
- return super.formats(node, scroll);
21
- }
22
- // @ts-expect-error
23
- node = node.parentNode;
24
- }
25
- return undefined;
26
- }
27
- constructor(scroll, domNode, value) {
28
- // @ts-expect-error
29
- super(scroll, domNode, value);
30
- TokenAttributor.add(this.domNode, value);
31
- }
32
- format(format, value) {
33
- if (format !== CodeToken.blotName) {
34
- super.format(format, value);
35
- } else if (value) {
36
- TokenAttributor.add(this.domNode, value);
37
- } else {
38
- TokenAttributor.remove(this.domNode);
39
- this.domNode.classList.remove(this.statics.className);
40
- }
41
- }
42
- optimize() {
43
- // @ts-expect-error
44
- super.optimize(...arguments);
45
- if (!TokenAttributor.value(this.domNode)) {
46
- this.unwrap();
47
- }
48
- }
49
- }
50
- CodeToken.blotName = 'code-token';
51
- CodeToken.className = 'ql-token';
52
- class SyntaxCodeBlock extends CodeBlock {
53
- static create(value) {
54
- const domNode = super.create(value);
55
- if (typeof value === 'string') {
56
- domNode.setAttribute('data-language', value);
57
- }
58
- return domNode;
59
- }
60
- static formats(domNode) {
61
- // @ts-expect-error
62
- return domNode.getAttribute('data-language') || 'plain';
63
- }
64
- static register() {} // Syntax module will register
65
-
66
- format(name, value) {
67
- if (name === this.statics.blotName && value) {
68
- // @ts-expect-error
69
- this.domNode.setAttribute('data-language', value);
70
- } else {
71
- super.format(name, value);
72
- }
73
- }
74
- replaceWith(name, value) {
75
- this.formatAt(0, this.length(), CodeToken.blotName, false);
76
- return super.replaceWith(name, value);
77
- }
78
- }
79
- class SyntaxCodeBlockContainer extends CodeBlockContainer {
80
- attach() {
81
- super.attach();
82
- this.forceNext = false;
83
- // @ts-expect-error
84
- this.scroll.emitMount(this);
85
- }
86
- format(name, value) {
87
- if (name === SyntaxCodeBlock.blotName) {
88
- this.forceNext = true;
89
- this.children.forEach(child => {
90
- // @ts-expect-error
91
- child.format(name, value);
92
- });
93
- }
94
- }
95
- formatAt(index, length, name, value) {
96
- if (name === SyntaxCodeBlock.blotName) {
97
- this.forceNext = true;
98
- }
99
- super.formatAt(index, length, name, value);
100
- }
101
- highlight(highlight) {
102
- let forced = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
103
- if (this.children.head == null) return;
104
- const nodes = Array.from(this.domNode.childNodes).filter(node => node !== this.uiNode);
105
- const text = `${nodes.map(node => node.textContent).join('\n')}\n`;
106
- const language = SyntaxCodeBlock.formats(this.children.head.domNode);
107
- if (forced || this.forceNext || this.cachedText !== text) {
108
- if (text.trim().length > 0 || this.cachedText == null) {
109
- const oldDelta = this.children.reduce((delta, child) => {
110
- // @ts-expect-error
111
- return delta.concat(blockDelta(child, false));
112
- }, new Delta());
113
- const delta = highlight(text, language);
114
- oldDelta.diff(delta).reduce((index, _ref) => {
115
- let {
116
- retain,
117
- attributes
118
- } = _ref;
119
- // Should be all retains
120
- if (!retain) return index;
121
- if (attributes) {
122
- Object.keys(attributes).forEach(format => {
123
- if ([SyntaxCodeBlock.blotName, CodeToken.blotName].includes(format)) {
124
- // @ts-expect-error
125
- this.formatAt(index, retain, format, attributes[format]);
126
- }
127
- });
128
- }
129
- // @ts-expect-error
130
- return index + retain;
131
- }, 0);
132
- }
133
- this.cachedText = text;
134
- this.forceNext = false;
135
- }
136
- }
137
- html(index, length) {
138
- const [codeBlock] = this.children.find(index);
139
- const language = codeBlock ? SyntaxCodeBlock.formats(codeBlock.domNode) : 'plain';
140
- return `<pre data-language="${language}">\n${escapeText(this.code(index, length))}\n</pre>`;
141
- }
142
- optimize(context) {
143
- super.optimize(context);
144
- if (this.parent != null && this.children.head != null && this.uiNode != null) {
145
- const language = SyntaxCodeBlock.formats(this.children.head.domNode);
146
- // @ts-expect-error
147
- if (language !== this.uiNode.value) {
148
- // @ts-expect-error
149
- this.uiNode.value = language;
150
- }
151
- }
152
- }
153
- }
154
- SyntaxCodeBlockContainer.allowedChildren = [SyntaxCodeBlock];
155
- SyntaxCodeBlock.requiredContainer = SyntaxCodeBlockContainer;
156
- SyntaxCodeBlock.allowedChildren = [CodeToken, CursorBlot, TextBlot, BreakBlot];
157
- const highlight = (lib, language, text) => {
158
- if (typeof lib.versionString === 'string') {
159
- const majorVersion = lib.versionString.split('.')[0];
160
- if (parseInt(majorVersion, 10) >= 11) {
161
- return lib.highlight(text, {
162
- language
163
- }).value;
164
- }
165
- }
166
- return lib.highlight(language, text).value;
167
- };
168
- class Syntax extends Module {
169
- static register() {
170
- Quill.register(CodeToken, true);
171
- Quill.register(SyntaxCodeBlock, true);
172
- Quill.register(SyntaxCodeBlockContainer, true);
173
- }
174
- constructor(quill, options) {
175
- super(quill, options);
176
- if (this.options.hljs == null) {
177
- throw new Error('Syntax module requires highlight.js. Please include the library on the page before Quill.');
178
- }
179
- // @ts-expect-error Fix me later
180
- this.languages = this.options.languages.reduce((memo, _ref2) => {
181
- let {
182
- key
183
- } = _ref2;
184
- memo[key] = true;
185
- return memo;
186
- }, {});
187
- this.highlightBlot = this.highlightBlot.bind(this);
188
- this.initListener();
189
- this.initTimer();
190
- }
191
- initListener() {
192
- this.quill.on(Quill.events.SCROLL_BLOT_MOUNT, blot => {
193
- if (!(blot instanceof SyntaxCodeBlockContainer)) return;
194
- const select = this.quill.root.ownerDocument.createElement('select');
195
- // @ts-expect-error Fix me later
196
- this.options.languages.forEach(_ref3 => {
197
- let {
198
- key,
199
- label
200
- } = _ref3;
201
- const option = select.ownerDocument.createElement('option');
202
- option.textContent = label;
203
- option.setAttribute('value', key);
204
- select.appendChild(option);
205
- });
206
- select.addEventListener('change', () => {
207
- blot.format(SyntaxCodeBlock.blotName, select.value);
208
- this.quill.root.focus(); // Prevent scrolling
209
- this.highlight(blot, true);
210
- });
211
- if (blot.uiNode == null) {
212
- blot.attachUI(select);
213
- if (blot.children.head) {
214
- select.value = SyntaxCodeBlock.formats(blot.children.head.domNode);
215
- }
216
- }
217
- });
218
- }
219
- initTimer() {
220
- let timer = null;
221
- this.quill.on(Quill.events.SCROLL_OPTIMIZE, () => {
222
- if (timer) {
223
- clearTimeout(timer);
224
- }
225
- timer = setTimeout(() => {
226
- this.highlight();
227
- timer = null;
228
- }, this.options.interval);
229
- });
230
- }
231
- highlight() {
232
- let blot = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
233
- let force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
234
- if (this.quill.selection.composing) return;
235
- this.quill.update(Quill.sources.USER);
236
- const range = this.quill.getSelection();
237
- const blots = blot == null ? this.quill.scroll.descendants(SyntaxCodeBlockContainer) : [blot];
238
- blots.forEach(container => {
239
- container.highlight(this.highlightBlot, force);
240
- });
241
- this.quill.update(Quill.sources.SILENT);
242
- if (range != null) {
243
- this.quill.setSelection(range, Quill.sources.SILENT);
244
- }
245
- }
246
- highlightBlot(text) {
247
- let language = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'plain';
248
- language = this.languages[language] ? language : 'plain';
249
- if (language === 'plain') {
250
- return escapeText(text).split('\n').reduce((delta, line, i) => {
251
- if (i !== 0) {
252
- delta.insert('\n', {
253
- [CodeBlock.blotName]: language
254
- });
255
- }
256
- return delta.insert(line);
257
- }, new Delta());
258
- }
259
- const container = this.quill.root.ownerDocument.createElement('div');
260
- container.classList.add(CodeBlock.className);
261
- container.innerHTML = highlight(this.options.hljs, language, text);
262
- return traverse(this.quill.scroll, container, [(node, delta) => {
263
- // @ts-expect-error
264
- const value = TokenAttributor.value(node);
265
- if (value) {
266
- return delta.compose(new Delta().retain(delta.length(), {
267
- [CodeToken.blotName]: value
268
- }));
269
- }
270
- return delta;
271
- }], [(node, delta) => {
272
- // @ts-expect-error
273
- return node.data.split('\n').reduce((memo, nodeText, i) => {
274
- if (i !== 0) memo.insert('\n', {
275
- [CodeBlock.blotName]: language
276
- });
277
- return memo.insert(nodeText);
278
- }, delta);
279
- }], new WeakMap());
280
- }
281
- }
282
- Syntax.DEFAULTS = {
283
- hljs: (() => {
284
- return window.hljs;
285
- })(),
286
- interval: 1000,
287
- languages: [{
288
- key: 'plain',
289
- label: 'Plain'
290
- }, {
291
- key: 'bash',
292
- label: 'Bash'
293
- }, {
294
- key: 'cpp',
295
- label: 'C++'
296
- }, {
297
- key: 'cs',
298
- label: 'C#'
299
- }, {
300
- key: 'css',
301
- label: 'CSS'
302
- }, {
303
- key: 'diff',
304
- label: 'Diff'
305
- }, {
306
- key: 'xml',
307
- label: 'HTML/XML'
308
- }, {
309
- key: 'java',
310
- label: 'Java'
311
- }, {
312
- key: 'javascript',
313
- label: 'JavaScript'
314
- }, {
315
- key: 'markdown',
316
- label: 'Markdown'
317
- }, {
318
- key: 'php',
319
- label: 'PHP'
320
- }, {
321
- key: 'python',
322
- label: 'Python'
323
- }, {
324
- key: 'ruby',
325
- label: 'Ruby'
326
- }, {
327
- key: 'sql',
328
- label: 'SQL'
329
- }]
330
- };
331
- export { SyntaxCodeBlock as CodeBlock, CodeToken, Syntax as default };
332
- //# sourceMappingURL=syntax.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"syntax.js","names":["Delta","ClassAttributor","Scope","Inline","Quill","Module","blockDelta","BreakBlot","CursorBlot","TextBlot","escapeText","CodeBlock","CodeBlockContainer","traverse","TokenAttributor","scope","INLINE","CodeToken","formats","node","scroll","domNode","classList","contains","className","parentNode","undefined","constructor","value","add","format","blotName","remove","statics","optimize","arguments","unwrap","SyntaxCodeBlock","create","setAttribute","getAttribute","register","name","replaceWith","formatAt","length","SyntaxCodeBlockContainer","attach","forceNext","emitMount","children","forEach","child","index","highlight","forced","head","nodes","Array","from","childNodes","filter","uiNode","text","map","textContent","join","language","cachedText","trim","oldDelta","reduce","delta","concat","diff","_ref","retain","attributes","Object","keys","includes","html","codeBlock","find","code","context","parent","allowedChildren","requiredContainer","lib","versionString","majorVersion","split","parseInt","Syntax","quill","options","hljs","Error","languages","memo","_ref2","key","highlightBlot","bind","initListener","initTimer","on","events","SCROLL_BLOT_MOUNT","blot","select","root","ownerDocument","createElement","_ref3","label","option","appendChild","addEventListener","focus","attachUI","timer","SCROLL_OPTIMIZE","clearTimeout","setTimeout","interval","force","selection","composing","update","sources","USER","range","getSelection","blots","descendants","container","SILENT","setSelection","line","i","insert","innerHTML","compose","data","nodeText","WeakMap","DEFAULTS","window","default"],"sources":["../../src/modules/syntax.ts"],"sourcesContent":["import Delta from 'quill-delta';\nimport { ClassAttributor, Scope } from 'parchment';\nimport type { Blot, ScrollBlot } from 'parchment';\nimport Inline from '../blots/inline.js';\nimport Quill from '../core/quill.js';\nimport Module from '../core/module.js';\nimport { blockDelta } from '../blots/block.js';\nimport BreakBlot from '../blots/break.js';\nimport CursorBlot from '../blots/cursor.js';\nimport TextBlot, { escapeText } from '../blots/text.js';\nimport CodeBlock, { CodeBlockContainer } from '../formats/code.js';\nimport { traverse } from './clipboard.js';\n\nconst TokenAttributor = new ClassAttributor('code-token', 'hljs', {\n scope: Scope.INLINE,\n});\nclass CodeToken extends Inline {\n static formats(node: Element, scroll: ScrollBlot) {\n while (node != null && node !== scroll.domNode) {\n if (node.classList && node.classList.contains(CodeBlock.className)) {\n // @ts-expect-error\n return super.formats(node, scroll);\n }\n // @ts-expect-error\n node = node.parentNode;\n }\n return undefined;\n }\n\n constructor(scroll: ScrollBlot, domNode: Node, value: unknown) {\n // @ts-expect-error\n super(scroll, domNode, value);\n TokenAttributor.add(this.domNode, value);\n }\n\n format(format: string, value: unknown) {\n if (format !== CodeToken.blotName) {\n super.format(format, value);\n } else if (value) {\n TokenAttributor.add(this.domNode, value);\n } else {\n TokenAttributor.remove(this.domNode);\n this.domNode.classList.remove(this.statics.className);\n }\n }\n\n optimize(...args: unknown[]) {\n // @ts-expect-error\n super.optimize(...args);\n if (!TokenAttributor.value(this.domNode)) {\n this.unwrap();\n }\n }\n}\nCodeToken.blotName = 'code-token';\nCodeToken.className = 'ql-token';\n\nclass SyntaxCodeBlock extends CodeBlock {\n static create(value: unknown) {\n const domNode = super.create(value);\n if (typeof value === 'string') {\n domNode.setAttribute('data-language', value);\n }\n return domNode;\n }\n\n static formats(domNode: Node) {\n // @ts-expect-error\n return domNode.getAttribute('data-language') || 'plain';\n }\n\n static register() {} // Syntax module will register\n\n format(name: string, value: unknown) {\n if (name === this.statics.blotName && value) {\n // @ts-expect-error\n this.domNode.setAttribute('data-language', value);\n } else {\n super.format(name, value);\n }\n }\n\n replaceWith(name: string | Blot, value?: any) {\n this.formatAt(0, this.length(), CodeToken.blotName, false);\n return super.replaceWith(name, value);\n }\n}\n\nclass SyntaxCodeBlockContainer extends CodeBlockContainer {\n forceNext?: boolean;\n cachedText?: string | null;\n\n attach() {\n super.attach();\n this.forceNext = false;\n // @ts-expect-error\n this.scroll.emitMount(this);\n }\n\n format(name: string, value: unknown) {\n if (name === SyntaxCodeBlock.blotName) {\n this.forceNext = true;\n this.children.forEach((child) => {\n // @ts-expect-error\n child.format(name, value);\n });\n }\n }\n\n formatAt(index: number, length: number, name: string, value: unknown) {\n if (name === SyntaxCodeBlock.blotName) {\n this.forceNext = true;\n }\n super.formatAt(index, length, name, value);\n }\n\n highlight(\n highlight: (text: string, language: string) => Delta,\n forced = false,\n ) {\n if (this.children.head == null) return;\n const nodes = Array.from(this.domNode.childNodes).filter(\n (node) => node !== this.uiNode,\n );\n const text = `${nodes.map((node) => node.textContent).join('\\n')}\\n`;\n const language = SyntaxCodeBlock.formats(this.children.head.domNode);\n if (forced || this.forceNext || this.cachedText !== text) {\n if (text.trim().length > 0 || this.cachedText == null) {\n const oldDelta = this.children.reduce((delta, child) => {\n // @ts-expect-error\n return delta.concat(blockDelta(child, false));\n }, new Delta());\n const delta = highlight(text, language);\n oldDelta.diff(delta).reduce((index, { retain, attributes }) => {\n // Should be all retains\n if (!retain) return index;\n if (attributes) {\n Object.keys(attributes).forEach((format) => {\n if (\n [SyntaxCodeBlock.blotName, CodeToken.blotName].includes(format)\n ) {\n // @ts-expect-error\n this.formatAt(index, retain, format, attributes[format]);\n }\n });\n }\n // @ts-expect-error\n return index + retain;\n }, 0);\n }\n this.cachedText = text;\n this.forceNext = false;\n }\n }\n\n html(index: number, length: number) {\n const [codeBlock] = this.children.find(index);\n const language = codeBlock\n ? SyntaxCodeBlock.formats(codeBlock.domNode)\n : 'plain';\n\n return `<pre data-language=\"${language}\">\\n${escapeText(\n this.code(index, length),\n )}\\n</pre>`;\n }\n\n optimize(context: Record<string, any>) {\n super.optimize(context);\n if (\n this.parent != null &&\n this.children.head != null &&\n this.uiNode != null\n ) {\n const language = SyntaxCodeBlock.formats(this.children.head.domNode);\n // @ts-expect-error\n if (language !== this.uiNode.value) {\n // @ts-expect-error\n this.uiNode.value = language;\n }\n }\n }\n}\n\nSyntaxCodeBlockContainer.allowedChildren = [SyntaxCodeBlock];\nSyntaxCodeBlock.requiredContainer = SyntaxCodeBlockContainer;\nSyntaxCodeBlock.allowedChildren = [CodeToken, CursorBlot, TextBlot, BreakBlot];\n\ninterface SyntaxOptions {\n interval: number;\n languages: { key: string; label: string }[];\n hljs: any;\n}\n\nconst highlight = (lib: any, language: string, text: string) => {\n if (typeof lib.versionString === 'string') {\n const majorVersion = lib.versionString.split('.')[0];\n if (parseInt(majorVersion, 10) >= 11) {\n return lib.highlight(text, { language }).value;\n }\n }\n return lib.highlight(language, text).value;\n};\n\nclass Syntax extends Module<SyntaxOptions> {\n static DEFAULTS: SyntaxOptions & { hljs: any };\n\n static register() {\n Quill.register(CodeToken, true);\n Quill.register(SyntaxCodeBlock, true);\n Quill.register(SyntaxCodeBlockContainer, true);\n }\n\n languages: Record<string, true>;\n\n constructor(quill: Quill, options: Partial<SyntaxOptions>) {\n super(quill, options);\n if (this.options.hljs == null) {\n throw new Error(\n 'Syntax module requires highlight.js. Please include the library on the page before Quill.',\n );\n }\n // @ts-expect-error Fix me later\n this.languages = this.options.languages.reduce(\n (memo: Record<string, unknown>, { key }) => {\n memo[key] = true;\n return memo;\n },\n {},\n );\n this.highlightBlot = this.highlightBlot.bind(this);\n this.initListener();\n this.initTimer();\n }\n\n initListener() {\n this.quill.on(Quill.events.SCROLL_BLOT_MOUNT, (blot: Blot) => {\n if (!(blot instanceof SyntaxCodeBlockContainer)) return;\n const select = this.quill.root.ownerDocument.createElement('select');\n // @ts-expect-error Fix me later\n this.options.languages.forEach(({ key, label }) => {\n const option = select.ownerDocument.createElement('option');\n option.textContent = label;\n option.setAttribute('value', key);\n select.appendChild(option);\n });\n select.addEventListener('change', () => {\n blot.format(SyntaxCodeBlock.blotName, select.value);\n this.quill.root.focus(); // Prevent scrolling\n this.highlight(blot, true);\n });\n if (blot.uiNode == null) {\n blot.attachUI(select);\n if (blot.children.head) {\n select.value = SyntaxCodeBlock.formats(blot.children.head.domNode);\n }\n }\n });\n }\n\n initTimer() {\n let timer: ReturnType<typeof setTimeout> | null = null;\n this.quill.on(Quill.events.SCROLL_OPTIMIZE, () => {\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(() => {\n this.highlight();\n timer = null;\n }, this.options.interval);\n });\n }\n\n highlight(blot: SyntaxCodeBlockContainer | null = null, force = false) {\n if (this.quill.selection.composing) return;\n this.quill.update(Quill.sources.USER);\n const range = this.quill.getSelection();\n const blots =\n blot == null\n ? this.quill.scroll.descendants(SyntaxCodeBlockContainer)\n : [blot];\n blots.forEach((container) => {\n container.highlight(this.highlightBlot, force);\n });\n this.quill.update(Quill.sources.SILENT);\n if (range != null) {\n this.quill.setSelection(range, Quill.sources.SILENT);\n }\n }\n\n highlightBlot(text: string, language = 'plain') {\n language = this.languages[language] ? language : 'plain';\n if (language === 'plain') {\n return escapeText(text)\n .split('\\n')\n .reduce((delta, line, i) => {\n if (i !== 0) {\n delta.insert('\\n', { [CodeBlock.blotName]: language });\n }\n return delta.insert(line);\n }, new Delta());\n }\n const container = this.quill.root.ownerDocument.createElement('div');\n container.classList.add(CodeBlock.className);\n container.innerHTML = highlight(this.options.hljs, language, text);\n return traverse(\n this.quill.scroll,\n container,\n [\n (node, delta) => {\n // @ts-expect-error\n const value = TokenAttributor.value(node);\n if (value) {\n return delta.compose(\n new Delta().retain(delta.length(), {\n [CodeToken.blotName]: value,\n }),\n );\n }\n return delta;\n },\n ],\n [\n (node, delta) => {\n // @ts-expect-error\n return node.data.split('\\n').reduce((memo, nodeText, i) => {\n if (i !== 0) memo.insert('\\n', { [CodeBlock.blotName]: language });\n return memo.insert(nodeText);\n }, delta);\n },\n ],\n new WeakMap(),\n );\n }\n}\nSyntax.DEFAULTS = {\n hljs: (() => {\n return window.hljs;\n })(),\n interval: 1000,\n languages: [\n { key: 'plain', label: 'Plain' },\n { key: 'bash', label: 'Bash' },\n { key: 'cpp', label: 'C++' },\n { key: 'cs', label: 'C#' },\n { key: 'css', label: 'CSS' },\n { key: 'diff', label: 'Diff' },\n { key: 'xml', label: 'HTML/XML' },\n { key: 'java', label: 'Java' },\n { key: 'javascript', label: 'JavaScript' },\n { key: 'markdown', label: 'Markdown' },\n { key: 'php', label: 'PHP' },\n { key: 'python', label: 'Python' },\n { key: 'ruby', label: 'Ruby' },\n { key: 'sql', label: 'SQL' },\n ],\n};\n\nexport { SyntaxCodeBlock as CodeBlock, CodeToken, Syntax as default };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM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OAAOoD,MAAM,CAACpD,IAAI;EACpB,CAAC,EAAE,CAAC;EACJ6B,QAAQ,EAAE,IAAI;EACd3B,SAAS,EAAE,CACT;IAAEG,GAAG,EAAE,OAAO;IAAEc,KAAK,EAAE;EAAQ,CAAC,EAChC;IAAEd,GAAG,EAAE,MAAM;IAAEc,KAAK,EAAE;EAAO,CAAC,EAC9B;IAAEd,GAAG,EAAE,KAAK;IAAEc,KAAK,EAAE;EAAM,CAAC,EAC5B;IAAEd,GAAG,EAAE,IAAI;IAAEc,KAAK,EAAE;EAAK,CAAC,EAC1B;IAAEd,GAAG,EAAE,KAAK;IAAEc,KAAK,EAAE;EAAM,CAAC,EAC5B;IAAEd,GAAG,EAAE,MAAM;IAAEc,KAAK,EAAE;EAAO,CAAC,EAC9B;IAAEd,GAAG,EAAE,KAAK;IAAEc,KAAK,EAAE;EAAW,CAAC,EACjC;IAAEd,GAAG,EAAE,MAAM;IAAEc,KAAK,EAAE;EAAO,CAAC,EAC9B;IAAEd,GAAG,EAAE,YAAY;IAAEc,KAAK,EAAE;EAAa,CAAC,EAC1C;IAAEd,GAAG,EAAE,UAAU;IAAEc,KAAK,EAAE;EAAW,CAAC,EACtC;IAAEd,GAAG,EAAE,KAAK;IAAEc,KAAK,EAAE;EAAM,CAAC,EAC5B;IAAEd,GAAG,EAAE,QAAQ;IAAEc,KAAK,EAAE;EAAS,CAAC,EAClC;IAAEd,GAAG,EAAE,MAAM;IAAEc,KAAK,EAAE;EAAO,CAAC,EAC9B;IAAEd,GAAG,EAAE,KAAK;IAAEc,KAAK,EAAE;EAAM,CAAC;AAEhC,CAAC;AAED,SAAS/E,eAAe,IAAI1B,SAAS,EAAEM,SAAS,EAAE6E,MAAM,IAAIwD,OAAO","ignoreList":[]}
@@ -1,20 +0,0 @@
1
- import Module from '../core/module.js';
2
- import { TableCell, TableRow } from '../formats/table.js';
3
- declare class Table extends Module {
4
- static register(): void;
5
- constructor(...args: ConstructorParameters<typeof Module>);
6
- balanceTables(): void;
7
- deleteColumn(): void;
8
- deleteRow(): void;
9
- deleteTable(): void;
10
- getTable(range?: import("../core/selection.js").Range | null): [null, null, null, -1] | [Table, TableRow, TableCell, number];
11
- insertColumn(offset: number): void;
12
- insertColumnLeft(): void;
13
- insertColumnRight(): void;
14
- insertRow(offset: number): void;
15
- insertRowAbove(): void;
16
- insertRowBelow(): void;
17
- insertTable(rows: number, columns: number): void;
18
- listenBalanceCells(): void;
19
- }
20
- export default Table;
@@ -1,125 +0,0 @@
1
- import Delta from 'quill-delta';
2
- import Quill from '../core/quill.js';
3
- import Module from '../core/module.js';
4
- import { TableCell, TableRow, TableBody, TableContainer, tableId } from '../formats/table.js';
5
- class Table extends Module {
6
- static register() {
7
- Quill.register(TableCell);
8
- Quill.register(TableRow);
9
- Quill.register(TableBody);
10
- Quill.register(TableContainer);
11
- }
12
- constructor() {
13
- super(...arguments);
14
- this.listenBalanceCells();
15
- }
16
- balanceTables() {
17
- this.quill.scroll.descendants(TableContainer).forEach(table => {
18
- table.balanceCells();
19
- });
20
- }
21
- deleteColumn() {
22
- const [table,, cell] = this.getTable();
23
- if (cell == null) return;
24
- // @ts-expect-error
25
- table.deleteColumn(cell.cellOffset());
26
- this.quill.update(Quill.sources.USER);
27
- }
28
- deleteRow() {
29
- const [, row] = this.getTable();
30
- if (row == null) return;
31
- row.remove();
32
- this.quill.update(Quill.sources.USER);
33
- }
34
- deleteTable() {
35
- const [table] = this.getTable();
36
- if (table == null) return;
37
- // @ts-expect-error
38
- const offset = table.offset();
39
- // @ts-expect-error
40
- table.remove();
41
- this.quill.update(Quill.sources.USER);
42
- this.quill.setSelection(offset, Quill.sources.SILENT);
43
- }
44
- getTable() {
45
- let range = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.quill.getSelection();
46
- if (range == null) return [null, null, null, -1];
47
- const [cell, offset] = this.quill.getLine(range.index);
48
- if (cell == null || cell.statics.blotName !== TableCell.blotName) {
49
- return [null, null, null, -1];
50
- }
51
- const row = cell.parent;
52
- const table = row.parent.parent;
53
- // @ts-expect-error
54
- return [table, row, cell, offset];
55
- }
56
- insertColumn(offset) {
57
- const range = this.quill.getSelection();
58
- if (!range) return;
59
- const [table, row, cell] = this.getTable(range);
60
- if (cell == null) return;
61
- const column = cell.cellOffset();
62
- table.insertColumn(column + offset);
63
- this.quill.update(Quill.sources.USER);
64
- let shift = row.rowOffset();
65
- if (offset === 0) {
66
- shift += 1;
67
- }
68
- this.quill.setSelection(range.index + shift, range.length, Quill.sources.SILENT);
69
- }
70
- insertColumnLeft() {
71
- this.insertColumn(0);
72
- }
73
- insertColumnRight() {
74
- this.insertColumn(1);
75
- }
76
- insertRow(offset) {
77
- const range = this.quill.getSelection();
78
- if (!range) return;
79
- const [table, row, cell] = this.getTable(range);
80
- if (cell == null) return;
81
- const index = row.rowOffset();
82
- table.insertRow(index + offset);
83
- this.quill.update(Quill.sources.USER);
84
- if (offset > 0) {
85
- this.quill.setSelection(range, Quill.sources.SILENT);
86
- } else {
87
- this.quill.setSelection(range.index + row.children.length, range.length, Quill.sources.SILENT);
88
- }
89
- }
90
- insertRowAbove() {
91
- this.insertRow(0);
92
- }
93
- insertRowBelow() {
94
- this.insertRow(1);
95
- }
96
- insertTable(rows, columns) {
97
- const range = this.quill.getSelection();
98
- if (range == null) return;
99
- const delta = new Array(rows).fill(0).reduce(memo => {
100
- const text = new Array(columns).fill('\n').join('');
101
- return memo.insert(text, {
102
- table: tableId()
103
- });
104
- }, new Delta().retain(range.index));
105
- this.quill.updateContents(delta, Quill.sources.USER);
106
- this.quill.setSelection(range.index, Quill.sources.SILENT);
107
- this.balanceTables();
108
- }
109
- listenBalanceCells() {
110
- this.quill.on(Quill.events.SCROLL_OPTIMIZE, mutations => {
111
- mutations.some(mutation => {
112
- if (['TD', 'TR', 'TBODY', 'TABLE'].includes(mutation.target.tagName)) {
113
- this.quill.once(Quill.events.TEXT_CHANGE, (delta, old, source) => {
114
- if (source !== Quill.sources.USER) return;
115
- this.balanceTables();
116
- });
117
- return true;
118
- }
119
- return false;
120
- });
121
- });
122
- }
123
- }
124
- export default Table;
125
- //# sourceMappingURL=table.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.js","names":["Delta","Quill","Module","TableCell","TableRow","TableBody","TableContainer","tableId","Table","register","constructor","arguments","listenBalanceCells","balanceTables","quill","scroll","descendants","forEach","table","balanceCells","deleteColumn","cell","getTable","cellOffset","update","sources","USER","deleteRow","row","remove","deleteTable","offset","setSelection","SILENT","range","length","undefined","getSelection","getLine","index","statics","blotName","parent","insertColumn","column","shift","rowOffset","insertColumnLeft","insertColumnRight","insertRow","children","insertRowAbove","insertRowBelow","insertTable","rows","columns","delta","Array","fill","reduce","memo","text","join","insert","retain","updateContents","on","events","SCROLL_OPTIMIZE","mutations","some","mutation","includes","target","tagName","once","TEXT_CHANGE","old","source"],"sources":["../../src/modules/table.ts"],"sourcesContent":["import Delta from 'quill-delta';\nimport Quill from '../core/quill.js';\nimport Module from '../core/module.js';\nimport {\n TableCell,\n TableRow,\n TableBody,\n TableContainer,\n tableId,\n} from '../formats/table.js';\n\nclass Table extends Module {\n static register() {\n Quill.register(TableCell);\n Quill.register(TableRow);\n Quill.register(TableBody);\n Quill.register(TableContainer);\n }\n\n constructor(...args: ConstructorParameters<typeof Module>) {\n super(...args);\n this.listenBalanceCells();\n }\n\n balanceTables() {\n this.quill.scroll.descendants(TableContainer).forEach((table) => {\n table.balanceCells();\n });\n }\n\n deleteColumn() {\n const [table, , cell] = this.getTable();\n if (cell == null) return;\n // @ts-expect-error\n table.deleteColumn(cell.cellOffset());\n this.quill.update(Quill.sources.USER);\n }\n\n deleteRow() {\n const [, row] = this.getTable();\n if (row == null) return;\n row.remove();\n this.quill.update(Quill.sources.USER);\n }\n\n deleteTable() {\n const [table] = this.getTable();\n if (table == null) return;\n // @ts-expect-error\n const offset = table.offset();\n // @ts-expect-error\n table.remove();\n this.quill.update(Quill.sources.USER);\n this.quill.setSelection(offset, Quill.sources.SILENT);\n }\n\n getTable(\n range = this.quill.getSelection(),\n ): [null, null, null, -1] | [Table, TableRow, TableCell, number] {\n if (range == null) return [null, null, null, -1];\n const [cell, offset] = this.quill.getLine(range.index);\n if (cell == null || cell.statics.blotName !== TableCell.blotName) {\n return [null, null, null, -1];\n }\n const row = cell.parent;\n const table = row.parent.parent;\n // @ts-expect-error\n return [table, row, cell, offset];\n }\n\n insertColumn(offset: number) {\n const range = this.quill.getSelection();\n if (!range) return;\n const [table, row, cell] = this.getTable(range);\n if (cell == null) return;\n const column = cell.cellOffset();\n table.insertColumn(column + offset);\n this.quill.update(Quill.sources.USER);\n let shift = row.rowOffset();\n if (offset === 0) {\n shift += 1;\n }\n this.quill.setSelection(\n range.index + shift,\n range.length,\n Quill.sources.SILENT,\n );\n }\n\n insertColumnLeft() {\n this.insertColumn(0);\n }\n\n insertColumnRight() {\n this.insertColumn(1);\n }\n\n insertRow(offset: number) {\n const range = this.quill.getSelection();\n if (!range) return;\n const [table, row, cell] = this.getTable(range);\n if (cell == null) return;\n const index = row.rowOffset();\n table.insertRow(index + offset);\n this.quill.update(Quill.sources.USER);\n if (offset > 0) {\n this.quill.setSelection(range, Quill.sources.SILENT);\n } else {\n this.quill.setSelection(\n range.index + row.children.length,\n range.length,\n Quill.sources.SILENT,\n );\n }\n }\n\n insertRowAbove() {\n this.insertRow(0);\n }\n\n insertRowBelow() {\n this.insertRow(1);\n }\n\n insertTable(rows: number, columns: number) {\n const range = this.quill.getSelection();\n if (range == null) return;\n const delta = new Array(rows).fill(0).reduce((memo) => {\n const text = new Array(columns).fill('\\n').join('');\n return memo.insert(text, { table: tableId() });\n }, new Delta().retain(range.index));\n this.quill.updateContents(delta, Quill.sources.USER);\n this.quill.setSelection(range.index, Quill.sources.SILENT);\n this.balanceTables();\n }\n\n listenBalanceCells() {\n this.quill.on(\n Quill.events.SCROLL_OPTIMIZE,\n (mutations: MutationRecord[]) => {\n mutations.some((mutation) => {\n if (\n ['TD', 'TR', 'TBODY', 'TABLE'].includes(\n (mutation.target as HTMLElement).tagName,\n )\n ) {\n this.quill.once(Quill.events.TEXT_CHANGE, (delta, old, source) => {\n if (source !== Quill.sources.USER) return;\n this.balanceTables();\n });\n return true;\n }\n return false;\n });\n },\n );\n }\n}\n\nexport default Table;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,aAAa;AAC/B,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SACEC,SAAS,EACTC,QAAQ,EACRC,SAAS,EACTC,cAAc,EACdC,OAAO,QACF,qBAAqB;AAE5B,MAAMC,KAAK,SAASN,MAAM,CAAC;EACzB,OAAOO,QAAQA,CAAA,EAAG;IAChBR,KAAK,CAACQ,QAAQ,CAACN,SAAS,CAAC;IACzBF,KAAK,CAACQ,QAAQ,CAACL,QAAQ,CAAC;IACxBH,KAAK,CAACQ,QAAQ,CAACJ,SAAS,CAAC;IACzBJ,KAAK,CAACQ,QAAQ,CAACH,cAAc,CAAC;EAChC;EAEAI,WAAWA,CAAA,EAAgD;IACzD,KAAK,CAAC,GAAAC,SAAO,CAAC;IACd,IAAI,CAACC,kBAAkB,CAAC,CAAC;EAC3B;EAEAC,aAAaA,CAAA,EAAG;IACd,IAAI,CAACC,KAAK,CAACC,MAAM,CAACC,WAAW,CAACV,cAAc,CAAC,CAACW,OAAO,CAAEC,KAAK,IAAK;MAC/DA,KAAK,CAACC,YAAY,CAAC,CAAC;IACtB,CAAC,CAAC;EACJ;EAEAC,YAAYA,CAAA,EAAG;IACb,MAAM,CAACF,KAAK,GAAIG,IAAI,CAAC,GAAG,IAAI,CAACC,QAAQ,CAAC,CAAC;IACvC,IAAID,IAAI,IAAI,IAAI,EAAE;IAClB;IACAH,KAAK,CAACE,YAAY,CAACC,IAAI,CAACE,UAAU,CAAC,CAAC,CAAC;IACrC,IAAI,CAACT,KAAK,CAACU,MAAM,CAACvB,KAAK,CAACwB,OAAO,CAACC,IAAI,CAAC;EACvC;EAEAC,SAASA,CAAA,EAA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,MAAM,CAACF,IAAI,EAAE;QAAE3C,KAAK,EAAEX,OAAO,CAAC;MAAE,CAAC,CAAC;IAChD,CAAC,EAAE,IAAIP,KAAK,CAAC,CAAC,CAACgE,MAAM,CAAC9B,KAAK,CAACK,KAAK,CAAC,CAAC;IACnC,IAAI,CAACzB,KAAK,CAACmD,cAAc,CAACT,KAAK,EAAEvD,KAAK,CAACwB,OAAO,CAACC,IAAI,CAAC;IACpD,IAAI,CAACZ,KAAK,CAACkB,YAAY,CAACE,KAAK,CAACK,KAAK,EAAEtC,KAAK,CAACwB,OAAO,CAACQ,MAAM,CAAC;IAC1D,IAAI,CAACpB,aAAa,CAAC,CAAC;EACtB;EAEAD,kBAAkBA,CAAA,EAAG;IACnB,IAAI,CAACE,KAAK,CAACoD,EAAE,CACXjE,KAAK,CAACkE,MAAM,CAACC,eAAe,EAC3BC,SAA2B,IAAK;MAC/BA,SAAS,CAACC,IAAI,CAAEC,QAAQ,IAAK;QAC3B,IACE,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAACC,QAAQ,CACpCD,QAAQ,CAACE,MAAM,CAAiBC,OACnC,CAAC,EACD;UACA,IAAI,CAAC5D,KAAK,CAAC6D,IAAI,CAAC1E,KAAK,CAACkE,MAAM,CAACS,WAAW,EAAE,CAACpB,KAAK,EAAEqB,GAAG,EAAEC,MAAM,KAAK;YAChE,IAAIA,MAAM,KAAK7E,KAAK,CAACwB,OAAO,CAACC,IAAI,EAAE;YACnC,IAAI,CAACb,aAAa,CAAC,CAAC;UACtB,CAAC,CAAC;UACF,OAAO,IAAI;QACb;QACA,OAAO,KAAK;MACd,CAAC,CAAC;IACJ,CACF,CAAC;EACH;AACF;AAEA,eAAeL,KAAK","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- import Delta from 'quill-delta';
2
- import type { Op } from 'quill-delta';
3
- import Module from '../core/module.js';
4
- export type CellData = {
5
- content?: Delta['ops'];
6
- attributes?: Record<string, unknown>;
7
- };
8
- export type TableRowColumnOp = Omit<Op, 'insert'> & {
9
- insert?: {
10
- id: string;
11
- };
12
- };
13
- export interface TableData {
14
- rows?: Delta['ops'];
15
- columns?: Delta['ops'];
16
- cells?: Record<string, CellData>;
17
- }
18
- export declare const composePosition: (delta: Delta, index: number) => number | null;
19
- export declare const tableHandler: {
20
- compose(a: TableData, b: TableData, keepNull?: boolean): TableData;
21
- transform(a: TableData, b: TableData, priority: boolean): TableData;
22
- invert(change: TableData, base: TableData): TableData;
23
- };
24
- declare class TableEmbed extends Module {
25
- static register(): void;
26
- }
27
- export default TableEmbed;