hasting-swatchcart-module 0.0.7 → 0.0.9
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/dist/assets/SwatchesModule.css +1 -0
- package/dist/components/SwatchesModule.js +23440 -24
- package/dist/components/Test.js +5 -0
- package/dist/lib/components/Test.d.ts +1 -0
- package/dist/main.js +0 -1
- package/dist/{src/shared/constants/props.js → rootReducer-BqfJd5QI.js} +1913 -3
- package/dist/store/LibraryProvider.js +3 -4
- package/dist/store/rootReducer.js +2 -10
- package/dist/store/store.js +5 -15
- package/dist/store-BZ_1BK_I.js +382 -0
- package/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/index.js +0 -7
- package/dist/_virtual/index2.js +0 -7
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
- package/dist/_virtual/utilities.js +0 -4
- package/dist/_virtual/with-selector.js +0 -5
- package/dist/_virtual/with-selector2.js +0 -4
- package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
- package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
- package/dist/assets/styles/index.css +0 -0
- package/dist/main.d.ts +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/bail/index.js +0 -7
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/comma-separated-tokens/index.js +0 -20
- package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
- package/dist/node_modules/devlop/lib/default.js +0 -8
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
- package/dist/node_modules/extend/index.js +0 -43
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
- package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
- package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
- package/dist/node_modules/hastscript/lib/create-h.js +0 -112
- package/dist/node_modules/hastscript/lib/index.js +0 -8
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
- package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
- package/dist/node_modules/html-void-elements/index.js +0 -25
- package/dist/node_modules/immer/dist/immer.js +0 -467
- package/dist/node_modules/inline-style-parser/index.js +0 -93
- package/dist/node_modules/is-plain-obj/index.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
- package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
- package/dist/node_modules/micromark/lib/constructs.js +0 -85
- package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
- package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
- package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
- package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
- package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
- package/dist/node_modules/micromark/lib/parse.js +0 -32
- package/dist/node_modules/micromark/lib/postprocess.js +0 -9
- package/dist/node_modules/micromark/lib/preprocess.js +0 -39
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
- package/dist/node_modules/micromark-factory-destination/index.js +0 -31
- package/dist/node_modules/micromark-factory-label/index.js +0 -28
- package/dist/node_modules/micromark-factory-space/index.js +0 -15
- package/dist/node_modules/micromark-factory-title/index.js +0 -26
- package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
- package/dist/node_modules/micromark-util-character/index.js +0 -39
- package/dist/node_modules/micromark-util-chunked/index.js +0 -16
- package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
- package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
- package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
- package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
- package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
- package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
- package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
- package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
- package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
- package/dist/node_modules/parse5/dist/common/html.js +0 -250
- package/dist/node_modules/parse5/dist/common/token.js +0 -14
- package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
- package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
- package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
- package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
- package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
- package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
- package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
- package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
- package/dist/node_modules/property-information/index.js +0 -12
- package/dist/node_modules/property-information/lib/aria.js +0 -61
- package/dist/node_modules/property-information/lib/find.js +0 -33
- package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
- package/dist/node_modules/property-information/lib/html.js +0 -368
- package/dist/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/property-information/lib/svg.js +0 -566
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/property-information/lib/util/create.js +0 -19
- package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
- package/dist/node_modules/property-information/lib/util/info.js +0 -28
- package/dist/node_modules/property-information/lib/util/merge.js +0 -10
- package/dist/node_modules/property-information/lib/util/schema.js +0 -21
- package/dist/node_modules/property-information/lib/util/types.js +0 -14
- package/dist/node_modules/property-information/lib/xlink.js +0 -19
- package/dist/node_modules/property-information/lib/xml.js +0 -11
- package/dist/node_modules/property-information/lib/xmlns.js +0 -11
- package/dist/node_modules/react-markdown/lib/index.js +0 -102
- package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
- package/dist/node_modules/redux/dist/redux.js +0 -258
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
- package/dist/node_modules/rehype-raw/lib/index.js +0 -12
- package/dist/node_modules/remark-parse/lib/index.js +0 -19
- package/dist/node_modules/remark-rehype/lib/index.js +0 -18
- package/dist/node_modules/reselect/dist/reselect.js +0 -244
- package/dist/node_modules/space-separated-tokens/index.js +0 -11
- package/dist/node_modules/style-to-js/cjs/index.js +0 -20
- package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
- package/dist/node_modules/style-to-object/cjs/index.js +0 -28
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
- package/dist/node_modules/trim-lines/index.js +0 -28
- package/dist/node_modules/trough/lib/index.js +0 -60
- package/dist/node_modules/tslib/tslib.es6.js +0 -27
- package/dist/node_modules/unified/lib/callable-instance.js +0 -25
- package/dist/node_modules/unified/lib/index.js +0 -529
- package/dist/node_modules/unist-util-is/lib/index.js +0 -84
- package/dist/node_modules/unist-util-position/lib/index.js +0 -23
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
- package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
- package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
- package/dist/node_modules/vfile/lib/index.js +0 -406
- package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
- package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
- package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
- package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
- package/dist/node_modules/vfile-location/lib/index.js +0 -42
- package/dist/node_modules/vfile-message/lib/index.js +0 -91
- package/dist/node_modules/web-namespaces/index.js +0 -11
- package/dist/node_modules/zwitch/index.js +0 -18
- package/dist/src/app/assets/images/product_thumb.png.js +0 -4
- package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
- package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
- package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
- package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
- package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
- package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
- package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
- package/dist/src/app/store/rootReducer.js +0 -12
- package/dist/src/app/store/store.js +0 -14
- package/dist/src/features/Cart/lib/CartCervices.js +0 -8
- package/dist/src/features/Cart/model/cartSlice.js +0 -58
- package/dist/src/features/Cart/model/selectors.js +0 -18
- package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
- package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
- package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
- package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
- package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
- package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
- package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
- package/dist/src/features/DataAdapter/utils/types.js +0 -8
- package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
- package/dist/src/features/MultiProduct/model/API/api.js +0 -18
- package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
- package/dist/src/features/MultiProduct/model/selectors.js +0 -7
- package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
- package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
- package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
- package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
- package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
- package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
- package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
- package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
- package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
- package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
- package/dist/src/features/MultiProduct/utils/constants.js +0 -16
- package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
- package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
- package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
- package/dist/src/features/swatches/model/selectors.js +0 -12
- package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
- package/dist/src/features/swatches/model/thunks.js +0 -22
- package/dist/src/features/swatches/model/types.js +0 -6
- package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
- package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
- package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
- package/dist/src/features/swatches/ui/Filters/index.js +0 -12
- package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
- package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
- package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
- package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
- package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
- package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
- package/dist/src/features/swatches/ui/Swatches.js +0 -51
- package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
- package/dist/src/features/swatches/utils/constants.js +0 -8
- package/dist/src/shared/constants/selectedMaterials.js +0 -4
- package/dist/src/shared/types/activeTab.js +0 -7
- package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
- package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
- package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
- package/dist/src/shared/ui/Label/Label.js +0 -27
- package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
- package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
- package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
- package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
- package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
- package/dist/src/shared/ui/Slider/Slider.js +0 -117
- package/dist/src/shared/utils/cn.js +0 -8
- package/dist/src/shared/utils/uniqueList.js +0 -4
- /package/dist/{components → lib/components}/SwatchesModule.d.ts +0 -0
- /package/dist/{store → lib/store}/LibraryProvider.d.ts +0 -0
- /package/dist/{store → lib/store}/rootReducer.d.ts +0 -0
- /package/dist/{store → lib/store}/store.d.ts +0 -0
- /package/dist/{store → lib/store}/withStore.d.ts +0 -0
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { NS as n, TAG_ID as e, ATTRS as s, getTagID as f } from "./html.js";
|
|
2
|
-
const o = {
|
|
3
|
-
TEXT_HTML: "text/html",
|
|
4
|
-
APPLICATION_XML: "application/xhtml+xml"
|
|
5
|
-
}, m = "definitionurl", p = "definitionURL", T = new Map([
|
|
6
|
-
"attributeName",
|
|
7
|
-
"attributeType",
|
|
8
|
-
"baseFrequency",
|
|
9
|
-
"baseProfile",
|
|
10
|
-
"calcMode",
|
|
11
|
-
"clipPathUnits",
|
|
12
|
-
"diffuseConstant",
|
|
13
|
-
"edgeMode",
|
|
14
|
-
"filterUnits",
|
|
15
|
-
"glyphRef",
|
|
16
|
-
"gradientTransform",
|
|
17
|
-
"gradientUnits",
|
|
18
|
-
"kernelMatrix",
|
|
19
|
-
"kernelUnitLength",
|
|
20
|
-
"keyPoints",
|
|
21
|
-
"keySplines",
|
|
22
|
-
"keyTimes",
|
|
23
|
-
"lengthAdjust",
|
|
24
|
-
"limitingConeAngle",
|
|
25
|
-
"markerHeight",
|
|
26
|
-
"markerUnits",
|
|
27
|
-
"markerWidth",
|
|
28
|
-
"maskContentUnits",
|
|
29
|
-
"maskUnits",
|
|
30
|
-
"numOctaves",
|
|
31
|
-
"pathLength",
|
|
32
|
-
"patternContentUnits",
|
|
33
|
-
"patternTransform",
|
|
34
|
-
"patternUnits",
|
|
35
|
-
"pointsAtX",
|
|
36
|
-
"pointsAtY",
|
|
37
|
-
"pointsAtZ",
|
|
38
|
-
"preserveAlpha",
|
|
39
|
-
"preserveAspectRatio",
|
|
40
|
-
"primitiveUnits",
|
|
41
|
-
"refX",
|
|
42
|
-
"refY",
|
|
43
|
-
"repeatCount",
|
|
44
|
-
"repeatDur",
|
|
45
|
-
"requiredExtensions",
|
|
46
|
-
"requiredFeatures",
|
|
47
|
-
"specularConstant",
|
|
48
|
-
"specularExponent",
|
|
49
|
-
"spreadMethod",
|
|
50
|
-
"startOffset",
|
|
51
|
-
"stdDeviation",
|
|
52
|
-
"stitchTiles",
|
|
53
|
-
"surfaceScale",
|
|
54
|
-
"systemLanguage",
|
|
55
|
-
"tableValues",
|
|
56
|
-
"targetX",
|
|
57
|
-
"targetY",
|
|
58
|
-
"textLength",
|
|
59
|
-
"viewBox",
|
|
60
|
-
"viewTarget",
|
|
61
|
-
"xChannelSelector",
|
|
62
|
-
"yChannelSelector",
|
|
63
|
-
"zoomAndPan"
|
|
64
|
-
].map((t) => [t.toLowerCase(), t])), c = /* @__PURE__ */ new Map([
|
|
65
|
-
["xlink:actuate", { prefix: "xlink", name: "actuate", namespace: n.XLINK }],
|
|
66
|
-
["xlink:arcrole", { prefix: "xlink", name: "arcrole", namespace: n.XLINK }],
|
|
67
|
-
["xlink:href", { prefix: "xlink", name: "href", namespace: n.XLINK }],
|
|
68
|
-
["xlink:role", { prefix: "xlink", name: "role", namespace: n.XLINK }],
|
|
69
|
-
["xlink:show", { prefix: "xlink", name: "show", namespace: n.XLINK }],
|
|
70
|
-
["xlink:title", { prefix: "xlink", name: "title", namespace: n.XLINK }],
|
|
71
|
-
["xlink:type", { prefix: "xlink", name: "type", namespace: n.XLINK }],
|
|
72
|
-
["xml:lang", { prefix: "xml", name: "lang", namespace: n.XML }],
|
|
73
|
-
["xml:space", { prefix: "xml", name: "space", namespace: n.XML }],
|
|
74
|
-
["xmlns", { prefix: "", name: "xmlns", namespace: n.XMLNS }],
|
|
75
|
-
["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: n.XMLNS }]
|
|
76
|
-
]), M = new Map([
|
|
77
|
-
"altGlyph",
|
|
78
|
-
"altGlyphDef",
|
|
79
|
-
"altGlyphItem",
|
|
80
|
-
"animateColor",
|
|
81
|
-
"animateMotion",
|
|
82
|
-
"animateTransform",
|
|
83
|
-
"clipPath",
|
|
84
|
-
"feBlend",
|
|
85
|
-
"feColorMatrix",
|
|
86
|
-
"feComponentTransfer",
|
|
87
|
-
"feComposite",
|
|
88
|
-
"feConvolveMatrix",
|
|
89
|
-
"feDiffuseLighting",
|
|
90
|
-
"feDisplacementMap",
|
|
91
|
-
"feDistantLight",
|
|
92
|
-
"feFlood",
|
|
93
|
-
"feFuncA",
|
|
94
|
-
"feFuncB",
|
|
95
|
-
"feFuncG",
|
|
96
|
-
"feFuncR",
|
|
97
|
-
"feGaussianBlur",
|
|
98
|
-
"feImage",
|
|
99
|
-
"feMerge",
|
|
100
|
-
"feMergeNode",
|
|
101
|
-
"feMorphology",
|
|
102
|
-
"feOffset",
|
|
103
|
-
"fePointLight",
|
|
104
|
-
"feSpecularLighting",
|
|
105
|
-
"feSpotLight",
|
|
106
|
-
"feTile",
|
|
107
|
-
"feTurbulence",
|
|
108
|
-
"foreignObject",
|
|
109
|
-
"glyphRef",
|
|
110
|
-
"linearGradient",
|
|
111
|
-
"radialGradient",
|
|
112
|
-
"textPath"
|
|
113
|
-
].map((t) => [t.toLowerCase(), t])), u = /* @__PURE__ */ new Set([
|
|
114
|
-
e.B,
|
|
115
|
-
e.BIG,
|
|
116
|
-
e.BLOCKQUOTE,
|
|
117
|
-
e.BODY,
|
|
118
|
-
e.BR,
|
|
119
|
-
e.CENTER,
|
|
120
|
-
e.CODE,
|
|
121
|
-
e.DD,
|
|
122
|
-
e.DIV,
|
|
123
|
-
e.DL,
|
|
124
|
-
e.DT,
|
|
125
|
-
e.EM,
|
|
126
|
-
e.EMBED,
|
|
127
|
-
e.H1,
|
|
128
|
-
e.H2,
|
|
129
|
-
e.H3,
|
|
130
|
-
e.H4,
|
|
131
|
-
e.H5,
|
|
132
|
-
e.H6,
|
|
133
|
-
e.HEAD,
|
|
134
|
-
e.HR,
|
|
135
|
-
e.I,
|
|
136
|
-
e.IMG,
|
|
137
|
-
e.LI,
|
|
138
|
-
e.LISTING,
|
|
139
|
-
e.MENU,
|
|
140
|
-
e.META,
|
|
141
|
-
e.NOBR,
|
|
142
|
-
e.OL,
|
|
143
|
-
e.P,
|
|
144
|
-
e.PRE,
|
|
145
|
-
e.RUBY,
|
|
146
|
-
e.S,
|
|
147
|
-
e.SMALL,
|
|
148
|
-
e.SPAN,
|
|
149
|
-
e.STRONG,
|
|
150
|
-
e.STRIKE,
|
|
151
|
-
e.SUB,
|
|
152
|
-
e.SUP,
|
|
153
|
-
e.TABLE,
|
|
154
|
-
e.TT,
|
|
155
|
-
e.U,
|
|
156
|
-
e.UL,
|
|
157
|
-
e.VAR
|
|
158
|
-
]);
|
|
159
|
-
function g(t) {
|
|
160
|
-
const a = t.tagID;
|
|
161
|
-
return a === e.FONT && t.attrs.some(({ name: r }) => r === s.COLOR || r === s.SIZE || r === s.FACE) || u.has(a);
|
|
162
|
-
}
|
|
163
|
-
function I(t) {
|
|
164
|
-
for (let a = 0; a < t.attrs.length; a++)
|
|
165
|
-
if (t.attrs[a].name === m) {
|
|
166
|
-
t.attrs[a].name = p;
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
function N(t) {
|
|
171
|
-
for (let a = 0; a < t.attrs.length; a++) {
|
|
172
|
-
const i = T.get(t.attrs[a].name);
|
|
173
|
-
i != null && (t.attrs[a].name = i);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
function h(t) {
|
|
177
|
-
for (let a = 0; a < t.attrs.length; a++) {
|
|
178
|
-
const i = c.get(t.attrs[a].name);
|
|
179
|
-
i && (t.attrs[a].prefix = i.prefix, t.attrs[a].name = i.name, t.attrs[a].namespace = i.namespace);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
function E(t) {
|
|
183
|
-
const a = M.get(t.tagName);
|
|
184
|
-
a != null && (t.tagName = a, t.tagID = f(t.tagName));
|
|
185
|
-
}
|
|
186
|
-
function x(t, a) {
|
|
187
|
-
return a === n.MATHML && (t === e.MI || t === e.MO || t === e.MN || t === e.MS || t === e.MTEXT);
|
|
188
|
-
}
|
|
189
|
-
function L(t, a, i) {
|
|
190
|
-
if (a === n.MATHML && t === e.ANNOTATION_XML) {
|
|
191
|
-
for (let r = 0; r < i.length; r++)
|
|
192
|
-
if (i[r].name === s.ENCODING) {
|
|
193
|
-
const l = i[r].value.toLowerCase();
|
|
194
|
-
return l === o.TEXT_HTML || l === o.APPLICATION_XML;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
return a === n.SVG && (t === e.FOREIGN_OBJECT || t === e.DESC || t === e.TITLE);
|
|
198
|
-
}
|
|
199
|
-
function S(t, a, i, r) {
|
|
200
|
-
return (!r || r === n.HTML) && L(t, a, i) || (!r || r === n.MATHML) && x(t, a);
|
|
201
|
-
}
|
|
202
|
-
export {
|
|
203
|
-
M as SVG_TAG_NAMES_ADJUSTMENT_MAP,
|
|
204
|
-
I as adjustTokenMathMLAttrs,
|
|
205
|
-
N as adjustTokenSVGAttrs,
|
|
206
|
-
E as adjustTokenSVGTagName,
|
|
207
|
-
h as adjustTokenXMLAttrs,
|
|
208
|
-
g as causesExit,
|
|
209
|
-
S as isIntegrationPoint
|
|
210
|
-
};
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
var P;
|
|
2
|
-
(function(E) {
|
|
3
|
-
E.HTML = "http://www.w3.org/1999/xhtml", E.MATHML = "http://www.w3.org/1998/Math/MathML", E.SVG = "http://www.w3.org/2000/svg", E.XLINK = "http://www.w3.org/1999/xlink", E.XML = "http://www.w3.org/XML/1998/namespace", E.XMLNS = "http://www.w3.org/2000/xmlns/";
|
|
4
|
-
})(P || (P = {}));
|
|
5
|
-
var C;
|
|
6
|
-
(function(E) {
|
|
7
|
-
E.TYPE = "type", E.ACTION = "action", E.ENCODING = "encoding", E.PROMPT = "prompt", E.NAME = "name", E.COLOR = "color", E.FACE = "face", E.SIZE = "size";
|
|
8
|
-
})(C || (C = {}));
|
|
9
|
-
var H;
|
|
10
|
-
(function(E) {
|
|
11
|
-
E.NO_QUIRKS = "no-quirks", E.QUIRKS = "quirks", E.LIMITED_QUIRKS = "limited-quirks";
|
|
12
|
-
})(H || (H = {}));
|
|
13
|
-
var R;
|
|
14
|
-
(function(E) {
|
|
15
|
-
E.A = "a", E.ADDRESS = "address", E.ANNOTATION_XML = "annotation-xml", E.APPLET = "applet", E.AREA = "area", E.ARTICLE = "article", E.ASIDE = "aside", E.B = "b", E.BASE = "base", E.BASEFONT = "basefont", E.BGSOUND = "bgsound", E.BIG = "big", E.BLOCKQUOTE = "blockquote", E.BODY = "body", E.BR = "br", E.BUTTON = "button", E.CAPTION = "caption", E.CENTER = "center", E.CODE = "code", E.COL = "col", E.COLGROUP = "colgroup", E.DD = "dd", E.DESC = "desc", E.DETAILS = "details", E.DIALOG = "dialog", E.DIR = "dir", E.DIV = "div", E.DL = "dl", E.DT = "dt", E.EM = "em", E.EMBED = "embed", E.FIELDSET = "fieldset", E.FIGCAPTION = "figcaption", E.FIGURE = "figure", E.FONT = "font", E.FOOTER = "footer", E.FOREIGN_OBJECT = "foreignObject", E.FORM = "form", E.FRAME = "frame", E.FRAMESET = "frameset", E.H1 = "h1", E.H2 = "h2", E.H3 = "h3", E.H4 = "h4", E.H5 = "h5", E.H6 = "h6", E.HEAD = "head", E.HEADER = "header", E.HGROUP = "hgroup", E.HR = "hr", E.HTML = "html", E.I = "i", E.IMG = "img", E.IMAGE = "image", E.INPUT = "input", E.IFRAME = "iframe", E.KEYGEN = "keygen", E.LABEL = "label", E.LI = "li", E.LINK = "link", E.LISTING = "listing", E.MAIN = "main", E.MALIGNMARK = "malignmark", E.MARQUEE = "marquee", E.MATH = "math", E.MENU = "menu", E.META = "meta", E.MGLYPH = "mglyph", E.MI = "mi", E.MO = "mo", E.MN = "mn", E.MS = "ms", E.MTEXT = "mtext", E.NAV = "nav", E.NOBR = "nobr", E.NOFRAMES = "noframes", E.NOEMBED = "noembed", E.NOSCRIPT = "noscript", E.OBJECT = "object", E.OL = "ol", E.OPTGROUP = "optgroup", E.OPTION = "option", E.P = "p", E.PARAM = "param", E.PLAINTEXT = "plaintext", E.PRE = "pre", E.RB = "rb", E.RP = "rp", E.RT = "rt", E.RTC = "rtc", E.RUBY = "ruby", E.S = "s", E.SCRIPT = "script", E.SEARCH = "search", E.SECTION = "section", E.SELECT = "select", E.SOURCE = "source", E.SMALL = "small", E.SPAN = "span", E.STRIKE = "strike", E.STRONG = "strong", E.STYLE = "style", E.SUB = "sub", E.SUMMARY = "summary", E.SUP = "sup", E.TABLE = "table", E.TBODY = "tbody", E.TEMPLATE = "template", E.TEXTAREA = "textarea", E.TFOOT = "tfoot", E.TD = "td", E.TH = "th", E.THEAD = "thead", E.TITLE = "title", E.TR = "tr", E.TRACK = "track", E.TT = "tt", E.U = "u", E.UL = "ul", E.SVG = "svg", E.VAR = "var", E.WBR = "wbr", E.XMP = "xmp";
|
|
16
|
-
})(R || (R = {}));
|
|
17
|
-
var O;
|
|
18
|
-
(function(E) {
|
|
19
|
-
E[E.UNKNOWN = 0] = "UNKNOWN", E[E.A = 1] = "A", E[E.ADDRESS = 2] = "ADDRESS", E[E.ANNOTATION_XML = 3] = "ANNOTATION_XML", E[E.APPLET = 4] = "APPLET", E[E.AREA = 5] = "AREA", E[E.ARTICLE = 6] = "ARTICLE", E[E.ASIDE = 7] = "ASIDE", E[E.B = 8] = "B", E[E.BASE = 9] = "BASE", E[E.BASEFONT = 10] = "BASEFONT", E[E.BGSOUND = 11] = "BGSOUND", E[E.BIG = 12] = "BIG", E[E.BLOCKQUOTE = 13] = "BLOCKQUOTE", E[E.BODY = 14] = "BODY", E[E.BR = 15] = "BR", E[E.BUTTON = 16] = "BUTTON", E[E.CAPTION = 17] = "CAPTION", E[E.CENTER = 18] = "CENTER", E[E.CODE = 19] = "CODE", E[E.COL = 20] = "COL", E[E.COLGROUP = 21] = "COLGROUP", E[E.DD = 22] = "DD", E[E.DESC = 23] = "DESC", E[E.DETAILS = 24] = "DETAILS", E[E.DIALOG = 25] = "DIALOG", E[E.DIR = 26] = "DIR", E[E.DIV = 27] = "DIV", E[E.DL = 28] = "DL", E[E.DT = 29] = "DT", E[E.EM = 30] = "EM", E[E.EMBED = 31] = "EMBED", E[E.FIELDSET = 32] = "FIELDSET", E[E.FIGCAPTION = 33] = "FIGCAPTION", E[E.FIGURE = 34] = "FIGURE", E[E.FONT = 35] = "FONT", E[E.FOOTER = 36] = "FOOTER", E[E.FOREIGN_OBJECT = 37] = "FOREIGN_OBJECT", E[E.FORM = 38] = "FORM", E[E.FRAME = 39] = "FRAME", E[E.FRAMESET = 40] = "FRAMESET", E[E.H1 = 41] = "H1", E[E.H2 = 42] = "H2", E[E.H3 = 43] = "H3", E[E.H4 = 44] = "H4", E[E.H5 = 45] = "H5", E[E.H6 = 46] = "H6", E[E.HEAD = 47] = "HEAD", E[E.HEADER = 48] = "HEADER", E[E.HGROUP = 49] = "HGROUP", E[E.HR = 50] = "HR", E[E.HTML = 51] = "HTML", E[E.I = 52] = "I", E[E.IMG = 53] = "IMG", E[E.IMAGE = 54] = "IMAGE", E[E.INPUT = 55] = "INPUT", E[E.IFRAME = 56] = "IFRAME", E[E.KEYGEN = 57] = "KEYGEN", E[E.LABEL = 58] = "LABEL", E[E.LI = 59] = "LI", E[E.LINK = 60] = "LINK", E[E.LISTING = 61] = "LISTING", E[E.MAIN = 62] = "MAIN", E[E.MALIGNMARK = 63] = "MALIGNMARK", E[E.MARQUEE = 64] = "MARQUEE", E[E.MATH = 65] = "MATH", E[E.MENU = 66] = "MENU", E[E.META = 67] = "META", E[E.MGLYPH = 68] = "MGLYPH", E[E.MI = 69] = "MI", E[E.MO = 70] = "MO", E[E.MN = 71] = "MN", E[E.MS = 72] = "MS", E[E.MTEXT = 73] = "MTEXT", E[E.NAV = 74] = "NAV", E[E.NOBR = 75] = "NOBR", E[E.NOFRAMES = 76] = "NOFRAMES", E[E.NOEMBED = 77] = "NOEMBED", E[E.NOSCRIPT = 78] = "NOSCRIPT", E[E.OBJECT = 79] = "OBJECT", E[E.OL = 80] = "OL", E[E.OPTGROUP = 81] = "OPTGROUP", E[E.OPTION = 82] = "OPTION", E[E.P = 83] = "P", E[E.PARAM = 84] = "PARAM", E[E.PLAINTEXT = 85] = "PLAINTEXT", E[E.PRE = 86] = "PRE", E[E.RB = 87] = "RB", E[E.RP = 88] = "RP", E[E.RT = 89] = "RT", E[E.RTC = 90] = "RTC", E[E.RUBY = 91] = "RUBY", E[E.S = 92] = "S", E[E.SCRIPT = 93] = "SCRIPT", E[E.SEARCH = 94] = "SEARCH", E[E.SECTION = 95] = "SECTION", E[E.SELECT = 96] = "SELECT", E[E.SOURCE = 97] = "SOURCE", E[E.SMALL = 98] = "SMALL", E[E.SPAN = 99] = "SPAN", E[E.STRIKE = 100] = "STRIKE", E[E.STRONG = 101] = "STRONG", E[E.STYLE = 102] = "STYLE", E[E.SUB = 103] = "SUB", E[E.SUMMARY = 104] = "SUMMARY", E[E.SUP = 105] = "SUP", E[E.TABLE = 106] = "TABLE", E[E.TBODY = 107] = "TBODY", E[E.TEMPLATE = 108] = "TEMPLATE", E[E.TEXTAREA = 109] = "TEXTAREA", E[E.TFOOT = 110] = "TFOOT", E[E.TD = 111] = "TD", E[E.TH = 112] = "TH", E[E.THEAD = 113] = "THEAD", E[E.TITLE = 114] = "TITLE", E[E.TR = 115] = "TR", E[E.TRACK = 116] = "TRACK", E[E.TT = 117] = "TT", E[E.U = 118] = "U", E[E.UL = 119] = "UL", E[E.SVG = 120] = "SVG", E[E.VAR = 121] = "VAR", E[E.WBR = 122] = "WBR", E[E.XMP = 123] = "XMP";
|
|
20
|
-
})(O || (O = {}));
|
|
21
|
-
const U = /* @__PURE__ */ new Map([
|
|
22
|
-
[R.A, O.A],
|
|
23
|
-
[R.ADDRESS, O.ADDRESS],
|
|
24
|
-
[R.ANNOTATION_XML, O.ANNOTATION_XML],
|
|
25
|
-
[R.APPLET, O.APPLET],
|
|
26
|
-
[R.AREA, O.AREA],
|
|
27
|
-
[R.ARTICLE, O.ARTICLE],
|
|
28
|
-
[R.ASIDE, O.ASIDE],
|
|
29
|
-
[R.B, O.B],
|
|
30
|
-
[R.BASE, O.BASE],
|
|
31
|
-
[R.BASEFONT, O.BASEFONT],
|
|
32
|
-
[R.BGSOUND, O.BGSOUND],
|
|
33
|
-
[R.BIG, O.BIG],
|
|
34
|
-
[R.BLOCKQUOTE, O.BLOCKQUOTE],
|
|
35
|
-
[R.BODY, O.BODY],
|
|
36
|
-
[R.BR, O.BR],
|
|
37
|
-
[R.BUTTON, O.BUTTON],
|
|
38
|
-
[R.CAPTION, O.CAPTION],
|
|
39
|
-
[R.CENTER, O.CENTER],
|
|
40
|
-
[R.CODE, O.CODE],
|
|
41
|
-
[R.COL, O.COL],
|
|
42
|
-
[R.COLGROUP, O.COLGROUP],
|
|
43
|
-
[R.DD, O.DD],
|
|
44
|
-
[R.DESC, O.DESC],
|
|
45
|
-
[R.DETAILS, O.DETAILS],
|
|
46
|
-
[R.DIALOG, O.DIALOG],
|
|
47
|
-
[R.DIR, O.DIR],
|
|
48
|
-
[R.DIV, O.DIV],
|
|
49
|
-
[R.DL, O.DL],
|
|
50
|
-
[R.DT, O.DT],
|
|
51
|
-
[R.EM, O.EM],
|
|
52
|
-
[R.EMBED, O.EMBED],
|
|
53
|
-
[R.FIELDSET, O.FIELDSET],
|
|
54
|
-
[R.FIGCAPTION, O.FIGCAPTION],
|
|
55
|
-
[R.FIGURE, O.FIGURE],
|
|
56
|
-
[R.FONT, O.FONT],
|
|
57
|
-
[R.FOOTER, O.FOOTER],
|
|
58
|
-
[R.FOREIGN_OBJECT, O.FOREIGN_OBJECT],
|
|
59
|
-
[R.FORM, O.FORM],
|
|
60
|
-
[R.FRAME, O.FRAME],
|
|
61
|
-
[R.FRAMESET, O.FRAMESET],
|
|
62
|
-
[R.H1, O.H1],
|
|
63
|
-
[R.H2, O.H2],
|
|
64
|
-
[R.H3, O.H3],
|
|
65
|
-
[R.H4, O.H4],
|
|
66
|
-
[R.H5, O.H5],
|
|
67
|
-
[R.H6, O.H6],
|
|
68
|
-
[R.HEAD, O.HEAD],
|
|
69
|
-
[R.HEADER, O.HEADER],
|
|
70
|
-
[R.HGROUP, O.HGROUP],
|
|
71
|
-
[R.HR, O.HR],
|
|
72
|
-
[R.HTML, O.HTML],
|
|
73
|
-
[R.I, O.I],
|
|
74
|
-
[R.IMG, O.IMG],
|
|
75
|
-
[R.IMAGE, O.IMAGE],
|
|
76
|
-
[R.INPUT, O.INPUT],
|
|
77
|
-
[R.IFRAME, O.IFRAME],
|
|
78
|
-
[R.KEYGEN, O.KEYGEN],
|
|
79
|
-
[R.LABEL, O.LABEL],
|
|
80
|
-
[R.LI, O.LI],
|
|
81
|
-
[R.LINK, O.LINK],
|
|
82
|
-
[R.LISTING, O.LISTING],
|
|
83
|
-
[R.MAIN, O.MAIN],
|
|
84
|
-
[R.MALIGNMARK, O.MALIGNMARK],
|
|
85
|
-
[R.MARQUEE, O.MARQUEE],
|
|
86
|
-
[R.MATH, O.MATH],
|
|
87
|
-
[R.MENU, O.MENU],
|
|
88
|
-
[R.META, O.META],
|
|
89
|
-
[R.MGLYPH, O.MGLYPH],
|
|
90
|
-
[R.MI, O.MI],
|
|
91
|
-
[R.MO, O.MO],
|
|
92
|
-
[R.MN, O.MN],
|
|
93
|
-
[R.MS, O.MS],
|
|
94
|
-
[R.MTEXT, O.MTEXT],
|
|
95
|
-
[R.NAV, O.NAV],
|
|
96
|
-
[R.NOBR, O.NOBR],
|
|
97
|
-
[R.NOFRAMES, O.NOFRAMES],
|
|
98
|
-
[R.NOEMBED, O.NOEMBED],
|
|
99
|
-
[R.NOSCRIPT, O.NOSCRIPT],
|
|
100
|
-
[R.OBJECT, O.OBJECT],
|
|
101
|
-
[R.OL, O.OL],
|
|
102
|
-
[R.OPTGROUP, O.OPTGROUP],
|
|
103
|
-
[R.OPTION, O.OPTION],
|
|
104
|
-
[R.P, O.P],
|
|
105
|
-
[R.PARAM, O.PARAM],
|
|
106
|
-
[R.PLAINTEXT, O.PLAINTEXT],
|
|
107
|
-
[R.PRE, O.PRE],
|
|
108
|
-
[R.RB, O.RB],
|
|
109
|
-
[R.RP, O.RP],
|
|
110
|
-
[R.RT, O.RT],
|
|
111
|
-
[R.RTC, O.RTC],
|
|
112
|
-
[R.RUBY, O.RUBY],
|
|
113
|
-
[R.S, O.S],
|
|
114
|
-
[R.SCRIPT, O.SCRIPT],
|
|
115
|
-
[R.SEARCH, O.SEARCH],
|
|
116
|
-
[R.SECTION, O.SECTION],
|
|
117
|
-
[R.SELECT, O.SELECT],
|
|
118
|
-
[R.SOURCE, O.SOURCE],
|
|
119
|
-
[R.SMALL, O.SMALL],
|
|
120
|
-
[R.SPAN, O.SPAN],
|
|
121
|
-
[R.STRIKE, O.STRIKE],
|
|
122
|
-
[R.STRONG, O.STRONG],
|
|
123
|
-
[R.STYLE, O.STYLE],
|
|
124
|
-
[R.SUB, O.SUB],
|
|
125
|
-
[R.SUMMARY, O.SUMMARY],
|
|
126
|
-
[R.SUP, O.SUP],
|
|
127
|
-
[R.TABLE, O.TABLE],
|
|
128
|
-
[R.TBODY, O.TBODY],
|
|
129
|
-
[R.TEMPLATE, O.TEMPLATE],
|
|
130
|
-
[R.TEXTAREA, O.TEXTAREA],
|
|
131
|
-
[R.TFOOT, O.TFOOT],
|
|
132
|
-
[R.TD, O.TD],
|
|
133
|
-
[R.TH, O.TH],
|
|
134
|
-
[R.THEAD, O.THEAD],
|
|
135
|
-
[R.TITLE, O.TITLE],
|
|
136
|
-
[R.TR, O.TR],
|
|
137
|
-
[R.TRACK, O.TRACK],
|
|
138
|
-
[R.TT, O.TT],
|
|
139
|
-
[R.U, O.U],
|
|
140
|
-
[R.UL, O.UL],
|
|
141
|
-
[R.SVG, O.SVG],
|
|
142
|
-
[R.VAR, O.VAR],
|
|
143
|
-
[R.WBR, O.WBR],
|
|
144
|
-
[R.XMP, O.XMP]
|
|
145
|
-
]);
|
|
146
|
-
function t(E) {
|
|
147
|
-
var B;
|
|
148
|
-
return (B = U.get(E)) !== null && B !== void 0 ? B : O.UNKNOWN;
|
|
149
|
-
}
|
|
150
|
-
const L = O, e = {
|
|
151
|
-
[P.HTML]: /* @__PURE__ */ new Set([
|
|
152
|
-
L.ADDRESS,
|
|
153
|
-
L.APPLET,
|
|
154
|
-
L.AREA,
|
|
155
|
-
L.ARTICLE,
|
|
156
|
-
L.ASIDE,
|
|
157
|
-
L.BASE,
|
|
158
|
-
L.BASEFONT,
|
|
159
|
-
L.BGSOUND,
|
|
160
|
-
L.BLOCKQUOTE,
|
|
161
|
-
L.BODY,
|
|
162
|
-
L.BR,
|
|
163
|
-
L.BUTTON,
|
|
164
|
-
L.CAPTION,
|
|
165
|
-
L.CENTER,
|
|
166
|
-
L.COL,
|
|
167
|
-
L.COLGROUP,
|
|
168
|
-
L.DD,
|
|
169
|
-
L.DETAILS,
|
|
170
|
-
L.DIR,
|
|
171
|
-
L.DIV,
|
|
172
|
-
L.DL,
|
|
173
|
-
L.DT,
|
|
174
|
-
L.EMBED,
|
|
175
|
-
L.FIELDSET,
|
|
176
|
-
L.FIGCAPTION,
|
|
177
|
-
L.FIGURE,
|
|
178
|
-
L.FOOTER,
|
|
179
|
-
L.FORM,
|
|
180
|
-
L.FRAME,
|
|
181
|
-
L.FRAMESET,
|
|
182
|
-
L.H1,
|
|
183
|
-
L.H2,
|
|
184
|
-
L.H3,
|
|
185
|
-
L.H4,
|
|
186
|
-
L.H5,
|
|
187
|
-
L.H6,
|
|
188
|
-
L.HEAD,
|
|
189
|
-
L.HEADER,
|
|
190
|
-
L.HGROUP,
|
|
191
|
-
L.HR,
|
|
192
|
-
L.HTML,
|
|
193
|
-
L.IFRAME,
|
|
194
|
-
L.IMG,
|
|
195
|
-
L.INPUT,
|
|
196
|
-
L.LI,
|
|
197
|
-
L.LINK,
|
|
198
|
-
L.LISTING,
|
|
199
|
-
L.MAIN,
|
|
200
|
-
L.MARQUEE,
|
|
201
|
-
L.MENU,
|
|
202
|
-
L.META,
|
|
203
|
-
L.NAV,
|
|
204
|
-
L.NOEMBED,
|
|
205
|
-
L.NOFRAMES,
|
|
206
|
-
L.NOSCRIPT,
|
|
207
|
-
L.OBJECT,
|
|
208
|
-
L.OL,
|
|
209
|
-
L.P,
|
|
210
|
-
L.PARAM,
|
|
211
|
-
L.PLAINTEXT,
|
|
212
|
-
L.PRE,
|
|
213
|
-
L.SCRIPT,
|
|
214
|
-
L.SECTION,
|
|
215
|
-
L.SELECT,
|
|
216
|
-
L.SOURCE,
|
|
217
|
-
L.STYLE,
|
|
218
|
-
L.SUMMARY,
|
|
219
|
-
L.TABLE,
|
|
220
|
-
L.TBODY,
|
|
221
|
-
L.TD,
|
|
222
|
-
L.TEMPLATE,
|
|
223
|
-
L.TEXTAREA,
|
|
224
|
-
L.TFOOT,
|
|
225
|
-
L.TH,
|
|
226
|
-
L.THEAD,
|
|
227
|
-
L.TITLE,
|
|
228
|
-
L.TR,
|
|
229
|
-
L.TRACK,
|
|
230
|
-
L.UL,
|
|
231
|
-
L.WBR,
|
|
232
|
-
L.XMP
|
|
233
|
-
]),
|
|
234
|
-
[P.MATHML]: /* @__PURE__ */ new Set([L.MI, L.MO, L.MN, L.MS, L.MTEXT, L.ANNOTATION_XML]),
|
|
235
|
-
[P.SVG]: /* @__PURE__ */ new Set([L.TITLE, L.FOREIGN_OBJECT, L.DESC]),
|
|
236
|
-
[P.XLINK]: /* @__PURE__ */ new Set(),
|
|
237
|
-
[P.XML]: /* @__PURE__ */ new Set(),
|
|
238
|
-
[P.XMLNS]: /* @__PURE__ */ new Set()
|
|
239
|
-
}, M = /* @__PURE__ */ new Set([L.H1, L.H2, L.H3, L.H4, L.H5, L.H6]);
|
|
240
|
-
R.STYLE, R.SCRIPT, R.XMP, R.IFRAME, R.NOEMBED, R.NOFRAMES, R.PLAINTEXT;
|
|
241
|
-
export {
|
|
242
|
-
C as ATTRS,
|
|
243
|
-
H as DOCUMENT_MODE,
|
|
244
|
-
P as NS,
|
|
245
|
-
M as NUMBERED_HEADERS,
|
|
246
|
-
e as SPECIAL_ELEMENTS,
|
|
247
|
-
O as TAG_ID,
|
|
248
|
-
R as TAG_NAMES,
|
|
249
|
-
t as getTagID
|
|
250
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var C;
|
|
2
|
-
(function(A) {
|
|
3
|
-
A[A.CHARACTER = 0] = "CHARACTER", A[A.NULL_CHARACTER = 1] = "NULL_CHARACTER", A[A.WHITESPACE_CHARACTER = 2] = "WHITESPACE_CHARACTER", A[A.START_TAG = 3] = "START_TAG", A[A.END_TAG = 4] = "END_TAG", A[A.COMMENT = 5] = "COMMENT", A[A.DOCTYPE = 6] = "DOCTYPE", A[A.EOF = 7] = "EOF", A[A.HIBERNATION = 8] = "HIBERNATION";
|
|
4
|
-
})(C || (C = {}));
|
|
5
|
-
function t(A, R) {
|
|
6
|
-
for (let E = A.attrs.length - 1; E >= 0; E--)
|
|
7
|
-
if (A.attrs[E].name === R)
|
|
8
|
-
return A.attrs[E].value;
|
|
9
|
-
return null;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
C as TokenType,
|
|
13
|
-
t as getTokenAttr
|
|
14
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
const n = /* @__PURE__ */ new Set([
|
|
2
|
-
65534,
|
|
3
|
-
65535,
|
|
4
|
-
131070,
|
|
5
|
-
131071,
|
|
6
|
-
196606,
|
|
7
|
-
196607,
|
|
8
|
-
262142,
|
|
9
|
-
262143,
|
|
10
|
-
327678,
|
|
11
|
-
327679,
|
|
12
|
-
393214,
|
|
13
|
-
393215,
|
|
14
|
-
458750,
|
|
15
|
-
458751,
|
|
16
|
-
524286,
|
|
17
|
-
524287,
|
|
18
|
-
589822,
|
|
19
|
-
589823,
|
|
20
|
-
655358,
|
|
21
|
-
655359,
|
|
22
|
-
720894,
|
|
23
|
-
720895,
|
|
24
|
-
786430,
|
|
25
|
-
786431,
|
|
26
|
-
851966,
|
|
27
|
-
851967,
|
|
28
|
-
917502,
|
|
29
|
-
917503,
|
|
30
|
-
983038,
|
|
31
|
-
983039,
|
|
32
|
-
1048574,
|
|
33
|
-
1048575,
|
|
34
|
-
1114110,
|
|
35
|
-
1114111
|
|
36
|
-
]), t = "�";
|
|
37
|
-
var L;
|
|
38
|
-
(function(A) {
|
|
39
|
-
A[A.EOF = -1] = "EOF", A[A.NULL = 0] = "NULL", A[A.TABULATION = 9] = "TABULATION", A[A.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", A[A.LINE_FEED = 10] = "LINE_FEED", A[A.FORM_FEED = 12] = "FORM_FEED", A[A.SPACE = 32] = "SPACE", A[A.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", A[A.QUOTATION_MARK = 34] = "QUOTATION_MARK", A[A.AMPERSAND = 38] = "AMPERSAND", A[A.APOSTROPHE = 39] = "APOSTROPHE", A[A.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", A[A.SOLIDUS = 47] = "SOLIDUS", A[A.DIGIT_0 = 48] = "DIGIT_0", A[A.DIGIT_9 = 57] = "DIGIT_9", A[A.SEMICOLON = 59] = "SEMICOLON", A[A.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", A[A.EQUALS_SIGN = 61] = "EQUALS_SIGN", A[A.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", A[A.QUESTION_MARK = 63] = "QUESTION_MARK", A[A.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", A[A.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", A[A.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", A[A.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", A[A.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", A[A.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
|
|
40
|
-
})(L || (L = {}));
|
|
41
|
-
const o = {
|
|
42
|
-
DASH_DASH: "--",
|
|
43
|
-
CDATA_START: "[CDATA[",
|
|
44
|
-
DOCTYPE: "doctype",
|
|
45
|
-
SCRIPT: "script",
|
|
46
|
-
PUBLIC: "public",
|
|
47
|
-
SYSTEM: "system"
|
|
48
|
-
};
|
|
49
|
-
function r(A) {
|
|
50
|
-
return A >= 55296 && A <= 57343;
|
|
51
|
-
}
|
|
52
|
-
function M(A) {
|
|
53
|
-
return A >= 56320 && A <= 57343;
|
|
54
|
-
}
|
|
55
|
-
function U(A, R) {
|
|
56
|
-
return (A - 55296) * 1024 + 9216 + R;
|
|
57
|
-
}
|
|
58
|
-
function e(A) {
|
|
59
|
-
return A !== 32 && A !== 10 && A !== 13 && A !== 9 && A !== 12 && A >= 1 && A <= 31 || A >= 127 && A <= 159;
|
|
60
|
-
}
|
|
61
|
-
function i(A) {
|
|
62
|
-
return A >= 64976 && A <= 65007 || n.has(A);
|
|
63
|
-
}
|
|
64
|
-
export {
|
|
65
|
-
L as CODE_POINTS,
|
|
66
|
-
t as REPLACEMENT_CHARACTER,
|
|
67
|
-
o as SEQUENCES,
|
|
68
|
-
U as getSurrogatePairCodePoint,
|
|
69
|
-
e as isControlCodePoint,
|
|
70
|
-
r as isSurrogate,
|
|
71
|
-
M as isSurrogatePair,
|
|
72
|
-
i as isUndefinedCodePoint
|
|
73
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
var s;
|
|
2
|
-
(function(a) {
|
|
3
|
-
a[a.Marker = 0] = "Marker", a[a.Element = 1] = "Element";
|
|
4
|
-
})(s || (s = {}));
|
|
5
|
-
const c = { type: s.Marker };
|
|
6
|
-
class m {
|
|
7
|
-
constructor(e) {
|
|
8
|
-
this.treeAdapter = e, this.entries = [], this.bookmark = null;
|
|
9
|
-
}
|
|
10
|
-
//Noah Ark's condition
|
|
11
|
-
//OPTIMIZATION: at first we try to find possible candidates for exclusion using
|
|
12
|
-
//lightweight heuristics without thorough attributes check.
|
|
13
|
-
_getNoahArkConditionCandidates(e, t) {
|
|
14
|
-
const n = [], l = t.length, h = this.treeAdapter.getTagName(e), i = this.treeAdapter.getNamespaceURI(e);
|
|
15
|
-
for (let r = 0; r < this.entries.length; r++) {
|
|
16
|
-
const o = this.entries[r];
|
|
17
|
-
if (o.type === s.Marker)
|
|
18
|
-
break;
|
|
19
|
-
const { element: d } = o;
|
|
20
|
-
if (this.treeAdapter.getTagName(d) === h && this.treeAdapter.getNamespaceURI(d) === i) {
|
|
21
|
-
const A = this.treeAdapter.getAttrList(d);
|
|
22
|
-
A.length === l && n.push({ idx: r, attrs: A });
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return n;
|
|
26
|
-
}
|
|
27
|
-
_ensureNoahArkCondition(e) {
|
|
28
|
-
if (this.entries.length < 3)
|
|
29
|
-
return;
|
|
30
|
-
const t = this.treeAdapter.getAttrList(e), n = this._getNoahArkConditionCandidates(e, t);
|
|
31
|
-
if (n.length < 3)
|
|
32
|
-
return;
|
|
33
|
-
const l = new Map(t.map((i) => [i.name, i.value]));
|
|
34
|
-
let h = 0;
|
|
35
|
-
for (let i = 0; i < n.length; i++) {
|
|
36
|
-
const r = n[i];
|
|
37
|
-
r.attrs.every((o) => l.get(o.name) === o.value) && (h += 1, h >= 3 && this.entries.splice(r.idx, 1));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
//Mutations
|
|
41
|
-
insertMarker() {
|
|
42
|
-
this.entries.unshift(c);
|
|
43
|
-
}
|
|
44
|
-
pushElement(e, t) {
|
|
45
|
-
this._ensureNoahArkCondition(e), this.entries.unshift({
|
|
46
|
-
type: s.Element,
|
|
47
|
-
element: e,
|
|
48
|
-
token: t
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
insertElementAfterBookmark(e, t) {
|
|
52
|
-
const n = this.entries.indexOf(this.bookmark);
|
|
53
|
-
this.entries.splice(n, 0, {
|
|
54
|
-
type: s.Element,
|
|
55
|
-
element: e,
|
|
56
|
-
token: t
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
removeEntry(e) {
|
|
60
|
-
const t = this.entries.indexOf(e);
|
|
61
|
-
t !== -1 && this.entries.splice(t, 1);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Clears the list of formatting elements up to the last marker.
|
|
65
|
-
*
|
|
66
|
-
* @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker
|
|
67
|
-
*/
|
|
68
|
-
clearToLastMarker() {
|
|
69
|
-
const e = this.entries.indexOf(c);
|
|
70
|
-
e === -1 ? this.entries.length = 0 : this.entries.splice(0, e + 1);
|
|
71
|
-
}
|
|
72
|
-
//Search
|
|
73
|
-
getElementEntryInScopeWithTagName(e) {
|
|
74
|
-
const t = this.entries.find((n) => n.type === s.Marker || this.treeAdapter.getTagName(n.element) === e);
|
|
75
|
-
return t && t.type === s.Element ? t : null;
|
|
76
|
-
}
|
|
77
|
-
getElementEntry(e) {
|
|
78
|
-
return this.entries.find((t) => t.type === s.Element && t.element === e);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export {
|
|
82
|
-
s as EntryType,
|
|
83
|
-
m as FormattingElementList
|
|
84
|
-
};
|