@apify/docusaurus-plugin-typedoc-api 4.2.10 → 4.2.11-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/lib/_virtual/_commonjsHelpers.js +44 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/node_modules/boolbase/index.js +18 -0
- package/lib/node_modules/boolbase/index.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/api/attributes.js +568 -0
- package/lib/node_modules/cheerio/lib/esm/api/attributes.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/api/css.js +113 -0
- package/lib/node_modules/cheerio/lib/esm/api/css.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/api/forms.js +92 -0
- package/lib/node_modules/cheerio/lib/esm/api/forms.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/api/manipulation.js +807 -0
- package/lib/node_modules/cheerio/lib/esm/api/manipulation.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/api/traversing.js +842 -0
- package/lib/node_modules/cheerio/lib/esm/api/traversing.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/cheerio.js +41 -0
- package/lib/node_modules/cheerio/lib/esm/cheerio.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/index.js +112 -0
- package/lib/node_modules/cheerio/lib/esm/index.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/load.js +110 -0
- package/lib/node_modules/cheerio/lib/esm/load.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/options.js +32 -0
- package/lib/node_modules/cheerio/lib/esm/options.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/parse.js +78 -0
- package/lib/node_modules/cheerio/lib/esm/parse.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/parsers/parse5-adapter.js +57 -0
- package/lib/node_modules/cheerio/lib/esm/parsers/parse5-adapter.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/static.js +191 -0
- package/lib/node_modules/cheerio/lib/esm/static.js.map +1 -0
- package/lib/node_modules/cheerio/lib/esm/utils.js +105 -0
- package/lib/node_modules/cheerio/lib/esm/utils.js.map +1 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/Parser.js +381 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/Parser.js.map +1 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/Tokenizer.js +888 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/Tokenizer.js.map +1 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/index.js +69 -0
- package/lib/node_modules/cheerio/node_modules/htmlparser2/lib/esm/index.js.map +1 -0
- package/lib/node_modules/cheerio-select/lib/esm/helpers.js +22 -0
- package/lib/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
- package/lib/node_modules/cheerio-select/lib/esm/index.js +252 -0
- package/lib/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
- package/lib/node_modules/cheerio-select/lib/esm/positionals.js +37 -0
- package/lib/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/attributes.js +155 -0
- package/lib/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/compile.js +118 -0
- package/lib/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/general.js +155 -0
- package/lib/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/index.js +115 -0
- package/lib/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +38 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +151 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/index.js +47 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +88 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +85 -0
- package/lib/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/lib/node_modules/css-select/lib/esm/sort.js +70 -0
- package/lib/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/lib/node_modules/css-what/lib/es/index.js +18 -0
- package/lib/node_modules/css-what/lib/es/index.js.map +1 -0
- package/lib/node_modules/css-what/lib/es/parse.js +397 -0
- package/lib/node_modules/css-what/lib/es/parse.js.map +1 -0
- package/lib/node_modules/css-what/lib/es/stringify.js +95 -0
- package/lib/node_modules/css-what/lib/es/stringify.js.map +1 -0
- package/lib/node_modules/css-what/lib/es/types.js +43 -0
- package/lib/node_modules/css-what/lib/es/types.js.map +1 -0
- package/lib/node_modules/dom-serializer/lib/esm/foreignNames.js +7 -0
- package/lib/node_modules/dom-serializer/lib/esm/foreignNames.js.map +1 -0
- package/lib/node_modules/dom-serializer/lib/esm/index.js +146 -0
- package/lib/node_modules/dom-serializer/lib/esm/index.js.map +1 -0
- package/lib/node_modules/domelementtype/lib/esm/index.js +62 -0
- package/lib/node_modules/domelementtype/lib/esm/index.js.map +1 -0
- package/lib/node_modules/domhandler/lib/esm/index.js +166 -0
- package/lib/node_modules/domhandler/lib/esm/index.js.map +1 -0
- package/lib/node_modules/domhandler/lib/esm/node.js +352 -0
- package/lib/node_modules/domhandler/lib/esm/node.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/feeds.js +176 -0
- package/lib/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/helpers.js +142 -0
- package/lib/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/index.js +56 -0
- package/lib/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/legacy.js +144 -0
- package/lib/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/manipulation.js +137 -0
- package/lib/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/querying.js +149 -0
- package/lib/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/stringify.js +80 -0
- package/lib/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/lib/node_modules/domutils/lib/esm/traversal.js +128 -0
- package/lib/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/decode.js +495 -0
- package/lib/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/decode_codepoint.js +52 -0
- package/lib/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/encode.js +68 -0
- package/lib/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/escape.js +103 -0
- package/lib/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/generated/decode-data-html.js +8 -0
- package/lib/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/generated/decode-data-xml.js +8 -0
- package/lib/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/generated/encode-html.js +264 -0
- package/lib/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/lib/node_modules/entities/lib/esm/index.js +122 -0
- package/lib/node_modules/entities/lib/esm/index.js.map +1 -0
- package/lib/node_modules/nth-check/lib/esm/compile.js +111 -0
- package/lib/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/lib/node_modules/nth-check/lib/esm/index.js +73 -0
- package/lib/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/lib/node_modules/nth-check/lib/esm/parse.js +71 -0
- package/lib/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/doctype.js +49 -0
- package/lib/node_modules/parse5/dist/common/doctype.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/error-codes.js +66 -0
- package/lib/node_modules/parse5/dist/common/error-codes.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/foreign-content.js +134 -0
- package/lib/node_modules/parse5/dist/common/foreign-content.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/html.js +316 -0
- package/lib/node_modules/parse5/dist/common/html.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/token.js +24 -0
- package/lib/node_modules/parse5/dist/common/token.js.map +1 -0
- package/lib/node_modules/parse5/dist/common/unicode.js +72 -0
- package/lib/node_modules/parse5/dist/common/unicode.js.map +1 -0
- package/lib/node_modules/parse5/dist/index.js +58 -0
- package/lib/node_modules/parse5/dist/index.js.map +1 -0
- package/lib/node_modules/parse5/dist/parser/formatting-element-list.js +115 -0
- package/lib/node_modules/parse5/dist/parser/formatting-element-list.js.map +1 -0
- package/lib/node_modules/parse5/dist/parser/index.js +3387 -0
- package/lib/node_modules/parse5/dist/parser/index.js.map +1 -0
- package/lib/node_modules/parse5/dist/parser/open-element-stack.js +286 -0
- package/lib/node_modules/parse5/dist/parser/open-element-stack.js.map +1 -0
- package/lib/node_modules/parse5/dist/serializer/index.js +160 -0
- package/lib/node_modules/parse5/dist/serializer/index.js.map +1 -0
- package/lib/node_modules/parse5/dist/tokenizer/index.js +3142 -0
- package/lib/node_modules/parse5/dist/tokenizer/index.js.map +1 -0
- package/lib/node_modules/parse5/dist/tokenizer/preprocessor.js +195 -0
- package/lib/node_modules/parse5/dist/tokenizer/preprocessor.js.map +1 -0
- package/lib/node_modules/parse5/dist/tree-adapters/default.js +180 -0
- package/lib/node_modules/parse5/dist/tree-adapters/default.js.map +1 -0
- package/lib/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +218 -0
- package/lib/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js.map +1 -0
- package/lib/packages/plugin/src/components/AnchorLink.js.map +1 -0
- package/lib/packages/plugin/src/components/ApiChangelog.js.map +1 -0
- package/lib/packages/plugin/src/components/ApiDataContext.js.map +1 -0
- package/lib/packages/plugin/src/components/ApiIndex.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/ApiItem.js +97 -2
- package/lib/packages/plugin/src/components/ApiItem.js.map +1 -0
- package/lib/packages/plugin/src/components/ApiItemLayout.js.map +1 -0
- package/lib/packages/plugin/src/components/ApiOptionsLayout.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/ApiPage.js +0 -3
- package/lib/packages/plugin/src/components/ApiPage.js.map +1 -0
- package/lib/packages/plugin/src/components/Breadcrumb.js.map +1 -0
- package/lib/packages/plugin/src/components/Comment.js.map +1 -0
- package/lib/packages/plugin/src/components/CommentBadges.js.map +1 -0
- package/lib/packages/plugin/src/components/DefaultValue.js.map +1 -0
- package/lib/packages/plugin/src/components/Flags.js.map +1 -0
- package/lib/packages/plugin/src/components/Footer.js.map +1 -0
- package/lib/packages/plugin/src/components/Hierarchy.js.map +1 -0
- package/lib/packages/plugin/src/components/Icon.js.map +1 -0
- package/lib/packages/plugin/src/components/Index.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/Markdown.js +0 -2
- package/lib/packages/plugin/src/components/Markdown.js.map +1 -0
- package/lib/packages/plugin/src/components/Member.js.map +1 -0
- package/lib/packages/plugin/src/components/MemberDeclaration.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/MemberGetterSetter.js +0 -1
- package/lib/packages/plugin/src/components/MemberGetterSetter.js.map +1 -0
- package/lib/packages/plugin/src/components/MemberReference.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/MemberSignatureBody.js +2 -7
- package/lib/packages/plugin/src/components/MemberSignatureBody.js.map +1 -0
- package/lib/packages/plugin/src/components/MemberSignatureTitle.js.map +1 -0
- package/lib/packages/plugin/src/components/MemberSignatures.js.map +1 -0
- package/lib/packages/plugin/src/components/MemberSources.js.map +1 -0
- package/lib/packages/plugin/src/components/Members.js.map +1 -0
- package/lib/packages/plugin/src/components/MembersGroup.js.map +1 -0
- package/lib/packages/plugin/src/components/Parameter.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/Reflection.js +0 -1
- package/lib/packages/plugin/src/components/Reflection.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/SourceLink.js +5 -1
- package/lib/packages/plugin/src/components/SourceLink.js.map +1 -0
- package/lib/{components → packages/plugin/src/components}/Type.js +2 -3
- package/lib/packages/plugin/src/components/Type.js.map +1 -0
- package/lib/packages/plugin/src/components/TypeAndParent.js.map +1 -0
- package/lib/packages/plugin/src/components/TypeParameters.js.map +1 -0
- package/lib/packages/plugin/src/components/TypeParametersGeneric.js.map +1 -0
- package/lib/packages/plugin/src/components/VersionBanner.js.map +1 -0
- package/lib/packages/plugin/src/hooks/useBreadcrumbs.js.map +1 -0
- package/lib/packages/plugin/src/hooks/useGitRefName.js.map +1 -0
- package/lib/packages/plugin/src/hooks/useMinimalLayout.js.map +1 -0
- package/lib/packages/plugin/src/hooks/useReflection.js.map +1 -0
- package/lib/packages/plugin/src/hooks/useReflectionMap.js.map +1 -0
- package/lib/{index.js → packages/plugin/src/index.js} +23 -10
- package/lib/packages/plugin/src/index.js.map +1 -0
- package/lib/packages/plugin/src/markdownLoader.js.map +1 -0
- package/lib/{plugin → packages/plugin/src/plugin}/data.js +1 -9
- package/lib/packages/plugin/src/plugin/data.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/consts.js +47 -0
- package/lib/packages/plugin/src/plugin/python/consts.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/index.js +36 -0
- package/lib/packages/plugin/src/plugin/python/index.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/inheritance.js +71 -0
- package/lib/packages/plugin/src/plugin/python/inheritance.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/packageVersions.js +46 -0
- package/lib/packages/plugin/src/plugin/python/packageVersions.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/transformation.js +359 -0
- package/lib/packages/plugin/src/plugin/python/transformation.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/type-parsing/index.js +79 -0
- package/lib/packages/plugin/src/plugin/python/type-parsing/index.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/types.js +2 -0
- package/lib/packages/plugin/src/plugin/python/types.js.map +1 -0
- package/lib/packages/plugin/src/plugin/python/utils.js +106 -0
- package/lib/packages/plugin/src/plugin/python/utils.js.map +1 -0
- package/lib/packages/plugin/src/plugin/sidebar.js.map +1 -0
- package/lib/{plugin → packages/plugin/src/plugin}/structure/0.23.js +0 -2
- package/lib/packages/plugin/src/plugin/structure/0.23.js.map +1 -0
- package/lib/packages/plugin/src/plugin/url.js.map +1 -0
- package/lib/packages/plugin/src/plugin/version.js.map +1 -0
- package/lib/packages/plugin/src/types.js +2 -0
- package/lib/packages/plugin/src/types.js.map +1 -0
- package/lib/packages/plugin/src/utils/helpers.js.map +1 -0
- package/lib/packages/plugin/src/utils/hierarchy.js.map +1 -0
- package/lib/{utils → packages/plugin/src/utils}/icons.js +1 -2
- package/lib/packages/plugin/src/utils/icons.js.map +1 -0
- package/lib/packages/plugin/src/utils/links.js.map +1 -0
- package/lib/packages/plugin/src/utils/markdown.js.map +1 -0
- package/lib/packages/plugin/src/utils/reexports.js +96 -0
- package/lib/packages/plugin/src/utils/reexports.js.map +1 -0
- package/lib/packages/plugin/src/utils/visibility.js.map +1 -0
- package/package.json +3 -2
- package/src/components/ApiItem.tsx +103 -9
- package/src/components/ApiItemLayout.tsx +4 -2
- package/src/components/ApiOptionsLayout.tsx +18 -16
- package/src/components/ApiPage.tsx +0 -2
- package/src/components/DefaultValue.tsx +0 -1
- package/src/components/Flags.tsx +1 -1
- package/src/components/Markdown.tsx +0 -1
- package/src/components/Member.tsx +19 -17
- package/src/components/MemberGetterSetter.tsx +0 -1
- package/src/components/MemberSignatureBody.tsx +42 -38
- package/src/components/MemberSignatureTitle.tsx +18 -15
- package/src/components/Reflection.tsx +1 -1
- package/src/components/SourceLink.tsx +6 -8
- package/src/components/Type.tsx +6 -14
- package/src/components/VersionBanner.tsx +5 -1
- package/src/index.ts +39 -9
- package/src/plugin/data.ts +6 -12
- package/src/plugin/python/consts.ts +50 -0
- package/src/plugin/python/docspec-gen/__init__.py +0 -0
- package/src/plugin/python/docspec-gen/generate_ast.py +73 -0
- package/src/plugin/python/docspec-gen/google_docstring_processor.py +185 -0
- package/src/plugin/python/index.ts +47 -0
- package/src/plugin/python/inheritance.ts +80 -0
- package/src/plugin/python/packageVersions.ts +43 -0
- package/src/plugin/python/transformation.ts +444 -0
- package/src/plugin/python/type-parsing/index.ts +88 -0
- package/src/plugin/python/type-parsing/parse_types.py +82 -0
- package/src/plugin/python/types.ts +83 -0
- package/src/plugin/python/utils.ts +123 -0
- package/src/plugin/structure/0.23.ts +0 -2
- package/src/plugin/version.ts +2 -2
- package/src/types.ts +9 -0
- package/src/utils/icons.ts +4 -3
- package/src/utils/reexports.ts +105 -0
- package/lib/components/AnchorLink.js.map +0 -1
- package/lib/components/ApiChangelog.js.map +0 -1
- package/lib/components/ApiDataContext.js.map +0 -1
- package/lib/components/ApiIndex.js.map +0 -1
- package/lib/components/ApiItem.js.map +0 -1
- package/lib/components/ApiItemLayout.js.map +0 -1
- package/lib/components/ApiOptionsLayout.js.map +0 -1
- package/lib/components/ApiPage.js.map +0 -1
- package/lib/components/Breadcrumb.js.map +0 -1
- package/lib/components/Comment.js.map +0 -1
- package/lib/components/CommentBadges.js.map +0 -1
- package/lib/components/DefaultValue.js.map +0 -1
- package/lib/components/Flags.js.map +0 -1
- package/lib/components/Footer.js.map +0 -1
- package/lib/components/Hierarchy.js.map +0 -1
- package/lib/components/Icon.js.map +0 -1
- package/lib/components/Index.js.map +0 -1
- package/lib/components/Markdown.js.map +0 -1
- package/lib/components/Member.js.map +0 -1
- package/lib/components/MemberDeclaration.js.map +0 -1
- package/lib/components/MemberGetterSetter.js.map +0 -1
- package/lib/components/MemberReference.js.map +0 -1
- package/lib/components/MemberSignatureBody.js.map +0 -1
- package/lib/components/MemberSignatureTitle.js.map +0 -1
- package/lib/components/MemberSignatures.js.map +0 -1
- package/lib/components/MemberSources.js.map +0 -1
- package/lib/components/Members.js.map +0 -1
- package/lib/components/MembersGroup.js.map +0 -1
- package/lib/components/Parameter.js.map +0 -1
- package/lib/components/Reflection.js.map +0 -1
- package/lib/components/SourceLink.js.map +0 -1
- package/lib/components/Type.js.map +0 -1
- package/lib/components/TypeAndParent.js.map +0 -1
- package/lib/components/TypeParameters.js.map +0 -1
- package/lib/components/TypeParametersGeneric.js.map +0 -1
- package/lib/components/VersionBanner.js.map +0 -1
- package/lib/hooks/useBreadcrumbs.js.map +0 -1
- package/lib/hooks/useGitRefName.js.map +0 -1
- package/lib/hooks/useMinimalLayout.js.map +0 -1
- package/lib/hooks/useReflection.js.map +0 -1
- package/lib/hooks/useReflectionMap.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/markdownLoader.js.map +0 -1
- package/lib/plugin/data.js.map +0 -1
- package/lib/plugin/sidebar.js.map +0 -1
- package/lib/plugin/structure/0.23.js.map +0 -1
- package/lib/plugin/url.js.map +0 -1
- package/lib/plugin/version.js.map +0 -1
- package/lib/utils/helpers.js.map +0 -1
- package/lib/utils/hierarchy.js.map +0 -1
- package/lib/utils/icons.js.map +0 -1
- package/lib/utils/links.js.map +0 -1
- package/lib/utils/markdown.js.map +0 -1
- package/lib/utils/visibility.js.map +0 -1
- /package/lib/{types.js → node_modules/cheerio/lib/esm/types.js} +0 -0
- /package/lib/{types.js.map → node_modules/cheerio/lib/esm/types.js.map} +0 -0
- /package/lib/{components → packages/plugin/src/components}/AnchorLink.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/ApiChangelog.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/ApiDataContext.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/ApiIndex.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/ApiItemLayout.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/ApiOptionsLayout.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Breadcrumb.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Comment.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/CommentBadges.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/DefaultValue.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Flags.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Footer.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Hierarchy.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Icon.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Index.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Member.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MemberDeclaration.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MemberReference.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MemberSignatureTitle.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MemberSignatures.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MemberSources.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Members.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/MembersGroup.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/Parameter.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/TypeAndParent.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/TypeParameters.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/TypeParametersGeneric.js +0 -0
- /package/lib/{components → packages/plugin/src/components}/VersionBanner.js +0 -0
- /package/lib/{hooks → packages/plugin/src/hooks}/useBreadcrumbs.js +0 -0
- /package/lib/{hooks → packages/plugin/src/hooks}/useGitRefName.js +0 -0
- /package/lib/{hooks → packages/plugin/src/hooks}/useMinimalLayout.js +0 -0
- /package/lib/{hooks → packages/plugin/src/hooks}/useReflection.js +0 -0
- /package/lib/{hooks → packages/plugin/src/hooks}/useReflectionMap.js +0 -0
- /package/lib/{markdownLoader.js → packages/plugin/src/markdownLoader.js} +0 -0
- /package/lib/{plugin → packages/plugin/src/plugin}/sidebar.js +0 -0
- /package/lib/{plugin → packages/plugin/src/plugin}/url.js +0 -0
- /package/lib/{plugin → packages/plugin/src/plugin}/version.js +0 -0
- /package/lib/{utils → packages/plugin/src/utils}/helpers.js +0 -0
- /package/lib/{utils → packages/plugin/src/utils}/hierarchy.js +0 -0
- /package/lib/{utils → packages/plugin/src/utils}/links.js +0 -0
- /package/lib/{utils → packages/plugin/src/utils}/markdown.js +0 -0
- /package/lib/{utils → packages/plugin/src/utils}/visibility.js +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
+
Object.defineProperty(exports, '__esModule', {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
const index = require('../../../domelementtype/lib/esm/index.js');
|
|
12
|
+
require('../../../entities/lib/esm/index.js');
|
|
13
|
+
const foreignNames = require('./foreignNames.js');
|
|
14
|
+
const escape = require('../../../entities/lib/esm/escape.js');
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Module dependencies
|
|
18
|
+
*/
|
|
19
|
+
const unencodedElements = new Set(["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"]);
|
|
20
|
+
function replaceQuotes(value) {
|
|
21
|
+
return value.replace(/"/g, """);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Format attributes
|
|
25
|
+
*/
|
|
26
|
+
function formatAttributes(attributes, opts) {
|
|
27
|
+
var _a;
|
|
28
|
+
if (!attributes) return;
|
|
29
|
+
const encode = ((_a = opts.encodeEntities) !== null && _a !== void 0 ? _a : opts.decodeEntities) === false ? replaceQuotes : opts.xmlMode || opts.encodeEntities !== "utf8" ? escape.encodeXML : escape.escapeAttribute;
|
|
30
|
+
return Object.keys(attributes).map(key => {
|
|
31
|
+
var _a, _b;
|
|
32
|
+
const value = (_a = attributes[key]) !== null && _a !== void 0 ? _a : "";
|
|
33
|
+
if (opts.xmlMode === "foreign") {
|
|
34
|
+
/* Fix up mixed-case attribute names */
|
|
35
|
+
key = (_b = foreignNames.attributeNames.get(key)) !== null && _b !== void 0 ? _b : key;
|
|
36
|
+
}
|
|
37
|
+
if (!opts.emptyAttrs && !opts.xmlMode && value === "") {
|
|
38
|
+
return key;
|
|
39
|
+
}
|
|
40
|
+
return `${key}="${encode(value)}"`;
|
|
41
|
+
}).join(" ");
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Self-enclosing tags
|
|
45
|
+
*/
|
|
46
|
+
const singleTag = new Set(["area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
47
|
+
/**
|
|
48
|
+
* Renders a DOM node or an array of DOM nodes to a string.
|
|
49
|
+
*
|
|
50
|
+
* Can be thought of as the equivalent of the `outerHTML` of the passed node(s).
|
|
51
|
+
*
|
|
52
|
+
* @param node Node to be rendered.
|
|
53
|
+
* @param options Changes serialization behavior
|
|
54
|
+
*/
|
|
55
|
+
function render(node, options = {}) {
|
|
56
|
+
const nodes = "length" in node ? node : [node];
|
|
57
|
+
let output = "";
|
|
58
|
+
for (let i = 0; i < nodes.length; i++) {
|
|
59
|
+
output += renderNode(nodes[i], options);
|
|
60
|
+
}
|
|
61
|
+
return output;
|
|
62
|
+
}
|
|
63
|
+
function renderNode(node, options) {
|
|
64
|
+
switch (node.type) {
|
|
65
|
+
case index.Root:
|
|
66
|
+
return render(node.children, options);
|
|
67
|
+
// @ts-expect-error We don't use `Doctype` yet
|
|
68
|
+
case index.Doctype:
|
|
69
|
+
case index.Directive:
|
|
70
|
+
return renderDirective(node);
|
|
71
|
+
case index.Comment:
|
|
72
|
+
return renderComment(node);
|
|
73
|
+
case index.CDATA:
|
|
74
|
+
return renderCdata(node);
|
|
75
|
+
case index.Script:
|
|
76
|
+
case index.Style:
|
|
77
|
+
case index.Tag:
|
|
78
|
+
return renderTag(node, options);
|
|
79
|
+
case index.Text:
|
|
80
|
+
return renderText(node, options);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const foreignModeIntegrationPoints = new Set(["mi", "mo", "mn", "ms", "mtext", "annotation-xml", "foreignObject", "desc", "title"]);
|
|
84
|
+
const foreignElements = new Set(["svg", "math"]);
|
|
85
|
+
function renderTag(elem, opts) {
|
|
86
|
+
var _a;
|
|
87
|
+
// Handle SVG / MathML in HTML
|
|
88
|
+
if (opts.xmlMode === "foreign") {
|
|
89
|
+
/* Fix up mixed-case element names */
|
|
90
|
+
elem.name = (_a = foreignNames.elementNames.get(elem.name)) !== null && _a !== void 0 ? _a : elem.name;
|
|
91
|
+
/* Exit foreign mode at integration points */
|
|
92
|
+
if (elem.parent && foreignModeIntegrationPoints.has(elem.parent.name)) {
|
|
93
|
+
opts = _objectSpread(_objectSpread({}, opts), {}, {
|
|
94
|
+
xmlMode: false
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
if (!opts.xmlMode && foreignElements.has(elem.name)) {
|
|
99
|
+
opts = _objectSpread(_objectSpread({}, opts), {}, {
|
|
100
|
+
xmlMode: "foreign"
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
let tag = `<${elem.name}`;
|
|
104
|
+
const attribs = formatAttributes(elem.attribs, opts);
|
|
105
|
+
if (attribs) {
|
|
106
|
+
tag += ` ${attribs}`;
|
|
107
|
+
}
|
|
108
|
+
if (elem.children.length === 0 && (opts.xmlMode ?
|
|
109
|
+
// In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags
|
|
110
|
+
opts.selfClosingTags !== false :
|
|
111
|
+
// User explicitly asked for self-closing tags, even in HTML mode
|
|
112
|
+
opts.selfClosingTags && singleTag.has(elem.name))) {
|
|
113
|
+
if (!opts.xmlMode) tag += " ";
|
|
114
|
+
tag += "/>";
|
|
115
|
+
} else {
|
|
116
|
+
tag += ">";
|
|
117
|
+
if (elem.children.length > 0) {
|
|
118
|
+
tag += render(elem.children, opts);
|
|
119
|
+
}
|
|
120
|
+
if (opts.xmlMode || !singleTag.has(elem.name)) {
|
|
121
|
+
tag += `</${elem.name}>`;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return tag;
|
|
125
|
+
}
|
|
126
|
+
function renderDirective(elem) {
|
|
127
|
+
return `<${elem.data}>`;
|
|
128
|
+
}
|
|
129
|
+
function renderText(elem, opts) {
|
|
130
|
+
var _a;
|
|
131
|
+
let data = elem.data || "";
|
|
132
|
+
// If entities weren't decoded, no need to encode them back
|
|
133
|
+
if (((_a = opts.encodeEntities) !== null && _a !== void 0 ? _a : opts.decodeEntities) !== false && !(!opts.xmlMode && elem.parent && unencodedElements.has(elem.parent.name))) {
|
|
134
|
+
data = opts.xmlMode || opts.encodeEntities !== "utf8" ? escape.encodeXML(data) : escape.escapeText(data);
|
|
135
|
+
}
|
|
136
|
+
return data;
|
|
137
|
+
}
|
|
138
|
+
function renderCdata(elem) {
|
|
139
|
+
return `<![CDATA[${elem.children[0].data}]]>`;
|
|
140
|
+
}
|
|
141
|
+
function renderComment(elem) {
|
|
142
|
+
return `<!--${elem.data}-->`;
|
|
143
|
+
}
|
|
144
|
+
exports.default = render;
|
|
145
|
+
exports.render = render;
|
|
146
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/dom-serializer/lib/esm/index.js"],"sourcesContent":null,"names":["encodeXML","escapeAttribute","attributeNames","ElementType.Root","ElementType.Doctype","ElementType.Directive","ElementType.Comment","ElementType.CDATA","ElementType.Script","ElementType.Style","ElementType.Tag","ElementType.Text","elementNames","escapeText"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AAUA,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;AAClC,IAAI,OAAO;AACX,IAAI,QAAQ;AACZ,IAAI,KAAK;AACT,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,UAAU;AACd,IAAI,WAAW;AACf,IAAI,UAAU;AACd,CAAC,CAAC,CAAC;AACH,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,IAAI,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACzC,CAAC;AACD;AACA;AACA;AACA,SAAS,gBAAgB,CAAC,UAAU,EAAE,IAAI,EAAE;AAC5C,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,IAAI,CAAC,UAAU;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|
5
|
+
(function (ElementType) {
|
|
6
|
+
/** Type for the root element of a document */
|
|
7
|
+
ElementType["Root"] = "root";
|
|
8
|
+
/** Type for Text */
|
|
9
|
+
ElementType["Text"] = "text";
|
|
10
|
+
/** Type for <? ... ?> */
|
|
11
|
+
ElementType["Directive"] = "directive";
|
|
12
|
+
/** Type for <!-- ... --> */
|
|
13
|
+
ElementType["Comment"] = "comment";
|
|
14
|
+
/** Type for <script> tags */
|
|
15
|
+
ElementType["Script"] = "script";
|
|
16
|
+
/** Type for <style> tags */
|
|
17
|
+
ElementType["Style"] = "style";
|
|
18
|
+
/** Type for Any tag */
|
|
19
|
+
ElementType["Tag"] = "tag";
|
|
20
|
+
/** Type for <![CDATA[ ... ]]> */
|
|
21
|
+
ElementType["CDATA"] = "cdata";
|
|
22
|
+
/** Type for <!doctype ...> */
|
|
23
|
+
ElementType["Doctype"] = "doctype";
|
|
24
|
+
})(exports.ElementType || (exports.ElementType = {}));
|
|
25
|
+
/**
|
|
26
|
+
* Tests whether an element is a tag or not.
|
|
27
|
+
*
|
|
28
|
+
* @param elem Element to test
|
|
29
|
+
*/
|
|
30
|
+
function isTag(elem) {
|
|
31
|
+
return elem.type === exports.ElementType.Tag || elem.type === exports.ElementType.Script || elem.type === exports.ElementType.Style;
|
|
32
|
+
}
|
|
33
|
+
// Exports for backwards compatibility
|
|
34
|
+
/** Type for the root element of a document */
|
|
35
|
+
const Root = exports.ElementType.Root;
|
|
36
|
+
/** Type for Text */
|
|
37
|
+
const Text = exports.ElementType.Text;
|
|
38
|
+
/** Type for <? ... ?> */
|
|
39
|
+
const Directive = exports.ElementType.Directive;
|
|
40
|
+
/** Type for <!-- ... --> */
|
|
41
|
+
const Comment = exports.ElementType.Comment;
|
|
42
|
+
/** Type for <script> tags */
|
|
43
|
+
const Script = exports.ElementType.Script;
|
|
44
|
+
/** Type for <style> tags */
|
|
45
|
+
const Style = exports.ElementType.Style;
|
|
46
|
+
/** Type for Any tag */
|
|
47
|
+
const Tag = exports.ElementType.Tag;
|
|
48
|
+
/** Type for <![CDATA[ ... ]]> */
|
|
49
|
+
const CDATA = exports.ElementType.CDATA;
|
|
50
|
+
/** Type for <!doctype ...> */
|
|
51
|
+
const Doctype = exports.ElementType.Doctype;
|
|
52
|
+
exports.CDATA = CDATA;
|
|
53
|
+
exports.Comment = Comment;
|
|
54
|
+
exports.Directive = Directive;
|
|
55
|
+
exports.Doctype = Doctype;
|
|
56
|
+
exports.Root = Root;
|
|
57
|
+
exports.Script = Script;
|
|
58
|
+
exports.Style = Style;
|
|
59
|
+
exports.Tag = Tag;
|
|
60
|
+
exports.Text = Text;
|
|
61
|
+
exports.isTag = isTag;
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/domelementtype/lib/esm/index.js"],"sourcesContent":null,"names":["ElementType"],"mappings":";;AAAA;AACWA,6BAAY;AACvB,CAAC,UAAU,WAAW,EAAE;AACxB;AACA,IAAI,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AACjC;AACA,IAAI,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AACjC;AACA,IAAI,WAAW,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC;AAC3C;AACA,IAAI,WAAW,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AACvC;AACA,IAAI,WAAW,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;AACrC;AACA,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AACnC;AACA,IAAI,WAAW,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;AAC/B;AACA,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AACnC;AACA,IAAI,WAAW,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AACvC,CAAC,EAAEA,mBAAW,KAAKA,mBAAW,GAAG,EAAE,CAAC,CAAC,CAAC;AACtC;AACA;AACA;AACA;AACA;AACO,SAAS,KAAK,CAAC,IAAI,EAAE;AAC5B,IAAI,QAAQ,IAAI,CAAC,IAAI,KAAKA,mBAAW,CAAC,GAAG;AACzC,QAAQ,IAAI,CAAC,IAAI,KAAKA,mBAAW,CAAC,MAAM;AACxC,QAAQ,IAAI,CAAC,IAAI,KAAKA,mBAAW,CAAC,KAAK,EAAE;AACzC,CAAC;AACD;AACA;AACY,MAAC,IAAI,GAAGA,mBAAW,CAAC,KAAK;AACrC;AACY,MAAC,IAAI,GAAGA,mBAAW,CAAC,KAAK;AACrC;AACY,MAAC,SAAS,GAAGA,mBAAW,CAAC,UAAU;AAC/C;AACY,MAAC,OAAO,GAAGA,mBAAW,CAAC,QAAQ;AAC3C;AACY,MAAC,MAAM,GAAGA,mBAAW,CAAC,OAAO;AACzC;AACY,MAAC,KAAK,GAAGA,mBAAW,CAAC,MAAM;AACvC;AACY,MAAC,GAAG,GAAGA,mBAAW,CAAC,IAAI;AACnC;AACY,MAAC,KAAK,GAAGA,mBAAW,CAAC,MAAM;AACvC;AACY,MAAC,OAAO,GAAGA,mBAAW,CAAC;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const index = require('../../../domelementtype/lib/esm/index.js');
|
|
7
|
+
const node = require('./node.js');
|
|
8
|
+
|
|
9
|
+
// Default options
|
|
10
|
+
const defaultOpts = {
|
|
11
|
+
withStartIndices: false,
|
|
12
|
+
withEndIndices: false,
|
|
13
|
+
xmlMode: false
|
|
14
|
+
};
|
|
15
|
+
class DomHandler {
|
|
16
|
+
/**
|
|
17
|
+
* @param callback Called once parsing has completed.
|
|
18
|
+
* @param options Settings for the handler.
|
|
19
|
+
* @param elementCB Callback whenever a tag is closed.
|
|
20
|
+
*/
|
|
21
|
+
constructor(callback, options, elementCB) {
|
|
22
|
+
/** The elements of the DOM */
|
|
23
|
+
this.dom = [];
|
|
24
|
+
/** The root element for the DOM */
|
|
25
|
+
this.root = new node.Document(this.dom);
|
|
26
|
+
/** Indicated whether parsing has been completed. */
|
|
27
|
+
this.done = false;
|
|
28
|
+
/** Stack of open tags. */
|
|
29
|
+
this.tagStack = [this.root];
|
|
30
|
+
/** A data node that is still being written to. */
|
|
31
|
+
this.lastNode = null;
|
|
32
|
+
/** Reference to the parser instance. Used for location information. */
|
|
33
|
+
this.parser = null;
|
|
34
|
+
// Make it possible to skip arguments, for backwards-compatibility
|
|
35
|
+
if (typeof options === "function") {
|
|
36
|
+
elementCB = options;
|
|
37
|
+
options = defaultOpts;
|
|
38
|
+
}
|
|
39
|
+
if (typeof callback === "object") {
|
|
40
|
+
options = callback;
|
|
41
|
+
callback = undefined;
|
|
42
|
+
}
|
|
43
|
+
this.callback = callback !== null && callback !== void 0 ? callback : null;
|
|
44
|
+
this.options = options !== null && options !== void 0 ? options : defaultOpts;
|
|
45
|
+
this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;
|
|
46
|
+
}
|
|
47
|
+
onparserinit(parser) {
|
|
48
|
+
this.parser = parser;
|
|
49
|
+
}
|
|
50
|
+
// Resets the handler back to starting state
|
|
51
|
+
onreset() {
|
|
52
|
+
this.dom = [];
|
|
53
|
+
this.root = new node.Document(this.dom);
|
|
54
|
+
this.done = false;
|
|
55
|
+
this.tagStack = [this.root];
|
|
56
|
+
this.lastNode = null;
|
|
57
|
+
this.parser = null;
|
|
58
|
+
}
|
|
59
|
+
// Signals the handler that parsing is done
|
|
60
|
+
onend() {
|
|
61
|
+
if (this.done) return;
|
|
62
|
+
this.done = true;
|
|
63
|
+
this.parser = null;
|
|
64
|
+
this.handleCallback(null);
|
|
65
|
+
}
|
|
66
|
+
onerror(error) {
|
|
67
|
+
this.handleCallback(error);
|
|
68
|
+
}
|
|
69
|
+
onclosetag() {
|
|
70
|
+
this.lastNode = null;
|
|
71
|
+
const elem = this.tagStack.pop();
|
|
72
|
+
if (this.options.withEndIndices) {
|
|
73
|
+
elem.endIndex = this.parser.endIndex;
|
|
74
|
+
}
|
|
75
|
+
if (this.elementCB) this.elementCB(elem);
|
|
76
|
+
}
|
|
77
|
+
onopentag(name, attribs) {
|
|
78
|
+
const type = this.options.xmlMode ? index.ElementType.Tag : undefined;
|
|
79
|
+
const element = new node.Element(name, attribs, undefined, type);
|
|
80
|
+
this.addNode(element);
|
|
81
|
+
this.tagStack.push(element);
|
|
82
|
+
}
|
|
83
|
+
ontext(data) {
|
|
84
|
+
const lastNode = this.lastNode;
|
|
85
|
+
if (lastNode && lastNode.type === index.ElementType.Text) {
|
|
86
|
+
lastNode.data += data;
|
|
87
|
+
if (this.options.withEndIndices) {
|
|
88
|
+
lastNode.endIndex = this.parser.endIndex;
|
|
89
|
+
}
|
|
90
|
+
} else {
|
|
91
|
+
const node$1 = new node.Text(data);
|
|
92
|
+
this.addNode(node$1);
|
|
93
|
+
this.lastNode = node$1;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
oncomment(data) {
|
|
97
|
+
if (this.lastNode && this.lastNode.type === index.ElementType.Comment) {
|
|
98
|
+
this.lastNode.data += data;
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const node$1 = new node.Comment(data);
|
|
102
|
+
this.addNode(node$1);
|
|
103
|
+
this.lastNode = node$1;
|
|
104
|
+
}
|
|
105
|
+
oncommentend() {
|
|
106
|
+
this.lastNode = null;
|
|
107
|
+
}
|
|
108
|
+
oncdatastart() {
|
|
109
|
+
const text = new node.Text("");
|
|
110
|
+
const node$1 = new node.CDATA([text]);
|
|
111
|
+
this.addNode(node$1);
|
|
112
|
+
text.parent = node$1;
|
|
113
|
+
this.lastNode = text;
|
|
114
|
+
}
|
|
115
|
+
oncdataend() {
|
|
116
|
+
this.lastNode = null;
|
|
117
|
+
}
|
|
118
|
+
onprocessinginstruction(name, data) {
|
|
119
|
+
const node$1 = new node.ProcessingInstruction(name, data);
|
|
120
|
+
this.addNode(node$1);
|
|
121
|
+
}
|
|
122
|
+
handleCallback(error) {
|
|
123
|
+
if (typeof this.callback === "function") {
|
|
124
|
+
this.callback(error, this.dom);
|
|
125
|
+
} else if (error) {
|
|
126
|
+
throw error;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
addNode(node) {
|
|
130
|
+
const parent = this.tagStack[this.tagStack.length - 1];
|
|
131
|
+
const previousSibling = parent.children[parent.children.length - 1];
|
|
132
|
+
if (this.options.withStartIndices) {
|
|
133
|
+
node.startIndex = this.parser.startIndex;
|
|
134
|
+
}
|
|
135
|
+
if (this.options.withEndIndices) {
|
|
136
|
+
node.endIndex = this.parser.endIndex;
|
|
137
|
+
}
|
|
138
|
+
parent.children.push(node);
|
|
139
|
+
if (previousSibling) {
|
|
140
|
+
node.prev = previousSibling;
|
|
141
|
+
previousSibling.next = node;
|
|
142
|
+
}
|
|
143
|
+
node.parent = parent;
|
|
144
|
+
this.lastNode = null;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.CDATA = node.CDATA;
|
|
148
|
+
exports.Comment = node.Comment;
|
|
149
|
+
exports.DataNode = node.DataNode;
|
|
150
|
+
exports.Document = node.Document;
|
|
151
|
+
exports.Element = node.Element;
|
|
152
|
+
exports.Node = node.Node;
|
|
153
|
+
exports.NodeWithChildren = node.NodeWithChildren;
|
|
154
|
+
exports.ProcessingInstruction = node.ProcessingInstruction;
|
|
155
|
+
exports.Text = node.Text;
|
|
156
|
+
exports.cloneNode = node.cloneNode;
|
|
157
|
+
exports.hasChildren = node.hasChildren;
|
|
158
|
+
exports.isCDATA = node.isCDATA;
|
|
159
|
+
exports.isComment = node.isComment;
|
|
160
|
+
exports.isDirective = node.isDirective;
|
|
161
|
+
exports.isDocument = node.isDocument;
|
|
162
|
+
exports.isTag = node.isTag;
|
|
163
|
+
exports.isText = node.isText;
|
|
164
|
+
exports.DomHandler = DomHandler;
|
|
165
|
+
exports.default = DomHandler;
|
|
166
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/domhandler/lib/esm/index.js"],"sourcesContent":null,"names":["Document","ElementType","Element","node","Text","Comment","CDATA","ProcessingInstruction"],"mappings":";;;;;;;AAGA;AACA,MAAM,WAAW,GAAG;AACpB,IAAI,gBAAgB,EAAE,KAAK;AAC3B,IAAI,cAAc,EAAE,KAAK;AACzB,IAAI,OAAO,EAAE,KAAK;AAClB,CAAC,CAAC;AACK,MAAM,UAAU,CAAC;AACxB;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE;AAC9C;AACA,QAAQ,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC;AACtB;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAIA,aAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3C;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;AAC1B;AACA,QAAQ,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpC;AACA,QAAQ,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC7B;AACA,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;AAC3B;AACA,QAAQ,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE;AAC3C,YAAY,SAAS,GAAG,OAAO,CAAC;AAChC,YAAY,OAAO,GAAG,WAAW,CAAC;AAClC,SAAS;AACT,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAC1C,YAAY,OAAO,GAAG,QAAQ,CAAC;AAC/B,YAAY,QAAQ,GAAG,SAAS,CAAC;AACjC,SAAS;AACT,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,KAAK,CAAC,GA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