@adminforth/rich-editor 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog.md +6 -0
- package/dist/index.js +6 -25
- package/dist/types.js +0 -14
- package/index.ts +5 -24
- package/package.json +1 -1
- package/types.ts +4 -24
- package/custom/node_modules/.package-lock.json +0 -66
- package/custom/node_modules/eventemitter3/LICENSE +0 -21
- package/custom/node_modules/eventemitter3/README.md +0 -94
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
- package/custom/node_modules/eventemitter3/index.d.ts +0 -135
- package/custom/node_modules/eventemitter3/index.js +0 -336
- package/custom/node_modules/eventemitter3/index.mjs +0 -4
- package/custom/node_modules/eventemitter3/package.json +0 -67
- package/custom/node_modules/fast-diff/LICENSE +0 -201
- package/custom/node_modules/fast-diff/README.md +0 -24
- package/custom/node_modules/fast-diff/diff.d.ts +0 -21
- package/custom/node_modules/fast-diff/diff.js +0 -1138
- package/custom/node_modules/fast-diff/package.json +0 -30
- package/custom/node_modules/lodash-es/LICENSE +0 -47
- package/custom/node_modules/lodash-es/README.md +0 -10
- package/custom/node_modules/lodash-es/_DataView.js +0 -7
- package/custom/node_modules/lodash-es/_Hash.js +0 -32
- package/custom/node_modules/lodash-es/_LazyWrapper.js +0 -28
- package/custom/node_modules/lodash-es/_ListCache.js +0 -32
- package/custom/node_modules/lodash-es/_LodashWrapper.js +0 -22
- package/custom/node_modules/lodash-es/_Map.js +0 -7
- package/custom/node_modules/lodash-es/_MapCache.js +0 -32
- package/custom/node_modules/lodash-es/_Promise.js +0 -7
- package/custom/node_modules/lodash-es/_Set.js +0 -7
- package/custom/node_modules/lodash-es/_SetCache.js +0 -27
- package/custom/node_modules/lodash-es/_Stack.js +0 -27
- package/custom/node_modules/lodash-es/_Symbol.js +0 -6
- package/custom/node_modules/lodash-es/_Uint8Array.js +0 -6
- package/custom/node_modules/lodash-es/_WeakMap.js +0 -7
- package/custom/node_modules/lodash-es/_addMapEntry.js +0 -15
- package/custom/node_modules/lodash-es/_addSetEntry.js +0 -15
- package/custom/node_modules/lodash-es/_apply.js +0 -21
- package/custom/node_modules/lodash-es/_arrayAggregator.js +0 -22
- package/custom/node_modules/lodash-es/_arrayEach.js +0 -22
- package/custom/node_modules/lodash-es/_arrayEachRight.js +0 -21
- package/custom/node_modules/lodash-es/_arrayEvery.js +0 -23
- package/custom/node_modules/lodash-es/_arrayFilter.js +0 -25
- package/custom/node_modules/lodash-es/_arrayIncludes.js +0 -17
- package/custom/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
- package/custom/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
- package/custom/node_modules/lodash-es/_arrayMap.js +0 -21
- package/custom/node_modules/lodash-es/_arrayPush.js +0 -20
- package/custom/node_modules/lodash-es/_arrayReduce.js +0 -26
- package/custom/node_modules/lodash-es/_arrayReduceRight.js +0 -24
- package/custom/node_modules/lodash-es/_arraySample.js +0 -15
- package/custom/node_modules/lodash-es/_arraySampleSize.js +0 -17
- package/custom/node_modules/lodash-es/_arrayShuffle.js +0 -15
- package/custom/node_modules/lodash-es/_arraySome.js +0 -23
- package/custom/node_modules/lodash-es/_asciiSize.js +0 -12
- package/custom/node_modules/lodash-es/_asciiToArray.js +0 -12
- package/custom/node_modules/lodash-es/_asciiWords.js +0 -15
- package/custom/node_modules/lodash-es/_assignMergeValue.js +0 -20
- package/custom/node_modules/lodash-es/_assignValue.js +0 -28
- package/custom/node_modules/lodash-es/_assocIndexOf.js +0 -21
- package/custom/node_modules/lodash-es/_baseAggregator.js +0 -21
- package/custom/node_modules/lodash-es/_baseAssign.js +0 -17
- package/custom/node_modules/lodash-es/_baseAssignIn.js +0 -17
- package/custom/node_modules/lodash-es/_baseAssignValue.js +0 -25
- package/custom/node_modules/lodash-es/_baseAt.js +0 -23
- package/custom/node_modules/lodash-es/_baseClamp.js +0 -22
- package/custom/node_modules/lodash-es/_baseClone.js +0 -166
- package/custom/node_modules/lodash-es/_baseConforms.js +0 -18
- package/custom/node_modules/lodash-es/_baseConformsTo.js +0 -27
- package/custom/node_modules/lodash-es/_baseCreate.js +0 -30
- package/custom/node_modules/lodash-es/_baseDelay.js +0 -21
- package/custom/node_modules/lodash-es/_baseDifference.js +0 -67
- package/custom/node_modules/lodash-es/_baseEach.js +0 -14
- package/custom/node_modules/lodash-es/_baseEachRight.js +0 -14
- package/custom/node_modules/lodash-es/_baseEvery.js +0 -21
- package/custom/node_modules/lodash-es/_baseExtremum.js +0 -32
- package/custom/node_modules/lodash-es/_baseFill.js +0 -32
- package/custom/node_modules/lodash-es/_baseFilter.js +0 -21
- package/custom/node_modules/lodash-es/_baseFindIndex.js +0 -24
- package/custom/node_modules/lodash-es/_baseFindKey.js +0 -23
- package/custom/node_modules/lodash-es/_baseFlatten.js +0 -38
- package/custom/node_modules/lodash-es/_baseFor.js +0 -16
- package/custom/node_modules/lodash-es/_baseForOwn.js +0 -16
- package/custom/node_modules/lodash-es/_baseForOwnRight.js +0 -16
- package/custom/node_modules/lodash-es/_baseForRight.js +0 -15
- package/custom/node_modules/lodash-es/_baseFunctions.js +0 -19
- package/custom/node_modules/lodash-es/_baseGet.js +0 -24
- package/custom/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
- package/custom/node_modules/lodash-es/_baseGetTag.js +0 -28
- package/custom/node_modules/lodash-es/_baseGt.js +0 -14
- package/custom/node_modules/lodash-es/_baseHas.js +0 -19
- package/custom/node_modules/lodash-es/_baseHasIn.js +0 -13
- package/custom/node_modules/lodash-es/_baseInRange.js +0 -18
- package/custom/node_modules/lodash-es/_baseIndexOf.js +0 -20
- package/custom/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
- package/custom/node_modules/lodash-es/_baseIntersection.js +0 -74
- package/custom/node_modules/lodash-es/_baseInverter.js +0 -21
- package/custom/node_modules/lodash-es/_baseInvoke.js +0 -24
- package/custom/node_modules/lodash-es/_baseIsArguments.js +0 -18
- package/custom/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
- package/custom/node_modules/lodash-es/_baseIsDate.js +0 -18
- package/custom/node_modules/lodash-es/_baseIsEqual.js +0 -28
- package/custom/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
- package/custom/node_modules/lodash-es/_baseIsMap.js +0 -18
- package/custom/node_modules/lodash-es/_baseIsMatch.js +0 -62
- package/custom/node_modules/lodash-es/_baseIsNaN.js +0 -12
- package/custom/node_modules/lodash-es/_baseIsNative.js +0 -47
- package/custom/node_modules/lodash-es/_baseIsRegExp.js +0 -18
- package/custom/node_modules/lodash-es/_baseIsSet.js +0 -18
- package/custom/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
- package/custom/node_modules/lodash-es/_baseIteratee.js +0 -31
- package/custom/node_modules/lodash-es/_baseKeys.js +0 -30
- package/custom/node_modules/lodash-es/_baseKeysIn.js +0 -33
- package/custom/node_modules/lodash-es/_baseLodash.js +0 -10
- package/custom/node_modules/lodash-es/_baseLt.js +0 -14
- package/custom/node_modules/lodash-es/_baseMap.js +0 -22
- package/custom/node_modules/lodash-es/_baseMatches.js +0 -22
- package/custom/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
- package/custom/node_modules/lodash-es/_baseMean.js +0 -20
- package/custom/node_modules/lodash-es/_baseMerge.js +0 -42
- package/custom/node_modules/lodash-es/_baseMergeDeep.js +0 -94
- package/custom/node_modules/lodash-es/_baseNth.js +0 -20
- package/custom/node_modules/lodash-es/_baseOrderBy.js +0 -49
- package/custom/node_modules/lodash-es/_basePick.js +0 -19
- package/custom/node_modules/lodash-es/_basePickBy.js +0 -30
- package/custom/node_modules/lodash-es/_baseProperty.js +0 -14
- package/custom/node_modules/lodash-es/_basePropertyDeep.js +0 -16
- package/custom/node_modules/lodash-es/_basePropertyOf.js +0 -14
- package/custom/node_modules/lodash-es/_basePullAll.js +0 -51
- package/custom/node_modules/lodash-es/_basePullAt.js +0 -37
- package/custom/node_modules/lodash-es/_baseRandom.js +0 -18
- package/custom/node_modules/lodash-es/_baseRange.js +0 -28
- package/custom/node_modules/lodash-es/_baseReduce.js +0 -23
- package/custom/node_modules/lodash-es/_baseRepeat.js +0 -35
- package/custom/node_modules/lodash-es/_baseRest.js +0 -17
- package/custom/node_modules/lodash-es/_baseSample.js +0 -15
- package/custom/node_modules/lodash-es/_baseSampleSize.js +0 -18
- package/custom/node_modules/lodash-es/_baseSet.js +0 -51
- package/custom/node_modules/lodash-es/_baseSetData.js +0 -17
- package/custom/node_modules/lodash-es/_baseSetToString.js +0 -22
- package/custom/node_modules/lodash-es/_baseShuffle.js +0 -15
- package/custom/node_modules/lodash-es/_baseSlice.js +0 -31
- package/custom/node_modules/lodash-es/_baseSome.js +0 -22
- package/custom/node_modules/lodash-es/_baseSortBy.js +0 -21
- package/custom/node_modules/lodash-es/_baseSortedIndex.js +0 -42
- package/custom/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
- package/custom/node_modules/lodash-es/_baseSortedUniq.js +0 -30
- package/custom/node_modules/lodash-es/_baseSum.js +0 -24
- package/custom/node_modules/lodash-es/_baseTimes.js +0 -20
- package/custom/node_modules/lodash-es/_baseToNumber.js +0 -24
- package/custom/node_modules/lodash-es/_baseToPairs.js +0 -18
- package/custom/node_modules/lodash-es/_baseToString.js +0 -37
- package/custom/node_modules/lodash-es/_baseTrim.js +0 -19
- package/custom/node_modules/lodash-es/_baseUnary.js +0 -14
- package/custom/node_modules/lodash-es/_baseUniq.js +0 -72
- package/custom/node_modules/lodash-es/_baseUnset.js +0 -20
- package/custom/node_modules/lodash-es/_baseUpdate.js +0 -18
- package/custom/node_modules/lodash-es/_baseValues.js +0 -19
- package/custom/node_modules/lodash-es/_baseWhile.js +0 -26
- package/custom/node_modules/lodash-es/_baseWrapperValue.js +0 -25
- package/custom/node_modules/lodash-es/_baseXor.js +0 -36
- package/custom/node_modules/lodash-es/_baseZipObject.js +0 -23
- package/custom/node_modules/lodash-es/_cacheHas.js +0 -13
- package/custom/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
- package/custom/node_modules/lodash-es/_castFunction.js +0 -14
- package/custom/node_modules/lodash-es/_castPath.js +0 -21
- package/custom/node_modules/lodash-es/_castRest.js +0 -14
- package/custom/node_modules/lodash-es/_castSlice.js +0 -18
- package/custom/node_modules/lodash-es/_charsEndIndex.js +0 -19
- package/custom/node_modules/lodash-es/_charsStartIndex.js +0 -20
- package/custom/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
- package/custom/node_modules/lodash-es/_cloneBuffer.js +0 -35
- package/custom/node_modules/lodash-es/_cloneDataView.js +0 -16
- package/custom/node_modules/lodash-es/_cloneMap.js +0 -22
- package/custom/node_modules/lodash-es/_cloneRegExp.js +0 -17
- package/custom/node_modules/lodash-es/_cloneSet.js +0 -22
- package/custom/node_modules/lodash-es/_cloneSymbol.js +0 -18
- package/custom/node_modules/lodash-es/_cloneTypedArray.js +0 -16
- package/custom/node_modules/lodash-es/_compareAscending.js +0 -41
- package/custom/node_modules/lodash-es/_compareMultiple.js +0 -44
- package/custom/node_modules/lodash-es/_composeArgs.js +0 -39
- package/custom/node_modules/lodash-es/_composeArgsRight.js +0 -41
- package/custom/node_modules/lodash-es/_copyArray.js +0 -20
- package/custom/node_modules/lodash-es/_copyObject.js +0 -40
- package/custom/node_modules/lodash-es/_copySymbols.js +0 -16
- package/custom/node_modules/lodash-es/_copySymbolsIn.js +0 -16
- package/custom/node_modules/lodash-es/_coreJsData.js +0 -6
- package/custom/node_modules/lodash-es/_countHolders.js +0 -21
- package/custom/node_modules/lodash-es/_createAggregator.js +0 -23
- package/custom/node_modules/lodash-es/_createAssigner.js +0 -37
- package/custom/node_modules/lodash-es/_createBaseEach.js +0 -32
- package/custom/node_modules/lodash-es/_createBaseFor.js +0 -25
- package/custom/node_modules/lodash-es/_createBind.js +0 -28
- package/custom/node_modules/lodash-es/_createCaseFirst.js +0 -33
- package/custom/node_modules/lodash-es/_createCompounder.js +0 -24
- package/custom/node_modules/lodash-es/_createCtor.js +0 -37
- package/custom/node_modules/lodash-es/_createCurry.js +0 -46
- package/custom/node_modules/lodash-es/_createFind.js +0 -25
- package/custom/node_modules/lodash-es/_createFlow.js +0 -78
- package/custom/node_modules/lodash-es/_createHybrid.js +0 -92
- package/custom/node_modules/lodash-es/_createInverter.js +0 -17
- package/custom/node_modules/lodash-es/_createMathOperation.js +0 -38
- package/custom/node_modules/lodash-es/_createOver.js +0 -27
- package/custom/node_modules/lodash-es/_createPadding.js +0 -33
- package/custom/node_modules/lodash-es/_createPartial.js +0 -43
- package/custom/node_modules/lodash-es/_createRange.js +0 -30
- package/custom/node_modules/lodash-es/_createRecurry.js +0 -56
- package/custom/node_modules/lodash-es/_createRelationalOperation.js +0 -20
- package/custom/node_modules/lodash-es/_createRound.js +0 -35
- package/custom/node_modules/lodash-es/_createSet.js +0 -19
- package/custom/node_modules/lodash-es/_createToPairs.js +0 -30
- package/custom/node_modules/lodash-es/_createWrap.js +0 -106
- package/custom/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
- package/custom/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
- package/custom/node_modules/lodash-es/_customOmitClone.js +0 -16
- package/custom/node_modules/lodash-es/_deburrLetter.js +0 -71
- package/custom/node_modules/lodash-es/_defineProperty.js +0 -11
- package/custom/node_modules/lodash-es/_equalArrays.js +0 -84
- package/custom/node_modules/lodash-es/_equalByTag.js +0 -112
- package/custom/node_modules/lodash-es/_equalObjects.js +0 -90
- package/custom/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
- package/custom/node_modules/lodash-es/_escapeStringChar.js +0 -22
- package/custom/node_modules/lodash-es/_flatRest.js +0 -16
- package/custom/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/custom/node_modules/lodash-es/_getAllKeys.js +0 -16
- package/custom/node_modules/lodash-es/_getAllKeysIn.js +0 -17
- package/custom/node_modules/lodash-es/_getData.js +0 -15
- package/custom/node_modules/lodash-es/_getFuncName.js +0 -31
- package/custom/node_modules/lodash-es/_getHolder.js +0 -13
- package/custom/node_modules/lodash-es/_getMapData.js +0 -18
- package/custom/node_modules/lodash-es/_getMatchData.js +0 -24
- package/custom/node_modules/lodash-es/_getNative.js +0 -17
- package/custom/node_modules/lodash-es/_getPrototype.js +0 -6
- package/custom/node_modules/lodash-es/_getRawTag.js +0 -46
- package/custom/node_modules/lodash-es/_getSymbols.js +0 -30
- package/custom/node_modules/lodash-es/_getSymbolsIn.js +0 -25
- package/custom/node_modules/lodash-es/_getTag.js +0 -58
- package/custom/node_modules/lodash-es/_getValue.js +0 -13
- package/custom/node_modules/lodash-es/_getView.js +0 -33
- package/custom/node_modules/lodash-es/_getWrapDetails.js +0 -17
- package/custom/node_modules/lodash-es/_hasPath.js +0 -39
- package/custom/node_modules/lodash-es/_hasUnicode.js +0 -26
- package/custom/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
- package/custom/node_modules/lodash-es/_hashClear.js +0 -15
- package/custom/node_modules/lodash-es/_hashDelete.js +0 -17
- package/custom/node_modules/lodash-es/_hashGet.js +0 -30
- package/custom/node_modules/lodash-es/_hashHas.js +0 -23
- package/custom/node_modules/lodash-es/_hashSet.js +0 -23
- package/custom/node_modules/lodash-es/_initCloneArray.js +0 -26
- package/custom/node_modules/lodash-es/_initCloneByTag.js +0 -77
- package/custom/node_modules/lodash-es/_initCloneObject.js +0 -18
- package/custom/node_modules/lodash-es/_insertWrapDetails.js +0 -23
- package/custom/node_modules/lodash-es/_isFlattenable.js +0 -20
- package/custom/node_modules/lodash-es/_isIndex.js +0 -25
- package/custom/node_modules/lodash-es/_isIterateeCall.js +0 -30
- package/custom/node_modules/lodash-es/_isKey.js +0 -29
- package/custom/node_modules/lodash-es/_isKeyable.js +0 -15
- package/custom/node_modules/lodash-es/_isLaziable.js +0 -28
- package/custom/node_modules/lodash-es/_isMaskable.js +0 -14
- package/custom/node_modules/lodash-es/_isMasked.js +0 -20
- package/custom/node_modules/lodash-es/_isPrototype.js +0 -18
- package/custom/node_modules/lodash-es/_isStrictComparable.js +0 -15
- package/custom/node_modules/lodash-es/_iteratorToArray.js +0 -18
- package/custom/node_modules/lodash-es/_lazyClone.js +0 -23
- package/custom/node_modules/lodash-es/_lazyReverse.js +0 -23
- package/custom/node_modules/lodash-es/_lazyValue.js +0 -69
- package/custom/node_modules/lodash-es/_listCacheClear.js +0 -13
- package/custom/node_modules/lodash-es/_listCacheDelete.js +0 -35
- package/custom/node_modules/lodash-es/_listCacheGet.js +0 -19
- package/custom/node_modules/lodash-es/_listCacheHas.js +0 -16
- package/custom/node_modules/lodash-es/_listCacheSet.js +0 -26
- package/custom/node_modules/lodash-es/_mapCacheClear.js +0 -21
- package/custom/node_modules/lodash-es/_mapCacheDelete.js +0 -18
- package/custom/node_modules/lodash-es/_mapCacheGet.js +0 -16
- package/custom/node_modules/lodash-es/_mapCacheHas.js +0 -16
- package/custom/node_modules/lodash-es/_mapCacheSet.js +0 -22
- package/custom/node_modules/lodash-es/_mapToArray.js +0 -18
- package/custom/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
- package/custom/node_modules/lodash-es/_memoizeCapped.js +0 -26
- package/custom/node_modules/lodash-es/_mergeData.js +0 -90
- package/custom/node_modules/lodash-es/_metaMap.js +0 -6
- package/custom/node_modules/lodash-es/_nativeCreate.js +0 -6
- package/custom/node_modules/lodash-es/_nativeKeys.js +0 -6
- package/custom/node_modules/lodash-es/_nativeKeysIn.js +0 -20
- package/custom/node_modules/lodash-es/_nodeUtil.js +0 -30
- package/custom/node_modules/lodash-es/_objectToString.js +0 -22
- package/custom/node_modules/lodash-es/_overArg.js +0 -15
- package/custom/node_modules/lodash-es/_overRest.js +0 -36
- package/custom/node_modules/lodash-es/_parent.js +0 -16
- package/custom/node_modules/lodash-es/_reEscape.js +0 -4
- package/custom/node_modules/lodash-es/_reEvaluate.js +0 -4
- package/custom/node_modules/lodash-es/_reInterpolate.js +0 -4
- package/custom/node_modules/lodash-es/_realNames.js +0 -4
- package/custom/node_modules/lodash-es/_reorder.js +0 -29
- package/custom/node_modules/lodash-es/_replaceHolders.js +0 -29
- package/custom/node_modules/lodash-es/_root.js +0 -9
- package/custom/node_modules/lodash-es/_safeGet.js +0 -21
- package/custom/node_modules/lodash-es/_setCacheAdd.js +0 -19
- package/custom/node_modules/lodash-es/_setCacheHas.js +0 -14
- package/custom/node_modules/lodash-es/_setData.js +0 -20
- package/custom/node_modules/lodash-es/_setToArray.js +0 -18
- package/custom/node_modules/lodash-es/_setToPairs.js +0 -18
- package/custom/node_modules/lodash-es/_setToString.js +0 -14
- package/custom/node_modules/lodash-es/_setWrapToString.js +0 -21
- package/custom/node_modules/lodash-es/_shortOut.js +0 -37
- package/custom/node_modules/lodash-es/_shuffleSelf.js +0 -28
- package/custom/node_modules/lodash-es/_stackClear.js +0 -15
- package/custom/node_modules/lodash-es/_stackDelete.js +0 -18
- package/custom/node_modules/lodash-es/_stackGet.js +0 -14
- package/custom/node_modules/lodash-es/_stackHas.js +0 -14
- package/custom/node_modules/lodash-es/_stackSet.js +0 -34
- package/custom/node_modules/lodash-es/_strictIndexOf.js +0 -23
- package/custom/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
- package/custom/node_modules/lodash-es/_stringSize.js +0 -18
- package/custom/node_modules/lodash-es/_stringToArray.js +0 -18
- package/custom/node_modules/lodash-es/_stringToPath.js +0 -27
- package/custom/node_modules/lodash-es/_toKey.js +0 -21
- package/custom/node_modules/lodash-es/_toSource.js +0 -26
- package/custom/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
- package/custom/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
- package/custom/node_modules/lodash-es/_unicodeSize.js +0 -44
- package/custom/node_modules/lodash-es/_unicodeToArray.js +0 -40
- package/custom/node_modules/lodash-es/_unicodeWords.js +0 -69
- package/custom/node_modules/lodash-es/_updateWrapDetails.js +0 -46
- package/custom/node_modules/lodash-es/_wrapperClone.js +0 -23
- package/custom/node_modules/lodash-es/add.js +0 -22
- package/custom/node_modules/lodash-es/after.js +0 -42
- package/custom/node_modules/lodash-es/array.default.js +0 -81
- package/custom/node_modules/lodash-es/array.js +0 -66
- package/custom/node_modules/lodash-es/ary.js +0 -29
- package/custom/node_modules/lodash-es/assign.js +0 -58
- package/custom/node_modules/lodash-es/assignIn.js +0 -40
- package/custom/node_modules/lodash-es/assignInWith.js +0 -38
- package/custom/node_modules/lodash-es/assignWith.js +0 -37
- package/custom/node_modules/lodash-es/at.js +0 -23
- package/custom/node_modules/lodash-es/attempt.js +0 -35
- package/custom/node_modules/lodash-es/before.js +0 -40
- package/custom/node_modules/lodash-es/bind.js +0 -57
- package/custom/node_modules/lodash-es/bindAll.js +0 -41
- package/custom/node_modules/lodash-es/bindKey.js +0 -68
- package/custom/node_modules/lodash-es/camelCase.js +0 -29
- package/custom/node_modules/lodash-es/capitalize.js +0 -23
- package/custom/node_modules/lodash-es/castArray.js +0 -44
- package/custom/node_modules/lodash-es/ceil.js +0 -26
- package/custom/node_modules/lodash-es/chain.js +0 -38
- package/custom/node_modules/lodash-es/chunk.js +0 -50
- package/custom/node_modules/lodash-es/clamp.js +0 -39
- package/custom/node_modules/lodash-es/clone.js +0 -36
- package/custom/node_modules/lodash-es/cloneDeep.js +0 -29
- package/custom/node_modules/lodash-es/cloneDeepWith.js +0 -40
- package/custom/node_modules/lodash-es/cloneWith.js +0 -42
- package/custom/node_modules/lodash-es/collection.default.js +0 -37
- package/custom/node_modules/lodash-es/collection.js +0 -29
- package/custom/node_modules/lodash-es/commit.js +0 -33
- package/custom/node_modules/lodash-es/compact.js +0 -31
- package/custom/node_modules/lodash-es/concat.js +0 -43
- package/custom/node_modules/lodash-es/cond.js +0 -60
- package/custom/node_modules/lodash-es/conforms.js +0 -35
- package/custom/node_modules/lodash-es/conformsTo.js +0 -32
- package/custom/node_modules/lodash-es/constant.js +0 -26
- package/custom/node_modules/lodash-es/countBy.js +0 -40
- package/custom/node_modules/lodash-es/create.js +0 -43
- package/custom/node_modules/lodash-es/curry.js +0 -57
- package/custom/node_modules/lodash-es/curryRight.js +0 -54
- package/custom/node_modules/lodash-es/date.default.js +0 -5
- package/custom/node_modules/lodash-es/date.js +0 -2
- package/custom/node_modules/lodash-es/debounce.js +0 -191
- package/custom/node_modules/lodash-es/deburr.js +0 -45
- package/custom/node_modules/lodash-es/defaultTo.js +0 -25
- package/custom/node_modules/lodash-es/defaults.js +0 -64
- package/custom/node_modules/lodash-es/defaultsDeep.js +0 -30
- package/custom/node_modules/lodash-es/defer.js +0 -26
- package/custom/node_modules/lodash-es/delay.js +0 -28
- package/custom/node_modules/lodash-es/difference.js +0 -33
- package/custom/node_modules/lodash-es/differenceBy.js +0 -44
- package/custom/node_modules/lodash-es/differenceWith.js +0 -40
- package/custom/node_modules/lodash-es/divide.js +0 -22
- package/custom/node_modules/lodash-es/drop.js +0 -38
- package/custom/node_modules/lodash-es/dropRight.js +0 -39
- package/custom/node_modules/lodash-es/dropRightWhile.js +0 -45
- package/custom/node_modules/lodash-es/dropWhile.js +0 -45
- package/custom/node_modules/lodash-es/each.js +0 -1
- package/custom/node_modules/lodash-es/eachRight.js +0 -1
- package/custom/node_modules/lodash-es/endsWith.js +0 -43
- package/custom/node_modules/lodash-es/entries.js +0 -1
- package/custom/node_modules/lodash-es/entriesIn.js +0 -1
- package/custom/node_modules/lodash-es/eq.js +0 -37
- package/custom/node_modules/lodash-es/escape.js +0 -43
- package/custom/node_modules/lodash-es/escapeRegExp.js +0 -32
- package/custom/node_modules/lodash-es/every.js +0 -56
- package/custom/node_modules/lodash-es/extend.js +0 -1
- package/custom/node_modules/lodash-es/extendWith.js +0 -1
- package/custom/node_modules/lodash-es/fill.js +0 -45
- package/custom/node_modules/lodash-es/filter.js +0 -52
- package/custom/node_modules/lodash-es/find.js +0 -42
- package/custom/node_modules/lodash-es/findIndex.js +0 -55
- package/custom/node_modules/lodash-es/findKey.js +0 -44
- package/custom/node_modules/lodash-es/findLast.js +0 -25
- package/custom/node_modules/lodash-es/findLastIndex.js +0 -59
- package/custom/node_modules/lodash-es/findLastKey.js +0 -44
- package/custom/node_modules/lodash-es/first.js +0 -1
- package/custom/node_modules/lodash-es/flake.lock +0 -40
- package/custom/node_modules/lodash-es/flake.nix +0 -20
- package/custom/node_modules/lodash-es/flatMap.js +0 -29
- package/custom/node_modules/lodash-es/flatMapDeep.js +0 -31
- package/custom/node_modules/lodash-es/flatMapDepth.js +0 -31
- package/custom/node_modules/lodash-es/flatten.js +0 -22
- package/custom/node_modules/lodash-es/flattenDeep.js +0 -25
- package/custom/node_modules/lodash-es/flattenDepth.js +0 -33
- package/custom/node_modules/lodash-es/flip.js +0 -28
- package/custom/node_modules/lodash-es/floor.js +0 -26
- package/custom/node_modules/lodash-es/flow.js +0 -27
- package/custom/node_modules/lodash-es/flowRight.js +0 -26
- package/custom/node_modules/lodash-es/forEach.js +0 -41
- package/custom/node_modules/lodash-es/forEachRight.js +0 -31
- package/custom/node_modules/lodash-es/forIn.js +0 -39
- package/custom/node_modules/lodash-es/forInRight.js +0 -37
- package/custom/node_modules/lodash-es/forOwn.js +0 -36
- package/custom/node_modules/lodash-es/forOwnRight.js +0 -34
- package/custom/node_modules/lodash-es/fromPairs.js +0 -28
- package/custom/node_modules/lodash-es/function.default.js +0 -31
- package/custom/node_modules/lodash-es/function.js +0 -24
- package/custom/node_modules/lodash-es/functions.js +0 -31
- package/custom/node_modules/lodash-es/functionsIn.js +0 -31
- package/custom/node_modules/lodash-es/get.js +0 -33
- package/custom/node_modules/lodash-es/groupBy.js +0 -41
- package/custom/node_modules/lodash-es/gt.js +0 -29
- package/custom/node_modules/lodash-es/gte.js +0 -30
- package/custom/node_modules/lodash-es/has.js +0 -35
- package/custom/node_modules/lodash-es/hasIn.js +0 -34
- package/custom/node_modules/lodash-es/head.js +0 -23
- package/custom/node_modules/lodash-es/identity.js +0 -21
- package/custom/node_modules/lodash-es/inRange.js +0 -55
- package/custom/node_modules/lodash-es/includes.js +0 -53
- package/custom/node_modules/lodash-es/indexOf.js +0 -42
- package/custom/node_modules/lodash-es/initial.js +0 -22
- package/custom/node_modules/lodash-es/intersection.js +0 -30
- package/custom/node_modules/lodash-es/intersectionBy.js +0 -45
- package/custom/node_modules/lodash-es/intersectionWith.js +0 -41
- package/custom/node_modules/lodash-es/invert.js +0 -42
- package/custom/node_modules/lodash-es/invertBy.js +0 -56
- package/custom/node_modules/lodash-es/invoke.js +0 -24
- package/custom/node_modules/lodash-es/invokeMap.js +0 -41
- package/custom/node_modules/lodash-es/isArguments.js +0 -36
- package/custom/node_modules/lodash-es/isArray.js +0 -26
- package/custom/node_modules/lodash-es/isArrayBuffer.js +0 -27
- package/custom/node_modules/lodash-es/isArrayLike.js +0 -33
- package/custom/node_modules/lodash-es/isArrayLikeObject.js +0 -33
- package/custom/node_modules/lodash-es/isBoolean.js +0 -29
- package/custom/node_modules/lodash-es/isBuffer.js +0 -38
- package/custom/node_modules/lodash-es/isDate.js +0 -27
- package/custom/node_modules/lodash-es/isElement.js +0 -25
- package/custom/node_modules/lodash-es/isEmpty.js +0 -77
- package/custom/node_modules/lodash-es/isEqual.js +0 -35
- package/custom/node_modules/lodash-es/isEqualWith.js +0 -41
- package/custom/node_modules/lodash-es/isError.js +0 -36
- package/custom/node_modules/lodash-es/isFinite.js +0 -36
- package/custom/node_modules/lodash-es/isFunction.js +0 -37
- package/custom/node_modules/lodash-es/isInteger.js +0 -33
- package/custom/node_modules/lodash-es/isLength.js +0 -35
- package/custom/node_modules/lodash-es/isMap.js +0 -27
- package/custom/node_modules/lodash-es/isMatch.js +0 -36
- package/custom/node_modules/lodash-es/isMatchWith.js +0 -41
- package/custom/node_modules/lodash-es/isNaN.js +0 -38
- package/custom/node_modules/lodash-es/isNative.js +0 -40
- package/custom/node_modules/lodash-es/isNil.js +0 -25
- package/custom/node_modules/lodash-es/isNull.js +0 -22
- package/custom/node_modules/lodash-es/isNumber.js +0 -38
- package/custom/node_modules/lodash-es/isObject.js +0 -31
- package/custom/node_modules/lodash-es/isObjectLike.js +0 -29
- package/custom/node_modules/lodash-es/isPlainObject.js +0 -62
- package/custom/node_modules/lodash-es/isRegExp.js +0 -27
- package/custom/node_modules/lodash-es/isSafeInteger.js +0 -37
- package/custom/node_modules/lodash-es/isSet.js +0 -27
- package/custom/node_modules/lodash-es/isString.js +0 -30
- package/custom/node_modules/lodash-es/isSymbol.js +0 -29
- package/custom/node_modules/lodash-es/isTypedArray.js +0 -27
- package/custom/node_modules/lodash-es/isUndefined.js +0 -22
- package/custom/node_modules/lodash-es/isWeakMap.js +0 -28
- package/custom/node_modules/lodash-es/isWeakSet.js +0 -28
- package/custom/node_modules/lodash-es/iteratee.js +0 -53
- package/custom/node_modules/lodash-es/join.js +0 -26
- package/custom/node_modules/lodash-es/kebabCase.js +0 -28
- package/custom/node_modules/lodash-es/keyBy.js +0 -36
- package/custom/node_modules/lodash-es/keys.js +0 -37
- package/custom/node_modules/lodash-es/keysIn.js +0 -32
- package/custom/node_modules/lodash-es/lang.default.js +0 -71
- package/custom/node_modules/lodash-es/lang.js +0 -57
- package/custom/node_modules/lodash-es/last.js +0 -20
- package/custom/node_modules/lodash-es/lastIndexOf.js +0 -46
- package/custom/node_modules/lodash-es/lodash.default.js +0 -643
- package/custom/node_modules/lodash-es/lodash.js +0 -331
- package/custom/node_modules/lodash-es/lowerCase.js +0 -27
- package/custom/node_modules/lodash-es/lowerFirst.js +0 -22
- package/custom/node_modules/lodash-es/lt.js +0 -29
- package/custom/node_modules/lodash-es/lte.js +0 -30
- package/custom/node_modules/lodash-es/map.js +0 -53
- package/custom/node_modules/lodash-es/mapKeys.js +0 -36
- package/custom/node_modules/lodash-es/mapValues.js +0 -43
- package/custom/node_modules/lodash-es/matches.js +0 -46
- package/custom/node_modules/lodash-es/matchesProperty.js +0 -44
- package/custom/node_modules/lodash-es/math.default.js +0 -21
- package/custom/node_modules/lodash-es/math.js +0 -16
- package/custom/node_modules/lodash-es/max.js +0 -29
- package/custom/node_modules/lodash-es/maxBy.js +0 -34
- package/custom/node_modules/lodash-es/mean.js +0 -22
- package/custom/node_modules/lodash-es/meanBy.js +0 -31
- package/custom/node_modules/lodash-es/memoize.js +0 -73
- package/custom/node_modules/lodash-es/merge.js +0 -39
- package/custom/node_modules/lodash-es/mergeWith.js +0 -39
- package/custom/node_modules/lodash-es/method.js +0 -34
- package/custom/node_modules/lodash-es/methodOf.js +0 -33
- package/custom/node_modules/lodash-es/min.js +0 -29
- package/custom/node_modules/lodash-es/minBy.js +0 -34
- package/custom/node_modules/lodash-es/mixin.js +0 -74
- package/custom/node_modules/lodash-es/multiply.js +0 -22
- package/custom/node_modules/lodash-es/negate.js +0 -40
- package/custom/node_modules/lodash-es/next.js +0 -35
- package/custom/node_modules/lodash-es/noop.js +0 -17
- package/custom/node_modules/lodash-es/now.js +0 -23
- package/custom/node_modules/lodash-es/nth.js +0 -29
- package/custom/node_modules/lodash-es/nthArg.js +0 -32
- package/custom/node_modules/lodash-es/number.default.js +0 -7
- package/custom/node_modules/lodash-es/number.js +0 -4
- package/custom/node_modules/lodash-es/object.default.js +0 -60
- package/custom/node_modules/lodash-es/object.js +0 -48
- package/custom/node_modules/lodash-es/omit.js +0 -57
- package/custom/node_modules/lodash-es/omitBy.js +0 -29
- package/custom/node_modules/lodash-es/once.js +0 -25
- package/custom/node_modules/lodash-es/orderBy.js +0 -47
- package/custom/node_modules/lodash-es/over.js +0 -24
- package/custom/node_modules/lodash-es/overArgs.js +0 -61
- package/custom/node_modules/lodash-es/overEvery.js +0 -34
- package/custom/node_modules/lodash-es/overSome.js +0 -37
- package/custom/node_modules/lodash-es/package.json +0 -21
- package/custom/node_modules/lodash-es/pad.js +0 -49
- package/custom/node_modules/lodash-es/padEnd.js +0 -39
- package/custom/node_modules/lodash-es/padStart.js +0 -39
- package/custom/node_modules/lodash-es/parseInt.js +0 -43
- package/custom/node_modules/lodash-es/partial.js +0 -50
- package/custom/node_modules/lodash-es/partialRight.js +0 -49
- package/custom/node_modules/lodash-es/partition.js +0 -43
- package/custom/node_modules/lodash-es/pick.js +0 -25
- package/custom/node_modules/lodash-es/pickBy.js +0 -37
- package/custom/node_modules/lodash-es/plant.js +0 -48
- package/custom/node_modules/lodash-es/property.js +0 -32
- package/custom/node_modules/lodash-es/propertyOf.js +0 -30
- package/custom/node_modules/lodash-es/pull.js +0 -29
- package/custom/node_modules/lodash-es/pullAll.js +0 -29
- package/custom/node_modules/lodash-es/pullAllBy.js +0 -33
- package/custom/node_modules/lodash-es/pullAllWith.js +0 -32
- package/custom/node_modules/lodash-es/pullAt.js +0 -43
- package/custom/node_modules/lodash-es/random.js +0 -82
- package/custom/node_modules/lodash-es/range.js +0 -46
- package/custom/node_modules/lodash-es/rangeRight.js +0 -41
- package/custom/node_modules/lodash-es/rearg.js +0 -33
- package/custom/node_modules/lodash-es/reduce.js +0 -51
- package/custom/node_modules/lodash-es/reduceRight.js +0 -36
- package/custom/node_modules/lodash-es/reject.js +0 -46
- package/custom/node_modules/lodash-es/release.md +0 -48
- package/custom/node_modules/lodash-es/remove.js +0 -53
- package/custom/node_modules/lodash-es/repeat.js +0 -37
- package/custom/node_modules/lodash-es/replace.js +0 -29
- package/custom/node_modules/lodash-es/rest.js +0 -40
- package/custom/node_modules/lodash-es/result.js +0 -56
- package/custom/node_modules/lodash-es/reverse.js +0 -34
- package/custom/node_modules/lodash-es/round.js +0 -26
- package/custom/node_modules/lodash-es/sample.js +0 -24
- package/custom/node_modules/lodash-es/sampleSize.js +0 -37
- package/custom/node_modules/lodash-es/seq.default.js +0 -20
- package/custom/node_modules/lodash-es/seq.js +0 -15
- package/custom/node_modules/lodash-es/set.js +0 -35
- package/custom/node_modules/lodash-es/setWith.js +0 -32
- package/custom/node_modules/lodash-es/shuffle.js +0 -25
- package/custom/node_modules/lodash-es/size.js +0 -46
- package/custom/node_modules/lodash-es/slice.js +0 -37
- package/custom/node_modules/lodash-es/snakeCase.js +0 -28
- package/custom/node_modules/lodash-es/some.js +0 -51
- package/custom/node_modules/lodash-es/sortBy.js +0 -48
- package/custom/node_modules/lodash-es/sortedIndex.js +0 -24
- package/custom/node_modules/lodash-es/sortedIndexBy.js +0 -33
- package/custom/node_modules/lodash-es/sortedIndexOf.js +0 -31
- package/custom/node_modules/lodash-es/sortedLastIndex.js +0 -25
- package/custom/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
- package/custom/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
- package/custom/node_modules/lodash-es/sortedUniq.js +0 -24
- package/custom/node_modules/lodash-es/sortedUniqBy.js +0 -26
- package/custom/node_modules/lodash-es/split.js +0 -52
- package/custom/node_modules/lodash-es/spread.js +0 -63
- package/custom/node_modules/lodash-es/startCase.js +0 -29
- package/custom/node_modules/lodash-es/startsWith.js +0 -39
- package/custom/node_modules/lodash-es/string.default.js +0 -41
- package/custom/node_modules/lodash-es/string.js +0 -32
- package/custom/node_modules/lodash-es/stubArray.js +0 -23
- package/custom/node_modules/lodash-es/stubFalse.js +0 -18
- package/custom/node_modules/lodash-es/stubObject.js +0 -23
- package/custom/node_modules/lodash-es/stubString.js +0 -18
- package/custom/node_modules/lodash-es/stubTrue.js +0 -18
- package/custom/node_modules/lodash-es/subtract.js +0 -22
- package/custom/node_modules/lodash-es/sum.js +0 -24
- package/custom/node_modules/lodash-es/sumBy.js +0 -33
- package/custom/node_modules/lodash-es/tail.js +0 -22
- package/custom/node_modules/lodash-es/take.js +0 -37
- package/custom/node_modules/lodash-es/takeRight.js +0 -39
- package/custom/node_modules/lodash-es/takeRightWhile.js +0 -45
- package/custom/node_modules/lodash-es/takeWhile.js +0 -45
- package/custom/node_modules/lodash-es/tap.js +0 -29
- package/custom/node_modules/lodash-es/template.js +0 -272
- package/custom/node_modules/lodash-es/templateSettings.js +0 -67
- package/custom/node_modules/lodash-es/throttle.js +0 -69
- package/custom/node_modules/lodash-es/thru.js +0 -28
- package/custom/node_modules/lodash-es/times.js +0 -51
- package/custom/node_modules/lodash-es/toArray.js +0 -58
- package/custom/node_modules/lodash-es/toFinite.js +0 -42
- package/custom/node_modules/lodash-es/toInteger.js +0 -36
- package/custom/node_modules/lodash-es/toIterator.js +0 -23
- package/custom/node_modules/lodash-es/toJSON.js +0 -1
- package/custom/node_modules/lodash-es/toLength.js +0 -38
- package/custom/node_modules/lodash-es/toLower.js +0 -28
- package/custom/node_modules/lodash-es/toNumber.js +0 -64
- package/custom/node_modules/lodash-es/toPairs.js +0 -30
- package/custom/node_modules/lodash-es/toPairsIn.js +0 -30
- package/custom/node_modules/lodash-es/toPath.js +0 -33
- package/custom/node_modules/lodash-es/toPlainObject.js +0 -32
- package/custom/node_modules/lodash-es/toSafeInteger.js +0 -37
- package/custom/node_modules/lodash-es/toString.js +0 -28
- package/custom/node_modules/lodash-es/toUpper.js +0 -28
- package/custom/node_modules/lodash-es/transform.js +0 -65
- package/custom/node_modules/lodash-es/trim.js +0 -47
- package/custom/node_modules/lodash-es/trimEnd.js +0 -41
- package/custom/node_modules/lodash-es/trimStart.js +0 -43
- package/custom/node_modules/lodash-es/truncate.js +0 -111
- package/custom/node_modules/lodash-es/unary.js +0 -22
- package/custom/node_modules/lodash-es/unescape.js +0 -34
- package/custom/node_modules/lodash-es/union.js +0 -26
- package/custom/node_modules/lodash-es/unionBy.js +0 -39
- package/custom/node_modules/lodash-es/unionWith.js +0 -34
- package/custom/node_modules/lodash-es/uniq.js +0 -25
- package/custom/node_modules/lodash-es/uniqBy.js +0 -31
- package/custom/node_modules/lodash-es/uniqWith.js +0 -28
- package/custom/node_modules/lodash-es/uniqueId.js +0 -28
- package/custom/node_modules/lodash-es/unset.js +0 -34
- package/custom/node_modules/lodash-es/unzip.js +0 -45
- package/custom/node_modules/lodash-es/unzipWith.js +0 -39
- package/custom/node_modules/lodash-es/update.js +0 -35
- package/custom/node_modules/lodash-es/updateWith.js +0 -33
- package/custom/node_modules/lodash-es/upperCase.js +0 -27
- package/custom/node_modules/lodash-es/upperFirst.js +0 -22
- package/custom/node_modules/lodash-es/util.default.js +0 -42
- package/custom/node_modules/lodash-es/util.js +0 -33
- package/custom/node_modules/lodash-es/value.js +0 -1
- package/custom/node_modules/lodash-es/valueOf.js +0 -1
- package/custom/node_modules/lodash-es/values.js +0 -34
- package/custom/node_modules/lodash-es/valuesIn.js +0 -32
- package/custom/node_modules/lodash-es/without.js +0 -31
- package/custom/node_modules/lodash-es/words.js +0 -35
- package/custom/node_modules/lodash-es/wrap.js +0 -30
- package/custom/node_modules/lodash-es/wrapperAt.js +0 -48
- package/custom/node_modules/lodash-es/wrapperChain.js +0 -34
- package/custom/node_modules/lodash-es/wrapperLodash.js +0 -147
- package/custom/node_modules/lodash-es/wrapperReverse.js +0 -44
- package/custom/node_modules/lodash-es/wrapperValue.js +0 -21
- package/custom/node_modules/lodash-es/xor.js +0 -28
- package/custom/node_modules/lodash-es/xorBy.js +0 -39
- package/custom/node_modules/lodash-es/xorWith.js +0 -34
- package/custom/node_modules/lodash-es/zip.js +0 -22
- package/custom/node_modules/lodash-es/zipObject.js +0 -24
- package/custom/node_modules/lodash-es/zipObjectDeep.js +0 -23
- package/custom/node_modules/lodash-es/zipWith.js +0 -32
- package/custom/node_modules/lodash.clonedeep/LICENSE +0 -47
- package/custom/node_modules/lodash.clonedeep/README.md +0 -18
- package/custom/node_modules/lodash.clonedeep/index.js +0 -1748
- package/custom/node_modules/lodash.clonedeep/package.json +0 -17
- package/custom/node_modules/lodash.isequal/LICENSE +0 -47
- package/custom/node_modules/lodash.isequal/README.md +0 -18
- package/custom/node_modules/lodash.isequal/index.js +0 -1848
- package/custom/node_modules/lodash.isequal/package.json +0 -16
- package/custom/node_modules/parchment/LICENSE +0 -30
- package/custom/node_modules/parchment/README.md +0 -271
- package/custom/node_modules/parchment/dist/parchment.d.ts +0 -453
- package/custom/node_modules/parchment/dist/parchment.js +0 -847
- package/custom/node_modules/parchment/dist/parchment.js.map +0 -1
- package/custom/node_modules/parchment/dist/parchment.umd.cjs +0 -2
- package/custom/node_modules/parchment/dist/parchment.umd.cjs.map +0 -1
- package/custom/node_modules/parchment/package.json +0 -53
- package/custom/node_modules/parchment/src/attributor/attributor.ts +0 -62
- package/custom/node_modules/parchment/src/attributor/class.ts +0 -43
- package/custom/node_modules/parchment/src/attributor/store.ts +0 -79
- package/custom/node_modules/parchment/src/attributor/style.ts +0 -44
- package/custom/node_modules/parchment/src/blot/abstract/blot.ts +0 -128
- package/custom/node_modules/parchment/src/blot/abstract/container.ts +0 -48
- package/custom/node_modules/parchment/src/blot/abstract/leaf.ts +0 -57
- package/custom/node_modules/parchment/src/blot/abstract/parent.ts +0 -400
- package/custom/node_modules/parchment/src/blot/abstract/shadow.ts +0 -188
- package/custom/node_modules/parchment/src/blot/block.ts +0 -123
- package/custom/node_modules/parchment/src/blot/embed.ts +0 -34
- package/custom/node_modules/parchment/src/blot/inline.ts +0 -159
- package/custom/node_modules/parchment/src/blot/scroll.ts +0 -216
- package/custom/node_modules/parchment/src/blot/text.ts +0 -100
- package/custom/node_modules/parchment/src/collection/linked-list.ts +0 -201
- package/custom/node_modules/parchment/src/collection/linked-node.ts +0 -8
- package/custom/node_modules/parchment/src/error.ts +0 -12
- package/custom/node_modules/parchment/src/parchment.ts +0 -48
- package/custom/node_modules/parchment/src/registry.ts +0 -155
- package/custom/node_modules/parchment/src/scope.ts +0 -18
- package/custom/node_modules/parchment/tsconfig.json +0 -16
- package/custom/node_modules/quill/LICENSE +0 -31
- package/custom/node_modules/quill/README.md +0 -104
- package/custom/node_modules/quill/assets/base.styl +0 -309
- package/custom/node_modules/quill/assets/bubble/toolbar.styl +0 -14
- package/custom/node_modules/quill/assets/bubble/tooltip.styl +0 -49
- package/custom/node_modules/quill/assets/bubble.styl +0 -45
- package/custom/node_modules/quill/assets/core.styl +0 -215
- package/custom/node_modules/quill/assets/favicon.png +0 -0
- package/custom/node_modules/quill/assets/icons/align-center.svg +0 -5
- package/custom/node_modules/quill/assets/icons/align-justify.svg +0 -5
- package/custom/node_modules/quill/assets/icons/align-left.svg +0 -5
- package/custom/node_modules/quill/assets/icons/align-right.svg +0 -5
- package/custom/node_modules/quill/assets/icons/attachment.svg +0 -3
- package/custom/node_modules/quill/assets/icons/audio.svg +0 -5
- package/custom/node_modules/quill/assets/icons/authorship.svg +0 -5
- package/custom/node_modules/quill/assets/icons/background.svg +0 -52
- package/custom/node_modules/quill/assets/icons/blockquote.svg +0 -6
- package/custom/node_modules/quill/assets/icons/bold.svg +0 -4
- package/custom/node_modules/quill/assets/icons/clean.svg +0 -7
- package/custom/node_modules/quill/assets/icons/code.svg +0 -5
- package/custom/node_modules/quill/assets/icons/color.svg +0 -5
- package/custom/node_modules/quill/assets/icons/comment.svg +0 -3
- package/custom/node_modules/quill/assets/icons/direction-ltr.svg +0 -7
- package/custom/node_modules/quill/assets/icons/direction-rtl.svg +0 -7
- package/custom/node_modules/quill/assets/icons/dropdown.svg +0 -4
- package/custom/node_modules/quill/assets/icons/embed.svg +0 -3
- package/custom/node_modules/quill/assets/icons/emoji.svg +0 -6
- package/custom/node_modules/quill/assets/icons/float-center.svg +0 -5
- package/custom/node_modules/quill/assets/icons/float-full.svg +0 -5
- package/custom/node_modules/quill/assets/icons/float-left.svg +0 -7
- package/custom/node_modules/quill/assets/icons/float-right.svg +0 -7
- package/custom/node_modules/quill/assets/icons/font.svg +0 -5
- package/custom/node_modules/quill/assets/icons/formula.svg +0 -5
- package/custom/node_modules/quill/assets/icons/hashtag.svg +0 -6
- package/custom/node_modules/quill/assets/icons/header-2.svg +0 -3
- package/custom/node_modules/quill/assets/icons/header-3.svg +0 -3
- package/custom/node_modules/quill/assets/icons/header-4.svg +0 -3
- package/custom/node_modules/quill/assets/icons/header-5.svg +0 -3
- package/custom/node_modules/quill/assets/icons/header-6.svg +0 -3
- package/custom/node_modules/quill/assets/icons/header.svg +0 -3
- package/custom/node_modules/quill/assets/icons/horizontal-rule.svg +0 -4
- package/custom/node_modules/quill/assets/icons/image.svg +0 -5
- package/custom/node_modules/quill/assets/icons/indent.svg +0 -6
- package/custom/node_modules/quill/assets/icons/italic.svg +0 -5
- package/custom/node_modules/quill/assets/icons/link.svg +0 -5
- package/custom/node_modules/quill/assets/icons/list-bullet.svg +0 -8
- package/custom/node_modules/quill/assets/icons/list-check.svg +0 -8
- package/custom/node_modules/quill/assets/icons/list-ordered.svg +0 -9
- package/custom/node_modules/quill/assets/icons/map.svg +0 -5
- package/custom/node_modules/quill/assets/icons/mention.svg +0 -4
- package/custom/node_modules/quill/assets/icons/more.svg +0 -3
- package/custom/node_modules/quill/assets/icons/outdent.svg +0 -6
- package/custom/node_modules/quill/assets/icons/redo.svg +0 -4
- package/custom/node_modules/quill/assets/icons/size-decrease.svg +0 -5
- package/custom/node_modules/quill/assets/icons/size-increase.svg +0 -6
- package/custom/node_modules/quill/assets/icons/size.svg +0 -6
- package/custom/node_modules/quill/assets/icons/spacing.svg +0 -9
- package/custom/node_modules/quill/assets/icons/speech.svg +0 -6
- package/custom/node_modules/quill/assets/icons/strike.svg +0 -5
- package/custom/node_modules/quill/assets/icons/subscript.svg +0 -4
- package/custom/node_modules/quill/assets/icons/superscript.svg +0 -4
- package/custom/node_modules/quill/assets/icons/table-border-all.svg +0 -5
- package/custom/node_modules/quill/assets/icons/table-border-bottom.svg +0 -28
- package/custom/node_modules/quill/assets/icons/table-border-left.svg +0 -28
- package/custom/node_modules/quill/assets/icons/table-border-none.svg +0 -25
- package/custom/node_modules/quill/assets/icons/table-border-outside.svg +0 -35
- package/custom/node_modules/quill/assets/icons/table-border-right.svg +0 -28
- package/custom/node_modules/quill/assets/icons/table-border-top.svg +0 -28
- package/custom/node_modules/quill/assets/icons/table-delete-cells.svg +0 -13
- package/custom/node_modules/quill/assets/icons/table-delete-columns.svg +0 -8
- package/custom/node_modules/quill/assets/icons/table-delete-rows.svg +0 -9
- package/custom/node_modules/quill/assets/icons/table-insert-cells.svg +0 -13
- package/custom/node_modules/quill/assets/icons/table-insert-columns.svg +0 -8
- package/custom/node_modules/quill/assets/icons/table-insert-rows.svg +0 -9
- package/custom/node_modules/quill/assets/icons/table-merge-cells.svg +0 -4
- package/custom/node_modules/quill/assets/icons/table-unmerge-cells.svg +0 -7
- package/custom/node_modules/quill/assets/icons/table.svg +0 -11
- package/custom/node_modules/quill/assets/icons/underline.svg +0 -4
- package/custom/node_modules/quill/assets/icons/undo.svg +0 -4
- package/custom/node_modules/quill/assets/icons/video.svg +0 -14
- package/custom/node_modules/quill/assets/snow/toolbar.styl +0 -26
- package/custom/node_modules/quill/assets/snow/tooltip.styl +0 -53
- package/custom/node_modules/quill/assets/snow.styl +0 -18
- package/custom/node_modules/quill/blots/block.d.ts +0 -34
- package/custom/node_modules/quill/blots/block.js +0 -182
- package/custom/node_modules/quill/blots/block.js.map +0 -1
- package/custom/node_modules/quill/blots/break.d.ts +0 -8
- package/custom/node_modules/quill/blots/break.js +0 -21
- package/custom/node_modules/quill/blots/break.js.map +0 -1
- package/custom/node_modules/quill/blots/container.d.ts +0 -4
- package/custom/node_modules/quill/blots/container.js +0 -4
- package/custom/node_modules/quill/blots/container.js.map +0 -1
- package/custom/node_modules/quill/blots/cursor.d.ts +0 -26
- package/custom/node_modules/quill/blots/cursor.js +0 -170
- package/custom/node_modules/quill/blots/cursor.js.map +0 -1
- package/custom/node_modules/quill/blots/embed.d.ts +0 -18
- package/custom/node_modules/quill/blots/embed.js +0 -72
- package/custom/node_modules/quill/blots/embed.js.map +0 -1
- package/custom/node_modules/quill/blots/inline.d.ts +0 -12
- package/custom/node_modules/quill/blots/inline.js +0 -48
- package/custom/node_modules/quill/blots/inline.js.map +0 -1
- package/custom/node_modules/quill/blots/scroll.d.ts +0 -49
- package/custom/node_modules/quill/blots/scroll.js +0 -349
- package/custom/node_modules/quill/blots/scroll.js.map +0 -1
- package/custom/node_modules/quill/blots/text.d.ts +0 -5
- package/custom/node_modules/quill/blots/text.js +0 -17
- package/custom/node_modules/quill/blots/text.js.map +0 -1
- package/custom/node_modules/quill/core/composition.d.ts +0 -12
- package/custom/node_modules/quill/core/composition.js +0 -44
- package/custom/node_modules/quill/core/composition.js.map +0 -1
- package/custom/node_modules/quill/core/editor.d.ts +0 -28
- package/custom/node_modules/quill/core/editor.js +0 -403
- package/custom/node_modules/quill/core/editor.js.map +0 -1
- package/custom/node_modules/quill/core/emitter.d.ts +0 -33
- package/custom/node_modules/quill/core/emitter.js +0 -78
- package/custom/node_modules/quill/core/emitter.js.map +0 -1
- package/custom/node_modules/quill/core/instances.d.ts +0 -3
- package/custom/node_modules/quill/core/instances.js +0 -2
- package/custom/node_modules/quill/core/instances.js.map +0 -1
- package/custom/node_modules/quill/core/logger.d.ts +0 -7
- package/custom/node_modules/quill/core/logger.js +0 -24
- package/custom/node_modules/quill/core/logger.js.map +0 -1
- package/custom/node_modules/quill/core/module.d.ts +0 -8
- package/custom/node_modules/quill/core/module.js +0 -10
- package/custom/node_modules/quill/core/module.js.map +0 -1
- package/custom/node_modules/quill/core/quill.d.ts +0 -218
- package/custom/node_modules/quill/core/quill.js +0 -628
- package/custom/node_modules/quill/core/quill.js.map +0 -1
- package/custom/node_modules/quill/core/selection.d.ts +0 -74
- package/custom/node_modules/quill/core/selection.js +0 -374
- package/custom/node_modules/quill/core/selection.js.map +0 -1
- package/custom/node_modules/quill/core/theme.d.ts +0 -32
- package/custom/node_modules/quill/core/theme.js +0 -28
- package/custom/node_modules/quill/core/theme.js.map +0 -1
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.d.ts +0 -5
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js +0 -29
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js.map +0 -1
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.d.ts +0 -8
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.js +0 -75
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.js.map +0 -1
- package/custom/node_modules/quill/core.d.ts +0 -7
- package/custom/node_modules/quill/core.js +0 -37
- package/custom/node_modules/quill/core.js.map +0 -1
- package/custom/node_modules/quill/dist/quill.bubble.css +0 -10
- package/custom/node_modules/quill/dist/quill.bubble.css.map +0 -1
- package/custom/node_modules/quill/dist/quill.core.css +0 -10
- package/custom/node_modules/quill/dist/quill.core.css.map +0 -1
- package/custom/node_modules/quill/dist/quill.core.js +0 -3
- package/custom/node_modules/quill/dist/quill.core.js.LICENSE.txt +0 -7
- package/custom/node_modules/quill/dist/quill.core.js.map +0 -1
- package/custom/node_modules/quill/dist/quill.js +0 -3
- package/custom/node_modules/quill/dist/quill.js.LICENSE.txt +0 -7
- package/custom/node_modules/quill/dist/quill.js.map +0 -1
- package/custom/node_modules/quill/dist/quill.snow.css +0 -10
- package/custom/node_modules/quill/dist/quill.snow.css.map +0 -1
- package/custom/node_modules/quill/formats/align.d.ts +0 -5
- package/custom/node_modules/quill/formats/align.js +0 -10
- package/custom/node_modules/quill/formats/align.js.map +0 -1
- package/custom/node_modules/quill/formats/background.d.ts +0 -5
- package/custom/node_modules/quill/formats/background.js +0 -10
- package/custom/node_modules/quill/formats/background.js.map +0 -1
- package/custom/node_modules/quill/formats/blockquote.d.ts +0 -6
- package/custom/node_modules/quill/formats/blockquote.js +0 -7
- package/custom/node_modules/quill/formats/blockquote.js.map +0 -1
- package/custom/node_modules/quill/formats/bold.d.ts +0 -11
- package/custom/node_modules/quill/formats/bold.js +0 -19
- package/custom/node_modules/quill/formats/bold.js.map +0 -1
- package/custom/node_modules/quill/formats/code.d.ts +0 -15
- package/custom/node_modules/quill/formats/code.js +0 -44
- package/custom/node_modules/quill/formats/code.js.map +0 -1
- package/custom/node_modules/quill/formats/color.d.ts +0 -7
- package/custom/node_modules/quill/formats/color.js +0 -18
- package/custom/node_modules/quill/formats/color.js.map +0 -1
- package/custom/node_modules/quill/formats/direction.d.ts +0 -5
- package/custom/node_modules/quill/formats/direction.js +0 -10
- package/custom/node_modules/quill/formats/direction.js.map +0 -1
- package/custom/node_modules/quill/formats/font.d.ts +0 -7
- package/custom/node_modules/quill/formats/font.js +0 -14
- package/custom/node_modules/quill/formats/font.js.map +0 -1
- package/custom/node_modules/quill/formats/formula.d.ts +0 -10
- package/custom/node_modules/quill/formats/formula.js +0 -33
- package/custom/node_modules/quill/formats/formula.js.map +0 -1
- package/custom/node_modules/quill/formats/header.d.ts +0 -7
- package/custom/node_modules/quill/formats/header.js +0 -10
- package/custom/node_modules/quill/formats/header.js.map +0 -1
- package/custom/node_modules/quill/formats/image.d.ts +0 -13
- package/custom/node_modules/quill/formats/image.js +0 -44
- package/custom/node_modules/quill/formats/image.js.map +0 -1
- package/custom/node_modules/quill/formats/indent.d.ts +0 -8
- package/custom/node_modules/quill/formats/indent.js +0 -30
- package/custom/node_modules/quill/formats/indent.js.map +0 -1
- package/custom/node_modules/quill/formats/italic.d.ts +0 -6
- package/custom/node_modules/quill/formats/italic.js +0 -7
- package/custom/node_modules/quill/formats/italic.js.map +0 -1
- package/custom/node_modules/quill/formats/link.d.ts +0 -13
- package/custom/node_modules/quill/formats/link.js +0 -36
- package/custom/node_modules/quill/formats/link.js.map +0 -1
- package/custom/node_modules/quill/formats/list.d.ts +0 -13
- package/custom/node_modules/quill/formats/list.js +0 -50
- package/custom/node_modules/quill/formats/list.js.map +0 -1
- package/custom/node_modules/quill/formats/script.d.ts +0 -8
- package/custom/node_modules/quill/formats/script.js +0 -21
- package/custom/node_modules/quill/formats/script.js.map +0 -1
- package/custom/node_modules/quill/formats/size.d.ts +0 -4
- package/custom/node_modules/quill/formats/size.js +0 -11
- package/custom/node_modules/quill/formats/size.js.map +0 -1
- package/custom/node_modules/quill/formats/strike.d.ts +0 -6
- package/custom/node_modules/quill/formats/strike.js +0 -7
- package/custom/node_modules/quill/formats/strike.js.map +0 -1
- package/custom/node_modules/quill/formats/table.d.ts +0 -45
- package/custom/node_modules/quill/formats/table.js +0 -176
- package/custom/node_modules/quill/formats/table.js.map +0 -1
- package/custom/node_modules/quill/formats/underline.d.ts +0 -6
- package/custom/node_modules/quill/formats/underline.js +0 -7
- package/custom/node_modules/quill/formats/underline.js.map +0 -1
- package/custom/node_modules/quill/formats/video.d.ts +0 -14
- package/custom/node_modules/quill/formats/video.js +0 -48
- package/custom/node_modules/quill/formats/video.js.map +0 -1
- package/custom/node_modules/quill/modules/clipboard.d.ts +0 -43
- package/custom/node_modules/quill/modules/clipboard.js +0 -475
- package/custom/node_modules/quill/modules/clipboard.js.map +0 -1
- package/custom/node_modules/quill/modules/history.d.ts +0 -36
- package/custom/node_modules/quill/modules/history.js +0 -178
- package/custom/node_modules/quill/modules/history.js.map +0 -1
- package/custom/node_modules/quill/modules/input.d.ts +0 -10
- package/custom/node_modules/quill/modules/input.js +0 -83
- package/custom/node_modules/quill/modules/input.js.map +0 -1
- package/custom/node_modules/quill/modules/keyboard.d.ts +0 -58
- package/custom/node_modules/quill/modules/keyboard.js +0 -713
- package/custom/node_modules/quill/modules/keyboard.js.map +0 -1
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.d.ts +0 -2
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js +0 -12
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js.map +0 -1
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -1
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js +0 -24
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js.map +0 -1
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -1
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js +0 -87
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js.map +0 -1
- package/custom/node_modules/quill/modules/syntax.d.ts +0 -50
- package/custom/node_modules/quill/modules/syntax.js +0 -332
- package/custom/node_modules/quill/modules/syntax.js.map +0 -1
- package/custom/node_modules/quill/modules/table.d.ts +0 -20
- package/custom/node_modules/quill/modules/table.js +0 -125
- package/custom/node_modules/quill/modules/table.js.map +0 -1
- package/custom/node_modules/quill/modules/tableEmbed.d.ts +0 -27
- package/custom/node_modules/quill/modules/tableEmbed.js +0 -209
- package/custom/node_modules/quill/modules/tableEmbed.js.map +0 -1
- package/custom/node_modules/quill/modules/toolbar.d.ts +0 -24
- package/custom/node_modules/quill/modules/toolbar.js +0 -265
- package/custom/node_modules/quill/modules/toolbar.js.map +0 -1
- package/custom/node_modules/quill/modules/uiNode.d.ts +0 -19
- package/custom/node_modules/quill/modules/uiNode.js +0 -95
- package/custom/node_modules/quill/modules/uiNode.js.map +0 -1
- package/custom/node_modules/quill/modules/uploader.d.ts +0 -15
- package/custom/node_modules/quill/modules/uploader.js +0 -69
- package/custom/node_modules/quill/modules/uploader.js.map +0 -1
- package/custom/node_modules/quill/package.json +0 -100
- package/custom/node_modules/quill/quill.d.ts +0 -6
- package/custom/node_modules/quill/quill.js +0 -83
- package/custom/node_modules/quill/quill.js.map +0 -1
- package/custom/node_modules/quill/themes/base.d.ts +0 -35
- package/custom/node_modules/quill/themes/base.js +0 -257
- package/custom/node_modules/quill/themes/base.js.map +0 -1
- package/custom/node_modules/quill/themes/bubble.d.ts +0 -18
- package/custom/node_modules/quill/themes/bubble.js +0 -114
- package/custom/node_modules/quill/themes/bubble.js.map +0 -1
- package/custom/node_modules/quill/themes/snow.d.ts +0 -9
- package/custom/node_modules/quill/themes/snow.js +0 -122
- package/custom/node_modules/quill/themes/snow.js.map +0 -1
- package/custom/node_modules/quill/types.d.js +0 -2
- package/custom/node_modules/quill/types.d.js.map +0 -1
- package/custom/node_modules/quill/ui/color-picker.d.ts +0 -7
- package/custom/node_modules/quill/ui/color-picker.js +0 -30
- package/custom/node_modules/quill/ui/color-picker.js.map +0 -1
- package/custom/node_modules/quill/ui/icon-picker.d.ts +0 -7
- package/custom/node_modules/quill/ui/icon-picker.js +0 -22
- package/custom/node_modules/quill/ui/icon-picker.js.map +0 -1
- package/custom/node_modules/quill/ui/icons.d.ts +0 -49
- package/custom/node_modules/quill/ui/icons.js +0 -82
- package/custom/node_modules/quill/ui/icons.js.map +0 -1
- package/custom/node_modules/quill/ui/picker.d.ts +0 -16
- package/custom/node_modules/quill/ui/picker.js +0 -171
- package/custom/node_modules/quill/ui/picker.js.map +0 -1
- package/custom/node_modules/quill/ui/tooltip.d.ts +0 -12
- package/custom/node_modules/quill/ui/tooltip.js +0 -56
- package/custom/node_modules/quill/ui/tooltip.js.map +0 -1
- package/custom/node_modules/quill-delta/LICENSE +0 -14
- package/custom/node_modules/quill-delta/README.md +0 -672
- package/custom/node_modules/quill-delta/dist/AttributeMap.d.ts +0 -10
- package/custom/node_modules/quill-delta/dist/AttributeMap.js +0 -86
- package/custom/node_modules/quill-delta/dist/AttributeMap.js.map +0 -1
- package/custom/node_modules/quill-delta/dist/Delta.d.ts +0 -45
- package/custom/node_modules/quill-delta/dist/Delta.js +0 -478
- package/custom/node_modules/quill-delta/dist/Delta.js.map +0 -1
- package/custom/node_modules/quill-delta/dist/Op.d.ts +0 -11
- package/custom/node_modules/quill-delta/dist/Op.js +0 -22
- package/custom/node_modules/quill-delta/dist/Op.js.map +0 -1
- package/custom/node_modules/quill-delta/dist/OpIterator.d.ts +0 -13
- package/custom/node_modules/quill-delta/dist/OpIterator.js +0 -106
- package/custom/node_modules/quill-delta/dist/OpIterator.js.map +0 -1
- package/custom/node_modules/quill-delta/package.json +0 -77
- package/custom/node_modules/quill-delta/src/AttributeMap.ts +0 -101
- package/custom/node_modules/quill-delta/src/Delta.ts +0 -573
- package/custom/node_modules/quill-delta/src/Op.ts +0 -26
- package/custom/node_modules/quill-delta/src/OpIterator.ts +0 -106
- package/custom/node_modules/quill-delta/tsconfig.json +0 -15
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { Scope } from 'parchment';
|
|
2
|
-
import Module from '../core/module.js';
|
|
3
|
-
import Quill from '../core/quill.js';
|
|
4
|
-
class History extends Module {
|
|
5
|
-
static DEFAULTS = {
|
|
6
|
-
delay: 1000,
|
|
7
|
-
maxStack: 100,
|
|
8
|
-
userOnly: false
|
|
9
|
-
};
|
|
10
|
-
lastRecorded = 0;
|
|
11
|
-
ignoreChange = false;
|
|
12
|
-
stack = {
|
|
13
|
-
undo: [],
|
|
14
|
-
redo: []
|
|
15
|
-
};
|
|
16
|
-
currentRange = null;
|
|
17
|
-
constructor(quill, options) {
|
|
18
|
-
super(quill, options);
|
|
19
|
-
this.quill.on(Quill.events.EDITOR_CHANGE, (eventName, value, oldValue, source) => {
|
|
20
|
-
if (eventName === Quill.events.SELECTION_CHANGE) {
|
|
21
|
-
if (value && source !== Quill.sources.SILENT) {
|
|
22
|
-
this.currentRange = value;
|
|
23
|
-
}
|
|
24
|
-
} else if (eventName === Quill.events.TEXT_CHANGE) {
|
|
25
|
-
if (!this.ignoreChange) {
|
|
26
|
-
if (!this.options.userOnly || source === Quill.sources.USER) {
|
|
27
|
-
this.record(value, oldValue);
|
|
28
|
-
} else {
|
|
29
|
-
this.transform(value);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
this.currentRange = transformRange(this.currentRange, value);
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
this.quill.keyboard.addBinding({
|
|
36
|
-
key: 'z',
|
|
37
|
-
shortKey: true
|
|
38
|
-
}, this.undo.bind(this));
|
|
39
|
-
this.quill.keyboard.addBinding({
|
|
40
|
-
key: ['z', 'Z'],
|
|
41
|
-
shortKey: true,
|
|
42
|
-
shiftKey: true
|
|
43
|
-
}, this.redo.bind(this));
|
|
44
|
-
if (/Win/i.test(navigator.platform)) {
|
|
45
|
-
this.quill.keyboard.addBinding({
|
|
46
|
-
key: 'y',
|
|
47
|
-
shortKey: true
|
|
48
|
-
}, this.redo.bind(this));
|
|
49
|
-
}
|
|
50
|
-
this.quill.root.addEventListener('beforeinput', event => {
|
|
51
|
-
if (event.inputType === 'historyUndo') {
|
|
52
|
-
this.undo();
|
|
53
|
-
event.preventDefault();
|
|
54
|
-
} else if (event.inputType === 'historyRedo') {
|
|
55
|
-
this.redo();
|
|
56
|
-
event.preventDefault();
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
change(source, dest) {
|
|
61
|
-
if (this.stack[source].length === 0) return;
|
|
62
|
-
const item = this.stack[source].pop();
|
|
63
|
-
if (!item) return;
|
|
64
|
-
const base = this.quill.getContents();
|
|
65
|
-
const inverseDelta = item.delta.invert(base);
|
|
66
|
-
this.stack[dest].push({
|
|
67
|
-
delta: inverseDelta,
|
|
68
|
-
range: transformRange(item.range, inverseDelta)
|
|
69
|
-
});
|
|
70
|
-
this.lastRecorded = 0;
|
|
71
|
-
this.ignoreChange = true;
|
|
72
|
-
this.quill.updateContents(item.delta, Quill.sources.USER);
|
|
73
|
-
this.ignoreChange = false;
|
|
74
|
-
this.restoreSelection(item);
|
|
75
|
-
}
|
|
76
|
-
clear() {
|
|
77
|
-
this.stack = {
|
|
78
|
-
undo: [],
|
|
79
|
-
redo: []
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
cutoff() {
|
|
83
|
-
this.lastRecorded = 0;
|
|
84
|
-
}
|
|
85
|
-
record(changeDelta, oldDelta) {
|
|
86
|
-
if (changeDelta.ops.length === 0) return;
|
|
87
|
-
this.stack.redo = [];
|
|
88
|
-
let undoDelta = changeDelta.invert(oldDelta);
|
|
89
|
-
let undoRange = this.currentRange;
|
|
90
|
-
const timestamp = Date.now();
|
|
91
|
-
if (
|
|
92
|
-
// @ts-expect-error Fix me later
|
|
93
|
-
this.lastRecorded + this.options.delay > timestamp && this.stack.undo.length > 0) {
|
|
94
|
-
const item = this.stack.undo.pop();
|
|
95
|
-
if (item) {
|
|
96
|
-
undoDelta = undoDelta.compose(item.delta);
|
|
97
|
-
undoRange = item.range;
|
|
98
|
-
}
|
|
99
|
-
} else {
|
|
100
|
-
this.lastRecorded = timestamp;
|
|
101
|
-
}
|
|
102
|
-
if (undoDelta.length() === 0) return;
|
|
103
|
-
this.stack.undo.push({
|
|
104
|
-
delta: undoDelta,
|
|
105
|
-
range: undoRange
|
|
106
|
-
});
|
|
107
|
-
// @ts-expect-error Fix me later
|
|
108
|
-
if (this.stack.undo.length > this.options.maxStack) {
|
|
109
|
-
this.stack.undo.shift();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
redo() {
|
|
113
|
-
this.change('redo', 'undo');
|
|
114
|
-
}
|
|
115
|
-
transform(delta) {
|
|
116
|
-
transformStack(this.stack.undo, delta);
|
|
117
|
-
transformStack(this.stack.redo, delta);
|
|
118
|
-
}
|
|
119
|
-
undo() {
|
|
120
|
-
this.change('undo', 'redo');
|
|
121
|
-
}
|
|
122
|
-
restoreSelection(stackItem) {
|
|
123
|
-
if (stackItem.range) {
|
|
124
|
-
this.quill.setSelection(stackItem.range, Quill.sources.USER);
|
|
125
|
-
} else {
|
|
126
|
-
const index = getLastChangeIndex(this.quill.scroll, stackItem.delta);
|
|
127
|
-
this.quill.setSelection(index, Quill.sources.USER);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
function transformStack(stack, delta) {
|
|
132
|
-
let remoteDelta = delta;
|
|
133
|
-
for (let i = stack.length - 1; i >= 0; i -= 1) {
|
|
134
|
-
const oldItem = stack[i];
|
|
135
|
-
stack[i] = {
|
|
136
|
-
delta: remoteDelta.transform(oldItem.delta, true),
|
|
137
|
-
range: oldItem.range && transformRange(oldItem.range, remoteDelta)
|
|
138
|
-
};
|
|
139
|
-
remoteDelta = oldItem.delta.transform(remoteDelta);
|
|
140
|
-
if (stack[i].delta.length() === 0) {
|
|
141
|
-
stack.splice(i, 1);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function endsWithNewlineChange(scroll, delta) {
|
|
146
|
-
const lastOp = delta.ops[delta.ops.length - 1];
|
|
147
|
-
if (lastOp == null) return false;
|
|
148
|
-
if (lastOp.insert != null) {
|
|
149
|
-
return typeof lastOp.insert === 'string' && lastOp.insert.endsWith('\n');
|
|
150
|
-
}
|
|
151
|
-
if (lastOp.attributes != null) {
|
|
152
|
-
return Object.keys(lastOp.attributes).some(attr => {
|
|
153
|
-
return scroll.query(attr, Scope.BLOCK) != null;
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
function getLastChangeIndex(scroll, delta) {
|
|
159
|
-
const deleteLength = delta.reduce((length, op) => {
|
|
160
|
-
return length + (op.delete || 0);
|
|
161
|
-
}, 0);
|
|
162
|
-
let changeIndex = delta.length() - deleteLength;
|
|
163
|
-
if (endsWithNewlineChange(scroll, delta)) {
|
|
164
|
-
changeIndex -= 1;
|
|
165
|
-
}
|
|
166
|
-
return changeIndex;
|
|
167
|
-
}
|
|
168
|
-
function transformRange(range, delta) {
|
|
169
|
-
if (!range) return range;
|
|
170
|
-
const start = delta.transformPosition(range.index);
|
|
171
|
-
const end = delta.transformPosition(range.index + range.length);
|
|
172
|
-
return {
|
|
173
|
-
index: start,
|
|
174
|
-
length: end - start
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
export { History as default, getLastChangeIndex };
|
|
178
|
-
//# sourceMappingURL=history.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"history.js","names":["Scope","Module","Quill","History","DEFAULTS","delay","maxStack","userOnly","lastRecorded","ignoreChange","stack","undo","redo","currentRange","constructor","quill","options","on","events","EDITOR_CHANGE","eventName","value","oldValue","source","SELECTION_CHANGE","sources","SILENT","TEXT_CHANGE","USER","record","transform","transformRange","keyboard","addBinding","key","shortKey","bind","shiftKey","test","navigator","platform","root","addEventListener","event","inputType","preventDefault","change","dest","length","item","pop","base","getContents","inverseDelta","delta","invert","push","range","updateContents","restoreSelection","clear","cutoff","changeDelta","oldDelta","ops","undoDelta","undoRange","timestamp","Date","now","compose","shift","transformStack","stackItem","setSelection","index","getLastChangeIndex","scroll","remoteDelta","i","oldItem","splice","endsWithNewlineChange","lastOp","insert","endsWith","attributes","Object","keys","some","attr","query","BLOCK","deleteLength","reduce","op","delete","changeIndex","start","transformPosition","end","default"],"sources":["../../src/modules/history.ts"],"sourcesContent":["import { Scope } from 'parchment';\nimport type Delta from 'quill-delta';\nimport Module from '../core/module.js';\nimport Quill from '../core/quill.js';\nimport type Scroll from '../blots/scroll.js';\nimport type { Range } from '../core/selection.js';\n\nexport interface HistoryOptions {\n userOnly: boolean;\n delay: number;\n maxStack: number;\n}\n\nexport interface StackItem {\n delta: Delta;\n range: Range | null;\n}\n\ninterface Stack {\n undo: StackItem[];\n redo: StackItem[];\n}\n\nclass History extends Module<HistoryOptions> {\n static DEFAULTS: HistoryOptions = {\n delay: 1000,\n maxStack: 100,\n userOnly: false,\n };\n\n lastRecorded = 0;\n ignoreChange = false;\n stack: Stack = { undo: [], redo: [] };\n currentRange: Range | null = null;\n\n constructor(quill: Quill, options: Partial<HistoryOptions>) {\n super(quill, options);\n this.quill.on(\n Quill.events.EDITOR_CHANGE,\n (eventName, value, oldValue, source) => {\n if (eventName === Quill.events.SELECTION_CHANGE) {\n if (value && source !== Quill.sources.SILENT) {\n this.currentRange = value;\n }\n } else if (eventName === Quill.events.TEXT_CHANGE) {\n if (!this.ignoreChange) {\n if (!this.options.userOnly || source === Quill.sources.USER) {\n this.record(value, oldValue);\n } else {\n this.transform(value);\n }\n }\n\n this.currentRange = transformRange(this.currentRange, value);\n }\n },\n );\n\n this.quill.keyboard.addBinding(\n { key: 'z', shortKey: true },\n this.undo.bind(this),\n );\n this.quill.keyboard.addBinding(\n { key: ['z', 'Z'], shortKey: true, shiftKey: true },\n this.redo.bind(this),\n );\n if (/Win/i.test(navigator.platform)) {\n this.quill.keyboard.addBinding(\n { key: 'y', shortKey: true },\n this.redo.bind(this),\n );\n }\n\n this.quill.root.addEventListener('beforeinput', (event) => {\n if (event.inputType === 'historyUndo') {\n this.undo();\n event.preventDefault();\n } else if (event.inputType === 'historyRedo') {\n this.redo();\n event.preventDefault();\n }\n });\n }\n\n change(source: 'undo' | 'redo', dest: 'redo' | 'undo') {\n if (this.stack[source].length === 0) return;\n const item = this.stack[source].pop();\n if (!item) return;\n const base = this.quill.getContents();\n const inverseDelta = item.delta.invert(base);\n this.stack[dest].push({\n delta: inverseDelta,\n range: transformRange(item.range, inverseDelta),\n });\n this.lastRecorded = 0;\n this.ignoreChange = true;\n this.quill.updateContents(item.delta, Quill.sources.USER);\n this.ignoreChange = false;\n\n this.restoreSelection(item);\n }\n\n clear() {\n this.stack = { undo: [], redo: [] };\n }\n\n cutoff() {\n this.lastRecorded = 0;\n }\n\n record(changeDelta: Delta, oldDelta: Delta) {\n if (changeDelta.ops.length === 0) return;\n this.stack.redo = [];\n let undoDelta = changeDelta.invert(oldDelta);\n let undoRange = this.currentRange;\n const timestamp = Date.now();\n if (\n // @ts-expect-error Fix me later\n this.lastRecorded + this.options.delay > timestamp &&\n this.stack.undo.length > 0\n ) {\n const item = this.stack.undo.pop();\n if (item) {\n undoDelta = undoDelta.compose(item.delta);\n undoRange = item.range;\n }\n } else {\n this.lastRecorded = timestamp;\n }\n if (undoDelta.length() === 0) return;\n this.stack.undo.push({ delta: undoDelta, range: undoRange });\n // @ts-expect-error Fix me later\n if (this.stack.undo.length > this.options.maxStack) {\n this.stack.undo.shift();\n }\n }\n\n redo() {\n this.change('redo', 'undo');\n }\n\n transform(delta: Delta) {\n transformStack(this.stack.undo, delta);\n transformStack(this.stack.redo, delta);\n }\n\n undo() {\n this.change('undo', 'redo');\n }\n\n protected restoreSelection(stackItem: StackItem) {\n if (stackItem.range) {\n this.quill.setSelection(stackItem.range, Quill.sources.USER);\n } else {\n const index = getLastChangeIndex(this.quill.scroll, stackItem.delta);\n this.quill.setSelection(index, Quill.sources.USER);\n }\n }\n}\n\nfunction transformStack(stack: StackItem[], delta: Delta) {\n let remoteDelta = delta;\n for (let i = stack.length - 1; i >= 0; i -= 1) {\n const oldItem = stack[i];\n stack[i] = {\n delta: remoteDelta.transform(oldItem.delta, true),\n range: oldItem.range && transformRange(oldItem.range, remoteDelta),\n };\n remoteDelta = oldItem.delta.transform(remoteDelta);\n if (stack[i].delta.length() === 0) {\n stack.splice(i, 1);\n }\n }\n}\n\nfunction endsWithNewlineChange(scroll: Scroll, delta: Delta) {\n const lastOp = delta.ops[delta.ops.length - 1];\n if (lastOp == null) return false;\n if (lastOp.insert != null) {\n return typeof lastOp.insert === 'string' && lastOp.insert.endsWith('\\n');\n }\n if (lastOp.attributes != null) {\n return Object.keys(lastOp.attributes).some((attr) => {\n return scroll.query(attr, Scope.BLOCK) != null;\n });\n }\n return false;\n}\n\nfunction getLastChangeIndex(scroll: Scroll, delta: Delta) {\n const deleteLength = delta.reduce((length, op) => {\n return length + (op.delete || 0);\n }, 0);\n let changeIndex = delta.length() - deleteLength;\n if (endsWithNewlineChange(scroll, delta)) {\n changeIndex -= 1;\n }\n return changeIndex;\n}\n\nfunction transformRange(range: Range | null, delta: Delta) {\n if (!range) return range;\n const start = delta.transformPosition(range.index);\n const end = delta.transformPosition(range.index + range.length);\n return { index: start, length: end - start };\n}\n\nexport { History as default, getLastChangeIndex };\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,WAAW;AAEjC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,KAAK,MAAM,kBAAkB;AAoBpC,MAAMC,OAAO,SAASF,MAAM,CAAiB;EAC3C,OAAOG,QAAQ,GAAmB;IAChCC,KAAK,EAAE,IAAI;IACXC,QAAQ,EAAE,GAAG;IACbC,QAAQ,EAAE;EACZ,CAAC;EAEDC,YAAY,GAAG,CAAC;EAChBC,YAAY,GAAG,KAAK;EACpBC,KAAK,GAAU;IAAEC,IAAI,EAAE,EAAE;IAAEC,IAAI,EAAE;EAAG,CAAC;EACrCC,YAAY,GAAiB,IAAI;EAEjCC,WAAWA,CAACC,KAAY,EAAEC,OAAgC,EAAE;IAC1D,KAAK,CAACD,KAAK,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I;IAChD,CAAC,CAAC;EACJ;EACA,OAAO,KAAK;AACd;AAEA,SAAShB,kBAAkBA,CAACC,MAAc,EAAEvB,KAAY,EAAE;EACxD,MAAMuC,YAAY,GAAGvC,KAAK,CAACwC,MAAM,CAAC,CAAC9C,MAAM,EAAE+C,EAAE,KAAK;IAChD,OAAO/C,MAAM,IAAI+C,EAAE,CAACC,MAAM,IAAI,CAAC,CAAC;EAClC,CAAC,EAAE,CAAC,CAAC;EACL,IAAIC,WAAW,GAAG3C,KAAK,CAACN,MAAM,CAAC,CAAC,GAAG6C,YAAY;EAC/C,IAAIX,qBAAqB,CAACL,MAAM,EAAEvB,KAAK,CAAC,EAAE;IACxC2C,WAAW,IAAI,CAAC;EAClB;EACA,OAAOA,WAAW;AACpB;AAEA,SAASlE,cAAcA,CAAC0B,KAAmB,EAAEH,KAAY,EAAE;EACzD,IAAI,CAACG,KAAK,EAAE,OAAOA,KAAK;EACxB,MAAMyC,KAAK,GAAG5C,KAAK,CAAC6C,iBAAiB,CAAC1C,KAAK,CAACkB,KAAK,CAAC;EAClD,MAAMyB,GAAG,GAAG9C,KAAK,CAAC6C,iBAAiB,CAAC1C,KAAK,CAACkB,KAAK,GAAGlB,KAAK,CAACT,MAAM,CAAC;EAC/D,OAAO;IAAE2B,KAAK,EAAEuB,KAAK;IAAElD,MAAM,EAAEoD,GAAG,GAAGF;EAAM,CAAC;AAC9C;AAEA,SAAS/F,OAAO,IAAIkG,OAAO,EAAEzB,kBAAkB","ignoreList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Module from '../core/module.js';
|
|
2
|
-
import Quill from '../core/quill.js';
|
|
3
|
-
declare class Input extends Module {
|
|
4
|
-
constructor(quill: Quill, options: Record<string, never>);
|
|
5
|
-
private deleteRange;
|
|
6
|
-
private replaceText;
|
|
7
|
-
private handleBeforeInput;
|
|
8
|
-
private handleCompositionStart;
|
|
9
|
-
}
|
|
10
|
-
export default Input;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import Delta from 'quill-delta';
|
|
2
|
-
import Module from '../core/module.js';
|
|
3
|
-
import Quill from '../core/quill.js';
|
|
4
|
-
import { deleteRange } from './keyboard.js';
|
|
5
|
-
const INSERT_TYPES = ['insertText', 'insertReplacementText'];
|
|
6
|
-
class Input extends Module {
|
|
7
|
-
constructor(quill, options) {
|
|
8
|
-
super(quill, options);
|
|
9
|
-
quill.root.addEventListener('beforeinput', event => {
|
|
10
|
-
this.handleBeforeInput(event);
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
// Gboard with English input on Android triggers `compositionstart` sometimes even
|
|
14
|
-
// users are not going to type anything.
|
|
15
|
-
if (!/Android/i.test(navigator.userAgent)) {
|
|
16
|
-
quill.on(Quill.events.COMPOSITION_BEFORE_START, () => {
|
|
17
|
-
this.handleCompositionStart();
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
deleteRange(range) {
|
|
22
|
-
deleteRange({
|
|
23
|
-
range,
|
|
24
|
-
quill: this.quill
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
replaceText(range) {
|
|
28
|
-
let text = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
29
|
-
if (range.length === 0) return false;
|
|
30
|
-
if (text) {
|
|
31
|
-
// Follow the native behavior that inherits the formats of the first character
|
|
32
|
-
const formats = this.quill.getFormat(range.index, 1);
|
|
33
|
-
this.deleteRange(range);
|
|
34
|
-
this.quill.updateContents(new Delta().retain(range.index).insert(text, formats), Quill.sources.USER);
|
|
35
|
-
} else {
|
|
36
|
-
this.deleteRange(range);
|
|
37
|
-
}
|
|
38
|
-
this.quill.setSelection(range.index + text.length, 0, Quill.sources.SILENT);
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
handleBeforeInput(event) {
|
|
42
|
-
if (this.quill.composition.isComposing || event.defaultPrevented || !INSERT_TYPES.includes(event.inputType)) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const staticRange = event.getTargetRanges ? event.getTargetRanges()[0] : null;
|
|
46
|
-
if (!staticRange || staticRange.collapsed === true) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
const text = getPlainTextFromInputEvent(event);
|
|
50
|
-
if (text == null) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
const normalized = this.quill.selection.normalizeNative(staticRange);
|
|
54
|
-
const range = normalized ? this.quill.selection.normalizedToRange(normalized) : null;
|
|
55
|
-
if (range && this.replaceText(range, text)) {
|
|
56
|
-
event.preventDefault();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
handleCompositionStart() {
|
|
60
|
-
const range = this.quill.getSelection();
|
|
61
|
-
if (range) {
|
|
62
|
-
this.replaceText(range);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function getPlainTextFromInputEvent(event) {
|
|
67
|
-
// When `inputType` is "insertText":
|
|
68
|
-
// - `event.data` should be string (Safari uses `event.dataTransfer`).
|
|
69
|
-
// - `event.dataTransfer` should be null.
|
|
70
|
-
// When `inputType` is "insertReplacementText":
|
|
71
|
-
// - `event.data` should be null.
|
|
72
|
-
// - `event.dataTransfer` should contain "text/plain" data.
|
|
73
|
-
|
|
74
|
-
if (typeof event.data === 'string') {
|
|
75
|
-
return event.data;
|
|
76
|
-
}
|
|
77
|
-
if (event.dataTransfer?.types.includes('text/plain')) {
|
|
78
|
-
return event.dataTransfer.getData('text/plain');
|
|
79
|
-
}
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
export default Input;
|
|
83
|
-
//# sourceMappingURL=input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":["Delta","Module","Quill","deleteRange","INSERT_TYPES","Input","constructor","quill","options","root","addEventListener","event","handleBeforeInput","test","navigator","userAgent","on","events","COMPOSITION_BEFORE_START","handleCompositionStart","range","replaceText","text","arguments","length","undefined","formats","getFormat","index","updateContents","retain","insert","sources","USER","setSelection","SILENT","composition","isComposing","defaultPrevented","includes","inputType","staticRange","getTargetRanges","collapsed","getPlainTextFromInputEvent","normalized","selection","normalizeNative","normalizedToRange","preventDefault","getSelection","data","dataTransfer","types","getData"],"sources":["../../src/modules/input.ts"],"sourcesContent":["import Delta from 'quill-delta';\nimport Module from '../core/module.js';\nimport Quill from '../core/quill.js';\nimport type { Range } from '../core/selection.js';\nimport { deleteRange } from './keyboard.js';\n\nconst INSERT_TYPES = ['insertText', 'insertReplacementText'];\n\nclass Input extends Module {\n constructor(quill: Quill, options: Record<string, never>) {\n super(quill, options);\n\n quill.root.addEventListener('beforeinput', (event) => {\n this.handleBeforeInput(event);\n });\n\n // Gboard with English input on Android triggers `compositionstart` sometimes even\n // users are not going to type anything.\n if (!/Android/i.test(navigator.userAgent)) {\n quill.on(Quill.events.COMPOSITION_BEFORE_START, () => {\n this.handleCompositionStart();\n });\n }\n }\n\n private deleteRange(range: Range) {\n deleteRange({ range, quill: this.quill });\n }\n\n private replaceText(range: Range, text = '') {\n if (range.length === 0) return false;\n\n if (text) {\n // Follow the native behavior that inherits the formats of the first character\n const formats = this.quill.getFormat(range.index, 1);\n this.deleteRange(range);\n this.quill.updateContents(\n new Delta().retain(range.index).insert(text, formats),\n Quill.sources.USER,\n );\n } else {\n this.deleteRange(range);\n }\n\n this.quill.setSelection(range.index + text.length, 0, Quill.sources.SILENT);\n return true;\n }\n\n private handleBeforeInput(event: InputEvent) {\n if (\n this.quill.composition.isComposing ||\n event.defaultPrevented ||\n !INSERT_TYPES.includes(event.inputType)\n ) {\n return;\n }\n\n const staticRange = event.getTargetRanges\n ? event.getTargetRanges()[0]\n : null;\n if (!staticRange || staticRange.collapsed === true) {\n return;\n }\n\n const text = getPlainTextFromInputEvent(event);\n if (text == null) {\n return;\n }\n const normalized = this.quill.selection.normalizeNative(staticRange);\n const range = normalized\n ? this.quill.selection.normalizedToRange(normalized)\n : null;\n if (range && this.replaceText(range, text)) {\n event.preventDefault();\n }\n }\n\n private handleCompositionStart() {\n const range = this.quill.getSelection();\n if (range) {\n this.replaceText(range);\n }\n }\n}\n\nfunction getPlainTextFromInputEvent(event: InputEvent) {\n // When `inputType` is \"insertText\":\n // - `event.data` should be string (Safari uses `event.dataTransfer`).\n // - `event.dataTransfer` should be null.\n // When `inputType` is \"insertReplacementText\":\n // - `event.data` should be null.\n // - `event.dataTransfer` should contain \"text/plain\" data.\n\n if (typeof event.data === 'string') {\n return event.data;\n }\n if (event.dataTransfer?.types.includes('text/plain')) {\n return event.dataTransfer.getData('text/plain');\n }\n return null;\n}\n\nexport default Input;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,aAAa;AAC/B,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,KAAK,MAAM,kBAAkB;AAEpC,SAASC,WAAW,QAAQ,eAAe;AAE3C,MAAMC,YAAY,GAAG,CAAC,YAAY,EAAE,uBAAuB,CAAC;AAE5D,MAAMC,KAAK,SAASJ,MAAM,CAAC;EACzBK,WAAWA,CAACC,KAAY,EAAEC,OAA8B,EAAE;IACxD,KAAK,CAACD,KAAK,EAAEC,OAAO,CAAC;IAErBD,KAAK,CAACE,IAAI,CAACC,gBAAgB,CAAC,aAAa,EAAGC,KAAK,IAAK;MACpD,IAAI,CAACC,iBAAiB,CAACD,KAAK,CAAC;IAC/B,CAAC,CAAC;;IAEF;IACA;IACA,IAAI,CAAC,UAAU,CAACE,IAAI,CAACC,SAAS,CAACC,SAAS,CAAC,EAAE;MACzCR,KAAK,CAACS,EAAE,CAACd,KAAK,CAACe,MAAM,CAACC,wBAAwB,EAAE,MAAM;QACpD,IAAI,CAACC,sBAAsB,CAAC,CAAC;MAC/B,CAAC,CAAC;IACJ;EACF;EAEQhB,WAAWA,CAACiB,KAAY,EAAE;IAChCjB,WAAW,CAAC;MAAEiB,KAAK;MAAEb,KAAK,EAAE,IAAI,CAACA;IAAM,CAAC,CAAC;EAC3C;EAEQc,WAAWA,CAACD,KAAY,EAAa;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KAAK,CAAC;IAC9C,IAAIW,IAAI,IAAI,IAAI,EAAE;MAChB;IACF;IACA,MAAMuB,UAAU,GAAG,IAAI,CAACtC,KAAK,CAACuC,SAAS,CAACC,eAAe,CAACN,WAAW,CAAC;IACpE,MAAMrB,KAAK,GAAGyB,UAAU,GACpB,IAAI,CAACtC,KAAK,CAACuC,SAAS,CAACE,iBAAiB,CAACH,UAAU,CAAC,GAClD,IAAI;IACR,IAAIzB,KAAK,IAAI,IAAI,CAACC,WAAW,CAACD,KAAK,EAAEE,IAAI,CAAC,EAAE;MAC1CX,KAAK,CAACsC,cAAc,CAAC,CAAC;IACxB;EACF;EAEQ9B,sBAAsBA,CAAA,EAAG;IAC/B,MAAMC,KAAK,GAAG,IAAI,CAACb,KAAK,CAAC2C,YAAY,CAAC,CAAC;IACvC,IAAI9B,KAAK,EAAE;MACT,IAAI,CAACC,WAAW,CAACD,KAAK,CAAC;IACzB;EACF;AACF;AAEA,SAASwB,0BAA0BA,CAACjC,KAAiB,EAAE;EACrD;EACA;EACA;EACA;EACA;EACA;;EAEA,IAAI,OAAOA,KAAK,CAACwC,IAAI,KAAK,QAAQ,EAAE;IAClC,OAAOxC,KAAK,CAACwC,IAAI;EACnB;EACA,IAAIxC,KAAK,CAACyC,YAAY,EAAEC,KAAK,CAACd,QAAQ,CAAC,YAAY,CAAC,EAAE;IACpD,OAAO5B,KAAK,CAACyC,YAAY,CAACE,OAAO,CAAC,YAAY,CAAC;EACjD;EACA,OAAO,IAAI;AACb;AAEA,eAAejD,KAAK","ignoreList":[]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { BlockBlot } from 'parchment';
|
|
2
|
-
import Quill from '../core/quill.js';
|
|
3
|
-
import Module from '../core/module.js';
|
|
4
|
-
import type { BlockEmbed } from '../blots/block.js';
|
|
5
|
-
import type { Range } from '../core/selection.js';
|
|
6
|
-
declare const SHORTKEY: string;
|
|
7
|
-
export interface Context {
|
|
8
|
-
collapsed: boolean;
|
|
9
|
-
empty: boolean;
|
|
10
|
-
offset: number;
|
|
11
|
-
prefix: string;
|
|
12
|
-
suffix: string;
|
|
13
|
-
format: Record<string, unknown>;
|
|
14
|
-
event: KeyboardEvent;
|
|
15
|
-
line: BlockEmbed | BlockBlot;
|
|
16
|
-
}
|
|
17
|
-
interface BindingObject extends Partial<Omit<Context, 'prefix' | 'suffix' | 'format'>> {
|
|
18
|
-
key: number | string | string[];
|
|
19
|
-
shortKey?: boolean | null;
|
|
20
|
-
shiftKey?: boolean | null;
|
|
21
|
-
altKey?: boolean | null;
|
|
22
|
-
metaKey?: boolean | null;
|
|
23
|
-
ctrlKey?: boolean | null;
|
|
24
|
-
prefix?: RegExp;
|
|
25
|
-
suffix?: RegExp;
|
|
26
|
-
format?: Record<string, unknown> | string[];
|
|
27
|
-
handler?: (this: {
|
|
28
|
-
quill: Quill;
|
|
29
|
-
}, range: Range, curContext: Context, binding: NormalizedBinding) => boolean | void;
|
|
30
|
-
}
|
|
31
|
-
type Binding = BindingObject | string | number;
|
|
32
|
-
interface NormalizedBinding extends Omit<BindingObject, 'key' | 'shortKey'> {
|
|
33
|
-
key: string | number;
|
|
34
|
-
}
|
|
35
|
-
interface KeyboardOptions {
|
|
36
|
-
bindings: Record<string, Binding>;
|
|
37
|
-
}
|
|
38
|
-
interface KeyboardOptions {
|
|
39
|
-
bindings: Record<string, Binding>;
|
|
40
|
-
}
|
|
41
|
-
declare class Keyboard extends Module<KeyboardOptions> {
|
|
42
|
-
static DEFAULTS: KeyboardOptions;
|
|
43
|
-
static match(evt: KeyboardEvent, binding: BindingObject): boolean;
|
|
44
|
-
bindings: Record<string, NormalizedBinding[]>;
|
|
45
|
-
constructor(quill: Quill, options: Partial<KeyboardOptions>);
|
|
46
|
-
addBinding(keyBinding: Binding, context?: Required<BindingObject['handler']> | Partial<Omit<BindingObject, 'key' | 'handler'>>, handler?: Required<BindingObject['handler']> | Partial<Omit<BindingObject, 'key' | 'handler'>>): void;
|
|
47
|
-
listen(): void;
|
|
48
|
-
handleBackspace(range: Range, context: Context): void;
|
|
49
|
-
handleDelete(range: Range, context: Context): void;
|
|
50
|
-
handleDeleteRange(range: Range): void;
|
|
51
|
-
handleEnter(range: Range, context: Context): void;
|
|
52
|
-
}
|
|
53
|
-
declare function normalize(binding: Binding): BindingObject | null;
|
|
54
|
-
declare function deleteRange({ quill, range }: {
|
|
55
|
-
quill: Quill;
|
|
56
|
-
range: Range;
|
|
57
|
-
}): void;
|
|
58
|
-
export { Keyboard as default, SHORTKEY, normalize, deleteRange };
|