hasting-swatchcart-module 0.0.41 → 1.0.0

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 (444) hide show
  1. package/README.md +237 -73
  2. package/dist/assets/index.css +1 -0
  3. package/dist/cdn/lib/components/SwatchesModule.d.ts +10 -0
  4. package/dist/cdn/lib/main.d.ts +4 -0
  5. package/dist/cdn/lib/store/LibraryProvider.d.ts +4 -0
  6. package/dist/cdn/lib/store/rootReducer.d.ts +11 -0
  7. package/dist/cdn/lib/store/store.d.ts +25 -0
  8. package/dist/cdn/lib/store/withStore.d.ts +2 -0
  9. package/dist/cdn/lib/vite-env.d.ts +1 -0
  10. package/dist/cdn/main.css +1 -0
  11. package/dist/cdn/main.js +48652 -0
  12. package/dist/cdn/src/app/App.d.ts +2 -0
  13. package/dist/cdn/src/app/assets/svg/ArrowIconSVG.d.ts +3 -0
  14. package/dist/cdn/src/app/assets/svg/CheckMarkIconSVG.d.ts +3 -0
  15. package/dist/cdn/src/app/assets/svg/CloseIconSVG.d.ts +3 -0
  16. package/dist/cdn/src/app/assets/svg/DarkWhiteIconSVG.d.ts +1 -0
  17. package/dist/cdn/src/app/assets/svg/MinusIconSVG.d.ts +3 -0
  18. package/dist/cdn/src/app/assets/svg/PlusIconSVG.d.ts +3 -0
  19. package/dist/cdn/src/app/assets/svg/SearchIconSVG.d.ts +3 -0
  20. package/dist/cdn/src/app/assets/svg/TrashIconSVG.d.ts +3 -0
  21. package/dist/cdn/src/app/assets/svg/WhiteWhiteIconSVG.d.ts +1 -0
  22. package/dist/cdn/src/app/main.d.ts +1 -0
  23. package/dist/cdn/src/app/providers/StoreProvider.d.ts +6 -0
  24. package/dist/cdn/src/app/store/rootReducer.d.ts +11 -0
  25. package/dist/cdn/src/app/store/store.d.ts +24 -0
  26. package/dist/cdn/src/features/Cart/lib/CartCervices.d.ts +5 -0
  27. package/dist/cdn/src/features/Cart/model/cartSlice.d.ts +13 -0
  28. package/dist/cdn/src/features/Cart/model/selectors.d.ts +223 -0
  29. package/dist/cdn/src/features/Cart/model/types.d.ts +7 -0
  30. package/dist/cdn/src/features/Cart/ui/CartHeader/CartHeader.d.ts +7 -0
  31. package/dist/cdn/src/features/Cart/ui/CartList/CartList.d.ts +1 -0
  32. package/dist/cdn/src/features/Cart/ui/CartListItem/CartListItem.d.ts +10 -0
  33. package/dist/cdn/src/features/Cart/ui/CartPrice/CartPrice.d.ts +5 -0
  34. package/dist/cdn/src/features/Cart/ui/CartWrapper/CartWrapper.d.ts +9 -0
  35. package/dist/cdn/src/features/Cart/ui/Counter/Counter.d.ts +9 -0
  36. package/dist/cdn/src/features/DataAdapter/lib/DataAdapterServices.d.ts +12 -0
  37. package/dist/cdn/src/features/DataAdapter/utils/types.d.ts +11 -0
  38. package/dist/cdn/src/features/MultiProduct/lib/MultiProductCartServices.d.ts +13 -0
  39. package/dist/cdn/src/features/MultiProduct/model/API/api.d.ts +3 -0
  40. package/dist/cdn/src/features/MultiProduct/model/API/routes.d.ts +4 -0
  41. package/dist/cdn/src/features/MultiProduct/model/multiProductCartSlice.d.ts +13 -0
  42. package/dist/cdn/src/features/MultiProduct/model/selectors.d.ts +35 -0
  43. package/dist/cdn/src/features/MultiProduct/model/types.d.ts +30 -0
  44. package/dist/cdn/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.d.ts +1 -0
  45. package/dist/cdn/src/features/MultiProduct/ui/CustomModal/CustomModal.d.ts +8 -0
  46. package/dist/cdn/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.d.ts +1 -0
  47. package/dist/cdn/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.d.ts +5 -0
  48. package/dist/cdn/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.d.ts +6 -0
  49. package/dist/cdn/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.d.ts +6 -0
  50. package/dist/cdn/src/features/MultiProduct/ui/ProductList/ProductList.d.ts +5 -0
  51. package/dist/cdn/src/features/MultiProduct/ui/ProductListItem/ProductListItem.d.ts +6 -0
  52. package/dist/cdn/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.d.ts +5 -0
  53. package/dist/cdn/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.d.ts +1 -0
  54. package/dist/cdn/src/features/MultiProduct/utils/constants.d.ts +8 -0
  55. package/dist/cdn/src/features/MultiProduct/utils/randomList.d.ts +2 -0
  56. package/dist/cdn/src/features/SwatchModule/SwatchModule/ui/SwatchModule.d.ts +11 -0
  57. package/dist/cdn/src/features/swatches/lib/AttributeHelper.d.ts +7 -0
  58. package/dist/cdn/src/features/swatches/lib/SwatchesServices.d.ts +11 -0
  59. package/dist/cdn/src/features/swatches/model/selectors.d.ts +12 -0
  60. package/dist/cdn/src/features/swatches/model/swatchesSlice.d.ts +26 -0
  61. package/dist/cdn/src/features/swatches/model/thunks.d.ts +12 -0
  62. package/dist/cdn/src/features/swatches/model/types.d.ts +137 -0
  63. package/dist/cdn/src/features/swatches/ui/Filters/ColorsFilter.d.ts +1 -0
  64. package/dist/cdn/src/features/swatches/ui/Filters/LooksFilter.d.ts +1 -0
  65. package/dist/cdn/src/features/swatches/ui/Filters/MaterialsFilter.d.ts +1 -0
  66. package/dist/cdn/src/features/swatches/ui/Filters/index.d.ts +5 -0
  67. package/dist/cdn/src/features/swatches/ui/HexGridZoom/HexGridZoom.d.ts +3 -0
  68. package/dist/cdn/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.d.ts +3 -0
  69. package/dist/cdn/src/features/swatches/ui/MaterialList/index.d.ts +7 -0
  70. package/dist/cdn/src/features/swatches/ui/MaterialListItem/MaterialListItem.d.ts +4 -0
  71. package/dist/cdn/src/features/swatches/ui/ProductElement/index.d.ts +6 -0
  72. package/dist/cdn/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.d.ts +8 -0
  73. package/dist/cdn/src/features/swatches/ui/Swatches.d.ts +11 -0
  74. package/dist/cdn/src/features/swatches/ui/SwatchesList/SwatchesList.d.ts +5 -0
  75. package/dist/cdn/src/features/swatches/utils/constants.d.ts +3 -0
  76. package/dist/cdn/src/features/swatches/utils/types.d.ts +22 -0
  77. package/dist/cdn/src/shared/constants/props.d.ts +1058 -0
  78. package/dist/cdn/src/shared/constants/select.d.ts +4 -0
  79. package/dist/cdn/src/shared/constants/selectedMaterials.d.ts +1 -0
  80. package/dist/cdn/src/shared/types/activeTab.d.ts +5 -0
  81. package/dist/cdn/src/shared/types/svg.d.ts +3 -0
  82. package/dist/cdn/src/shared/ui/Checkbox/Checkbox.d.ts +4 -0
  83. package/dist/cdn/src/shared/ui/CustomButton/CustomButton.d.ts +6 -0
  84. package/dist/cdn/src/shared/ui/CustomSidebar/CustomSidebar.d.ts +8 -0
  85. package/dist/cdn/src/shared/ui/Dialog/Dialog.d.ts +19 -0
  86. package/dist/cdn/src/shared/ui/Label/Label.d.ts +7 -0
  87. package/dist/cdn/src/shared/ui/Markdown/MDWithAccordion.d.ts +10 -0
  88. package/dist/cdn/src/shared/ui/MaterialItem/MaterialItem.d.ts +8 -0
  89. package/dist/cdn/src/shared/ui/MultiSelect/MultiSelect.d.ts +20 -0
  90. package/dist/cdn/src/shared/ui/PopoverTooltip/InfoIcon.d.ts +1 -0
  91. package/dist/cdn/src/shared/ui/PopoverTooltip/PopoverTooltip.d.ts +11 -0
  92. package/dist/cdn/src/shared/ui/Slider/Slider.d.ts +11 -0
  93. package/dist/cdn/src/shared/ui/popover.d.ts +9 -0
  94. package/dist/cdn/src/shared/utils/cn.d.ts +2 -0
  95. package/dist/cdn/src/shared/utils/uniqueList.d.ts +1 -0
  96. package/dist/cdn/vite.svg +1 -0
  97. package/dist/components/SwatchesModule.d.ts +1 -2
  98. package/dist/main.cjs +407 -0
  99. package/dist/main.cjs.map +1 -0
  100. package/dist/main.d.ts +4 -1
  101. package/dist/main.js +63812 -2
  102. package/dist/main.js.map +1 -0
  103. package/dist/store/LibraryProvider.d.ts +4 -0
  104. package/dist/store/rootReducer.d.ts +11 -0
  105. package/dist/store/store.d.ts +25 -0
  106. package/dist/store/withStore.d.ts +2 -0
  107. package/package.json +24 -14
  108. package/dist/_virtual/_commonjsHelpers.js +0 -6
  109. package/dist/_virtual/index.js +0 -7
  110. package/dist/_virtual/index2.js +0 -7
  111. package/dist/_virtual/index3.js +0 -4
  112. package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
  113. package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
  114. package/dist/_virtual/utilities.js +0 -4
  115. package/dist/_virtual/with-selector.js +0 -5
  116. package/dist/_virtual/with-selector2.js +0 -4
  117. package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
  118. package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
  119. package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
  120. package/dist/components/SwatchesModule.js +0 -32
  121. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  122. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  123. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  124. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  125. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  126. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  127. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  128. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  129. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  130. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  131. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
  132. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  133. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  134. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  135. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  136. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
  137. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  138. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  139. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  140. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  141. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  142. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  143. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  144. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  145. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  146. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  147. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  148. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
  149. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
  150. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
  151. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  152. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
  153. package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
  154. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
  155. package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
  156. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  157. package/dist/node_modules/bail/index.js +0 -7
  158. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  159. package/dist/node_modules/comma-separated-tokens/index.js +0 -20
  160. package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
  161. package/dist/node_modules/devlop/lib/default.js +0 -8
  162. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
  163. package/dist/node_modules/extend/index.js +0 -43
  164. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  165. package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
  166. package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
  167. package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
  168. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
  169. package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
  170. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
  171. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
  172. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
  173. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
  174. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
  175. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
  176. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  177. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  178. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
  179. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
  180. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
  181. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
  182. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
  183. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
  184. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
  185. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
  186. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
  187. package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
  188. package/dist/node_modules/hastscript/lib/create-h.js +0 -112
  189. package/dist/node_modules/hastscript/lib/index.js +0 -8
  190. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
  191. package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
  192. package/dist/node_modules/html-void-elements/index.js +0 -25
  193. package/dist/node_modules/immer/dist/immer.js +0 -467
  194. package/dist/node_modules/inline-style-parser/index.js +0 -93
  195. package/dist/node_modules/is-plain-obj/index.js +0 -9
  196. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
  197. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
  198. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
  199. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
  200. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
  201. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
  202. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
  203. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
  204. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
  205. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
  206. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
  207. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
  208. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
  209. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
  210. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
  211. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
  212. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
  213. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
  214. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
  215. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
  216. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
  217. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
  218. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
  219. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
  220. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
  221. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
  222. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
  223. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
  224. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
  225. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
  226. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
  227. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
  228. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
  229. package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
  230. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
  231. package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
  232. package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
  233. package/dist/node_modules/micromark/lib/constructs.js +0 -85
  234. package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
  235. package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
  236. package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
  237. package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
  238. package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
  239. package/dist/node_modules/micromark/lib/parse.js +0 -32
  240. package/dist/node_modules/micromark/lib/postprocess.js +0 -9
  241. package/dist/node_modules/micromark/lib/preprocess.js +0 -39
  242. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
  243. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
  244. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  245. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
  246. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
  247. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
  248. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
  249. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
  250. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
  251. package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
  252. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
  253. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
  254. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
  255. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
  256. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
  257. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
  258. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
  259. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
  260. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  261. package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
  262. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
  263. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
  264. package/dist/node_modules/micromark-factory-destination/index.js +0 -31
  265. package/dist/node_modules/micromark-factory-label/index.js +0 -28
  266. package/dist/node_modules/micromark-factory-space/index.js +0 -15
  267. package/dist/node_modules/micromark-factory-title/index.js +0 -26
  268. package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
  269. package/dist/node_modules/micromark-util-character/index.js +0 -39
  270. package/dist/node_modules/micromark-util-chunked/index.js +0 -16
  271. package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
  272. package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
  273. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
  274. package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
  275. package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
  276. package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
  277. package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
  278. package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
  279. package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
  280. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
  281. package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
  282. package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
  283. package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
  284. package/dist/node_modules/parse5/dist/common/html.js +0 -250
  285. package/dist/node_modules/parse5/dist/common/token.js +0 -14
  286. package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
  287. package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
  288. package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
  289. package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
  290. package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
  291. package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
  292. package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
  293. package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
  294. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
  295. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
  296. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  297. package/dist/node_modules/property-information/index.js +0 -12
  298. package/dist/node_modules/property-information/lib/aria.js +0 -61
  299. package/dist/node_modules/property-information/lib/find.js +0 -33
  300. package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
  301. package/dist/node_modules/property-information/lib/html.js +0 -368
  302. package/dist/node_modules/property-information/lib/normalize.js +0 -6
  303. package/dist/node_modules/property-information/lib/svg.js +0 -566
  304. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  305. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  306. package/dist/node_modules/property-information/lib/util/create.js +0 -19
  307. package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
  308. package/dist/node_modules/property-information/lib/util/info.js +0 -28
  309. package/dist/node_modules/property-information/lib/util/merge.js +0 -10
  310. package/dist/node_modules/property-information/lib/util/schema.js +0 -21
  311. package/dist/node_modules/property-information/lib/util/types.js +0 -14
  312. package/dist/node_modules/property-information/lib/xlink.js +0 -19
  313. package/dist/node_modules/property-information/lib/xml.js +0 -11
  314. package/dist/node_modules/property-information/lib/xmlns.js +0 -11
  315. package/dist/node_modules/react-markdown/lib/index.js +0 -102
  316. package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
  317. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  318. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
  319. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  320. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  321. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  322. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  323. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  324. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  325. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  326. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  327. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  328. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  329. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  330. package/dist/node_modules/redux/dist/redux.js +0 -258
  331. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
  332. package/dist/node_modules/rehype-raw/lib/index.js +0 -12
  333. package/dist/node_modules/remark-parse/lib/index.js +0 -19
  334. package/dist/node_modules/remark-rehype/lib/index.js +0 -18
  335. package/dist/node_modules/reselect/dist/reselect.js +0 -244
  336. package/dist/node_modules/space-separated-tokens/index.js +0 -11
  337. package/dist/node_modules/style-to-js/cjs/index.js +0 -20
  338. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
  339. package/dist/node_modules/style-to-object/cjs/index.js +0 -28
  340. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
  341. package/dist/node_modules/trim-lines/index.js +0 -28
  342. package/dist/node_modules/trough/lib/index.js +0 -60
  343. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  344. package/dist/node_modules/unified/lib/callable-instance.js +0 -25
  345. package/dist/node_modules/unified/lib/index.js +0 -529
  346. package/dist/node_modules/unist-util-is/lib/index.js +0 -84
  347. package/dist/node_modules/unist-util-position/lib/index.js +0 -23
  348. package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
  349. package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
  350. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
  351. package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
  352. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  353. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  354. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  355. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  356. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
  357. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
  358. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
  359. package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
  360. package/dist/node_modules/vfile/lib/index.js +0 -406
  361. package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
  362. package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
  363. package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
  364. package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
  365. package/dist/node_modules/vfile-location/lib/index.js +0 -42
  366. package/dist/node_modules/vfile-message/lib/index.js +0 -91
  367. package/dist/node_modules/web-namespaces/index.js +0 -11
  368. package/dist/node_modules/zwitch/index.js +0 -18
  369. package/dist/src/app/assets/images/product_thumb.png.js +0 -4
  370. package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
  371. package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
  372. package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
  373. package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
  374. package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
  375. package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
  376. package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
  377. package/dist/src/app/providers/StoreProvider.js +0 -7
  378. package/dist/src/app/store/rootReducer.js +0 -12
  379. package/dist/src/app/store/store.js +0 -14
  380. package/dist/src/features/Cart/lib/CartCervices.js +0 -8
  381. package/dist/src/features/Cart/model/cartSlice.js +0 -58
  382. package/dist/src/features/Cart/model/selectors.js +0 -18
  383. package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
  384. package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
  385. package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
  386. package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
  387. package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
  388. package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
  389. package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
  390. package/dist/src/features/DataAdapter/utils/types.js +0 -8
  391. package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
  392. package/dist/src/features/MultiProduct/model/API/api.js +0 -18
  393. package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
  394. package/dist/src/features/MultiProduct/model/selectors.js +0 -7
  395. package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
  396. package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
  397. package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
  398. package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
  399. package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
  400. package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
  401. package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
  402. package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
  403. package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
  404. package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
  405. package/dist/src/features/MultiProduct/utils/constants.js +0 -16
  406. package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
  407. package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
  408. package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
  409. package/dist/src/features/swatches/model/selectors.js +0 -12
  410. package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
  411. package/dist/src/features/swatches/model/thunks.js +0 -22
  412. package/dist/src/features/swatches/model/types.js +0 -6
  413. package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
  414. package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
  415. package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
  416. package/dist/src/features/swatches/ui/Filters/index.js +0 -12
  417. package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
  418. package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
  419. package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
  420. package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
  421. package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
  422. package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
  423. package/dist/src/features/swatches/ui/Swatches.js +0 -51
  424. package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
  425. package/dist/src/features/swatches/utils/constants.js +0 -8
  426. package/dist/src/shared/constants/props.js +0 -13337
  427. package/dist/src/shared/constants/selectedMaterials.js +0 -4
  428. package/dist/src/shared/types/activeTab.js +0 -7
  429. package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
  430. package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
  431. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
  432. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
  433. package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
  434. package/dist/src/shared/ui/Label/Label.js +0 -27
  435. package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
  436. package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
  437. package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
  438. package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
  439. package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
  440. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
  441. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
  442. package/dist/src/shared/ui/Slider/Slider.js +0 -117
  443. package/dist/src/shared/utils/cn.js +0 -8
  444. package/dist/src/shared/utils/uniqueList.js +0 -4
@@ -1,43 +0,0 @@
1
- import { asciiAlpha as z, asciiAlphanumeric as a, asciiControl as E, asciiAtext as O } from "../../micromark-util-character/index.js";
2
- const b = {
3
- name: "autolink",
4
- tokenize: P
5
- };
6
- function P(r, l, t) {
7
- let i = 0;
8
- return p;
9
- function p(n) {
10
- return r.enter("autolink"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.enter("autolinkProtocol"), M;
11
- }
12
- function M(n) {
13
- return z(n) ? (r.consume(n), h) : n === 64 ? t(n) : u(n);
14
- }
15
- function h(n) {
16
- return n === 43 || n === 45 || n === 46 || a(n) ? (i = 1, m(n)) : u(n);
17
- }
18
- function m(n) {
19
- return n === 58 ? (r.consume(n), i = 0, k) : (n === 43 || n === 45 || n === 46 || a(n)) && i++ < 32 ? (r.consume(n), m) : (i = 0, u(n));
20
- }
21
- function k(n) {
22
- return n === 62 ? (r.exit("autolinkProtocol"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : n === null || n === 32 || n === 60 || E(n) ? t(n) : (r.consume(n), k);
23
- }
24
- function u(n) {
25
- return n === 64 ? (r.consume(n), o) : O(n) ? (r.consume(n), u) : t(n);
26
- }
27
- function o(n) {
28
- return a(n) ? x(n) : t(n);
29
- }
30
- function x(n) {
31
- return n === 46 ? (r.consume(n), i = 0, o) : n === 62 ? (r.exit("autolinkProtocol").type = "autolinkEmail", r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : A(n);
32
- }
33
- function A(n) {
34
- if ((n === 45 || a(n)) && i++ < 63) {
35
- const e = n === 45 ? A : x;
36
- return r.consume(n), e;
37
- }
38
- return t(n);
39
- }
40
- }
41
- export {
42
- b as autolink
43
- };
@@ -1,18 +0,0 @@
1
- import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
- import { markdownSpace as f, markdownLineEnding as u } from "../../micromark-util-character/index.js";
3
- const p = {
4
- partial: !0,
5
- tokenize: k
6
- };
7
- function k(t, i, e) {
8
- return a;
9
- function a(n) {
10
- return f(n) ? o(t, r, "linePrefix")(n) : r(n);
11
- }
12
- function r(n) {
13
- return n === null || u(n) ? i(n) : e(n);
14
- }
15
- }
16
- export {
17
- p as blankLine
18
- };
@@ -1,42 +0,0 @@
1
- import { factorySpace as l } from "../../micromark-factory-space/index.js";
2
- import { markdownSpace as a } from "../../micromark-util-character/index.js";
3
- const k = {
4
- continuation: {
5
- tokenize: Q
6
- },
7
- exit: b,
8
- name: "blockQuote",
9
- tokenize: x
10
- };
11
- function x(t, e, r) {
12
- const i = this;
13
- return u;
14
- function u(n) {
15
- if (n === 62) {
16
- const c = i.containerState;
17
- return c.open || (t.enter("blockQuote", {
18
- _container: !0
19
- }), c.open = !0), t.enter("blockQuotePrefix"), t.enter("blockQuoteMarker"), t.consume(n), t.exit("blockQuoteMarker"), o;
20
- }
21
- return r(n);
22
- }
23
- function o(n) {
24
- return a(n) ? (t.enter("blockQuotePrefixWhitespace"), t.consume(n), t.exit("blockQuotePrefixWhitespace"), t.exit("blockQuotePrefix"), e) : (t.exit("blockQuotePrefix"), e(n));
25
- }
26
- }
27
- function Q(t, e, r) {
28
- const i = this;
29
- return u;
30
- function u(n) {
31
- return a(n) ? l(t, o, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : o(n);
32
- }
33
- function o(n) {
34
- return t.attempt(k, e, r)(n);
35
- }
36
- }
37
- function b(t) {
38
- t.exit("blockQuote");
39
- }
40
- export {
41
- k as blockQuote
42
- };
@@ -1,17 +0,0 @@
1
- import { asciiPunctuation as i } from "../../micromark-util-character/index.js";
2
- const o = {
3
- name: "characterEscape",
4
- tokenize: u
5
- };
6
- function u(r, e, n) {
7
- return t;
8
- function t(a) {
9
- return r.enter("characterEscape"), r.enter("escapeMarker"), r.consume(a), r.exit("escapeMarker"), c;
10
- }
11
- function c(a) {
12
- return i(a) ? (r.enter("characterEscapeValue"), r.consume(a), r.exit("characterEscapeValue"), r.exit("characterEscape"), e) : n(a);
13
- }
14
- }
15
- export {
16
- o as characterEscape
17
- };
@@ -1,30 +0,0 @@
1
- import { decodeNamedCharacterReference as k } from "../../decode-named-character-reference/index.dom.js";
2
- import { asciiAlphanumeric as u, asciiHexDigit as M, asciiDigit as p } from "../../micromark-util-character/index.js";
3
- const N = {
4
- name: "characterReference",
5
- tokenize: z
6
- };
7
- function z(e, h, t) {
8
- const m = this;
9
- let i = 0, n, a;
10
- return R;
11
- function R(r) {
12
- return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), l;
13
- }
14
- function l(r) {
15
- return r === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(r), e.exit("characterReferenceMarkerNumeric"), o) : (e.enter("characterReferenceValue"), n = 31, a = u, c(r));
16
- }
17
- function o(r) {
18
- return r === 88 || r === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(r), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), n = 6, a = M, c) : (e.enter("characterReferenceValue"), n = 7, a = p, c(r));
19
- }
20
- function c(r) {
21
- if (r === 59 && i) {
22
- const x = e.exit("characterReferenceValue");
23
- return a === u && !k(m.sliceSerialize(x)) ? t(r) : (e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), e.exit("characterReference"), h);
24
- }
25
- return a(r) && i++ < n ? (e.consume(r), c) : t(r);
26
- }
27
- }
28
- export {
29
- N as characterReference
30
- };
@@ -1,94 +0,0 @@
1
- import { factorySpace as p } from "../../micromark-factory-space/index.js";
2
- import { markdownSpace as x, markdownLineEnding as u } from "../../micromark-util-character/index.js";
3
- const d = {
4
- partial: !0,
5
- tokenize: A
6
- }, G = {
7
- concrete: !0,
8
- name: "codeFenced",
9
- tokenize: V
10
- };
11
- function V(e, m, l) {
12
- const i = this, S = {
13
- partial: !0,
14
- tokenize: M
15
- };
16
- let c = 0, t = 0, o;
17
- return I;
18
- function I(n) {
19
- return L(n);
20
- }
21
- function L(n) {
22
- const a = i.events[i.events.length - 1];
23
- return c = a && a[1].type === "linePrefix" ? a[2].sliceSerialize(a[1], !0).length : 0, o = n, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), z(n);
24
- }
25
- function z(n) {
26
- return n === o ? (t++, e.consume(n), z) : t < 3 ? l(n) : (e.exit("codeFencedFenceSequence"), x(n) ? p(e, F, "whitespace")(n) : F(n));
27
- }
28
- function F(n) {
29
- return n === null || u(n) ? (e.exit("codeFencedFence"), i.interrupt ? m(n) : e.check(d, w, h)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
30
- contentType: "string"
31
- }), C(n));
32
- }
33
- function C(n) {
34
- return n === null || u(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), F(n)) : x(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(e, P, "whitespace")(n)) : n === 96 && n === o ? l(n) : (e.consume(n), C);
35
- }
36
- function P(n) {
37
- return n === null || u(n) ? F(n) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
38
- contentType: "string"
39
- }), q(n));
40
- }
41
- function q(n) {
42
- return n === null || u(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), F(n)) : n === 96 && n === o ? l(n) : (e.consume(n), q);
43
- }
44
- function w(n) {
45
- return e.attempt(S, h, O)(n);
46
- }
47
- function O(n) {
48
- return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), v;
49
- }
50
- function v(n) {
51
- return c > 0 && x(n) ? p(e, g, "linePrefix", c + 1)(n) : g(n);
52
- }
53
- function g(n) {
54
- return n === null || u(n) ? e.check(d, w, h)(n) : (e.enter("codeFlowValue"), y(n));
55
- }
56
- function y(n) {
57
- return n === null || u(n) ? (e.exit("codeFlowValue"), g(n)) : (e.consume(n), y);
58
- }
59
- function h(n) {
60
- return e.exit("codeFenced"), m(n);
61
- }
62
- function M(n, a, k) {
63
- let E = 0;
64
- return N;
65
- function N(r) {
66
- return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), T;
67
- }
68
- function T(r) {
69
- return n.enter("codeFencedFence"), x(r) ? p(n, s, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(r) : s(r);
70
- }
71
- function s(r) {
72
- return r === o ? (n.enter("codeFencedFenceSequence"), B(r)) : k(r);
73
- }
74
- function B(r) {
75
- return r === o ? (E++, n.consume(r), B) : E >= t ? (n.exit("codeFencedFenceSequence"), x(r) ? p(n, b, "whitespace")(r) : b(r)) : k(r);
76
- }
77
- function b(r) {
78
- return r === null || u(r) ? (n.exit("codeFencedFence"), a(r)) : k(r);
79
- }
80
- }
81
- }
82
- function A(e, m, l) {
83
- const i = this;
84
- return S;
85
- function S(t) {
86
- return t === null ? l(t) : (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c);
87
- }
88
- function c(t) {
89
- return i.parser.lazy[i.now().line] ? l(t) : m(t);
90
- }
91
- }
92
- export {
93
- G as codeFenced
94
- };
@@ -1,43 +0,0 @@
1
- import { factorySpace as h } from "../../micromark-factory-space/index.js";
2
- import { markdownLineEnding as o } from "../../micromark-util-character/index.js";
3
- const P = {
4
- name: "codeIndented",
5
- tokenize: p
6
- }, m = {
7
- partial: !0,
8
- tokenize: d
9
- };
10
- function p(e, f, l) {
11
- const r = this;
12
- return u;
13
- function u(n) {
14
- return e.enter("codeIndented"), h(e, s, "linePrefix", 5)(n);
15
- }
16
- function s(n) {
17
- const a = r.events[r.events.length - 1];
18
- return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(n) : l(n);
19
- }
20
- function t(n) {
21
- return n === null ? x(n) : o(n) ? e.attempt(m, t, x)(n) : (e.enter("codeFlowValue"), i(n));
22
- }
23
- function i(n) {
24
- return n === null || o(n) ? (e.exit("codeFlowValue"), t(n)) : (e.consume(n), i);
25
- }
26
- function x(n) {
27
- return e.exit("codeIndented"), f(n);
28
- }
29
- }
30
- function d(e, f, l) {
31
- const r = this;
32
- return u;
33
- function u(t) {
34
- return r.parser.lazy[r.now().line] ? l(t) : o(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), u) : h(e, s, "linePrefix", 5)(t);
35
- }
36
- function s(t) {
37
- const i = r.events[r.events.length - 1];
38
- return i && i[1].type === "linePrefix" && i[2].sliceSerialize(i[1], !0).length >= 4 ? f(t) : o(t) ? u(t) : l(t);
39
- }
40
- }
41
- export {
42
- P as codeIndented
43
- };
@@ -1,45 +0,0 @@
1
- import { markdownLineEnding as d } from "../../micromark-util-character/index.js";
2
- const m = {
3
- name: "codeText",
4
- previous: g,
5
- resolve: y,
6
- tokenize: E
7
- };
8
- function y(e) {
9
- let r = e.length - 4, u = 3, t, i;
10
- if ((e[u][1].type === "lineEnding" || e[u][1].type === "space") && (e[r][1].type === "lineEnding" || e[r][1].type === "space")) {
11
- for (t = u; ++t < r; )
12
- if (e[t][1].type === "codeTextData") {
13
- e[u][1].type = "codeTextPadding", e[r][1].type = "codeTextPadding", u += 2, r -= 2;
14
- break;
15
- }
16
- }
17
- for (t = u - 1, r++; ++t <= r; )
18
- i === void 0 ? t !== r && e[t][1].type !== "lineEnding" && (i = t) : (t === r || e[t][1].type === "lineEnding") && (e[i][1].type = "codeTextData", t !== i + 2 && (e[i][1].end = e[t - 1][1].end, e.splice(i + 2, t - i - 2), r -= t - i - 2, t = i + 2), i = void 0);
19
- return e;
20
- }
21
- function g(e) {
22
- return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
23
- }
24
- function E(e, r, u) {
25
- let t = 0, i, l;
26
- return T;
27
- function T(n) {
28
- return e.enter("codeText"), e.enter("codeTextSequence"), o(n);
29
- }
30
- function o(n) {
31
- return n === 96 ? (e.consume(n), t++, o) : (e.exit("codeTextSequence"), x(n));
32
- }
33
- function x(n) {
34
- return n === null ? u(n) : n === 32 ? (e.enter("space"), e.consume(n), e.exit("space"), x) : n === 96 ? (l = e.enter("codeTextSequence"), i = 0, p(n)) : d(n) ? (e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), x) : (e.enter("codeTextData"), a(n));
35
- }
36
- function a(n) {
37
- return n === null || n === 32 || n === 96 || d(n) ? (e.exit("codeTextData"), x(n)) : (e.consume(n), a);
38
- }
39
- function p(n) {
40
- return n === 96 ? (e.consume(n), i++, p) : i === t ? (e.exit("codeTextSequence"), e.exit("codeText"), r(n)) : (l.type = "codeTextData", a(n));
41
- }
42
- }
43
- export {
44
- m as codeText
45
- };
@@ -1,50 +0,0 @@
1
- import { factorySpace as a } from "../../micromark-factory-space/index.js";
2
- import { markdownLineEnding as l } from "../../micromark-util-character/index.js";
3
- import { subtokenize as p } from "../../micromark-util-subtokenize/index.js";
4
- const d = {
5
- resolve: s,
6
- tokenize: h
7
- }, k = {
8
- partial: !0,
9
- tokenize: x
10
- };
11
- function s(n) {
12
- return p(n), n;
13
- }
14
- function h(n, u) {
15
- let r;
16
- return i;
17
- function i(t) {
18
- return n.enter("content"), r = n.enter("chunkContent", {
19
- contentType: "content"
20
- }), o(t);
21
- }
22
- function o(t) {
23
- return t === null ? c(t) : l(t) ? n.check(k, e, c)(t) : (n.consume(t), o);
24
- }
25
- function c(t) {
26
- return n.exit("chunkContent"), n.exit("content"), u(t);
27
- }
28
- function e(t) {
29
- return n.consume(t), n.exit("chunkContent"), r.next = n.enter("chunkContent", {
30
- contentType: "content",
31
- previous: r
32
- }), r = r.next, o;
33
- }
34
- }
35
- function x(n, u, r) {
36
- const i = this;
37
- return o;
38
- function o(e) {
39
- return n.exit("chunkContent"), n.enter("lineEnding"), n.consume(e), n.exit("lineEnding"), a(n, c, "linePrefix");
40
- }
41
- function c(e) {
42
- if (e === null || l(e))
43
- return r(e);
44
- const t = i.events[i.events.length - 1];
45
- return !i.parser.constructs.disable.null.includes("codeIndented") && t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? u(e) : n.interrupt(i.parser.constructs.flow, r, u)(e);
46
- }
47
- }
48
- export {
49
- d as content
50
- };
@@ -1,80 +0,0 @@
1
- import { factoryDestination as D } from "../../micromark-factory-destination/index.js";
2
- import { factoryLabel as S } from "../../micromark-factory-label/index.js";
3
- import { factorySpace as s } from "../../micromark-factory-space/index.js";
4
- import { factoryTitle as g } from "../../micromark-factory-title/index.js";
5
- import { factoryWhitespace as d } from "../../micromark-factory-whitespace/index.js";
6
- import { markdownLineEndingOrSpace as k, markdownSpace as h, markdownLineEnding as L } from "../../micromark-util-character/index.js";
7
- import { normalizeIdentifier as w } from "../../micromark-util-normalize-identifier/index.js";
8
- const O = {
9
- name: "definition",
10
- tokenize: M
11
- }, z = {
12
- partial: !0,
13
- tokenize: y
14
- };
15
- function M(t, f, e) {
16
- const r = this;
17
- let o;
18
- return u;
19
- function u(i) {
20
- return t.enter("definition"), a(i);
21
- }
22
- function a(i) {
23
- return S.call(
24
- r,
25
- t,
26
- n,
27
- // Note: we don’t need to reset the way `markdown-rs` does.
28
- e,
29
- "definitionLabel",
30
- "definitionLabelMarker",
31
- "definitionLabelString"
32
- )(i);
33
- }
34
- function n(i) {
35
- return o = w(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), i === 58 ? (t.enter("definitionMarker"), t.consume(i), t.exit("definitionMarker"), b) : e(i);
36
- }
37
- function b(i) {
38
- return k(i) ? d(t, l)(i) : l(i);
39
- }
40
- function l(i) {
41
- return D(
42
- t,
43
- c,
44
- // Note: we don’t need to reset the way `markdown-rs` does.
45
- e,
46
- "definitionDestination",
47
- "definitionDestinationLiteral",
48
- "definitionDestinationLiteralMarker",
49
- "definitionDestinationRaw",
50
- "definitionDestinationString"
51
- )(i);
52
- }
53
- function c(i) {
54
- return t.attempt(z, m, m)(i);
55
- }
56
- function m(i) {
57
- return h(i) ? s(t, p, "whitespace")(i) : p(i);
58
- }
59
- function p(i) {
60
- return i === null || L(i) ? (t.exit("definition"), r.parser.defined.push(o), f(i)) : e(i);
61
- }
62
- }
63
- function y(t, f, e) {
64
- return r;
65
- function r(n) {
66
- return k(n) ? d(t, o)(n) : e(n);
67
- }
68
- function o(n) {
69
- return g(t, u, e, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(n);
70
- }
71
- function u(n) {
72
- return h(n) ? s(t, a, "whitespace")(n) : a(n);
73
- }
74
- function a(n) {
75
- return n === null || L(n) ? f(n) : e(n);
76
- }
77
- }
78
- export {
79
- O as definition
80
- };
@@ -1,17 +0,0 @@
1
- import { markdownLineEnding as o } from "../../micromark-util-character/index.js";
2
- const p = {
3
- name: "hardBreakEscape",
4
- tokenize: k
5
- };
6
- function k(e, n, a) {
7
- return t;
8
- function t(r) {
9
- return e.enter("hardBreakEscape"), e.consume(r), i;
10
- }
11
- function i(r) {
12
- return o(r) ? (e.exit("hardBreakEscape"), n(r)) : a(r);
13
- }
14
- }
15
- export {
16
- p as hardBreakEscape
17
- };
@@ -1,46 +0,0 @@
1
- import { factorySpace as H } from "../../micromark-factory-space/index.js";
2
- import { markdownLineEndingOrSpace as m, markdownLineEnding as o, markdownSpace as h } from "../../micromark-util-character/index.js";
3
- import { splice as S } from "../../micromark-util-chunked/index.js";
4
- const T = {
5
- name: "headingAtx",
6
- resolve: y,
7
- tokenize: d
8
- };
9
- function y(t, i) {
10
- let e = t.length - 2, r = 3, a, u;
11
- return t[r][1].type === "whitespace" && (r += 2), e - 2 > r && t[e][1].type === "whitespace" && (e -= 2), t[e][1].type === "atxHeadingSequence" && (r === e - 1 || e - 4 > r && t[e - 2][1].type === "whitespace") && (e -= r + 1 === e ? 2 : 4), e > r && (a = {
12
- type: "atxHeadingText",
13
- start: t[r][1].start,
14
- end: t[e][1].end
15
- }, u = {
16
- type: "chunkText",
17
- start: t[r][1].start,
18
- end: t[e][1].end,
19
- contentType: "text"
20
- }, S(t, r, e - r + 1, [["enter", a, i], ["enter", u, i], ["exit", u, i], ["exit", a, i]])), t;
21
- }
22
- function d(t, i, e) {
23
- let r = 0;
24
- return a;
25
- function a(n) {
26
- return t.enter("atxHeading"), u(n);
27
- }
28
- function u(n) {
29
- return t.enter("atxHeadingSequence"), p(n);
30
- }
31
- function p(n) {
32
- return n === 35 && r++ < 6 ? (t.consume(n), p) : n === null || m(n) ? (t.exit("atxHeadingSequence"), x(n)) : e(n);
33
- }
34
- function x(n) {
35
- return n === 35 ? (t.enter("atxHeadingSequence"), g(n)) : n === null || o(n) ? (t.exit("atxHeading"), i(n)) : h(n) ? H(t, x, "whitespace")(n) : (t.enter("atxHeadingText"), l(n));
36
- }
37
- function g(n) {
38
- return n === 35 ? (t.consume(n), g) : (t.exit("atxHeadingSequence"), x(n));
39
- }
40
- function l(n) {
41
- return n === null || n === 35 || m(n) ? (t.exit("atxHeadingText"), x(n)) : (t.consume(n), l);
42
- }
43
- }
44
- export {
45
- T as headingAtx
46
- };
@@ -1,144 +0,0 @@
1
- import { asciiAlpha as g, markdownLineEndingOrSpace as V, asciiAlphanumeric as R, markdownSpace as h, markdownLineEnding as p } from "../../micromark-util-character/index.js";
2
- import { htmlRawNames as H, htmlBlockNames as _ } from "../../micromark-util-html-tag-name/index.js";
3
- import { blankLine as $ } from "./blank-line.js";
4
- const an = {
5
- concrete: !0,
6
- name: "htmlFlow",
7
- resolveTo: c,
8
- tokenize: d
9
- }, k = {
10
- partial: !0,
11
- tokenize: rn
12
- }, v = {
13
- partial: !0,
14
- tokenize: nn
15
- };
16
- function c(r) {
17
- let t = r.length;
18
- for (; t-- && !(r[t][0] === "enter" && r[t][1].type === "htmlFlow"); )
19
- ;
20
- return t > 1 && r[t - 2][1].type === "linePrefix" && (r[t][1].start = r[t - 2][1].start, r[t + 1][1].start = r[t - 2][1].start, r.splice(t - 2, 2)), r;
21
- }
22
- function d(r, t, i) {
23
- const a = this;
24
- let u, s, l, A, b;
25
- return Q;
26
- function Q(n) {
27
- return q(n);
28
- }
29
- function q(n) {
30
- return r.enter("htmlFlow"), r.enter("htmlFlowData"), r.consume(n), P;
31
- }
32
- function P(n) {
33
- return n === 33 ? (r.consume(n), U) : n === 47 ? (r.consume(n), s = !0, j) : n === 63 ? (r.consume(n), u = 3, a.interrupt ? t : e) : g(n) ? (r.consume(n), l = String.fromCharCode(n), F) : i(n);
34
- }
35
- function U(n) {
36
- return n === 45 ? (r.consume(n), u = 2, f) : n === 91 ? (r.consume(n), u = 5, A = 0, E) : g(n) ? (r.consume(n), u = 4, a.interrupt ? t : e) : i(n);
37
- }
38
- function f(n) {
39
- return n === 45 ? (r.consume(n), a.interrupt ? t : e) : i(n);
40
- }
41
- function E(n) {
42
- const o = "CDATA[";
43
- return n === o.charCodeAt(A++) ? (r.consume(n), A === o.length ? a.interrupt ? t : m : E) : i(n);
44
- }
45
- function j(n) {
46
- return g(n) ? (r.consume(n), l = String.fromCharCode(n), F) : i(n);
47
- }
48
- function F(n) {
49
- if (n === null || n === 47 || n === 62 || V(n)) {
50
- const o = n === 47, Z = l.toLowerCase();
51
- return !o && !s && H.includes(Z) ? (u = 1, a.interrupt ? t(n) : m(n)) : _.includes(l.toLowerCase()) ? (u = 6, o ? (r.consume(n), G) : a.interrupt ? t(n) : m(n)) : (u = 7, a.interrupt && !a.parser.lazy[a.now().line] ? i(n) : s ? B(n) : w(n));
52
- }
53
- return n === 45 || R(n) ? (r.consume(n), l += String.fromCharCode(n), F) : i(n);
54
- }
55
- function G(n) {
56
- return n === 62 ? (r.consume(n), a.interrupt ? t : m) : i(n);
57
- }
58
- function B(n) {
59
- return h(n) ? (r.consume(n), B) : x(n);
60
- }
61
- function w(n) {
62
- return n === 47 ? (r.consume(n), x) : n === 58 || n === 95 || g(n) ? (r.consume(n), N) : h(n) ? (r.consume(n), w) : x(n);
63
- }
64
- function N(n) {
65
- return n === 45 || n === 46 || n === 58 || n === 95 || R(n) ? (r.consume(n), N) : S(n);
66
- }
67
- function S(n) {
68
- return n === 61 ? (r.consume(n), y) : h(n) ? (r.consume(n), S) : w(n);
69
- }
70
- function y(n) {
71
- return n === null || n === 60 || n === 61 || n === 62 || n === 96 ? i(n) : n === 34 || n === 39 ? (r.consume(n), b = n, D) : h(n) ? (r.consume(n), y) : T(n);
72
- }
73
- function D(n) {
74
- return n === b ? (r.consume(n), b = null, J) : n === null || p(n) ? i(n) : (r.consume(n), D);
75
- }
76
- function T(n) {
77
- return n === null || n === 34 || n === 39 || n === 47 || n === 60 || n === 61 || n === 62 || n === 96 || V(n) ? S(n) : (r.consume(n), T);
78
- }
79
- function J(n) {
80
- return n === 47 || n === 62 || h(n) ? w(n) : i(n);
81
- }
82
- function x(n) {
83
- return n === 62 ? (r.consume(n), I) : i(n);
84
- }
85
- function I(n) {
86
- return n === null || p(n) ? m(n) : h(n) ? (r.consume(n), I) : i(n);
87
- }
88
- function m(n) {
89
- return n === 45 && u === 2 ? (r.consume(n), W) : n === 60 && u === 1 ? (r.consume(n), X) : n === 62 && u === 4 ? (r.consume(n), C) : n === 63 && u === 3 ? (r.consume(n), e) : n === 93 && u === 5 ? (r.consume(n), Y) : p(n) && (u === 6 || u === 7) ? (r.exit("htmlFlowData"), r.check(k, L, z)(n)) : n === null || p(n) ? (r.exit("htmlFlowData"), z(n)) : (r.consume(n), m);
90
- }
91
- function z(n) {
92
- return r.check(v, K, L)(n);
93
- }
94
- function K(n) {
95
- return r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), M;
96
- }
97
- function M(n) {
98
- return n === null || p(n) ? z(n) : (r.enter("htmlFlowData"), m(n));
99
- }
100
- function W(n) {
101
- return n === 45 ? (r.consume(n), e) : m(n);
102
- }
103
- function X(n) {
104
- return n === 47 ? (r.consume(n), l = "", O) : m(n);
105
- }
106
- function O(n) {
107
- if (n === 62) {
108
- const o = l.toLowerCase();
109
- return H.includes(o) ? (r.consume(n), C) : m(n);
110
- }
111
- return g(n) && l.length < 8 ? (r.consume(n), l += String.fromCharCode(n), O) : m(n);
112
- }
113
- function Y(n) {
114
- return n === 93 ? (r.consume(n), e) : m(n);
115
- }
116
- function e(n) {
117
- return n === 62 ? (r.consume(n), C) : n === 45 && u === 2 ? (r.consume(n), e) : m(n);
118
- }
119
- function C(n) {
120
- return n === null || p(n) ? (r.exit("htmlFlowData"), L(n)) : (r.consume(n), C);
121
- }
122
- function L(n) {
123
- return r.exit("htmlFlow"), t(n);
124
- }
125
- }
126
- function nn(r, t, i) {
127
- const a = this;
128
- return u;
129
- function u(l) {
130
- return p(l) ? (r.enter("lineEnding"), r.consume(l), r.exit("lineEnding"), s) : i(l);
131
- }
132
- function s(l) {
133
- return a.parser.lazy[a.now().line] ? i(l) : t(l);
134
- }
135
- }
136
- function rn(r, t, i) {
137
- return a;
138
- function a(u) {
139
- return r.enter("lineEnding"), r.consume(u), r.exit("lineEnding"), r.attempt($, t, i);
140
- }
141
- }
142
- export {
143
- an as htmlFlow
144
- };