hasting-swatchcart-module 0.0.2 → 0.0.3
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/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector2.js +4 -0
- package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +1 -0
- package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +1 -0
- package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
- package/dist/components/SwatchesModule.js +22 -38896
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +251 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +68 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +256 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +231 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +877 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +35 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +497 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +62 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +106 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/bail/index.js +7 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/comma-separated-tokens/index.js +20 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +14 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +43 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +145 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
- package/dist/node_modules/hast-util-raw/lib/index.js +217 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +118 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +22 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +27 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +23 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +11 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +17 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/hastscript/lib/create-h.js +112 -0
- package/dist/node_modules/hastscript/lib/index.js +8 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/html-void-elements/index.js +25 -0
- package/dist/node_modules/immer/dist/immer.js +467 -0
- package/dist/node_modules/inline-style-parser/index.js +93 -0
- package/dist/node_modules/is-plain-obj/index.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +40 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +19 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +581 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +223 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +126 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +95 -0
- package/dist/node_modules/micromark/lib/parse.js +32 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.js +39 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +83 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +94 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +46 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +144 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +152 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +19 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/node_modules/micromark-factory-space/index.js +15 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +39 -0
- package/dist/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/node_modules/parse5/dist/common/doctype.js +98 -0
- package/dist/node_modules/parse5/dist/common/error-codes.js +7 -0
- package/dist/node_modules/parse5/dist/common/foreign-content.js +210 -0
- package/dist/node_modules/parse5/dist/common/html.js +250 -0
- package/dist/node_modules/parse5/dist/common/token.js +14 -0
- package/dist/node_modules/parse5/dist/common/unicode.js +73 -0
- package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +84 -0
- package/dist/node_modules/parse5/dist/parser/index.js +2271 -0
- package/dist/node_modules/parse5/dist/parser/open-element-stack.js +240 -0
- package/dist/node_modules/parse5/dist/serializer/index.js +2 -0
- package/dist/node_modules/parse5/dist/tokenizer/index.js +1940 -0
- package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +88 -0
- package/dist/node_modules/parse5/dist/tree-adapters/default.js +162 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +38 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +245 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/node_modules/react-redux/dist/react-redux.js +135 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/redux/dist/redux.js +258 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
- package/dist/node_modules/rehype-raw/lib/index.js +12 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/reselect/dist/reselect.js +244 -0
- package/dist/node_modules/space-separated-tokens/index.js +11 -0
- package/dist/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2731 -0
- package/dist/node_modules/trim-lines/index.js +28 -0
- package/dist/node_modules/trough/lib/index.js +60 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/node_modules/unified/lib/index.js +529 -0
- package/dist/node_modules/unist-util-is/lib/index.js +84 -0
- package/dist/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
- package/dist/node_modules/vfile/lib/index.js +406 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/node_modules/vfile-location/lib/index.js +42 -0
- package/dist/node_modules/vfile-message/lib/index.js +91 -0
- package/dist/node_modules/web-namespaces/index.js +11 -0
- package/dist/node_modules/zwitch/index.js +18 -0
- package/dist/src/app/assets/images/product_thumb.png.js +4 -0
- package/dist/src/app/assets/svg/ArrowIconSVG.js +25 -0
- package/dist/src/app/assets/svg/CheckMarkIconSVG.js +25 -0
- package/dist/src/app/assets/svg/CloseIconSVG.js +25 -0
- package/dist/src/app/assets/svg/MinusIconSVG.js +24 -0
- package/dist/src/app/assets/svg/PlusIconSVG.js +24 -0
- package/dist/src/app/assets/svg/SearchIconSVG.js +37 -0
- package/dist/src/app/assets/svg/TrashIconSVG.js +24 -0
- package/dist/src/app/store/rootReducer.js +12 -0
- package/dist/src/app/store/store.js +14 -0
- package/dist/src/features/Cart/lib/CartCervices.js +8 -0
- package/dist/src/features/Cart/model/cartSlice.js +58 -0
- package/dist/src/features/Cart/model/selectors.js +18 -0
- package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +53 -0
- package/dist/src/features/Cart/ui/CartList/CartList.js +29 -0
- package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +41 -0
- package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +23 -0
- package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +38 -0
- package/dist/src/features/Cart/ui/Counter/Counter.js +46 -0
- package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +102 -0
- package/dist/src/features/DataAdapter/utils/types.js +8 -0
- package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +34 -0
- package/dist/src/features/MultiProduct/model/API/api.js +18 -0
- package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +83 -0
- package/dist/src/features/MultiProduct/model/selectors.js +7 -0
- package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +21 -0
- package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +28 -0
- package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +27 -0
- package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +60 -0
- package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +71 -0
- package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +19 -0
- package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +138 -0
- package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +51 -0
- package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +55 -0
- package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +46 -0
- package/dist/src/features/MultiProduct/utils/constants.js +16 -0
- package/dist/src/features/MultiProduct/utils/randomList.js +41 -0
- package/dist/src/features/swatches/lib/AttributeHelper.js +21 -0
- package/dist/src/features/swatches/lib/SwatchesServices.js +54 -0
- package/dist/src/features/swatches/model/selectors.js +12 -0
- package/dist/src/features/swatches/model/swatchesSlice.js +108 -0
- package/dist/src/features/swatches/model/thunks.js +22 -0
- package/dist/src/features/swatches/model/types.js +6 -0
- package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +45 -0
- package/dist/src/features/swatches/ui/Filters/LooksFilter.js +45 -0
- package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +47 -0
- package/dist/src/features/swatches/ui/Filters/index.js +12 -0
- package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +50 -0
- package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +45 -0
- package/dist/src/features/swatches/ui/MaterialList/index.js +39 -0
- package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +51 -0
- package/dist/src/features/swatches/ui/ProductElement/index.js +65 -0
- package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +62 -0
- package/dist/src/features/swatches/ui/Swatches.js +51 -0
- package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +67 -0
- package/dist/src/features/swatches/utils/constants.js +8 -0
- package/dist/src/shared/constants/props.js +13337 -0
- package/dist/src/shared/constants/selectedMaterials.js +4 -0
- package/dist/src/shared/types/activeTab.js +7 -0
- package/dist/src/shared/ui/Checkbox/Checkbox.js +31 -0
- package/dist/src/shared/ui/CustomButton/CustomButton.js +16 -0
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +59 -0
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +13 -0
- package/dist/src/shared/ui/Dialog/Dialog.js +81 -0
- package/dist/src/shared/ui/Label/Label.js +27 -0
- package/dist/src/shared/ui/Markdown/MDWithAccordion.js +36 -0
- package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +9 -0
- package/dist/src/shared/ui/MaterialItem/MaterialItem.js +36 -0
- package/dist/src/shared/ui/MultiSelect/MultiSelect.js +150 -0
- package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +35 -0
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +37 -0
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +4 -0
- package/dist/src/shared/ui/Slider/Slider.js +117 -0
- package/dist/src/shared/utils/cn.js +8 -0
- package/dist/src/shared/utils/uniqueList.js +4 -0
- package/package.json +12 -2
- package/dist/assets/SwatchesModule.css +0 -1
- /package/dist/{lib/components → components}/SwatchesModule.d.ts +0 -0
- /package/dist/{lib/main.d.ts → main.d.ts} +0 -0
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
import { number as n, commaOrSpaceSeparated as l, spaceSeparated as o, commaSeparated as e, boolean as t } from "./util/types.js";
|
|
2
|
+
import { create as i } from "./util/create.js";
|
|
3
|
+
import { caseSensitiveTransform as r } from "./util/case-sensitive-transform.js";
|
|
4
|
+
const g = i({
|
|
5
|
+
space: "svg",
|
|
6
|
+
attributes: {
|
|
7
|
+
accentHeight: "accent-height",
|
|
8
|
+
alignmentBaseline: "alignment-baseline",
|
|
9
|
+
arabicForm: "arabic-form",
|
|
10
|
+
baselineShift: "baseline-shift",
|
|
11
|
+
capHeight: "cap-height",
|
|
12
|
+
className: "class",
|
|
13
|
+
clipPath: "clip-path",
|
|
14
|
+
clipRule: "clip-rule",
|
|
15
|
+
colorInterpolation: "color-interpolation",
|
|
16
|
+
colorInterpolationFilters: "color-interpolation-filters",
|
|
17
|
+
colorProfile: "color-profile",
|
|
18
|
+
colorRendering: "color-rendering",
|
|
19
|
+
crossOrigin: "crossorigin",
|
|
20
|
+
dataType: "datatype",
|
|
21
|
+
dominantBaseline: "dominant-baseline",
|
|
22
|
+
enableBackground: "enable-background",
|
|
23
|
+
fillOpacity: "fill-opacity",
|
|
24
|
+
fillRule: "fill-rule",
|
|
25
|
+
floodColor: "flood-color",
|
|
26
|
+
floodOpacity: "flood-opacity",
|
|
27
|
+
fontFamily: "font-family",
|
|
28
|
+
fontSize: "font-size",
|
|
29
|
+
fontSizeAdjust: "font-size-adjust",
|
|
30
|
+
fontStretch: "font-stretch",
|
|
31
|
+
fontStyle: "font-style",
|
|
32
|
+
fontVariant: "font-variant",
|
|
33
|
+
fontWeight: "font-weight",
|
|
34
|
+
glyphName: "glyph-name",
|
|
35
|
+
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
36
|
+
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
37
|
+
hrefLang: "hreflang",
|
|
38
|
+
horizAdvX: "horiz-adv-x",
|
|
39
|
+
horizOriginX: "horiz-origin-x",
|
|
40
|
+
horizOriginY: "horiz-origin-y",
|
|
41
|
+
imageRendering: "image-rendering",
|
|
42
|
+
letterSpacing: "letter-spacing",
|
|
43
|
+
lightingColor: "lighting-color",
|
|
44
|
+
markerEnd: "marker-end",
|
|
45
|
+
markerMid: "marker-mid",
|
|
46
|
+
markerStart: "marker-start",
|
|
47
|
+
navDown: "nav-down",
|
|
48
|
+
navDownLeft: "nav-down-left",
|
|
49
|
+
navDownRight: "nav-down-right",
|
|
50
|
+
navLeft: "nav-left",
|
|
51
|
+
navNext: "nav-next",
|
|
52
|
+
navPrev: "nav-prev",
|
|
53
|
+
navRight: "nav-right",
|
|
54
|
+
navUp: "nav-up",
|
|
55
|
+
navUpLeft: "nav-up-left",
|
|
56
|
+
navUpRight: "nav-up-right",
|
|
57
|
+
onAbort: "onabort",
|
|
58
|
+
onActivate: "onactivate",
|
|
59
|
+
onAfterPrint: "onafterprint",
|
|
60
|
+
onBeforePrint: "onbeforeprint",
|
|
61
|
+
onBegin: "onbegin",
|
|
62
|
+
onCancel: "oncancel",
|
|
63
|
+
onCanPlay: "oncanplay",
|
|
64
|
+
onCanPlayThrough: "oncanplaythrough",
|
|
65
|
+
onChange: "onchange",
|
|
66
|
+
onClick: "onclick",
|
|
67
|
+
onClose: "onclose",
|
|
68
|
+
onCopy: "oncopy",
|
|
69
|
+
onCueChange: "oncuechange",
|
|
70
|
+
onCut: "oncut",
|
|
71
|
+
onDblClick: "ondblclick",
|
|
72
|
+
onDrag: "ondrag",
|
|
73
|
+
onDragEnd: "ondragend",
|
|
74
|
+
onDragEnter: "ondragenter",
|
|
75
|
+
onDragExit: "ondragexit",
|
|
76
|
+
onDragLeave: "ondragleave",
|
|
77
|
+
onDragOver: "ondragover",
|
|
78
|
+
onDragStart: "ondragstart",
|
|
79
|
+
onDrop: "ondrop",
|
|
80
|
+
onDurationChange: "ondurationchange",
|
|
81
|
+
onEmptied: "onemptied",
|
|
82
|
+
onEnd: "onend",
|
|
83
|
+
onEnded: "onended",
|
|
84
|
+
onError: "onerror",
|
|
85
|
+
onFocus: "onfocus",
|
|
86
|
+
onFocusIn: "onfocusin",
|
|
87
|
+
onFocusOut: "onfocusout",
|
|
88
|
+
onHashChange: "onhashchange",
|
|
89
|
+
onInput: "oninput",
|
|
90
|
+
onInvalid: "oninvalid",
|
|
91
|
+
onKeyDown: "onkeydown",
|
|
92
|
+
onKeyPress: "onkeypress",
|
|
93
|
+
onKeyUp: "onkeyup",
|
|
94
|
+
onLoad: "onload",
|
|
95
|
+
onLoadedData: "onloadeddata",
|
|
96
|
+
onLoadedMetadata: "onloadedmetadata",
|
|
97
|
+
onLoadStart: "onloadstart",
|
|
98
|
+
onMessage: "onmessage",
|
|
99
|
+
onMouseDown: "onmousedown",
|
|
100
|
+
onMouseEnter: "onmouseenter",
|
|
101
|
+
onMouseLeave: "onmouseleave",
|
|
102
|
+
onMouseMove: "onmousemove",
|
|
103
|
+
onMouseOut: "onmouseout",
|
|
104
|
+
onMouseOver: "onmouseover",
|
|
105
|
+
onMouseUp: "onmouseup",
|
|
106
|
+
onMouseWheel: "onmousewheel",
|
|
107
|
+
onOffline: "onoffline",
|
|
108
|
+
onOnline: "ononline",
|
|
109
|
+
onPageHide: "onpagehide",
|
|
110
|
+
onPageShow: "onpageshow",
|
|
111
|
+
onPaste: "onpaste",
|
|
112
|
+
onPause: "onpause",
|
|
113
|
+
onPlay: "onplay",
|
|
114
|
+
onPlaying: "onplaying",
|
|
115
|
+
onPopState: "onpopstate",
|
|
116
|
+
onProgress: "onprogress",
|
|
117
|
+
onRateChange: "onratechange",
|
|
118
|
+
onRepeat: "onrepeat",
|
|
119
|
+
onReset: "onreset",
|
|
120
|
+
onResize: "onresize",
|
|
121
|
+
onScroll: "onscroll",
|
|
122
|
+
onSeeked: "onseeked",
|
|
123
|
+
onSeeking: "onseeking",
|
|
124
|
+
onSelect: "onselect",
|
|
125
|
+
onShow: "onshow",
|
|
126
|
+
onStalled: "onstalled",
|
|
127
|
+
onStorage: "onstorage",
|
|
128
|
+
onSubmit: "onsubmit",
|
|
129
|
+
onSuspend: "onsuspend",
|
|
130
|
+
onTimeUpdate: "ontimeupdate",
|
|
131
|
+
onToggle: "ontoggle",
|
|
132
|
+
onUnload: "onunload",
|
|
133
|
+
onVolumeChange: "onvolumechange",
|
|
134
|
+
onWaiting: "onwaiting",
|
|
135
|
+
onZoom: "onzoom",
|
|
136
|
+
overlinePosition: "overline-position",
|
|
137
|
+
overlineThickness: "overline-thickness",
|
|
138
|
+
paintOrder: "paint-order",
|
|
139
|
+
panose1: "panose-1",
|
|
140
|
+
pointerEvents: "pointer-events",
|
|
141
|
+
referrerPolicy: "referrerpolicy",
|
|
142
|
+
renderingIntent: "rendering-intent",
|
|
143
|
+
shapeRendering: "shape-rendering",
|
|
144
|
+
stopColor: "stop-color",
|
|
145
|
+
stopOpacity: "stop-opacity",
|
|
146
|
+
strikethroughPosition: "strikethrough-position",
|
|
147
|
+
strikethroughThickness: "strikethrough-thickness",
|
|
148
|
+
strokeDashArray: "stroke-dasharray",
|
|
149
|
+
strokeDashOffset: "stroke-dashoffset",
|
|
150
|
+
strokeLineCap: "stroke-linecap",
|
|
151
|
+
strokeLineJoin: "stroke-linejoin",
|
|
152
|
+
strokeMiterLimit: "stroke-miterlimit",
|
|
153
|
+
strokeOpacity: "stroke-opacity",
|
|
154
|
+
strokeWidth: "stroke-width",
|
|
155
|
+
tabIndex: "tabindex",
|
|
156
|
+
textAnchor: "text-anchor",
|
|
157
|
+
textDecoration: "text-decoration",
|
|
158
|
+
textRendering: "text-rendering",
|
|
159
|
+
transformOrigin: "transform-origin",
|
|
160
|
+
typeOf: "typeof",
|
|
161
|
+
underlinePosition: "underline-position",
|
|
162
|
+
underlineThickness: "underline-thickness",
|
|
163
|
+
unicodeBidi: "unicode-bidi",
|
|
164
|
+
unicodeRange: "unicode-range",
|
|
165
|
+
unitsPerEm: "units-per-em",
|
|
166
|
+
vAlphabetic: "v-alphabetic",
|
|
167
|
+
vHanging: "v-hanging",
|
|
168
|
+
vIdeographic: "v-ideographic",
|
|
169
|
+
vMathematical: "v-mathematical",
|
|
170
|
+
vectorEffect: "vector-effect",
|
|
171
|
+
vertAdvY: "vert-adv-y",
|
|
172
|
+
vertOriginX: "vert-origin-x",
|
|
173
|
+
vertOriginY: "vert-origin-y",
|
|
174
|
+
wordSpacing: "word-spacing",
|
|
175
|
+
writingMode: "writing-mode",
|
|
176
|
+
xHeight: "x-height",
|
|
177
|
+
// These were camelcased in Tiny. Now lowercased in SVG 2
|
|
178
|
+
playbackOrder: "playbackorder",
|
|
179
|
+
timelineBegin: "timelinebegin"
|
|
180
|
+
},
|
|
181
|
+
transform: r,
|
|
182
|
+
properties: {
|
|
183
|
+
about: l,
|
|
184
|
+
accentHeight: n,
|
|
185
|
+
accumulate: null,
|
|
186
|
+
additive: null,
|
|
187
|
+
alignmentBaseline: null,
|
|
188
|
+
alphabetic: n,
|
|
189
|
+
amplitude: n,
|
|
190
|
+
arabicForm: null,
|
|
191
|
+
ascent: n,
|
|
192
|
+
attributeName: null,
|
|
193
|
+
attributeType: null,
|
|
194
|
+
azimuth: n,
|
|
195
|
+
bandwidth: null,
|
|
196
|
+
baselineShift: null,
|
|
197
|
+
baseFrequency: null,
|
|
198
|
+
baseProfile: null,
|
|
199
|
+
bbox: null,
|
|
200
|
+
begin: null,
|
|
201
|
+
bias: n,
|
|
202
|
+
by: null,
|
|
203
|
+
calcMode: null,
|
|
204
|
+
capHeight: n,
|
|
205
|
+
className: o,
|
|
206
|
+
clip: null,
|
|
207
|
+
clipPath: null,
|
|
208
|
+
clipPathUnits: null,
|
|
209
|
+
clipRule: null,
|
|
210
|
+
color: null,
|
|
211
|
+
colorInterpolation: null,
|
|
212
|
+
colorInterpolationFilters: null,
|
|
213
|
+
colorProfile: null,
|
|
214
|
+
colorRendering: null,
|
|
215
|
+
content: null,
|
|
216
|
+
contentScriptType: null,
|
|
217
|
+
contentStyleType: null,
|
|
218
|
+
crossOrigin: null,
|
|
219
|
+
cursor: null,
|
|
220
|
+
cx: null,
|
|
221
|
+
cy: null,
|
|
222
|
+
d: null,
|
|
223
|
+
dataType: null,
|
|
224
|
+
defaultAction: null,
|
|
225
|
+
descent: n,
|
|
226
|
+
diffuseConstant: n,
|
|
227
|
+
direction: null,
|
|
228
|
+
display: null,
|
|
229
|
+
dur: null,
|
|
230
|
+
divisor: n,
|
|
231
|
+
dominantBaseline: null,
|
|
232
|
+
download: t,
|
|
233
|
+
dx: null,
|
|
234
|
+
dy: null,
|
|
235
|
+
edgeMode: null,
|
|
236
|
+
editable: null,
|
|
237
|
+
elevation: n,
|
|
238
|
+
enableBackground: null,
|
|
239
|
+
end: null,
|
|
240
|
+
event: null,
|
|
241
|
+
exponent: n,
|
|
242
|
+
externalResourcesRequired: null,
|
|
243
|
+
fill: null,
|
|
244
|
+
fillOpacity: n,
|
|
245
|
+
fillRule: null,
|
|
246
|
+
filter: null,
|
|
247
|
+
filterRes: null,
|
|
248
|
+
filterUnits: null,
|
|
249
|
+
floodColor: null,
|
|
250
|
+
floodOpacity: null,
|
|
251
|
+
focusable: null,
|
|
252
|
+
focusHighlight: null,
|
|
253
|
+
fontFamily: null,
|
|
254
|
+
fontSize: null,
|
|
255
|
+
fontSizeAdjust: null,
|
|
256
|
+
fontStretch: null,
|
|
257
|
+
fontStyle: null,
|
|
258
|
+
fontVariant: null,
|
|
259
|
+
fontWeight: null,
|
|
260
|
+
format: null,
|
|
261
|
+
fr: null,
|
|
262
|
+
from: null,
|
|
263
|
+
fx: null,
|
|
264
|
+
fy: null,
|
|
265
|
+
g1: e,
|
|
266
|
+
g2: e,
|
|
267
|
+
glyphName: e,
|
|
268
|
+
glyphOrientationHorizontal: null,
|
|
269
|
+
glyphOrientationVertical: null,
|
|
270
|
+
glyphRef: null,
|
|
271
|
+
gradientTransform: null,
|
|
272
|
+
gradientUnits: null,
|
|
273
|
+
handler: null,
|
|
274
|
+
hanging: n,
|
|
275
|
+
hatchContentUnits: null,
|
|
276
|
+
hatchUnits: null,
|
|
277
|
+
height: null,
|
|
278
|
+
href: null,
|
|
279
|
+
hrefLang: null,
|
|
280
|
+
horizAdvX: n,
|
|
281
|
+
horizOriginX: n,
|
|
282
|
+
horizOriginY: n,
|
|
283
|
+
id: null,
|
|
284
|
+
ideographic: n,
|
|
285
|
+
imageRendering: null,
|
|
286
|
+
initialVisibility: null,
|
|
287
|
+
in: null,
|
|
288
|
+
in2: null,
|
|
289
|
+
intercept: n,
|
|
290
|
+
k: n,
|
|
291
|
+
k1: n,
|
|
292
|
+
k2: n,
|
|
293
|
+
k3: n,
|
|
294
|
+
k4: n,
|
|
295
|
+
kernelMatrix: l,
|
|
296
|
+
kernelUnitLength: null,
|
|
297
|
+
keyPoints: null,
|
|
298
|
+
// SEMI_COLON_SEPARATED
|
|
299
|
+
keySplines: null,
|
|
300
|
+
// SEMI_COLON_SEPARATED
|
|
301
|
+
keyTimes: null,
|
|
302
|
+
// SEMI_COLON_SEPARATED
|
|
303
|
+
kerning: null,
|
|
304
|
+
lang: null,
|
|
305
|
+
lengthAdjust: null,
|
|
306
|
+
letterSpacing: null,
|
|
307
|
+
lightingColor: null,
|
|
308
|
+
limitingConeAngle: n,
|
|
309
|
+
local: null,
|
|
310
|
+
markerEnd: null,
|
|
311
|
+
markerMid: null,
|
|
312
|
+
markerStart: null,
|
|
313
|
+
markerHeight: null,
|
|
314
|
+
markerUnits: null,
|
|
315
|
+
markerWidth: null,
|
|
316
|
+
mask: null,
|
|
317
|
+
maskContentUnits: null,
|
|
318
|
+
maskUnits: null,
|
|
319
|
+
mathematical: null,
|
|
320
|
+
max: null,
|
|
321
|
+
media: null,
|
|
322
|
+
mediaCharacterEncoding: null,
|
|
323
|
+
mediaContentEncodings: null,
|
|
324
|
+
mediaSize: n,
|
|
325
|
+
mediaTime: null,
|
|
326
|
+
method: null,
|
|
327
|
+
min: null,
|
|
328
|
+
mode: null,
|
|
329
|
+
name: null,
|
|
330
|
+
navDown: null,
|
|
331
|
+
navDownLeft: null,
|
|
332
|
+
navDownRight: null,
|
|
333
|
+
navLeft: null,
|
|
334
|
+
navNext: null,
|
|
335
|
+
navPrev: null,
|
|
336
|
+
navRight: null,
|
|
337
|
+
navUp: null,
|
|
338
|
+
navUpLeft: null,
|
|
339
|
+
navUpRight: null,
|
|
340
|
+
numOctaves: null,
|
|
341
|
+
observer: null,
|
|
342
|
+
offset: null,
|
|
343
|
+
onAbort: null,
|
|
344
|
+
onActivate: null,
|
|
345
|
+
onAfterPrint: null,
|
|
346
|
+
onBeforePrint: null,
|
|
347
|
+
onBegin: null,
|
|
348
|
+
onCancel: null,
|
|
349
|
+
onCanPlay: null,
|
|
350
|
+
onCanPlayThrough: null,
|
|
351
|
+
onChange: null,
|
|
352
|
+
onClick: null,
|
|
353
|
+
onClose: null,
|
|
354
|
+
onCopy: null,
|
|
355
|
+
onCueChange: null,
|
|
356
|
+
onCut: null,
|
|
357
|
+
onDblClick: null,
|
|
358
|
+
onDrag: null,
|
|
359
|
+
onDragEnd: null,
|
|
360
|
+
onDragEnter: null,
|
|
361
|
+
onDragExit: null,
|
|
362
|
+
onDragLeave: null,
|
|
363
|
+
onDragOver: null,
|
|
364
|
+
onDragStart: null,
|
|
365
|
+
onDrop: null,
|
|
366
|
+
onDurationChange: null,
|
|
367
|
+
onEmptied: null,
|
|
368
|
+
onEnd: null,
|
|
369
|
+
onEnded: null,
|
|
370
|
+
onError: null,
|
|
371
|
+
onFocus: null,
|
|
372
|
+
onFocusIn: null,
|
|
373
|
+
onFocusOut: null,
|
|
374
|
+
onHashChange: null,
|
|
375
|
+
onInput: null,
|
|
376
|
+
onInvalid: null,
|
|
377
|
+
onKeyDown: null,
|
|
378
|
+
onKeyPress: null,
|
|
379
|
+
onKeyUp: null,
|
|
380
|
+
onLoad: null,
|
|
381
|
+
onLoadedData: null,
|
|
382
|
+
onLoadedMetadata: null,
|
|
383
|
+
onLoadStart: null,
|
|
384
|
+
onMessage: null,
|
|
385
|
+
onMouseDown: null,
|
|
386
|
+
onMouseEnter: null,
|
|
387
|
+
onMouseLeave: null,
|
|
388
|
+
onMouseMove: null,
|
|
389
|
+
onMouseOut: null,
|
|
390
|
+
onMouseOver: null,
|
|
391
|
+
onMouseUp: null,
|
|
392
|
+
onMouseWheel: null,
|
|
393
|
+
onOffline: null,
|
|
394
|
+
onOnline: null,
|
|
395
|
+
onPageHide: null,
|
|
396
|
+
onPageShow: null,
|
|
397
|
+
onPaste: null,
|
|
398
|
+
onPause: null,
|
|
399
|
+
onPlay: null,
|
|
400
|
+
onPlaying: null,
|
|
401
|
+
onPopState: null,
|
|
402
|
+
onProgress: null,
|
|
403
|
+
onRateChange: null,
|
|
404
|
+
onRepeat: null,
|
|
405
|
+
onReset: null,
|
|
406
|
+
onResize: null,
|
|
407
|
+
onScroll: null,
|
|
408
|
+
onSeeked: null,
|
|
409
|
+
onSeeking: null,
|
|
410
|
+
onSelect: null,
|
|
411
|
+
onShow: null,
|
|
412
|
+
onStalled: null,
|
|
413
|
+
onStorage: null,
|
|
414
|
+
onSubmit: null,
|
|
415
|
+
onSuspend: null,
|
|
416
|
+
onTimeUpdate: null,
|
|
417
|
+
onToggle: null,
|
|
418
|
+
onUnload: null,
|
|
419
|
+
onVolumeChange: null,
|
|
420
|
+
onWaiting: null,
|
|
421
|
+
onZoom: null,
|
|
422
|
+
opacity: null,
|
|
423
|
+
operator: null,
|
|
424
|
+
order: null,
|
|
425
|
+
orient: null,
|
|
426
|
+
orientation: null,
|
|
427
|
+
origin: null,
|
|
428
|
+
overflow: null,
|
|
429
|
+
overlay: null,
|
|
430
|
+
overlinePosition: n,
|
|
431
|
+
overlineThickness: n,
|
|
432
|
+
paintOrder: null,
|
|
433
|
+
panose1: null,
|
|
434
|
+
path: null,
|
|
435
|
+
pathLength: n,
|
|
436
|
+
patternContentUnits: null,
|
|
437
|
+
patternTransform: null,
|
|
438
|
+
patternUnits: null,
|
|
439
|
+
phase: null,
|
|
440
|
+
ping: o,
|
|
441
|
+
pitch: null,
|
|
442
|
+
playbackOrder: null,
|
|
443
|
+
pointerEvents: null,
|
|
444
|
+
points: null,
|
|
445
|
+
pointsAtX: n,
|
|
446
|
+
pointsAtY: n,
|
|
447
|
+
pointsAtZ: n,
|
|
448
|
+
preserveAlpha: null,
|
|
449
|
+
preserveAspectRatio: null,
|
|
450
|
+
primitiveUnits: null,
|
|
451
|
+
propagate: null,
|
|
452
|
+
property: l,
|
|
453
|
+
r: null,
|
|
454
|
+
radius: null,
|
|
455
|
+
referrerPolicy: null,
|
|
456
|
+
refX: null,
|
|
457
|
+
refY: null,
|
|
458
|
+
rel: l,
|
|
459
|
+
rev: l,
|
|
460
|
+
renderingIntent: null,
|
|
461
|
+
repeatCount: null,
|
|
462
|
+
repeatDur: null,
|
|
463
|
+
requiredExtensions: l,
|
|
464
|
+
requiredFeatures: l,
|
|
465
|
+
requiredFonts: l,
|
|
466
|
+
requiredFormats: l,
|
|
467
|
+
resource: null,
|
|
468
|
+
restart: null,
|
|
469
|
+
result: null,
|
|
470
|
+
rotate: null,
|
|
471
|
+
rx: null,
|
|
472
|
+
ry: null,
|
|
473
|
+
scale: null,
|
|
474
|
+
seed: null,
|
|
475
|
+
shapeRendering: null,
|
|
476
|
+
side: null,
|
|
477
|
+
slope: null,
|
|
478
|
+
snapshotTime: null,
|
|
479
|
+
specularConstant: n,
|
|
480
|
+
specularExponent: n,
|
|
481
|
+
spreadMethod: null,
|
|
482
|
+
spacing: null,
|
|
483
|
+
startOffset: null,
|
|
484
|
+
stdDeviation: null,
|
|
485
|
+
stemh: null,
|
|
486
|
+
stemv: null,
|
|
487
|
+
stitchTiles: null,
|
|
488
|
+
stopColor: null,
|
|
489
|
+
stopOpacity: null,
|
|
490
|
+
strikethroughPosition: n,
|
|
491
|
+
strikethroughThickness: n,
|
|
492
|
+
string: null,
|
|
493
|
+
stroke: null,
|
|
494
|
+
strokeDashArray: l,
|
|
495
|
+
strokeDashOffset: null,
|
|
496
|
+
strokeLineCap: null,
|
|
497
|
+
strokeLineJoin: null,
|
|
498
|
+
strokeMiterLimit: n,
|
|
499
|
+
strokeOpacity: n,
|
|
500
|
+
strokeWidth: null,
|
|
501
|
+
style: null,
|
|
502
|
+
surfaceScale: n,
|
|
503
|
+
syncBehavior: null,
|
|
504
|
+
syncBehaviorDefault: null,
|
|
505
|
+
syncMaster: null,
|
|
506
|
+
syncTolerance: null,
|
|
507
|
+
syncToleranceDefault: null,
|
|
508
|
+
systemLanguage: l,
|
|
509
|
+
tabIndex: n,
|
|
510
|
+
tableValues: null,
|
|
511
|
+
target: null,
|
|
512
|
+
targetX: n,
|
|
513
|
+
targetY: n,
|
|
514
|
+
textAnchor: null,
|
|
515
|
+
textDecoration: null,
|
|
516
|
+
textRendering: null,
|
|
517
|
+
textLength: null,
|
|
518
|
+
timelineBegin: null,
|
|
519
|
+
title: null,
|
|
520
|
+
transformBehavior: null,
|
|
521
|
+
type: null,
|
|
522
|
+
typeOf: l,
|
|
523
|
+
to: null,
|
|
524
|
+
transform: null,
|
|
525
|
+
transformOrigin: null,
|
|
526
|
+
u1: null,
|
|
527
|
+
u2: null,
|
|
528
|
+
underlinePosition: n,
|
|
529
|
+
underlineThickness: n,
|
|
530
|
+
unicode: null,
|
|
531
|
+
unicodeBidi: null,
|
|
532
|
+
unicodeRange: null,
|
|
533
|
+
unitsPerEm: n,
|
|
534
|
+
values: null,
|
|
535
|
+
vAlphabetic: n,
|
|
536
|
+
vMathematical: n,
|
|
537
|
+
vectorEffect: null,
|
|
538
|
+
vHanging: n,
|
|
539
|
+
vIdeographic: n,
|
|
540
|
+
version: null,
|
|
541
|
+
vertAdvY: n,
|
|
542
|
+
vertOriginX: n,
|
|
543
|
+
vertOriginY: n,
|
|
544
|
+
viewBox: null,
|
|
545
|
+
viewTarget: null,
|
|
546
|
+
visibility: null,
|
|
547
|
+
width: null,
|
|
548
|
+
widths: null,
|
|
549
|
+
wordSpacing: null,
|
|
550
|
+
writingMode: null,
|
|
551
|
+
x: null,
|
|
552
|
+
x1: null,
|
|
553
|
+
x2: null,
|
|
554
|
+
xChannelSelector: null,
|
|
555
|
+
xHeight: n,
|
|
556
|
+
y: null,
|
|
557
|
+
y1: null,
|
|
558
|
+
y2: null,
|
|
559
|
+
yChannelSelector: null,
|
|
560
|
+
z: null,
|
|
561
|
+
zoomAndPan: null
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
export {
|
|
565
|
+
g as svg
|
|
566
|
+
};
|
package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { normalize as s } from "../normalize.js";
|
|
2
|
+
import { Schema as a } from "./schema.js";
|
|
3
|
+
import { DefinedInfo as c } from "./defined-info.js";
|
|
4
|
+
const u = {}.hasOwnProperty;
|
|
5
|
+
function w(e) {
|
|
6
|
+
const p = {}, t = {};
|
|
7
|
+
let r;
|
|
8
|
+
for (r in e.properties)
|
|
9
|
+
if (u.call(e.properties, r)) {
|
|
10
|
+
const m = e.properties[r], o = new c(
|
|
11
|
+
r,
|
|
12
|
+
e.transform(e.attributes || {}, r),
|
|
13
|
+
m,
|
|
14
|
+
e.space
|
|
15
|
+
);
|
|
16
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), p[r] = o, t[s(r)] = r, t[s(o.attribute)] = r;
|
|
17
|
+
}
|
|
18
|
+
return new a(p, t, e.space);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
w as create
|
|
22
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Info as h } from "./info.js";
|
|
2
|
+
import * as s from "./types.js";
|
|
3
|
+
const n = Object.keys(s);
|
|
4
|
+
class d extends h {
|
|
5
|
+
/**
|
|
6
|
+
* @constructor
|
|
7
|
+
* @param {string} property
|
|
8
|
+
* @param {string} attribute
|
|
9
|
+
* @param {number|null} [mask]
|
|
10
|
+
* @param {string} [space]
|
|
11
|
+
*/
|
|
12
|
+
constructor(t, e, r, p) {
|
|
13
|
+
let o = -1;
|
|
14
|
+
if (super(t, e), f(this, "space", p), typeof r == "number")
|
|
15
|
+
for (; ++o < n.length; ) {
|
|
16
|
+
const i = n[o];
|
|
17
|
+
f(this, n[o], (r & s[i]) === s[i]);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
d.prototype.defined = !0;
|
|
22
|
+
function f(c, t, e) {
|
|
23
|
+
e && (c[t] = e);
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
d as DefinedInfo
|
|
27
|
+
};
|
package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
class e {
|
|
2
|
+
/**
|
|
3
|
+
* @constructor
|
|
4
|
+
* @param {string} property
|
|
5
|
+
* @param {string} attribute
|
|
6
|
+
*/
|
|
7
|
+
constructor(o, t) {
|
|
8
|
+
this.property = o, this.attribute = t;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
e.prototype.space = null;
|
|
12
|
+
e.prototype.boolean = !1;
|
|
13
|
+
e.prototype.booleanish = !1;
|
|
14
|
+
e.prototype.overloadedBoolean = !1;
|
|
15
|
+
e.prototype.number = !1;
|
|
16
|
+
e.prototype.commaSeparated = !1;
|
|
17
|
+
e.prototype.spaceSeparated = !1;
|
|
18
|
+
e.prototype.commaOrSpaceSeparated = !1;
|
|
19
|
+
e.prototype.mustUseProperty = !1;
|
|
20
|
+
e.prototype.defined = !1;
|
|
21
|
+
export {
|
|
22
|
+
e as Info
|
|
23
|
+
};
|
package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
class t {
|
|
2
|
+
/**
|
|
3
|
+
* @constructor
|
|
4
|
+
* @param {Properties} property
|
|
5
|
+
* @param {Normal} normal
|
|
6
|
+
* @param {string} [space]
|
|
7
|
+
*/
|
|
8
|
+
constructor(p, r, o) {
|
|
9
|
+
this.property = p, this.normal = r, o && (this.space = o);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
t.prototype.property = {};
|
|
13
|
+
t.prototype.normal = {};
|
|
14
|
+
t.prototype.space = null;
|
|
15
|
+
export {
|
|
16
|
+
t as Schema
|
|
17
|
+
};
|
package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
let o = 0;
|
|
2
|
+
const n = e(), t = e(), a = e(), c = e(), r = e(), s = e(), p = e();
|
|
3
|
+
function e() {
|
|
4
|
+
return 2 ** ++o;
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
n as boolean,
|
|
8
|
+
t as booleanish,
|
|
9
|
+
p as commaOrSpaceSeparated,
|
|
10
|
+
s as commaSeparated,
|
|
11
|
+
c as number,
|
|
12
|
+
a as overloadedBoolean,
|
|
13
|
+
r as spaceSeparated
|
|
14
|
+
};
|