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,9 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
function d({ children: r }) {
|
|
2
|
+
import { P as t, g as e } from "../store-BZ_1BK_I.js";
|
|
3
|
+
function f({ children: r }) {
|
|
5
4
|
return /* @__PURE__ */ o(t, { store: e(), children: r });
|
|
6
5
|
}
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
f as LibraryProvider
|
|
9
8
|
};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cartReducer as t } from "../src/features/Cart/model/cartSlice.js";
|
|
3
|
-
import { multiProductCartReducer as e } from "../src/features/MultiProduct/model/multiProductCartSlice.js";
|
|
4
|
-
import { combineReducers as o } from "../node_modules/redux/dist/redux.js";
|
|
5
|
-
const d = o({
|
|
6
|
-
swatches: r,
|
|
7
|
-
cart: t,
|
|
8
|
-
multiProductCart: e
|
|
9
|
-
});
|
|
1
|
+
import { B as f } from "../rootReducer-BqfJd5QI.js";
|
|
10
2
|
export {
|
|
11
|
-
|
|
3
|
+
f as default
|
|
12
4
|
};
|
package/dist/store/store.js
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import u from "./rootReducer.js";
|
|
4
|
-
let e = null;
|
|
5
|
-
function s() {
|
|
6
|
-
return t({
|
|
7
|
-
reducer: u,
|
|
8
|
-
devTools: !1,
|
|
9
|
-
middleware: (r) => r({ thunk: !0 })
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
const l = () => (e || (e = s()), e);
|
|
13
|
-
o.withTypes();
|
|
14
|
-
i.withTypes();
|
|
1
|
+
import "../rootReducer-BqfJd5QI.js";
|
|
2
|
+
import { g as t, b as o, c as r } from "../store-BZ_1BK_I.js";
|
|
15
3
|
export {
|
|
16
|
-
|
|
4
|
+
t as getStore,
|
|
5
|
+
o as useAppDispatch,
|
|
6
|
+
r as useAppSelector
|
|
17
7
|
};
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { b as H, B as I } from "./rootReducer-BqfJd5QI.js";
|
|
2
|
+
import * as b from "react";
|
|
3
|
+
import A from "react";
|
|
4
|
+
var x = { exports: {} }, R = {};
|
|
5
|
+
/**
|
|
6
|
+
* @license React
|
|
7
|
+
* use-sync-external-store-with-selector.production.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
var N;
|
|
15
|
+
function U() {
|
|
16
|
+
if (N) return R;
|
|
17
|
+
N = 1;
|
|
18
|
+
var e = A;
|
|
19
|
+
function o(u, i) {
|
|
20
|
+
return u === i && (u !== 0 || 1 / u === 1 / i) || u !== u && i !== i;
|
|
21
|
+
}
|
|
22
|
+
var t = typeof Object.is == "function" ? Object.is : o, r = e.useSyncExternalStore, n = e.useRef, l = e.useEffect, m = e.useMemo, E = e.useDebugValue;
|
|
23
|
+
return R.useSyncExternalStoreWithSelector = function(u, i, f, p, d) {
|
|
24
|
+
var a = n(null);
|
|
25
|
+
if (a.current === null) {
|
|
26
|
+
var c = { hasValue: !1, value: null };
|
|
27
|
+
a.current = c;
|
|
28
|
+
} else c = a.current;
|
|
29
|
+
a = m(
|
|
30
|
+
function() {
|
|
31
|
+
function C(s) {
|
|
32
|
+
if (!w) {
|
|
33
|
+
if (w = !0, h = s, s = p(s), d !== void 0 && c.hasValue) {
|
|
34
|
+
var v = c.value;
|
|
35
|
+
if (d(v, s))
|
|
36
|
+
return y = v;
|
|
37
|
+
}
|
|
38
|
+
return y = s;
|
|
39
|
+
}
|
|
40
|
+
if (v = y, t(h, s)) return v;
|
|
41
|
+
var O = p(s);
|
|
42
|
+
return d !== void 0 && d(v, O) ? (h = s, v) : (h = s, y = O);
|
|
43
|
+
}
|
|
44
|
+
var w = !1, h, y, _ = f === void 0 ? null : f;
|
|
45
|
+
return [
|
|
46
|
+
function() {
|
|
47
|
+
return C(i());
|
|
48
|
+
},
|
|
49
|
+
_ === null ? void 0 : function() {
|
|
50
|
+
return C(_());
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
},
|
|
54
|
+
[i, f, p, d]
|
|
55
|
+
);
|
|
56
|
+
var S = r(u, a[0], a[1]);
|
|
57
|
+
return l(
|
|
58
|
+
function() {
|
|
59
|
+
c.hasValue = !0, c.value = S;
|
|
60
|
+
},
|
|
61
|
+
[S]
|
|
62
|
+
), E(S), S;
|
|
63
|
+
}, R;
|
|
64
|
+
}
|
|
65
|
+
var V = {};
|
|
66
|
+
/**
|
|
67
|
+
* @license React
|
|
68
|
+
* use-sync-external-store-with-selector.development.js
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/
|
|
75
|
+
var T;
|
|
76
|
+
function z() {
|
|
77
|
+
return T || (T = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
78
|
+
function e(u, i) {
|
|
79
|
+
return u === i && (u !== 0 || 1 / u === 1 / i) || u !== u && i !== i;
|
|
80
|
+
}
|
|
81
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
82
|
+
var o = A, t = typeof Object.is == "function" ? Object.is : e, r = o.useSyncExternalStore, n = o.useRef, l = o.useEffect, m = o.useMemo, E = o.useDebugValue;
|
|
83
|
+
V.useSyncExternalStoreWithSelector = function(u, i, f, p, d) {
|
|
84
|
+
var a = n(null);
|
|
85
|
+
if (a.current === null) {
|
|
86
|
+
var c = { hasValue: !1, value: null };
|
|
87
|
+
a.current = c;
|
|
88
|
+
} else c = a.current;
|
|
89
|
+
a = m(
|
|
90
|
+
function() {
|
|
91
|
+
function C(s) {
|
|
92
|
+
if (!w) {
|
|
93
|
+
if (w = !0, h = s, s = p(s), d !== void 0 && c.hasValue) {
|
|
94
|
+
var v = c.value;
|
|
95
|
+
if (d(v, s))
|
|
96
|
+
return y = v;
|
|
97
|
+
}
|
|
98
|
+
return y = s;
|
|
99
|
+
}
|
|
100
|
+
if (v = y, t(h, s))
|
|
101
|
+
return v;
|
|
102
|
+
var O = p(s);
|
|
103
|
+
return d !== void 0 && d(v, O) ? (h = s, v) : (h = s, y = O);
|
|
104
|
+
}
|
|
105
|
+
var w = !1, h, y, _ = f === void 0 ? null : f;
|
|
106
|
+
return [
|
|
107
|
+
function() {
|
|
108
|
+
return C(i());
|
|
109
|
+
},
|
|
110
|
+
_ === null ? void 0 : function() {
|
|
111
|
+
return C(_());
|
|
112
|
+
}
|
|
113
|
+
];
|
|
114
|
+
},
|
|
115
|
+
[i, f, p, d]
|
|
116
|
+
);
|
|
117
|
+
var S = r(u, a[0], a[1]);
|
|
118
|
+
return l(
|
|
119
|
+
function() {
|
|
120
|
+
c.hasValue = !0, c.value = S;
|
|
121
|
+
},
|
|
122
|
+
[S]
|
|
123
|
+
), E(S), S;
|
|
124
|
+
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
125
|
+
})()), V;
|
|
126
|
+
}
|
|
127
|
+
var k;
|
|
128
|
+
function B() {
|
|
129
|
+
return k || (k = 1, process.env.NODE_ENV === "production" ? x.exports = U() : x.exports = z()), x.exports;
|
|
130
|
+
}
|
|
131
|
+
var G = B();
|
|
132
|
+
function K(e) {
|
|
133
|
+
e();
|
|
134
|
+
}
|
|
135
|
+
function P() {
|
|
136
|
+
let e = null, o = null;
|
|
137
|
+
return {
|
|
138
|
+
clear() {
|
|
139
|
+
e = null, o = null;
|
|
140
|
+
},
|
|
141
|
+
notify() {
|
|
142
|
+
K(() => {
|
|
143
|
+
let t = e;
|
|
144
|
+
for (; t; )
|
|
145
|
+
t.callback(), t = t.next;
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
get() {
|
|
149
|
+
const t = [];
|
|
150
|
+
let r = e;
|
|
151
|
+
for (; r; )
|
|
152
|
+
t.push(r), r = r.next;
|
|
153
|
+
return t;
|
|
154
|
+
},
|
|
155
|
+
subscribe(t) {
|
|
156
|
+
let r = !0;
|
|
157
|
+
const n = o = {
|
|
158
|
+
callback: t,
|
|
159
|
+
next: null,
|
|
160
|
+
prev: o
|
|
161
|
+
};
|
|
162
|
+
return n.prev ? n.prev.next = n : e = n, function() {
|
|
163
|
+
!r || e === null || (r = !1, n.next ? n.next.prev = n.prev : o = n.prev, n.prev ? n.prev.next = n.next : e = n.next);
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
var M = {
|
|
169
|
+
notify() {
|
|
170
|
+
},
|
|
171
|
+
get: () => []
|
|
172
|
+
};
|
|
173
|
+
function Y(e, o) {
|
|
174
|
+
let t, r = M, n = 0, l = !1;
|
|
175
|
+
function m(S) {
|
|
176
|
+
f();
|
|
177
|
+
const C = r.subscribe(S);
|
|
178
|
+
let w = !1;
|
|
179
|
+
return () => {
|
|
180
|
+
w || (w = !0, C(), p());
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function E() {
|
|
184
|
+
r.notify();
|
|
185
|
+
}
|
|
186
|
+
function u() {
|
|
187
|
+
c.onStateChange && c.onStateChange();
|
|
188
|
+
}
|
|
189
|
+
function i() {
|
|
190
|
+
return l;
|
|
191
|
+
}
|
|
192
|
+
function f() {
|
|
193
|
+
n++, t || (t = e.subscribe(u), r = P());
|
|
194
|
+
}
|
|
195
|
+
function p() {
|
|
196
|
+
n--, t && n === 0 && (t(), t = void 0, r.clear(), r = M);
|
|
197
|
+
}
|
|
198
|
+
function d() {
|
|
199
|
+
l || (l = !0, f());
|
|
200
|
+
}
|
|
201
|
+
function a() {
|
|
202
|
+
l && (l = !1, p());
|
|
203
|
+
}
|
|
204
|
+
const c = {
|
|
205
|
+
addNestedSub: m,
|
|
206
|
+
notifyNestedSubs: E,
|
|
207
|
+
handleChangeWrapper: u,
|
|
208
|
+
isSubscribed: i,
|
|
209
|
+
trySubscribe: d,
|
|
210
|
+
tryUnsubscribe: a,
|
|
211
|
+
getListeners: () => r
|
|
212
|
+
};
|
|
213
|
+
return c;
|
|
214
|
+
}
|
|
215
|
+
var F = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", J = /* @__PURE__ */ F(), Q = () => typeof navigator < "u" && navigator.product === "ReactNative", X = /* @__PURE__ */ Q(), Z = () => J || X ? b.useLayoutEffect : b.useEffect, $ = /* @__PURE__ */ Z(), q = /* @__PURE__ */ Symbol.for("react-redux-context"), ee = typeof globalThis < "u" ? globalThis : (
|
|
216
|
+
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
217
|
+
{}
|
|
218
|
+
);
|
|
219
|
+
function te() {
|
|
220
|
+
if (!b.createContext) return {};
|
|
221
|
+
const e = ee[q] ??= /* @__PURE__ */ new Map();
|
|
222
|
+
let o = e.get(b.createContext);
|
|
223
|
+
return o || (o = b.createContext(
|
|
224
|
+
null
|
|
225
|
+
), process.env.NODE_ENV !== "production" && (o.displayName = "ReactRedux"), e.set(b.createContext, o)), o;
|
|
226
|
+
}
|
|
227
|
+
var g = /* @__PURE__ */ te();
|
|
228
|
+
function re(e) {
|
|
229
|
+
const { children: o, context: t, serverState: r, store: n } = e, l = b.useMemo(() => {
|
|
230
|
+
const u = Y(n), i = {
|
|
231
|
+
store: n,
|
|
232
|
+
subscription: u,
|
|
233
|
+
getServerState: r ? () => r : void 0
|
|
234
|
+
};
|
|
235
|
+
if (process.env.NODE_ENV === "production")
|
|
236
|
+
return i;
|
|
237
|
+
{
|
|
238
|
+
const { identityFunctionCheck: f = "once", stabilityCheck: p = "once" } = e;
|
|
239
|
+
return /* @__PURE__ */ Object.assign(i, {
|
|
240
|
+
stabilityCheck: p,
|
|
241
|
+
identityFunctionCheck: f
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
}, [n, r]), m = b.useMemo(() => n.getState(), [n]);
|
|
245
|
+
$(() => {
|
|
246
|
+
const { subscription: u } = l;
|
|
247
|
+
return u.onStateChange = u.notifyNestedSubs, u.trySubscribe(), m !== n.getState() && u.notifyNestedSubs(), () => {
|
|
248
|
+
u.tryUnsubscribe(), u.onStateChange = void 0;
|
|
249
|
+
};
|
|
250
|
+
}, [l, m]);
|
|
251
|
+
const E = t || g;
|
|
252
|
+
return /* @__PURE__ */ b.createElement(E.Provider, { value: l }, o);
|
|
253
|
+
}
|
|
254
|
+
var de = re;
|
|
255
|
+
function D(e = g) {
|
|
256
|
+
return function() {
|
|
257
|
+
const t = b.useContext(e);
|
|
258
|
+
if (process.env.NODE_ENV !== "production" && !t)
|
|
259
|
+
throw new Error(
|
|
260
|
+
"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"
|
|
261
|
+
);
|
|
262
|
+
return t;
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
var j = /* @__PURE__ */ D();
|
|
266
|
+
function W(e = g) {
|
|
267
|
+
const o = e === g ? j : (
|
|
268
|
+
// @ts-ignore
|
|
269
|
+
D(e)
|
|
270
|
+
), t = () => {
|
|
271
|
+
const { store: r } = o();
|
|
272
|
+
return r;
|
|
273
|
+
};
|
|
274
|
+
return Object.assign(t, {
|
|
275
|
+
withTypes: () => t
|
|
276
|
+
}), t;
|
|
277
|
+
}
|
|
278
|
+
var ne = /* @__PURE__ */ W();
|
|
279
|
+
function oe(e = g) {
|
|
280
|
+
const o = e === g ? ne : W(e), t = () => o().dispatch;
|
|
281
|
+
return Object.assign(t, {
|
|
282
|
+
withTypes: () => t
|
|
283
|
+
}), t;
|
|
284
|
+
}
|
|
285
|
+
var ue = /* @__PURE__ */ oe(), se = (e, o) => e === o;
|
|
286
|
+
function ie(e = g) {
|
|
287
|
+
const o = e === g ? j : D(e), t = (r, n = {}) => {
|
|
288
|
+
const { equalityFn: l = se } = typeof n == "function" ? { equalityFn: n } : n;
|
|
289
|
+
if (process.env.NODE_ENV !== "production") {
|
|
290
|
+
if (!r)
|
|
291
|
+
throw new Error("You must pass a selector to useSelector");
|
|
292
|
+
if (typeof r != "function")
|
|
293
|
+
throw new Error("You must pass a function as a selector to useSelector");
|
|
294
|
+
if (typeof l != "function")
|
|
295
|
+
throw new Error(
|
|
296
|
+
"You must pass a function as an equality function to useSelector"
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
const m = o(), { store: E, subscription: u, getServerState: i } = m, f = b.useRef(!0), p = b.useCallback(
|
|
300
|
+
{
|
|
301
|
+
[r.name](a) {
|
|
302
|
+
const c = r(a);
|
|
303
|
+
if (process.env.NODE_ENV !== "production") {
|
|
304
|
+
const { devModeChecks: S = {} } = typeof n == "function" ? {} : n, { identityFunctionCheck: C, stabilityCheck: w } = m, {
|
|
305
|
+
identityFunctionCheck: h,
|
|
306
|
+
stabilityCheck: y
|
|
307
|
+
} = {
|
|
308
|
+
stabilityCheck: w,
|
|
309
|
+
identityFunctionCheck: C,
|
|
310
|
+
...S
|
|
311
|
+
};
|
|
312
|
+
if (y === "always" || y === "once" && f.current) {
|
|
313
|
+
const _ = r(a);
|
|
314
|
+
if (!l(c, _)) {
|
|
315
|
+
let s;
|
|
316
|
+
try {
|
|
317
|
+
throw new Error();
|
|
318
|
+
} catch (v) {
|
|
319
|
+
({ stack: s } = v);
|
|
320
|
+
}
|
|
321
|
+
console.warn(
|
|
322
|
+
"Selector " + (r.name || "unknown") + ` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
|
|
323
|
+
Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,
|
|
324
|
+
{
|
|
325
|
+
state: a,
|
|
326
|
+
selected: c,
|
|
327
|
+
selected2: _,
|
|
328
|
+
stack: s
|
|
329
|
+
}
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
if ((h === "always" || h === "once" && f.current) && c === a) {
|
|
334
|
+
let _;
|
|
335
|
+
try {
|
|
336
|
+
throw new Error();
|
|
337
|
+
} catch (s) {
|
|
338
|
+
({ stack: _ } = s);
|
|
339
|
+
}
|
|
340
|
+
console.warn(
|
|
341
|
+
"Selector " + (r.name || "unknown") + ` returned the root state when called. This can lead to unnecessary rerenders.
|
|
342
|
+
Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,
|
|
343
|
+
{ stack: _ }
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
f.current && (f.current = !1);
|
|
347
|
+
}
|
|
348
|
+
return c;
|
|
349
|
+
}
|
|
350
|
+
}[r.name],
|
|
351
|
+
[r]
|
|
352
|
+
), d = G.useSyncExternalStoreWithSelector(
|
|
353
|
+
u.addNestedSub,
|
|
354
|
+
E.getState,
|
|
355
|
+
i || E.getState,
|
|
356
|
+
p,
|
|
357
|
+
l
|
|
358
|
+
);
|
|
359
|
+
return b.useDebugValue(d), d;
|
|
360
|
+
};
|
|
361
|
+
return Object.assign(t, {
|
|
362
|
+
withTypes: () => t
|
|
363
|
+
}), t;
|
|
364
|
+
}
|
|
365
|
+
var ce = /* @__PURE__ */ ie();
|
|
366
|
+
let L = null;
|
|
367
|
+
function ae() {
|
|
368
|
+
return H({
|
|
369
|
+
reducer: I,
|
|
370
|
+
devTools: !1,
|
|
371
|
+
middleware: (e) => e({ thunk: !0 })
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
const ve = () => (L || (L = ae()), L), pe = ue.withTypes(), Se = ce.withTypes();
|
|
375
|
+
export {
|
|
376
|
+
de as P,
|
|
377
|
+
ue as a,
|
|
378
|
+
pe as b,
|
|
379
|
+
Se as c,
|
|
380
|
+
ve as g,
|
|
381
|
+
ce as u
|
|
382
|
+
};
|
package/package.json
CHANGED
package/dist/_virtual/index.js
DELETED
package/dist/_virtual/index2.js
DELETED
package/dist/_virtual/index3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._overlay_18vc6_1{position:fixed;inset:0;background:var(--sidebar-overlay);display:flex;z-index:999;transition:opacity var(--sidebar-transition)}._panel_18vc6_10{position:absolute;top:0;bottom:0;right:0;width:var(--sidebar-width);box-shadow:var(--sidebar-shadow);display:flex;flex-direction:column;transition:transform var(--sidebar-transition);transform:translate(100%)}@media (max-width: 640px){._panel_18vc6_10{width:320px}}._enter_18vc6_28{transform:translate(0)}._exit_18vc6_32{transform:translate(100%)}._title_18vc6_36{margin:0;font-size:16px;line-height:1.6;font-weight:500}._closeBtn_18vc6_43{width:30px;height:30px;background:var(--background-grey);border:none;cursor:pointer;border-radius:100px;-webkit-border-radius:100px;-moz-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px}._closeBtn_18vc6_43 svg path{stroke:var(--svg-dark)}._content_18vc6_59{flex:1 1 auto;overflow-y:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._prose_1l8lv_1{color:#e5e5e5}._prose_1l8lv_1 h1,._prose_1l8lv_1 h2,._prose_1l8lv_1 h3,._prose_1l8lv_1 h4,._prose_1l8lv_1 h5,._prose_1l8lv_1 h6{color:#fff;font-size:1.1rem;font-weight:600;margin:0 0 .3rem}._mdAccordion_1l8lv_16{border-radius:.8rem;margin:.8rem 0;background:transparent;color:#fff}._mdAccordion_1l8lv_16>summary{cursor:pointer;font-weight:600;padding:.6rem 1rem;border-radius:.8rem;background:#1f1f1f;color:#f5f5f5;transition:background .2s ease}._mdAccordion_1l8lv_16>summary:hover{background:#2d2d2d}._mdAccordion_1l8lv_16>summary::-webkit-details-marker{display:none}._mdAccordion_1l8lv_16[open]>summary{border-radius:.8rem .8rem 0 0;background:#2b2b2b}._mdAccordion_1l8lv_16[open]>*:not(summary){border-radius:0 0 .8rem .8rem;background:#2b2b2b;color:#e5e5e5;line-height:1.45}._prose_1l8lv_1 a{color:#4ea1f3;font-weight:500;text-decoration:none}._prose_1l8lv_1 a:hover{color:#76c0ff;text-decoration:underline}
|
|
File without changes
|
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|