@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.
- package/.woodpecker/buildRelease.sh +13 -0
- package/.woodpecker/buildSlackNotify.sh +44 -0
- package/.woodpecker/release.yml +42 -0
- package/CHANGELOG.md +5 -0
- package/{custom/node_modules/eventemitter3/LICENSE → LICENSE} +2 -2
- package/build.log +14 -0
- package/custom/quillEditor.vue +4 -2
- package/custom/tsconfig.json +19 -0
- package/dist/custom/quillEditor.vue +4 -2
- package/dist/custom/tsconfig.json +19 -0
- package/dist/index.js +3 -3
- package/package.json +43 -6
- package/ChangeLog.md +0 -17
- package/custom/node_modules/.package-lock.json +0 -66
- 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,13 +0,0 @@
|
|
|
1
|
-
import Inline from '../blots/inline.js';
|
|
2
|
-
declare class Link extends Inline {
|
|
3
|
-
static blotName: string;
|
|
4
|
-
static tagName: string;
|
|
5
|
-
static SANITIZED_URL: string;
|
|
6
|
-
static PROTOCOL_WHITELIST: string[];
|
|
7
|
-
static create(value: string): HTMLElement;
|
|
8
|
-
static formats(domNode: HTMLElement): string | null;
|
|
9
|
-
static sanitize(url: string): string;
|
|
10
|
-
format(name: string, value: unknown): void;
|
|
11
|
-
}
|
|
12
|
-
declare function sanitize(url: string, protocols: string[]): boolean;
|
|
13
|
-
export { Link as default, sanitize };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import Inline from '../blots/inline.js';
|
|
2
|
-
class Link extends Inline {
|
|
3
|
-
static blotName = 'link';
|
|
4
|
-
static tagName = 'A';
|
|
5
|
-
static SANITIZED_URL = 'about:blank';
|
|
6
|
-
static PROTOCOL_WHITELIST = ['http', 'https', 'mailto', 'tel', 'sms'];
|
|
7
|
-
static create(value) {
|
|
8
|
-
const node = super.create(value);
|
|
9
|
-
node.setAttribute('href', this.sanitize(value));
|
|
10
|
-
node.setAttribute('rel', 'noopener noreferrer');
|
|
11
|
-
node.setAttribute('target', '_blank');
|
|
12
|
-
return node;
|
|
13
|
-
}
|
|
14
|
-
static formats(domNode) {
|
|
15
|
-
return domNode.getAttribute('href');
|
|
16
|
-
}
|
|
17
|
-
static sanitize(url) {
|
|
18
|
-
return sanitize(url, this.PROTOCOL_WHITELIST) ? url : this.SANITIZED_URL;
|
|
19
|
-
}
|
|
20
|
-
format(name, value) {
|
|
21
|
-
if (name !== this.statics.blotName || !value) {
|
|
22
|
-
super.format(name, value);
|
|
23
|
-
} else {
|
|
24
|
-
// @ts-expect-error
|
|
25
|
-
this.domNode.setAttribute('href', this.constructor.sanitize(value));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function sanitize(url, protocols) {
|
|
30
|
-
const anchor = document.createElement('a');
|
|
31
|
-
anchor.href = url;
|
|
32
|
-
const protocol = anchor.href.slice(0, anchor.href.indexOf(':'));
|
|
33
|
-
return protocols.indexOf(protocol) > -1;
|
|
34
|
-
}
|
|
35
|
-
export { Link as default, sanitize };
|
|
36
|
-
//# sourceMappingURL=link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","names":["Inline","Link","blotName","tagName","SANITIZED_URL","PROTOCOL_WHITELIST","create","value","node","setAttribute","sanitize","formats","domNode","getAttribute","url","format","name","statics","constructor","protocols","anchor","document","createElement","href","protocol","slice","indexOf","default"],"sources":["../../src/formats/link.ts"],"sourcesContent":["import Inline from '../blots/inline.js';\n\nclass Link extends Inline {\n static blotName = 'link';\n static tagName = 'A';\n static SANITIZED_URL = 'about:blank';\n static PROTOCOL_WHITELIST = ['http', 'https', 'mailto', 'tel', 'sms'];\n\n static create(value: string) {\n const node = super.create(value) as HTMLElement;\n node.setAttribute('href', this.sanitize(value));\n node.setAttribute('rel', 'noopener noreferrer');\n node.setAttribute('target', '_blank');\n return node;\n }\n\n static formats(domNode: HTMLElement) {\n return domNode.getAttribute('href');\n }\n\n static sanitize(url: string) {\n return sanitize(url, this.PROTOCOL_WHITELIST) ? url : this.SANITIZED_URL;\n }\n\n format(name: string, value: unknown) {\n if (name !== this.statics.blotName || !value) {\n super.format(name, value);\n } else {\n // @ts-expect-error\n this.domNode.setAttribute('href', this.constructor.sanitize(value));\n }\n }\n}\n\nfunction sanitize(url: string, protocols: string[]) {\n const anchor = document.createElement('a');\n anchor.href = url;\n const protocol = anchor.href.slice(0, anchor.href.indexOf(':'));\n return protocols.indexOf(protocol) > -1;\n}\n\nexport { Link as default, sanitize };\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,oBAAoB;AAEvC,MAAMC,IAAI,SAASD,MAAM,CAA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ACG,IAAI,GAAGT,GAAG;EACjB,MAAMU,QAAQ,GAAGJ,MAAM,CAACG,IAAI,CAACE,KAAK,CAAC,CAAC,EAAEL,MAAM,CAACG,IAAI,CAACG,OAAO,CAAC,GAAG,CAAC,CAAC;EAC/D,OAAOP,SAAS,CAACO,OAAO,CAACF,QAAQ,CAAC,GAAG,CAAC,CAAC;AACzC;AAEA,SAASvB,IAAI,IAAI0B,OAAO,EAAEjB,QAAQ","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Block from '../blots/block.js';
|
|
2
|
-
import Container from '../blots/container.js';
|
|
3
|
-
import type Scroll from '../blots/scroll.js';
|
|
4
|
-
declare class ListContainer extends Container {
|
|
5
|
-
}
|
|
6
|
-
declare class ListItem extends Block {
|
|
7
|
-
static create(value: string): HTMLElement;
|
|
8
|
-
static formats(domNode: HTMLElement): string | undefined;
|
|
9
|
-
static register(): void;
|
|
10
|
-
constructor(scroll: Scroll, domNode: HTMLElement);
|
|
11
|
-
format(name: string, value: string): void;
|
|
12
|
-
}
|
|
13
|
-
export { ListContainer, ListItem as default };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import Block from '../blots/block.js';
|
|
2
|
-
import Container from '../blots/container.js';
|
|
3
|
-
import Quill from '../core/quill.js';
|
|
4
|
-
class ListContainer extends Container {}
|
|
5
|
-
ListContainer.blotName = 'list-container';
|
|
6
|
-
ListContainer.tagName = 'OL';
|
|
7
|
-
class ListItem extends Block {
|
|
8
|
-
static create(value) {
|
|
9
|
-
const node = super.create();
|
|
10
|
-
node.setAttribute('data-list', value);
|
|
11
|
-
return node;
|
|
12
|
-
}
|
|
13
|
-
static formats(domNode) {
|
|
14
|
-
return domNode.getAttribute('data-list') || undefined;
|
|
15
|
-
}
|
|
16
|
-
static register() {
|
|
17
|
-
Quill.register(ListContainer);
|
|
18
|
-
}
|
|
19
|
-
constructor(scroll, domNode) {
|
|
20
|
-
super(scroll, domNode);
|
|
21
|
-
const ui = domNode.ownerDocument.createElement('span');
|
|
22
|
-
const listEventHandler = e => {
|
|
23
|
-
if (!scroll.isEnabled()) return;
|
|
24
|
-
const format = this.statics.formats(domNode, scroll);
|
|
25
|
-
if (format === 'checked') {
|
|
26
|
-
this.format('list', 'unchecked');
|
|
27
|
-
e.preventDefault();
|
|
28
|
-
} else if (format === 'unchecked') {
|
|
29
|
-
this.format('list', 'checked');
|
|
30
|
-
e.preventDefault();
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
ui.addEventListener('mousedown', listEventHandler);
|
|
34
|
-
ui.addEventListener('touchstart', listEventHandler);
|
|
35
|
-
this.attachUI(ui);
|
|
36
|
-
}
|
|
37
|
-
format(name, value) {
|
|
38
|
-
if (name === this.statics.blotName && value) {
|
|
39
|
-
this.domNode.setAttribute('data-list', value);
|
|
40
|
-
} else {
|
|
41
|
-
super.format(name, value);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
ListItem.blotName = 'list';
|
|
46
|
-
ListItem.tagName = 'LI';
|
|
47
|
-
ListContainer.allowedChildren = [ListItem];
|
|
48
|
-
ListItem.requiredContainer = ListContainer;
|
|
49
|
-
export { ListContainer, ListItem as default };
|
|
50
|
-
//# sourceMappingURL=list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","names":["Block","Container","Quill","ListContainer","blotName","tagName","ListItem","create","value","node","setAttribute","formats","domNode","getAttribute","undefined","register","constructor","scroll","ui","ownerDocument","createElement","listEventHandler","e","isEnabled","format","statics","preventDefault","addEventListener","attachUI","name","allowedChildren","requiredContainer","default"],"sources":["../../src/formats/list.ts"],"sourcesContent":["import Block from '../blots/block.js';\nimport Container from '../blots/container.js';\nimport type Scroll from '../blots/scroll.js';\nimport Quill from '../core/quill.js';\n\nclass ListContainer extends Container {}\nListContainer.blotName = 'list-container';\nListContainer.tagName = 'OL';\n\nclass ListItem extends Block {\n static create(value: string) {\n const node = super.create() as HTMLElement;\n node.setAttribute('data-list', value);\n return node;\n }\n\n static formats(domNode: HTMLElement) {\n return domNode.getAttribute('data-list') || undefined;\n }\n\n static register() {\n Quill.register(ListContainer);\n }\n\n constructor(scroll: Scroll, domNode: HTMLElement) {\n super(scroll, domNode);\n const ui = domNode.ownerDocument.createElement('span');\n const listEventHandler = (e: Event) => {\n if (!scroll.isEnabled()) return;\n const format = this.statics.formats(domNode, scroll);\n if (format === 'checked') {\n this.format('list', 'unchecked');\n e.preventDefault();\n } else if (format === 'unchecked') {\n this.format('list', 'checked');\n e.preventDefault();\n }\n };\n ui.addEventListener('mousedown', listEventHandler);\n ui.addEventListener('touchstart', listEventHandler);\n this.attachUI(ui);\n }\n\n format(name: string, value: string) {\n if (name === this.statics.blotName && value) {\n this.domNode.setAttribute('data-list', value);\n } else {\n super.format(name, value);\n }\n }\n}\nListItem.blotName = 'list';\nListItem.tagName = 'LI';\n\nListContainer.allowedChildren = [ListItem];\nListItem.requiredContainer = ListContainer;\n\nexport { ListContainer, ListItem as default };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AACrC,OAAOC,SAAS,MAAM,uBAAuB;AAE7C,OAAOC,KAAK,MAAM,kBAAkB;AAEpC,MAAMC,aAAa,SAASF,SAAS,CAAC;AACtCE,aAAa,CAACC,QAAQ,GAAG,gBAAgB;AACzCD,aAAa,CAACE,OAAO,GAAG,IAAI;AAE5B,MAAMC,QAAQ,SAASN,KAAK,CAAC;EAC3B,OAAOO,MAAMA,CAACC,KAAa,EAAE;IAC3B,MAAMC,IAAI,GAAG,KAAK,CAACF,MAAM,CAAC,CAAgB;IAC1CE,IAAI,CAACC,YAAY,CAAC,WAAW,EAAEF,KAAK,CAAC;IACrC,OAAOC,IAAI;EACb;EAEA,OAAOE,OAAOA,CAACC,OAAoB,EAAE;IACnC,OAAOA,OAAO,CAACC,YAAY,CAAC,WAAW,CAAC,IAAIC,SAAS;EACvD;EAEA,OAAOC,QAAQA,CAAA,EAAG;IAChBb,KAAK,C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Ae,GAAG,CAACxB,QAAQ,CAAC;AAC1CA,QAAQ,CAACyB,iBAAiB,GAAG5B,aAAa;AAE1C,SAASA,aAAa,EAAEG,QAAQ,IAAI0B,OAAO","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import Inline from '../blots/inline.js';
|
|
2
|
-
declare class Script extends Inline {
|
|
3
|
-
static blotName: string;
|
|
4
|
-
static tagName: string[];
|
|
5
|
-
static create(value: 'super' | 'sub' | (string & {})): HTMLElement;
|
|
6
|
-
static formats(domNode: HTMLElement): "super" | "sub" | undefined;
|
|
7
|
-
}
|
|
8
|
-
export default Script;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Inline from '../blots/inline.js';
|
|
2
|
-
class Script extends Inline {
|
|
3
|
-
static blotName = 'script';
|
|
4
|
-
static tagName = ['SUB', 'SUP'];
|
|
5
|
-
static create(value) {
|
|
6
|
-
if (value === 'super') {
|
|
7
|
-
return document.createElement('sup');
|
|
8
|
-
}
|
|
9
|
-
if (value === 'sub') {
|
|
10
|
-
return document.createElement('sub');
|
|
11
|
-
}
|
|
12
|
-
return super.create(value);
|
|
13
|
-
}
|
|
14
|
-
static formats(domNode) {
|
|
15
|
-
if (domNode.tagName === 'SUB') return 'sub';
|
|
16
|
-
if (domNode.tagName === 'SUP') return 'super';
|
|
17
|
-
return undefined;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export default Script;
|
|
21
|
-
//# sourceMappingURL=script.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"script.js","names":["Inline","Script","blotName","tagName","create","value","document","createElement","formats","domNode","undefined"],"sources":["../../src/formats/script.ts"],"sourcesContent":["import Inline from '../blots/inline.js';\n\nclass Script extends Inline {\n static blotName = 'script';\n static tagName = ['SUB', 'SUP'];\n\n static create(value: 'super' | 'sub' | (string & {})) {\n if (value === 'super') {\n return document.createElement('sup');\n }\n if (value === 'sub') {\n return document.createElement('sub');\n }\n return super.create(value);\n }\n\n static formats(domNode: HTMLElement) {\n if (domNode.tagName === 'SUB') return 'sub';\n if (domNode.tagName === 'SUP') return 'super';\n return undefined;\n }\n}\n\nexport default Script;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,oBAAoB;AAEvC,MAAMC,MAAM,SAASD,MAAM,CAAC;EAC1B,OAAOE,QAAQ,GAAG,QAAQ;EAC1B,OAAOC,OAAO,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC;EAE/B,OAAOC,MAAMA,CAACC,KAAsC,EAAE;IACpD,IAAIA,KAAK,KAAK,OAAO,EAAE;MACrB,OAAOC,QAAQ,CAACC,aAAa,CAAC,KAAK,CAAC;IACtC;IACA,IAAIF,KAAK,KAAK,KAAK,EAAE;MACnB,OAAOC,QAAQ,CAACC,aAAa,CAAC,KAAK,CAAC;IACtC;IACA,OAAO,KAAK,CAACH,MAAM,CAACC,KAAK,CAAC;EAC5B;EAEA,OAAOG,OAAOA,CAACC,OAAoB,EAAE;IACnC,IAAIA,OAAO,CAACN,OAAO,KAAK,KAAK,EAAE,OAAO,KAAK;IAC3C,IAAIM,OAAO,CAACN,OAAO,KAAK,KAAK,EAAE,OAAO,OAAO;IAC7C,OAAOO,SAAS;EAClB;AACF;AAEA,eAAeT,MAAM","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
2
|
-
const SizeClass = new ClassAttributor('size', 'ql-size', {
|
|
3
|
-
scope: Scope.INLINE,
|
|
4
|
-
whitelist: ['small', 'large', 'huge']
|
|
5
|
-
});
|
|
6
|
-
const SizeStyle = new StyleAttributor('size', 'font-size', {
|
|
7
|
-
scope: Scope.INLINE,
|
|
8
|
-
whitelist: ['10px', '18px', '32px']
|
|
9
|
-
});
|
|
10
|
-
export { SizeClass, SizeStyle };
|
|
11
|
-
//# sourceMappingURL=size.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"size.js","names":["ClassAttributor","Scope","StyleAttributor","SizeClass","scope","INLINE","whitelist","SizeStyle"],"sources":["../../src/formats/size.ts"],"sourcesContent":["import { ClassAttributor, Scope, StyleAttributor } from 'parchment';\n\nconst SizeClass = new ClassAttributor('size', 'ql-size', {\n scope: Scope.INLINE,\n whitelist: ['small', 'large', 'huge'],\n});\nconst SizeStyle = new StyleAttributor('size', 'font-size', {\n scope: Scope.INLINE,\n whitelist: ['10px', '18px', '32px'],\n});\n\nexport { SizeClass, SizeStyle };\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,KAAK,EAAEC,eAAe,QAAQ,WAAW;AAEnE,MAAMC,SAAS,GAAG,IAAIH,eAAe,CAAC,MAAM,EAAE,SAAS,EAAE;EACvDI,KAAK,EAAEH,KAAK,CAACI,MAAM;EACnBC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM;AACtC,CAAC,CAAC;AACF,MAAMC,SAAS,GAAG,IAAIL,eAAe,CAAC,MAAM,EAAE,WAAW,EAAE;EACzDE,KAAK,EAAEH,KAAK,CAACI,MAAM;EACnBC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM;AACpC,CAAC,CAAC;AAEF,SAASH,SAAS,EAAEI,SAAS","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"strike.js","names":["Bold","Strike","blotName","tagName"],"sources":["../../src/formats/strike.ts"],"sourcesContent":["import Bold from './bold.js';\n\nclass Strike extends Bold {\n static blotName = 'strike';\n static tagName = ['S', 'STRIKE'];\n}\n\nexport default Strike;\n"],"mappings":"AAAA,OAAOA,IAAI,MAAM,WAAW;AAE5B,MAAMC,MAAM,SAASD,IAAI,CAAC;EACxB,OAAOE,QAAQ,GAAG,QAAQ;EAC1B,OAAOC,OAAO,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC;AAClC;AAEA,eAAeF,MAAM","ignoreList":[]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { LinkedList } from 'parchment';
|
|
2
|
-
import Block from '../blots/block.js';
|
|
3
|
-
import Container from '../blots/container.js';
|
|
4
|
-
declare class TableCell extends Block {
|
|
5
|
-
static blotName: string;
|
|
6
|
-
static tagName: string;
|
|
7
|
-
static create(value: string): HTMLElement;
|
|
8
|
-
static formats(domNode: HTMLElement): string | null | undefined;
|
|
9
|
-
next: this | null;
|
|
10
|
-
cellOffset(): number;
|
|
11
|
-
format(name: string, value: string): void;
|
|
12
|
-
row(): TableRow;
|
|
13
|
-
rowOffset(): number;
|
|
14
|
-
table(): import("parchment").Parent;
|
|
15
|
-
}
|
|
16
|
-
declare class TableRow extends Container {
|
|
17
|
-
static blotName: string;
|
|
18
|
-
static tagName: string;
|
|
19
|
-
children: LinkedList<TableCell>;
|
|
20
|
-
next: this | null;
|
|
21
|
-
checkMerge(): boolean;
|
|
22
|
-
optimize(context: {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}): void;
|
|
25
|
-
rowOffset(): number;
|
|
26
|
-
table(): import("parchment").Parent;
|
|
27
|
-
}
|
|
28
|
-
declare class TableBody extends Container {
|
|
29
|
-
static blotName: string;
|
|
30
|
-
static tagName: string;
|
|
31
|
-
children: LinkedList<TableRow>;
|
|
32
|
-
}
|
|
33
|
-
declare class TableContainer extends Container {
|
|
34
|
-
static blotName: string;
|
|
35
|
-
static tagName: string;
|
|
36
|
-
children: LinkedList<TableBody>;
|
|
37
|
-
balanceCells(): void;
|
|
38
|
-
cells(column: number): any[];
|
|
39
|
-
deleteColumn(index: number): void;
|
|
40
|
-
insertColumn(index: number): void;
|
|
41
|
-
insertRow(index: number): void;
|
|
42
|
-
rows(): any[];
|
|
43
|
-
}
|
|
44
|
-
declare function tableId(): string;
|
|
45
|
-
export { TableCell, TableRow, TableBody, TableContainer, tableId };
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import Block from '../blots/block.js';
|
|
2
|
-
import Container from '../blots/container.js';
|
|
3
|
-
class TableCell extends Block {
|
|
4
|
-
static blotName = 'table';
|
|
5
|
-
static tagName = 'TD';
|
|
6
|
-
static create(value) {
|
|
7
|
-
const node = super.create();
|
|
8
|
-
if (value) {
|
|
9
|
-
node.setAttribute('data-row', value);
|
|
10
|
-
} else {
|
|
11
|
-
node.setAttribute('data-row', tableId());
|
|
12
|
-
}
|
|
13
|
-
return node;
|
|
14
|
-
}
|
|
15
|
-
static formats(domNode) {
|
|
16
|
-
if (domNode.hasAttribute('data-row')) {
|
|
17
|
-
return domNode.getAttribute('data-row');
|
|
18
|
-
}
|
|
19
|
-
return undefined;
|
|
20
|
-
}
|
|
21
|
-
cellOffset() {
|
|
22
|
-
if (this.parent) {
|
|
23
|
-
return this.parent.children.indexOf(this);
|
|
24
|
-
}
|
|
25
|
-
return -1;
|
|
26
|
-
}
|
|
27
|
-
format(name, value) {
|
|
28
|
-
if (name === TableCell.blotName && value) {
|
|
29
|
-
this.domNode.setAttribute('data-row', value);
|
|
30
|
-
} else {
|
|
31
|
-
super.format(name, value);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
row() {
|
|
35
|
-
return this.parent;
|
|
36
|
-
}
|
|
37
|
-
rowOffset() {
|
|
38
|
-
if (this.row()) {
|
|
39
|
-
return this.row().rowOffset();
|
|
40
|
-
}
|
|
41
|
-
return -1;
|
|
42
|
-
}
|
|
43
|
-
table() {
|
|
44
|
-
return this.row() && this.row().table();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
class TableRow extends Container {
|
|
48
|
-
static blotName = 'table-row';
|
|
49
|
-
static tagName = 'TR';
|
|
50
|
-
checkMerge() {
|
|
51
|
-
// @ts-expect-error
|
|
52
|
-
if (super.checkMerge() && this.next.children.head != null) {
|
|
53
|
-
// @ts-expect-error
|
|
54
|
-
const thisHead = this.children.head.formats();
|
|
55
|
-
// @ts-expect-error
|
|
56
|
-
const thisTail = this.children.tail.formats();
|
|
57
|
-
// @ts-expect-error
|
|
58
|
-
const nextHead = this.next.children.head.formats();
|
|
59
|
-
// @ts-expect-error
|
|
60
|
-
const nextTail = this.next.children.tail.formats();
|
|
61
|
-
return thisHead.table === thisTail.table && thisHead.table === nextHead.table && thisHead.table === nextTail.table;
|
|
62
|
-
}
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
|
-
optimize(context) {
|
|
66
|
-
super.optimize(context);
|
|
67
|
-
this.children.forEach(child => {
|
|
68
|
-
if (child.next == null) return;
|
|
69
|
-
const childFormats = child.formats();
|
|
70
|
-
const nextFormats = child.next.formats();
|
|
71
|
-
if (childFormats.table !== nextFormats.table) {
|
|
72
|
-
const next = this.splitAfter(child);
|
|
73
|
-
if (next) {
|
|
74
|
-
// @ts-expect-error TODO: parameters of optimize() should be a optional
|
|
75
|
-
next.optimize();
|
|
76
|
-
}
|
|
77
|
-
// We might be able to merge with prev now
|
|
78
|
-
if (this.prev) {
|
|
79
|
-
// @ts-expect-error TODO: parameters of optimize() should be a optional
|
|
80
|
-
this.prev.optimize();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
rowOffset() {
|
|
86
|
-
if (this.parent) {
|
|
87
|
-
return this.parent.children.indexOf(this);
|
|
88
|
-
}
|
|
89
|
-
return -1;
|
|
90
|
-
}
|
|
91
|
-
table() {
|
|
92
|
-
return this.parent && this.parent.parent;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
class TableBody extends Container {
|
|
96
|
-
static blotName = 'table-body';
|
|
97
|
-
static tagName = 'TBODY';
|
|
98
|
-
}
|
|
99
|
-
class TableContainer extends Container {
|
|
100
|
-
static blotName = 'table-container';
|
|
101
|
-
static tagName = 'TABLE';
|
|
102
|
-
balanceCells() {
|
|
103
|
-
const rows = this.descendants(TableRow);
|
|
104
|
-
const maxColumns = rows.reduce((max, row) => {
|
|
105
|
-
return Math.max(row.children.length, max);
|
|
106
|
-
}, 0);
|
|
107
|
-
rows.forEach(row => {
|
|
108
|
-
new Array(maxColumns - row.children.length).fill(0).forEach(() => {
|
|
109
|
-
let value;
|
|
110
|
-
if (row.children.head != null) {
|
|
111
|
-
value = TableCell.formats(row.children.head.domNode);
|
|
112
|
-
}
|
|
113
|
-
const blot = this.scroll.create(TableCell.blotName, value);
|
|
114
|
-
row.appendChild(blot);
|
|
115
|
-
// @ts-expect-error TODO: parameters of optimize() should be a optional
|
|
116
|
-
blot.optimize(); // Add break blot
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
cells(column) {
|
|
121
|
-
return this.rows().map(row => row.children.at(column));
|
|
122
|
-
}
|
|
123
|
-
deleteColumn(index) {
|
|
124
|
-
// @ts-expect-error
|
|
125
|
-
const [body] = this.descendant(TableBody);
|
|
126
|
-
if (body == null || body.children.head == null) return;
|
|
127
|
-
body.children.forEach(row => {
|
|
128
|
-
const cell = row.children.at(index);
|
|
129
|
-
if (cell != null) {
|
|
130
|
-
cell.remove();
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
insertColumn(index) {
|
|
135
|
-
// @ts-expect-error
|
|
136
|
-
const [body] = this.descendant(TableBody);
|
|
137
|
-
if (body == null || body.children.head == null) return;
|
|
138
|
-
body.children.forEach(row => {
|
|
139
|
-
const ref = row.children.at(index);
|
|
140
|
-
// @ts-expect-error
|
|
141
|
-
const value = TableCell.formats(row.children.head.domNode);
|
|
142
|
-
const cell = this.scroll.create(TableCell.blotName, value);
|
|
143
|
-
row.insertBefore(cell, ref);
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
insertRow(index) {
|
|
147
|
-
// @ts-expect-error
|
|
148
|
-
const [body] = this.descendant(TableBody);
|
|
149
|
-
if (body == null || body.children.head == null) return;
|
|
150
|
-
const id = tableId();
|
|
151
|
-
const row = this.scroll.create(TableRow.blotName);
|
|
152
|
-
body.children.head.children.forEach(() => {
|
|
153
|
-
const cell = this.scroll.create(TableCell.blotName, id);
|
|
154
|
-
row.appendChild(cell);
|
|
155
|
-
});
|
|
156
|
-
const ref = body.children.at(index);
|
|
157
|
-
body.insertBefore(row, ref);
|
|
158
|
-
}
|
|
159
|
-
rows() {
|
|
160
|
-
const body = this.children.head;
|
|
161
|
-
if (body == null) return [];
|
|
162
|
-
return body.children.map(row => row);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
TableContainer.allowedChildren = [TableBody];
|
|
166
|
-
TableBody.requiredContainer = TableContainer;
|
|
167
|
-
TableBody.allowedChildren = [TableRow];
|
|
168
|
-
TableRow.requiredContainer = TableBody;
|
|
169
|
-
TableRow.allowedChildren = [TableCell];
|
|
170
|
-
TableCell.requiredContainer = TableRow;
|
|
171
|
-
function tableId() {
|
|
172
|
-
const id = Math.random().toString(36).slice(2, 6);
|
|
173
|
-
return `row-${id}`;
|
|
174
|
-
}
|
|
175
|
-
export { TableCell, TableRow, TableBody, TableContainer, tableId };
|
|
176
|
-
//# sourceMappingURL=table.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","names":["Block","Container","TableCell","blotName","tagName","create","value","node","setAttribute","tableId","formats","domNode","hasAttribute","getAttribute","undefined","cellOffset","parent","children","indexOf","format","name","row","rowOffset","table","TableRow","checkMerge","next","head","thisHead","thisTail","tail","nextHead","nextTail","optimize","context","forEach","child","childFormats","nextFormats","splitAfter","prev","TableBody","TableContainer","balanceCells","rows","descendants","maxColumns","reduce","max","Math","length","Array","fill","blot","scroll","appendChild","cells","column","map","at","deleteColumn","index","body","descendant","cell","remove","insertColumn","ref","insertBefore","insertRow","id","allowedChildren","requiredContainer","random","toString","slice"],"sources":["../../src/formats/table.ts"],"sourcesContent":["import type { LinkedList } from 'parchment';\nimport Block from '../blots/block.js';\nimport Container from '../blots/container.js';\n\nclass TableCell extends Block {\n static blotName = 'table';\n static tagName = 'TD';\n\n static create(value: string) {\n const node = super.create() as HTMLElement;\n if (value) {\n node.setAttribute('data-row', value);\n } else {\n node.setAttribute('data-row', tableId());\n }\n return node;\n }\n\n static formats(domNode: HTMLElement) {\n if (domNode.hasAttribute('data-row')) {\n return domNode.getAttribute('data-row');\n }\n return undefined;\n }\n\n next: this | null;\n\n cellOffset() {\n if (this.parent) {\n return this.parent.children.indexOf(this);\n }\n return -1;\n }\n\n format(name: string, value: string) {\n if (name === TableCell.blotName && value) {\n this.domNode.setAttribute('data-row', value);\n } else {\n super.format(name, value);\n }\n }\n\n row(): TableRow {\n return this.parent as TableRow;\n }\n\n rowOffset() {\n if (this.row()) {\n return this.row().rowOffset();\n }\n return -1;\n }\n\n table() {\n return this.row() && this.row().table();\n }\n}\n\nclass TableRow extends Container {\n static blotName = 'table-row';\n static tagName = 'TR';\n\n children: LinkedList<TableCell>;\n next: this | null;\n\n checkMerge() {\n // @ts-expect-error\n if (super.checkMerge() && this.next.children.head != null) {\n // @ts-expect-error\n const thisHead = this.children.head.formats();\n // @ts-expect-error\n const thisTail = this.children.tail.formats();\n // @ts-expect-error\n const nextHead = this.next.children.head.formats();\n // @ts-expect-error\n const nextTail = this.next.children.tail.formats();\n return (\n thisHead.table === thisTail.table &&\n thisHead.table === nextHead.table &&\n thisHead.table === nextTail.table\n );\n }\n return false;\n }\n\n optimize(context: { [key: string]: any }) {\n super.optimize(context);\n this.children.forEach((child) => {\n if (child.next == null) return;\n const childFormats = child.formats();\n const nextFormats = child.next.formats();\n if (childFormats.table !== nextFormats.table) {\n const next = this.splitAfter(child);\n if (next) {\n // @ts-expect-error TODO: parameters of optimize() should be a optional\n next.optimize();\n }\n // We might be able to merge with prev now\n if (this.prev) {\n // @ts-expect-error TODO: parameters of optimize() should be a optional\n this.prev.optimize();\n }\n }\n });\n }\n\n rowOffset() {\n if (this.parent) {\n return this.parent.children.indexOf(this);\n }\n return -1;\n }\n\n table() {\n return this.parent && this.parent.parent;\n }\n}\n\nclass TableBody extends Container {\n static blotName = 'table-body';\n static tagName = 'TBODY';\n\n children: LinkedList<TableRow>;\n}\n\nclass TableContainer extends Container {\n static blotName = 'table-container';\n static tagName = 'TABLE';\n\n children: LinkedList<TableBody>;\n\n balanceCells() {\n const rows = this.descendants(TableRow);\n const maxColumns = rows.reduce((max, row) => {\n return Math.max(row.children.length, max);\n }, 0);\n rows.forEach((row) => {\n new Array(maxColumns - row.children.length).fill(0).forEach(() => {\n let value;\n if (row.children.head != null) {\n value = TableCell.formats(row.children.head.domNode);\n }\n const blot = this.scroll.create(TableCell.blotName, value);\n row.appendChild(blot);\n // @ts-expect-error TODO: parameters of optimize() should be a optional\n blot.optimize(); // Add break blot\n });\n });\n }\n\n cells(column: number) {\n return this.rows().map((row) => row.children.at(column));\n }\n\n deleteColumn(index: number) {\n // @ts-expect-error\n const [body] = this.descendant(TableBody) as TableBody[];\n if (body == null || body.children.head == null) return;\n body.children.forEach((row) => {\n const cell = row.children.at(index);\n if (cell != null) {\n cell.remove();\n }\n });\n }\n\n insertColumn(index: number) {\n // @ts-expect-error\n const [body] = this.descendant(TableBody) as TableBody[];\n if (body == null || body.children.head == null) return;\n body.children.forEach((row) => {\n const ref = row.children.at(index);\n // @ts-expect-error\n const value = TableCell.formats(row.children.head.domNode);\n const cell = this.scroll.create(TableCell.blotName, value);\n row.insertBefore(cell, ref);\n });\n }\n\n insertRow(index: number) {\n // @ts-expect-error\n const [body] = this.descendant(TableBody) as TableBody[];\n if (body == null || body.children.head == null) return;\n const id = tableId();\n const row = this.scroll.create(TableRow.blotName) as TableRow;\n body.children.head.children.forEach(() => {\n const cell = this.scroll.create(TableCell.blotName, id);\n row.appendChild(cell);\n });\n const ref = body.children.at(index);\n body.insertBefore(row, ref);\n }\n\n rows() {\n const body = this.children.head;\n if (body == null) return [];\n return body.children.map((row) => row);\n }\n}\n\nTableContainer.allowedChildren = [TableBody];\nTableBody.requiredContainer = TableContainer;\n\nTableBody.allowedChildren = [TableRow];\nTableRow.requiredContainer = TableBody;\n\nTableRow.allowedChildren = [TableCell];\nTableCell.requiredContainer = TableRow;\n\nfunction tableId() {\n const id = Math.random().toString(36).slice(2, 6);\n return `row-${id}`;\n}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E,CAAC;MACvDjD,GAAG,CAACkC,WAAW,CAACS,IAAI,CAAC;IACvB,CAAC,CAAC;IACF,MAAMG,GAAG,GAAGL,IAAI,CAAC7C,QAAQ,CAAC0C,EAAE,CAACE,KAAK,CAAC;IACnCC,IAAI,CAACM,YAAY,CAAC/C,GAAG,EAAE8C,GAAG,CAAC;EAC7B;EAEAvB,IAAIA,CAAA,EAAG;IACL,MAAMkB,IAAI,GAAG,IAAI,CAAC7C,QAAQ,CAACU,IAAI;IAC/B,IAAImC,IAAI,IAAI,IAAI,EAAE,OAAO,EAAE;IAC3B,OAAOA,IAAI,CAAC7C,QAAQ,CAACyC,GAAG,CAAErC,GAAG,IAAKA,GAAG,CAAC;EACxC;AACF;AAEAqB,cAAc,CAAC6B,eAAe,GAAG,CAAC9B,SAAS,CAAC;AAC5CA,SAAS,CAAC+B,iBAAiB,GAAG9B,cAAc;AAE5CD,SAAS,CAAC8B,eAAe,GAAG,CAAC/C,QAAQ,CAAC;AACtCA,QAAQ,CAACgD,iBAAiB,GAAG/B,SAAS;AAEtCjB,QAAQ,CAAC+C,eAAe,GAAG,CAACrE,SAAS,CAAC;AACtCA,SAAS,CAACsE,iBAAiB,GAAGhD,QAAQ;AAEtC,SAASf,OAAOA,CAAA,EAAG;EACjB,MAAM6D,EAAE,GAAGrB,IAAI,CAACwB,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,EAAE,CAAC,CAACC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;EACjD,OAAQ,OAAML,EAAG,EAAC;AACpB;AAEA,SAASpE,SAAS,EAAEsB,QAAQ,EAAEiB,SAAS,EAAEC,cAAc,EAAEjC,OAAO","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"underline.js","names":["Inline","Underline","blotName","tagName"],"sources":["../../src/formats/underline.ts"],"sourcesContent":["import Inline from '../blots/inline.js';\n\nclass Underline extends Inline {\n static blotName = 'underline';\n static tagName = 'U';\n}\n\nexport default Underline;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,oBAAoB;AAEvC,MAAMC,SAAS,SAASD,MAAM,CAAC;EAC7B,OAAOE,QAAQ,GAAG,WAAW;EAC7B,OAAOC,OAAO,GAAG,GAAG;AACtB;AAEA,eAAeF,SAAS","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BlockEmbed } from '../blots/block.js';
|
|
2
|
-
declare class Video extends BlockEmbed {
|
|
3
|
-
static blotName: string;
|
|
4
|
-
static className: string;
|
|
5
|
-
static tagName: string;
|
|
6
|
-
static create(value: string): Element;
|
|
7
|
-
static formats(domNode: Element): Record<string, string | null>;
|
|
8
|
-
static sanitize(url: string): string;
|
|
9
|
-
static value(domNode: Element): string | null;
|
|
10
|
-
domNode: HTMLVideoElement;
|
|
11
|
-
format(name: string, value: string): void;
|
|
12
|
-
html(): string;
|
|
13
|
-
}
|
|
14
|
-
export default Video;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { BlockEmbed } from '../blots/block.js';
|
|
2
|
-
import Link from './link.js';
|
|
3
|
-
const ATTRIBUTES = ['height', 'width'];
|
|
4
|
-
class Video extends BlockEmbed {
|
|
5
|
-
static blotName = 'video';
|
|
6
|
-
static className = 'ql-video';
|
|
7
|
-
static tagName = 'IFRAME';
|
|
8
|
-
static create(value) {
|
|
9
|
-
const node = super.create(value);
|
|
10
|
-
node.setAttribute('frameborder', '0');
|
|
11
|
-
node.setAttribute('allowfullscreen', 'true');
|
|
12
|
-
node.setAttribute('src', this.sanitize(value));
|
|
13
|
-
return node;
|
|
14
|
-
}
|
|
15
|
-
static formats(domNode) {
|
|
16
|
-
return ATTRIBUTES.reduce((formats, attribute) => {
|
|
17
|
-
if (domNode.hasAttribute(attribute)) {
|
|
18
|
-
formats[attribute] = domNode.getAttribute(attribute);
|
|
19
|
-
}
|
|
20
|
-
return formats;
|
|
21
|
-
}, {});
|
|
22
|
-
}
|
|
23
|
-
static sanitize(url) {
|
|
24
|
-
return Link.sanitize(url);
|
|
25
|
-
}
|
|
26
|
-
static value(domNode) {
|
|
27
|
-
return domNode.getAttribute('src');
|
|
28
|
-
}
|
|
29
|
-
format(name, value) {
|
|
30
|
-
if (ATTRIBUTES.indexOf(name) > -1) {
|
|
31
|
-
if (value) {
|
|
32
|
-
this.domNode.setAttribute(name, value);
|
|
33
|
-
} else {
|
|
34
|
-
this.domNode.removeAttribute(name);
|
|
35
|
-
}
|
|
36
|
-
} else {
|
|
37
|
-
super.format(name, value);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
html() {
|
|
41
|
-
const {
|
|
42
|
-
video
|
|
43
|
-
} = this.value();
|
|
44
|
-
return `<a href="${video}">${video}</a>`;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export default Video;
|
|
48
|
-
//# sourceMappingURL=video.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"video.js","names":["BlockEmbed","Link","ATTRIBUTES","Video","blotName","className","tagName","create","value","node","setAttribute","sanitize","formats","domNode","reduce","attribute","hasAttribute","getAttribute","url","format","name","indexOf","removeAttribute","html","video"],"sources":["../../src/formats/video.ts"],"sourcesContent":["import { BlockEmbed } from '../blots/block.js';\nimport Link from './link.js';\n\nconst ATTRIBUTES = ['height', 'width'];\n\nclass Video extends BlockEmbed {\n static blotName = 'video';\n static className = 'ql-video';\n static tagName = 'IFRAME';\n\n static create(value: string) {\n const node = super.create(value) as Element;\n node.setAttribute('frameborder', '0');\n node.setAttribute('allowfullscreen', 'true');\n node.setAttribute('src', this.sanitize(value));\n return node;\n }\n\n static formats(domNode: Element) {\n return ATTRIBUTES.reduce(\n (formats: Record<string, string | null>, attribute) => {\n if (domNode.hasAttribute(attribute)) {\n formats[attribute] = domNode.getAttribute(attribute);\n }\n return formats;\n },\n {},\n );\n }\n\n static sanitize(url: string) {\n return Link.sanitize(url);\n }\n\n static value(domNode: Element) {\n return domNode.getAttribute('src');\n }\n\n domNode: HTMLVideoElement;\n\n format(name: string, value: string) {\n if (ATTRIBUTES.indexOf(name) > -1) {\n if (value) {\n this.domNode.setAttribute(name, value);\n } else {\n this.domNode.removeAttribute(name);\n }\n } else {\n super.format(name, value);\n }\n }\n\n html() {\n const { video } = this.value();\n return `<a href=\"${video}\">${video}</a>`;\n }\n}\n\nexport default Video;\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,mBAAmB;AAC9C,OAAOC,IAAI,MAAM,WAAW;AAE5B,MAAMC,UAAU,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC;AAEtC,MAAMC,KAAK,SAASH,UAAU,CAAC;EAC7B,OAAOI,QAAQ,GAAG,OAAO;EACzB,OAAOC,SAAS,GAAG,UAAU;EAC7B,OAAOC,OAAO,GAAG,QAAQ;EAEzB,OAAOC,MAAMA,CAACC,KAAa,EAAE;IAC3B,MAAMC,IAAI,GAAG,KAAK,CAACF,MAAM,CAACC,KAAK,CAAY;IAC3CC,IAAI,CAACC,YAAY,CAAC,aAAa,EAAE,GAAG,CAAC;IACrCD,IAAI,CAACC,YAAY,CAAC,iBAAiB,EAAE,MAAM,CAAC;IAC5CD,IAAI,CAACC,YAAY,CAAC,KAAK,EAAE,IAAI,CAACC,QAAQ,CAACH,KAAK,CAAC,CAAC;IAC9C,OAAOC,IAAI;EACb;EAEA,OAAOG,OAAOA,CAACC,OAAgB,EAAE;IAC/B,OAAOX,UAAU,CAACY,MAAM,CACtB,CAACF,OAAsC,EAAEG,SAAS,KAAK;MACrD,IAAIF,OAAO,CAACG,YAAY,CAACD,SAAS,CAAC,EAAE;QACnCH,OAAO,CAACG,SAAS,CAAC,GAAGF,OAAO,CAACI,YAAY,CAACF,SAAS,CAAC;MACtD;MACA,OAAOH,OAAO;IAChB,CAAC,EACD,CAAC,CACH,CAAC;EACH;EAEA,OAAOD,QAAQA,CAACO,GAAW,EAAE;IAC3B,OAAOjB,IAAI,CAACU,QAAQ,CAACO,GAAG,CAAC;EAC3B;EAEA,OAAOV,KAAKA,CAACK,OAAgB,EAAE;IAC7B,OAAOA,OAAO,CAACI,YAAY,CAAC,KAAK,CAAC;EACpC;EAIAE,MAAMA,CAACC,IAAY,EAAEZ,KAAa,EAAE;IAClC,IAAIN,UAAU,CAACmB,OAAO,CAACD,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;MACjC,IAAIZ,KAAK,EAAE;QACT,IAAI,CAACK,OAAO,CAACH,YAAY,CAACU,IAAI,EAAEZ,KAAK,CAAC;MACxC,CAAC,MAAM;QACL,IAAI,CAACK,OAAO,CAACS,eAAe,CAACF,IAAI,CAAC;MACpC;IACF,CAAC,MAAM;MACL,KAAK,CAACD,MAAM,CAACC,IAAI,EAAEZ,KAAK,CAAC;IAC3B;EACF;EAEAe,IAAIA,CAAA,EAAG;IACL,MAAM;MAAEC;IAAM,CAAC,GAAG,IAAI,CAAChB,KAAK,CAAC,CAAC;IAC9B,OAAQ,YAAWgB,KAAM,KAAIA,KAAM,MAAK;EAC1C;AACF;AAEA,eAAerB,KAAK","ignoreList":[]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { ScrollBlot } from 'parchment';
|
|
2
|
-
import Delta from 'quill-delta';
|
|
3
|
-
import type { EmitterSource } from '../core/emitter.js';
|
|
4
|
-
import Module from '../core/module.js';
|
|
5
|
-
import Quill from '../core/quill.js';
|
|
6
|
-
import type { Range } from '../core/selection.js';
|
|
7
|
-
type Selector = string | Node['TEXT_NODE'] | Node['ELEMENT_NODE'];
|
|
8
|
-
type Matcher = (node: Node, delta: Delta, scroll: ScrollBlot) => Delta;
|
|
9
|
-
interface ClipboardOptions {
|
|
10
|
-
matchers: [Selector, Matcher][];
|
|
11
|
-
}
|
|
12
|
-
declare class Clipboard extends Module<ClipboardOptions> {
|
|
13
|
-
static DEFAULTS: ClipboardOptions;
|
|
14
|
-
matchers: [Selector, Matcher][];
|
|
15
|
-
constructor(quill: Quill, options: Partial<ClipboardOptions>);
|
|
16
|
-
addMatcher(selector: Selector, matcher: Matcher): void;
|
|
17
|
-
convert({ html, text }: {
|
|
18
|
-
html?: string;
|
|
19
|
-
text?: string;
|
|
20
|
-
}, formats?: Record<string, unknown>): Delta;
|
|
21
|
-
protected normalizeHTML(doc: Document): void;
|
|
22
|
-
protected convertHTML(html: string): Delta;
|
|
23
|
-
dangerouslyPasteHTML(html: string, source?: EmitterSource): void;
|
|
24
|
-
dangerouslyPasteHTML(index: number, html: string, source?: EmitterSource): void;
|
|
25
|
-
onCaptureCopy(e: ClipboardEvent, isCut?: boolean): void;
|
|
26
|
-
private normalizeURIList;
|
|
27
|
-
onCapturePaste(e: ClipboardEvent): void;
|
|
28
|
-
onCopy(range: Range, isCut: boolean): {
|
|
29
|
-
html: string;
|
|
30
|
-
text: string;
|
|
31
|
-
};
|
|
32
|
-
onPaste(range: Range, { text, html }: {
|
|
33
|
-
text?: string;
|
|
34
|
-
html?: string;
|
|
35
|
-
}): void;
|
|
36
|
-
prepareMatching(container: Element, nodeMatches: WeakMap<Node, Matcher[]>): Matcher[][];
|
|
37
|
-
}
|
|
38
|
-
declare function traverse(scroll: ScrollBlot, node: ChildNode, elementMatchers: Matcher[], textMatchers: Matcher[], nodeMatches: WeakMap<Node, Matcher[]>): Delta;
|
|
39
|
-
declare function matchAttributor(node: HTMLElement, delta: Delta, scroll: ScrollBlot): Delta;
|
|
40
|
-
declare function matchBlot(node: Node, delta: Delta, scroll: ScrollBlot): Delta;
|
|
41
|
-
declare function matchNewline(node: Node, delta: Delta, scroll: ScrollBlot): Delta;
|
|
42
|
-
declare function matchText(node: HTMLElement, delta: Delta, scroll: ScrollBlot): Delta;
|
|
43
|
-
export { Clipboard as default, matchAttributor, matchBlot, matchNewline, matchText, traverse, };
|