hasting-swatchcart-module 0.0.8 → 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/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
- package/dist/assets/styles/index.css +0 -1
- 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,15 +0,0 @@
|
|
|
1
|
-
function r(t, e) {
|
|
2
|
-
const p = e.value ? e.value + `
|
|
3
|
-
` : "", l = {};
|
|
4
|
-
e.lang && (l.className = ["language-" + e.lang]);
|
|
5
|
-
let a = {
|
|
6
|
-
type: "element",
|
|
7
|
-
tagName: "code",
|
|
8
|
-
properties: l,
|
|
9
|
-
children: [{ type: "text", value: p }]
|
|
10
|
-
};
|
|
11
|
-
return e.meta && (a.data = { meta: e.meta }), t.patch(e, a), a = t.applyData(e, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, t.patch(e, a), a;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
r as code
|
|
15
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { normalizeUri as s } from "../../../micromark-util-sanitize-uri/index.js";
|
|
2
|
-
function d(e, r) {
|
|
3
|
-
const i = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = String(r.identifier).toUpperCase(), f = s(t.toLowerCase()), l = e.footnoteOrder.indexOf(t);
|
|
4
|
-
let n, o = e.footnoteCounts.get(t);
|
|
5
|
-
o === void 0 ? (o = 0, e.footnoteOrder.push(t), n = e.footnoteOrder.length) : n = l + 1, o += 1, e.footnoteCounts.set(t, o);
|
|
6
|
-
const p = {
|
|
7
|
-
type: "element",
|
|
8
|
-
tagName: "a",
|
|
9
|
-
properties: {
|
|
10
|
-
href: "#" + i + "fn-" + f,
|
|
11
|
-
id: i + "fnref-" + f + (o > 1 ? "-" + o : ""),
|
|
12
|
-
dataFootnoteRef: !0,
|
|
13
|
-
ariaDescribedBy: ["footnote-label"]
|
|
14
|
-
},
|
|
15
|
-
children: [{ type: "text", value: String(n) }]
|
|
16
|
-
};
|
|
17
|
-
e.patch(r, p);
|
|
18
|
-
const c = {
|
|
19
|
-
type: "element",
|
|
20
|
-
tagName: "sup",
|
|
21
|
-
properties: {},
|
|
22
|
-
children: [p]
|
|
23
|
-
};
|
|
24
|
-
return e.patch(r, c), e.applyData(r, c);
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
d as footnoteReference
|
|
28
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { normalizeUri as o } from "../../../micromark-util-sanitize-uri/index.js";
|
|
2
|
-
import { revert as p } from "../revert.js";
|
|
3
|
-
function m(e, t) {
|
|
4
|
-
const l = String(t.identifier).toUpperCase(), i = e.definitionById.get(l);
|
|
5
|
-
if (!i)
|
|
6
|
-
return p(e, t);
|
|
7
|
-
const r = { src: o(i.url || ""), alt: t.alt };
|
|
8
|
-
i.title !== null && i.title !== void 0 && (r.title = i.title);
|
|
9
|
-
const n = { type: "element", tagName: "img", properties: r, children: [] };
|
|
10
|
-
return e.patch(t, n), e.applyData(t, n);
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
m as imageReference
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { normalizeUri as e } from "../../../micromark-util-sanitize-uri/index.js";
|
|
2
|
-
function p(i, t) {
|
|
3
|
-
const l = { src: e(t.url) };
|
|
4
|
-
t.alt !== null && t.alt !== void 0 && (l.alt = t.alt), t.title !== null && t.title !== void 0 && (l.title = t.title);
|
|
5
|
-
const r = { type: "element", tagName: "img", properties: l, children: [] };
|
|
6
|
-
return i.patch(t, r), i.applyData(t, r);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
p as image
|
|
10
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { blockquote as r } from "./blockquote.js";
|
|
2
|
-
import { hardBreak as m } from "./break.js";
|
|
3
|
-
import { code as t } from "./code.js";
|
|
4
|
-
import { strikethrough as e } from "./delete.js";
|
|
5
|
-
import { emphasis as i } from "./emphasis.js";
|
|
6
|
-
import { footnoteReference as f } from "./footnote-reference.js";
|
|
7
|
-
import { heading as p } from "./heading.js";
|
|
8
|
-
import { html as n } from "./html.js";
|
|
9
|
-
import { imageReference as a } from "./image-reference.js";
|
|
10
|
-
import { image as l } from "./image.js";
|
|
11
|
-
import { inlineCode as d } from "./inline-code.js";
|
|
12
|
-
import { linkReference as h } from "./link-reference.js";
|
|
13
|
-
import { link as c } from "./link.js";
|
|
14
|
-
import { listItem as s } from "./list-item.js";
|
|
15
|
-
import { list as g } from "./list.js";
|
|
16
|
-
import { paragraph as k } from "./paragraph.js";
|
|
17
|
-
import { root as b } from "./root.js";
|
|
18
|
-
import { strong as u } from "./strong.js";
|
|
19
|
-
import { table as R } from "./table.js";
|
|
20
|
-
import { tableRow as x } from "./table-row.js";
|
|
21
|
-
import { tableCell as B } from "./table-cell.js";
|
|
22
|
-
import { text as C } from "./text.js";
|
|
23
|
-
import { thematicBreak as q } from "./thematic-break.js";
|
|
24
|
-
const V = {
|
|
25
|
-
blockquote: r,
|
|
26
|
-
break: m,
|
|
27
|
-
code: t,
|
|
28
|
-
delete: e,
|
|
29
|
-
emphasis: i,
|
|
30
|
-
footnoteReference: f,
|
|
31
|
-
heading: p,
|
|
32
|
-
html: n,
|
|
33
|
-
imageReference: a,
|
|
34
|
-
image: l,
|
|
35
|
-
inlineCode: d,
|
|
36
|
-
linkReference: h,
|
|
37
|
-
link: c,
|
|
38
|
-
listItem: s,
|
|
39
|
-
list: g,
|
|
40
|
-
paragraph: k,
|
|
41
|
-
// @ts-expect-error: root is different, but hard to type.
|
|
42
|
-
root: b,
|
|
43
|
-
strong: u,
|
|
44
|
-
table: R,
|
|
45
|
-
tableCell: B,
|
|
46
|
-
tableRow: x,
|
|
47
|
-
text: C,
|
|
48
|
-
thematicBreak: q,
|
|
49
|
-
toml: o,
|
|
50
|
-
yaml: o,
|
|
51
|
-
definition: o,
|
|
52
|
-
footnoteDefinition: o
|
|
53
|
-
};
|
|
54
|
-
function o() {
|
|
55
|
-
}
|
|
56
|
-
export {
|
|
57
|
-
V as handlers
|
|
58
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function a(t, e) {
|
|
2
|
-
const p = { type: "text", value: e.value.replace(/\r?\n|\r/g, " ") };
|
|
3
|
-
t.patch(e, p);
|
|
4
|
-
const r = {
|
|
5
|
-
type: "element",
|
|
6
|
-
tagName: "code",
|
|
7
|
-
properties: {},
|
|
8
|
-
children: [p]
|
|
9
|
-
};
|
|
10
|
-
return t.patch(e, r), t.applyData(e, r);
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
a as inlineCode
|
|
14
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { normalizeUri as f } from "../../../micromark-util-sanitize-uri/index.js";
|
|
2
|
-
import { revert as o } from "../revert.js";
|
|
3
|
-
function m(i, e) {
|
|
4
|
-
const l = String(e.identifier).toUpperCase(), t = i.definitionById.get(l);
|
|
5
|
-
if (!t)
|
|
6
|
-
return o(i, e);
|
|
7
|
-
const r = { href: f(t.url || "") };
|
|
8
|
-
t.title !== null && t.title !== void 0 && (r.title = t.title);
|
|
9
|
-
const n = {
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "a",
|
|
12
|
-
properties: r,
|
|
13
|
-
children: i.all(e)
|
|
14
|
-
};
|
|
15
|
-
return i.patch(e, n), i.applyData(e, n);
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
m as linkReference
|
|
19
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { normalizeUri as e } from "../../../micromark-util-sanitize-uri/index.js";
|
|
2
|
-
function a(l, t) {
|
|
3
|
-
const i = { href: e(t.url) };
|
|
4
|
-
t.title !== null && t.title !== void 0 && (i.title = t.title);
|
|
5
|
-
const r = {
|
|
6
|
-
type: "element",
|
|
7
|
-
tagName: "a",
|
|
8
|
-
properties: i,
|
|
9
|
-
children: l.all(t)
|
|
10
|
-
};
|
|
11
|
-
return l.patch(t, r), l.applyData(t, r);
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
a as link
|
|
15
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
function f(l, e, s) {
|
|
2
|
-
const n = l.all(e), a = s ? m(s) : o(e), r = {}, p = [];
|
|
3
|
-
if (typeof e.checked == "boolean") {
|
|
4
|
-
const t = n[0];
|
|
5
|
-
let i;
|
|
6
|
-
t && t.type === "element" && t.tagName === "p" ? i = t : (i = { type: "element", tagName: "p", properties: {}, children: [] }, n.unshift(i)), i.children.length > 0 && i.children.unshift({ type: "text", value: " " }), i.children.unshift({
|
|
7
|
-
type: "element",
|
|
8
|
-
tagName: "input",
|
|
9
|
-
properties: { type: "checkbox", checked: e.checked, disabled: !0 },
|
|
10
|
-
children: []
|
|
11
|
-
}), r.className = ["task-list-item"];
|
|
12
|
-
}
|
|
13
|
-
let c = -1;
|
|
14
|
-
for (; ++c < n.length; ) {
|
|
15
|
-
const t = n[c];
|
|
16
|
-
(a || c !== 0 || t.type !== "element" || t.tagName !== "p") && p.push({ type: "text", value: `
|
|
17
|
-
` }), t.type === "element" && t.tagName === "p" && !a ? p.push(...t.children) : p.push(t);
|
|
18
|
-
}
|
|
19
|
-
const h = n[n.length - 1];
|
|
20
|
-
h && (a || h.type !== "element" || h.tagName !== "p") && p.push({ type: "text", value: `
|
|
21
|
-
` });
|
|
22
|
-
const u = { type: "element", tagName: "li", properties: r, children: p };
|
|
23
|
-
return l.patch(e, u), l.applyData(e, u);
|
|
24
|
-
}
|
|
25
|
-
function m(l) {
|
|
26
|
-
let e = !1;
|
|
27
|
-
if (l.type === "list") {
|
|
28
|
-
e = l.spread || !1;
|
|
29
|
-
const s = l.children;
|
|
30
|
-
let n = -1;
|
|
31
|
-
for (; !e && ++n < s.length; )
|
|
32
|
-
e = o(s[n]);
|
|
33
|
-
}
|
|
34
|
-
return e;
|
|
35
|
-
}
|
|
36
|
-
function o(l) {
|
|
37
|
-
const e = l.spread;
|
|
38
|
-
return e ?? l.children.length > 1;
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
f as listItem
|
|
42
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
function p(r, t) {
|
|
2
|
-
const s = {}, a = r.all(t);
|
|
3
|
-
let l = -1;
|
|
4
|
-
for (typeof t.start == "number" && t.start !== 1 && (s.start = t.start); ++l < a.length; ) {
|
|
5
|
-
const e = a[l];
|
|
6
|
-
if (e.type === "element" && e.tagName === "li" && e.properties && Array.isArray(e.properties.className) && e.properties.className.includes("task-list-item")) {
|
|
7
|
-
s.className = ["contains-task-list"];
|
|
8
|
-
break;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
const i = {
|
|
12
|
-
type: "element",
|
|
13
|
-
tagName: t.ordered ? "ol" : "ul",
|
|
14
|
-
properties: s,
|
|
15
|
-
children: r.wrap(a, !0)
|
|
16
|
-
};
|
|
17
|
-
return r.patch(t, i), r.applyData(t, i);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
p as list
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
function f(e, l, n) {
|
|
2
|
-
const h = n ? n.children : void 0, p = (h ? h.indexOf(l) : 1) === 0 ? "th" : "td", c = n && n.type === "table" ? n.align : void 0, g = c ? c.length : l.children.length;
|
|
3
|
-
let r = -1;
|
|
4
|
-
const d = [];
|
|
5
|
-
for (; ++r < g; ) {
|
|
6
|
-
const i = l.children[r], s = {}, a = c ? c[r] : void 0;
|
|
7
|
-
a && (s.align = a);
|
|
8
|
-
let t = { type: "element", tagName: p, properties: s, children: [] };
|
|
9
|
-
i && (t.children = e.all(i), e.patch(i, t), t = e.applyData(i, t)), d.push(t);
|
|
10
|
-
}
|
|
11
|
-
const o = {
|
|
12
|
-
type: "element",
|
|
13
|
-
tagName: "tr",
|
|
14
|
-
properties: {},
|
|
15
|
-
children: e.wrap(d, !0)
|
|
16
|
-
};
|
|
17
|
-
return e.patch(l, o), e.applyData(l, o);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
f as tableRow
|
|
21
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { pointStart as a, pointEnd as h } from "../../../unist-util-position/lib/index.js";
|
|
2
|
-
function m(t, e) {
|
|
3
|
-
const n = t.all(e), i = n.shift(), p = [];
|
|
4
|
-
if (i) {
|
|
5
|
-
const r = {
|
|
6
|
-
type: "element",
|
|
7
|
-
tagName: "thead",
|
|
8
|
-
properties: {},
|
|
9
|
-
children: t.wrap([i], !0)
|
|
10
|
-
};
|
|
11
|
-
t.patch(e.children[0], r), p.push(r);
|
|
12
|
-
}
|
|
13
|
-
if (n.length > 0) {
|
|
14
|
-
const r = {
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "tbody",
|
|
17
|
-
properties: {},
|
|
18
|
-
children: t.wrap(n, !0)
|
|
19
|
-
}, c = a(e.children[1]), o = h(e.children[e.children.length - 1]);
|
|
20
|
-
c && o && (r.position = { start: c, end: o }), p.push(r);
|
|
21
|
-
}
|
|
22
|
-
const l = {
|
|
23
|
-
type: "element",
|
|
24
|
-
tagName: "table",
|
|
25
|
-
properties: {},
|
|
26
|
-
children: t.wrap(p, !0)
|
|
27
|
-
};
|
|
28
|
-
return t.patch(e, l), t.applyData(e, l);
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
m as table
|
|
32
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { footer as i } from "./footer.js";
|
|
2
|
-
import { createState as s } from "./state.js";
|
|
3
|
-
function p(o, c) {
|
|
4
|
-
const e = s(o, c), t = e.one(o, void 0), r = i(e), n = Array.isArray(t) ? { type: "root", children: t } : t || { type: "root", children: [] };
|
|
5
|
-
return r && n.children.push({ type: "text", value: `
|
|
6
|
-
` }, r), n;
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
p as toHast
|
|
10
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
function s(i, e) {
|
|
2
|
-
const f = e.referenceType;
|
|
3
|
-
let l = "]";
|
|
4
|
-
if (f === "collapsed" ? l += "[]" : f === "full" && (l += "[" + (e.label || e.identifier) + "]"), e.type === "imageReference")
|
|
5
|
-
return [{ type: "text", value: "![" + e.alt + l }];
|
|
6
|
-
const t = i.all(e), u = t[0];
|
|
7
|
-
u && u.type === "text" ? u.value = "[" + u.value : t.unshift({ type: "text", value: "[" });
|
|
8
|
-
const a = t[t.length - 1];
|
|
9
|
-
return a && a.type === "text" ? a.value += l : t.push({ type: "text", value: l }), t;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
s as revert
|
|
13
|
-
};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import d from "../../@ungap/structured-clone/esm/index.js";
|
|
2
|
-
import { handlers as A } from "./handlers/index.js";
|
|
3
|
-
import { visit as C } from "../../unist-util-visit/lib/index.js";
|
|
4
|
-
import { position as k } from "../../unist-util-position/lib/index.js";
|
|
5
|
-
const y = {}.hasOwnProperty, N = {};
|
|
6
|
-
function I(e, n) {
|
|
7
|
-
const t = n || N, r = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), f = { ...A, ...t.handlers }, l = {
|
|
8
|
-
all: v,
|
|
9
|
-
applyData: O,
|
|
10
|
-
definitionById: r,
|
|
11
|
-
footnoteById: p,
|
|
12
|
-
footnoteCounts: u,
|
|
13
|
-
footnoteOrder: [],
|
|
14
|
-
handlers: f,
|
|
15
|
-
one: g,
|
|
16
|
-
options: t,
|
|
17
|
-
patch: M,
|
|
18
|
-
wrap: S
|
|
19
|
-
};
|
|
20
|
-
return C(e, function(i) {
|
|
21
|
-
if (i.type === "definition" || i.type === "footnoteDefinition") {
|
|
22
|
-
const a = i.type === "definition" ? r : p, o = String(i.identifier).toUpperCase();
|
|
23
|
-
a.has(o) || a.set(o, i);
|
|
24
|
-
}
|
|
25
|
-
}), l;
|
|
26
|
-
function g(i, a) {
|
|
27
|
-
const o = i.type, c = l.handlers[o];
|
|
28
|
-
if (y.call(l.handlers, o) && c)
|
|
29
|
-
return c(l, i, a);
|
|
30
|
-
if (l.options.passThrough && l.options.passThrough.includes(o)) {
|
|
31
|
-
if ("children" in i) {
|
|
32
|
-
const { children: h, ...x } = i, m = d(x);
|
|
33
|
-
return m.children = l.all(i), m;
|
|
34
|
-
}
|
|
35
|
-
return d(i);
|
|
36
|
-
}
|
|
37
|
-
return (l.options.unknownHandler || P)(l, i, a);
|
|
38
|
-
}
|
|
39
|
-
function v(i) {
|
|
40
|
-
const a = [];
|
|
41
|
-
if ("children" in i) {
|
|
42
|
-
const o = i.children;
|
|
43
|
-
let c = -1;
|
|
44
|
-
for (; ++c < o.length; ) {
|
|
45
|
-
const s = l.one(o[c], i);
|
|
46
|
-
if (s) {
|
|
47
|
-
if (c && o[c - 1].type === "break" && (!Array.isArray(s) && s.type === "text" && (s.value = w(s.value)), !Array.isArray(s) && s.type === "element")) {
|
|
48
|
-
const h = s.children[0];
|
|
49
|
-
h && h.type === "text" && (h.value = w(h.value));
|
|
50
|
-
}
|
|
51
|
-
Array.isArray(s) ? a.push(...s) : a.push(s);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return a;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function M(e, n) {
|
|
59
|
-
e.position && (n.position = k(e));
|
|
60
|
-
}
|
|
61
|
-
function O(e, n) {
|
|
62
|
-
let t = n;
|
|
63
|
-
if (e && e.data) {
|
|
64
|
-
const r = e.data.hName, p = e.data.hChildren, u = e.data.hProperties;
|
|
65
|
-
if (typeof r == "string")
|
|
66
|
-
if (t.type === "element")
|
|
67
|
-
t.tagName = r;
|
|
68
|
-
else {
|
|
69
|
-
const f = "children" in t ? t.children : [t];
|
|
70
|
-
t = { type: "element", tagName: r, properties: {}, children: f };
|
|
71
|
-
}
|
|
72
|
-
t.type === "element" && u && Object.assign(t.properties, d(u)), "children" in t && t.children && p !== null && p !== void 0 && (t.children = p);
|
|
73
|
-
}
|
|
74
|
-
return t;
|
|
75
|
-
}
|
|
76
|
-
function P(e, n) {
|
|
77
|
-
const t = n.data || {}, r = "value" in n && !(y.call(t, "hProperties") || y.call(t, "hChildren")) ? { type: "text", value: n.value } : {
|
|
78
|
-
type: "element",
|
|
79
|
-
tagName: "div",
|
|
80
|
-
properties: {},
|
|
81
|
-
children: e.all(n)
|
|
82
|
-
};
|
|
83
|
-
return e.patch(n, r), e.applyData(n, r);
|
|
84
|
-
}
|
|
85
|
-
function S(e, n) {
|
|
86
|
-
const t = [];
|
|
87
|
-
let r = -1;
|
|
88
|
-
for (n && t.push({ type: "text", value: `
|
|
89
|
-
` }); ++r < e.length; )
|
|
90
|
-
r && t.push({ type: "text", value: `
|
|
91
|
-
` }), t.push(e[r]);
|
|
92
|
-
return n && e.length > 0 && t.push({ type: "text", value: `
|
|
93
|
-
` }), t;
|
|
94
|
-
}
|
|
95
|
-
function w(e) {
|
|
96
|
-
let n = 0, t = e.charCodeAt(n);
|
|
97
|
-
for (; t === 9 || t === 32; )
|
|
98
|
-
n++, t = e.charCodeAt(n);
|
|
99
|
-
return e.slice(n);
|
|
100
|
-
}
|
|
101
|
-
export {
|
|
102
|
-
I as createState,
|
|
103
|
-
S as wrap
|
|
104
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const f = {};
|
|
2
|
-
function l(t, o) {
|
|
3
|
-
const n = f, i = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
|
4
|
-
return c(t, i, r);
|
|
5
|
-
}
|
|
6
|
-
function c(t, o, n) {
|
|
7
|
-
if (s(t)) {
|
|
8
|
-
if ("value" in t)
|
|
9
|
-
return t.type === "html" && !n ? "" : t.value;
|
|
10
|
-
if (o && "alt" in t && t.alt)
|
|
11
|
-
return t.alt;
|
|
12
|
-
if ("children" in t)
|
|
13
|
-
return e(t.children, o, n);
|
|
14
|
-
}
|
|
15
|
-
return Array.isArray(t) ? e(t, o, n) : "";
|
|
16
|
-
}
|
|
17
|
-
function e(t, o, n) {
|
|
18
|
-
const i = [];
|
|
19
|
-
let r = -1;
|
|
20
|
-
for (; ++r < t.length; )
|
|
21
|
-
i[r] = c(t[r], o, n);
|
|
22
|
-
return i.join("");
|
|
23
|
-
}
|
|
24
|
-
function s(t) {
|
|
25
|
-
return !!(t && typeof t == "object");
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
l as toString
|
|
29
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { resolver as f } from "./initialize/text.js";
|
|
2
|
-
import { blockQuote as p } from "../../micromark-core-commonmark/lib/block-quote.js";
|
|
3
|
-
import { list as o } from "../../micromark-core-commonmark/lib/list.js";
|
|
4
|
-
import { definition as c } from "../../micromark-core-commonmark/lib/definition.js";
|
|
5
|
-
import { codeIndented as t } from "../../micromark-core-commonmark/lib/code-indented.js";
|
|
6
|
-
import { codeFenced as i } from "../../micromark-core-commonmark/lib/code-fenced.js";
|
|
7
|
-
import { thematicBreak as r } from "../../micromark-core-commonmark/lib/thematic-break.js";
|
|
8
|
-
import { setextUnderline as n } from "../../micromark-core-commonmark/lib/setext-underline.js";
|
|
9
|
-
import { htmlFlow as s } from "../../micromark-core-commonmark/lib/html-flow.js";
|
|
10
|
-
import { headingAtx as d } from "../../micromark-core-commonmark/lib/heading-atx.js";
|
|
11
|
-
import { characterEscape as l } from "../../micromark-core-commonmark/lib/character-escape.js";
|
|
12
|
-
import { characterReference as a } from "../../micromark-core-commonmark/lib/character-reference.js";
|
|
13
|
-
import { codeText as h } from "../../micromark-core-commonmark/lib/code-text.js";
|
|
14
|
-
import { attention as e } from "../../micromark-core-commonmark/lib/attention.js";
|
|
15
|
-
import { labelEnd as k } from "../../micromark-core-commonmark/lib/label-end.js";
|
|
16
|
-
import { hardBreakEscape as u } from "../../micromark-core-commonmark/lib/hard-break-escape.js";
|
|
17
|
-
import { labelStartLink as x } from "../../micromark-core-commonmark/lib/label-start-link.js";
|
|
18
|
-
import { autolink as b } from "../../micromark-core-commonmark/lib/autolink.js";
|
|
19
|
-
import { htmlText as g } from "../../micromark-core-commonmark/lib/html-text.js";
|
|
20
|
-
import { labelStartImage as E } from "../../micromark-core-commonmark/lib/label-start-image.js";
|
|
21
|
-
import { lineEnding as m } from "../../micromark-core-commonmark/lib/line-ending.js";
|
|
22
|
-
const J = {
|
|
23
|
-
42: o,
|
|
24
|
-
43: o,
|
|
25
|
-
45: o,
|
|
26
|
-
48: o,
|
|
27
|
-
49: o,
|
|
28
|
-
50: o,
|
|
29
|
-
51: o,
|
|
30
|
-
52: o,
|
|
31
|
-
53: o,
|
|
32
|
-
54: o,
|
|
33
|
-
55: o,
|
|
34
|
-
56: o,
|
|
35
|
-
57: o,
|
|
36
|
-
62: p
|
|
37
|
-
}, K = {
|
|
38
|
-
91: c
|
|
39
|
-
}, N = {
|
|
40
|
-
[-2]: t,
|
|
41
|
-
[-1]: t,
|
|
42
|
-
32: t
|
|
43
|
-
}, O = {
|
|
44
|
-
35: d,
|
|
45
|
-
42: r,
|
|
46
|
-
45: [n, r],
|
|
47
|
-
60: s,
|
|
48
|
-
61: n,
|
|
49
|
-
95: r,
|
|
50
|
-
96: i,
|
|
51
|
-
126: i
|
|
52
|
-
}, P = {
|
|
53
|
-
38: a,
|
|
54
|
-
92: l
|
|
55
|
-
}, V = {
|
|
56
|
-
[-5]: m,
|
|
57
|
-
[-4]: m,
|
|
58
|
-
[-3]: m,
|
|
59
|
-
33: E,
|
|
60
|
-
38: a,
|
|
61
|
-
42: e,
|
|
62
|
-
60: [b, g],
|
|
63
|
-
91: x,
|
|
64
|
-
92: [u, l],
|
|
65
|
-
93: k,
|
|
66
|
-
95: e,
|
|
67
|
-
96: h
|
|
68
|
-
}, W = {
|
|
69
|
-
null: [e, f]
|
|
70
|
-
}, X = {
|
|
71
|
-
null: [42, 95]
|
|
72
|
-
}, Y = {
|
|
73
|
-
null: []
|
|
74
|
-
};
|
|
75
|
-
export {
|
|
76
|
-
X as attentionMarkers,
|
|
77
|
-
K as contentInitial,
|
|
78
|
-
Y as disable,
|
|
79
|
-
J as document,
|
|
80
|
-
O as flow,
|
|
81
|
-
N as flowInitial,
|
|
82
|
-
W as insideSpan,
|
|
83
|
-
P as string,
|
|
84
|
-
V as text
|
|
85
|
-
};
|