@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.
- package/dist/{App-txB8kbk7.cjs → App-BwVII14K.cjs} +1 -1
- package/dist/{App-Clwk7ILO.js → App-ytDoD626.js} +21 -21
- package/dist/{builder-4Ke7cjNO.cjs → builder-BLDXBzNl.cjs} +2 -2
- package/dist/{builder-CtBMhTyK.js → builder-C64dSizd.js} +5 -5
- package/dist/{builder-components-Dz2YlUqA.cjs → builder-components-DHTh1VoV.cjs} +1 -1
- package/dist/{builder-components-Bm7ta9iB.js → builder-components-FfKRBcLk.js} +4 -4
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +3 -3
- package/dist/{charge-C5z1ecd1.cjs → charge-BHULUGTw.cjs} +1 -1
- package/dist/{charge-APYiCYYq.js → charge-BcGATQ-j.js} +6 -6
- package/dist/{checkout-Bher7FGW.cjs → checkout-C_l1R6-u.cjs} +1 -1
- package/dist/{checkout-D3Mpwqsj.js → checkout-DzoPtqLk.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-Da1yGZge.js → index-BLcplkmB.js} +1 -1
- package/dist/{index-B1QfR20x.cjs → index-BWeBpiO8.cjs} +1 -1
- package/dist/{index-kt3o_lGR.js → index-Bj_McHvo.js} +5 -5
- package/dist/{index-BMaA9qqZ.cjs → index-C23qWl0W.cjs} +1 -1
- package/dist/{index-C8snA9wm.js → index-C2mw0EhF.js} +5 -5
- package/dist/{index-DjOTY2Jm.js → index-Cl9CSdbF.js} +5 -5
- package/dist/{index-mEkddX3U.cjs → index-DugPvosX.cjs} +1 -1
- package/dist/{index-BAFG_paG.js → index-DyfD4eoN.js} +5 -5
- package/dist/{index-DgsmVqD7.cjs → index-T0XXq2pq.cjs} +1 -1
- package/dist/{index-Crr7n_oM.cjs → index-T7iWZCzU.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +22 -0
- package/dist/index.es.js +7 -7
- package/dist/{order-BDiqGe6L.cjs → order-_mx45K-F.cjs} +1 -1
- package/dist/{order-DLMk34KA.js → order-rZVNwk6i.js} +5 -5
- package/dist/src/App.d.ts +18 -0
- package/dist/src/abstractions/IBlock.d.ts +14 -0
- package/dist/src/abstractions/ISettings.d.ts +3 -0
- package/dist/src/abstractions/PageContext.d.ts +121 -0
- package/dist/src/abstractions/Variable.d.ts +28 -0
- package/dist/src/abstractions/color-variables.d.ts +48 -0
- package/dist/src/abstractions/index.d.ts +4 -0
- package/dist/src/api/constants.d.ts +8 -0
- package/dist/src/api/index.d.ts +2 -0
- package/dist/src/api/request.d.ts +17 -0
- package/dist/src/assets/icon-registry/IconRegistry.d.ts +22 -0
- package/dist/src/assets/icon-registry/libraryIcons.d.ts +1 -0
- package/dist/src/assets/icon-registry/runtime.d.ts +8 -0
- package/dist/src/assets/icons/index.d.ts +3 -0
- package/dist/src/assets/storefront-icons/index.d.ts +23 -0
- package/dist/src/builder/api/fetchAll.d.ts +1 -0
- package/dist/src/builder/api/fetchData.d.ts +14 -0
- package/dist/src/builder/api/fetchFontsData.d.ts +1 -0
- package/dist/src/builder/api/fetchPagesData.d.ts +1 -0
- package/dist/src/builder/api/index.d.ts +4 -0
- package/dist/src/builder/components/AddSections/index.d.ts +5 -0
- package/dist/src/builder/components/AddSections/utils/index.d.ts +5 -0
- package/dist/src/builder/components/AddSectionsBlock/index.d.ts +7 -0
- package/dist/src/builder/components/BlockColors/index.d.ts +7 -0
- package/dist/src/builder/components/BlockSettings/index.d.ts +2 -0
- package/dist/src/builder/components/BlockSettings/settings.d.ts +7 -0
- package/dist/src/builder/components/BlockSettingsHeader/index.d.ts +8 -0
- package/dist/src/builder/components/ExitButton/index.d.ts +5 -0
- package/dist/src/builder/components/Header/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderButtons/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderDevices/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderPreviewButton/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderSaveButton/api/index.d.ts +2 -0
- package/dist/src/builder/components/HeaderSaveButton/index.d.ts +7 -0
- package/dist/src/builder/components/HeaderSaveButton/utils/index.d.ts +6 -0
- package/dist/src/builder/components/HeaderSettings/index.d.ts +4 -0
- package/dist/src/builder/components/HeaderSettingsLanguage/index.d.ts +4 -0
- package/dist/src/builder/components/HeaderSettingsPages/api/index.d.ts +1 -0
- package/dist/src/builder/components/HeaderSettingsPages/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderSettingsZoom/index.d.ts +5 -0
- package/dist/src/builder/components/HeaderSwitchTheme/index.d.ts +4 -0
- package/dist/src/builder/components/ModifyPage/index.d.ts +5 -0
- package/dist/src/builder/components/Navbar/index.d.ts +1 -0
- package/dist/src/builder/components/Preview/index.d.ts +2 -0
- package/dist/src/builder/components/PreviewBlockSidebar/index.d.ts +2 -0
- package/dist/src/builder/components/PreviewContent/index.d.ts +6 -0
- package/dist/src/builder/components/PreviewHeader/index.d.ts +2 -0
- package/dist/src/builder/components/Sidebar/index.d.ts +4 -0
- package/dist/src/builder/components/SidebarLayer/index.d.ts +7 -0
- package/dist/src/builder/components/SidebarLayers/index.d.ts +10 -0
- package/dist/src/builder/components/SidebarSettings/index.d.ts +2 -0
- package/dist/src/builder/components/SidebarTheme/index.d.ts +4 -0
- package/dist/src/builder/components/ThemeSettings/index.d.ts +4 -0
- package/dist/src/builder/components/ThemeSettingsBorders/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsButtons/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsCategories/index.d.ts +1 -0
- package/dist/src/builder/components/ThemeSettingsColors/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsColors/utils/getDuplicateColors.d.ts +2 -0
- package/dist/src/builder/components/ThemeSettingsColors/utils/index.d.ts +1 -0
- package/dist/src/builder/components/ThemeSettingsCurrentColors/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsCurrentColors/tip.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsCurrentFont/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsFonts/index.d.ts +5 -0
- package/dist/src/builder/components/ThemeSettingsHeaderItem/index.d.ts +7 -0
- package/dist/src/builder/components/ThemeSettingsInputs/index.d.ts +5 -0
- package/dist/src/builder/constants/block-icons.d.ts +18 -0
- package/dist/src/builder/index.d.ts +10 -0
- package/dist/src/builder/layout.d.ts +5 -0
- package/dist/src/builder/store/index.d.ts +6 -0
- package/dist/src/builder/store/useColorPickerStore.d.ts +53 -0
- package/dist/src/builder/store/useDeviceStore.d.ts +7 -0
- package/dist/src/builder/store/useFontsStore.d.ts +20 -0
- package/dist/src/builder/store/useLayoutStore.d.ts +7 -0
- package/dist/src/builder/store/useSubmodalStore.d.ts +21 -0
- package/dist/src/builder/store/useTooltipStore.d.ts +6 -0
- package/dist/src/builder/ui/AnimatedPanel/index.d.ts +7 -0
- package/dist/src/builder/ui/ColorPicker/index.d.ts +11 -0
- package/dist/src/builder/ui/ColorPicker/modal.d.ts +2 -0
- package/dist/src/builder/ui/Loader/index.d.ts +1 -0
- package/dist/src/builder/ui/Notification/index.d.ts +13 -0
- package/dist/src/builder/ui/Picker/index.d.ts +9 -0
- package/dist/src/builder/ui/Radio/index.d.ts +13 -0
- package/dist/src/builder/ui/Submodal/index.d.ts +10 -0
- package/dist/src/builder/ui/Tooltip/index.d.ts +6 -0
- package/dist/src/builder/utils/formatLabel.d.ts +1 -0
- package/dist/src/builder/utils/getDisplayName.d.ts +1 -0
- package/dist/src/builder/utils/getModalPosition.d.ts +4 -0
- package/dist/src/builder/utils/index.d.ts +3 -0
- package/dist/src/components/lazy-pages.d.ts +22 -0
- package/dist/src/constants/aspectRatio.d.ts +11 -0
- package/dist/src/constants/blocks.d.ts +79 -0
- package/dist/src/constants/color-variables.d.ts +48 -0
- package/dist/src/constants/device.d.ts +6 -0
- package/dist/src/constants/font.d.ts +3 -0
- package/dist/src/constants/icon.d.ts +2 -0
- package/dist/src/constants/index.d.ts +13 -0
- package/dist/src/constants/local-host.d.ts +1 -0
- package/dist/src/constants/navbar.d.ts +8 -0
- package/dist/src/constants/notification.d.ts +16 -0
- package/dist/src/constants/pages.d.ts +22 -0
- package/dist/src/constants/radius-variables.d.ts +15 -0
- package/dist/src/constants/text-font-keys.d.ts +3 -0
- package/dist/src/constants/theme-settings.d.ts +154 -0
- package/dist/src/exports.d.ts +17 -0
- package/dist/src/hooks/useIconRegistration.d.ts +37 -0
- package/dist/src/lib/createTicket.d.ts +1 -0
- package/dist/src/lib/generateDynamicStyles.d.ts +2 -0
- package/dist/src/lib/getDynamicRoutes.d.ts +1 -0
- package/dist/src/lib/hotReload.d.ts +1 -0
- package/dist/src/lib/index.d.ts +9 -0
- package/dist/src/lib/injectStylesToDOM.d.ts +1 -0
- package/dist/src/lib/loadCustomFonts.d.ts +1 -0
- package/dist/src/lib/setupDynamicFonts.d.ts +2 -0
- package/dist/src/lib/splitTextIntoSpans.d.ts +1 -0
- package/dist/src/lib/useBuilderPages.d.ts +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/pages/active-page/index.d.ts +5 -0
- package/dist/src/pages/balance/balance-modal.d.ts +6 -0
- package/dist/src/pages/balance/index.d.ts +1 -0
- package/dist/src/pages/balance/model.d.ts +6 -0
- package/dist/src/pages/builder/index.d.ts +12 -0
- package/dist/src/pages/builder/utils/index.d.ts +1 -0
- package/dist/src/pages/charge/index.d.ts +1 -0
- package/dist/src/pages/checkout/index.d.ts +2 -0
- package/dist/src/pages/checkout/model.d.ts +1 -0
- package/dist/src/pages/dynamic-error-page/index.d.ts +2 -0
- package/dist/src/pages/dynamic-page/api/index.d.ts +1 -0
- package/dist/src/pages/dynamic-page/index.d.ts +6 -0
- package/dist/src/pages/error-page/api/index.d.ts +7 -0
- package/dist/src/pages/error-page/index.d.ts +1 -0
- package/dist/src/pages/home/index.d.ts +6 -0
- package/dist/src/pages/home/model.d.ts +26 -0
- package/dist/src/pages/maintenance/index.d.ts +2 -0
- package/dist/src/pages/not-found-page/index.d.ts +2 -0
- package/dist/src/pages/order/index.d.ts +1 -0
- package/dist/src/pages/order/model.d.ts +92 -0
- package/dist/src/pages/orders/index.d.ts +1 -0
- package/dist/src/pages/orders/model.d.ts +4 -0
- package/dist/src/pages/rewards/index.d.ts +6 -0
- package/dist/src/pages/router-error-page/index.d.ts +3 -0
- package/dist/src/pages/subscription/index.d.ts +1 -0
- package/dist/src/pages/subscription/model.d.ts +1 -0
- package/dist/src/pages/subscriptions/index.d.ts +1 -0
- package/dist/src/pages/subscriptions/model.d.ts +6 -0
- package/dist/src/pages/ticket/index.d.ts +1 -0
- package/dist/src/pages/ticket/model.d.ts +24 -0
- package/dist/src/pages/tickets/index.d.ts +1 -0
- package/dist/src/pages/tickets/model.d.ts +21 -0
- package/dist/src/pages/top-up-balance/index.d.ts +1 -0
- package/dist/src/pages/validation/index.d.ts +5 -0
- package/dist/src/pages/wrapper-page/index.d.ts +2 -0
- package/dist/src/shared/constants/aspect-ratio.d.ts +11 -0
- package/dist/src/shared/constants/color-variables.d.ts +48 -0
- package/dist/src/shared/constants/icon.d.ts +2 -0
- package/dist/src/shared/constants/index.d.ts +5 -0
- package/dist/src/shared/constants/notification.d.ts +16 -0
- package/dist/src/shared/constants/text-font-keys.d.ts +3 -0
- package/dist/src/storefront/api/auth.d.ts +22 -0
- package/dist/src/storefront/api/charge.d.ts +1 -0
- package/dist/src/storefront/api/coupon.d.ts +2 -0
- package/dist/src/storefront/api/customer.d.ts +6 -0
- package/dist/src/storefront/api/discord.d.ts +8 -0
- package/dist/src/storefront/api/fetchGatewaysDetail.d.ts +1 -0
- package/dist/src/storefront/api/fetchGeneral.d.ts +1 -0
- package/dist/src/storefront/api/fetchThemeAndSettings.d.ts +1 -0
- package/dist/src/storefront/api/fetchWithPages.d.ts +11 -0
- package/dist/src/storefront/api/index.d.ts +19 -0
- package/dist/src/storefront/api/order.d.ts +14 -0
- package/dist/src/storefront/api/postBalanceTopUp.d.ts +2 -0
- package/dist/src/storefront/api/postCashappLink.d.ts +3 -0
- package/dist/src/storefront/api/referral.d.ts +3 -0
- package/dist/src/storefront/api/reviews.d.ts +2 -0
- package/dist/src/storefront/api/rewards.d.ts +2 -0
- package/dist/src/storefront/api/signUpReferral.d.ts +2 -0
- package/dist/src/storefront/api/store.d.ts +6 -0
- package/dist/src/storefront/api/subscription.d.ts +22 -0
- package/dist/src/storefront/api/ticket.d.ts +7 -0
- package/dist/src/storefront/api/transactions.d.ts +5 -0
- package/dist/src/storefront/components/ActivePaymentMethod/index.d.ts +2 -0
- package/dist/src/storefront/components/ActiveSubscriptionProduct/index.d.ts +9 -0
- package/dist/src/storefront/components/Auth/index.d.ts +11 -0
- package/dist/src/storefront/components/Auth/otp-input.d.ts +7 -0
- package/dist/src/storefront/components/AuthModal/index.d.ts +6 -0
- package/dist/src/storefront/components/CancelSubscription/index.d.ts +8 -0
- package/dist/src/storefront/components/CashAppVerify/index.d.ts +7 -0
- package/dist/src/storefront/components/ChangePaymentMethod/index.d.ts +7 -0
- package/dist/src/storefront/components/ChangeSubscriptionPlan/index.d.ts +10 -0
- package/dist/src/storefront/components/ChargeBlocksRenderer/index.d.ts +6 -0
- package/dist/src/storefront/components/ChargeItems/index.d.ts +7 -0
- package/dist/src/storefront/components/ChargeStatusBlock/index.d.ts +10 -0
- package/dist/src/storefront/components/CheckoutFooter/index.d.ts +6 -0
- package/dist/src/storefront/components/CheckoutHeader/index.d.ts +7 -0
- package/dist/src/storefront/components/CheckoutItems/index.d.ts +18 -0
- package/dist/src/storefront/components/CheckoutOperational/index.d.ts +26 -0
- package/dist/src/storefront/components/CheckoutOrderMainData/index.d.ts +10 -0
- package/dist/src/storefront/components/CheckoutPrices/index.d.ts +15 -0
- package/dist/src/storefront/components/CheckoutProduct/index.d.ts +8 -0
- package/dist/src/storefront/components/CheckoutProduct/model.d.ts +1 -0
- package/dist/src/storefront/components/ChoosePlanUpgradeMethod/index.d.ts +9 -0
- package/dist/src/storefront/components/ConnectDiscord/index.d.ts +6 -0
- package/dist/src/storefront/components/ConnectDiscord/model.d.ts +22 -0
- package/dist/src/storefront/components/Coupon/index.d.ts +12 -0
- package/dist/src/storefront/components/CustomFields/index.d.ts +13 -0
- package/dist/src/storefront/components/CustomerDashboard/index.d.ts +2 -0
- package/dist/src/storefront/components/DeliveryItem/index.d.ts +7 -0
- package/dist/src/storefront/components/InsufficientBalance/index.d.ts +8 -0
- package/dist/src/storefront/components/LeaveAReview/index.d.ts +9 -0
- package/dist/src/storefront/components/NoItemsBlock/index.d.ts +8 -0
- package/dist/src/storefront/components/OpenDelivery/index.d.ts +8 -0
- package/dist/src/storefront/components/OrderStatusBlock/index.d.ts +9 -0
- package/dist/src/storefront/components/OrdersTable/index.d.ts +16 -0
- package/dist/src/storefront/components/PageLoading/index.d.ts +7 -0
- package/dist/src/storefront/components/PageTitle/index.d.ts +6 -0
- package/dist/src/storefront/components/Pagination/index.d.ts +15 -0
- package/dist/src/storefront/components/PayPalF&FNote/index.d.ts +8 -0
- package/dist/src/storefront/components/PaymentMethod/checkout-balance-payment-method.d.ts +14 -0
- package/dist/src/storefront/components/PaymentMethod/index.d.ts +16 -0
- package/dist/src/storefront/components/PaymentMethod/model.d.ts +21 -0
- package/dist/src/storefront/components/PaymentMethods/index.d.ts +19 -0
- package/dist/src/storefront/components/PreviewRender/index.d.ts +23 -0
- package/dist/src/storefront/components/ProcessingPayment/index.d.ts +1 -0
- package/dist/src/storefront/components/ReferralBlock/index.d.ts +18 -0
- package/dist/src/storefront/components/ReferralBlock/mask.d.ts +1 -0
- package/dist/src/storefront/components/ReferralBlock/referral-modal.d.ts +7 -0
- package/dist/src/storefront/components/ReferralBlock/step-item.d.ts +8 -0
- package/dist/src/storefront/components/SecuredBySsl/index.d.ts +6 -0
- package/dist/src/storefront/components/Sidebar/card.d.ts +7 -0
- package/dist/src/storefront/components/Sidebar/index.d.ts +4 -0
- package/dist/src/storefront/components/Sidebar/nav-list.d.ts +5 -0
- package/dist/src/storefront/components/StatItem/index.d.ts +15 -0
- package/dist/src/storefront/components/StatusIndicator/index.d.ts +7 -0
- package/dist/src/storefront/components/SubmitReview/index.d.ts +7 -0
- package/dist/src/storefront/components/SubscriptionCoupon/index.d.ts +7 -0
- package/dist/src/storefront/components/SubscriptionExpiration/index.d.ts +6 -0
- package/dist/src/storefront/components/SubscriptionExpirationDate/index.d.ts +2 -0
- package/dist/src/storefront/components/SubscriptionProduct/index.d.ts +7 -0
- package/dist/src/storefront/components/SubscriptionProduct/model.d.ts +9 -0
- package/dist/src/storefront/components/SubscriptionStatusBadge/index.d.ts +5 -0
- package/dist/src/storefront/components/SubscriptionsTable/index.d.ts +11 -0
- package/dist/src/storefront/components/Table/index.d.ts +20 -0
- package/dist/src/storefront/components/TermsOfService/index.d.ts +1 -0
- package/dist/src/storefront/components/TicketRow/index.d.ts +5 -0
- package/dist/src/storefront/components/TrackPayment/index.d.ts +8 -0
- package/dist/src/storefront/components/index.d.ts +53 -0
- package/dist/src/storefront/constants/actions.d.ts +3 -0
- package/dist/src/storefront/constants/api.d.ts +2 -0
- package/dist/src/storefront/constants/index.d.ts +3 -0
- package/dist/src/storefront/constants/referralSteps.d.ts +6 -0
- package/dist/src/storefront/constants/routes.d.ts +15 -0
- package/dist/src/storefront/hooks/index.d.ts +2 -0
- package/dist/src/storefront/hooks/useCart.d.ts +186 -0
- package/dist/src/storefront/hooks/useCopy.d.ts +1 -0
- package/dist/src/storefront/index.d.ts +11 -0
- package/dist/src/storefront/models/balance.d.ts +56 -0
- package/dist/src/storefront/models/charge.d.ts +76 -0
- package/dist/src/storefront/models/checkout.d.ts +21 -0
- package/dist/src/storefront/models/coupon.d.ts +5 -0
- package/dist/src/storefront/models/discord.d.ts +18 -0
- package/dist/src/storefront/models/gateway.d.ts +8 -0
- package/dist/src/storefront/models/index.d.ts +16 -0
- package/dist/src/storefront/models/order.d.ts +139 -0
- package/dist/src/storefront/models/payment.d.ts +16 -0
- package/dist/src/storefront/models/post.d.ts +5 -0
- package/dist/src/storefront/models/price.d.ts +5 -0
- package/dist/src/storefront/models/referral.d.ts +12 -0
- package/dist/src/storefront/models/referralCode.d.ts +3 -0
- package/dist/src/storefront/models/rewards.d.ts +72 -0
- package/dist/src/storefront/models/shop.d.ts +38 -0
- package/dist/src/storefront/models/subscription.d.ts +130 -0
- package/dist/src/storefront/models/transaction.d.ts +12 -0
- package/dist/src/storefront/store/index.d.ts +22 -0
- package/dist/src/storefront/store/useApiStore.d.ts +8 -0
- package/dist/src/storefront/store/useBlocksStore.d.ts +23 -0
- package/dist/src/storefront/store/useCartStore.d.ts +48 -0
- package/dist/src/storefront/store/useChooseImageStore.d.ts +11 -0
- package/dist/src/storefront/store/useConfirmationModalStore.d.ts +10 -0
- package/dist/src/storefront/store/useCustomerDashboardStore.d.ts +37 -0
- package/dist/src/storefront/store/useDiscordStore.d.ts +7 -0
- package/dist/src/storefront/store/useErrorStore.d.ts +12 -0
- package/dist/src/storefront/store/useGeneralStore.d.ts +9 -0
- package/dist/src/storefront/store/useHistoryState.d.ts +20 -0
- package/dist/src/storefront/store/useLayersStore.d.ts +42 -0
- package/dist/src/storefront/store/useModalStore.d.ts +6 -0
- package/dist/src/storefront/store/useNavbarStore.d.ts +7 -0
- package/dist/src/storefront/store/useNotificationStore.d.ts +7 -0
- package/dist/src/storefront/store/usePagesStore.d.ts +33 -0
- package/dist/src/storefront/store/usePaginationPagesStore.d.ts +7 -0
- package/dist/src/storefront/store/usePreviewStore.d.ts +26 -0
- package/dist/src/storefront/store/useSettingsStore.d.ts +12 -0
- package/dist/src/storefront/store/useShareLinkStore.d.ts +6 -0
- package/dist/src/storefront/store/useStorefrontStore.d.ts +23 -0
- package/dist/src/storefront/store/useSubscriptionStore.d.ts +7 -0
- package/dist/src/storefront/store/useThemeSettingsStore.d.ts +21 -0
- package/dist/src/storefront/ui/ActiveBadge/index.d.ts +5 -0
- package/dist/src/storefront/ui/InputRange/index.d.ts +9 -0
- package/dist/src/storefront/ui/ProgressBar/index.d.ts +8 -0
- package/dist/src/storefront/ui/Rating/index.d.ts +8 -0
- package/dist/src/storefront/ui/Timer/index.d.ts +6 -0
- package/dist/src/storefront/ui/index.d.ts +5 -0
- package/dist/src/storefront/utils/MarkdownText.d.ts +5 -0
- package/dist/src/storefront/utils/checkParams.d.ts +5 -0
- package/dist/src/storefront/utils/checkToken.d.ts +1 -0
- package/dist/src/storefront/utils/clearQueryParams.d.ts +1 -0
- package/dist/src/storefront/utils/index.d.ts +16 -0
- package/dist/src/storefront/utils/parseDraftJsText.d.ts +1 -0
- package/dist/src/storefront/utils/recapcha.d.ts +13 -0
- package/dist/src/storefront/utils/resizeManager.d.ts +12 -0
- package/dist/src/storefront/utils/showNotification.d.ts +3 -0
- package/dist/src/storefront/utils/stable-text.d.ts +20 -0
- package/dist/src/storefront/utils/useAdaptiveStyles.d.ts +2 -0
- package/dist/src/storefront/utils/useBalance.d.ts +2 -0
- package/dist/src/storefront/utils/useCart.d.ts +1 -0
- package/dist/src/storefront/utils/useGeneralInfo.d.ts +4 -0
- package/dist/src/storefront/utils/useMarkdownIt.d.ts +2 -0
- package/dist/src/storefront/utils/useTrackingAnalytics.d.ts +2 -0
- package/dist/src/ui/Accordion/index.d.ts +8 -0
- package/dist/src/ui/AlignText/index.d.ts +7 -0
- package/dist/src/ui/BuilderModal/index.d.ts +9 -0
- package/dist/src/ui/Button/index.d.ts +16 -0
- package/dist/src/ui/ButtonSettings/index.d.ts +14 -0
- package/dist/src/ui/ButtonTypeSettings/index.d.ts +11 -0
- package/dist/src/ui/ButtonsSettings/index.d.ts +28 -0
- package/dist/src/ui/ButtonsSettings/popup.d.ts +13 -0
- package/dist/src/ui/CategorySettings/index.d.ts +48 -0
- package/dist/src/ui/Checkbox/index.d.ts +7 -0
- package/dist/src/ui/ChooseImage/api/index.d.ts +2 -0
- package/dist/src/ui/ChooseImage/index.d.ts +17 -0
- package/dist/src/ui/ConfirmationModal/index.d.ts +2 -0
- package/dist/src/ui/ErrorableBlock/index.d.ts +5 -0
- package/dist/src/ui/FormSettings/index.d.ts +65 -0
- package/dist/src/ui/FormSettings/popup.d.ts +70 -0
- package/dist/src/ui/GroupCardModal/index.d.ts +14 -0
- package/dist/src/ui/HeaderButtons/index.d.ts +47 -0
- package/dist/src/ui/Icon/index.d.ts +13 -0
- package/dist/src/ui/Input/index.d.ts +25 -0
- package/dist/src/ui/InputSettings/index.d.ts +22 -0
- package/dist/src/ui/ItemsSettings/index.d.ts +70 -0
- package/dist/src/ui/ItemsSettings/popup.d.ts +84 -0
- package/dist/src/ui/LayoutSettings/index.d.ts +13 -0
- package/dist/src/ui/Link/index.d.ts +10 -0
- package/dist/src/ui/ListingSelector/index.d.ts +134 -0
- package/dist/src/ui/ListingSelector/popup.d.ts +20 -0
- package/dist/src/ui/Loader/index.d.ts +4 -0
- package/dist/src/ui/LoaderBuilder/index.d.ts +2 -0
- package/dist/src/ui/MetaInfoPost/index.d.ts +6 -0
- package/dist/src/ui/Modal/index.d.ts +9 -0
- package/dist/src/ui/NotificationAntistock/index.d.ts +11 -0
- package/dist/src/ui/NotificationBuilder/index.d.ts +13 -0
- package/dist/src/ui/OtherSettings/index.d.ts +15 -0
- package/dist/src/ui/PagesSettings/index.d.ts +26 -0
- package/dist/src/ui/ProductCardButtons/index.d.ts +10 -0
- package/dist/src/ui/ProductCardModal/index.d.ts +10 -0
- package/dist/src/ui/ProductOptions/index.d.ts +13 -0
- package/dist/src/ui/Radio/index.d.ts +14 -0
- package/dist/src/ui/RangeSelector/index.d.ts +11 -0
- package/dist/src/ui/Select/index.d.ts +20 -0
- package/dist/src/ui/Select/utils/index.d.ts +2 -0
- package/dist/src/ui/SelectInfiniteList/index.d.ts +20 -0
- package/dist/src/ui/SelectInfiniteList/utils/index.d.ts +2 -0
- package/dist/src/ui/SelectTypeText/index.d.ts +8 -0
- package/dist/src/ui/ShareLink/index.d.ts +5 -0
- package/dist/src/ui/Switch/index.d.ts +11 -0
- package/dist/src/ui/TextSettings/index.d.ts +20 -0
- package/dist/src/ui/Textarea/index.d.ts +13 -0
- package/dist/src/ui/TextareaSettings/index.d.ts +11 -0
- package/dist/src/ui/Tip/index.d.ts +10 -0
- package/dist/src/ui/TypesText/index.d.ts +7 -0
- package/dist/src/ui/Wrapper/index.d.ts +11 -0
- package/dist/src/ui/index.d.ts +44 -0
- package/dist/{subscription-CfSbneE9.js → subscription-CZ9Buxql.js} +5 -5
- package/dist/{subscription-CN0GP1i3.cjs → subscription-D-GVTc5C.cjs} +1 -1
- package/dist/{ticket-CDRAyz3r.js → ticket-D8MxvdiA.js} +5 -5
- package/dist/{ticket-Disch8gb.cjs → ticket-SllRZ1vs.cjs} +1 -1
- package/dist/{top-up-DEMHwk2Q.js → top-up-7XHWZMR7.js} +5 -5
- package/dist/{top-up-r9pRDkRB.cjs → top-up-CyEK2j7V.cjs} +1 -1
- package/dist/ui-components-D2ccINdB.cjs +1 -0
- package/dist/ui-components-DSaAYQJp.js +9475 -0
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-BwaClAh8.js → validation-DOeo0z9F.js} +5 -5
- package/dist/{validation-HSAYPvwb.cjs → validation-_p4G1oC2.cjs} +1 -1
- package/package.json +3 -2
- package/dist/ui-components-CDqqhvCf.js +0 -11007
- package/dist/ui-components-DcRUDS1O.cjs +0 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { IconNames } from './icon.ts';
|
|
2
|
+
type ThemeSettingsName = 'Colors' | 'Fonts' | 'Borders' | 'Buttons' | 'Inputs';
|
|
3
|
+
export interface ThemeSettingsBlock {
|
|
4
|
+
icon: IconNames;
|
|
5
|
+
name: ThemeSettingsName;
|
|
6
|
+
}
|
|
7
|
+
export declare const themeSettingsBlocks: ThemeSettingsBlock[];
|
|
8
|
+
export type FontTypeHeading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7';
|
|
9
|
+
export type FontTypeBody = 'lg' | 'md' | 'sm';
|
|
10
|
+
export type FontType = 'heading' | 'body';
|
|
11
|
+
export type FontCase = 'normal' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
12
|
+
export type BorderType = 'radius' | 'thickness';
|
|
13
|
+
export type ButtonType = 'primary' | 'secondary' | 'link';
|
|
14
|
+
export type Weight = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
15
|
+
export interface FontFields {
|
|
16
|
+
font: string;
|
|
17
|
+
size: number;
|
|
18
|
+
weight: Weight;
|
|
19
|
+
boldWeight: Weight;
|
|
20
|
+
case: FontCase;
|
|
21
|
+
}
|
|
22
|
+
export interface ButtonFields {
|
|
23
|
+
size: number;
|
|
24
|
+
height: number;
|
|
25
|
+
radius: number;
|
|
26
|
+
alignment: Alignment;
|
|
27
|
+
background: string;
|
|
28
|
+
hover: boolean;
|
|
29
|
+
font: string;
|
|
30
|
+
color: string;
|
|
31
|
+
colorHover: string;
|
|
32
|
+
backgroundHover: string;
|
|
33
|
+
boxShadow: {
|
|
34
|
+
left: number;
|
|
35
|
+
top: number;
|
|
36
|
+
blur: number;
|
|
37
|
+
spread: number;
|
|
38
|
+
color: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface BorderFields {
|
|
42
|
+
radius: string;
|
|
43
|
+
thickness: string;
|
|
44
|
+
}
|
|
45
|
+
type Font = {
|
|
46
|
+
[head in FontTypeHeading | FontTypeBody]: FontFields;
|
|
47
|
+
};
|
|
48
|
+
export type Alignment = 'left' | 'center' | 'right';
|
|
49
|
+
export type BorderStyle = 'solid' | 'dashed';
|
|
50
|
+
export interface ThemeSettings {
|
|
51
|
+
colors: {
|
|
52
|
+
text: {
|
|
53
|
+
primary: string;
|
|
54
|
+
secondary: string;
|
|
55
|
+
tertiary: string;
|
|
56
|
+
inverted: string;
|
|
57
|
+
action: string;
|
|
58
|
+
actionHover: string;
|
|
59
|
+
disabled: string;
|
|
60
|
+
warning: string;
|
|
61
|
+
error: string;
|
|
62
|
+
success: string;
|
|
63
|
+
information: string;
|
|
64
|
+
link: string;
|
|
65
|
+
};
|
|
66
|
+
icon: {
|
|
67
|
+
primary: string;
|
|
68
|
+
secondary: string;
|
|
69
|
+
tertiary: string;
|
|
70
|
+
inverted: string;
|
|
71
|
+
action: string;
|
|
72
|
+
actionHover: string;
|
|
73
|
+
disabled: string;
|
|
74
|
+
warning: string;
|
|
75
|
+
error: string;
|
|
76
|
+
success: string;
|
|
77
|
+
information: string;
|
|
78
|
+
link: string;
|
|
79
|
+
};
|
|
80
|
+
border: {
|
|
81
|
+
primary: string;
|
|
82
|
+
secondary: string;
|
|
83
|
+
action: string;
|
|
84
|
+
actionHover: string;
|
|
85
|
+
disabled: string;
|
|
86
|
+
warning: string;
|
|
87
|
+
error: string;
|
|
88
|
+
success: string;
|
|
89
|
+
information: string;
|
|
90
|
+
focus: string;
|
|
91
|
+
};
|
|
92
|
+
surface: {
|
|
93
|
+
primary: string;
|
|
94
|
+
secondary: string;
|
|
95
|
+
action1: string;
|
|
96
|
+
action1Hover: string;
|
|
97
|
+
action2: string;
|
|
98
|
+
action2Hover: string;
|
|
99
|
+
disabled: string;
|
|
100
|
+
warning: string;
|
|
101
|
+
error: string;
|
|
102
|
+
success: string;
|
|
103
|
+
information: string;
|
|
104
|
+
modal: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
fonts: {
|
|
108
|
+
mobile: {
|
|
109
|
+
fontSizePercentage: number;
|
|
110
|
+
};
|
|
111
|
+
tablet: {
|
|
112
|
+
fontSizePercentage: number;
|
|
113
|
+
};
|
|
114
|
+
desktop: {
|
|
115
|
+
heading: Partial<Font>;
|
|
116
|
+
body: Partial<Font>;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
borders: BorderFields;
|
|
120
|
+
buttons: {
|
|
121
|
+
primary: ButtonFields;
|
|
122
|
+
secondary: ButtonFields;
|
|
123
|
+
tertiary: ButtonFields;
|
|
124
|
+
};
|
|
125
|
+
inputs: {
|
|
126
|
+
placeholder: {
|
|
127
|
+
color: string;
|
|
128
|
+
};
|
|
129
|
+
general: {
|
|
130
|
+
height: number;
|
|
131
|
+
size: number;
|
|
132
|
+
color: string;
|
|
133
|
+
};
|
|
134
|
+
field: {
|
|
135
|
+
active: boolean;
|
|
136
|
+
color: string;
|
|
137
|
+
opacity: number;
|
|
138
|
+
};
|
|
139
|
+
border: {
|
|
140
|
+
active: boolean;
|
|
141
|
+
style: BorderStyle;
|
|
142
|
+
radius: number;
|
|
143
|
+
thickness: number;
|
|
144
|
+
color: string;
|
|
145
|
+
};
|
|
146
|
+
label: {
|
|
147
|
+
height: number;
|
|
148
|
+
size: number;
|
|
149
|
+
color: string;
|
|
150
|
+
alignment: Alignment;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './abstractions';
|
|
2
|
+
export { hotReload, splitTextIntoSpans, useCreateTicket, useBuilderPages } from './lib';
|
|
3
|
+
export { iconNames, type IconNames, ColorVariables, type AspectRatio, aspectRatioOptions, } from './shared/constants';
|
|
4
|
+
export { Routes, AntistockRoutes } from './storefront/constants/routes';
|
|
5
|
+
export type { Notification, NotificationComponentProps } from './shared/constants';
|
|
6
|
+
export type { TypeFontKeys } from './shared/constants';
|
|
7
|
+
export { ReCaptchaProvider, useReCaptcha } from './storefront/utils/recapcha';
|
|
8
|
+
export { useCart } from './storefront/utils/useCart';
|
|
9
|
+
export { useGeneralInfo } from './storefront/utils/useGeneralInfo';
|
|
10
|
+
export { showNotification, removeNotification } from './storefront/utils/showNotification';
|
|
11
|
+
export { useAdaptiveStyles } from './storefront/utils/useAdaptiveStyles';
|
|
12
|
+
export { formatPrice } from './storefront/utils';
|
|
13
|
+
export { parseDraftJsText } from './storefront/utils/parseDraftJsText';
|
|
14
|
+
export { useBalance } from './storefront/utils/useBalance';
|
|
15
|
+
export { useMarkdownIt } from './storefront/utils/useMarkdownIt';
|
|
16
|
+
export { MarkdownText } from './storefront/utils/MarkdownText';
|
|
17
|
+
export { Checkout } from './pages/checkout';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Хук для регистрации иконок
|
|
3
|
+
* Используйте этот хук в вашем приложении для регистрации нужных иконок
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* import { ShoppingCart, Heart, User } from '@phosphor-icons/react';
|
|
8
|
+
* import { useIconRegistration } from '@billgangcom/theme-lib';
|
|
9
|
+
*
|
|
10
|
+
* function MyApp() {
|
|
11
|
+
* useIconRegistration({
|
|
12
|
+
* ShoppingCart,
|
|
13
|
+
* Heart,
|
|
14
|
+
* User
|
|
15
|
+
* });
|
|
16
|
+
*
|
|
17
|
+
* return <div>...</div>;
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function useIconRegistration(icons: Record<string, React.ComponentType<any>>): void;
|
|
22
|
+
/**
|
|
23
|
+
* Функция для регистрации иконок без хука
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* import { ShoppingCart, Heart } from '@phosphor-icons/react';
|
|
28
|
+
* import { registerIcons } from '@billgangcom/theme-lib';
|
|
29
|
+
*
|
|
30
|
+
* // Регистрируем иконки один раз в начале приложения
|
|
31
|
+
* registerIcons({
|
|
32
|
+
* ShoppingCart,
|
|
33
|
+
* Heart
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function registerIcons(icons: Record<string, React.ComponentType<any>>): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useCreateTicket: () => (title: string, message: string, recaptcha: string, email: string, orderId?: string) => Promise<import("@api").RequestResponse<any> | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DynamicRouteWrapper(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hotReload(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './getDynamicRoutes';
|
|
2
|
+
export * from './generateDynamicStyles';
|
|
3
|
+
export * from './injectStylesToDOM';
|
|
4
|
+
export * from './setupDynamicFonts';
|
|
5
|
+
export * from './loadCustomFonts';
|
|
6
|
+
export * from './hotReload';
|
|
7
|
+
export * from './splitTextIntoSpans';
|
|
8
|
+
export * from './createTicket';
|
|
9
|
+
export * from './useBuilderPages';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const injectStylesToDOM: (styles: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const loadCustomFonts: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function splitTextIntoSpans(text: string, returnHtml?: boolean): string | JSX.Element[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useBuilderPages: () => Record<string, import("../constants").Page> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Balance: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payment } from '@storefront/models';
|
|
2
|
+
export declare const getTransactions: (pageNumber?: number) => Promise<{
|
|
3
|
+
list: any;
|
|
4
|
+
totalCount: number;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const requestTopUpBalance: ({ price, gateway, customerEmail }: Payment) => Promise<import("../../api").RequestResponse<any>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../../styles/main.scss';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ISettings } from '../../abstractions';
|
|
4
|
+
interface BuilderProps {
|
|
5
|
+
blocks: Record<string, any>;
|
|
6
|
+
settings: ISettings;
|
|
7
|
+
header: Record<string, any>;
|
|
8
|
+
footer: Record<string, any>;
|
|
9
|
+
announcement: Record<string, any>;
|
|
10
|
+
}
|
|
11
|
+
export declare const BuilderPage: React.FC<BuilderProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function checkAuth(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ChargePage: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDynamicPage: (route: string, passwordProtected?: boolean) => Promise<import("@api").RequestResponse<any> | null | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ErrorPage: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Price } from '@storefront/models';
|
|
2
|
+
interface Image {
|
|
3
|
+
id: number;
|
|
4
|
+
cfId: string;
|
|
5
|
+
}
|
|
6
|
+
interface Product {
|
|
7
|
+
name: string;
|
|
8
|
+
image: Image;
|
|
9
|
+
amountSpentUsd?: number;
|
|
10
|
+
purchasedTimes: number;
|
|
11
|
+
cfImageId: string;
|
|
12
|
+
shortDescription?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Home {
|
|
15
|
+
totalSpent: number;
|
|
16
|
+
totalPurchases: number;
|
|
17
|
+
averageReview: number;
|
|
18
|
+
visits: number;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
ratingPlacement: number;
|
|
21
|
+
balance?: Price;
|
|
22
|
+
spendMoreDefaultCurrencyForNextPlace: number;
|
|
23
|
+
topSpenderProduct?: Product;
|
|
24
|
+
favoriteProduct?: Product;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OrderPage: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { GetChargeApiData, OrderStatus, Price } from '@storefront/models';
|
|
2
|
+
export type Image = {
|
|
3
|
+
id: number;
|
|
4
|
+
cfId: string;
|
|
5
|
+
};
|
|
6
|
+
export type PublicOrderPart = {
|
|
7
|
+
id: number;
|
|
8
|
+
productWithVariant: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
shortDescription?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
image?: Image;
|
|
14
|
+
variantId: string;
|
|
15
|
+
variantName: string;
|
|
16
|
+
price: Price;
|
|
17
|
+
};
|
|
18
|
+
quantity: number;
|
|
19
|
+
endPrice: Price;
|
|
20
|
+
endPriceUSD: Price['amount'];
|
|
21
|
+
customerNote?: string;
|
|
22
|
+
};
|
|
23
|
+
type BaseOrder = {
|
|
24
|
+
id: string;
|
|
25
|
+
status: OrderStatus;
|
|
26
|
+
rawPrice: Price;
|
|
27
|
+
endPrice: Price;
|
|
28
|
+
endPriceUSD: Price['amount'];
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
expiresAt: Date;
|
|
31
|
+
charge: GetChargeApiData;
|
|
32
|
+
timeline: Partial<Record<OrderStatus, Date>>;
|
|
33
|
+
};
|
|
34
|
+
export type PublicOrderReview = {
|
|
35
|
+
rating?: number;
|
|
36
|
+
comment?: string;
|
|
37
|
+
sellerReply?: string;
|
|
38
|
+
createdAt?: Date;
|
|
39
|
+
updatedAt?: Date;
|
|
40
|
+
};
|
|
41
|
+
export type AuthenticatedOrderReview = PublicOrderReview & {
|
|
42
|
+
accessToken: string;
|
|
43
|
+
};
|
|
44
|
+
export type PublicOrder = BaseOrder & {
|
|
45
|
+
partOrders: PublicOrderPart[];
|
|
46
|
+
review: PublicOrderReview;
|
|
47
|
+
};
|
|
48
|
+
export type AuthenticatedOrder = BaseOrder & {
|
|
49
|
+
partOrders: AuthenticatedOrderPart[];
|
|
50
|
+
review: AuthenticatedOrderReview;
|
|
51
|
+
};
|
|
52
|
+
export type AuthenticatedOrderPart = PublicOrderPart & {
|
|
53
|
+
deliveryCategories: DeliveryConfiguration[];
|
|
54
|
+
};
|
|
55
|
+
type BaseDeliveryConfiguration = {
|
|
56
|
+
id: number;
|
|
57
|
+
customName?: string;
|
|
58
|
+
};
|
|
59
|
+
export type ExternalDeliveryConfiguration = BaseDeliveryConfiguration & {
|
|
60
|
+
type: DeliveryConfigurationType.Ebook | DeliveryConfigurationType.Link | DeliveryConfigurationType.Download;
|
|
61
|
+
deliveryItems: [TextDeliveryItem];
|
|
62
|
+
};
|
|
63
|
+
export type InternalDeliveryConfiguration = BaseDeliveryConfiguration & ({
|
|
64
|
+
type: DeliveryConfigurationType.Custom | DeliveryConfigurationType.Text | DeliveryConfigurationType.Discord;
|
|
65
|
+
deliveryItems: [TextDeliveryItem];
|
|
66
|
+
} | {
|
|
67
|
+
type: DeliveryConfigurationType.Serial;
|
|
68
|
+
deliveryItems: SerialDeliveryItem[];
|
|
69
|
+
});
|
|
70
|
+
export type DeliveryConfiguration = ExternalDeliveryConfiguration | InternalDeliveryConfiguration;
|
|
71
|
+
export declare const enum DeliveryConfigurationType {
|
|
72
|
+
Text = "TEXT",
|
|
73
|
+
Serial = "SERIALS",
|
|
74
|
+
Ebook = "EBOOK",
|
|
75
|
+
Link = "LINK",
|
|
76
|
+
Download = "DOWNLOAD",
|
|
77
|
+
Discord = "DISCORD",
|
|
78
|
+
Telegram = "TELEGRAM",
|
|
79
|
+
Custom = "CUSTOM"
|
|
80
|
+
}
|
|
81
|
+
export type BaseDeliveryItem = {
|
|
82
|
+
id: string;
|
|
83
|
+
deliveredAt: Date;
|
|
84
|
+
};
|
|
85
|
+
export type TextDeliveryItem = BaseDeliveryItem & {
|
|
86
|
+
textData: string;
|
|
87
|
+
};
|
|
88
|
+
export type SerialDeliveryItem = BaseDeliveryItem & {
|
|
89
|
+
serialKey: string;
|
|
90
|
+
};
|
|
91
|
+
export type GetOrderApiData = PublicOrder | AuthenticatedOrder;
|
|
92
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Orders: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Subscription: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Subscriptions: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TicketItem: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum TicketStatus {
|
|
2
|
+
NEW = "NEW",
|
|
3
|
+
ANSWERED = "ANSWERED",
|
|
4
|
+
NOT_ANSWERED = "NOT_ANSWERED",
|
|
5
|
+
CLOSED = "CLOSED"
|
|
6
|
+
}
|
|
7
|
+
interface Message {
|
|
8
|
+
content: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
id: number;
|
|
11
|
+
isSellerReply: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface Customer {
|
|
14
|
+
email: string;
|
|
15
|
+
id: number;
|
|
16
|
+
}
|
|
17
|
+
export interface Ticket {
|
|
18
|
+
customer: Customer;
|
|
19
|
+
messages: Message[];
|
|
20
|
+
status: TicketStatus;
|
|
21
|
+
title: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Tickets: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum TicketStatus {
|
|
2
|
+
NEW = "NEW",
|
|
3
|
+
ANSWERED = "ANSWERED",
|
|
4
|
+
NOT_ANSWERED = "NOT_ANSWERED",
|
|
5
|
+
CLOSED = "CLOSED"
|
|
6
|
+
}
|
|
7
|
+
export interface TicketItem {
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
accessToken: string;
|
|
11
|
+
latestMessage: string;
|
|
12
|
+
status: TicketStatus;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt?: string;
|
|
15
|
+
}
|
|
16
|
+
interface TicketsResult {
|
|
17
|
+
list: TicketItem[];
|
|
18
|
+
totalCount: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const getTickets: (page?: number) => Promise<TicketsResult>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TopUpBalance: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const aspectRatio: {
|
|
2
|
+
readonly '1:1': "1:1";
|
|
3
|
+
readonly '4:3': "4:3";
|
|
4
|
+
readonly '16:9': "16:9";
|
|
5
|
+
readonly '9:16': "9:16";
|
|
6
|
+
};
|
|
7
|
+
export type AspectRatio = keyof typeof aspectRatio;
|
|
8
|
+
export declare const aspectRatioOptions: {
|
|
9
|
+
value: string;
|
|
10
|
+
addon: import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
}[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare enum ColorVariables {
|
|
2
|
+
ICON_LINK = "--icon-link",
|
|
3
|
+
ICON_ERROR = "--icon-error",
|
|
4
|
+
ICON_ACTION = "--icon-action",
|
|
5
|
+
ICON_PRIMARY = "--icon-primary",
|
|
6
|
+
ICON_SUCCESS = "--icon-success",
|
|
7
|
+
ICON_WARNING = "--icon-warning",
|
|
8
|
+
ICON_DISABLED = "--icon-disabled",
|
|
9
|
+
ICON_INVERTED = "--icon-inverted",
|
|
10
|
+
ICON_TERTIARY = "--icon-tertiary",
|
|
11
|
+
ICON_SECONDARY = "--icon-secondary",
|
|
12
|
+
ICON_ACTION_HOVER = "--icon-actionHover",
|
|
13
|
+
ICON_INFORMATION = "--icon-information",
|
|
14
|
+
TEXT_LINK = "--text-link",
|
|
15
|
+
TEXT_ERROR = "--text-error",
|
|
16
|
+
TEXT_ACTION = "--text-action",
|
|
17
|
+
TEXT_PRIMARY = "--text-primary",
|
|
18
|
+
TEXT_SUCCESS = "--text-success",
|
|
19
|
+
TEXT_WARNING = "--text-warning",
|
|
20
|
+
TEXT_DISABLED = "--text-disabled",
|
|
21
|
+
TEXT_INVERTED = "--text-inverted",
|
|
22
|
+
TEXT_TERTIARY = "--text-tertiary",
|
|
23
|
+
TEXT_SECONDARY = "--text-secondary",
|
|
24
|
+
TEXT_ACTION_HOVER = "--text-actionHover",
|
|
25
|
+
TEXT_INFORMATION = "--text-information",
|
|
26
|
+
BORDER_ERROR = "--border-error",
|
|
27
|
+
BORDER_FOCUS = "--border-focus",
|
|
28
|
+
BORDER_ACTION = "--border-action",
|
|
29
|
+
BORDER_PRIMARY = "--border-primary",
|
|
30
|
+
BORDER_SUCCESS = "--border-success",
|
|
31
|
+
BORDER_WARNING = "--border-warning",
|
|
32
|
+
BORDER_DISABLED = "--border-disabled",
|
|
33
|
+
BORDER_SECONDARY = "--border-secondary",
|
|
34
|
+
BORDER_ACTION_HOVER = "--border-actionHover",
|
|
35
|
+
BORDER_INFORMATION = "--border-information",
|
|
36
|
+
SURFACE_ERROR = "--surface-error",
|
|
37
|
+
SURFACE_MODAL = "--surface-modal",
|
|
38
|
+
SURFACE_ACTION1 = "--surface-action1",
|
|
39
|
+
SURFACE_ACTION2 = "--surface-action2",
|
|
40
|
+
SURFACE_PRIMARY = "--surface-primary",
|
|
41
|
+
SURFACE_SUCCESS = "--surface-success",
|
|
42
|
+
SURFACE_WARNING = "--surface-warning",
|
|
43
|
+
SURFACE_DISABLED = "--surface-disabled",
|
|
44
|
+
SURFACE_SECONDARY = "--surface-secondary",
|
|
45
|
+
SURFACE_INFORMATION = "--surface-information",
|
|
46
|
+
SURFACE_ACTION1_HOVER = "--surface-action1Hover",
|
|
47
|
+
SURFACE_ACTION2_HOVER = "--surface-action2Hover"
|
|
48
|
+
}
|