@intlayer/core 9.4.4 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/cjs/dictionaryManipulator/qualifiedDictionary.cjs.map +1 -1
- package/dist/cjs/index.cjs +5 -8
- package/dist/cjs/interpreter/getPlural.cjs.map +1 -1
- package/dist/cjs/markdown/compiler.cjs +437 -209
- package/dist/cjs/markdown/compiler.cjs.map +1 -1
- package/dist/cjs/markdown/constants.cjs +32 -50
- package/dist/cjs/markdown/constants.cjs.map +1 -1
- package/dist/cjs/markdown/elementScanner.cjs +191 -0
- package/dist/cjs/markdown/elementScanner.cjs.map +1 -0
- package/dist/cjs/markdown/index.cjs +5 -8
- package/dist/cjs/markdown/parser.cjs +90 -48
- package/dist/cjs/markdown/parser.cjs.map +1 -1
- package/dist/cjs/markdown/renderer.cjs +14 -11
- package/dist/cjs/markdown/renderer.cjs.map +1 -1
- package/dist/cjs/markdown/utils.cjs +123 -34
- package/dist/cjs/markdown/utils.cjs.map +1 -1
- package/dist/esm/dictionaryManipulator/qualifiedDictionary.mjs.map +1 -1
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/interpreter/getPlural.mjs.map +1 -1
- package/dist/esm/markdown/compiler.mjs +438 -211
- package/dist/esm/markdown/compiler.mjs.map +1 -1
- package/dist/esm/markdown/constants.mjs +29 -43
- package/dist/esm/markdown/constants.mjs.map +1 -1
- package/dist/esm/markdown/elementScanner.mjs +183 -0
- package/dist/esm/markdown/elementScanner.mjs.map +1 -0
- package/dist/esm/markdown/index.mjs +3 -3
- package/dist/esm/markdown/parser.mjs +90 -48
- package/dist/esm/markdown/parser.mjs.map +1 -1
- package/dist/esm/markdown/renderer.mjs +14 -11
- package/dist/esm/markdown/renderer.mjs.map +1 -1
- package/dist/esm/markdown/utils.mjs +124 -35
- package/dist/esm/markdown/utils.mjs.map +1 -1
- package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts +3 -3
- package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/interpreter/getPlural.d.ts +3 -3
- package/dist/types/interpreter/getPlural.d.ts.map +1 -1
- package/dist/types/markdown/compiler.d.ts +43 -0
- package/dist/types/markdown/compiler.d.ts.map +1 -1
- package/dist/types/markdown/constants.d.ts +26 -17
- package/dist/types/markdown/constants.d.ts.map +1 -1
- package/dist/types/markdown/elementScanner.d.ts +14 -0
- package/dist/types/markdown/elementScanner.d.ts.map +1 -0
- package/dist/types/markdown/index.d.ts +4 -4
- package/dist/types/markdown/parser.d.ts +0 -5
- package/dist/types/markdown/parser.d.ts.map +1 -1
- package/dist/types/markdown/renderer.d.ts +0 -4
- package/dist/types/markdown/renderer.d.ts.map +1 -1
- package/dist/types/markdown/types.d.ts +13 -0
- package/dist/types/markdown/types.d.ts.map +1 -1
- package/dist/types/markdown/utils.d.ts +7 -2
- package/dist/types/markdown/utils.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/formatters/compact.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/currency.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/date.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/index.d.ts +0 -9
- package/dist/types/@intlayer/core/dist/types/formatters/list.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/number.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/percentage.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/relativeTime.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/units.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/dictionaryTransformCache.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getCondition.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +0 -7
- package/dist/types/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -6
- package/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayerAsync.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getNesting.d.ts +0 -6
- package/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -18
- package/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
- package/dist/types/@intlayer/core/dist/types/localization/comparePaths.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/domainUtils.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/generateSitemap.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getCanonicalPath.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleName.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getPrefix.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/index.d.ts +0 -22
- package/dist/types/@intlayer/core/dist/types/localization/localeDetector.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/localeMapper.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/localeResolver.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/rewriteMatch.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/validatePrefix.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/markdown/index.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/file/file.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/file/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/html/html.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/html/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -22
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/select/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/select/select.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/utils/index.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/utils/intl.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/utils/localeStorage.d.ts +0 -2
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","names":[],"sources":["../../../src/markdown/constants.ts"],"mappings":";;;;;qBAQa;WACX;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;;WAEA;;WAEA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;YAUU,wBAAwB,uBAAuB;;;;qBAS9C;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;YAGU,wBAAwB,uBAAuB;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","names":[],"sources":["../../../src/markdown/constants.ts"],"mappings":";;;;;qBAQa;WACX;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;;WAEA;;WAEA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;YAUU,wBAAwB,uBAAuB;;;;qBAS9C;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;YAGU,wBAAwB,uBAAuB;;;;;;;;qBAa9C;WACX;WACA;WACA;;qBAGW;qBACA;qBACA;YAED,yBACA,wBAAwB;;;;;qBAavB,4BAA4B;;;;qBAuD5B,wBAAwB;;qBAcxB;;qBAGA;;qBAcA,kBAAgB;;qBAIhB,aAAW;;qBAGX,cAAY;qBACZ,kCAAgC;qBAChC,oBAAkB;;qBAGlB,cAAY;qBACZ,kBAAgB;;qBAOhB,qBAAmB;qBAEnB,cAAY;;qBAEZ,mBAAiB;qBACjB,eAAa;;qBAGb,uBAAqB;qBACrB,cAAY;;qBAGZ,YAAU;qBACV,sBAAoB;;qBAGpB,YAAU;;qBAGV,gBAAc;;qBAGd,YAAU;;qBAGV,WAAS;qBACT,yBAAuB;qBAEvB,kBAAgB;;qBAIhB,kBAAgB;qBAEhB,gBAAc;qBACd,oBAAkB;;qBAGlB,iBAAe;;qBAGf,0BAAwB;qBACxB,iBAAe;qBACf,6BAA2B;;;;;;;;;qBAU3B,YAAU;qBAEV,kBAAgB;qBAChB,oBAAkB;qBAClB,kBAAgB;qBAChB,mBAAiB;;qBAGjB,aAAW;;qBAGX,yBAAuB;qBAEvB,mBAAiB;qBACjB,kBAAgB;;qBAGhB,0BAAwB;;qBAGxB,OAAK;qBACL,wBAAsB;qBACtB,yBAAuB;;qBAGvB;qBACA;;qBAGA,gBAAc;qBACd,YAAU;;qBAGV,aAAW;YAMZ;qBACC,SAAS;qBACT,WAAW;;;;;qBAUX,YAAS;;;;;qBAOT;;qBAIA,aAAW;;qBAKX,mBAAiB;;qBAKjB,eAAa;;qBAKb,wBAAsB;qBAQtB,yBAAsB,MAAU;qBAQhC;qBACA;qBAEA,8BAA2B,MAAU,aAAW;qBAOhD,4BAA0B;qBAC1B,8BAA4B;qBAG5B,wBAAqB,MAAU,aAAW;qBAc1C,qBAAmB;qBACnB,uBAAqB;qBAErB,oBAAiB,MAAU,aAAW;qBA4BtC,gBAAc;qBACd,kBAAgB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/markdown/elementScanner.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Lean, non-backtracking element scanner for HTML blocks, custom components, and self-closing tags.
|
|
4
|
+
*/
|
|
5
|
+
export declare const matchElement: (source: string, customComponent: boolean) => RegExpMatchArray | null;
|
|
6
|
+
export declare const matchSelfClosingElement: (source: string) => RegExpMatchArray | null;
|
|
7
|
+
export declare const matchHtmlBlockElement: (source: string) => RegExpMatchArray;
|
|
8
|
+
export declare const matchCustomComponent: (source: string) => RegExpMatchArray;
|
|
9
|
+
export declare const startsWithHtmlBlockElement: (source: string) => boolean;
|
|
10
|
+
export declare const startsWithSelfClosingElement: (source: string) => boolean;
|
|
11
|
+
export declare const startsWithCustomComponent: (source: string) => boolean;
|
|
12
|
+
export declare const startsWithElement: (source: string) => boolean;
|
|
13
|
+
//#endregion
|
|
14
|
+
//# sourceMappingURL=elementScanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementScanner.d.ts","names":[],"sources":["../../../src/markdown/elementScanner.ts"],"mappings":";;;;qBA+Ga,eAAY,gBACT,6BAEb;qBAkHU,0BAAuB,mBAEjC;qBA4DU,wBAAqB,mBAAkB;qBAEvC,uBAAoB,mBAAkB;qBAEtC,6BAA0B;qBAE1B,+BAA4B;qBAE5B,4BAAyB;qBAEzB,oBAAiB"}
|
|
@@ -3,10 +3,10 @@ import { getMarkdownMetadata } from "../transpiler/markdown/getMarkdownMetadata.
|
|
|
3
3
|
import { MarkdownContent, MarkdownContentConstructor, md as markdown } from "../transpiler/markdown/markdown.js";
|
|
4
4
|
import { MarkdownValidationResult, validateMarkdown } from "../transpiler/markdown/validateMarkdown.js";
|
|
5
5
|
import "../transpiler/markdown/index.js";
|
|
6
|
+
import { ATTRIBUTES_TO_SANITIZE, ATTRIBUTE_TO_NODE_PROP_MAP, ATTR_EXTRACTOR_R, BLOCKQUOTE_ALERT_R, BLOCKQUOTE_R, BLOCKQUOTE_TRIM_LEFT_MULTILINE_R, BLOCK_END_R, BREAK_LINE_R, BREAK_THEMATIC_R, CAPTURE_LETTER_AFTER_HYPHEN, CODE_BLOCK_FENCED_R, CODE_BLOCK_R, CODE_INLINE_R, CONSECUTIVE_NEWLINE_R, CR_NEWLINE_R, DO_NOT_PROCESS_HTML_ELEMENTS, FENCE_DELIMITER_R, FOOTNOTE_R, FOOTNOTE_REFERENCE_R, FORMFEED_R, FRONT_MATTER_R, GFM_TASK_R, HEADING_ATX_COMPLIANT_R, HEADING_R, HEADING_SETEXT_R, HTML_CHAR_CODE_R, HTML_COMMENT_R, HTML_CUSTOM_ATTR_R, HTML_LEFT_TRIM_AMOUNT_R, INLINE_SKIP_R, INTERPOLATION_R, LINK_AUTOLINK_BARE_URL_R, LINK_AUTOLINK_R, LOOKAHEAD, ListType, NAMED_CODES_TO_UNICODE, NP_TABLE_R, ORDERED, ORDERED_LIST_BULLET, ORDERED_LIST_ITEM_PREFIX, ORDERED_LIST_ITEM_PREFIX_R, ORDERED_LIST_ITEM_R, ORDERED_LIST_R, PARAGRAPH_R, Priority, PriorityValue, REFERENCE_IMAGE_OR_LINK, REFERENCE_IMAGE_R, REFERENCE_LINK_R, RuleScope, RuleScopeValue, RuleType, RuleTypeValue, SCOPE_BLOCK, SCOPE_BOTH, SCOPE_INLINE, SHORTCODE_R, SHOULD_RENDER_AS_BLOCK_R, TABLE_CENTER_ALIGN, TABLE_LEFT_ALIGN, TABLE_RIGHT_ALIGN, TABLE_TRIM_PIPES, TAB_R, TEXT_BOLD_R, TEXT_EMPHASIZED_R, TEXT_ESCAPED_R, TEXT_MARKED_R, TEXT_STRIKETHROUGHED_R, TRIM_STARTING_NEWLINES, UNESCAPE_R, UNORDERED, UNORDERED_LIST_BULLET, UNORDERED_LIST_ITEM_PREFIX, UNORDERED_LIST_ITEM_PREFIX_R, UNORDERED_LIST_ITEM_R, UNORDERED_LIST_R, generateListItemPrefix, generateListItemPrefixRegex, generateListItemRegex, generateListRegex } from "./constants.js";
|
|
6
7
|
import { BlockQuoteNode, BoldTextNode, BreakLineNode, BreakThematicNode, CodeBlockNode, CodeFencedNode, CodeInlineNode, CompileOptions, ComponentOverrides, CustomComponentNode, ElementType, EscapedTextNode, FootnoteNode, FootnoteReferenceNode, GFMTaskNode, HTMLCommentNode, HTMLNode, HTMLSelfClosingNode, HTMLTag, HeadingNode, HeadingSetextNode, ImageNode, ItalicTextNode, LinkAngleBraceNode, LinkBareURLNode, LinkNode, MarkdownContext, MarkdownOptions, MarkdownRuntime, MarkedTextNode, NestedParser, NewlineNode, OrderedListNode, ParagraphNode, ParseState, Parser, ParserResult, ReferenceImageNode, ReferenceLinkNode, ReferenceNode, RenderRuleHook, Rule, RuleOutput, Rules, StrikethroughTextNode, TableNode, TableSeparatorNode, TextNode, UnorderedListNode } from "./types.js";
|
|
7
|
-
import { MarkdownReferences, ParsedMarkdown, compile, compileWithOptions, createCompiler, parseMarkdown, renderMarkdownAst } from "./compiler.js";
|
|
8
|
-
import { ATTRIBUTES_TO_SANITIZE, ATTRIBUTE_TO_NODE_PROP_MAP, ATTR_EXTRACTOR_R, BLOCKQUOTE_ALERT_R, BLOCKQUOTE_R, BLOCKQUOTE_TRIM_LEFT_MULTILINE_R, BLOCK_END_R, BREAK_LINE_R, BREAK_THEMATIC_R, CAPTURE_LETTER_AFTER_HYPHEN, CODE_BLOCK_FENCED_R, CODE_BLOCK_R, CODE_INLINE_R, CONSECUTIVE_NEWLINE_R, CR_NEWLINE_R, CUSTOM_COMPONENT_OPENING_TAG_R, CUSTOM_COMPONENT_R, DO_NOT_PROCESS_HTML_ELEMENTS, FENCE_DELIMITER_R, FOOTNOTE_R, FOOTNOTE_REFERENCE_R, FORMFEED_R, FRONT_MATTER_R, GFM_TASK_R, HEADING_ATX_COMPLIANT_R, HEADING_R, HEADING_SETEXT_R, HTML_BLOCK_ELEMENT_R, HTML_BLOCK_OPENING_TAG_R, HTML_CHAR_CODE_R, HTML_COMMENT_R, HTML_CUSTOM_ATTR_R, HTML_LEFT_TRIM_AMOUNT_R, HTML_SELF_CLOSING_ELEMENT_R, HTML_SELF_CLOSING_OPENING_TAG_R, INLINE_SKIP_R, INTERPOLATION_R, LINK_AUTOLINK_BARE_URL_R, LINK_AUTOLINK_R, LOOKAHEAD, ListType, NAMED_CODES_TO_UNICODE, NORMALIZE_WHITESPACE_R, NP_TABLE_R, ORDERED, ORDERED_LIST_BULLET, ORDERED_LIST_ITEM_PREFIX, ORDERED_LIST_ITEM_PREFIX_R, ORDERED_LIST_ITEM_R, ORDERED_LIST_R, PARAGRAPH_R, Priority, PriorityValue, REFERENCE_IMAGE_OR_LINK, REFERENCE_IMAGE_R, REFERENCE_LINK_R, RuleType, RuleTypeValue, SHORTCODE_R, SHOULD_RENDER_AS_BLOCK_R, TABLE_CENTER_ALIGN, TABLE_LEFT_ALIGN, TABLE_RIGHT_ALIGN, TABLE_TRIM_PIPES, TAB_R, TEXT_BOLD_R, TEXT_EMPHASIZED_R, TEXT_ESCAPED_R, TEXT_MARKED_R, TEXT_PLAIN_R, TEXT_STRIKETHROUGHED_R, TRIM_STARTING_NEWLINES, UNESCAPE_R, UNORDERED, UNORDERED_LIST_BULLET, UNORDERED_LIST_ITEM_PREFIX, UNORDERED_LIST_ITEM_PREFIX_R, UNORDERED_LIST_ITEM_R, UNORDERED_LIST_R, generateListItemPrefix, generateListItemPrefixRegex, generateListItemRegex, generateListRegex } from "./constants.js";
|
|
9
8
|
import { parserFor } from "./parser.js";
|
|
10
9
|
import { createRenderer, renderFor } from "./renderer.js";
|
|
11
|
-
import {
|
|
12
|
-
|
|
10
|
+
import { MarkdownReferences, ParsedMarkdown, compile, compileWithOptions, createCompiler, getRuleSet, parseMarkdown, renderMarkdownAst } from "./compiler.js";
|
|
11
|
+
import { BlockSyntaxProbe, allowInline, anyScopeRegex, attributeValueToNodePropValue, blockRegex, captureNothing, cx, get, inlineRegex, normalizeAttributeKey, normalizeWhitespace, parseBlock, parseCaptureInline, parseInline, parseSimpleInline, parseStyleAttribute, parseTableAlign, parseTableAlignCapture, parseTableCells, parseTableRow, qualifies, renderNothing, sanitizer, simpleInlineRegex, slugify, some, startsWith, trimEnd, trimLeadingWhitespaceOutsideFences, unescapeString, unquote } from "./utils.js";
|
|
12
|
+
export { ATTRIBUTES_TO_SANITIZE, ATTRIBUTE_TO_NODE_PROP_MAP, ATTR_EXTRACTOR_R, BLOCKQUOTE_ALERT_R, BLOCKQUOTE_R, BLOCKQUOTE_TRIM_LEFT_MULTILINE_R, BLOCK_END_R, BREAK_LINE_R, BREAK_THEMATIC_R, type BlockQuoteNode, BlockSyntaxProbe, type BoldTextNode, type BreakLineNode, type BreakThematicNode, CAPTURE_LETTER_AFTER_HYPHEN, CODE_BLOCK_FENCED_R, CODE_BLOCK_R, CODE_INLINE_R, CONSECUTIVE_NEWLINE_R, CR_NEWLINE_R, type CodeBlockNode, type CodeFencedNode, type CodeInlineNode, type CompileOptions, type ComponentOverrides, type CustomComponentNode, DO_NOT_PROCESS_HTML_ELEMENTS, type ElementType, type EscapedTextNode, FENCE_DELIMITER_R, FOOTNOTE_R, FOOTNOTE_REFERENCE_R, FORMFEED_R, FRONT_MATTER_R, type FootnoteNode, type FootnoteReferenceNode, type GFMTaskNode, GFM_TASK_R, HEADING_ATX_COMPLIANT_R, HEADING_R, HEADING_SETEXT_R, type HTMLCommentNode, type HTMLNode, type HTMLSelfClosingNode, type HTMLTag, HTML_CHAR_CODE_R, HTML_COMMENT_R, HTML_CUSTOM_ATTR_R, HTML_LEFT_TRIM_AMOUNT_R, type HeadingNode, type HeadingSetextNode, INLINE_SKIP_R, INTERPOLATION_R, type ImageNode, type ItalicTextNode, LINK_AUTOLINK_BARE_URL_R, LINK_AUTOLINK_R, LOOKAHEAD, type LinkAngleBraceNode, type LinkBareURLNode, type LinkNode, ListType, MarkdownContent, MarkdownContentConstructor, type MarkdownContext, type MarkdownOptions, MarkdownReferences, type MarkdownRuntime, type HTMLValidationIssue as MarkdownValidationIssue, MarkdownValidationResult, type MarkedTextNode, NAMED_CODES_TO_UNICODE, NP_TABLE_R, type NestedParser, type NewlineNode, ORDERED, ORDERED_LIST_BULLET, ORDERED_LIST_ITEM_PREFIX, ORDERED_LIST_ITEM_PREFIX_R, ORDERED_LIST_ITEM_R, ORDERED_LIST_R, type OrderedListNode, PARAGRAPH_R, type ParagraphNode, type ParseState, ParsedMarkdown, type Parser, type ParserResult, Priority, PriorityValue, REFERENCE_IMAGE_OR_LINK, REFERENCE_IMAGE_R, REFERENCE_LINK_R, type ReferenceImageNode, type ReferenceLinkNode, type ReferenceNode, type RenderRuleHook, type Rule, type RuleOutput, RuleScope, RuleScopeValue, RuleType, RuleTypeValue, type Rules, SCOPE_BLOCK, SCOPE_BOTH, SCOPE_INLINE, SHORTCODE_R, SHOULD_RENDER_AS_BLOCK_R, type StrikethroughTextNode, TABLE_CENTER_ALIGN, TABLE_LEFT_ALIGN, TABLE_RIGHT_ALIGN, TABLE_TRIM_PIPES, TAB_R, TEXT_BOLD_R, TEXT_EMPHASIZED_R, TEXT_ESCAPED_R, TEXT_MARKED_R, TEXT_STRIKETHROUGHED_R, TRIM_STARTING_NEWLINES, type TableNode, type TableSeparatorNode, type TextNode, UNESCAPE_R, UNORDERED, UNORDERED_LIST_BULLET, UNORDERED_LIST_ITEM_PREFIX, UNORDERED_LIST_ITEM_PREFIX_R, UNORDERED_LIST_ITEM_R, UNORDERED_LIST_R, type UnorderedListNode, allowInline, anyScopeRegex, attributeValueToNodePropValue, blockRegex, captureNothing, compile, compileWithOptions, createCompiler, createRenderer, cx, generateListItemPrefix, generateListItemPrefixRegex, generateListItemRegex, generateListRegex, get, getMarkdownMetadata, getRuleSet, inlineRegex, markdown as md, normalizeAttributeKey, normalizeWhitespace, parseBlock, parseCaptureInline, parseInline, parseMarkdown, parseSimpleInline, parseStyleAttribute, parseTableAlign, parseTableAlignCapture, parseTableCells, parseTableRow, parserFor, qualifies, renderFor, renderMarkdownAst, renderNothing, sanitizer, simpleInlineRegex, slugify, some, startsWith, trimEnd, trimLeadingWhitespaceOutsideFences, unescapeString, unquote, validateMarkdown };
|
|
@@ -3,11 +3,6 @@ import { ParseState, ParserResult, Rules } from "./types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates a parser for a given set of rules, with the precedence
|
|
5
5
|
* specified as a list of rules.
|
|
6
|
-
*
|
|
7
|
-
* @param rules - An object containing rule type -> {match, order, parse} objects
|
|
8
|
-
* (lower order is higher precedence)
|
|
9
|
-
*
|
|
10
|
-
* @returns The resulting parse function
|
|
11
6
|
*/
|
|
12
7
|
export declare const parserFor: (rules: Rules) => ((source: string, state: ParseState) => ParserResult[]);
|
|
13
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/markdown/parser.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/markdown/parser.ts"],"mappings":";;;;;;qBAoEa,YAAS,OACb,YACJ,gBAAgB,OAAO,eAAe"}
|
|
@@ -10,10 +10,6 @@ import { ParseState, ParserResult, RenderRuleHook, RuleOutput, Rules } from "./t
|
|
|
10
10
|
export declare const renderFor: (render: (ast: ParserResult, render: RuleOutput, state: ParseState) => unknown) => (ast: ParserResult | ParserResult[], state?: ParseState) => any;
|
|
11
11
|
/**
|
|
12
12
|
* Creates a renderer from rules with optional custom render hook.
|
|
13
|
-
*
|
|
14
|
-
* @param rules - The rules object containing _render functions
|
|
15
|
-
* @param userRender - Optional custom render hook for full control
|
|
16
|
-
* @returns A render function for AST nodes
|
|
17
13
|
*/
|
|
18
14
|
export declare const createRenderer: (rules: Rules, userRender?: RenderRuleHook) => (ast: ParserResult, render: RuleOutput, state: ParseState) => unknown;
|
|
19
15
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","names":[],"sources":["../../../src/markdown/renderer.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","names":[],"sources":["../../../src/markdown/renderer.ts"],"mappings":";;;;;;;;;qBAiBa,YAAS,SACX,KAAK,cAAc,QAAQ,YAAY,OAAO,4BAAsB,KAGtE,eAAe,gBAAc,QAC3B;;;;qBA0CE,iBAAc,OAAW,OAAK,aAAe,oBAAc,KAM7D,cAAY,QACT,YAAU,OACX"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RuleScopeValue } from "./constants.js";
|
|
1
2
|
//#region src/markdown/types.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* Permissive element type - core doesn't care what frameworks accept.
|
|
@@ -264,6 +265,18 @@ export type Rule<ParserOutput = ParserResult> = {
|
|
|
264
265
|
* should even be attempted.
|
|
265
266
|
*/
|
|
266
267
|
_qualify?: string[] | ((source: string, state: ParseState) => boolean);
|
|
268
|
+
/**
|
|
269
|
+
* Optional ASCII charCodes that can trigger this rule.
|
|
270
|
+
* If provided, the rule is only evaluated when source starts with one of these characters.
|
|
271
|
+
*/
|
|
272
|
+
_firstChars?: number[];
|
|
273
|
+
/**
|
|
274
|
+
* Optional parsing scope for this rule.
|
|
275
|
+
* SCOPE_BLOCK (1) / 'block': evaluated only when !state.inline && !state.simple
|
|
276
|
+
* SCOPE_INLINE (2) / 'inline': evaluated only when state.inline || state.simple
|
|
277
|
+
* SCOPE_BOTH (3) / 'both': evaluated in both scopes (default)
|
|
278
|
+
*/
|
|
279
|
+
_scope?: RuleScopeValue;
|
|
267
280
|
/**
|
|
268
281
|
* Render function - converts AST node to output.
|
|
269
282
|
* Uses context's runtime.createElement for element creation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/markdown/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/markdown/types.ts"],"mappings":";;;;;;YAUY;;;;YAKA;;;;;YAMA;;;;;;;EAOV,gBACE,MAAM,aACN,OAAO,+BACJ;;;;;EAOL;;;;;;;;;;EAWA,kBACE,KAAK,SACL,OAAO,wBACJ;;;;GAKJ;;;;;YAMS,gBAAgB;;EAE1B,SAAS;;EAET,aAAa,mBAAmB;;EAEhC,aAAa,aAAa,KAAK,SAAS;;EAExC,WAAW,cAAc,YAAY;;EAErC,sBAAsB;;;;;YAUZ;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;EAMA;;EAEA;;EAEA;;YAOU;EACV;EACA;EACA,UAAU;;YAGA;EACV;;YAGU;EACV;;YAGU;EACV;EACA,QAAQ;EACR;EACA;;YAGU;EACV;;YAGU;EACV;EACA;;YAGU;EACV;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA;;YAGU;EACV;EACA,UAAU;EACV;EACA;;YAGU;EACV;;YAGU;EACV;;YAGU;EACV;EACA;EACA;EACA;;YAGU;EACV;EACA,UAAU;EACV;EACA;;YAGU;EACV;;YAGU;EACV;;YAGU;EACV;EACA,OAAO;EACP;EACA;;YAGU;EACV;EACA,OAAO;EACP;;YAGU;EACV;;YAGU;EACV;EACA,UAAU;;YAGA;EACV;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA,UAAU;EACV;EACA;;YAGU;EACV;EACA;EACA,OAAO;EACP,QAAQ;;YAGE;EACV;;YAGU;EACV;EACA;;YAGU;EACV;EACA,UAAU;;YAGA;EACV;EACA,UAAU;;YAGA;EACV;;YAGU;EACV;EACA,UAAU;;YAGA;EACV;EACA,UAAU;;YAGA;EACV;EACA,OAAO;EACP,WAAW;EACX;EACA,KAAK;EACL;;YAGU;EACV;EACA,OAAO;EACP;;YAGU;EACV;EACA,OAAO;EACP,WAAW;EACX;EACA;EACA;;;;;YAMU,eACR,iBACA,gBACA,oBACA,gBACA,iBACA,iBACA,sBACA,eACA,wBACA,cACA,cACA,oBACA,kBACA,YACA,WACA,qBACA,kBACA,kBACA,oBACA,cACA,gBACA,gBACA,qBACA,oBACA,YACA,qBACA,WACA,eACA,iBACA,kBACA,iBACA,wBACA,WACA;;;;YASQ,gBAAgB,eAAe,OAAO,eAAe;;;;YAKrD,OAAO,iBACjB,SAAS,kBACT,aAAa,cACb,OAAO,eACJ;;;;YAKO,cACV,KAAK,eAAe,gBACpB,OAAO;;;;YAMG,KAAK,eAAe;;EAE9B,SACE,gBACA,OAAO,YACP,gCACG;;EAGL;;EAGA,QAAQ,OAAO,KAAK;;;;;EAMpB,wBAAwB,gBAAgB,OAAO;;;;;EAM/C;;;;;;;EAQA,SAAS;;;;;EAMT,WACE,MAAM,cACN,QAAQ,YACR,OAAO;;;;;YAOC;GACT,cAAc;;;;;YAUL,mBAAmB;GAC5B,cAAc;;;;;YAUL,kBAEV;;AAAA,qBAEA;;AAAA,MAAM,cAEN;;AAAA,gBAAgB,YAEhB;;AAAA,OAAO;;;;;YAOG;;;;EAIV;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA,aAAa;;;;EAKb,UAAU;;;;EAKV;;;;EAKA;;;;;;YAOU,eAAe,WAAW;;EAEpC,aAAa,mBAAmB;;EAEhC,sBAAsB;;EAEtB,aAAa,eAAe,KAAK,SAAS;;EAE1C,WAAW,eAAe,YAAY"}
|
|
@@ -15,7 +15,7 @@ export declare const unquote: (str: string) => string;
|
|
|
15
15
|
/**
|
|
16
16
|
* Unescape backslash-escaped characters.
|
|
17
17
|
*/
|
|
18
|
-
export declare const unescapeString: (rawString:
|
|
18
|
+
export declare const unescapeString: <T extends string | undefined>(rawString: T) => T;
|
|
19
19
|
/**
|
|
20
20
|
* Join class names, filtering out falsy values.
|
|
21
21
|
*/
|
|
@@ -135,6 +135,11 @@ export declare const renderNothing: () => null;
|
|
|
135
135
|
/**
|
|
136
136
|
* Check if any regex in a list matches the input.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
/**
|
|
139
|
+
* A block-syntax probe: either a regex to test, or a predicate for the rules
|
|
140
|
+
* whose regex was replaced by a linear scanner.
|
|
141
|
+
*/
|
|
142
|
+
export type BlockSyntaxProbe = RegExp | ((input: string) => boolean);
|
|
143
|
+
export declare const some: (probes: BlockSyntaxProbe[], input: string) => boolean;
|
|
139
144
|
//#endregion
|
|
140
145
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/markdown/utils.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/markdown/utils.ts"],"mappings":";;;;;qBAwBa,UAAO;;;;qBAWP,aAAU,aAAe;;;;qBAOzB,UAAO;;;;qBAiBP,iBAAkB,8BAA4B,WAAa,MAAI;;;;qBAQ/D,QAAE;;;;qBAKF,MAAG,UAAY,cAAc;qBAyC7B,UAAO;;;;;qBA4BP,YAAS;;;;qBAqCT,sBAAmB;;;;;;;;;;;qBA+BnB,qCAAkC,cACjC;;;;qBAwCD,wBAAqB;KAY7B,cAAc,aAAa;;;;qBAKnB,sBAAmB,wBAA0B;;;;qBA+D7C,gCAA6B,aAC7B,aACA,eACE,gBAEX,eACA,aACA;;;;qBA0CS,yBAAsB;;;;qBAqBtB,kBAAe;;;;qBAUf,gBAAa,gBACV,OACP,cAAY,OACZ,YAAU,yBAEhB;;;;qBA4HU,kBAAe,gBACZ,OACP,cAAY,OACZ,eACN;;;;qBAqCU,YAAS,gBACN,OACP,YAAU,SACR,YAAY;;;;qBAmBV,cAAe,cAAc,qBAAmB,IACvD,MACH;EAAM;;;;;qBAQI,cAAW,OAAW,aAAM,gBACZ,OAAS,eAAa;EATlC;;;;;qBAoBJ,oBAAiB,OAAW,aAAM,gBAClB,OAAS,eAAa;EArBlC;;;;;qBAgCJ,aAAU,OACb,YAAM,gBACC,OAAS,eAAa;;;;qBAW1B,gBAAa,IACpB,WAAW,gBAAgB,OAAO,eAAe,+BAAwB,gBAElD,OAAS,eAAa;EAhDlC;;;;;qBA0DJ,cAAW,OACf,cAAY,kBACH,OACT,eACN;;;;qBAeU,oBAAiB,OACrB,cAAY,kBACH,OACT,eACN;;;;qBAgBU,aAAU,OACd,cAAY,kBACH,QACT,eACN;;;;qBAoBU,qBAAkB,SACpB,kBAAgB,OAClB,cAAY,OACZ;EACJ,UAAU;;;;;qBASF,sBAAqB;;;;qBAKrB;;;;;;;;YASD,mBAAmB,WAAW;qBAE7B,OAAI,QAAY,oBAAkB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
|
|
6
6
|
"keywords": [
|
|
@@ -172,15 +172,15 @@
|
|
|
172
172
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
173
173
|
},
|
|
174
174
|
"dependencies": {
|
|
175
|
-
"@intlayer/api": "9.
|
|
176
|
-
"@intlayer/config": "9.
|
|
177
|
-
"@intlayer/dictionaries-entry": "9.
|
|
178
|
-
"@intlayer/types": "9.
|
|
179
|
-
"@intlayer/unmerged-dictionaries-entry": "9.
|
|
175
|
+
"@intlayer/api": "9.5.0",
|
|
176
|
+
"@intlayer/config": "9.5.0",
|
|
177
|
+
"@intlayer/dictionaries-entry": "9.5.0",
|
|
178
|
+
"@intlayer/types": "9.5.0",
|
|
179
|
+
"@intlayer/unmerged-dictionaries-entry": "9.5.0",
|
|
180
180
|
"defu": "6.1.7"
|
|
181
181
|
},
|
|
182
182
|
"devDependencies": {
|
|
183
|
-
"@types/node": "26.
|
|
183
|
+
"@types/node": "26.5.0",
|
|
184
184
|
"@utils/ts-config": "1.0.4",
|
|
185
185
|
"@utils/ts-config-types": "1.0.4",
|
|
186
186
|
"@utils/tsdown-config": "1.0.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@intlayer/config/defaultValues";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../dictionaryManipulator/qualifiedDynamicLoader.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../../../intlayer/dist/types/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./nesting.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../interpreter/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@intlayer/config/defaultValues";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../dictionaryManipulator/qualifiedDynamicLoader.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../intlayer/dist/types/index.js";
|
package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@intlayer/types/nodeType";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "../../../@intlayer/core/dist/types/transpiler/index.js";
|
|
2
|
-
import "../../../@intlayer/core/dist/types/interpreter/index.js";
|
|
3
|
-
import "@intlayer/types/module_augmentation";
|
|
4
|
-
import "@intlayer/types/allLocales";
|
|
5
|
-
import "@intlayer/types/locales";
|
|
6
|
-
import "@intlayer/config/built";
|
package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./nesting.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../interpreter/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./plugins.js";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../../transpiler/gender/gender.js";
|
|
2
|
-
import "../../transpiler/index.js";
|
|
3
|
-
import "../getNesting.js";
|
|
4
|
-
import { DeclaredLocales, DictionaryKeys, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
5
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
6
|
-
import { KeyPath } from "@intlayer/types/keyPath";
|
|
7
|
-
import { NodeType } from "@intlayer/types/nodeType";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./getContent/plugins.js";
|
|
2
|
-
import "./getContent/index.js";
|
|
3
|
-
import { Dictionary, DictionarySelector, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent } from "@intlayer/types/dictionary";
|
|
4
|
-
import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "./getContent/plugins.js";
|
|
2
|
-
import "./getContent/index.js";
|
|
3
|
-
import "../dictionaryManipulator/plainDynamicLoader.js";
|
|
4
|
-
import "../dictionaryManipulator/qualifiedDynamicLoader.js";
|
|
5
|
-
import { Dictionary, DictionarySelector } from "@intlayer/types/dictionary";
|
|
6
|
-
import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./getContent/plugins.js";
|
|
2
|
-
import "./getContent/index.js";
|
|
3
|
-
import { DictionarySelector } from "@intlayer/types/dictionary";
|
|
4
|
-
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./getContent/plugins.js";
|
|
2
|
-
import "./getContent/index.js";
|
|
3
|
-
import { DictionarySelector } from "@intlayer/types/dictionary";
|
|
4
|
-
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "../transpiler/index.js";
|
|
2
|
-
import "./getContent/plugins.js";
|
|
3
|
-
import "../transpiler/nesting/nesting.js";
|
|
4
|
-
import "./getContent/index.js";
|
|
5
|
-
import { GetSubPath } from "@intlayer/types/dictionary";
|
|
6
|
-
import { DictionaryKeys, DictionaryRegistryContent } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "./getContent/plugins.js";
|
|
2
|
-
import "./getContent/deepTransform.js";
|
|
3
|
-
import "./getContent/getContent.js";
|
|
4
|
-
import "./getContent/index.js";
|
|
5
|
-
import "./getNesting.js";
|
|
6
|
-
import "./dictionaryTransformCache.js";
|
|
7
|
-
import "./getCondition.js";
|
|
8
|
-
import "./getDictionary.js";
|
|
9
|
-
import "./getDictionaryAsync.js";
|
|
10
|
-
import "./getEnumeration.js";
|
|
11
|
-
import "./getGender.js";
|
|
12
|
-
import "./getInsertion.js";
|
|
13
|
-
import "./getIntlayer.js";
|
|
14
|
-
import "./getIntlayerAsync.js";
|
|
15
|
-
import "./getPlural.js";
|
|
16
|
-
import "./getSelect.js";
|
|
17
|
-
import "./getTranslation.js";
|
|
18
|
-
import "./interpolableNode.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "../../../@intlayer/core/dist/types/interpreter/index.js";
|
|
2
|
-
import "../../../@intlayer/core/dist/types/transpiler/index.js";
|
|
3
|
-
import "@intlayer/types/module_augmentation";
|
|
4
|
-
import "@intlayer/types/allLocales";
|
|
5
|
-
import "@intlayer/types/locales";
|
|
6
|
-
import "@intlayer/config/built";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { GetLocaleLang, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues, PathWithoutLocale } from "@intlayer/types/module_augmentation";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import "./comparePaths.js";
|
|
2
|
-
import "./domainUtils.js";
|
|
3
|
-
import "./generateSitemap.js";
|
|
4
|
-
import "./getBrowserLocale.js";
|
|
5
|
-
import "./getCanonicalPath.js";
|
|
6
|
-
import "./getHTMLTextDir.js";
|
|
7
|
-
import "./getLocale.js";
|
|
8
|
-
import "./getPrefix.js";
|
|
9
|
-
import "./getLocaleFromPath.js";
|
|
10
|
-
import "./getLocaleLang.js";
|
|
11
|
-
import "./getLocaleName.js";
|
|
12
|
-
import "./getLocalizedPath.js";
|
|
13
|
-
import "./getLocalizedUrl.js";
|
|
14
|
-
import "./getMultilingualUrls.js";
|
|
15
|
-
import "./getPathWithoutLocale.js";
|
|
16
|
-
import "./localeDetector.js";
|
|
17
|
-
import "./localeMapper.js";
|
|
18
|
-
import "./localeResolver.js";
|
|
19
|
-
import "./resolveBrowserLocale.js";
|
|
20
|
-
import "./rewriteMatch.js";
|
|
21
|
-
import "./rewriteUtils.js";
|
|
22
|
-
import "./validatePrefix.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { RewriteObject, RewriteRules, RoutingConfig } from "@intlayer/types/config";
|