@adminforth/rich-editor 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog.md +6 -0
- package/custom/node_modules/.package-lock.json +66 -0
- package/custom/node_modules/eventemitter3/LICENSE +21 -0
- package/custom/node_modules/eventemitter3/README.md +94 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
- package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
- package/custom/node_modules/eventemitter3/index.d.ts +135 -0
- package/custom/node_modules/eventemitter3/index.js +336 -0
- package/custom/node_modules/eventemitter3/index.mjs +4 -0
- package/custom/node_modules/eventemitter3/package.json +67 -0
- package/custom/node_modules/fast-diff/LICENSE +201 -0
- package/custom/node_modules/fast-diff/README.md +24 -0
- package/custom/node_modules/fast-diff/diff.d.ts +21 -0
- package/custom/node_modules/fast-diff/diff.js +1138 -0
- package/custom/node_modules/fast-diff/package.json +30 -0
- package/custom/node_modules/lodash-es/LICENSE +47 -0
- package/custom/node_modules/lodash-es/README.md +10 -0
- package/custom/node_modules/lodash-es/_DataView.js +7 -0
- package/custom/node_modules/lodash-es/_Hash.js +32 -0
- package/custom/node_modules/lodash-es/_LazyWrapper.js +28 -0
- package/custom/node_modules/lodash-es/_ListCache.js +32 -0
- package/custom/node_modules/lodash-es/_LodashWrapper.js +22 -0
- package/custom/node_modules/lodash-es/_Map.js +7 -0
- package/custom/node_modules/lodash-es/_MapCache.js +32 -0
- package/custom/node_modules/lodash-es/_Promise.js +7 -0
- package/custom/node_modules/lodash-es/_Set.js +7 -0
- package/custom/node_modules/lodash-es/_SetCache.js +27 -0
- package/custom/node_modules/lodash-es/_Stack.js +27 -0
- package/custom/node_modules/lodash-es/_Symbol.js +6 -0
- package/custom/node_modules/lodash-es/_Uint8Array.js +6 -0
- package/custom/node_modules/lodash-es/_WeakMap.js +7 -0
- package/custom/node_modules/lodash-es/_addMapEntry.js +15 -0
- package/custom/node_modules/lodash-es/_addSetEntry.js +15 -0
- package/custom/node_modules/lodash-es/_apply.js +21 -0
- package/custom/node_modules/lodash-es/_arrayAggregator.js +22 -0
- package/custom/node_modules/lodash-es/_arrayEach.js +22 -0
- package/custom/node_modules/lodash-es/_arrayEachRight.js +21 -0
- package/custom/node_modules/lodash-es/_arrayEvery.js +23 -0
- package/custom/node_modules/lodash-es/_arrayFilter.js +25 -0
- package/custom/node_modules/lodash-es/_arrayIncludes.js +17 -0
- package/custom/node_modules/lodash-es/_arrayIncludesWith.js +22 -0
- package/custom/node_modules/lodash-es/_arrayLikeKeys.js +49 -0
- package/custom/node_modules/lodash-es/_arrayMap.js +21 -0
- package/custom/node_modules/lodash-es/_arrayPush.js +20 -0
- package/custom/node_modules/lodash-es/_arrayReduce.js +26 -0
- package/custom/node_modules/lodash-es/_arrayReduceRight.js +24 -0
- package/custom/node_modules/lodash-es/_arraySample.js +15 -0
- package/custom/node_modules/lodash-es/_arraySampleSize.js +17 -0
- package/custom/node_modules/lodash-es/_arrayShuffle.js +15 -0
- package/custom/node_modules/lodash-es/_arraySome.js +23 -0
- package/custom/node_modules/lodash-es/_asciiSize.js +12 -0
- package/custom/node_modules/lodash-es/_asciiToArray.js +12 -0
- package/custom/node_modules/lodash-es/_asciiWords.js +15 -0
- package/custom/node_modules/lodash-es/_assignMergeValue.js +20 -0
- package/custom/node_modules/lodash-es/_assignValue.js +28 -0
- package/custom/node_modules/lodash-es/_assocIndexOf.js +21 -0
- package/custom/node_modules/lodash-es/_baseAggregator.js +21 -0
- package/custom/node_modules/lodash-es/_baseAssign.js +17 -0
- package/custom/node_modules/lodash-es/_baseAssignIn.js +17 -0
- package/custom/node_modules/lodash-es/_baseAssignValue.js +25 -0
- package/custom/node_modules/lodash-es/_baseAt.js +23 -0
- package/custom/node_modules/lodash-es/_baseClamp.js +22 -0
- package/custom/node_modules/lodash-es/_baseClone.js +166 -0
- package/custom/node_modules/lodash-es/_baseConforms.js +18 -0
- package/custom/node_modules/lodash-es/_baseConformsTo.js +27 -0
- package/custom/node_modules/lodash-es/_baseCreate.js +30 -0
- package/custom/node_modules/lodash-es/_baseDelay.js +21 -0
- package/custom/node_modules/lodash-es/_baseDifference.js +67 -0
- package/custom/node_modules/lodash-es/_baseEach.js +14 -0
- package/custom/node_modules/lodash-es/_baseEachRight.js +14 -0
- package/custom/node_modules/lodash-es/_baseEvery.js +21 -0
- package/custom/node_modules/lodash-es/_baseExtremum.js +32 -0
- package/custom/node_modules/lodash-es/_baseFill.js +32 -0
- package/custom/node_modules/lodash-es/_baseFilter.js +21 -0
- package/custom/node_modules/lodash-es/_baseFindIndex.js +24 -0
- package/custom/node_modules/lodash-es/_baseFindKey.js +23 -0
- package/custom/node_modules/lodash-es/_baseFlatten.js +38 -0
- package/custom/node_modules/lodash-es/_baseFor.js +16 -0
- package/custom/node_modules/lodash-es/_baseForOwn.js +16 -0
- package/custom/node_modules/lodash-es/_baseForOwnRight.js +16 -0
- package/custom/node_modules/lodash-es/_baseForRight.js +15 -0
- package/custom/node_modules/lodash-es/_baseFunctions.js +19 -0
- package/custom/node_modules/lodash-es/_baseGet.js +24 -0
- package/custom/node_modules/lodash-es/_baseGetAllKeys.js +20 -0
- package/custom/node_modules/lodash-es/_baseGetTag.js +28 -0
- package/custom/node_modules/lodash-es/_baseGt.js +14 -0
- package/custom/node_modules/lodash-es/_baseHas.js +19 -0
- package/custom/node_modules/lodash-es/_baseHasIn.js +13 -0
- package/custom/node_modules/lodash-es/_baseInRange.js +18 -0
- package/custom/node_modules/lodash-es/_baseIndexOf.js +20 -0
- package/custom/node_modules/lodash-es/_baseIndexOfWith.js +23 -0
- package/custom/node_modules/lodash-es/_baseIntersection.js +74 -0
- package/custom/node_modules/lodash-es/_baseInverter.js +21 -0
- package/custom/node_modules/lodash-es/_baseInvoke.js +24 -0
- package/custom/node_modules/lodash-es/_baseIsArguments.js +18 -0
- package/custom/node_modules/lodash-es/_baseIsArrayBuffer.js +17 -0
- package/custom/node_modules/lodash-es/_baseIsDate.js +18 -0
- package/custom/node_modules/lodash-es/_baseIsEqual.js +28 -0
- package/custom/node_modules/lodash-es/_baseIsEqualDeep.js +83 -0
- package/custom/node_modules/lodash-es/_baseIsMap.js +18 -0
- package/custom/node_modules/lodash-es/_baseIsMatch.js +62 -0
- package/custom/node_modules/lodash-es/_baseIsNaN.js +12 -0
- package/custom/node_modules/lodash-es/_baseIsNative.js +47 -0
- package/custom/node_modules/lodash-es/_baseIsRegExp.js +18 -0
- package/custom/node_modules/lodash-es/_baseIsSet.js +18 -0
- package/custom/node_modules/lodash-es/_baseIsTypedArray.js +60 -0
- package/custom/node_modules/lodash-es/_baseIteratee.js +31 -0
- package/custom/node_modules/lodash-es/_baseKeys.js +30 -0
- package/custom/node_modules/lodash-es/_baseKeysIn.js +33 -0
- package/custom/node_modules/lodash-es/_baseLodash.js +10 -0
- package/custom/node_modules/lodash-es/_baseLt.js +14 -0
- package/custom/node_modules/lodash-es/_baseMap.js +22 -0
- package/custom/node_modules/lodash-es/_baseMatches.js +22 -0
- package/custom/node_modules/lodash-es/_baseMatchesProperty.js +33 -0
- package/custom/node_modules/lodash-es/_baseMean.js +20 -0
- package/custom/node_modules/lodash-es/_baseMerge.js +42 -0
- package/custom/node_modules/lodash-es/_baseMergeDeep.js +94 -0
- package/custom/node_modules/lodash-es/_baseNth.js +20 -0
- package/custom/node_modules/lodash-es/_baseOrderBy.js +49 -0
- package/custom/node_modules/lodash-es/_basePick.js +19 -0
- package/custom/node_modules/lodash-es/_basePickBy.js +30 -0
- package/custom/node_modules/lodash-es/_baseProperty.js +14 -0
- package/custom/node_modules/lodash-es/_basePropertyDeep.js +16 -0
- package/custom/node_modules/lodash-es/_basePropertyOf.js +14 -0
- package/custom/node_modules/lodash-es/_basePullAll.js +51 -0
- package/custom/node_modules/lodash-es/_basePullAt.js +37 -0
- package/custom/node_modules/lodash-es/_baseRandom.js +18 -0
- package/custom/node_modules/lodash-es/_baseRange.js +28 -0
- package/custom/node_modules/lodash-es/_baseReduce.js +23 -0
- package/custom/node_modules/lodash-es/_baseRepeat.js +35 -0
- package/custom/node_modules/lodash-es/_baseRest.js +17 -0
- package/custom/node_modules/lodash-es/_baseSample.js +15 -0
- package/custom/node_modules/lodash-es/_baseSampleSize.js +18 -0
- package/custom/node_modules/lodash-es/_baseSet.js +51 -0
- package/custom/node_modules/lodash-es/_baseSetData.js +17 -0
- package/custom/node_modules/lodash-es/_baseSetToString.js +22 -0
- package/custom/node_modules/lodash-es/_baseShuffle.js +15 -0
- package/custom/node_modules/lodash-es/_baseSlice.js +31 -0
- package/custom/node_modules/lodash-es/_baseSome.js +22 -0
- package/custom/node_modules/lodash-es/_baseSortBy.js +21 -0
- package/custom/node_modules/lodash-es/_baseSortedIndex.js +42 -0
- package/custom/node_modules/lodash-es/_baseSortedIndexBy.js +67 -0
- package/custom/node_modules/lodash-es/_baseSortedUniq.js +30 -0
- package/custom/node_modules/lodash-es/_baseSum.js +24 -0
- package/custom/node_modules/lodash-es/_baseTimes.js +20 -0
- package/custom/node_modules/lodash-es/_baseToNumber.js +24 -0
- package/custom/node_modules/lodash-es/_baseToPairs.js +18 -0
- package/custom/node_modules/lodash-es/_baseToString.js +37 -0
- package/custom/node_modules/lodash-es/_baseTrim.js +19 -0
- package/custom/node_modules/lodash-es/_baseUnary.js +14 -0
- package/custom/node_modules/lodash-es/_baseUniq.js +72 -0
- package/custom/node_modules/lodash-es/_baseUnset.js +20 -0
- package/custom/node_modules/lodash-es/_baseUpdate.js +18 -0
- package/custom/node_modules/lodash-es/_baseValues.js +19 -0
- package/custom/node_modules/lodash-es/_baseWhile.js +26 -0
- package/custom/node_modules/lodash-es/_baseWrapperValue.js +25 -0
- package/custom/node_modules/lodash-es/_baseXor.js +36 -0
- package/custom/node_modules/lodash-es/_baseZipObject.js +23 -0
- package/custom/node_modules/lodash-es/_cacheHas.js +13 -0
- package/custom/node_modules/lodash-es/_castArrayLikeObject.js +14 -0
- package/custom/node_modules/lodash-es/_castFunction.js +14 -0
- package/custom/node_modules/lodash-es/_castPath.js +21 -0
- package/custom/node_modules/lodash-es/_castRest.js +14 -0
- package/custom/node_modules/lodash-es/_castSlice.js +18 -0
- package/custom/node_modules/lodash-es/_charsEndIndex.js +19 -0
- package/custom/node_modules/lodash-es/_charsStartIndex.js +20 -0
- package/custom/node_modules/lodash-es/_cloneArrayBuffer.js +16 -0
- package/custom/node_modules/lodash-es/_cloneBuffer.js +35 -0
- package/custom/node_modules/lodash-es/_cloneDataView.js +16 -0
- package/custom/node_modules/lodash-es/_cloneMap.js +22 -0
- package/custom/node_modules/lodash-es/_cloneRegExp.js +17 -0
- package/custom/node_modules/lodash-es/_cloneSet.js +22 -0
- package/custom/node_modules/lodash-es/_cloneSymbol.js +18 -0
- package/custom/node_modules/lodash-es/_cloneTypedArray.js +16 -0
- package/custom/node_modules/lodash-es/_compareAscending.js +41 -0
- package/custom/node_modules/lodash-es/_compareMultiple.js +44 -0
- package/custom/node_modules/lodash-es/_composeArgs.js +39 -0
- package/custom/node_modules/lodash-es/_composeArgsRight.js +41 -0
- package/custom/node_modules/lodash-es/_copyArray.js +20 -0
- package/custom/node_modules/lodash-es/_copyObject.js +40 -0
- package/custom/node_modules/lodash-es/_copySymbols.js +16 -0
- package/custom/node_modules/lodash-es/_copySymbolsIn.js +16 -0
- package/custom/node_modules/lodash-es/_coreJsData.js +6 -0
- package/custom/node_modules/lodash-es/_countHolders.js +21 -0
- package/custom/node_modules/lodash-es/_createAggregator.js +23 -0
- package/custom/node_modules/lodash-es/_createAssigner.js +37 -0
- package/custom/node_modules/lodash-es/_createBaseEach.js +32 -0
- package/custom/node_modules/lodash-es/_createBaseFor.js +25 -0
- package/custom/node_modules/lodash-es/_createBind.js +28 -0
- package/custom/node_modules/lodash-es/_createCaseFirst.js +33 -0
- package/custom/node_modules/lodash-es/_createCompounder.js +24 -0
- package/custom/node_modules/lodash-es/_createCtor.js +37 -0
- package/custom/node_modules/lodash-es/_createCurry.js +46 -0
- package/custom/node_modules/lodash-es/_createFind.js +25 -0
- package/custom/node_modules/lodash-es/_createFlow.js +78 -0
- package/custom/node_modules/lodash-es/_createHybrid.js +92 -0
- package/custom/node_modules/lodash-es/_createInverter.js +17 -0
- package/custom/node_modules/lodash-es/_createMathOperation.js +38 -0
- package/custom/node_modules/lodash-es/_createOver.js +27 -0
- package/custom/node_modules/lodash-es/_createPadding.js +33 -0
- package/custom/node_modules/lodash-es/_createPartial.js +43 -0
- package/custom/node_modules/lodash-es/_createRange.js +30 -0
- package/custom/node_modules/lodash-es/_createRecurry.js +56 -0
- package/custom/node_modules/lodash-es/_createRelationalOperation.js +20 -0
- package/custom/node_modules/lodash-es/_createRound.js +35 -0
- package/custom/node_modules/lodash-es/_createSet.js +19 -0
- package/custom/node_modules/lodash-es/_createToPairs.js +30 -0
- package/custom/node_modules/lodash-es/_createWrap.js +106 -0
- package/custom/node_modules/lodash-es/_customDefaultsAssignIn.js +29 -0
- package/custom/node_modules/lodash-es/_customDefaultsMerge.js +28 -0
- package/custom/node_modules/lodash-es/_customOmitClone.js +16 -0
- package/custom/node_modules/lodash-es/_deburrLetter.js +71 -0
- package/custom/node_modules/lodash-es/_defineProperty.js +11 -0
- package/custom/node_modules/lodash-es/_equalArrays.js +84 -0
- package/custom/node_modules/lodash-es/_equalByTag.js +112 -0
- package/custom/node_modules/lodash-es/_equalObjects.js +90 -0
- package/custom/node_modules/lodash-es/_escapeHtmlChar.js +21 -0
- package/custom/node_modules/lodash-es/_escapeStringChar.js +22 -0
- package/custom/node_modules/lodash-es/_flatRest.js +16 -0
- package/custom/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/custom/node_modules/lodash-es/_getAllKeys.js +16 -0
- package/custom/node_modules/lodash-es/_getAllKeysIn.js +17 -0
- package/custom/node_modules/lodash-es/_getData.js +15 -0
- package/custom/node_modules/lodash-es/_getFuncName.js +31 -0
- package/custom/node_modules/lodash-es/_getHolder.js +13 -0
- package/custom/node_modules/lodash-es/_getMapData.js +18 -0
- package/custom/node_modules/lodash-es/_getMatchData.js +24 -0
- package/custom/node_modules/lodash-es/_getNative.js +17 -0
- package/custom/node_modules/lodash-es/_getPrototype.js +6 -0
- package/custom/node_modules/lodash-es/_getRawTag.js +46 -0
- package/custom/node_modules/lodash-es/_getSymbols.js +30 -0
- package/custom/node_modules/lodash-es/_getSymbolsIn.js +25 -0
- package/custom/node_modules/lodash-es/_getTag.js +58 -0
- package/custom/node_modules/lodash-es/_getValue.js +13 -0
- package/custom/node_modules/lodash-es/_getView.js +33 -0
- package/custom/node_modules/lodash-es/_getWrapDetails.js +17 -0
- package/custom/node_modules/lodash-es/_hasPath.js +39 -0
- package/custom/node_modules/lodash-es/_hasUnicode.js +26 -0
- package/custom/node_modules/lodash-es/_hasUnicodeWord.js +15 -0
- package/custom/node_modules/lodash-es/_hashClear.js +15 -0
- package/custom/node_modules/lodash-es/_hashDelete.js +17 -0
- package/custom/node_modules/lodash-es/_hashGet.js +30 -0
- package/custom/node_modules/lodash-es/_hashHas.js +23 -0
- package/custom/node_modules/lodash-es/_hashSet.js +23 -0
- package/custom/node_modules/lodash-es/_initCloneArray.js +26 -0
- package/custom/node_modules/lodash-es/_initCloneByTag.js +77 -0
- package/custom/node_modules/lodash-es/_initCloneObject.js +18 -0
- package/custom/node_modules/lodash-es/_insertWrapDetails.js +23 -0
- package/custom/node_modules/lodash-es/_isFlattenable.js +20 -0
- package/custom/node_modules/lodash-es/_isIndex.js +25 -0
- package/custom/node_modules/lodash-es/_isIterateeCall.js +30 -0
- package/custom/node_modules/lodash-es/_isKey.js +29 -0
- package/custom/node_modules/lodash-es/_isKeyable.js +15 -0
- package/custom/node_modules/lodash-es/_isLaziable.js +28 -0
- package/custom/node_modules/lodash-es/_isMaskable.js +14 -0
- package/custom/node_modules/lodash-es/_isMasked.js +20 -0
- package/custom/node_modules/lodash-es/_isPrototype.js +18 -0
- package/custom/node_modules/lodash-es/_isStrictComparable.js +15 -0
- package/custom/node_modules/lodash-es/_iteratorToArray.js +18 -0
- package/custom/node_modules/lodash-es/_lazyClone.js +23 -0
- package/custom/node_modules/lodash-es/_lazyReverse.js +23 -0
- package/custom/node_modules/lodash-es/_lazyValue.js +69 -0
- package/custom/node_modules/lodash-es/_listCacheClear.js +13 -0
- package/custom/node_modules/lodash-es/_listCacheDelete.js +35 -0
- package/custom/node_modules/lodash-es/_listCacheGet.js +19 -0
- package/custom/node_modules/lodash-es/_listCacheHas.js +16 -0
- package/custom/node_modules/lodash-es/_listCacheSet.js +26 -0
- package/custom/node_modules/lodash-es/_mapCacheClear.js +21 -0
- package/custom/node_modules/lodash-es/_mapCacheDelete.js +18 -0
- package/custom/node_modules/lodash-es/_mapCacheGet.js +16 -0
- package/custom/node_modules/lodash-es/_mapCacheHas.js +16 -0
- package/custom/node_modules/lodash-es/_mapCacheSet.js +22 -0
- package/custom/node_modules/lodash-es/_mapToArray.js +18 -0
- package/custom/node_modules/lodash-es/_matchesStrictComparable.js +20 -0
- package/custom/node_modules/lodash-es/_memoizeCapped.js +26 -0
- package/custom/node_modules/lodash-es/_mergeData.js +90 -0
- package/custom/node_modules/lodash-es/_metaMap.js +6 -0
- package/custom/node_modules/lodash-es/_nativeCreate.js +6 -0
- package/custom/node_modules/lodash-es/_nativeKeys.js +6 -0
- package/custom/node_modules/lodash-es/_nativeKeysIn.js +20 -0
- package/custom/node_modules/lodash-es/_nodeUtil.js +30 -0
- package/custom/node_modules/lodash-es/_objectToString.js +22 -0
- package/custom/node_modules/lodash-es/_overArg.js +15 -0
- package/custom/node_modules/lodash-es/_overRest.js +36 -0
- package/custom/node_modules/lodash-es/_parent.js +16 -0
- package/custom/node_modules/lodash-es/_reEscape.js +4 -0
- package/custom/node_modules/lodash-es/_reEvaluate.js +4 -0
- package/custom/node_modules/lodash-es/_reInterpolate.js +4 -0
- package/custom/node_modules/lodash-es/_realNames.js +4 -0
- package/custom/node_modules/lodash-es/_reorder.js +29 -0
- package/custom/node_modules/lodash-es/_replaceHolders.js +29 -0
- package/custom/node_modules/lodash-es/_root.js +9 -0
- package/custom/node_modules/lodash-es/_safeGet.js +21 -0
- package/custom/node_modules/lodash-es/_setCacheAdd.js +19 -0
- package/custom/node_modules/lodash-es/_setCacheHas.js +14 -0
- package/custom/node_modules/lodash-es/_setData.js +20 -0
- package/custom/node_modules/lodash-es/_setToArray.js +18 -0
- package/custom/node_modules/lodash-es/_setToPairs.js +18 -0
- package/custom/node_modules/lodash-es/_setToString.js +14 -0
- package/custom/node_modules/lodash-es/_setWrapToString.js +21 -0
- package/custom/node_modules/lodash-es/_shortOut.js +37 -0
- package/custom/node_modules/lodash-es/_shuffleSelf.js +28 -0
- package/custom/node_modules/lodash-es/_stackClear.js +15 -0
- package/custom/node_modules/lodash-es/_stackDelete.js +18 -0
- package/custom/node_modules/lodash-es/_stackGet.js +14 -0
- package/custom/node_modules/lodash-es/_stackHas.js +14 -0
- package/custom/node_modules/lodash-es/_stackSet.js +34 -0
- package/custom/node_modules/lodash-es/_strictIndexOf.js +23 -0
- package/custom/node_modules/lodash-es/_strictLastIndexOf.js +21 -0
- package/custom/node_modules/lodash-es/_stringSize.js +18 -0
- package/custom/node_modules/lodash-es/_stringToArray.js +18 -0
- package/custom/node_modules/lodash-es/_stringToPath.js +27 -0
- package/custom/node_modules/lodash-es/_toKey.js +21 -0
- package/custom/node_modules/lodash-es/_toSource.js +26 -0
- package/custom/node_modules/lodash-es/_trimmedEndIndex.js +19 -0
- package/custom/node_modules/lodash-es/_unescapeHtmlChar.js +21 -0
- package/custom/node_modules/lodash-es/_unicodeSize.js +44 -0
- package/custom/node_modules/lodash-es/_unicodeToArray.js +40 -0
- package/custom/node_modules/lodash-es/_unicodeWords.js +69 -0
- package/custom/node_modules/lodash-es/_updateWrapDetails.js +46 -0
- package/custom/node_modules/lodash-es/_wrapperClone.js +23 -0
- package/custom/node_modules/lodash-es/add.js +22 -0
- package/custom/node_modules/lodash-es/after.js +42 -0
- package/custom/node_modules/lodash-es/array.default.js +81 -0
- package/custom/node_modules/lodash-es/array.js +66 -0
- package/custom/node_modules/lodash-es/ary.js +29 -0
- package/custom/node_modules/lodash-es/assign.js +58 -0
- package/custom/node_modules/lodash-es/assignIn.js +40 -0
- package/custom/node_modules/lodash-es/assignInWith.js +38 -0
- package/custom/node_modules/lodash-es/assignWith.js +37 -0
- package/custom/node_modules/lodash-es/at.js +23 -0
- package/custom/node_modules/lodash-es/attempt.js +35 -0
- package/custom/node_modules/lodash-es/before.js +40 -0
- package/custom/node_modules/lodash-es/bind.js +57 -0
- package/custom/node_modules/lodash-es/bindAll.js +41 -0
- package/custom/node_modules/lodash-es/bindKey.js +68 -0
- package/custom/node_modules/lodash-es/camelCase.js +29 -0
- package/custom/node_modules/lodash-es/capitalize.js +23 -0
- package/custom/node_modules/lodash-es/castArray.js +44 -0
- package/custom/node_modules/lodash-es/ceil.js +26 -0
- package/custom/node_modules/lodash-es/chain.js +38 -0
- package/custom/node_modules/lodash-es/chunk.js +50 -0
- package/custom/node_modules/lodash-es/clamp.js +39 -0
- package/custom/node_modules/lodash-es/clone.js +36 -0
- package/custom/node_modules/lodash-es/cloneDeep.js +29 -0
- package/custom/node_modules/lodash-es/cloneDeepWith.js +40 -0
- package/custom/node_modules/lodash-es/cloneWith.js +42 -0
- package/custom/node_modules/lodash-es/collection.default.js +37 -0
- package/custom/node_modules/lodash-es/collection.js +29 -0
- package/custom/node_modules/lodash-es/commit.js +33 -0
- package/custom/node_modules/lodash-es/compact.js +31 -0
- package/custom/node_modules/lodash-es/concat.js +43 -0
- package/custom/node_modules/lodash-es/cond.js +60 -0
- package/custom/node_modules/lodash-es/conforms.js +35 -0
- package/custom/node_modules/lodash-es/conformsTo.js +32 -0
- package/custom/node_modules/lodash-es/constant.js +26 -0
- package/custom/node_modules/lodash-es/countBy.js +40 -0
- package/custom/node_modules/lodash-es/create.js +43 -0
- package/custom/node_modules/lodash-es/curry.js +57 -0
- package/custom/node_modules/lodash-es/curryRight.js +54 -0
- package/custom/node_modules/lodash-es/date.default.js +5 -0
- package/custom/node_modules/lodash-es/date.js +2 -0
- package/custom/node_modules/lodash-es/debounce.js +191 -0
- package/custom/node_modules/lodash-es/deburr.js +45 -0
- package/custom/node_modules/lodash-es/defaultTo.js +25 -0
- package/custom/node_modules/lodash-es/defaults.js +64 -0
- package/custom/node_modules/lodash-es/defaultsDeep.js +30 -0
- package/custom/node_modules/lodash-es/defer.js +26 -0
- package/custom/node_modules/lodash-es/delay.js +28 -0
- package/custom/node_modules/lodash-es/difference.js +33 -0
- package/custom/node_modules/lodash-es/differenceBy.js +44 -0
- package/custom/node_modules/lodash-es/differenceWith.js +40 -0
- package/custom/node_modules/lodash-es/divide.js +22 -0
- package/custom/node_modules/lodash-es/drop.js +38 -0
- package/custom/node_modules/lodash-es/dropRight.js +39 -0
- package/custom/node_modules/lodash-es/dropRightWhile.js +45 -0
- package/custom/node_modules/lodash-es/dropWhile.js +45 -0
- package/custom/node_modules/lodash-es/each.js +1 -0
- package/custom/node_modules/lodash-es/eachRight.js +1 -0
- package/custom/node_modules/lodash-es/endsWith.js +43 -0
- package/custom/node_modules/lodash-es/entries.js +1 -0
- package/custom/node_modules/lodash-es/entriesIn.js +1 -0
- package/custom/node_modules/lodash-es/eq.js +37 -0
- package/custom/node_modules/lodash-es/escape.js +43 -0
- package/custom/node_modules/lodash-es/escapeRegExp.js +32 -0
- package/custom/node_modules/lodash-es/every.js +56 -0
- package/custom/node_modules/lodash-es/extend.js +1 -0
- package/custom/node_modules/lodash-es/extendWith.js +1 -0
- package/custom/node_modules/lodash-es/fill.js +45 -0
- package/custom/node_modules/lodash-es/filter.js +52 -0
- package/custom/node_modules/lodash-es/find.js +42 -0
- package/custom/node_modules/lodash-es/findIndex.js +55 -0
- package/custom/node_modules/lodash-es/findKey.js +44 -0
- package/custom/node_modules/lodash-es/findLast.js +25 -0
- package/custom/node_modules/lodash-es/findLastIndex.js +59 -0
- package/custom/node_modules/lodash-es/findLastKey.js +44 -0
- package/custom/node_modules/lodash-es/first.js +1 -0
- package/custom/node_modules/lodash-es/flake.lock +40 -0
- package/custom/node_modules/lodash-es/flake.nix +20 -0
- package/custom/node_modules/lodash-es/flatMap.js +29 -0
- package/custom/node_modules/lodash-es/flatMapDeep.js +31 -0
- package/custom/node_modules/lodash-es/flatMapDepth.js +31 -0
- package/custom/node_modules/lodash-es/flatten.js +22 -0
- package/custom/node_modules/lodash-es/flattenDeep.js +25 -0
- package/custom/node_modules/lodash-es/flattenDepth.js +33 -0
- package/custom/node_modules/lodash-es/flip.js +28 -0
- package/custom/node_modules/lodash-es/floor.js +26 -0
- package/custom/node_modules/lodash-es/flow.js +27 -0
- package/custom/node_modules/lodash-es/flowRight.js +26 -0
- package/custom/node_modules/lodash-es/forEach.js +41 -0
- package/custom/node_modules/lodash-es/forEachRight.js +31 -0
- package/custom/node_modules/lodash-es/forIn.js +39 -0
- package/custom/node_modules/lodash-es/forInRight.js +37 -0
- package/custom/node_modules/lodash-es/forOwn.js +36 -0
- package/custom/node_modules/lodash-es/forOwnRight.js +34 -0
- package/custom/node_modules/lodash-es/fromPairs.js +28 -0
- package/custom/node_modules/lodash-es/function.default.js +31 -0
- package/custom/node_modules/lodash-es/function.js +24 -0
- package/custom/node_modules/lodash-es/functions.js +31 -0
- package/custom/node_modules/lodash-es/functionsIn.js +31 -0
- package/custom/node_modules/lodash-es/get.js +33 -0
- package/custom/node_modules/lodash-es/groupBy.js +41 -0
- package/custom/node_modules/lodash-es/gt.js +29 -0
- package/custom/node_modules/lodash-es/gte.js +30 -0
- package/custom/node_modules/lodash-es/has.js +35 -0
- package/custom/node_modules/lodash-es/hasIn.js +34 -0
- package/custom/node_modules/lodash-es/head.js +23 -0
- package/custom/node_modules/lodash-es/identity.js +21 -0
- package/custom/node_modules/lodash-es/inRange.js +55 -0
- package/custom/node_modules/lodash-es/includes.js +53 -0
- package/custom/node_modules/lodash-es/indexOf.js +42 -0
- package/custom/node_modules/lodash-es/initial.js +22 -0
- package/custom/node_modules/lodash-es/intersection.js +30 -0
- package/custom/node_modules/lodash-es/intersectionBy.js +45 -0
- package/custom/node_modules/lodash-es/intersectionWith.js +41 -0
- package/custom/node_modules/lodash-es/invert.js +42 -0
- package/custom/node_modules/lodash-es/invertBy.js +56 -0
- package/custom/node_modules/lodash-es/invoke.js +24 -0
- package/custom/node_modules/lodash-es/invokeMap.js +41 -0
- package/custom/node_modules/lodash-es/isArguments.js +36 -0
- package/custom/node_modules/lodash-es/isArray.js +26 -0
- package/custom/node_modules/lodash-es/isArrayBuffer.js +27 -0
- package/custom/node_modules/lodash-es/isArrayLike.js +33 -0
- package/custom/node_modules/lodash-es/isArrayLikeObject.js +33 -0
- package/custom/node_modules/lodash-es/isBoolean.js +29 -0
- package/custom/node_modules/lodash-es/isBuffer.js +38 -0
- package/custom/node_modules/lodash-es/isDate.js +27 -0
- package/custom/node_modules/lodash-es/isElement.js +25 -0
- package/custom/node_modules/lodash-es/isEmpty.js +77 -0
- package/custom/node_modules/lodash-es/isEqual.js +35 -0
- package/custom/node_modules/lodash-es/isEqualWith.js +41 -0
- package/custom/node_modules/lodash-es/isError.js +36 -0
- package/custom/node_modules/lodash-es/isFinite.js +36 -0
- package/custom/node_modules/lodash-es/isFunction.js +37 -0
- package/custom/node_modules/lodash-es/isInteger.js +33 -0
- package/custom/node_modules/lodash-es/isLength.js +35 -0
- package/custom/node_modules/lodash-es/isMap.js +27 -0
- package/custom/node_modules/lodash-es/isMatch.js +36 -0
- package/custom/node_modules/lodash-es/isMatchWith.js +41 -0
- package/custom/node_modules/lodash-es/isNaN.js +38 -0
- package/custom/node_modules/lodash-es/isNative.js +40 -0
- package/custom/node_modules/lodash-es/isNil.js +25 -0
- package/custom/node_modules/lodash-es/isNull.js +22 -0
- package/custom/node_modules/lodash-es/isNumber.js +38 -0
- package/custom/node_modules/lodash-es/isObject.js +31 -0
- package/custom/node_modules/lodash-es/isObjectLike.js +29 -0
- package/custom/node_modules/lodash-es/isPlainObject.js +62 -0
- package/custom/node_modules/lodash-es/isRegExp.js +27 -0
- package/custom/node_modules/lodash-es/isSafeInteger.js +37 -0
- package/custom/node_modules/lodash-es/isSet.js +27 -0
- package/custom/node_modules/lodash-es/isString.js +30 -0
- package/custom/node_modules/lodash-es/isSymbol.js +29 -0
- package/custom/node_modules/lodash-es/isTypedArray.js +27 -0
- package/custom/node_modules/lodash-es/isUndefined.js +22 -0
- package/custom/node_modules/lodash-es/isWeakMap.js +28 -0
- package/custom/node_modules/lodash-es/isWeakSet.js +28 -0
- package/custom/node_modules/lodash-es/iteratee.js +53 -0
- package/custom/node_modules/lodash-es/join.js +26 -0
- package/custom/node_modules/lodash-es/kebabCase.js +28 -0
- package/custom/node_modules/lodash-es/keyBy.js +36 -0
- package/custom/node_modules/lodash-es/keys.js +37 -0
- package/custom/node_modules/lodash-es/keysIn.js +32 -0
- package/custom/node_modules/lodash-es/lang.default.js +71 -0
- package/custom/node_modules/lodash-es/lang.js +57 -0
- package/custom/node_modules/lodash-es/last.js +20 -0
- package/custom/node_modules/lodash-es/lastIndexOf.js +46 -0
- package/custom/node_modules/lodash-es/lodash.default.js +643 -0
- package/custom/node_modules/lodash-es/lodash.js +331 -0
- package/custom/node_modules/lodash-es/lowerCase.js +27 -0
- package/custom/node_modules/lodash-es/lowerFirst.js +22 -0
- package/custom/node_modules/lodash-es/lt.js +29 -0
- package/custom/node_modules/lodash-es/lte.js +30 -0
- package/custom/node_modules/lodash-es/map.js +53 -0
- package/custom/node_modules/lodash-es/mapKeys.js +36 -0
- package/custom/node_modules/lodash-es/mapValues.js +43 -0
- package/custom/node_modules/lodash-es/matches.js +46 -0
- package/custom/node_modules/lodash-es/matchesProperty.js +44 -0
- package/custom/node_modules/lodash-es/math.default.js +21 -0
- package/custom/node_modules/lodash-es/math.js +16 -0
- package/custom/node_modules/lodash-es/max.js +29 -0
- package/custom/node_modules/lodash-es/maxBy.js +34 -0
- package/custom/node_modules/lodash-es/mean.js +22 -0
- package/custom/node_modules/lodash-es/meanBy.js +31 -0
- package/custom/node_modules/lodash-es/memoize.js +73 -0
- package/custom/node_modules/lodash-es/merge.js +39 -0
- package/custom/node_modules/lodash-es/mergeWith.js +39 -0
- package/custom/node_modules/lodash-es/method.js +34 -0
- package/custom/node_modules/lodash-es/methodOf.js +33 -0
- package/custom/node_modules/lodash-es/min.js +29 -0
- package/custom/node_modules/lodash-es/minBy.js +34 -0
- package/custom/node_modules/lodash-es/mixin.js +74 -0
- package/custom/node_modules/lodash-es/multiply.js +22 -0
- package/custom/node_modules/lodash-es/negate.js +40 -0
- package/custom/node_modules/lodash-es/next.js +35 -0
- package/custom/node_modules/lodash-es/noop.js +17 -0
- package/custom/node_modules/lodash-es/now.js +23 -0
- package/custom/node_modules/lodash-es/nth.js +29 -0
- package/custom/node_modules/lodash-es/nthArg.js +32 -0
- package/custom/node_modules/lodash-es/number.default.js +7 -0
- package/custom/node_modules/lodash-es/number.js +4 -0
- package/custom/node_modules/lodash-es/object.default.js +60 -0
- package/custom/node_modules/lodash-es/object.js +48 -0
- package/custom/node_modules/lodash-es/omit.js +57 -0
- package/custom/node_modules/lodash-es/omitBy.js +29 -0
- package/custom/node_modules/lodash-es/once.js +25 -0
- package/custom/node_modules/lodash-es/orderBy.js +47 -0
- package/custom/node_modules/lodash-es/over.js +24 -0
- package/custom/node_modules/lodash-es/overArgs.js +61 -0
- package/custom/node_modules/lodash-es/overEvery.js +34 -0
- package/custom/node_modules/lodash-es/overSome.js +37 -0
- package/custom/node_modules/lodash-es/package.json +21 -0
- package/custom/node_modules/lodash-es/pad.js +49 -0
- package/custom/node_modules/lodash-es/padEnd.js +39 -0
- package/custom/node_modules/lodash-es/padStart.js +39 -0
- package/custom/node_modules/lodash-es/parseInt.js +43 -0
- package/custom/node_modules/lodash-es/partial.js +50 -0
- package/custom/node_modules/lodash-es/partialRight.js +49 -0
- package/custom/node_modules/lodash-es/partition.js +43 -0
- package/custom/node_modules/lodash-es/pick.js +25 -0
- package/custom/node_modules/lodash-es/pickBy.js +37 -0
- package/custom/node_modules/lodash-es/plant.js +48 -0
- package/custom/node_modules/lodash-es/property.js +32 -0
- package/custom/node_modules/lodash-es/propertyOf.js +30 -0
- package/custom/node_modules/lodash-es/pull.js +29 -0
- package/custom/node_modules/lodash-es/pullAll.js +29 -0
- package/custom/node_modules/lodash-es/pullAllBy.js +33 -0
- package/custom/node_modules/lodash-es/pullAllWith.js +32 -0
- package/custom/node_modules/lodash-es/pullAt.js +43 -0
- package/custom/node_modules/lodash-es/random.js +82 -0
- package/custom/node_modules/lodash-es/range.js +46 -0
- package/custom/node_modules/lodash-es/rangeRight.js +41 -0
- package/custom/node_modules/lodash-es/rearg.js +33 -0
- package/custom/node_modules/lodash-es/reduce.js +51 -0
- package/custom/node_modules/lodash-es/reduceRight.js +36 -0
- package/custom/node_modules/lodash-es/reject.js +46 -0
- package/custom/node_modules/lodash-es/release.md +48 -0
- package/custom/node_modules/lodash-es/remove.js +53 -0
- package/custom/node_modules/lodash-es/repeat.js +37 -0
- package/custom/node_modules/lodash-es/replace.js +29 -0
- package/custom/node_modules/lodash-es/rest.js +40 -0
- package/custom/node_modules/lodash-es/result.js +56 -0
- package/custom/node_modules/lodash-es/reverse.js +34 -0
- package/custom/node_modules/lodash-es/round.js +26 -0
- package/custom/node_modules/lodash-es/sample.js +24 -0
- package/custom/node_modules/lodash-es/sampleSize.js +37 -0
- package/custom/node_modules/lodash-es/seq.default.js +20 -0
- package/custom/node_modules/lodash-es/seq.js +15 -0
- package/custom/node_modules/lodash-es/set.js +35 -0
- package/custom/node_modules/lodash-es/setWith.js +32 -0
- package/custom/node_modules/lodash-es/shuffle.js +25 -0
- package/custom/node_modules/lodash-es/size.js +46 -0
- package/custom/node_modules/lodash-es/slice.js +37 -0
- package/custom/node_modules/lodash-es/snakeCase.js +28 -0
- package/custom/node_modules/lodash-es/some.js +51 -0
- package/custom/node_modules/lodash-es/sortBy.js +48 -0
- package/custom/node_modules/lodash-es/sortedIndex.js +24 -0
- package/custom/node_modules/lodash-es/sortedIndexBy.js +33 -0
- package/custom/node_modules/lodash-es/sortedIndexOf.js +31 -0
- package/custom/node_modules/lodash-es/sortedLastIndex.js +25 -0
- package/custom/node_modules/lodash-es/sortedLastIndexBy.js +33 -0
- package/custom/node_modules/lodash-es/sortedLastIndexOf.js +31 -0
- package/custom/node_modules/lodash-es/sortedUniq.js +24 -0
- package/custom/node_modules/lodash-es/sortedUniqBy.js +26 -0
- package/custom/node_modules/lodash-es/split.js +52 -0
- package/custom/node_modules/lodash-es/spread.js +63 -0
- package/custom/node_modules/lodash-es/startCase.js +29 -0
- package/custom/node_modules/lodash-es/startsWith.js +39 -0
- package/custom/node_modules/lodash-es/string.default.js +41 -0
- package/custom/node_modules/lodash-es/string.js +32 -0
- package/custom/node_modules/lodash-es/stubArray.js +23 -0
- package/custom/node_modules/lodash-es/stubFalse.js +18 -0
- package/custom/node_modules/lodash-es/stubObject.js +23 -0
- package/custom/node_modules/lodash-es/stubString.js +18 -0
- package/custom/node_modules/lodash-es/stubTrue.js +18 -0
- package/custom/node_modules/lodash-es/subtract.js +22 -0
- package/custom/node_modules/lodash-es/sum.js +24 -0
- package/custom/node_modules/lodash-es/sumBy.js +33 -0
- package/custom/node_modules/lodash-es/tail.js +22 -0
- package/custom/node_modules/lodash-es/take.js +37 -0
- package/custom/node_modules/lodash-es/takeRight.js +39 -0
- package/custom/node_modules/lodash-es/takeRightWhile.js +45 -0
- package/custom/node_modules/lodash-es/takeWhile.js +45 -0
- package/custom/node_modules/lodash-es/tap.js +29 -0
- package/custom/node_modules/lodash-es/template.js +272 -0
- package/custom/node_modules/lodash-es/templateSettings.js +67 -0
- package/custom/node_modules/lodash-es/throttle.js +69 -0
- package/custom/node_modules/lodash-es/thru.js +28 -0
- package/custom/node_modules/lodash-es/times.js +51 -0
- package/custom/node_modules/lodash-es/toArray.js +58 -0
- package/custom/node_modules/lodash-es/toFinite.js +42 -0
- package/custom/node_modules/lodash-es/toInteger.js +36 -0
- package/custom/node_modules/lodash-es/toIterator.js +23 -0
- package/custom/node_modules/lodash-es/toJSON.js +1 -0
- package/custom/node_modules/lodash-es/toLength.js +38 -0
- package/custom/node_modules/lodash-es/toLower.js +28 -0
- package/custom/node_modules/lodash-es/toNumber.js +64 -0
- package/custom/node_modules/lodash-es/toPairs.js +30 -0
- package/custom/node_modules/lodash-es/toPairsIn.js +30 -0
- package/custom/node_modules/lodash-es/toPath.js +33 -0
- package/custom/node_modules/lodash-es/toPlainObject.js +32 -0
- package/custom/node_modules/lodash-es/toSafeInteger.js +37 -0
- package/custom/node_modules/lodash-es/toString.js +28 -0
- package/custom/node_modules/lodash-es/toUpper.js +28 -0
- package/custom/node_modules/lodash-es/transform.js +65 -0
- package/custom/node_modules/lodash-es/trim.js +47 -0
- package/custom/node_modules/lodash-es/trimEnd.js +41 -0
- package/custom/node_modules/lodash-es/trimStart.js +43 -0
- package/custom/node_modules/lodash-es/truncate.js +111 -0
- package/custom/node_modules/lodash-es/unary.js +22 -0
- package/custom/node_modules/lodash-es/unescape.js +34 -0
- package/custom/node_modules/lodash-es/union.js +26 -0
- package/custom/node_modules/lodash-es/unionBy.js +39 -0
- package/custom/node_modules/lodash-es/unionWith.js +34 -0
- package/custom/node_modules/lodash-es/uniq.js +25 -0
- package/custom/node_modules/lodash-es/uniqBy.js +31 -0
- package/custom/node_modules/lodash-es/uniqWith.js +28 -0
- package/custom/node_modules/lodash-es/uniqueId.js +28 -0
- package/custom/node_modules/lodash-es/unset.js +34 -0
- package/custom/node_modules/lodash-es/unzip.js +45 -0
- package/custom/node_modules/lodash-es/unzipWith.js +39 -0
- package/custom/node_modules/lodash-es/update.js +35 -0
- package/custom/node_modules/lodash-es/updateWith.js +33 -0
- package/custom/node_modules/lodash-es/upperCase.js +27 -0
- package/custom/node_modules/lodash-es/upperFirst.js +22 -0
- package/custom/node_modules/lodash-es/util.default.js +42 -0
- package/custom/node_modules/lodash-es/util.js +33 -0
- package/custom/node_modules/lodash-es/value.js +1 -0
- package/custom/node_modules/lodash-es/valueOf.js +1 -0
- package/custom/node_modules/lodash-es/values.js +34 -0
- package/custom/node_modules/lodash-es/valuesIn.js +32 -0
- package/custom/node_modules/lodash-es/without.js +31 -0
- package/custom/node_modules/lodash-es/words.js +35 -0
- package/custom/node_modules/lodash-es/wrap.js +30 -0
- package/custom/node_modules/lodash-es/wrapperAt.js +48 -0
- package/custom/node_modules/lodash-es/wrapperChain.js +34 -0
- package/custom/node_modules/lodash-es/wrapperLodash.js +147 -0
- package/custom/node_modules/lodash-es/wrapperReverse.js +44 -0
- package/custom/node_modules/lodash-es/wrapperValue.js +21 -0
- package/custom/node_modules/lodash-es/xor.js +28 -0
- package/custom/node_modules/lodash-es/xorBy.js +39 -0
- package/custom/node_modules/lodash-es/xorWith.js +34 -0
- package/custom/node_modules/lodash-es/zip.js +22 -0
- package/custom/node_modules/lodash-es/zipObject.js +24 -0
- package/custom/node_modules/lodash-es/zipObjectDeep.js +23 -0
- package/custom/node_modules/lodash-es/zipWith.js +32 -0
- package/custom/node_modules/lodash.clonedeep/LICENSE +47 -0
- package/custom/node_modules/lodash.clonedeep/README.md +18 -0
- package/custom/node_modules/lodash.clonedeep/index.js +1748 -0
- package/custom/node_modules/lodash.clonedeep/package.json +17 -0
- package/custom/node_modules/lodash.isequal/LICENSE +47 -0
- package/custom/node_modules/lodash.isequal/README.md +18 -0
- package/custom/node_modules/lodash.isequal/index.js +1848 -0
- package/custom/node_modules/lodash.isequal/package.json +16 -0
- package/custom/node_modules/parchment/LICENSE +30 -0
- package/custom/node_modules/parchment/README.md +271 -0
- package/custom/node_modules/parchment/dist/parchment.d.ts +453 -0
- package/custom/node_modules/parchment/dist/parchment.js +847 -0
- package/custom/node_modules/parchment/dist/parchment.js.map +1 -0
- package/custom/node_modules/parchment/dist/parchment.umd.cjs +2 -0
- package/custom/node_modules/parchment/dist/parchment.umd.cjs.map +1 -0
- package/custom/node_modules/parchment/package.json +53 -0
- package/custom/node_modules/parchment/src/attributor/attributor.ts +62 -0
- package/custom/node_modules/parchment/src/attributor/class.ts +43 -0
- package/custom/node_modules/parchment/src/attributor/store.ts +79 -0
- package/custom/node_modules/parchment/src/attributor/style.ts +44 -0
- package/custom/node_modules/parchment/src/blot/abstract/blot.ts +128 -0
- package/custom/node_modules/parchment/src/blot/abstract/container.ts +48 -0
- package/custom/node_modules/parchment/src/blot/abstract/leaf.ts +57 -0
- package/custom/node_modules/parchment/src/blot/abstract/parent.ts +400 -0
- package/custom/node_modules/parchment/src/blot/abstract/shadow.ts +188 -0
- package/custom/node_modules/parchment/src/blot/block.ts +123 -0
- package/custom/node_modules/parchment/src/blot/embed.ts +34 -0
- package/custom/node_modules/parchment/src/blot/inline.ts +159 -0
- package/custom/node_modules/parchment/src/blot/scroll.ts +216 -0
- package/custom/node_modules/parchment/src/blot/text.ts +100 -0
- package/custom/node_modules/parchment/src/collection/linked-list.ts +201 -0
- package/custom/node_modules/parchment/src/collection/linked-node.ts +8 -0
- package/custom/node_modules/parchment/src/error.ts +12 -0
- package/custom/node_modules/parchment/src/parchment.ts +48 -0
- package/custom/node_modules/parchment/src/registry.ts +155 -0
- package/custom/node_modules/parchment/src/scope.ts +18 -0
- package/custom/node_modules/parchment/tsconfig.json +16 -0
- package/custom/node_modules/quill/LICENSE +31 -0
- package/custom/node_modules/quill/README.md +104 -0
- package/custom/node_modules/quill/assets/base.styl +309 -0
- package/custom/node_modules/quill/assets/bubble/toolbar.styl +14 -0
- package/custom/node_modules/quill/assets/bubble/tooltip.styl +49 -0
- package/custom/node_modules/quill/assets/bubble.styl +45 -0
- package/custom/node_modules/quill/assets/core.styl +215 -0
- package/custom/node_modules/quill/assets/favicon.png +0 -0
- package/custom/node_modules/quill/assets/icons/align-center.svg +5 -0
- package/custom/node_modules/quill/assets/icons/align-justify.svg +5 -0
- package/custom/node_modules/quill/assets/icons/align-left.svg +5 -0
- package/custom/node_modules/quill/assets/icons/align-right.svg +5 -0
- package/custom/node_modules/quill/assets/icons/attachment.svg +3 -0
- package/custom/node_modules/quill/assets/icons/audio.svg +5 -0
- package/custom/node_modules/quill/assets/icons/authorship.svg +5 -0
- package/custom/node_modules/quill/assets/icons/background.svg +52 -0
- package/custom/node_modules/quill/assets/icons/blockquote.svg +6 -0
- package/custom/node_modules/quill/assets/icons/bold.svg +4 -0
- package/custom/node_modules/quill/assets/icons/clean.svg +7 -0
- package/custom/node_modules/quill/assets/icons/code.svg +5 -0
- package/custom/node_modules/quill/assets/icons/color.svg +5 -0
- package/custom/node_modules/quill/assets/icons/comment.svg +3 -0
- package/custom/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
- package/custom/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
- package/custom/node_modules/quill/assets/icons/dropdown.svg +4 -0
- package/custom/node_modules/quill/assets/icons/embed.svg +3 -0
- package/custom/node_modules/quill/assets/icons/emoji.svg +6 -0
- package/custom/node_modules/quill/assets/icons/float-center.svg +5 -0
- package/custom/node_modules/quill/assets/icons/float-full.svg +5 -0
- package/custom/node_modules/quill/assets/icons/float-left.svg +7 -0
- package/custom/node_modules/quill/assets/icons/float-right.svg +7 -0
- package/custom/node_modules/quill/assets/icons/font.svg +5 -0
- package/custom/node_modules/quill/assets/icons/formula.svg +5 -0
- package/custom/node_modules/quill/assets/icons/hashtag.svg +6 -0
- package/custom/node_modules/quill/assets/icons/header-2.svg +3 -0
- package/custom/node_modules/quill/assets/icons/header-3.svg +3 -0
- package/custom/node_modules/quill/assets/icons/header-4.svg +3 -0
- package/custom/node_modules/quill/assets/icons/header-5.svg +3 -0
- package/custom/node_modules/quill/assets/icons/header-6.svg +3 -0
- package/custom/node_modules/quill/assets/icons/header.svg +3 -0
- package/custom/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
- package/custom/node_modules/quill/assets/icons/image.svg +5 -0
- package/custom/node_modules/quill/assets/icons/indent.svg +6 -0
- package/custom/node_modules/quill/assets/icons/italic.svg +5 -0
- package/custom/node_modules/quill/assets/icons/link.svg +5 -0
- package/custom/node_modules/quill/assets/icons/list-bullet.svg +8 -0
- package/custom/node_modules/quill/assets/icons/list-check.svg +8 -0
- package/custom/node_modules/quill/assets/icons/list-ordered.svg +9 -0
- package/custom/node_modules/quill/assets/icons/map.svg +5 -0
- package/custom/node_modules/quill/assets/icons/mention.svg +4 -0
- package/custom/node_modules/quill/assets/icons/more.svg +3 -0
- package/custom/node_modules/quill/assets/icons/outdent.svg +6 -0
- package/custom/node_modules/quill/assets/icons/redo.svg +4 -0
- package/custom/node_modules/quill/assets/icons/size-decrease.svg +5 -0
- package/custom/node_modules/quill/assets/icons/size-increase.svg +6 -0
- package/custom/node_modules/quill/assets/icons/size.svg +6 -0
- package/custom/node_modules/quill/assets/icons/spacing.svg +9 -0
- package/custom/node_modules/quill/assets/icons/speech.svg +6 -0
- package/custom/node_modules/quill/assets/icons/strike.svg +5 -0
- package/custom/node_modules/quill/assets/icons/subscript.svg +4 -0
- package/custom/node_modules/quill/assets/icons/superscript.svg +4 -0
- package/custom/node_modules/quill/assets/icons/table-border-all.svg +5 -0
- package/custom/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
- package/custom/node_modules/quill/assets/icons/table-border-left.svg +28 -0
- package/custom/node_modules/quill/assets/icons/table-border-none.svg +25 -0
- package/custom/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
- package/custom/node_modules/quill/assets/icons/table-border-right.svg +28 -0
- package/custom/node_modules/quill/assets/icons/table-border-top.svg +28 -0
- package/custom/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
- package/custom/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
- package/custom/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
- package/custom/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
- package/custom/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
- package/custom/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
- package/custom/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
- package/custom/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
- package/custom/node_modules/quill/assets/icons/table.svg +11 -0
- package/custom/node_modules/quill/assets/icons/underline.svg +4 -0
- package/custom/node_modules/quill/assets/icons/undo.svg +4 -0
- package/custom/node_modules/quill/assets/icons/video.svg +14 -0
- package/custom/node_modules/quill/assets/snow/toolbar.styl +26 -0
- package/custom/node_modules/quill/assets/snow/tooltip.styl +53 -0
- package/custom/node_modules/quill/assets/snow.styl +18 -0
- package/custom/node_modules/quill/blots/block.d.ts +34 -0
- package/custom/node_modules/quill/blots/block.js +182 -0
- package/custom/node_modules/quill/blots/block.js.map +1 -0
- package/custom/node_modules/quill/blots/break.d.ts +8 -0
- package/custom/node_modules/quill/blots/break.js +21 -0
- package/custom/node_modules/quill/blots/break.js.map +1 -0
- package/custom/node_modules/quill/blots/container.d.ts +4 -0
- package/custom/node_modules/quill/blots/container.js +4 -0
- package/custom/node_modules/quill/blots/container.js.map +1 -0
- package/custom/node_modules/quill/blots/cursor.d.ts +26 -0
- package/custom/node_modules/quill/blots/cursor.js +170 -0
- package/custom/node_modules/quill/blots/cursor.js.map +1 -0
- package/custom/node_modules/quill/blots/embed.d.ts +18 -0
- package/custom/node_modules/quill/blots/embed.js +72 -0
- package/custom/node_modules/quill/blots/embed.js.map +1 -0
- package/custom/node_modules/quill/blots/inline.d.ts +12 -0
- package/custom/node_modules/quill/blots/inline.js +48 -0
- package/custom/node_modules/quill/blots/inline.js.map +1 -0
- package/custom/node_modules/quill/blots/scroll.d.ts +49 -0
- package/custom/node_modules/quill/blots/scroll.js +349 -0
- package/custom/node_modules/quill/blots/scroll.js.map +1 -0
- package/custom/node_modules/quill/blots/text.d.ts +5 -0
- package/custom/node_modules/quill/blots/text.js +17 -0
- package/custom/node_modules/quill/blots/text.js.map +1 -0
- package/custom/node_modules/quill/core/composition.d.ts +12 -0
- package/custom/node_modules/quill/core/composition.js +44 -0
- package/custom/node_modules/quill/core/composition.js.map +1 -0
- package/custom/node_modules/quill/core/editor.d.ts +28 -0
- package/custom/node_modules/quill/core/editor.js +403 -0
- package/custom/node_modules/quill/core/editor.js.map +1 -0
- package/custom/node_modules/quill/core/emitter.d.ts +33 -0
- package/custom/node_modules/quill/core/emitter.js +78 -0
- package/custom/node_modules/quill/core/emitter.js.map +1 -0
- package/custom/node_modules/quill/core/instances.d.ts +3 -0
- package/custom/node_modules/quill/core/instances.js +2 -0
- package/custom/node_modules/quill/core/instances.js.map +1 -0
- package/custom/node_modules/quill/core/logger.d.ts +7 -0
- package/custom/node_modules/quill/core/logger.js +24 -0
- package/custom/node_modules/quill/core/logger.js.map +1 -0
- package/custom/node_modules/quill/core/module.d.ts +8 -0
- package/custom/node_modules/quill/core/module.js +10 -0
- package/custom/node_modules/quill/core/module.js.map +1 -0
- package/custom/node_modules/quill/core/quill.d.ts +218 -0
- package/custom/node_modules/quill/core/quill.js +628 -0
- package/custom/node_modules/quill/core/quill.js.map +1 -0
- package/custom/node_modules/quill/core/selection.d.ts +74 -0
- package/custom/node_modules/quill/core/selection.js +374 -0
- package/custom/node_modules/quill/core/selection.js.map +1 -0
- package/custom/node_modules/quill/core/theme.d.ts +32 -0
- package/custom/node_modules/quill/core/theme.js +28 -0
- package/custom/node_modules/quill/core/theme.js.map +1 -0
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.d.ts +5 -0
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js +29 -0
- package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js.map +1 -0
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.d.ts +8 -0
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.js +75 -0
- package/custom/node_modules/quill/core/utils/scrollRectIntoView.js.map +1 -0
- package/custom/node_modules/quill/core.d.ts +7 -0
- package/custom/node_modules/quill/core.js +37 -0
- package/custom/node_modules/quill/core.js.map +1 -0
- package/custom/node_modules/quill/dist/quill.bubble.css +10 -0
- package/custom/node_modules/quill/dist/quill.bubble.css.map +1 -0
- package/custom/node_modules/quill/dist/quill.core.css +10 -0
- package/custom/node_modules/quill/dist/quill.core.css.map +1 -0
- package/custom/node_modules/quill/dist/quill.core.js +3 -0
- package/custom/node_modules/quill/dist/quill.core.js.LICENSE.txt +7 -0
- package/custom/node_modules/quill/dist/quill.core.js.map +1 -0
- package/custom/node_modules/quill/dist/quill.js +3 -0
- package/custom/node_modules/quill/dist/quill.js.LICENSE.txt +7 -0
- package/custom/node_modules/quill/dist/quill.js.map +1 -0
- package/custom/node_modules/quill/dist/quill.snow.css +10 -0
- package/custom/node_modules/quill/dist/quill.snow.css.map +1 -0
- package/custom/node_modules/quill/formats/align.d.ts +5 -0
- package/custom/node_modules/quill/formats/align.js +10 -0
- package/custom/node_modules/quill/formats/align.js.map +1 -0
- package/custom/node_modules/quill/formats/background.d.ts +5 -0
- package/custom/node_modules/quill/formats/background.js +10 -0
- package/custom/node_modules/quill/formats/background.js.map +1 -0
- package/custom/node_modules/quill/formats/blockquote.d.ts +6 -0
- package/custom/node_modules/quill/formats/blockquote.js +7 -0
- package/custom/node_modules/quill/formats/blockquote.js.map +1 -0
- package/custom/node_modules/quill/formats/bold.d.ts +11 -0
- package/custom/node_modules/quill/formats/bold.js +19 -0
- package/custom/node_modules/quill/formats/bold.js.map +1 -0
- package/custom/node_modules/quill/formats/code.d.ts +15 -0
- package/custom/node_modules/quill/formats/code.js +44 -0
- package/custom/node_modules/quill/formats/code.js.map +1 -0
- package/custom/node_modules/quill/formats/color.d.ts +7 -0
- package/custom/node_modules/quill/formats/color.js +18 -0
- package/custom/node_modules/quill/formats/color.js.map +1 -0
- package/custom/node_modules/quill/formats/direction.d.ts +5 -0
- package/custom/node_modules/quill/formats/direction.js +10 -0
- package/custom/node_modules/quill/formats/direction.js.map +1 -0
- package/custom/node_modules/quill/formats/font.d.ts +7 -0
- package/custom/node_modules/quill/formats/font.js +14 -0
- package/custom/node_modules/quill/formats/font.js.map +1 -0
- package/custom/node_modules/quill/formats/formula.d.ts +10 -0
- package/custom/node_modules/quill/formats/formula.js +33 -0
- package/custom/node_modules/quill/formats/formula.js.map +1 -0
- package/custom/node_modules/quill/formats/header.d.ts +7 -0
- package/custom/node_modules/quill/formats/header.js +10 -0
- package/custom/node_modules/quill/formats/header.js.map +1 -0
- package/custom/node_modules/quill/formats/image.d.ts +13 -0
- package/custom/node_modules/quill/formats/image.js +44 -0
- package/custom/node_modules/quill/formats/image.js.map +1 -0
- package/custom/node_modules/quill/formats/indent.d.ts +8 -0
- package/custom/node_modules/quill/formats/indent.js +30 -0
- package/custom/node_modules/quill/formats/indent.js.map +1 -0
- package/custom/node_modules/quill/formats/italic.d.ts +6 -0
- package/custom/node_modules/quill/formats/italic.js +7 -0
- package/custom/node_modules/quill/formats/italic.js.map +1 -0
- package/custom/node_modules/quill/formats/link.d.ts +13 -0
- package/custom/node_modules/quill/formats/link.js +36 -0
- package/custom/node_modules/quill/formats/link.js.map +1 -0
- package/custom/node_modules/quill/formats/list.d.ts +13 -0
- package/custom/node_modules/quill/formats/list.js +50 -0
- package/custom/node_modules/quill/formats/list.js.map +1 -0
- package/custom/node_modules/quill/formats/script.d.ts +8 -0
- package/custom/node_modules/quill/formats/script.js +21 -0
- package/custom/node_modules/quill/formats/script.js.map +1 -0
- package/custom/node_modules/quill/formats/size.d.ts +4 -0
- package/custom/node_modules/quill/formats/size.js +11 -0
- package/custom/node_modules/quill/formats/size.js.map +1 -0
- package/custom/node_modules/quill/formats/strike.d.ts +6 -0
- package/custom/node_modules/quill/formats/strike.js +7 -0
- package/custom/node_modules/quill/formats/strike.js.map +1 -0
- package/custom/node_modules/quill/formats/table.d.ts +45 -0
- package/custom/node_modules/quill/formats/table.js +176 -0
- package/custom/node_modules/quill/formats/table.js.map +1 -0
- package/custom/node_modules/quill/formats/underline.d.ts +6 -0
- package/custom/node_modules/quill/formats/underline.js +7 -0
- package/custom/node_modules/quill/formats/underline.js.map +1 -0
- package/custom/node_modules/quill/formats/video.d.ts +14 -0
- package/custom/node_modules/quill/formats/video.js +48 -0
- package/custom/node_modules/quill/formats/video.js.map +1 -0
- package/custom/node_modules/quill/modules/clipboard.d.ts +43 -0
- package/custom/node_modules/quill/modules/clipboard.js +475 -0
- package/custom/node_modules/quill/modules/clipboard.js.map +1 -0
- package/custom/node_modules/quill/modules/history.d.ts +36 -0
- package/custom/node_modules/quill/modules/history.js +178 -0
- package/custom/node_modules/quill/modules/history.js.map +1 -0
- package/custom/node_modules/quill/modules/input.d.ts +10 -0
- package/custom/node_modules/quill/modules/input.js +83 -0
- package/custom/node_modules/quill/modules/input.js.map +1 -0
- package/custom/node_modules/quill/modules/keyboard.d.ts +58 -0
- package/custom/node_modules/quill/modules/keyboard.js +713 -0
- package/custom/node_modules/quill/modules/keyboard.js.map +1 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.d.ts +2 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js +12 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js.map +1 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +1 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js +24 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js.map +1 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.d.ts +1 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js +87 -0
- package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js.map +1 -0
- package/custom/node_modules/quill/modules/syntax.d.ts +50 -0
- package/custom/node_modules/quill/modules/syntax.js +332 -0
- package/custom/node_modules/quill/modules/syntax.js.map +1 -0
- package/custom/node_modules/quill/modules/table.d.ts +20 -0
- package/custom/node_modules/quill/modules/table.js +125 -0
- package/custom/node_modules/quill/modules/table.js.map +1 -0
- package/custom/node_modules/quill/modules/tableEmbed.d.ts +27 -0
- package/custom/node_modules/quill/modules/tableEmbed.js +209 -0
- package/custom/node_modules/quill/modules/tableEmbed.js.map +1 -0
- package/custom/node_modules/quill/modules/toolbar.d.ts +24 -0
- package/custom/node_modules/quill/modules/toolbar.js +265 -0
- package/custom/node_modules/quill/modules/toolbar.js.map +1 -0
- package/custom/node_modules/quill/modules/uiNode.d.ts +19 -0
- package/custom/node_modules/quill/modules/uiNode.js +95 -0
- package/custom/node_modules/quill/modules/uiNode.js.map +1 -0
- package/custom/node_modules/quill/modules/uploader.d.ts +15 -0
- package/custom/node_modules/quill/modules/uploader.js +69 -0
- package/custom/node_modules/quill/modules/uploader.js.map +1 -0
- package/custom/node_modules/quill/package.json +100 -0
- package/custom/node_modules/quill/quill.d.ts +6 -0
- package/custom/node_modules/quill/quill.js +83 -0
- package/custom/node_modules/quill/quill.js.map +1 -0
- package/custom/node_modules/quill/themes/base.d.ts +35 -0
- package/custom/node_modules/quill/themes/base.js +257 -0
- package/custom/node_modules/quill/themes/base.js.map +1 -0
- package/custom/node_modules/quill/themes/bubble.d.ts +18 -0
- package/custom/node_modules/quill/themes/bubble.js +114 -0
- package/custom/node_modules/quill/themes/bubble.js.map +1 -0
- package/custom/node_modules/quill/themes/snow.d.ts +9 -0
- package/custom/node_modules/quill/themes/snow.js +122 -0
- package/custom/node_modules/quill/themes/snow.js.map +1 -0
- package/custom/node_modules/quill/types.d.js +2 -0
- package/custom/node_modules/quill/types.d.js.map +1 -0
- package/custom/node_modules/quill/ui/color-picker.d.ts +7 -0
- package/custom/node_modules/quill/ui/color-picker.js +30 -0
- package/custom/node_modules/quill/ui/color-picker.js.map +1 -0
- package/custom/node_modules/quill/ui/icon-picker.d.ts +7 -0
- package/custom/node_modules/quill/ui/icon-picker.js +22 -0
- package/custom/node_modules/quill/ui/icon-picker.js.map +1 -0
- package/custom/node_modules/quill/ui/icons.d.ts +49 -0
- package/custom/node_modules/quill/ui/icons.js +82 -0
- package/custom/node_modules/quill/ui/icons.js.map +1 -0
- package/custom/node_modules/quill/ui/picker.d.ts +16 -0
- package/custom/node_modules/quill/ui/picker.js +171 -0
- package/custom/node_modules/quill/ui/picker.js.map +1 -0
- package/custom/node_modules/quill/ui/tooltip.d.ts +12 -0
- package/custom/node_modules/quill/ui/tooltip.js +56 -0
- package/custom/node_modules/quill/ui/tooltip.js.map +1 -0
- package/custom/node_modules/quill-delta/LICENSE +14 -0
- package/custom/node_modules/quill-delta/README.md +672 -0
- package/custom/node_modules/quill-delta/dist/AttributeMap.d.ts +10 -0
- package/custom/node_modules/quill-delta/dist/AttributeMap.js +86 -0
- package/custom/node_modules/quill-delta/dist/AttributeMap.js.map +1 -0
- package/custom/node_modules/quill-delta/dist/Delta.d.ts +45 -0
- package/custom/node_modules/quill-delta/dist/Delta.js +478 -0
- package/custom/node_modules/quill-delta/dist/Delta.js.map +1 -0
- package/custom/node_modules/quill-delta/dist/Op.d.ts +11 -0
- package/custom/node_modules/quill-delta/dist/Op.js +22 -0
- package/custom/node_modules/quill-delta/dist/Op.js.map +1 -0
- package/custom/node_modules/quill-delta/dist/OpIterator.d.ts +13 -0
- package/custom/node_modules/quill-delta/dist/OpIterator.js +106 -0
- package/custom/node_modules/quill-delta/dist/OpIterator.js.map +1 -0
- package/custom/node_modules/quill-delta/package.json +77 -0
- package/custom/node_modules/quill-delta/src/AttributeMap.ts +101 -0
- package/custom/node_modules/quill-delta/src/Delta.ts +573 -0
- package/custom/node_modules/quill-delta/src/Op.ts +26 -0
- package/custom/node_modules/quill-delta/src/OpIterator.ts +106 -0
- package/custom/node_modules/quill-delta/tsconfig.json +15 -0
- package/custom/quillEditor.vue +2 -2
- package/dist/custom/quillEditor.vue +2 -2
- package/dist/index.js +7 -3
- package/index.ts +8 -5
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Quill Editor v2.0.2
|
|
3
|
+
* https://quilljs.com
|
|
4
|
+
* Copyright (c) 2017-2024, Slab
|
|
5
|
+
* Copyright (c) 2014, Jason Chen
|
|
6
|
+
* Copyright (c) 2013, salesforce.com
|
|
7
|
+
*/
|
|
8
|
+
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}
|
|
9
|
+
|
|
10
|
+
/*# sourceMappingURL=quill.snow.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quill.snow.css","mappings":"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","sources":["webpack://Quill/./src/assets/core.styl","webpack://Quill/./src/assets/base.styl","webpack://Quill/./src/assets/snow/toolbar.styl","webpack://Quill/./src/assets/snow/tooltip.styl","webpack://Quill/./src/assets/snow.styl"],"sourcesContent":["// Styles necessary for Quill\n\nLIST_STYLE = decimal lower-alpha lower-roman\nLIST_STYLE_WIDTH = 1.2em\nLIST_STYLE_MARGIN = 0.3em\nLIST_STYLE_OUTER_WIDTH = LIST_STYLE_MARGIN + LIST_STYLE_WIDTH\nMAX_INDENT = 9\n\nresets(arr)\n unquote('list-' + join(' list-', arr))\n\n.ql-container\n box-sizing: border-box\n font-family: Helvetica, Arial, sans-serif\n font-size: 13px\n height: 100%\n margin: 0px\n position: relative\n\n.ql-container.ql-disabled\n .ql-tooltip\n visibility: hidden\n\n.ql-container:not(.ql-disabled)\n li[data-list=checked],\n li[data-list=unchecked]\n > .ql-ui\n cursor: pointer\n\n.ql-clipboard\n left: -100000px\n height: 1px\n overflow-y: hidden\n position: absolute\n top: 50%\n p\n margin: 0\n padding: 0\n\n.ql-editor\n box-sizing: border-box\n counter-reset: resets(0..MAX_INDENT)\n line-height: 1.42\n height: 100%\n outline: none\n overflow-y: auto\n padding: 12px 15px\n tab-size: 4\n -moz-tab-size: 4\n text-align: left\n white-space: pre-wrap\n word-wrap: break-word\n > *\n cursor: text\n\n p, ol, pre, blockquote, h1, h2, h3, h4, h5, h6\n margin: 0\n padding: 0\n p, h1, h2, h3, h4, h5, h6\n @supports (counter-set: none)\n counter-set: resets(0..MAX_INDENT)\n @supports not (counter-set: none)\n counter-reset: resets(0..MAX_INDENT)\n table\n border-collapse: collapse\n td\n border: 1px solid #000\n padding: 2px 5px\n ol\n padding-left: 1.5em\n li\n list-style-type: none\n padding-left: LIST_STYLE_OUTER_WIDTH\n position: relative\n\n > .ql-ui:before\n display: inline-block\n margin-left: -1*LIST_STYLE_OUTER_WIDTH\n margin-right: LIST_STYLE_MARGIN\n text-align: right\n white-space: nowrap\n width: LIST_STYLE_WIDTH\n\n li[data-list=checked],\n li[data-list=unchecked]\n > .ql-ui\n color: #777\n\n li[data-list=bullet] > .ql-ui:before\n content: '\\2022'\n li[data-list=checked] > .ql-ui:before\n content: '\\2611'\n li[data-list=unchecked] > .ql-ui:before\n content: '\\2610'\n\n li[data-list]\n @supports (counter-set: none)\n counter-set: resets(1..MAX_INDENT)\n @supports not (counter-set: none)\n counter-reset: resets(1..MAX_INDENT)\n\n li[data-list=ordered]\n counter-increment: list-0\n > .ql-ui:before\n content: unquote('counter(list-0, ' + LIST_STYLE[0] + ')') '. '\n for num in (1..MAX_INDENT)\n li[data-list=ordered].ql-indent-{num}\n counter-increment: unquote('list-' + num)\n > .ql-ui:before\n content: unquote('counter(list-' + num + ', ' + LIST_STYLE[num%3] + ')') '. '\n if (num < MAX_INDENT)\n li[data-list].ql-indent-{num}\n @supports (counter-set: none)\n counter-set: resets((num+1)..MAX_INDENT)\n @supports not (counter-set: none)\n counter-reset: resets((num+1)..MAX_INDENT)\n\n for num in (1..MAX_INDENT)\n .ql-indent-{num}:not(.ql-direction-rtl)\n padding-left: (3*num)em\n li.ql-indent-{num}:not(.ql-direction-rtl)\n padding-left: (3*num + LIST_STYLE_OUTER_WIDTH)em\n .ql-indent-{num}.ql-direction-rtl.ql-align-right\n padding-right: (3*num)em\n li.ql-indent-{num}.ql-direction-rtl.ql-align-right\n padding-right: (3*num + LIST_STYLE_OUTER_WIDTH)em\n\n li.ql-direction-rtl\n padding-right: LIST_STYLE_OUTER_WIDTH\n > .ql-ui:before\n margin-left: LIST_STYLE_MARGIN\n margin-right: -1*LIST_STYLE_OUTER_WIDTH\n text-align: left\n\n table\n table-layout: fixed\n width: 100%\n td\n outline: none\n\n .ql-code-block-container\n font-family: monospace\n\n .ql-video\n display: block\n max-width: 100%\n .ql-video.ql-align-center\n margin: 0 auto\n .ql-video.ql-align-right\n margin: 0 0 0 auto\n\n .ql-bg-black\n background-color: rgb(0,0,0)\n .ql-bg-red\n background-color: rgb(230,0,0)\n .ql-bg-orange\n background-color: rgb(255,153,0)\n .ql-bg-yellow\n background-color: rgb(255,255,0)\n .ql-bg-green\n background-color: rgb(0,138,0)\n .ql-bg-blue\n background-color: rgb(0,102,204)\n .ql-bg-purple\n background-color: rgb(153,51,255)\n\n .ql-color-white\n color: rgb(255,255,255)\n .ql-color-red\n color: rgb(230,0,0)\n .ql-color-orange\n color: rgb(255,153,0)\n .ql-color-yellow\n color: rgb(255,255,0)\n .ql-color-green\n color: rgb(0,138,0)\n .ql-color-blue\n color: rgb(0,102,204)\n .ql-color-purple\n color: rgb(153,51,255)\n\n .ql-font-serif\n font-family: Georgia, Times New Roman, serif\n .ql-font-monospace\n font-family: Monaco, Courier New, monospace\n\n .ql-size-small\n font-size: 0.75em\n .ql-size-large\n font-size: 1.5em\n .ql-size-huge\n font-size: 2.5em\n\n .ql-direction-rtl\n direction: rtl\n text-align: inherit\n\n .ql-align-center\n text-align: center\n .ql-align-justify\n text-align: justify\n .ql-align-right\n text-align: right\n\n .ql-ui\n position: absolute\n\n.ql-editor.ql-blank::before\n color: rgba(0,0,0,0.6)\n content: attr(data-placeholder)\n font-style: italic\n left: 15px\n pointer-events: none\n position: absolute\n right: 15px\n","// Styles shared between snow and bubble\n\ncontrolHeight = 24px\ninputPaddingWidth = 5px\ninputPaddingHeight = 3px\n\ncolorItemMargin = 2px\ncolorItemSize = 16px\ncolorItemsPerRow = 7\n\n\n.ql-{themeName}.ql-toolbar, .ql-{themeName} .ql-toolbar\n &:after\n clear: both\n content: ''\n display: table\n\n button\n background: none\n border: none\n cursor: pointer\n display: inline-block\n float: left\n height: controlHeight\n padding: inputPaddingHeight inputPaddingWidth\n width: controlHeight + (inputPaddingWidth - inputPaddingHeight)*2\n\n svg\n float: left\n height: 100%\n\n &:active:hover\n outline: none\n\n input.ql-image[type=file]\n display: none\n\n button:hover, button:focus, button.ql-active,\n .ql-picker-label:hover, .ql-picker-label.ql-active,\n .ql-picker-item:hover, .ql-picker-item.ql-selected\n color: activeColor\n .ql-fill, .ql-stroke.ql-fill\n fill: activeColor\n .ql-stroke, .ql-stroke-miter\n stroke: activeColor\n\n// Fix for iOS not losing hover on touch\n@media (pointer: coarse)\n .ql-{themeName}.ql-toolbar, .ql-{themeName} .ql-toolbar\n button:hover:not(.ql-active)\n color: inactiveColor\n .ql-fill, .ql-stroke.ql-fill\n fill: inactiveColor\n .ql-stroke, .ql-stroke-miter\n stroke: inactiveColor\n\n.ql-{themeName}\n box-sizing: border-box\n *\n box-sizing: border-box\n\n .ql-hidden\n display: none\n .ql-out-bottom, .ql-out-top\n visibility: hidden\n\n .ql-tooltip\n position: absolute\n transform: translateY(10px)\n a\n cursor: pointer\n text-decoration: none\n .ql-tooltip.ql-flip\n transform: translateY(-10px)\n\n .ql-formats\n &:after\n clear: both\n content: ''\n display: table\n display: inline-block\n vertical-align: middle\n\n .ql-stroke\n fill: none\n stroke: inactiveColor\n stroke-linecap: round\n stroke-linejoin: round\n stroke-width: 2\n .ql-stroke-miter\n fill: none\n stroke: inactiveColor\n stroke-miterlimit: 10\n stroke-width: 2\n\n .ql-fill, .ql-stroke.ql-fill\n fill: inactiveColor\n\n .ql-empty\n fill: none\n .ql-even\n fill-rule: evenodd\n .ql-thin, .ql-stroke.ql-thin\n stroke-width: 1\n .ql-transparent\n opacity: 0.4\n\n .ql-direction\n svg:last-child\n display: none\n .ql-direction.ql-active\n svg:last-child\n display: inline\n svg:first-child\n display: none\n\n .ql-editor\n h1\n font-size: 2em\n h2\n font-size: 1.5em\n h3\n font-size: 1.17em\n h4\n font-size: 1em\n h5\n font-size: 0.83em\n h6\n font-size: 0.67em\n a\n text-decoration: underline\n blockquote\n border-left: 4px solid #ccc\n margin-bottom: 5px\n margin-top: 5px\n padding-left: 16px\n code, .ql-code-block-container\n background-color: #f0f0f0\n border-radius: 3px\n .ql-code-block-container\n margin-bottom: 5px\n margin-top: 5px\n padding: 5px 10px\n code\n font-size: 85%\n padding: 2px 4px\n .ql-code-block-container\n background-color: #23241f\n color: #f8f8f2\n overflow: visible\n img\n max-width: 100%\n\n .ql-picker\n color: inactiveColor\n display: inline-block\n float: left\n font-size: 14px\n font-weight: 500\n height: controlHeight\n position: relative\n vertical-align: middle\n .ql-picker-label\n cursor: pointer\n display: inline-block\n height: 100%\n padding-left: 8px\n padding-right: 2px\n position: relative\n width: 100%\n &::before\n display: inline-block\n line-height: 22px\n .ql-picker-options\n background-color: backgroundColor\n display: none\n min-width: 100%\n padding: 4px 8px\n position: absolute\n white-space: nowrap\n .ql-picker-item\n cursor: pointer\n display: block\n padding-bottom: 5px\n padding-top: 5px\n .ql-picker.ql-expanded\n .ql-picker-label\n color: borderColor\n z-index: 2\n .ql-fill\n fill: borderColor\n .ql-stroke\n stroke: borderColor\n .ql-picker-options\n display: block\n margin-top: -1px\n top: 100%\n z-index: 1\n\n .ql-color-picker, .ql-icon-picker\n width: controlHeight + 4\n .ql-picker-label\n padding: 2px 4px\n svg\n right: 4px\n .ql-icon-picker\n .ql-picker-options\n padding: 4px 0px\n .ql-picker-item\n height: controlHeight\n width: controlHeight\n padding: 2px 4px\n .ql-color-picker\n .ql-picker-options\n padding: inputPaddingHeight inputPaddingWidth\n width: (colorItemSize + 2*colorItemMargin) * colorItemsPerRow + 2*inputPaddingWidth + 2 // +2 for the border\n .ql-picker-item\n border: 1px solid transparent\n float: left\n height: colorItemSize\n margin: colorItemMargin\n padding: 0px\n width: colorItemSize\n\n .ql-picker:not(.ql-color-picker):not(.ql-icon-picker)\n svg\n position: absolute\n margin-top: -9px\n right: 0\n top: 50%\n width: 18px\n\n .ql-picker.ql-header, .ql-picker.ql-font, .ql-picker.ql-size\n .ql-picker-label[data-label]:not([data-label='']),\n .ql-picker-item[data-label]:not([data-label=''])\n &::before\n content: attr(data-label)\n\n .ql-picker.ql-header\n width: 98px\n .ql-picker-label::before,\n .ql-picker-item::before\n content: 'Normal'\n for num in (1..6)\n .ql-picker-label[data-value=\\\"{num}\\\"]::before,\n .ql-picker-item[data-value=\\\"{num}\\\"]::before\n content: 'Heading ' + num\n .ql-picker-item[data-value=\"1\"]::before\n font-size: 2em\n .ql-picker-item[data-value=\"2\"]::before\n font-size: 1.5em\n .ql-picker-item[data-value=\"3\"]::before\n font-size: 1.17em\n .ql-picker-item[data-value=\"4\"]::before\n font-size: 1em\n .ql-picker-item[data-value=\"5\"]::before\n font-size: 0.83em\n .ql-picker-item[data-value=\"6\"]::before\n font-size: 0.67em\n\n .ql-picker.ql-font\n width: 108px\n .ql-picker-label::before,\n .ql-picker-item::before\n content: 'Sans Serif'\n .ql-picker-label[data-value=serif]::before,\n .ql-picker-item[data-value=serif]::before\n content: 'Serif'\n .ql-picker-label[data-value=monospace]::before,\n .ql-picker-item[data-value=monospace]::before\n content: 'Monospace'\n .ql-picker-item[data-value=serif]::before\n font-family: Georgia, Times New Roman, serif\n .ql-picker-item[data-value=monospace]::before\n font-family: Monaco, Courier New, monospace\n\n .ql-picker.ql-size\n width: 98px\n .ql-picker-label::before,\n .ql-picker-item::before\n content: 'Normal'\n .ql-picker-label[data-value=small]::before,\n .ql-picker-item[data-value=small]::before\n content: 'Small'\n .ql-picker-label[data-value=large]::before,\n .ql-picker-item[data-value=large]::before\n content: 'Large'\n .ql-picker-label[data-value=huge]::before,\n .ql-picker-item[data-value=huge]::before\n content: 'Huge'\n .ql-picker-item[data-value=small]::before\n font-size: 10px\n .ql-picker-item[data-value=large]::before\n font-size: 18px\n .ql-picker-item[data-value=huge]::before\n font-size: 32px\n\n .ql-color-picker.ql-background\n .ql-picker-item\n background-color: #fff\n .ql-color-picker.ql-color\n .ql-picker-item\n background-color: #000\n\n.ql-code-block-container\n position: relative\n .ql-ui\n right: 5px\n top: 5px\n",".ql-toolbar.ql-snow\n border: 1px solid borderColor\n box-sizing: border-box\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\n padding: 8px\n\n .ql-formats\n margin-right: 15px\n\n .ql-picker-label\n border: 1px solid transparent\n .ql-picker-options\n border: 1px solid transparent\n box-shadow: rgba(0,0,0,0.2) 0 2px 8px\n .ql-picker.ql-expanded\n .ql-picker-label\n border-color: borderColor\n .ql-picker-options\n border-color: borderColor\n\n .ql-color-picker\n .ql-picker-item.ql-selected, .ql-picker-item:hover\n border-color: #000\n\n.ql-toolbar.ql-snow + .ql-container.ql-snow\n border-top: 0px;\n","tooltipMargin = 8px\n\n.ql-snow\n .ql-tooltip\n background-color: #fff\n border: 1px solid borderColor\n box-shadow: 0px 0px 5px shadowColor\n color: textColor\n padding: 5px 12px\n white-space: nowrap\n &::before\n content: \"Visit URL:\"\n line-height: 26px\n margin-right: tooltipMargin\n input[type=text]\n display: none\n border: 1px solid borderColor\n font-size: 13px\n height: 26px\n margin: 0px\n padding: 3px 5px\n width: 170px\n a.ql-preview\n display: inline-block\n max-width: 200px\n overflow-x: hidden\n text-overflow: ellipsis\n vertical-align: top\n a.ql-action::after\n border-right: 1px solid borderColor\n content: 'Edit'\n margin-left: tooltipMargin*2\n padding-right: tooltipMargin\n a.ql-remove::before\n content: 'Remove'\n margin-left: tooltipMargin\n a\n line-height: 26px\n .ql-tooltip.ql-editing\n a.ql-preview, a.ql-remove\n display: none\n input[type=text]\n display: inline-block\n a.ql-action::after\n border-right: 0px\n content: 'Save'\n padding-right: 0px\n .ql-tooltip[data-mode=link]::before\n content: \"Enter link:\"\n .ql-tooltip[data-mode=formula]::before\n content: \"Enter formula:\"\n .ql-tooltip[data-mode=video]::before\n content: \"Enter video:\"\n","themeName = 'snow'\nactiveColor = #06c\nborderColor = #ccc\nbackgroundColor = #fff\ninactiveColor = #444\nshadowColor = #ddd\ntextColor = #444\n\n@import './core'\n@import './base'\n@import './snow/*'\n\n.ql-snow\n a\n color: activeColor\n\n.ql-container.ql-snow\n border: 1px solid borderColor\n"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Attributor, ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
2
|
+
const config = {
|
|
3
|
+
scope: Scope.BLOCK,
|
|
4
|
+
whitelist: ['right', 'center', 'justify']
|
|
5
|
+
};
|
|
6
|
+
const AlignAttribute = new Attributor('align', 'align', config);
|
|
7
|
+
const AlignClass = new ClassAttributor('align', 'ql-align', config);
|
|
8
|
+
const AlignStyle = new StyleAttributor('align', 'text-align', config);
|
|
9
|
+
export { AlignAttribute, AlignClass, AlignStyle };
|
|
10
|
+
//# sourceMappingURL=align.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"align.js","names":["Attributor","ClassAttributor","Scope","StyleAttributor","config","scope","BLOCK","whitelist","AlignAttribute","AlignClass","AlignStyle"],"sources":["../../src/formats/align.ts"],"sourcesContent":["import { Attributor, ClassAttributor, Scope, StyleAttributor } from 'parchment';\n\nconst config = {\n scope: Scope.BLOCK,\n whitelist: ['right', 'center', 'justify'],\n};\n\nconst AlignAttribute = new Attributor('align', 'align', config);\nconst AlignClass = new ClassAttributor('align', 'ql-align', config);\nconst AlignStyle = new StyleAttributor('align', 'text-align', config);\n\nexport { AlignAttribute, AlignClass, AlignStyle };\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,eAAe,EAAEC,KAAK,EAAEC,eAAe,QAAQ,WAAW;AAE/E,MAAMC,MAAM,GAAG;EACbC,KAAK,EAAEH,KAAK,CAACI,KAAK;EAClBC,SAAS,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS;AAC1C,CAAC;AAED,MAAMC,cAAc,GAAG,IAAIR,UAAU,CAAC,OAAO,EAAE,OAAO,EAAEI,MAAM,CAAC;AAC/D,MAAMK,UAAU,GAAG,IAAIR,eAAe,CAAC,OAAO,EAAE,UAAU,EAAEG,MAAM,CAAC;AACnE,MAAMM,UAAU,GAAG,IAAIP,eAAe,CAAC,OAAO,EAAE,YAAY,EAAEC,MAAM,CAAC;AAErE,SAASI,cAAc,EAAEC,UAAU,EAAEC,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ClassAttributor, Scope } from 'parchment';
|
|
2
|
+
import { ColorAttributor } from './color.js';
|
|
3
|
+
const BackgroundClass = new ClassAttributor('background', 'ql-bg', {
|
|
4
|
+
scope: Scope.INLINE
|
|
5
|
+
});
|
|
6
|
+
const BackgroundStyle = new ColorAttributor('background', 'background-color', {
|
|
7
|
+
scope: Scope.INLINE
|
|
8
|
+
});
|
|
9
|
+
export { BackgroundClass, BackgroundStyle };
|
|
10
|
+
//# sourceMappingURL=background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background.js","names":["ClassAttributor","Scope","ColorAttributor","BackgroundClass","scope","INLINE","BackgroundStyle"],"sources":["../../src/formats/background.ts"],"sourcesContent":["import { ClassAttributor, Scope } from 'parchment';\nimport { ColorAttributor } from './color.js';\n\nconst BackgroundClass = new ClassAttributor('background', 'ql-bg', {\n scope: Scope.INLINE,\n});\nconst BackgroundStyle = new ColorAttributor('background', 'background-color', {\n scope: Scope.INLINE,\n});\n\nexport { BackgroundClass, BackgroundStyle };\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,KAAK,QAAQ,WAAW;AAClD,SAASC,eAAe,QAAQ,YAAY;AAE5C,MAAMC,eAAe,GAAG,IAAIH,eAAe,CAAC,YAAY,EAAE,OAAO,EAAE;EACjEI,KAAK,EAAEH,KAAK,CAACI;AACf,CAAC,CAAC;AACF,MAAMC,eAAe,GAAG,IAAIJ,eAAe,CAAC,YAAY,EAAE,kBAAkB,EAAE;EAC5EE,KAAK,EAAEH,KAAK,CAACI;AACf,CAAC,CAAC;AAEF,SAASF,eAAe,EAAEG,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockquote.js","names":["Block","Blockquote","blotName","tagName"],"sources":["../../src/formats/blockquote.ts"],"sourcesContent":["import Block from '../blots/block.js';\n\nclass Blockquote extends Block {\n static blotName = 'blockquote';\n static tagName = 'blockquote';\n}\n\nexport default Blockquote;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AAErC,MAAMC,UAAU,SAASD,KAAK,CAAC;EAC7B,OAAOE,QAAQ,GAAG,YAAY;EAC9B,OAAOC,OAAO,GAAG,YAAY;AAC/B;AAEA,eAAeF,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Inline from '../blots/inline.js';
|
|
2
|
+
declare class Bold extends Inline {
|
|
3
|
+
static blotName: string;
|
|
4
|
+
static tagName: string[];
|
|
5
|
+
static create(): HTMLElement;
|
|
6
|
+
static formats(): boolean;
|
|
7
|
+
optimize(context: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): void;
|
|
10
|
+
}
|
|
11
|
+
export default Bold;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Inline from '../blots/inline.js';
|
|
2
|
+
class Bold extends Inline {
|
|
3
|
+
static blotName = 'bold';
|
|
4
|
+
static tagName = ['STRONG', 'B'];
|
|
5
|
+
static create() {
|
|
6
|
+
return super.create();
|
|
7
|
+
}
|
|
8
|
+
static formats() {
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
optimize(context) {
|
|
12
|
+
super.optimize(context);
|
|
13
|
+
if (this.domNode.tagName !== this.statics.tagName[0]) {
|
|
14
|
+
this.replaceWith(this.statics.blotName);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export default Bold;
|
|
19
|
+
//# sourceMappingURL=bold.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bold.js","names":["Inline","Bold","blotName","tagName","create","formats","optimize","context","domNode","statics","replaceWith"],"sources":["../../src/formats/bold.ts"],"sourcesContent":["import Inline from '../blots/inline.js';\n\nclass Bold extends Inline {\n static blotName = 'bold';\n static tagName = ['STRONG', 'B'];\n\n static create() {\n return super.create();\n }\n\n static formats() {\n return true;\n }\n\n optimize(context: { [key: string]: any }) {\n super.optimize(context);\n if (this.domNode.tagName !== this.statics.tagName[0]) {\n this.replaceWith(this.statics.blotName);\n }\n }\n}\n\nexport default Bold;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,oBAAoB;AAEvC,MAAMC,IAAI,SAASD,MAAM,CAAC;EACxB,OAAOE,QAAQ,GAAG,MAAM;EACxB,OAAOC,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC;EAEhC,OAAOC,MAAMA,CAAA,EAAG;IACd,OAAO,KAAK,CAACA,MAAM,CAAC,CAAC;EACvB;EAEA,OAAOC,OAAOA,CAAA,EAAG;IACf,OAAO,IAAI;EACb;EAEAC,QAAQA,CAACC,OAA+B,EAAE;IACxC,KAAK,CAACD,QAAQ,CAACC,OAAO,CAAC;IACvB,IAAI,IAAI,CAACC,OAAO,CAACL,OAAO,KAAK,IAAI,CAACM,OAAO,CAACN,OAAO,CAAC,CAAC,CAAC,EAAE;MACpD,IAAI,CAACO,WAAW,CAAC,IAAI,CAACD,OAAO,CAACP,QAAQ,CAAC;IACzC;EACF;AACF;AAEA,eAAeD,IAAI","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Block from '../blots/block.js';
|
|
2
|
+
import Inline from '../blots/inline.js';
|
|
3
|
+
import Container from '../blots/container.js';
|
|
4
|
+
declare class CodeBlockContainer extends Container {
|
|
5
|
+
static create(value: string): Element;
|
|
6
|
+
code(index: number, length: number): string;
|
|
7
|
+
html(index: number, length: number): string;
|
|
8
|
+
}
|
|
9
|
+
declare class CodeBlock extends Block {
|
|
10
|
+
static TAB: string;
|
|
11
|
+
static register(): void;
|
|
12
|
+
}
|
|
13
|
+
declare class Code extends Inline {
|
|
14
|
+
}
|
|
15
|
+
export { Code, CodeBlockContainer, CodeBlock as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Block from '../blots/block.js';
|
|
2
|
+
import Break from '../blots/break.js';
|
|
3
|
+
import Cursor from '../blots/cursor.js';
|
|
4
|
+
import Inline from '../blots/inline.js';
|
|
5
|
+
import TextBlot, { escapeText } from '../blots/text.js';
|
|
6
|
+
import Container from '../blots/container.js';
|
|
7
|
+
import Quill from '../core/quill.js';
|
|
8
|
+
class CodeBlockContainer extends Container {
|
|
9
|
+
static create(value) {
|
|
10
|
+
const domNode = super.create(value);
|
|
11
|
+
domNode.setAttribute('spellcheck', 'false');
|
|
12
|
+
return domNode;
|
|
13
|
+
}
|
|
14
|
+
code(index, length) {
|
|
15
|
+
return this.children
|
|
16
|
+
// @ts-expect-error
|
|
17
|
+
.map(child => child.length() <= 1 ? '' : child.domNode.innerText).join('\n').slice(index, index + length);
|
|
18
|
+
}
|
|
19
|
+
html(index, length) {
|
|
20
|
+
// `\n`s are needed in order to support empty lines at the beginning and the end.
|
|
21
|
+
// https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions
|
|
22
|
+
return `<pre>\n${escapeText(this.code(index, length))}\n</pre>`;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
class CodeBlock extends Block {
|
|
26
|
+
static TAB = ' ';
|
|
27
|
+
static register() {
|
|
28
|
+
Quill.register(CodeBlockContainer);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
class Code extends Inline {}
|
|
32
|
+
Code.blotName = 'code';
|
|
33
|
+
Code.tagName = 'CODE';
|
|
34
|
+
CodeBlock.blotName = 'code-block';
|
|
35
|
+
CodeBlock.className = 'ql-code-block';
|
|
36
|
+
CodeBlock.tagName = 'DIV';
|
|
37
|
+
CodeBlockContainer.blotName = 'code-block-container';
|
|
38
|
+
CodeBlockContainer.className = 'ql-code-block-container';
|
|
39
|
+
CodeBlockContainer.tagName = 'DIV';
|
|
40
|
+
CodeBlockContainer.allowedChildren = [CodeBlock];
|
|
41
|
+
CodeBlock.allowedChildren = [TextBlot, Break, Cursor];
|
|
42
|
+
CodeBlock.requiredContainer = CodeBlockContainer;
|
|
43
|
+
export { Code, CodeBlockContainer, CodeBlock as default };
|
|
44
|
+
//# sourceMappingURL=code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.js","names":["Block","Break","Cursor","Inline","TextBlot","escapeText","Container","Quill","CodeBlockContainer","create","value","domNode","setAttribute","code","index","length","children","map","child","innerText","join","slice","html","CodeBlock","TAB","register","Code","blotName","tagName","className","allowedChildren","requiredContainer","default"],"sources":["../../src/formats/code.ts"],"sourcesContent":["import Block from '../blots/block.js';\nimport Break from '../blots/break.js';\nimport Cursor from '../blots/cursor.js';\nimport Inline from '../blots/inline.js';\nimport TextBlot, { escapeText } from '../blots/text.js';\nimport Container from '../blots/container.js';\nimport Quill from '../core/quill.js';\n\nclass CodeBlockContainer extends Container {\n static create(value: string) {\n const domNode = super.create(value) as Element;\n domNode.setAttribute('spellcheck', 'false');\n return domNode;\n }\n\n code(index: number, length: number) {\n return (\n this.children\n // @ts-expect-error\n .map((child) => (child.length() <= 1 ? '' : child.domNode.innerText))\n .join('\\n')\n .slice(index, index + length)\n );\n }\n\n html(index: number, length: number) {\n // `\\n`s are needed in order to support empty lines at the beginning and the end.\n // https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions\n return `<pre>\\n${escapeText(this.code(index, length))}\\n</pre>`;\n }\n}\n\nclass CodeBlock extends Block {\n static TAB = ' ';\n\n static register() {\n Quill.register(CodeBlockContainer);\n }\n}\n\nclass Code extends Inline {}\nCode.blotName = 'code';\nCode.tagName = 'CODE';\n\nCodeBlock.blotName = 'code-block';\nCodeBlock.className = 'ql-code-block';\nCodeBlock.tagName = 'DIV';\nCodeBlockContainer.blotName = 'code-block-container';\nCodeBlockContainer.className = 'ql-code-block-container';\nCodeBlockContainer.tagName = 'DIV';\n\nCodeBlockContainer.allowedChildren = [CodeBlock];\n\nCodeBlock.allowedChildren = [TextBlot, Break, Cursor];\nCodeBlock.requiredContainer = CodeBlockContainer;\n\nexport { Code, CodeBlockContainer, CodeBlock as default };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AACrC,OAAOC,KAAK,MAAM,mBAAmB;AACrC,OAAOC,MAAM,MAAM,oBAAoB;AACvC,OAAOC,MAAM,MAAM,oBAAoB;AACvC,OAAOC,QAAQ,IAAIC,UAAU,QAAQ,kBAAkB;AACvD,OAAOC,SAAS,MAAM,uBAAuB;AAC7C,OAAOC,KAAK,MAAM,kBAAkB;AAEpC,MAAMC,kBAAkB,SAASF,SAAS,CAAC;EACzC,OAAOG,MAAMA,CAACC,KAAa,EAAE;IAC3B,MAAMC,OAAO,GAAG,KAAK,CAACF,MAAM,CAACC,KAAK,CAAY;IAC9CC,OAAO,CAACC,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC;IAC3C,OAAOD,OAAO;EAChB;EAEAE,IAAIA,CAACC,KAAa,EAAEC,MAAc,EAAE;IAClC,OACE,IAAI,CAACC;IACH;IAAA,CACCC,GAAG,CAAEC,KAAK,IAAMA,KAAK,CAACH,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAGG,KAAK,CAACP,OAAO,CAACQ,SAAU,CAAC,CACpEC,IAAI,CAAC,IAAI,CAAC,CACVC,KAAK,CAACP,KAAK,EAAEA,KAAK,GAAGC,MAAM,CAAC;EAEnC;EAEAO,IAAIA,CAACR,KAAa,EAAEC,MAAc,EAAE;IAClC;IACA;IACA,OAAQ,UAASV,UAAU,CAAC,IAAI,CAACQ,IAAI,CAACC,KAAK,EAAEC,MAAM,CAAC,CAAE,UAAS;EACjE;AACF;AAEA,MAAMQ,SAAS,SAASvB,KAAK,CAAC;EAC5B,OAAOwB,GAAG,GAAG,IAAI;EAEjB,OAAOC,QAAQA,CAAA,EAAG;IAChBlB,KAAK,CAACkB,QAAQ,CAACjB,kBAAkB,CAAC;EACpC;AACF;AAEA,MAAMkB,IAAI,SAASvB,MAAM,CAAC;AAC1BuB,IAAI,CAACC,QAAQ,GAAG,MAAM;AACtBD,IAAI,CAACE,OAAO,GAAG,MAAM;AAErBL,SAAS,CAACI,QAAQ,GAAG,YAAY;AACjCJ,SAAS,CAACM,SAAS,GAAG,eAAe;AACrCN,SAAS,CAACK,OAAO,GAAG,KAAK;AACzBpB,kBAAkB,CAACmB,QAAQ,GAAG,sBAAsB;AACpDnB,kBAAkB,CAACqB,SAAS,GAAG,yBAAyB;AACxDrB,kBAAkB,CAACoB,OAAO,GAAG,KAAK;AAElCpB,kBAAkB,CAACsB,eAAe,GAAG,CAACP,SAAS,CAAC;AAEhDA,SAAS,CAACO,eAAe,GAAG,CAAC1B,QAAQ,EAAEH,KAAK,EAAEC,MAAM,CAAC;AACrDqB,SAAS,CAACQ,iBAAiB,GAAGvB,kBAAkB;AAEhD,SAASkB,IAAI,EAAElB,kBAAkB,EAAEe,SAAS,IAAIS,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClassAttributor, StyleAttributor } from 'parchment';
|
|
2
|
+
declare class ColorAttributor extends StyleAttributor {
|
|
3
|
+
value(domNode: HTMLElement): string;
|
|
4
|
+
}
|
|
5
|
+
declare const ColorClass: ClassAttributor;
|
|
6
|
+
declare const ColorStyle: ColorAttributor;
|
|
7
|
+
export { ColorAttributor, ColorClass, ColorStyle };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
2
|
+
class ColorAttributor extends StyleAttributor {
|
|
3
|
+
value(domNode) {
|
|
4
|
+
let value = super.value(domNode);
|
|
5
|
+
if (!value.startsWith('rgb(')) return value;
|
|
6
|
+
value = value.replace(/^[^\d]+/, '').replace(/[^\d]+$/, '');
|
|
7
|
+
const hex = value.split(',').map(component => `00${parseInt(component, 10).toString(16)}`.slice(-2)).join('');
|
|
8
|
+
return `#${hex}`;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
const ColorClass = new ClassAttributor('color', 'ql-color', {
|
|
12
|
+
scope: Scope.INLINE
|
|
13
|
+
});
|
|
14
|
+
const ColorStyle = new ColorAttributor('color', 'color', {
|
|
15
|
+
scope: Scope.INLINE
|
|
16
|
+
});
|
|
17
|
+
export { ColorAttributor, ColorClass, ColorStyle };
|
|
18
|
+
//# sourceMappingURL=color.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.js","names":["ClassAttributor","Scope","StyleAttributor","ColorAttributor","value","domNode","startsWith","replace","hex","split","map","component","parseInt","toString","slice","join","ColorClass","scope","INLINE","ColorStyle"],"sources":["../../src/formats/color.ts"],"sourcesContent":["import { ClassAttributor, Scope, StyleAttributor } from 'parchment';\n\nclass ColorAttributor extends StyleAttributor {\n value(domNode: HTMLElement) {\n let value = super.value(domNode) as string;\n if (!value.startsWith('rgb(')) return value;\n value = value.replace(/^[^\\d]+/, '').replace(/[^\\d]+$/, '');\n const hex = value\n .split(',')\n .map((component) => `00${parseInt(component, 10).toString(16)}`.slice(-2))\n .join('');\n return `#${hex}`;\n }\n}\n\nconst ColorClass = new ClassAttributor('color', 'ql-color', {\n scope: Scope.INLINE,\n});\nconst ColorStyle = new ColorAttributor('color', 'color', {\n scope: Scope.INLINE,\n});\n\nexport { ColorAttributor, ColorClass, ColorStyle };\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,KAAK,EAAEC,eAAe,QAAQ,WAAW;AAEnE,MAAMC,eAAe,SAASD,eAAe,CAAC;EAC5CE,KAAKA,CAACC,OAAoB,EAAE;IAC1B,IAAID,KAAK,GAAG,KAAK,CAACA,KAAK,CAACC,OAAO,CAAW;IAC1C,IAAI,CAACD,KAAK,CAACE,UAAU,CAAC,MAAM,CAAC,EAAE,OAAOF,KAAK;IAC3CA,KAAK,GAAGA,KAAK,CAACG,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAACA,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;IAC3D,MAAMC,GAAG,GAAGJ,KAAK,CACdK,KAAK,CAAC,GAAG,CAAC,CACVC,GAAG,CAAEC,SAAS,IAAM,KAAIC,QAAQ,CAACD,SAAS,EAAE,EAAE,CAAC,CAACE,QAAQ,CAAC,EAAE,CAAE,EAAC,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACzEC,IAAI,CAAC,EAAE,CAAC;IACX,OAAQ,IAAGP,GAAI,EAAC;EAClB;AACF;AAEA,MAAMQ,UAAU,GAAG,IAAIhB,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE;EAC1DiB,KAAK,EAAEhB,KAAK,CAACiB;AACf,CAAC,CAAC;AACF,MAAMC,UAAU,GAAG,IAAIhB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE;EACvDc,KAAK,EAAEhB,KAAK,CAACiB;AACf,CAAC,CAAC;AAEF,SAASf,eAAe,EAAEa,UAAU,EAAEG,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Attributor, ClassAttributor, StyleAttributor } from 'parchment';
|
|
2
|
+
declare const DirectionAttribute: Attributor;
|
|
3
|
+
declare const DirectionClass: ClassAttributor;
|
|
4
|
+
declare const DirectionStyle: StyleAttributor;
|
|
5
|
+
export { DirectionAttribute, DirectionClass, DirectionStyle };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Attributor, ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
2
|
+
const config = {
|
|
3
|
+
scope: Scope.BLOCK,
|
|
4
|
+
whitelist: ['rtl']
|
|
5
|
+
};
|
|
6
|
+
const DirectionAttribute = new Attributor('direction', 'dir', config);
|
|
7
|
+
const DirectionClass = new ClassAttributor('direction', 'ql-direction', config);
|
|
8
|
+
const DirectionStyle = new StyleAttributor('direction', 'direction', config);
|
|
9
|
+
export { DirectionAttribute, DirectionClass, DirectionStyle };
|
|
10
|
+
//# sourceMappingURL=direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direction.js","names":["Attributor","ClassAttributor","Scope","StyleAttributor","config","scope","BLOCK","whitelist","DirectionAttribute","DirectionClass","DirectionStyle"],"sources":["../../src/formats/direction.ts"],"sourcesContent":["import { Attributor, ClassAttributor, Scope, StyleAttributor } from 'parchment';\n\nconst config = {\n scope: Scope.BLOCK,\n whitelist: ['rtl'],\n};\n\nconst DirectionAttribute = new Attributor('direction', 'dir', config);\nconst DirectionClass = new ClassAttributor('direction', 'ql-direction', config);\nconst DirectionStyle = new StyleAttributor('direction', 'direction', config);\n\nexport { DirectionAttribute, DirectionClass, DirectionStyle };\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,eAAe,EAAEC,KAAK,EAAEC,eAAe,QAAQ,WAAW;AAE/E,MAAMC,MAAM,GAAG;EACbC,KAAK,EAAEH,KAAK,CAACI,KAAK;EAClBC,SAAS,EAAE,CAAC,KAAK;AACnB,CAAC;AAED,MAAMC,kBAAkB,GAAG,IAAIR,UAAU,CAAC,WAAW,EAAE,KAAK,EAAEI,MAAM,CAAC;AACrE,MAAMK,cAAc,GAAG,IAAIR,eAAe,CAAC,WAAW,EAAE,cAAc,EAAEG,MAAM,CAAC;AAC/E,MAAMM,cAAc,GAAG,IAAIP,eAAe,CAAC,WAAW,EAAE,WAAW,EAAEC,MAAM,CAAC;AAE5E,SAASI,kBAAkB,EAAEC,cAAc,EAAEC,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClassAttributor, StyleAttributor } from 'parchment';
|
|
2
|
+
declare const FontClass: ClassAttributor;
|
|
3
|
+
declare class FontStyleAttributor extends StyleAttributor {
|
|
4
|
+
value(node: HTMLElement): any;
|
|
5
|
+
}
|
|
6
|
+
declare const FontStyle: FontStyleAttributor;
|
|
7
|
+
export { FontStyle, FontClass };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
2
|
+
const config = {
|
|
3
|
+
scope: Scope.INLINE,
|
|
4
|
+
whitelist: ['serif', 'monospace']
|
|
5
|
+
};
|
|
6
|
+
const FontClass = new ClassAttributor('font', 'ql-font', config);
|
|
7
|
+
class FontStyleAttributor extends StyleAttributor {
|
|
8
|
+
value(node) {
|
|
9
|
+
return super.value(node).replace(/["']/g, '');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
const FontStyle = new FontStyleAttributor('font', 'font-family', config);
|
|
13
|
+
export { FontStyle, FontClass };
|
|
14
|
+
//# sourceMappingURL=font.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font.js","names":["ClassAttributor","Scope","StyleAttributor","config","scope","INLINE","whitelist","FontClass","FontStyleAttributor","value","node","replace","FontStyle"],"sources":["../../src/formats/font.ts"],"sourcesContent":["import { ClassAttributor, Scope, StyleAttributor } from 'parchment';\n\nconst config = {\n scope: Scope.INLINE,\n whitelist: ['serif', 'monospace'],\n};\n\nconst FontClass = new ClassAttributor('font', 'ql-font', config);\n\nclass FontStyleAttributor extends StyleAttributor {\n value(node: HTMLElement) {\n return super.value(node).replace(/[\"']/g, '');\n }\n}\n\nconst FontStyle = new FontStyleAttributor('font', 'font-family', config);\n\nexport { FontStyle, FontClass };\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,KAAK,EAAEC,eAAe,QAAQ,WAAW;AAEnE,MAAMC,MAAM,GAAG;EACbC,KAAK,EAAEH,KAAK,CAACI,MAAM;EACnBC,SAAS,EAAE,CAAC,OAAO,EAAE,WAAW;AAClC,CAAC;AAED,MAAMC,SAAS,GAAG,IAAIP,eAAe,CAAC,MAAM,EAAE,SAAS,EAAEG,MAAM,CAAC;AAEhE,MAAMK,mBAAmB,SAASN,eAAe,CAAC;EAChDO,KAAKA,CAACC,IAAiB,EAAE;IACvB,OAAO,KAAK,CAACD,KAAK,CAACC,IAAI,CAAC,CAACC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;EAC/C;AACF;AAEA,MAAMC,SAAS,GAAG,IAAIJ,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAEL,MAAM,CAAC;AAExE,SAASS,SAAS,EAAEL,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Embed from '../blots/embed.js';
|
|
2
|
+
declare class Formula extends Embed {
|
|
3
|
+
static blotName: string;
|
|
4
|
+
static className: string;
|
|
5
|
+
static tagName: string;
|
|
6
|
+
static create(value: string): Element;
|
|
7
|
+
static value(domNode: Element): string | null;
|
|
8
|
+
html(): string;
|
|
9
|
+
}
|
|
10
|
+
export default Formula;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import Embed from '../blots/embed.js';
|
|
2
|
+
class Formula extends Embed {
|
|
3
|
+
static blotName = 'formula';
|
|
4
|
+
static className = 'ql-formula';
|
|
5
|
+
static tagName = 'SPAN';
|
|
6
|
+
static create(value) {
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
if (window.katex == null) {
|
|
9
|
+
throw new Error('Formula module requires KaTeX.');
|
|
10
|
+
}
|
|
11
|
+
const node = super.create(value);
|
|
12
|
+
if (typeof value === 'string') {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
window.katex.render(value, node, {
|
|
15
|
+
throwOnError: false,
|
|
16
|
+
errorColor: '#f00'
|
|
17
|
+
});
|
|
18
|
+
node.setAttribute('data-value', value);
|
|
19
|
+
}
|
|
20
|
+
return node;
|
|
21
|
+
}
|
|
22
|
+
static value(domNode) {
|
|
23
|
+
return domNode.getAttribute('data-value');
|
|
24
|
+
}
|
|
25
|
+
html() {
|
|
26
|
+
const {
|
|
27
|
+
formula
|
|
28
|
+
} = this.value();
|
|
29
|
+
return `<span>${formula}</span>`;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export default Formula;
|
|
33
|
+
//# sourceMappingURL=formula.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formula.js","names":["Embed","Formula","blotName","className","tagName","create","value","window","katex","Error","node","render","throwOnError","errorColor","setAttribute","domNode","getAttribute","html","formula"],"sources":["../../src/formats/formula.ts"],"sourcesContent":["import Embed from '../blots/embed.js';\n\nclass Formula extends Embed {\n static blotName = 'formula';\n static className = 'ql-formula';\n static tagName = 'SPAN';\n\n static create(value: string) {\n // @ts-expect-error\n if (window.katex == null) {\n throw new Error('Formula module requires KaTeX.');\n }\n const node = super.create(value) as Element;\n if (typeof value === 'string') {\n // @ts-expect-error\n window.katex.render(value, node, {\n throwOnError: false,\n errorColor: '#f00',\n });\n node.setAttribute('data-value', value);\n }\n return node;\n }\n\n static value(domNode: Element) {\n return domNode.getAttribute('data-value');\n }\n\n html() {\n const { formula } = this.value();\n return `<span>${formula}</span>`;\n }\n}\n\nexport default Formula;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AAErC,MAAMC,OAAO,SAASD,KAAK,CAAC;EAC1B,OAAOE,QAAQ,GAAG,SAAS;EAC3B,OAAOC,SAAS,GAAG,YAAY;EAC/B,OAAOC,OAAO,GAAG,MAAM;EAEvB,OAAOC,MAAMA,CAACC,KAAa,EAAE;IAC3B;IACA,IAAIC,MAAM,CAACC,KAAK,IAAI,IAAI,EAAE;MACxB,MAAM,IAAIC,KAAK,CAAC,gCAAgC,CAAC;IACnD;IACA,MAAMC,IAAI,GAAG,KAAK,CAACL,MAAM,CAACC,KAAK,CAAY;IAC3C,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;MAC7B;MACAC,MAAM,CAACC,KAAK,CAACG,MAAM,CAACL,KAAK,EAAEI,IAAI,EAAE;QAC/BE,YAAY,EAAE,KAAK;QACnBC,UAAU,EAAE;MACd,CAAC,CAAC;MACFH,IAAI,CAACI,YAAY,CAAC,YAAY,EAAER,KAAK,CAAC;IACxC;IACA,OAAOI,IAAI;EACb;EAEA,OAAOJ,KAAKA,CAACS,OAAgB,EAAE;IAC7B,OAAOA,OAAO,CAACC,YAAY,CAAC,YAAY,CAAC;EAC3C;EAEAC,IAAIA,CAAA,EAAG;IACL,MAAM;MAAEC;IAAQ,CAAC,GAAG,IAAI,CAACZ,KAAK,CAAC,CAAC;IAChC,OAAQ,SAAQY,OAAQ,SAAQ;EAClC;AACF;AAEA,eAAejB,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Block from '../blots/block.js';
|
|
2
|
+
class Header extends Block {
|
|
3
|
+
static blotName = 'header';
|
|
4
|
+
static tagName = ['H1', 'H2', 'H3', 'H4', 'H5', 'H6'];
|
|
5
|
+
static formats(domNode) {
|
|
6
|
+
return this.tagName.indexOf(domNode.tagName) + 1;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default Header;
|
|
10
|
+
//# sourceMappingURL=header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.js","names":["Block","Header","blotName","tagName","formats","domNode","indexOf"],"sources":["../../src/formats/header.ts"],"sourcesContent":["import Block from '../blots/block.js';\n\nclass Header extends Block {\n static blotName = 'header';\n static tagName = ['H1', 'H2', 'H3', 'H4', 'H5', 'H6'];\n\n static formats(domNode: Element) {\n return this.tagName.indexOf(domNode.tagName) + 1;\n }\n}\n\nexport default Header;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,mBAAmB;AAErC,MAAMC,MAAM,SAASD,KAAK,CAAC;EACzB,OAAOE,QAAQ,GAAG,QAAQ;EAC1B,OAAOC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;EAErD,OAAOC,OAAOA,CAACC,OAAgB,EAAE;IAC/B,OAAO,IAAI,CAACF,OAAO,CAACG,OAAO,CAACD,OAAO,CAACF,OAAO,CAAC,GAAG,CAAC;EAClD;AACF;AAEA,eAAeF,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EmbedBlot } from 'parchment';
|
|
2
|
+
declare class Image extends EmbedBlot {
|
|
3
|
+
static blotName: string;
|
|
4
|
+
static tagName: string;
|
|
5
|
+
static create(value: string): Element;
|
|
6
|
+
static formats(domNode: Element): Record<string, string | null>;
|
|
7
|
+
static match(url: string): boolean;
|
|
8
|
+
static sanitize(url: string): string;
|
|
9
|
+
static value(domNode: Element): string | null;
|
|
10
|
+
domNode: HTMLImageElement;
|
|
11
|
+
format(name: string, value: string): void;
|
|
12
|
+
}
|
|
13
|
+
export default Image;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EmbedBlot } from 'parchment';
|
|
2
|
+
import { sanitize } from './link.js';
|
|
3
|
+
const ATTRIBUTES = ['alt', 'height', 'width'];
|
|
4
|
+
class Image extends EmbedBlot {
|
|
5
|
+
static blotName = 'image';
|
|
6
|
+
static tagName = 'IMG';
|
|
7
|
+
static create(value) {
|
|
8
|
+
const node = super.create(value);
|
|
9
|
+
if (typeof value === 'string') {
|
|
10
|
+
node.setAttribute('src', this.sanitize(value));
|
|
11
|
+
}
|
|
12
|
+
return node;
|
|
13
|
+
}
|
|
14
|
+
static formats(domNode) {
|
|
15
|
+
return ATTRIBUTES.reduce((formats, attribute) => {
|
|
16
|
+
if (domNode.hasAttribute(attribute)) {
|
|
17
|
+
formats[attribute] = domNode.getAttribute(attribute);
|
|
18
|
+
}
|
|
19
|
+
return formats;
|
|
20
|
+
}, {});
|
|
21
|
+
}
|
|
22
|
+
static match(url) {
|
|
23
|
+
return /\.(jpe?g|gif|png)$/.test(url) || /^data:image\/.+;base64/.test(url);
|
|
24
|
+
}
|
|
25
|
+
static sanitize(url) {
|
|
26
|
+
return sanitize(url, ['http', 'https', 'data']) ? url : '//:0';
|
|
27
|
+
}
|
|
28
|
+
static value(domNode) {
|
|
29
|
+
return domNode.getAttribute('src');
|
|
30
|
+
}
|
|
31
|
+
format(name, value) {
|
|
32
|
+
if (ATTRIBUTES.indexOf(name) > -1) {
|
|
33
|
+
if (value) {
|
|
34
|
+
this.domNode.setAttribute(name, value);
|
|
35
|
+
} else {
|
|
36
|
+
this.domNode.removeAttribute(name);
|
|
37
|
+
}
|
|
38
|
+
} else {
|
|
39
|
+
super.format(name, value);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export default Image;
|
|
44
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","names":["EmbedBlot","sanitize","ATTRIBUTES","Image","blotName","tagName","create","value","node","setAttribute","formats","domNode","reduce","attribute","hasAttribute","getAttribute","match","url","test","format","name","indexOf","removeAttribute"],"sources":["../../src/formats/image.ts"],"sourcesContent":["import { EmbedBlot } from 'parchment';\nimport { sanitize } from './link.js';\n\nconst ATTRIBUTES = ['alt', 'height', 'width'];\n\nclass Image extends EmbedBlot {\n static blotName = 'image';\n static tagName = 'IMG';\n\n static create(value: string) {\n const node = super.create(value) as Element;\n if (typeof value === 'string') {\n node.setAttribute('src', this.sanitize(value));\n }\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 match(url: string) {\n return /\\.(jpe?g|gif|png)$/.test(url) || /^data:image\\/.+;base64/.test(url);\n }\n\n static sanitize(url: string) {\n return sanitize(url, ['http', 'https', 'data']) ? url : '//:0';\n }\n\n static value(domNode: Element) {\n return domNode.getAttribute('src');\n }\n\n domNode: HTMLImageElement;\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\nexport default Image;\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,WAAW;AACrC,SAASC,QAAQ,QAAQ,WAAW;AAEpC,MAAMC,UAAU,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC;AAE7C,MAAMC,KAAK,SAASH,SAAS,CAAC;EAC5B,OAAOI,QAAQ,GAAG,OAAO;EACzB,OAAOC,OAAO,GAAG,KAAK;EAEtB,OAAOC,MAAMA,CAACC,KAAa,EAAE;IAC3B,MAAMC,IAAI,GAAG,KAAK,CAACF,MAAM,CAACC,KAAK,CAAY;IAC3C,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;MAC7BC,IAAI,CAACC,YAAY,CAAC,KAAK,EAAE,IAAI,CAACR,QAAQ,CAACM,KAAK,CAAC,CAAC;IAChD;IACA,OAAOC,IAAI;EACb;EAEA,OAAOE,OAAOA,CAACC,OAAgB,EAAE;IAC/B,OAAOT,UAAU,CAACU,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,OAAOM,KAAKA,CAACC,GAAW,EAAE;IACxB,OAAO,oBAAoB,CAACC,IAAI,CAACD,GAAG,CAAC,IAAI,wBAAwB,CAACC,IAAI,CAACD,GAAG,CAAC;EAC7E;EAEA,OAAOhB,QAAQA,CAACgB,GAAW,EAAE;IAC3B,OAAOhB,QAAQ,CAACgB,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,GAAGA,GAAG,GAAG,MAAM;EAChE;EAEA,OAAOV,KAAKA,CAACI,OAAgB,EAAE;IAC7B,OAAOA,OAAO,CAACI,YAAY,CAAC,KAAK,CAAC;EACpC;EAIAI,MAAMA,CAACC,IAAY,EAAEb,KAAa,EAAE;IAClC,IAAIL,UAAU,CAACmB,OAAO,CAACD,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;MACjC,IAAIb,KAAK,EAAE;QACT,IAAI,CAACI,OAAO,CAACF,YAAY,CAACW,IAAI,EAAEb,KAAK,CAAC;MACxC,CAAC,MAAM;QACL,IAAI,CAACI,OAAO,CAACW,eAAe,CAACF,IAAI,CAAC;MACpC;IACF,CAAC,MAAM;MACL,KAAK,CAACD,MAAM,CAACC,IAAI,EAAEb,KAAK,CAAC;IAC3B;EACF;AACF;AAEA,eAAeJ,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ClassAttributor } from 'parchment';
|
|
2
|
+
declare class IndentAttributor extends ClassAttributor {
|
|
3
|
+
add(node: HTMLElement, value: string | number): boolean;
|
|
4
|
+
canAdd(node: HTMLElement, value: string): boolean;
|
|
5
|
+
value(node: HTMLElement): number | undefined;
|
|
6
|
+
}
|
|
7
|
+
declare const IndentClass: IndentAttributor;
|
|
8
|
+
export default IndentClass;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ClassAttributor, Scope } from 'parchment';
|
|
2
|
+
class IndentAttributor extends ClassAttributor {
|
|
3
|
+
add(node, value) {
|
|
4
|
+
let normalizedValue = 0;
|
|
5
|
+
if (value === '+1' || value === '-1') {
|
|
6
|
+
const indent = this.value(node) || 0;
|
|
7
|
+
normalizedValue = value === '+1' ? indent + 1 : indent - 1;
|
|
8
|
+
} else if (typeof value === 'number') {
|
|
9
|
+
normalizedValue = value;
|
|
10
|
+
}
|
|
11
|
+
if (normalizedValue === 0) {
|
|
12
|
+
this.remove(node);
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
return super.add(node, normalizedValue.toString());
|
|
16
|
+
}
|
|
17
|
+
canAdd(node, value) {
|
|
18
|
+
return super.canAdd(node, value) || super.canAdd(node, parseInt(value, 10));
|
|
19
|
+
}
|
|
20
|
+
value(node) {
|
|
21
|
+
return parseInt(super.value(node), 10) || undefined; // Don't return NaN
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const IndentClass = new IndentAttributor('indent', 'ql-indent', {
|
|
25
|
+
scope: Scope.BLOCK,
|
|
26
|
+
// @ts-expect-error
|
|
27
|
+
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
28
|
+
});
|
|
29
|
+
export default IndentClass;
|
|
30
|
+
//# sourceMappingURL=indent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indent.js","names":["ClassAttributor","Scope","IndentAttributor","add","node","value","normalizedValue","indent","remove","toString","canAdd","parseInt","undefined","IndentClass","scope","BLOCK","whitelist"],"sources":["../../src/formats/indent.ts"],"sourcesContent":["import { ClassAttributor, Scope } from 'parchment';\n\nclass IndentAttributor extends ClassAttributor {\n add(node: HTMLElement, value: string | number) {\n let normalizedValue = 0;\n if (value === '+1' || value === '-1') {\n const indent = this.value(node) || 0;\n normalizedValue = value === '+1' ? indent + 1 : indent - 1;\n } else if (typeof value === 'number') {\n normalizedValue = value;\n }\n if (normalizedValue === 0) {\n this.remove(node);\n return true;\n }\n return super.add(node, normalizedValue.toString());\n }\n\n canAdd(node: HTMLElement, value: string) {\n return super.canAdd(node, value) || super.canAdd(node, parseInt(value, 10));\n }\n\n value(node: HTMLElement) {\n return parseInt(super.value(node), 10) || undefined; // Don't return NaN\n }\n}\n\nconst IndentClass = new IndentAttributor('indent', 'ql-indent', {\n scope: Scope.BLOCK,\n // @ts-expect-error\n whitelist: [1, 2, 3, 4, 5, 6, 7, 8],\n});\n\nexport default IndentClass;\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,KAAK,QAAQ,WAAW;AAElD,MAAMC,gBAAgB,SAASF,eAAe,CAAC;EAC7CG,GAAGA,CAACC,IAAiB,EAAEC,KAAsB,EAAE;IAC7C,IAAIC,eAAe,GAAG,CAAC;IACvB,IAAID,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,IAAI,EAAE;MACpC,MAAME,MAAM,GAAG,IAAI,CAACF,KAAK,CAACD,IAAI,CAAC,IAAI,CAAC;MACpCE,eAAe,GAAGD,KAAK,KAAK,IAAI,GAAGE,MAAM,GAAG,CAAC,GAAGA,MAAM,GAAG,CAAC;IAC5D,CAAC,MAAM,IAAI,OAAOF,KAAK,KAAK,QAAQ,EAAE;MACpCC,eAAe,GAAGD,KAAK;IACzB;IACA,IAAIC,eAAe,KAAK,CAAC,EAAE;MACzB,IAAI,CAACE,MAAM,CAACJ,IAAI,CAAC;MACjB,OAAO,IAAI;IACb;IACA,OAAO,KAAK,CAACD,GAAG,CAACC,IAAI,EAAEE,eAAe,CAACG,QAAQ,CAAC,CAAC,CAAC;EACpD;EAEAC,MAAMA,CAACN,IAAiB,EAAEC,KAAa,EAAE;IACvC,OAAO,KAAK,CAACK,MAAM,CAACN,IAAI,EAAEC,KAAK,CAAC,IAAI,KAAK,CAACK,MAAM,CAACN,IAAI,EAAEO,QAAQ,CAACN,KAAK,EAAE,EAAE,CAAC,CAAC;EAC7E;EAEAA,KAAKA,CAACD,IAAiB,EAAE;IACvB,OAAOO,QAAQ,CAAC,KAAK,CAACN,KAAK,CAACD,IAAI,CAAC,EAAE,EAAE,CAAC,IAAIQ,SAAS,CAAC,CAAC;EACvD;AACF;AAEA,MAAMC,WAAW,GAAG,IAAIX,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE;EAC9DY,KAAK,EAAEb,KAAK,CAACc,KAAK;EAClB;EACAC,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpC,CAAC,CAAC;AAEF,eAAeH,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"italic.js","names":["Bold","Italic","blotName","tagName"],"sources":["../../src/formats/italic.ts"],"sourcesContent":["import Bold from './bold.js';\n\nclass Italic extends Bold {\n static blotName = 'italic';\n static tagName = ['EM', 'I'];\n}\n\nexport default Italic;\n"],"mappings":"AAAA,OAAOA,IAAI,MAAM,WAAW;AAE5B,MAAMC,MAAM,SAASD,IAAI,CAAC;EACxB,OAAOE,QAAQ,GAAG,QAAQ;EAC1B,OAAOC,OAAO,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;AAC9B;AAEA,eAAeF,MAAM","ignoreList":[]}
|