hasting-swatchcart-module 0.0.1 → 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.
Files changed (353) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +7 -0
  4. package/dist/_virtual/index3.js +4 -0
  5. package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
  6. package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
  7. package/dist/_virtual/utilities.js +4 -0
  8. package/dist/_virtual/with-selector.js +5 -0
  9. package/dist/_virtual/with-selector2.js +4 -0
  10. package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +1 -0
  11. package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +1 -0
  12. package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
  13. package/dist/components/SwatchesModule.d.ts +11 -0
  14. package/dist/components/SwatchesModule.js +31 -0
  15. package/dist/main.d.ts +1 -0
  16. package/dist/main.js +4 -0
  17. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
  18. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
  19. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
  20. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  21. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  22. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  23. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  24. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +251 -0
  25. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
  26. package/dist/node_modules/@radix-ui/react-context/dist/index.js +68 -0
  27. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +256 -0
  28. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  29. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
  30. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  31. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  32. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +231 -0
  33. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
  34. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  35. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  36. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  37. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  38. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  39. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  40. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  41. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  42. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
  43. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
  44. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +877 -0
  45. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +35 -0
  46. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +497 -0
  47. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
  48. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +62 -0
  49. package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
  50. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +106 -0
  51. package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
  52. package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
  53. package/dist/node_modules/bail/index.js +7 -0
  54. package/dist/node_modules/clsx/dist/clsx.js +17 -0
  55. package/dist/node_modules/comma-separated-tokens/index.js +20 -0
  56. package/dist/node_modules/decode-named-character-reference/index.dom.js +14 -0
  57. package/dist/node_modules/devlop/lib/default.js +8 -0
  58. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  59. package/dist/node_modules/extend/index.js +43 -0
  60. package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
  61. package/dist/node_modules/hast-util-from-parse5/lib/index.js +145 -0
  62. package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
  63. package/dist/node_modules/hast-util-raw/lib/index.js +217 -0
  64. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
  65. package/dist/node_modules/hast-util-to-parse5/lib/index.js +118 -0
  66. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +12 -0
  67. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +61 -0
  68. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +33 -0
  69. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +368 -0
  70. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +6 -0
  71. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +566 -0
  72. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  73. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  74. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +22 -0
  75. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +27 -0
  76. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +23 -0
  77. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +11 -0
  78. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +17 -0
  79. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +14 -0
  80. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +19 -0
  81. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +11 -0
  82. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +11 -0
  83. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  84. package/dist/node_modules/hastscript/lib/create-h.js +112 -0
  85. package/dist/node_modules/hastscript/lib/index.js +8 -0
  86. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
  87. package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
  88. package/dist/node_modules/html-void-elements/index.js +25 -0
  89. package/dist/node_modules/immer/dist/immer.js +467 -0
  90. package/dist/node_modules/inline-style-parser/index.js +93 -0
  91. package/dist/node_modules/is-plain-obj/index.js +9 -0
  92. package/dist/node_modules/lucide-react/dist/esm/Icon.js +40 -0
  93. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +27 -0
  94. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
  95. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +12 -0
  96. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +12 -0
  97. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +15 -0
  98. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +19 -0
  99. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +581 -0
  100. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
  101. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  102. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
  103. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
  104. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  105. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  106. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
  107. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  108. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
  109. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
  110. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
  111. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  112. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
  113. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
  114. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  115. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
  116. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
  117. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  118. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
  119. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  120. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
  121. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
  122. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
  123. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
  124. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  125. package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
  126. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
  127. package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
  128. package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
  129. package/dist/node_modules/micromark/lib/constructs.js +85 -0
  130. package/dist/node_modules/micromark/lib/create-tokenizer.js +223 -0
  131. package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
  132. package/dist/node_modules/micromark/lib/initialize/document.js +126 -0
  133. package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
  134. package/dist/node_modules/micromark/lib/initialize/text.js +95 -0
  135. package/dist/node_modules/micromark/lib/parse.js +32 -0
  136. package/dist/node_modules/micromark/lib/postprocess.js +9 -0
  137. package/dist/node_modules/micromark/lib/preprocess.js +39 -0
  138. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +83 -0
  139. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  140. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  141. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
  142. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  143. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
  144. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +94 -0
  145. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
  146. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  147. package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
  148. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
  149. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  150. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +46 -0
  151. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +144 -0
  152. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  153. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +152 -0
  154. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +22 -0
  155. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +19 -0
  156. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  157. package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
  158. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
  159. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  160. package/dist/node_modules/micromark-factory-destination/index.js +31 -0
  161. package/dist/node_modules/micromark-factory-label/index.js +28 -0
  162. package/dist/node_modules/micromark-factory-space/index.js +15 -0
  163. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  164. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  165. package/dist/node_modules/micromark-util-character/index.js +39 -0
  166. package/dist/node_modules/micromark-util-chunked/index.js +16 -0
  167. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  168. package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
  169. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
  170. package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
  171. package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
  172. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  173. package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
  174. package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
  175. package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
  176. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
  177. package/dist/node_modules/parse5/dist/common/doctype.js +98 -0
  178. package/dist/node_modules/parse5/dist/common/error-codes.js +7 -0
  179. package/dist/node_modules/parse5/dist/common/foreign-content.js +210 -0
  180. package/dist/node_modules/parse5/dist/common/html.js +250 -0
  181. package/dist/node_modules/parse5/dist/common/token.js +14 -0
  182. package/dist/node_modules/parse5/dist/common/unicode.js +73 -0
  183. package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +84 -0
  184. package/dist/node_modules/parse5/dist/parser/index.js +2271 -0
  185. package/dist/node_modules/parse5/dist/parser/open-element-stack.js +240 -0
  186. package/dist/node_modules/parse5/dist/serializer/index.js +2 -0
  187. package/dist/node_modules/parse5/dist/tokenizer/index.js +1940 -0
  188. package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +88 -0
  189. package/dist/node_modules/parse5/dist/tree-adapters/default.js +162 -0
  190. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +38 -0
  191. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +245 -0
  192. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  193. package/dist/node_modules/property-information/index.js +12 -0
  194. package/dist/node_modules/property-information/lib/aria.js +61 -0
  195. package/dist/node_modules/property-information/lib/find.js +33 -0
  196. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  197. package/dist/node_modules/property-information/lib/html.js +368 -0
  198. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  199. package/dist/node_modules/property-information/lib/svg.js +566 -0
  200. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  201. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  202. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  203. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  204. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  205. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  206. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  207. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  208. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  209. package/dist/node_modules/property-information/lib/xml.js +11 -0
  210. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  211. package/dist/node_modules/react-markdown/lib/index.js +102 -0
  212. package/dist/node_modules/react-redux/dist/react-redux.js +135 -0
  213. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  214. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  215. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
  216. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  217. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
  218. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  219. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  220. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
  221. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  222. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
  223. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
  224. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
  225. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
  226. package/dist/node_modules/redux/dist/redux.js +258 -0
  227. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
  228. package/dist/node_modules/rehype-raw/lib/index.js +12 -0
  229. package/dist/node_modules/remark-parse/lib/index.js +19 -0
  230. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  231. package/dist/node_modules/reselect/dist/reselect.js +244 -0
  232. package/dist/node_modules/space-separated-tokens/index.js +11 -0
  233. package/dist/node_modules/style-to-js/cjs/index.js +20 -0
  234. package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
  235. package/dist/node_modules/style-to-object/cjs/index.js +28 -0
  236. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2731 -0
  237. package/dist/node_modules/trim-lines/index.js +28 -0
  238. package/dist/node_modules/trough/lib/index.js +60 -0
  239. package/dist/node_modules/tslib/tslib.es6.js +27 -0
  240. package/dist/node_modules/unified/lib/callable-instance.js +25 -0
  241. package/dist/node_modules/unified/lib/index.js +529 -0
  242. package/dist/node_modules/unist-util-is/lib/index.js +84 -0
  243. package/dist/node_modules/unist-util-position/lib/index.js +23 -0
  244. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  245. package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
  246. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  247. package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
  248. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
  249. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
  250. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
  251. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
  252. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
  253. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
  254. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
  255. package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
  256. package/dist/node_modules/vfile/lib/index.js +406 -0
  257. package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
  258. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  259. package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
  260. package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
  261. package/dist/node_modules/vfile-location/lib/index.js +42 -0
  262. package/dist/node_modules/vfile-message/lib/index.js +91 -0
  263. package/dist/node_modules/web-namespaces/index.js +11 -0
  264. package/dist/node_modules/zwitch/index.js +18 -0
  265. package/dist/src/app/assets/images/product_thumb.png.js +4 -0
  266. package/dist/src/app/assets/svg/ArrowIconSVG.js +25 -0
  267. package/dist/src/app/assets/svg/CheckMarkIconSVG.js +25 -0
  268. package/dist/src/app/assets/svg/CloseIconSVG.js +25 -0
  269. package/dist/src/app/assets/svg/MinusIconSVG.js +24 -0
  270. package/dist/src/app/assets/svg/PlusIconSVG.js +24 -0
  271. package/dist/src/app/assets/svg/SearchIconSVG.js +37 -0
  272. package/dist/src/app/assets/svg/TrashIconSVG.js +24 -0
  273. package/dist/src/app/store/rootReducer.js +12 -0
  274. package/dist/src/app/store/store.js +14 -0
  275. package/dist/src/features/Cart/lib/CartCervices.js +8 -0
  276. package/dist/src/features/Cart/model/cartSlice.js +58 -0
  277. package/dist/src/features/Cart/model/selectors.js +18 -0
  278. package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +53 -0
  279. package/dist/src/features/Cart/ui/CartList/CartList.js +29 -0
  280. package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +41 -0
  281. package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +23 -0
  282. package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +38 -0
  283. package/dist/src/features/Cart/ui/Counter/Counter.js +46 -0
  284. package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +102 -0
  285. package/dist/src/features/DataAdapter/utils/types.js +8 -0
  286. package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +34 -0
  287. package/dist/src/features/MultiProduct/model/API/api.js +18 -0
  288. package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +83 -0
  289. package/dist/src/features/MultiProduct/model/selectors.js +7 -0
  290. package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +21 -0
  291. package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +28 -0
  292. package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +27 -0
  293. package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +60 -0
  294. package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +71 -0
  295. package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +19 -0
  296. package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +138 -0
  297. package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +51 -0
  298. package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +55 -0
  299. package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +46 -0
  300. package/dist/src/features/MultiProduct/utils/constants.js +16 -0
  301. package/dist/src/features/MultiProduct/utils/randomList.js +41 -0
  302. package/dist/src/features/swatches/lib/AttributeHelper.js +21 -0
  303. package/dist/src/features/swatches/lib/SwatchesServices.js +54 -0
  304. package/dist/src/features/swatches/model/selectors.js +12 -0
  305. package/dist/src/features/swatches/model/swatchesSlice.js +108 -0
  306. package/dist/src/features/swatches/model/thunks.js +22 -0
  307. package/dist/src/features/swatches/model/types.js +6 -0
  308. package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +45 -0
  309. package/dist/src/features/swatches/ui/Filters/LooksFilter.js +45 -0
  310. package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +47 -0
  311. package/dist/src/features/swatches/ui/Filters/index.js +12 -0
  312. package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +50 -0
  313. package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +45 -0
  314. package/dist/src/features/swatches/ui/MaterialList/index.js +39 -0
  315. package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +51 -0
  316. package/dist/src/features/swatches/ui/ProductElement/index.js +65 -0
  317. package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +62 -0
  318. package/dist/src/features/swatches/ui/Swatches.js +51 -0
  319. package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +67 -0
  320. package/dist/src/features/swatches/utils/constants.js +8 -0
  321. package/dist/src/shared/constants/props.js +13337 -0
  322. package/dist/src/shared/constants/selectedMaterials.js +4 -0
  323. package/dist/src/shared/types/activeTab.js +7 -0
  324. package/dist/src/shared/ui/Checkbox/Checkbox.js +31 -0
  325. package/dist/src/shared/ui/CustomButton/CustomButton.js +16 -0
  326. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +59 -0
  327. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +13 -0
  328. package/dist/src/shared/ui/Dialog/Dialog.js +81 -0
  329. package/dist/src/shared/ui/Label/Label.js +27 -0
  330. package/dist/src/shared/ui/Markdown/MDWithAccordion.js +36 -0
  331. package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +9 -0
  332. package/dist/src/shared/ui/MaterialItem/MaterialItem.js +36 -0
  333. package/dist/src/shared/ui/MultiSelect/MultiSelect.js +150 -0
  334. package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +35 -0
  335. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +37 -0
  336. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +4 -0
  337. package/dist/src/shared/ui/Slider/Slider.js +117 -0
  338. package/dist/src/shared/utils/cn.js +8 -0
  339. package/dist/src/shared/utils/uniqueList.js +4 -0
  340. package/package.json +12 -2
  341. package/dist/assets/Poppins-Bold-2q5ngAVi.woff2 +0 -0
  342. package/dist/assets/Poppins-Bold-CQjaT_ws.woff +0 -0
  343. package/dist/assets/Poppins-Medium-DJwXWGyq.woff2 +0 -0
  344. package/dist/assets/Poppins-Medium-DOl3WpZ-.woff +0 -0
  345. package/dist/assets/Poppins-Regular-6u--lpAX.woff +0 -0
  346. package/dist/assets/Poppins-Regular-F7nXZSOf.woff2 +0 -0
  347. package/dist/assets/Poppins-SemiBold-CsrPp8BB.woff +0 -0
  348. package/dist/assets/Poppins-SemiBold-N83vw0ch.woff2 +0 -0
  349. package/dist/assets/index-CXVHp_is.js +0 -209
  350. package/dist/assets/index-Ho0sI6LY.css +0 -1
  351. package/dist/assets/product_thumb-Bn1S8z9K.png +0 -0
  352. package/dist/index.html +0 -14
  353. package/dist/vite.svg +0 -1
@@ -0,0 +1,240 @@
1
+ import { TAG_ID as t, NS as n, NUMBERED_HEADERS as h } from "../common/html.js";
2
+ const p = /* @__PURE__ */ new Set([t.DD, t.DT, t.LI, t.OPTGROUP, t.OPTION, t.P, t.RB, t.RP, t.RT, t.RTC]), T = /* @__PURE__ */ new Set([
3
+ ...p,
4
+ t.CAPTION,
5
+ t.COLGROUP,
6
+ t.TBODY,
7
+ t.TD,
8
+ t.TFOOT,
9
+ t.TH,
10
+ t.THEAD,
11
+ t.TR
12
+ ]), a = /* @__PURE__ */ new Set([
13
+ t.APPLET,
14
+ t.CAPTION,
15
+ t.HTML,
16
+ t.MARQUEE,
17
+ t.OBJECT,
18
+ t.TABLE,
19
+ t.TD,
20
+ t.TEMPLATE,
21
+ t.TH
22
+ ]), u = /* @__PURE__ */ new Set([...a, t.OL, t.UL]), l = /* @__PURE__ */ new Set([...a, t.BUTTON]), o = /* @__PURE__ */ new Set([t.ANNOTATION_XML, t.MI, t.MN, t.MO, t.MS, t.MTEXT]), c = /* @__PURE__ */ new Set([t.DESC, t.FOREIGN_OBJECT, t.TITLE]), d = /* @__PURE__ */ new Set([t.TR, t.TEMPLATE, t.HTML]), I = /* @__PURE__ */ new Set([t.TBODY, t.TFOOT, t.THEAD, t.TEMPLATE, t.HTML]), m = /* @__PURE__ */ new Set([t.TABLE, t.TEMPLATE, t.HTML]), E = /* @__PURE__ */ new Set([t.TD, t.TH]);
23
+ class f {
24
+ get currentTmplContentOrNode() {
25
+ return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
26
+ }
27
+ constructor(e, s, i) {
28
+ this.treeAdapter = s, this.handler = i, this.items = [], this.tagIDs = [], this.stackTop = -1, this.tmplCount = 0, this.currentTagId = t.UNKNOWN, this.current = e;
29
+ }
30
+ //Index of element
31
+ _indexOf(e) {
32
+ return this.items.lastIndexOf(e, this.stackTop);
33
+ }
34
+ //Update current element
35
+ _isInTemplate() {
36
+ return this.currentTagId === t.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === n.HTML;
37
+ }
38
+ _updateCurrentElement() {
39
+ this.current = this.items[this.stackTop], this.currentTagId = this.tagIDs[this.stackTop];
40
+ }
41
+ //Mutations
42
+ push(e, s) {
43
+ this.stackTop++, this.items[this.stackTop] = e, this.current = e, this.tagIDs[this.stackTop] = s, this.currentTagId = s, this._isInTemplate() && this.tmplCount++, this.handler.onItemPush(e, s, !0);
44
+ }
45
+ pop() {
46
+ const e = this.current;
47
+ this.tmplCount > 0 && this._isInTemplate() && this.tmplCount--, this.stackTop--, this._updateCurrentElement(), this.handler.onItemPop(e, !0);
48
+ }
49
+ replace(e, s) {
50
+ const i = this._indexOf(e);
51
+ this.items[i] = s, i === this.stackTop && (this.current = s);
52
+ }
53
+ insertAfter(e, s, i) {
54
+ const r = this._indexOf(e) + 1;
55
+ this.items.splice(r, 0, s), this.tagIDs.splice(r, 0, i), this.stackTop++, r === this.stackTop && this._updateCurrentElement(), this.current && this.currentTagId !== void 0 && this.handler.onItemPush(this.current, this.currentTagId, r === this.stackTop);
56
+ }
57
+ popUntilTagNamePopped(e) {
58
+ let s = this.stackTop + 1;
59
+ do
60
+ s = this.tagIDs.lastIndexOf(e, s - 1);
61
+ while (s > 0 && this.treeAdapter.getNamespaceURI(this.items[s]) !== n.HTML);
62
+ this.shortenToLength(Math.max(s, 0));
63
+ }
64
+ shortenToLength(e) {
65
+ for (; this.stackTop >= e; ) {
66
+ const s = this.current;
67
+ this.tmplCount > 0 && this._isInTemplate() && (this.tmplCount -= 1), this.stackTop--, this._updateCurrentElement(), this.handler.onItemPop(s, this.stackTop < e);
68
+ }
69
+ }
70
+ popUntilElementPopped(e) {
71
+ const s = this._indexOf(e);
72
+ this.shortenToLength(Math.max(s, 0));
73
+ }
74
+ popUntilPopped(e, s) {
75
+ const i = this._indexOfTagNames(e, s);
76
+ this.shortenToLength(Math.max(i, 0));
77
+ }
78
+ popUntilNumberedHeaderPopped() {
79
+ this.popUntilPopped(h, n.HTML);
80
+ }
81
+ popUntilTableCellPopped() {
82
+ this.popUntilPopped(E, n.HTML);
83
+ }
84
+ popAllUpToHtmlElement() {
85
+ this.tmplCount = 0, this.shortenToLength(1);
86
+ }
87
+ _indexOfTagNames(e, s) {
88
+ for (let i = this.stackTop; i >= 0; i--)
89
+ if (e.has(this.tagIDs[i]) && this.treeAdapter.getNamespaceURI(this.items[i]) === s)
90
+ return i;
91
+ return -1;
92
+ }
93
+ clearBackTo(e, s) {
94
+ const i = this._indexOfTagNames(e, s);
95
+ this.shortenToLength(i + 1);
96
+ }
97
+ clearBackToTableContext() {
98
+ this.clearBackTo(m, n.HTML);
99
+ }
100
+ clearBackToTableBodyContext() {
101
+ this.clearBackTo(I, n.HTML);
102
+ }
103
+ clearBackToTableRowContext() {
104
+ this.clearBackTo(d, n.HTML);
105
+ }
106
+ remove(e) {
107
+ const s = this._indexOf(e);
108
+ s >= 0 && (s === this.stackTop ? this.pop() : (this.items.splice(s, 1), this.tagIDs.splice(s, 1), this.stackTop--, this._updateCurrentElement(), this.handler.onItemPop(e, !1)));
109
+ }
110
+ //Search
111
+ tryPeekProperlyNestedBodyElement() {
112
+ return this.stackTop >= 1 && this.tagIDs[1] === t.BODY ? this.items[1] : null;
113
+ }
114
+ contains(e) {
115
+ return this._indexOf(e) > -1;
116
+ }
117
+ getCommonAncestor(e) {
118
+ const s = this._indexOf(e) - 1;
119
+ return s >= 0 ? this.items[s] : null;
120
+ }
121
+ isRootHtmlElementCurrent() {
122
+ return this.stackTop === 0 && this.tagIDs[0] === t.HTML;
123
+ }
124
+ //Element in scope
125
+ hasInDynamicScope(e, s) {
126
+ for (let i = this.stackTop; i >= 0; i--) {
127
+ const r = this.tagIDs[i];
128
+ switch (this.treeAdapter.getNamespaceURI(this.items[i])) {
129
+ case n.HTML: {
130
+ if (r === e)
131
+ return !0;
132
+ if (s.has(r))
133
+ return !1;
134
+ break;
135
+ }
136
+ case n.SVG: {
137
+ if (c.has(r))
138
+ return !1;
139
+ break;
140
+ }
141
+ case n.MATHML: {
142
+ if (o.has(r))
143
+ return !1;
144
+ break;
145
+ }
146
+ }
147
+ }
148
+ return !0;
149
+ }
150
+ hasInScope(e) {
151
+ return this.hasInDynamicScope(e, a);
152
+ }
153
+ hasInListItemScope(e) {
154
+ return this.hasInDynamicScope(e, u);
155
+ }
156
+ hasInButtonScope(e) {
157
+ return this.hasInDynamicScope(e, l);
158
+ }
159
+ hasNumberedHeaderInScope() {
160
+ for (let e = this.stackTop; e >= 0; e--) {
161
+ const s = this.tagIDs[e];
162
+ switch (this.treeAdapter.getNamespaceURI(this.items[e])) {
163
+ case n.HTML: {
164
+ if (h.has(s))
165
+ return !0;
166
+ if (a.has(s))
167
+ return !1;
168
+ break;
169
+ }
170
+ case n.SVG: {
171
+ if (c.has(s))
172
+ return !1;
173
+ break;
174
+ }
175
+ case n.MATHML: {
176
+ if (o.has(s))
177
+ return !1;
178
+ break;
179
+ }
180
+ }
181
+ }
182
+ return !0;
183
+ }
184
+ hasInTableScope(e) {
185
+ for (let s = this.stackTop; s >= 0; s--)
186
+ if (this.treeAdapter.getNamespaceURI(this.items[s]) === n.HTML)
187
+ switch (this.tagIDs[s]) {
188
+ case e:
189
+ return !0;
190
+ case t.TABLE:
191
+ case t.HTML:
192
+ return !1;
193
+ }
194
+ return !0;
195
+ }
196
+ hasTableBodyContextInTableScope() {
197
+ for (let e = this.stackTop; e >= 0; e--)
198
+ if (this.treeAdapter.getNamespaceURI(this.items[e]) === n.HTML)
199
+ switch (this.tagIDs[e]) {
200
+ case t.TBODY:
201
+ case t.THEAD:
202
+ case t.TFOOT:
203
+ return !0;
204
+ case t.TABLE:
205
+ case t.HTML:
206
+ return !1;
207
+ }
208
+ return !0;
209
+ }
210
+ hasInSelectScope(e) {
211
+ for (let s = this.stackTop; s >= 0; s--)
212
+ if (this.treeAdapter.getNamespaceURI(this.items[s]) === n.HTML)
213
+ switch (this.tagIDs[s]) {
214
+ case e:
215
+ return !0;
216
+ case t.OPTION:
217
+ case t.OPTGROUP:
218
+ break;
219
+ default:
220
+ return !1;
221
+ }
222
+ return !0;
223
+ }
224
+ //Implied end tags
225
+ generateImpliedEndTags() {
226
+ for (; this.currentTagId !== void 0 && p.has(this.currentTagId); )
227
+ this.pop();
228
+ }
229
+ generateImpliedEndTagsThoroughly() {
230
+ for (; this.currentTagId !== void 0 && T.has(this.currentTagId); )
231
+ this.pop();
232
+ }
233
+ generateImpliedEndTagsWithExclusion(e) {
234
+ for (; this.currentTagId !== void 0 && this.currentTagId !== e && T.has(this.currentTagId); )
235
+ this.pop();
236
+ }
237
+ }
238
+ export {
239
+ f as OpenElementStack
240
+ };
@@ -0,0 +1,2 @@
1
+ import { TAG_NAMES as A } from "../common/html.js";
2
+ A.AREA, A.BASE, A.BASEFONT, A.BGSOUND, A.BR, A.COL, A.EMBED, A.FRAME, A.HR, A.IMG, A.INPUT, A.KEYGEN, A.LINK, A.META, A.PARAM, A.SOURCE, A.TRACK, A.WBR;