@billgangcom/theme-lib 1.110.4 → 1.110.5

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 (413) hide show
  1. package/dist/{App-txB8kbk7.cjs → App-BwVII14K.cjs} +1 -1
  2. package/dist/{App-Clwk7ILO.js → App-ytDoD626.js} +21 -21
  3. package/dist/{builder-4Ke7cjNO.cjs → builder-BLDXBzNl.cjs} +2 -2
  4. package/dist/{builder-CtBMhTyK.js → builder-C64dSizd.js} +5 -5
  5. package/dist/{builder-components-Dz2YlUqA.cjs → builder-components-DHTh1VoV.cjs} +1 -1
  6. package/dist/{builder-components-Bm7ta9iB.js → builder-components-FfKRBcLk.js} +4 -4
  7. package/dist/builder.cjs.js +1 -1
  8. package/dist/builder.es.js +3 -3
  9. package/dist/{charge-C5z1ecd1.cjs → charge-BHULUGTw.cjs} +1 -1
  10. package/dist/{charge-APYiCYYq.js → charge-BcGATQ-j.js} +6 -6
  11. package/dist/{checkout-Bher7FGW.cjs → checkout-C_l1R6-u.cjs} +1 -1
  12. package/dist/{checkout-D3Mpwqsj.js → checkout-DzoPtqLk.js} +5 -5
  13. package/dist/exports.cjs.js +1 -1
  14. package/dist/exports.es.js +6 -6
  15. package/dist/{index-Da1yGZge.js → index-BLcplkmB.js} +1 -1
  16. package/dist/{index-B1QfR20x.cjs → index-BWeBpiO8.cjs} +1 -1
  17. package/dist/{index-kt3o_lGR.js → index-Bj_McHvo.js} +5 -5
  18. package/dist/{index-BMaA9qqZ.cjs → index-C23qWl0W.cjs} +1 -1
  19. package/dist/{index-C8snA9wm.js → index-C2mw0EhF.js} +5 -5
  20. package/dist/{index-DjOTY2Jm.js → index-Cl9CSdbF.js} +5 -5
  21. package/dist/{index-mEkddX3U.cjs → index-DugPvosX.cjs} +1 -1
  22. package/dist/{index-BAFG_paG.js → index-DyfD4eoN.js} +5 -5
  23. package/dist/{index-DgsmVqD7.cjs → index-T0XXq2pq.cjs} +1 -1
  24. package/dist/{index-Crr7n_oM.cjs → index-T7iWZCzU.cjs} +1 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.d.ts +22 -0
  27. package/dist/index.es.js +7 -7
  28. package/dist/{order-BDiqGe6L.cjs → order-_mx45K-F.cjs} +1 -1
  29. package/dist/{order-DLMk34KA.js → order-rZVNwk6i.js} +5 -5
  30. package/dist/src/App.d.ts +18 -0
  31. package/dist/src/abstractions/IBlock.d.ts +14 -0
  32. package/dist/src/abstractions/ISettings.d.ts +3 -0
  33. package/dist/src/abstractions/PageContext.d.ts +121 -0
  34. package/dist/src/abstractions/Variable.d.ts +28 -0
  35. package/dist/src/abstractions/color-variables.d.ts +48 -0
  36. package/dist/src/abstractions/index.d.ts +4 -0
  37. package/dist/src/api/constants.d.ts +8 -0
  38. package/dist/src/api/index.d.ts +2 -0
  39. package/dist/src/api/request.d.ts +17 -0
  40. package/dist/src/assets/icon-registry/IconRegistry.d.ts +22 -0
  41. package/dist/src/assets/icon-registry/libraryIcons.d.ts +1 -0
  42. package/dist/src/assets/icon-registry/runtime.d.ts +8 -0
  43. package/dist/src/assets/icons/index.d.ts +3 -0
  44. package/dist/src/assets/storefront-icons/index.d.ts +23 -0
  45. package/dist/src/builder/api/fetchAll.d.ts +1 -0
  46. package/dist/src/builder/api/fetchData.d.ts +14 -0
  47. package/dist/src/builder/api/fetchFontsData.d.ts +1 -0
  48. package/dist/src/builder/api/fetchPagesData.d.ts +1 -0
  49. package/dist/src/builder/api/index.d.ts +4 -0
  50. package/dist/src/builder/components/AddSections/index.d.ts +5 -0
  51. package/dist/src/builder/components/AddSections/utils/index.d.ts +5 -0
  52. package/dist/src/builder/components/AddSectionsBlock/index.d.ts +7 -0
  53. package/dist/src/builder/components/BlockColors/index.d.ts +7 -0
  54. package/dist/src/builder/components/BlockSettings/index.d.ts +2 -0
  55. package/dist/src/builder/components/BlockSettings/settings.d.ts +7 -0
  56. package/dist/src/builder/components/BlockSettingsHeader/index.d.ts +8 -0
  57. package/dist/src/builder/components/ExitButton/index.d.ts +5 -0
  58. package/dist/src/builder/components/Header/index.d.ts +5 -0
  59. package/dist/src/builder/components/HeaderButtons/index.d.ts +5 -0
  60. package/dist/src/builder/components/HeaderDevices/index.d.ts +5 -0
  61. package/dist/src/builder/components/HeaderPreviewButton/index.d.ts +5 -0
  62. package/dist/src/builder/components/HeaderSaveButton/api/index.d.ts +2 -0
  63. package/dist/src/builder/components/HeaderSaveButton/index.d.ts +7 -0
  64. package/dist/src/builder/components/HeaderSaveButton/utils/index.d.ts +6 -0
  65. package/dist/src/builder/components/HeaderSettings/index.d.ts +4 -0
  66. package/dist/src/builder/components/HeaderSettingsLanguage/index.d.ts +4 -0
  67. package/dist/src/builder/components/HeaderSettingsPages/api/index.d.ts +1 -0
  68. package/dist/src/builder/components/HeaderSettingsPages/index.d.ts +5 -0
  69. package/dist/src/builder/components/HeaderSettingsZoom/index.d.ts +5 -0
  70. package/dist/src/builder/components/HeaderSwitchTheme/index.d.ts +4 -0
  71. package/dist/src/builder/components/ModifyPage/index.d.ts +5 -0
  72. package/dist/src/builder/components/Navbar/index.d.ts +1 -0
  73. package/dist/src/builder/components/Preview/index.d.ts +2 -0
  74. package/dist/src/builder/components/PreviewBlockSidebar/index.d.ts +2 -0
  75. package/dist/src/builder/components/PreviewContent/index.d.ts +6 -0
  76. package/dist/src/builder/components/PreviewHeader/index.d.ts +2 -0
  77. package/dist/src/builder/components/Sidebar/index.d.ts +4 -0
  78. package/dist/src/builder/components/SidebarLayer/index.d.ts +7 -0
  79. package/dist/src/builder/components/SidebarLayers/index.d.ts +10 -0
  80. package/dist/src/builder/components/SidebarSettings/index.d.ts +2 -0
  81. package/dist/src/builder/components/SidebarTheme/index.d.ts +4 -0
  82. package/dist/src/builder/components/ThemeSettings/index.d.ts +4 -0
  83. package/dist/src/builder/components/ThemeSettingsBorders/index.d.ts +5 -0
  84. package/dist/src/builder/components/ThemeSettingsButtons/index.d.ts +5 -0
  85. package/dist/src/builder/components/ThemeSettingsCategories/index.d.ts +1 -0
  86. package/dist/src/builder/components/ThemeSettingsColors/index.d.ts +5 -0
  87. package/dist/src/builder/components/ThemeSettingsColors/utils/getDuplicateColors.d.ts +2 -0
  88. package/dist/src/builder/components/ThemeSettingsColors/utils/index.d.ts +1 -0
  89. package/dist/src/builder/components/ThemeSettingsCurrentColors/index.d.ts +5 -0
  90. package/dist/src/builder/components/ThemeSettingsCurrentColors/tip.d.ts +5 -0
  91. package/dist/src/builder/components/ThemeSettingsCurrentFont/index.d.ts +5 -0
  92. package/dist/src/builder/components/ThemeSettingsFonts/index.d.ts +5 -0
  93. package/dist/src/builder/components/ThemeSettingsHeaderItem/index.d.ts +7 -0
  94. package/dist/src/builder/components/ThemeSettingsInputs/index.d.ts +5 -0
  95. package/dist/src/builder/constants/block-icons.d.ts +18 -0
  96. package/dist/src/builder/index.d.ts +10 -0
  97. package/dist/src/builder/layout.d.ts +5 -0
  98. package/dist/src/builder/store/index.d.ts +6 -0
  99. package/dist/src/builder/store/useColorPickerStore.d.ts +53 -0
  100. package/dist/src/builder/store/useDeviceStore.d.ts +7 -0
  101. package/dist/src/builder/store/useFontsStore.d.ts +20 -0
  102. package/dist/src/builder/store/useLayoutStore.d.ts +7 -0
  103. package/dist/src/builder/store/useSubmodalStore.d.ts +21 -0
  104. package/dist/src/builder/store/useTooltipStore.d.ts +6 -0
  105. package/dist/src/builder/ui/AnimatedPanel/index.d.ts +7 -0
  106. package/dist/src/builder/ui/ColorPicker/index.d.ts +11 -0
  107. package/dist/src/builder/ui/ColorPicker/modal.d.ts +2 -0
  108. package/dist/src/builder/ui/Loader/index.d.ts +1 -0
  109. package/dist/src/builder/ui/Notification/index.d.ts +13 -0
  110. package/dist/src/builder/ui/Picker/index.d.ts +9 -0
  111. package/dist/src/builder/ui/Radio/index.d.ts +13 -0
  112. package/dist/src/builder/ui/Submodal/index.d.ts +10 -0
  113. package/dist/src/builder/ui/Tooltip/index.d.ts +6 -0
  114. package/dist/src/builder/utils/formatLabel.d.ts +1 -0
  115. package/dist/src/builder/utils/getDisplayName.d.ts +1 -0
  116. package/dist/src/builder/utils/getModalPosition.d.ts +4 -0
  117. package/dist/src/builder/utils/index.d.ts +3 -0
  118. package/dist/src/components/lazy-pages.d.ts +22 -0
  119. package/dist/src/constants/aspectRatio.d.ts +11 -0
  120. package/dist/src/constants/blocks.d.ts +79 -0
  121. package/dist/src/constants/color-variables.d.ts +48 -0
  122. package/dist/src/constants/device.d.ts +6 -0
  123. package/dist/src/constants/font.d.ts +3 -0
  124. package/dist/src/constants/icon.d.ts +2 -0
  125. package/dist/src/constants/index.d.ts +13 -0
  126. package/dist/src/constants/local-host.d.ts +1 -0
  127. package/dist/src/constants/navbar.d.ts +8 -0
  128. package/dist/src/constants/notification.d.ts +16 -0
  129. package/dist/src/constants/pages.d.ts +22 -0
  130. package/dist/src/constants/radius-variables.d.ts +15 -0
  131. package/dist/src/constants/text-font-keys.d.ts +3 -0
  132. package/dist/src/constants/theme-settings.d.ts +154 -0
  133. package/dist/src/exports.d.ts +17 -0
  134. package/dist/src/hooks/useIconRegistration.d.ts +37 -0
  135. package/dist/src/lib/createTicket.d.ts +1 -0
  136. package/dist/src/lib/generateDynamicStyles.d.ts +2 -0
  137. package/dist/src/lib/getDynamicRoutes.d.ts +1 -0
  138. package/dist/src/lib/hotReload.d.ts +1 -0
  139. package/dist/src/lib/index.d.ts +9 -0
  140. package/dist/src/lib/injectStylesToDOM.d.ts +1 -0
  141. package/dist/src/lib/loadCustomFonts.d.ts +1 -0
  142. package/dist/src/lib/setupDynamicFonts.d.ts +2 -0
  143. package/dist/src/lib/splitTextIntoSpans.d.ts +1 -0
  144. package/dist/src/lib/useBuilderPages.d.ts +1 -0
  145. package/dist/src/main.d.ts +1 -0
  146. package/dist/src/pages/active-page/index.d.ts +5 -0
  147. package/dist/src/pages/balance/balance-modal.d.ts +6 -0
  148. package/dist/src/pages/balance/index.d.ts +1 -0
  149. package/dist/src/pages/balance/model.d.ts +6 -0
  150. package/dist/src/pages/builder/index.d.ts +12 -0
  151. package/dist/src/pages/builder/utils/index.d.ts +1 -0
  152. package/dist/src/pages/charge/index.d.ts +1 -0
  153. package/dist/src/pages/checkout/index.d.ts +2 -0
  154. package/dist/src/pages/checkout/model.d.ts +1 -0
  155. package/dist/src/pages/dynamic-error-page/index.d.ts +2 -0
  156. package/dist/src/pages/dynamic-page/api/index.d.ts +1 -0
  157. package/dist/src/pages/dynamic-page/index.d.ts +6 -0
  158. package/dist/src/pages/error-page/api/index.d.ts +7 -0
  159. package/dist/src/pages/error-page/index.d.ts +1 -0
  160. package/dist/src/pages/home/index.d.ts +6 -0
  161. package/dist/src/pages/home/model.d.ts +26 -0
  162. package/dist/src/pages/maintenance/index.d.ts +2 -0
  163. package/dist/src/pages/not-found-page/index.d.ts +2 -0
  164. package/dist/src/pages/order/index.d.ts +1 -0
  165. package/dist/src/pages/order/model.d.ts +92 -0
  166. package/dist/src/pages/orders/index.d.ts +1 -0
  167. package/dist/src/pages/orders/model.d.ts +4 -0
  168. package/dist/src/pages/rewards/index.d.ts +6 -0
  169. package/dist/src/pages/router-error-page/index.d.ts +3 -0
  170. package/dist/src/pages/subscription/index.d.ts +1 -0
  171. package/dist/src/pages/subscription/model.d.ts +1 -0
  172. package/dist/src/pages/subscriptions/index.d.ts +1 -0
  173. package/dist/src/pages/subscriptions/model.d.ts +6 -0
  174. package/dist/src/pages/ticket/index.d.ts +1 -0
  175. package/dist/src/pages/ticket/model.d.ts +24 -0
  176. package/dist/src/pages/tickets/index.d.ts +1 -0
  177. package/dist/src/pages/tickets/model.d.ts +21 -0
  178. package/dist/src/pages/top-up-balance/index.d.ts +1 -0
  179. package/dist/src/pages/validation/index.d.ts +5 -0
  180. package/dist/src/pages/wrapper-page/index.d.ts +2 -0
  181. package/dist/src/shared/constants/aspect-ratio.d.ts +11 -0
  182. package/dist/src/shared/constants/color-variables.d.ts +48 -0
  183. package/dist/src/shared/constants/icon.d.ts +2 -0
  184. package/dist/src/shared/constants/index.d.ts +5 -0
  185. package/dist/src/shared/constants/notification.d.ts +16 -0
  186. package/dist/src/shared/constants/text-font-keys.d.ts +3 -0
  187. package/dist/src/storefront/api/auth.d.ts +22 -0
  188. package/dist/src/storefront/api/charge.d.ts +1 -0
  189. package/dist/src/storefront/api/coupon.d.ts +2 -0
  190. package/dist/src/storefront/api/customer.d.ts +6 -0
  191. package/dist/src/storefront/api/discord.d.ts +8 -0
  192. package/dist/src/storefront/api/fetchGatewaysDetail.d.ts +1 -0
  193. package/dist/src/storefront/api/fetchGeneral.d.ts +1 -0
  194. package/dist/src/storefront/api/fetchThemeAndSettings.d.ts +1 -0
  195. package/dist/src/storefront/api/fetchWithPages.d.ts +11 -0
  196. package/dist/src/storefront/api/index.d.ts +19 -0
  197. package/dist/src/storefront/api/order.d.ts +14 -0
  198. package/dist/src/storefront/api/postBalanceTopUp.d.ts +2 -0
  199. package/dist/src/storefront/api/postCashappLink.d.ts +3 -0
  200. package/dist/src/storefront/api/referral.d.ts +3 -0
  201. package/dist/src/storefront/api/reviews.d.ts +2 -0
  202. package/dist/src/storefront/api/rewards.d.ts +2 -0
  203. package/dist/src/storefront/api/signUpReferral.d.ts +2 -0
  204. package/dist/src/storefront/api/store.d.ts +6 -0
  205. package/dist/src/storefront/api/subscription.d.ts +22 -0
  206. package/dist/src/storefront/api/ticket.d.ts +7 -0
  207. package/dist/src/storefront/api/transactions.d.ts +5 -0
  208. package/dist/src/storefront/components/ActivePaymentMethod/index.d.ts +2 -0
  209. package/dist/src/storefront/components/ActiveSubscriptionProduct/index.d.ts +9 -0
  210. package/dist/src/storefront/components/Auth/index.d.ts +11 -0
  211. package/dist/src/storefront/components/Auth/otp-input.d.ts +7 -0
  212. package/dist/src/storefront/components/AuthModal/index.d.ts +6 -0
  213. package/dist/src/storefront/components/CancelSubscription/index.d.ts +8 -0
  214. package/dist/src/storefront/components/CashAppVerify/index.d.ts +7 -0
  215. package/dist/src/storefront/components/ChangePaymentMethod/index.d.ts +7 -0
  216. package/dist/src/storefront/components/ChangeSubscriptionPlan/index.d.ts +10 -0
  217. package/dist/src/storefront/components/ChargeBlocksRenderer/index.d.ts +6 -0
  218. package/dist/src/storefront/components/ChargeItems/index.d.ts +7 -0
  219. package/dist/src/storefront/components/ChargeStatusBlock/index.d.ts +10 -0
  220. package/dist/src/storefront/components/CheckoutFooter/index.d.ts +6 -0
  221. package/dist/src/storefront/components/CheckoutHeader/index.d.ts +7 -0
  222. package/dist/src/storefront/components/CheckoutItems/index.d.ts +18 -0
  223. package/dist/src/storefront/components/CheckoutOperational/index.d.ts +26 -0
  224. package/dist/src/storefront/components/CheckoutOrderMainData/index.d.ts +10 -0
  225. package/dist/src/storefront/components/CheckoutPrices/index.d.ts +15 -0
  226. package/dist/src/storefront/components/CheckoutProduct/index.d.ts +8 -0
  227. package/dist/src/storefront/components/CheckoutProduct/model.d.ts +1 -0
  228. package/dist/src/storefront/components/ChoosePlanUpgradeMethod/index.d.ts +9 -0
  229. package/dist/src/storefront/components/ConnectDiscord/index.d.ts +6 -0
  230. package/dist/src/storefront/components/ConnectDiscord/model.d.ts +22 -0
  231. package/dist/src/storefront/components/Coupon/index.d.ts +12 -0
  232. package/dist/src/storefront/components/CustomFields/index.d.ts +13 -0
  233. package/dist/src/storefront/components/CustomerDashboard/index.d.ts +2 -0
  234. package/dist/src/storefront/components/DeliveryItem/index.d.ts +7 -0
  235. package/dist/src/storefront/components/InsufficientBalance/index.d.ts +8 -0
  236. package/dist/src/storefront/components/LeaveAReview/index.d.ts +9 -0
  237. package/dist/src/storefront/components/NoItemsBlock/index.d.ts +8 -0
  238. package/dist/src/storefront/components/OpenDelivery/index.d.ts +8 -0
  239. package/dist/src/storefront/components/OrderStatusBlock/index.d.ts +9 -0
  240. package/dist/src/storefront/components/OrdersTable/index.d.ts +16 -0
  241. package/dist/src/storefront/components/PageLoading/index.d.ts +7 -0
  242. package/dist/src/storefront/components/PageTitle/index.d.ts +6 -0
  243. package/dist/src/storefront/components/Pagination/index.d.ts +15 -0
  244. package/dist/src/storefront/components/PayPalF&FNote/index.d.ts +8 -0
  245. package/dist/src/storefront/components/PaymentMethod/checkout-balance-payment-method.d.ts +14 -0
  246. package/dist/src/storefront/components/PaymentMethod/index.d.ts +16 -0
  247. package/dist/src/storefront/components/PaymentMethod/model.d.ts +21 -0
  248. package/dist/src/storefront/components/PaymentMethods/index.d.ts +19 -0
  249. package/dist/src/storefront/components/PreviewRender/index.d.ts +23 -0
  250. package/dist/src/storefront/components/ProcessingPayment/index.d.ts +1 -0
  251. package/dist/src/storefront/components/ReferralBlock/index.d.ts +18 -0
  252. package/dist/src/storefront/components/ReferralBlock/mask.d.ts +1 -0
  253. package/dist/src/storefront/components/ReferralBlock/referral-modal.d.ts +7 -0
  254. package/dist/src/storefront/components/ReferralBlock/step-item.d.ts +8 -0
  255. package/dist/src/storefront/components/SecuredBySsl/index.d.ts +6 -0
  256. package/dist/src/storefront/components/Sidebar/card.d.ts +7 -0
  257. package/dist/src/storefront/components/Sidebar/index.d.ts +4 -0
  258. package/dist/src/storefront/components/Sidebar/nav-list.d.ts +5 -0
  259. package/dist/src/storefront/components/StatItem/index.d.ts +15 -0
  260. package/dist/src/storefront/components/StatusIndicator/index.d.ts +7 -0
  261. package/dist/src/storefront/components/SubmitReview/index.d.ts +7 -0
  262. package/dist/src/storefront/components/SubscriptionCoupon/index.d.ts +7 -0
  263. package/dist/src/storefront/components/SubscriptionExpiration/index.d.ts +6 -0
  264. package/dist/src/storefront/components/SubscriptionExpirationDate/index.d.ts +2 -0
  265. package/dist/src/storefront/components/SubscriptionProduct/index.d.ts +7 -0
  266. package/dist/src/storefront/components/SubscriptionProduct/model.d.ts +9 -0
  267. package/dist/src/storefront/components/SubscriptionStatusBadge/index.d.ts +5 -0
  268. package/dist/src/storefront/components/SubscriptionsTable/index.d.ts +11 -0
  269. package/dist/src/storefront/components/Table/index.d.ts +20 -0
  270. package/dist/src/storefront/components/TermsOfService/index.d.ts +1 -0
  271. package/dist/src/storefront/components/TicketRow/index.d.ts +5 -0
  272. package/dist/src/storefront/components/TrackPayment/index.d.ts +8 -0
  273. package/dist/src/storefront/components/index.d.ts +53 -0
  274. package/dist/src/storefront/constants/actions.d.ts +3 -0
  275. package/dist/src/storefront/constants/api.d.ts +2 -0
  276. package/dist/src/storefront/constants/index.d.ts +3 -0
  277. package/dist/src/storefront/constants/referralSteps.d.ts +6 -0
  278. package/dist/src/storefront/constants/routes.d.ts +15 -0
  279. package/dist/src/storefront/hooks/index.d.ts +2 -0
  280. package/dist/src/storefront/hooks/useCart.d.ts +186 -0
  281. package/dist/src/storefront/hooks/useCopy.d.ts +1 -0
  282. package/dist/src/storefront/index.d.ts +11 -0
  283. package/dist/src/storefront/models/balance.d.ts +56 -0
  284. package/dist/src/storefront/models/charge.d.ts +76 -0
  285. package/dist/src/storefront/models/checkout.d.ts +21 -0
  286. package/dist/src/storefront/models/coupon.d.ts +5 -0
  287. package/dist/src/storefront/models/discord.d.ts +18 -0
  288. package/dist/src/storefront/models/gateway.d.ts +8 -0
  289. package/dist/src/storefront/models/index.d.ts +16 -0
  290. package/dist/src/storefront/models/order.d.ts +139 -0
  291. package/dist/src/storefront/models/payment.d.ts +16 -0
  292. package/dist/src/storefront/models/post.d.ts +5 -0
  293. package/dist/src/storefront/models/price.d.ts +5 -0
  294. package/dist/src/storefront/models/referral.d.ts +12 -0
  295. package/dist/src/storefront/models/referralCode.d.ts +3 -0
  296. package/dist/src/storefront/models/rewards.d.ts +72 -0
  297. package/dist/src/storefront/models/shop.d.ts +38 -0
  298. package/dist/src/storefront/models/subscription.d.ts +130 -0
  299. package/dist/src/storefront/models/transaction.d.ts +12 -0
  300. package/dist/src/storefront/store/index.d.ts +22 -0
  301. package/dist/src/storefront/store/useApiStore.d.ts +8 -0
  302. package/dist/src/storefront/store/useBlocksStore.d.ts +23 -0
  303. package/dist/src/storefront/store/useCartStore.d.ts +48 -0
  304. package/dist/src/storefront/store/useChooseImageStore.d.ts +11 -0
  305. package/dist/src/storefront/store/useConfirmationModalStore.d.ts +10 -0
  306. package/dist/src/storefront/store/useCustomerDashboardStore.d.ts +37 -0
  307. package/dist/src/storefront/store/useDiscordStore.d.ts +7 -0
  308. package/dist/src/storefront/store/useErrorStore.d.ts +12 -0
  309. package/dist/src/storefront/store/useGeneralStore.d.ts +9 -0
  310. package/dist/src/storefront/store/useHistoryState.d.ts +20 -0
  311. package/dist/src/storefront/store/useLayersStore.d.ts +42 -0
  312. package/dist/src/storefront/store/useModalStore.d.ts +6 -0
  313. package/dist/src/storefront/store/useNavbarStore.d.ts +7 -0
  314. package/dist/src/storefront/store/useNotificationStore.d.ts +7 -0
  315. package/dist/src/storefront/store/usePagesStore.d.ts +33 -0
  316. package/dist/src/storefront/store/usePaginationPagesStore.d.ts +7 -0
  317. package/dist/src/storefront/store/usePreviewStore.d.ts +26 -0
  318. package/dist/src/storefront/store/useSettingsStore.d.ts +12 -0
  319. package/dist/src/storefront/store/useShareLinkStore.d.ts +6 -0
  320. package/dist/src/storefront/store/useStorefrontStore.d.ts +23 -0
  321. package/dist/src/storefront/store/useSubscriptionStore.d.ts +7 -0
  322. package/dist/src/storefront/store/useThemeSettingsStore.d.ts +21 -0
  323. package/dist/src/storefront/ui/ActiveBadge/index.d.ts +5 -0
  324. package/dist/src/storefront/ui/InputRange/index.d.ts +9 -0
  325. package/dist/src/storefront/ui/ProgressBar/index.d.ts +8 -0
  326. package/dist/src/storefront/ui/Rating/index.d.ts +8 -0
  327. package/dist/src/storefront/ui/Timer/index.d.ts +6 -0
  328. package/dist/src/storefront/ui/index.d.ts +5 -0
  329. package/dist/src/storefront/utils/MarkdownText.d.ts +5 -0
  330. package/dist/src/storefront/utils/checkParams.d.ts +5 -0
  331. package/dist/src/storefront/utils/checkToken.d.ts +1 -0
  332. package/dist/src/storefront/utils/clearQueryParams.d.ts +1 -0
  333. package/dist/src/storefront/utils/index.d.ts +16 -0
  334. package/dist/src/storefront/utils/parseDraftJsText.d.ts +1 -0
  335. package/dist/src/storefront/utils/recapcha.d.ts +13 -0
  336. package/dist/src/storefront/utils/resizeManager.d.ts +12 -0
  337. package/dist/src/storefront/utils/showNotification.d.ts +3 -0
  338. package/dist/src/storefront/utils/stable-text.d.ts +20 -0
  339. package/dist/src/storefront/utils/useAdaptiveStyles.d.ts +2 -0
  340. package/dist/src/storefront/utils/useBalance.d.ts +2 -0
  341. package/dist/src/storefront/utils/useCart.d.ts +1 -0
  342. package/dist/src/storefront/utils/useGeneralInfo.d.ts +4 -0
  343. package/dist/src/storefront/utils/useMarkdownIt.d.ts +2 -0
  344. package/dist/src/storefront/utils/useTrackingAnalytics.d.ts +2 -0
  345. package/dist/src/ui/Accordion/index.d.ts +8 -0
  346. package/dist/src/ui/AlignText/index.d.ts +7 -0
  347. package/dist/src/ui/BuilderModal/index.d.ts +9 -0
  348. package/dist/src/ui/Button/index.d.ts +16 -0
  349. package/dist/src/ui/ButtonSettings/index.d.ts +14 -0
  350. package/dist/src/ui/ButtonTypeSettings/index.d.ts +11 -0
  351. package/dist/src/ui/ButtonsSettings/index.d.ts +28 -0
  352. package/dist/src/ui/ButtonsSettings/popup.d.ts +13 -0
  353. package/dist/src/ui/CategorySettings/index.d.ts +48 -0
  354. package/dist/src/ui/Checkbox/index.d.ts +7 -0
  355. package/dist/src/ui/ChooseImage/api/index.d.ts +2 -0
  356. package/dist/src/ui/ChooseImage/index.d.ts +17 -0
  357. package/dist/src/ui/ConfirmationModal/index.d.ts +2 -0
  358. package/dist/src/ui/ErrorableBlock/index.d.ts +5 -0
  359. package/dist/src/ui/FormSettings/index.d.ts +65 -0
  360. package/dist/src/ui/FormSettings/popup.d.ts +70 -0
  361. package/dist/src/ui/GroupCardModal/index.d.ts +14 -0
  362. package/dist/src/ui/HeaderButtons/index.d.ts +47 -0
  363. package/dist/src/ui/Icon/index.d.ts +13 -0
  364. package/dist/src/ui/Input/index.d.ts +25 -0
  365. package/dist/src/ui/InputSettings/index.d.ts +22 -0
  366. package/dist/src/ui/ItemsSettings/index.d.ts +70 -0
  367. package/dist/src/ui/ItemsSettings/popup.d.ts +84 -0
  368. package/dist/src/ui/LayoutSettings/index.d.ts +13 -0
  369. package/dist/src/ui/Link/index.d.ts +10 -0
  370. package/dist/src/ui/ListingSelector/index.d.ts +134 -0
  371. package/dist/src/ui/ListingSelector/popup.d.ts +20 -0
  372. package/dist/src/ui/Loader/index.d.ts +4 -0
  373. package/dist/src/ui/LoaderBuilder/index.d.ts +2 -0
  374. package/dist/src/ui/MetaInfoPost/index.d.ts +6 -0
  375. package/dist/src/ui/Modal/index.d.ts +9 -0
  376. package/dist/src/ui/NotificationAntistock/index.d.ts +11 -0
  377. package/dist/src/ui/NotificationBuilder/index.d.ts +13 -0
  378. package/dist/src/ui/OtherSettings/index.d.ts +15 -0
  379. package/dist/src/ui/PagesSettings/index.d.ts +26 -0
  380. package/dist/src/ui/ProductCardButtons/index.d.ts +10 -0
  381. package/dist/src/ui/ProductCardModal/index.d.ts +10 -0
  382. package/dist/src/ui/ProductOptions/index.d.ts +13 -0
  383. package/dist/src/ui/Radio/index.d.ts +14 -0
  384. package/dist/src/ui/RangeSelector/index.d.ts +11 -0
  385. package/dist/src/ui/Select/index.d.ts +20 -0
  386. package/dist/src/ui/Select/utils/index.d.ts +2 -0
  387. package/dist/src/ui/SelectInfiniteList/index.d.ts +20 -0
  388. package/dist/src/ui/SelectInfiniteList/utils/index.d.ts +2 -0
  389. package/dist/src/ui/SelectTypeText/index.d.ts +8 -0
  390. package/dist/src/ui/ShareLink/index.d.ts +5 -0
  391. package/dist/src/ui/Switch/index.d.ts +11 -0
  392. package/dist/src/ui/TextSettings/index.d.ts +20 -0
  393. package/dist/src/ui/Textarea/index.d.ts +13 -0
  394. package/dist/src/ui/TextareaSettings/index.d.ts +11 -0
  395. package/dist/src/ui/Tip/index.d.ts +10 -0
  396. package/dist/src/ui/TypesText/index.d.ts +7 -0
  397. package/dist/src/ui/Wrapper/index.d.ts +11 -0
  398. package/dist/src/ui/index.d.ts +44 -0
  399. package/dist/{subscription-CfSbneE9.js → subscription-CZ9Buxql.js} +5 -5
  400. package/dist/{subscription-CN0GP1i3.cjs → subscription-D-GVTc5C.cjs} +1 -1
  401. package/dist/{ticket-CDRAyz3r.js → ticket-D8MxvdiA.js} +5 -5
  402. package/dist/{ticket-Disch8gb.cjs → ticket-SllRZ1vs.cjs} +1 -1
  403. package/dist/{top-up-DEMHwk2Q.js → top-up-7XHWZMR7.js} +5 -5
  404. package/dist/{top-up-r9pRDkRB.cjs → top-up-CyEK2j7V.cjs} +1 -1
  405. package/dist/ui-components-D2ccINdB.cjs +1 -0
  406. package/dist/ui-components-DSaAYQJp.js +9475 -0
  407. package/dist/ui.cjs.js +1 -1
  408. package/dist/ui.es.js +1 -1
  409. package/dist/{validation-BwaClAh8.js → validation-DOeo0z9F.js} +5 -5
  410. package/dist/{validation-HSAYPvwb.cjs → validation-_p4G1oC2.cjs} +1 -1
  411. package/package.json +3 -2
  412. package/dist/ui-components-CDqqhvCf.js +0 -11007
  413. package/dist/ui-components-DcRUDS1O.cjs +0 -1
@@ -0,0 +1,70 @@
1
+ import React from 'react';
2
+ import { ModalOption } from './popup';
3
+ import { Other } from '../OtherSettings';
4
+ import { AspectRatio, TypeFontKeys } from '@constants';
5
+ export interface ItemBase {
6
+ images: string[];
7
+ name: {
8
+ 'en-US': string;
9
+ };
10
+ id: string;
11
+ }
12
+ interface CommomPropsBase<T extends ItemBase> {
13
+ isActiveItems?: boolean;
14
+ setIsActiveItems?: (value: boolean) => void;
15
+ items: T[];
16
+ setItems: (value: T[]) => void;
17
+ title?: string;
18
+ subtitle?: string;
19
+ editable?: boolean;
20
+ draggable?: boolean;
21
+ withImage?: boolean;
22
+ deletable?: boolean;
23
+ addable?: boolean;
24
+ other?: Other[];
25
+ addableOptions?: Record<string, any>;
26
+ tip?: string;
27
+ hasRangeSelector?: boolean;
28
+ rangeSelectorOptions?: {
29
+ count: number;
30
+ setCount: (value: number) => void;
31
+ min?: number;
32
+ max?: number;
33
+ step?: number;
34
+ label?: string;
35
+ };
36
+ limit?: number;
37
+ modalOptions?: ModalOption<T>[];
38
+ typeFont?: TypeFontKeys;
39
+ setTypeFont?: (value: TypeFontKeys) => void;
40
+ aspectRatio?: AspectRatio;
41
+ setAspectRatio?: React.Dispatch<React.SetStateAction<AspectRatio>>;
42
+ autoInterval?: {
43
+ setAutoInterval: React.Dispatch<React.SetStateAction<number>>;
44
+ autoInterval: number;
45
+ title?: string;
46
+ };
47
+ }
48
+ interface SelectProps<T extends ItemBase> extends CommomPropsBase<T> {
49
+ itemsType: 'select';
50
+ itemsPlaceholder?: never;
51
+ itemsOptions: T[];
52
+ }
53
+ interface SelectInfiniteListProps<T extends ItemBase> extends CommomPropsBase<T> {
54
+ itemsType: 'selectInfiniteList';
55
+ itemsPlaceholder?: never;
56
+ itemsOptions: T[];
57
+ }
58
+ interface InputProps<T extends ItemBase> extends CommomPropsBase<T> {
59
+ itemsType: 'input';
60
+ itemsPlaceholder?: string;
61
+ itemsOptions?: never;
62
+ }
63
+ interface ImageProps<T extends ItemBase> extends CommomPropsBase<T> {
64
+ itemsType: 'image';
65
+ itemsPlaceholder?: never;
66
+ itemsOptions?: never;
67
+ }
68
+ type Props<T extends ItemBase> = SelectProps<T> | InputProps<T> | ImageProps<T> | SelectInfiniteListProps<T>;
69
+ export declare const ItemsSettings: <T extends ItemBase = ItemBase>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
70
+ export {};
@@ -0,0 +1,84 @@
1
+ import { ItemBase } from '.';
2
+ import React from 'react';
3
+ interface ImageOption<T> {
4
+ type: 'image';
5
+ label?: string;
6
+ field: keyof T;
7
+ }
8
+ interface TextOption<T> {
9
+ type: 'text';
10
+ label?: string;
11
+ field: {
12
+ type: keyof T;
13
+ text: keyof T;
14
+ typeFont: keyof T;
15
+ alignText: keyof T;
16
+ };
17
+ }
18
+ interface InputOption<T> {
19
+ type: 'input';
20
+ label?: string;
21
+ field: keyof T;
22
+ placeholder?: string;
23
+ }
24
+ interface InputSwitchOption<T> {
25
+ type: 'inputSwitch';
26
+ inputLabel?: string;
27
+ switchLabel?: string;
28
+ field: {
29
+ text: keyof T;
30
+ switch: keyof T;
31
+ };
32
+ placeholder?: string;
33
+ }
34
+ interface ListOption<T> {
35
+ type: 'list';
36
+ label?: string;
37
+ field: keyof T;
38
+ draggable?: boolean;
39
+ deletable?: boolean;
40
+ editable?: boolean;
41
+ itemsOptions: T[];
42
+ addableOptions?: Record<string, any>;
43
+ modalOptions?: ModalOption<any>[];
44
+ }
45
+ interface SelectOption<T> {
46
+ type: 'select';
47
+ label?: string;
48
+ field: keyof T;
49
+ itemsOptions: string[];
50
+ leftAddonOptions?: {
51
+ value: string;
52
+ addon: React.ReactNode;
53
+ }[];
54
+ switcher?: keyof T;
55
+ }
56
+ interface SelectInfiniteListOption<T> {
57
+ type: 'selectInfiniteList';
58
+ label?: string;
59
+ field: keyof T;
60
+ itemsOptions: string[];
61
+ leftAddonOptions?: {
62
+ value: string;
63
+ addon: React.ReactNode;
64
+ }[];
65
+ switcher?: keyof T;
66
+ }
67
+ interface SelectTypeFontOption<T> {
68
+ type: 'selectTypeFont';
69
+ label?: string;
70
+ field: keyof T;
71
+ }
72
+ export type ModalOption<T> = ImageOption<T> | TextOption<T> | InputOption<T> | InputSwitchOption<T> | ListOption<T> | SelectOption<T> | SelectInfiniteListOption<T> | SelectTypeFontOption<T>;
73
+ interface Props<T extends ItemBase> {
74
+ activeItem: T;
75
+ setActiveItem: (value: T | null) => void;
76
+ popupPosition: {
77
+ top: number;
78
+ left: number;
79
+ };
80
+ setIsOpenModal: React.Dispatch<React.SetStateAction<boolean>>;
81
+ modalOptions: ModalOption<T>[];
82
+ }
83
+ export declare const ItemPopup: React.ForwardRefExoticComponent<Props<ItemBase> & React.RefAttributes<HTMLDivElement>>;
84
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export type Alignment = 'left' | 'right' | 'top' | 'bottom' | 'topLeft' | 'topRight' | 'center' | 'bottomLeft' | 'bottomRight';
3
+ export type Padding = 'left' | 'top' | 'right' | 'bottom';
4
+ interface Props {
5
+ alignment: string;
6
+ padding: Record<Padding, number>;
7
+ setAlignment: (value: Alignment) => void;
8
+ setPadding: (value: Record<Padding, number>) => void;
9
+ isAlignment?: boolean;
10
+ isPadding?: boolean;
11
+ }
12
+ export declare const LayoutSettings: React.FC<Props>;
13
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface LinkProps {
3
+ children: React.ReactNode;
4
+ path: string;
5
+ className?: string;
6
+ target?: '_blank' | '_self';
7
+ id?: string;
8
+ }
9
+ export declare const Link: ({ children, path, className, target, id }: LinkProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,134 @@
1
+ import { Other } from '../OtherSettings';
2
+ import { AspectRatio } from '@constants';
3
+ export interface ProductData {
4
+ id: number;
5
+ link: {
6
+ to: string;
7
+ };
8
+ productData: {
9
+ compareAtPrice?: {
10
+ amount: number;
11
+ currency: string;
12
+ };
13
+ images: {
14
+ cfId: string;
15
+ id: number;
16
+ }[];
17
+ isInStock: boolean;
18
+ minPrice: {
19
+ amount: number;
20
+ currency: string;
21
+ };
22
+ name: string;
23
+ shortDescription?: string;
24
+ stats: {
25
+ averageRating: number;
26
+ totalReviews: number;
27
+ totalSold: number;
28
+ };
29
+ uniquePath: string;
30
+ };
31
+ type: 'PRODUCT';
32
+ }
33
+ export interface ProductData {
34
+ id: number;
35
+ link: {
36
+ to: string;
37
+ };
38
+ productData: {
39
+ compareAtPrice?: {
40
+ amount: number;
41
+ currency: string;
42
+ };
43
+ images: {
44
+ cfId: string;
45
+ id: number;
46
+ }[];
47
+ isInStock: boolean;
48
+ minPrice: {
49
+ amount: number;
50
+ currency: string;
51
+ };
52
+ name: string;
53
+ shortDescription?: string;
54
+ stats: {
55
+ averageRating: number;
56
+ totalReviews: number;
57
+ totalSold: number;
58
+ };
59
+ uniquePath: string;
60
+ };
61
+ type: 'PRODUCT';
62
+ }
63
+ export interface GroupData {
64
+ id: number;
65
+ link: {
66
+ to: string;
67
+ };
68
+ groupData: {
69
+ id: 254676093;
70
+ image?: {
71
+ id: number;
72
+ cfId: string;
73
+ };
74
+ listingIdList: number[];
75
+ name: string;
76
+ shortDescription?: string;
77
+ uniquePath: string;
78
+ };
79
+ type: 'GROUP';
80
+ }
81
+ export interface PostData {
82
+ id: number;
83
+ link: {
84
+ to: string;
85
+ };
86
+ postData: {
87
+ button: {
88
+ text: 'Read More';
89
+ link: 'https://google.com';
90
+ };
91
+ link: 'https://google.com';
92
+ text: 'Read More';
93
+ createdAtIso: '2024-11-05T13:25:34.121775Z';
94
+ image: {
95
+ id: 254785144;
96
+ cfId: 'A5gbiev6F8AaBvp6M146Kw/ea9b1c91-b69d-45a1-ab60-1f13656ed800';
97
+ };
98
+ cfId: 'A5gbiev6F8AaBvp6M146Kw/ea9b1c91-b69d-45a1-ab60-1f13656ed800';
99
+ id: 254785144;
100
+ shortDescription: 'test-subtitle';
101
+ title: 'test-post';
102
+ uniquePath: 'test-post';
103
+ };
104
+ type: 'POST';
105
+ }
106
+ export type ListingData<T extends 'GROUP' | 'PRODUCT' | 'POST' = 'PRODUCT'> = T extends 'GROUP' ? GroupData : T extends 'PRODUCT' ? ProductData : PostData;
107
+ interface Props {
108
+ isActiveItems?: boolean;
109
+ setIsActiveItems?: (value: boolean) => void;
110
+ items: {
111
+ listingId: number;
112
+ image: string;
113
+ }[];
114
+ setItems: (value: {
115
+ listingId: number;
116
+ image: string;
117
+ }[]) => void;
118
+ title?: string;
119
+ subtitle?: string;
120
+ editable?: boolean;
121
+ draggable?: boolean;
122
+ withImage?: boolean;
123
+ deletable?: boolean;
124
+ addable?: boolean;
125
+ other?: Other[];
126
+ addableOptions?: Record<string, any>;
127
+ itemsType: 'select';
128
+ itemsOptions: ListingData[];
129
+ limit?: number;
130
+ aspectRatio?: AspectRatio;
131
+ setAspectRatio?: (value: AspectRatio) => void;
132
+ }
133
+ export declare const ListingSelector: (props: Props) => import("react/jsx-runtime").JSX.Element;
134
+ export {};
@@ -0,0 +1,20 @@
1
+ import { ListingData } from '.';
2
+ import React from 'react';
3
+ interface Props {
4
+ activeItem: {
5
+ listingId: number;
6
+ image: string;
7
+ };
8
+ setActiveItem: (value: {
9
+ listingId: number;
10
+ image: string;
11
+ } | null) => void;
12
+ setIsOpenModal: React.Dispatch<React.SetStateAction<boolean>>;
13
+ popupPosition: {
14
+ top: number;
15
+ left: number;
16
+ };
17
+ itemsOptions: ListingData[];
18
+ }
19
+ export declare const ListingPopup: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
20
+ export {};
@@ -0,0 +1,4 @@
1
+ interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
2
+ }
3
+ export declare const Loader: React.FC<LoaderProps>;
4
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LoaderBuilder: React.FC;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ date: string;
4
+ }
5
+ export declare const MetaInfoPost: React.FC<Props>;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ close: (value: boolean) => void;
4
+ children: React.ReactNode;
5
+ withAnimation?: boolean;
6
+ hasPadding?: boolean;
7
+ }
8
+ export declare const Modal: React.FC<Props>;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ type NotificationComponentProps = {
3
+ type: 'warning' | 'error' | 'success';
4
+ message: string;
5
+ style?: React.CSSProperties;
6
+ padding?: number;
7
+ timer: number;
8
+ id: string;
9
+ };
10
+ export declare const NotificationAntistock: React.FC<NotificationComponentProps>;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { NotificationComponentProps } from '@constants';
3
+ interface Props {
4
+ type: 'warning' | 'error' | 'success';
5
+ message: string;
6
+ style?: React.CSSProperties;
7
+ padding?: number;
8
+ timer: number;
9
+ id: string;
10
+ element?: React.FC<NotificationComponentProps>;
11
+ }
12
+ export declare const NotificationBuilder: React.FC<Props>;
13
+ export {};
@@ -0,0 +1,15 @@
1
+ export interface Other {
2
+ isItem: boolean;
3
+ setIsItem: (value: boolean) => void;
4
+ label?: string;
5
+ }
6
+ export interface Tags extends Other {
7
+ }
8
+ interface Props {
9
+ title?: string;
10
+ items: Other[];
11
+ otherTitle?: string;
12
+ tagsTitle?: string;
13
+ }
14
+ export declare const OtherAndTagsSettings: React.FC<Props>;
15
+ export {};
@@ -0,0 +1,26 @@
1
+ export interface PageBase {
2
+ name: string;
3
+ id: string;
4
+ }
5
+ interface CommomPropsBase<T extends PageBase> {
6
+ isActiveItems?: boolean;
7
+ setIsActiveItems?: (value: boolean) => void;
8
+ items: T[];
9
+ setItems: (value: T[]) => void;
10
+ title?: string;
11
+ subtitle?: string;
12
+ editable?: boolean;
13
+ draggable?: boolean;
14
+ deletable?: boolean;
15
+ addable?: boolean;
16
+ addableOptions?: Record<string, any>;
17
+ limit?: number;
18
+ }
19
+ interface SelectProps<T extends PageBase> extends CommomPropsBase<T> {
20
+ itemsType: 'select';
21
+ itemsPlaceholder?: never;
22
+ itemsOptions: T[];
23
+ }
24
+ type Props<T extends PageBase> = SelectProps<T>;
25
+ export declare const PagesSettings: <T extends PageBase>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
26
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ProductCardModalType } from '../ProductCardModal';
3
+ interface Props {
4
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
5
+ setModalType: React.Dispatch<React.SetStateAction<ProductCardModalType>>;
6
+ productId: number;
7
+ isCartEnabled?: boolean;
8
+ }
9
+ export declare const ProductCardButtons: React.FC<Props>;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export type ProductCardModalType = 'Add To Cart' | 'Buy Now';
3
+ interface Props {
4
+ productId: number;
5
+ type: ProductCardModalType;
6
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
7
+ isCartEnabled?: boolean;
8
+ }
9
+ export declare const ProductCardModal: React.FC<Props>;
10
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Product } from '../../abstractions';
3
+ export declare enum ChargeTypes {
4
+ ONE_TIME = "One-Time",
5
+ RECURRING = "Subscribe & Save"
6
+ }
7
+ interface Props {
8
+ product: Product;
9
+ setIsOpen?: (isOpen: boolean) => void;
10
+ isCartEnabled?: boolean;
11
+ }
12
+ export declare const ProductOptions: React.FC<Props>;
13
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface Option {
3
+ value: string;
4
+ label: string;
5
+ }
6
+ interface RadioGroupProps {
7
+ label?: string;
8
+ defaultValue: string;
9
+ options: Option[];
10
+ onChange: (value: string) => void;
11
+ flexDirection?: 'row' | 'column';
12
+ }
13
+ export declare const Radio: React.FC<RadioGroupProps>;
14
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ count: number;
7
+ setCount: (value: number) => void;
8
+ label?: string;
9
+ }
10
+ export declare const RangeSelector: React.FC<Props>;
11
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ style?: React.CSSProperties;
4
+ onChange: (value: string) => void;
5
+ label?: string;
6
+ value: string;
7
+ options: string[];
8
+ switcher?: {
9
+ value: boolean;
10
+ onChange: (value: boolean) => void;
11
+ };
12
+ isSearch?: boolean;
13
+ postfixs?: string[];
14
+ leftAddonOptions?: {
15
+ value: string;
16
+ addon: React.ReactNode;
17
+ }[];
18
+ }
19
+ export declare const Select: React.FC<Props>;
20
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function useOnClickOutside<T extends HTMLElement>(ref: React.RefObject<T>, handler: (event: MouseEvent | TouchEvent) => void): void;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ style?: React.CSSProperties;
4
+ onChange: (value: string) => void;
5
+ label?: string;
6
+ value: string;
7
+ options: string[];
8
+ switcher?: {
9
+ value: boolean;
10
+ onChange: (value: boolean) => void;
11
+ };
12
+ isSearch?: boolean;
13
+ postfixs?: string[];
14
+ leftAddonOptions?: {
15
+ value: string;
16
+ addon: React.ReactNode;
17
+ }[];
18
+ }
19
+ export declare const SelectInfiniteList: React.FC<Props>;
20
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function useOnClickOutside<T extends HTMLElement>(ref: React.RefObject<T>, handler: (event: MouseEvent | TouchEvent) => void): void;
@@ -0,0 +1,8 @@
1
+ import { TypeFontKeys } from '@constants';
2
+ import React from 'react';
3
+ interface Props {
4
+ typeFont: TypeFontKeys;
5
+ setTypeFont: (value: TypeFontKeys) => void;
6
+ }
7
+ export declare const SelectTypeText: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ interface ShareLinkProps {
2
+ title?: string;
3
+ }
4
+ export declare const ShareLink: React.FC<ShareLinkProps>;
5
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ onChange?: (value: boolean) => void;
4
+ style?: React.CSSProperties;
5
+ current: boolean;
6
+ label?: string;
7
+ hasBackground?: boolean;
8
+ paddingless?: boolean;
9
+ }
10
+ export declare const Switch: React.FC<Props>;
11
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { TextType } from '../TypesText';
3
+ import { TypeFontKeys } from '@constants';
4
+ import { AlignText } from '../AlignText';
5
+ interface Props {
6
+ typesText: TextType[];
7
+ setTypesText: (value: TextType[]) => void;
8
+ isActiveText?: boolean;
9
+ setIsActiveText?: (value: boolean) => void;
10
+ text: string;
11
+ setText: (value: string) => void;
12
+ title?: string;
13
+ subtitle?: string;
14
+ typeFont: TypeFontKeys;
15
+ setTypeFont: (value: TypeFontKeys) => void;
16
+ alignText: AlignText;
17
+ setAlignText: (value: AlignText) => void;
18
+ }
19
+ export declare const TextSettings: React.FC<Props>;
20
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ style?: React.CSSProperties;
4
+ placeholder?: string;
5
+ onChange: (value: string) => void;
6
+ label?: string;
7
+ value: string;
8
+ maxLength?: number;
9
+ type?: 'number' | 'text';
10
+ required?: boolean;
11
+ }
12
+ export declare const Textarea: React.FC<Props>;
13
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ style?: React.CSSProperties;
4
+ placeholder?: string;
5
+ onChange: (value: string) => void;
6
+ label?: string;
7
+ value: string;
8
+ maxLength?: number;
9
+ }
10
+ export declare const TextareaSettings: React.FC<Props>;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ type: 'warning' | 'error' | 'success';
4
+ message: string;
5
+ style?: React.CSSProperties;
6
+ padding?: number;
7
+ id?: string;
8
+ }
9
+ export declare const Tip: React.FC<Props>;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ export type TextType = 'bold' | 'italic' | 'underline' | 'strike-through';
2
+ interface Props {
3
+ typesText: TextType[];
4
+ setTypesText: (value: TextType[]) => void;
5
+ }
6
+ export declare const TypesText: React.FC<Props>;
7
+ export {};
@@ -0,0 +1,11 @@
1
+ import { Padding } from '../LayoutSettings';
2
+ import React from 'react';
3
+ interface WrapperProps {
4
+ children: (adaptiveStyles: string) => React.ReactNode;
5
+ padding?: Record<Padding, number>;
6
+ style?: React.CSSProperties;
7
+ notPadding?: boolean;
8
+ maxWidth?: string;
9
+ }
10
+ export declare const Wrapper: React.FC<WrapperProps>;
11
+ export {};