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,244 +0,0 @@
|
|
|
1
|
-
var N = (e, t, s) => {
|
|
2
|
-
if (t.length === 1 && t[0] === s) {
|
|
3
|
-
let o = !1;
|
|
4
|
-
try {
|
|
5
|
-
const r = {};
|
|
6
|
-
e(r) === r && (o = !0);
|
|
7
|
-
} catch {
|
|
8
|
-
}
|
|
9
|
-
if (o) {
|
|
10
|
-
let r;
|
|
11
|
-
try {
|
|
12
|
-
throw new Error();
|
|
13
|
-
} catch (c) {
|
|
14
|
-
({ stack: r } = c);
|
|
15
|
-
}
|
|
16
|
-
console.warn(
|
|
17
|
-
`The result function returned its own inputs without modification. e.g
|
|
18
|
-
\`createSelector([state => state.todos], todos => todos)\`
|
|
19
|
-
This could lead to inefficient memoization and unnecessary re-renders.
|
|
20
|
-
Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,
|
|
21
|
-
{ stack: r }
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}, x = (e, t, s) => {
|
|
26
|
-
const { memoize: o, memoizeOptions: r } = t, { inputSelectorResults: c, inputSelectorResultsCopy: i } = e, n = o(() => ({}), ...r);
|
|
27
|
-
if (!(n.apply(null, c) === n.apply(null, i))) {
|
|
28
|
-
let l;
|
|
29
|
-
try {
|
|
30
|
-
throw new Error();
|
|
31
|
-
} catch (u) {
|
|
32
|
-
({ stack: l } = u);
|
|
33
|
-
}
|
|
34
|
-
console.warn(
|
|
35
|
-
`An input selector returned a different result when passed same arguments.
|
|
36
|
-
This means your output selector will likely run more frequently than intended.
|
|
37
|
-
Avoid returning a new reference inside your input selector, e.g.
|
|
38
|
-
\`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,
|
|
39
|
-
{
|
|
40
|
-
arguments: s,
|
|
41
|
-
firstInputs: c,
|
|
42
|
-
secondInputs: i,
|
|
43
|
-
stack: l
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
}, A = {
|
|
48
|
-
inputStabilityCheck: "once",
|
|
49
|
-
identityFunctionCheck: "once"
|
|
50
|
-
};
|
|
51
|
-
function F(e, t = `expected a function, instead received ${typeof e}`) {
|
|
52
|
-
if (typeof e != "function")
|
|
53
|
-
throw new TypeError(t);
|
|
54
|
-
}
|
|
55
|
-
function D(e, t = `expected an object, instead received ${typeof e}`) {
|
|
56
|
-
if (typeof e != "object")
|
|
57
|
-
throw new TypeError(t);
|
|
58
|
-
}
|
|
59
|
-
function $(e, t = "expected all items to be functions, instead received the following types: ") {
|
|
60
|
-
if (!e.every((s) => typeof s == "function")) {
|
|
61
|
-
const s = e.map(
|
|
62
|
-
(o) => typeof o == "function" ? `function ${o.name || "unnamed"}()` : typeof o
|
|
63
|
-
).join(", ");
|
|
64
|
-
throw new TypeError(`${t}[${s}]`);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
var S = (e) => Array.isArray(e) ? e : [e];
|
|
68
|
-
function W(e) {
|
|
69
|
-
const t = Array.isArray(e[0]) ? e[0] : e;
|
|
70
|
-
return $(
|
|
71
|
-
t,
|
|
72
|
-
"createSelector expects all input-selectors to be functions, but received the following types: "
|
|
73
|
-
), t;
|
|
74
|
-
}
|
|
75
|
-
function E(e, t) {
|
|
76
|
-
const s = [], { length: o } = e;
|
|
77
|
-
for (let r = 0; r < o; r++)
|
|
78
|
-
s.push(e[r].apply(null, t));
|
|
79
|
-
return s;
|
|
80
|
-
}
|
|
81
|
-
var q = (e, t) => {
|
|
82
|
-
const { identityFunctionCheck: s, inputStabilityCheck: o } = {
|
|
83
|
-
...A,
|
|
84
|
-
...t
|
|
85
|
-
};
|
|
86
|
-
return {
|
|
87
|
-
identityFunctionCheck: {
|
|
88
|
-
shouldRun: s === "always" || s === "once" && e,
|
|
89
|
-
run: N
|
|
90
|
-
},
|
|
91
|
-
inputStabilityCheck: {
|
|
92
|
-
shouldRun: o === "always" || o === "once" && e,
|
|
93
|
-
run: x
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}, V = class {
|
|
97
|
-
constructor(e) {
|
|
98
|
-
this.value = e;
|
|
99
|
-
}
|
|
100
|
-
deref() {
|
|
101
|
-
return this.value;
|
|
102
|
-
}
|
|
103
|
-
}, K = typeof WeakRef < "u" ? WeakRef : V, P = 0, I = 1;
|
|
104
|
-
function m() {
|
|
105
|
-
return {
|
|
106
|
-
s: P,
|
|
107
|
-
v: void 0,
|
|
108
|
-
o: null,
|
|
109
|
-
p: null
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function z(e, t = {}) {
|
|
113
|
-
let s = m();
|
|
114
|
-
const { resultEqualityCheck: o } = t;
|
|
115
|
-
let r, c = 0;
|
|
116
|
-
function i() {
|
|
117
|
-
let n = s;
|
|
118
|
-
const { length: f } = arguments;
|
|
119
|
-
for (let a = 0, h = f; a < h; a++) {
|
|
120
|
-
const d = arguments[a];
|
|
121
|
-
if (typeof d == "function" || typeof d == "object" && d !== null) {
|
|
122
|
-
let p = n.o;
|
|
123
|
-
p === null && (n.o = p = /* @__PURE__ */ new WeakMap());
|
|
124
|
-
const y = p.get(d);
|
|
125
|
-
y === void 0 ? (n = m(), p.set(d, n)) : n = y;
|
|
126
|
-
} else {
|
|
127
|
-
let p = n.p;
|
|
128
|
-
p === null && (n.p = p = /* @__PURE__ */ new Map());
|
|
129
|
-
const y = p.get(d);
|
|
130
|
-
y === void 0 ? (n = m(), p.set(d, n)) : n = y;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
const l = n;
|
|
134
|
-
let u;
|
|
135
|
-
if (n.s === I)
|
|
136
|
-
u = n.v;
|
|
137
|
-
else if (u = e.apply(null, arguments), c++, o) {
|
|
138
|
-
const a = r?.deref?.() ?? r;
|
|
139
|
-
a != null && o(a, u) && (u = a, c !== 0 && c--), r = typeof u == "object" && u !== null || typeof u == "function" ? new K(u) : u;
|
|
140
|
-
}
|
|
141
|
-
return l.s = I, l.v = u, u;
|
|
142
|
-
}
|
|
143
|
-
return i.clearCache = () => {
|
|
144
|
-
s = m(), i.resetResultsCount();
|
|
145
|
-
}, i.resultsCount = () => c, i.resetResultsCount = () => {
|
|
146
|
-
c = 0;
|
|
147
|
-
}, i;
|
|
148
|
-
}
|
|
149
|
-
function U(e, ...t) {
|
|
150
|
-
const s = typeof e == "function" ? {
|
|
151
|
-
memoize: e,
|
|
152
|
-
memoizeOptions: t
|
|
153
|
-
} : e, o = (...r) => {
|
|
154
|
-
let c = 0, i = 0, n, f = {}, l = r.pop();
|
|
155
|
-
typeof l == "object" && (f = l, l = r.pop()), F(
|
|
156
|
-
l,
|
|
157
|
-
`createSelector expects an output function after the inputs, but received: [${typeof l}]`
|
|
158
|
-
);
|
|
159
|
-
const u = {
|
|
160
|
-
...s,
|
|
161
|
-
...f
|
|
162
|
-
}, {
|
|
163
|
-
memoize: a,
|
|
164
|
-
memoizeOptions: h = [],
|
|
165
|
-
argsMemoize: d = z,
|
|
166
|
-
argsMemoizeOptions: p = [],
|
|
167
|
-
devModeChecks: y = {}
|
|
168
|
-
} = u, w = S(h), M = S(p), v = W(r), C = a(function() {
|
|
169
|
-
return c++, l.apply(
|
|
170
|
-
null,
|
|
171
|
-
arguments
|
|
172
|
-
);
|
|
173
|
-
}, ...w);
|
|
174
|
-
let g = !0;
|
|
175
|
-
const O = d(function() {
|
|
176
|
-
i++;
|
|
177
|
-
const R = E(
|
|
178
|
-
v,
|
|
179
|
-
arguments
|
|
180
|
-
);
|
|
181
|
-
if (n = C.apply(null, R), process.env.NODE_ENV !== "production") {
|
|
182
|
-
const { identityFunctionCheck: k, inputStabilityCheck: b } = q(g, y);
|
|
183
|
-
if (k.shouldRun && k.run(
|
|
184
|
-
l,
|
|
185
|
-
R,
|
|
186
|
-
n
|
|
187
|
-
), b.shouldRun) {
|
|
188
|
-
const j = E(
|
|
189
|
-
v,
|
|
190
|
-
arguments
|
|
191
|
-
);
|
|
192
|
-
b.run(
|
|
193
|
-
{ inputSelectorResults: R, inputSelectorResultsCopy: j },
|
|
194
|
-
{ memoize: a, memoizeOptions: w },
|
|
195
|
-
arguments
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
|
-
g && (g = !1);
|
|
199
|
-
}
|
|
200
|
-
return n;
|
|
201
|
-
}, ...M);
|
|
202
|
-
return Object.assign(O, {
|
|
203
|
-
resultFunc: l,
|
|
204
|
-
memoizedResultFunc: C,
|
|
205
|
-
dependencies: v,
|
|
206
|
-
dependencyRecomputations: () => i,
|
|
207
|
-
resetDependencyRecomputations: () => {
|
|
208
|
-
i = 0;
|
|
209
|
-
},
|
|
210
|
-
lastResult: () => n,
|
|
211
|
-
recomputations: () => c,
|
|
212
|
-
resetRecomputations: () => {
|
|
213
|
-
c = 0;
|
|
214
|
-
},
|
|
215
|
-
memoize: a,
|
|
216
|
-
argsMemoize: d
|
|
217
|
-
});
|
|
218
|
-
};
|
|
219
|
-
return Object.assign(o, {
|
|
220
|
-
withTypes: () => o
|
|
221
|
-
}), o;
|
|
222
|
-
}
|
|
223
|
-
var _ = /* @__PURE__ */ U(z), B = Object.assign(
|
|
224
|
-
(e, t = _) => {
|
|
225
|
-
D(
|
|
226
|
-
e,
|
|
227
|
-
`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`
|
|
228
|
-
);
|
|
229
|
-
const s = Object.keys(e), o = s.map(
|
|
230
|
-
(c) => e[c]
|
|
231
|
-
);
|
|
232
|
-
return t(
|
|
233
|
-
o,
|
|
234
|
-
(...c) => c.reduce((i, n, f) => (i[s[f]] = n, i), {})
|
|
235
|
-
);
|
|
236
|
-
},
|
|
237
|
-
{ withTypes: () => B }
|
|
238
|
-
);
|
|
239
|
-
export {
|
|
240
|
-
_ as createSelector,
|
|
241
|
-
U as createSelectorCreator,
|
|
242
|
-
B as createStructuredSelector,
|
|
243
|
-
z as weakMapMemoize
|
|
244
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __require as l } from "../../style-to-object/cjs/index.js";
|
|
2
|
-
import { __require as c } from "./utilities.js";
|
|
3
|
-
var e, _;
|
|
4
|
-
function p() {
|
|
5
|
-
if (_) return e;
|
|
6
|
-
_ = 1;
|
|
7
|
-
var f = e && e.__importDefault || function(r) {
|
|
8
|
-
return r && r.__esModule ? r : { default: r };
|
|
9
|
-
}, n = f(l()), o = c();
|
|
10
|
-
function t(r, s) {
|
|
11
|
-
var i = {};
|
|
12
|
-
return !r || typeof r != "string" || (0, n.default)(r, function(u, a) {
|
|
13
|
-
u && a && (i[(0, o.camelCase)(u, s)] = a);
|
|
14
|
-
}), i;
|
|
15
|
-
}
|
|
16
|
-
return t.default = t, e = t, e;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
p as __require
|
|
20
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __exports as i } from "../../../_virtual/utilities.js";
|
|
2
|
-
var r;
|
|
3
|
-
function R() {
|
|
4
|
-
if (r) return i;
|
|
5
|
-
r = 1, Object.defineProperty(i, "__esModule", { value: !0 }), i.camelCase = void 0;
|
|
6
|
-
var u = /^--[a-zA-Z0-9_-]+$/, c = /-([a-z])/g, n = /^[^-]+$/, s = /^-(webkit|moz|ms|o|khtml)-/, E = /^-(ms)-/, _ = function(e) {
|
|
7
|
-
return !e || n.test(e) || u.test(e);
|
|
8
|
-
}, l = function(e, a) {
|
|
9
|
-
return a.toUpperCase();
|
|
10
|
-
}, t = function(e, a) {
|
|
11
|
-
return "".concat(a, "-");
|
|
12
|
-
}, m = function(e, a) {
|
|
13
|
-
return a === void 0 && (a = {}), _(e) ? e : (e = e.toLowerCase(), a.reactCompat ? e = e.replace(E, t) : e = e.replace(s, t), e.replace(c, l));
|
|
14
|
-
};
|
|
15
|
-
return i.camelCase = m, i;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
R as __require
|
|
19
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../_virtual/index3.js";
|
|
2
|
-
import { __require as p } from "../../inline-style-parser/index.js";
|
|
3
|
-
var f;
|
|
4
|
-
function q() {
|
|
5
|
-
if (f) return r;
|
|
6
|
-
f = 1;
|
|
7
|
-
var s = r && r.__importDefault || function(e) {
|
|
8
|
-
return e && e.__esModule ? e : { default: e };
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(r, "__esModule", { value: !0 }), r.default = l;
|
|
11
|
-
const a = s(p());
|
|
12
|
-
function l(e, i) {
|
|
13
|
-
let t = null;
|
|
14
|
-
if (!e || typeof e != "string")
|
|
15
|
-
return t;
|
|
16
|
-
const _ = (0, a.default)(e), c = typeof i == "function";
|
|
17
|
-
return _.forEach((u) => {
|
|
18
|
-
if (u.type !== "declaration")
|
|
19
|
-
return;
|
|
20
|
-
const { property: o, value: n } = u;
|
|
21
|
-
c ? i(o, n, u) : n && (t = t || {}, t[o] = n);
|
|
22
|
-
}), t;
|
|
23
|
-
}
|
|
24
|
-
return r;
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
q as __require
|
|
28
|
-
};
|