@mohasinac/appkit 4.52.5 → 4.53.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.
- package/dist/.build-stamp.json +4 -4
- package/dist/_internal/client/features/sticker-trace/canvas-codec.d.ts +2 -0
- package/dist/_internal/client/features/sticker-trace/canvas-codec.js +148 -0
- package/dist/_internal/server/features/auctions/actions.js +1 -1
- package/dist/_internal/server/features/categories/data.js +23 -7
- package/dist/_internal/server/features/checkout/actions.js +10 -3
- package/dist/_internal/server/features/checkout/data.d.ts +15 -0
- package/dist/_internal/server/features/checkout/data.js +20 -3
- package/dist/_internal/server/features/lottery/actions.js +9 -1
- package/dist/_internal/server/features/lottery/og.d.ts +40 -0
- package/dist/_internal/server/features/lottery/og.js +79 -0
- package/dist/_internal/server/features/messages/actions.js +4 -0
- package/dist/_internal/server/features/offers/adapters.js +17 -3
- package/dist/_internal/server/features/orders/actions.js +7 -2
- package/dist/_internal/server/features/raffle/actions.d.ts +19 -0
- package/dist/_internal/server/features/raffle/actions.js +25 -0
- package/dist/_internal/server/features/reviews/actions.js +1 -1
- package/dist/_internal/server/features/reviews/data.d.ts +1 -1
- package/dist/_internal/server/features/search/index-build/artifact-store.d.ts +89 -0
- package/dist/_internal/server/features/search/index-build/artifact-store.js +208 -0
- package/dist/_internal/server/features/search/index-build/build.d.ts +57 -0
- package/dist/_internal/server/features/search/index-build/build.js +285 -0
- package/dist/_internal/server/features/search/index-build/sources.d.ts +53 -0
- package/dist/_internal/server/features/search/index-build/sources.js +385 -0
- package/dist/_internal/server/features/search/search-sources.d.ts +0 -15
- package/dist/_internal/server/features/search/search-sources.js +142 -7
- package/dist/_internal/server/features/seo/robots.js +21 -1
- package/dist/_internal/server/features/seo/sitemap.js +1 -1
- package/dist/_internal/server/features/shared/listing-data-factory.js +16 -4
- package/dist/_internal/server/features/site-settings/adapters.d.ts +1 -1
- package/dist/_internal/server/features/site-settings/adapters.js +26 -0
- package/dist/_internal/server/features/sticker-trace/actions.d.ts +109 -0
- package/dist/_internal/server/features/sticker-trace/actions.js +172 -0
- package/dist/_internal/server/features/sticker-trace/adapters.d.ts +80 -0
- package/dist/_internal/server/features/sticker-trace/adapters.js +174 -0
- package/dist/_internal/server/features/sticker-trace/build-cut-file.d.ts +26 -0
- package/dist/_internal/server/features/sticker-trace/build-cut-file.js +127 -0
- package/dist/_internal/server/features/sticker-trace/coordinator.d.ts +27 -0
- package/dist/_internal/server/features/sticker-trace/coordinator.js +169 -0
- package/dist/_internal/server/features/sticker-trace/fanout.d.ts +43 -0
- package/dist/_internal/server/features/sticker-trace/fanout.js +180 -0
- package/dist/_internal/server/features/sticker-trace/finalizer.d.ts +25 -0
- package/dist/_internal/server/features/sticker-trace/finalizer.js +123 -0
- package/dist/_internal/server/features/sticker-trace/mosaic-inputs.d.ts +30 -0
- package/dist/_internal/server/features/sticker-trace/mosaic-inputs.js +112 -0
- package/dist/_internal/server/features/sticker-trace/progress.d.ts +81 -0
- package/dist/_internal/server/features/sticker-trace/progress.js +198 -0
- package/dist/_internal/server/features/sticker-trace/promote.d.ts +23 -0
- package/dist/_internal/server/features/sticker-trace/promote.js +193 -0
- package/dist/_internal/server/features/sticker-trace/shard.d.ts +50 -0
- package/dist/_internal/server/features/sticker-trace/shard.js +174 -0
- package/dist/_internal/server/features/sticker-trace/sheet-actions.d.ts +141 -0
- package/dist/_internal/server/features/sticker-trace/sheet-actions.js +279 -0
- package/dist/_internal/server/features/sticker-trace/storage.d.ts +135 -0
- package/dist/_internal/server/features/sticker-trace/storage.js +282 -0
- package/dist/_internal/server/functions/scheduled.d.ts +2 -1
- package/dist/_internal/server/functions/scheduled.js +25 -1
- package/dist/_internal/server/jobs/core/_event-ref.d.ts +51 -0
- package/dist/_internal/server/jobs/core/_event-ref.js +63 -0
- package/dist/_internal/server/jobs/core/assignSpinPrize.d.ts +18 -0
- package/dist/_internal/server/jobs/core/assignSpinPrize.js +77 -16
- package/dist/_internal/server/jobs/core/auctionSettlement.js +13 -4
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +44 -15
- package/dist/_internal/server/jobs/core/bundleStockSync.js +3 -4
- package/dist/_internal/server/jobs/core/cleanupRtdbEvents.js +44 -0
- package/dist/_internal/server/jobs/core/event-draw-reasons.d.ts +78 -0
- package/dist/_internal/server/jobs/core/event-draw-reasons.js +133 -0
- package/dist/_internal/server/jobs/core/listingProcessor.js +28 -8
- package/dist/_internal/server/jobs/core/onOrderCreate.js +12 -1
- package/dist/_internal/server/jobs/core/onScamReportCreate.js +13 -2
- package/dist/_internal/server/jobs/core/onScamReportRejected.js +8 -2
- package/dist/_internal/server/jobs/core/onScamReportVerified.js +8 -2
- package/dist/_internal/server/jobs/core/onStoreWrite.js +11 -4
- package/dist/_internal/server/jobs/core/prizeDrawAssignWinner.js +5 -4
- package/dist/_internal/server/jobs/core/prizeDrawExpiryReveal.js +1 -4
- package/dist/_internal/server/jobs/core/prizeDrawSoldOutReveal.js +1 -2
- package/dist/_internal/server/jobs/core/promotions.js +7 -4
- package/dist/_internal/server/jobs/core/searchIndexBuild.d.ts +7 -0
- package/dist/_internal/server/jobs/core/searchIndexBuild.js +211 -0
- package/dist/_internal/server/jobs/core/triggerEventRaffle.d.ts +35 -0
- package/dist/_internal/server/jobs/core/triggerEventRaffle.js +213 -31
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +20 -14
- package/dist/_internal/server/jobs/handlers/assignSpinPrize.d.ts +8 -0
- package/dist/_internal/server/jobs/handlers/assignSpinPrize.js +15 -15
- package/dist/_internal/server/jobs/handlers/index.d.ts +1 -0
- package/dist/_internal/server/jobs/handlers/index.js +1 -0
- package/dist/_internal/server/jobs/handlers/onCategoryWrite.js +18 -0
- package/dist/_internal/server/jobs/handlers/onProductWrite.js +18 -0
- package/dist/_internal/server/jobs/handlers/onReviewWrite.js +18 -0
- package/dist/_internal/server/jobs/handlers/onScamReportUpdate.js +18 -0
- package/dist/_internal/server/jobs/handlers/onStoreWrite.js +18 -0
- package/dist/_internal/server/jobs/handlers/searchIndexBuild.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/searchIndexBuild.js +2 -0
- package/dist/_internal/server/jobs/handlers/triggerEventRaffle.d.ts +8 -0
- package/dist/_internal/server/jobs/handlers/triggerEventRaffle.js +15 -6
- package/dist/_internal/shared/actions/action-registry.js +29 -0
- package/dist/_internal/shared/cache/revalidate-targets.d.ts +0 -1
- package/dist/_internal/shared/cache/revalidate-targets.js +10 -8
- package/dist/_internal/shared/features/events/config.d.ts +14 -0
- package/dist/_internal/shared/features/events/config.js +14 -0
- package/dist/_internal/shared/features/notifications/action-url.js +8 -0
- package/dist/_internal/shared/features/site-settings/types.d.ts +11 -0
- package/dist/_internal/shared/features/sticker-trace/codec.d.ts +81 -0
- package/dist/_internal/shared/features/sticker-trace/codec.js +30 -0
- package/dist/_internal/shared/features/sticker-trace/config.d.ts +81 -0
- package/dist/_internal/shared/features/sticker-trace/config.js +177 -0
- package/dist/_internal/shared/features/sticker-trace/cut-contour.d.ts +20 -0
- package/dist/_internal/shared/features/sticker-trace/cut-contour.js +60 -0
- package/dist/_internal/shared/features/sticker-trace/export/build-export-set.d.ts +65 -0
- package/dist/_internal/shared/features/sticker-trace/export/build-export-set.js +176 -0
- package/dist/_internal/shared/features/sticker-trace/export/cut-svg.d.ts +56 -0
- package/dist/_internal/shared/features/sticker-trace/export/cut-svg.js +120 -0
- package/dist/_internal/shared/features/sticker-trace/export/machine-profiles.d.ts +92 -0
- package/dist/_internal/shared/features/sticker-trace/export/machine-profiles.js +153 -0
- package/dist/_internal/shared/features/sticker-trace/export/nesting.d.ts +51 -0
- package/dist/_internal/shared/features/sticker-trace/export/nesting.js +110 -0
- package/dist/_internal/shared/features/sticker-trace/export/page-sizes.d.ts +68 -0
- package/dist/_internal/shared/features/sticker-trace/export/page-sizes.js +223 -0
- package/dist/_internal/shared/features/sticker-trace/export/part-tiling.d.ts +51 -0
- package/dist/_internal/shared/features/sticker-trace/export/part-tiling.js +178 -0
- package/dist/_internal/shared/features/sticker-trace/export/simplify-budget.d.ts +26 -0
- package/dist/_internal/shared/features/sticker-trace/export/simplify-budget.js +134 -0
- package/dist/_internal/shared/features/sticker-trace/export/vectorise-art.d.ts +40 -0
- package/dist/_internal/shared/features/sticker-trace/export/vectorise-art.js +195 -0
- package/dist/_internal/shared/features/sticker-trace/index.d.ts +2 -0
- package/dist/_internal/shared/features/sticker-trace/index.js +59 -0
- package/dist/_internal/shared/features/sticker-trace/math/catmull-rom.d.ts +11 -0
- package/dist/_internal/shared/features/sticker-trace/math/catmull-rom.js +66 -0
- package/dist/_internal/shared/features/sticker-trace/math/edt.d.ts +27 -0
- package/dist/_internal/shared/features/sticker-trace/math/edt.js +165 -0
- package/dist/_internal/shared/features/sticker-trace/math/label.d.ts +15 -0
- package/dist/_internal/shared/features/sticker-trace/math/label.js +156 -0
- package/dist/_internal/shared/features/sticker-trace/math/marching-squares.d.ts +16 -0
- package/dist/_internal/shared/features/sticker-trace/math/marching-squares.js +242 -0
- package/dist/_internal/shared/features/sticker-trace/math/morphology.d.ts +46 -0
- package/dist/_internal/shared/features/sticker-trace/math/morphology.js +168 -0
- package/dist/_internal/shared/features/sticker-trace/math/rasterize-path.d.ts +88 -0
- package/dist/_internal/shared/features/sticker-trace/math/rasterize-path.js +286 -0
- package/dist/_internal/shared/features/sticker-trace/math/rdp.d.ts +10 -0
- package/dist/_internal/shared/features/sticker-trace/math/rdp.js +74 -0
- package/dist/_internal/shared/features/sticker-trace/resume.d.ts +50 -0
- package/dist/_internal/shared/features/sticker-trace/resume.js +160 -0
- package/dist/_internal/shared/features/sticker-trace/trace/cluster.d.ts +20 -0
- package/dist/_internal/shared/features/sticker-trace/trace/cluster.js +132 -0
- package/dist/_internal/shared/features/sticker-trace/trace/cross-profile.d.ts +28 -0
- package/dist/_internal/shared/features/sticker-trace/trace/cross-profile.js +120 -0
- package/dist/_internal/shared/features/sticker-trace/trace/flood.d.ts +21 -0
- package/dist/_internal/shared/features/sticker-trace/trace/flood.js +104 -0
- package/dist/_internal/shared/features/sticker-trace/trace/geometry.d.ts +3 -0
- package/dist/_internal/shared/features/sticker-trace/trace/geometry.js +140 -0
- package/dist/_internal/shared/features/sticker-trace/trace/line-filter.d.ts +15 -0
- package/dist/_internal/shared/features/sticker-trace/trace/line-filter.js +138 -0
- package/dist/_internal/shared/features/sticker-trace/trace/merge.d.ts +27 -0
- package/dist/_internal/shared/features/sticker-trace/trace/merge.js +187 -0
- package/dist/_internal/shared/features/sticker-trace/trace/paper.d.ts +32 -0
- package/dist/_internal/shared/features/sticker-trace/trace/paper.js +147 -0
- package/dist/_internal/shared/features/sticker-trace/trace/prefilter.d.ts +30 -0
- package/dist/_internal/shared/features/sticker-trace/trace/prefilter.js +125 -0
- package/dist/_internal/shared/features/sticker-trace/trace/quantise.d.ts +10 -0
- package/dist/_internal/shared/features/sticker-trace/trace/quantise.js +153 -0
- package/dist/_internal/shared/features/sticker-trace/trace/ridge.d.ts +88 -0
- package/dist/_internal/shared/features/sticker-trace/trace/ridge.js +344 -0
- package/dist/_internal/shared/features/sticker-trace/trace/segment.d.ts +10 -0
- package/dist/_internal/shared/features/sticker-trace/trace/segment.js +251 -0
- package/dist/_internal/shared/features/sticker-trace/types.d.ts +197 -0
- package/dist/_internal/shared/features/sticker-trace/types.js +49 -0
- package/dist/_internal/shared/listing-types/_registry.d.ts +11 -0
- package/dist/_internal/shared/listing-types/art/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/art/config.js +1 -0
- package/dist/_internal/shared/listing-types/auction/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/auction/config.js +1 -0
- package/dist/_internal/shared/listing-types/classified/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/classified/config.js +1 -0
- package/dist/_internal/shared/listing-types/digital-code/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/digital-code/config.js +1 -0
- package/dist/_internal/shared/listing-types/feature-flags.d.ts +7 -0
- package/dist/_internal/shared/listing-types/feature-flags.js +9 -0
- package/dist/_internal/shared/listing-types/live/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/live/config.js +1 -0
- package/dist/_internal/shared/listing-types/pre-order/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/pre-order/config.js +1 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.js +1 -0
- package/dist/_internal/shared/listing-types/standard/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/standard/config.js +1 -0
- package/dist/_internal/shared/listing-types/stickers/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/stickers/config.js +1 -0
- package/dist/_internal/shared/media/limits.d.ts +12 -2
- package/dist/_internal/shared/media/limits.js +12 -2
- package/dist/_internal/shared/search/artifact-url.d.ts +35 -0
- package/dist/_internal/shared/search/artifact-url.js +119 -0
- package/dist/_internal/shared/search/index-record.d.ts +68 -0
- package/dist/_internal/shared/search/index-record.js +96 -0
- package/dist/_internal/shared/search/match.d.ts +65 -0
- package/dist/_internal/shared/search/match.js +263 -0
- package/dist/client.d.ts +8 -7
- package/dist/client.js +12 -5
- package/dist/configs/eslint.js +22 -2
- package/dist/constants/api-endpoints.d.ts +68 -0
- package/dist/constants/api-endpoints.js +32 -0
- package/dist/constants/field-names.d.ts +7 -1
- package/dist/constants/field-names.js +36 -1
- package/dist/contracts/repository.d.ts +8 -7
- package/dist/contracts/search.d.ts +2 -2
- package/dist/contracts/table.d.ts +3 -3
- package/dist/contracts/table.js +3 -3
- package/dist/core/contact-submissions.repository.js +2 -2
- package/dist/core/integration-keys.js +7 -1
- package/dist/core/newsletter.repository.js +2 -2
- package/dist/core/site-config.js +1 -1
- package/dist/errors/error-codes.d.ts +30 -0
- package/dist/errors/error-codes.js +30 -0
- package/dist/errors/error-display-map.js +40 -1
- package/dist/features/account/api/[userId]/addresses/route.js +1 -1
- package/dist/features/account/components/UserBidsView.js +1 -1
- package/dist/features/account/components/index.d.ts +0 -8
- package/dist/features/account/components/index.js +0 -4
- package/dist/features/addresses/repository/addresses.repository.d.ts +17 -6
- package/dist/features/addresses/repository/addresses.repository.js +65 -9
- package/dist/features/addresses/schemas/firestore.d.ts +17 -6
- package/dist/features/admin/actions/notification-actions.js +15 -6
- package/dist/features/admin/api/bids/route.js +1 -1
- package/dist/features/admin/api/coupons/route.js +1 -1
- package/dist/features/admin/api/products/route.js +1 -1
- package/dist/features/admin/api/reviews/route.js +1 -1
- package/dist/features/admin/components/AdminAdEditorView.js +19 -5
- package/dist/features/admin/components/AdminAuditLogView.js +1 -1
- package/dist/features/admin/components/AdminBlogEditorView.js +0 -1
- package/dist/features/admin/components/AdminBlogView.js +1 -1
- package/dist/features/admin/components/AdminBrandsView.js +17 -1
- package/dist/features/admin/components/AdminCategoryEditorView.js +0 -1
- package/dist/features/admin/components/AdminContactView.js +1 -1
- package/dist/features/admin/components/AdminEmployeeEditorView.js +1 -3
- package/dist/features/admin/components/AdminNewsletterView.js +1 -1
- package/dist/features/admin/components/AdminOrdersView.js +9 -2
- package/dist/features/admin/components/AdminPayoutsView.js +1 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.js +11 -0
- package/dist/features/admin/components/AdminProductEditorView.d.ts +10 -1
- package/dist/features/admin/components/AdminProductEditorView.js +24 -37
- package/dist/features/admin/components/AdminProductsView.js +10 -3
- package/dist/features/admin/components/AdminScammersView.js +1 -1
- package/dist/features/admin/components/AdminSectionsView.js +21 -5
- package/dist/features/admin/components/AdminSessionsView.js +1 -1
- package/dist/features/admin/components/AdminSublistingCategoriesView.js +22 -1
- package/dist/features/admin/components/AdminTeamView.js +1 -1
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +0 -1
- package/dist/features/admin/components/AdminUsersView.js +1 -1
- package/dist/features/admin/components/DataListingView.d.ts +2 -1
- package/dist/features/admin/components/DataListingView.js +9 -4
- package/dist/features/admin/components/analytics/AdminPageViewsReportView.js +0 -2
- package/dist/features/admin/hooks/useAdminListing.d.ts +1 -1
- package/dist/features/admin/repository/site-settings.repository.js +8 -3
- package/dist/features/admin/schemas/firestore.d.ts +62 -1
- package/dist/features/admin/schemas/firestore.js +32 -0
- package/dist/features/admin/types/index.d.ts +1 -1
- package/dist/features/auctions/actions/bid-actions.d.ts +2 -2
- package/dist/features/auctions/actions/bid-actions.js +16 -4
- package/dist/features/auctions/api/route.js +1 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +4 -0
- package/dist/features/auctions/repository/bid.repository.d.ts +46 -4
- package/dist/features/auctions/repository/bid.repository.js +114 -13
- package/dist/features/auctions/schemas/firestore.d.ts +24 -4
- package/dist/features/auctions/schemas/firestore.js +1 -0
- package/dist/features/auth/actions/profile-actions.js +30 -4
- package/dist/features/auth/components/index.d.ts +0 -1
- package/dist/features/auth/components/index.js +0 -1
- package/dist/features/auth/repository/session.repository.d.ts +17 -3
- package/dist/features/auth/repository/session.repository.js +46 -5
- package/dist/features/auth/repository/token.repository.d.ts +27 -4
- package/dist/features/auth/repository/token.repository.js +65 -11
- package/dist/features/auth/repository/user.repository.d.ts +33 -7
- package/dist/features/auth/repository/user.repository.js +100 -15
- package/dist/features/auth/schemas/firestore.d.ts +63 -12
- package/dist/features/auth/schemas/firestore.js +11 -0
- package/dist/features/before-after/api/route.js +1 -1
- package/dist/features/blog/components/BlogListView.js +16 -3
- package/dist/features/blog/components/BlogPostView.js +1 -1
- package/dist/features/blog/schemas/index.d.ts +2 -2
- package/dist/features/cart/api/route.js +1 -1
- package/dist/features/catalogue/repository/catalogue.repository.d.ts +7 -7
- package/dist/features/catalogue/repository/catalogue.repository.js +28 -10
- package/dist/features/catalogue/schemas/firestore.d.ts +11 -0
- package/dist/features/categories/api/route.js +10 -10
- package/dist/features/categories/components/CategoryDetailPageView.js +35 -5
- package/dist/features/categories/components/CategorySelectorCreate.js +0 -1
- package/dist/features/categories/components/index.d.ts +0 -2
- package/dist/features/categories/components/index.js +0 -1
- package/dist/features/categories/repository/categories.repository.d.ts +1 -0
- package/dist/features/categories/repository/categories.repository.js +31 -1
- package/dist/features/categories/schemas/index.d.ts +2 -2
- package/dist/features/categories/utils/taxonomy-visual.d.ts +21 -0
- package/dist/features/categories/utils/taxonomy-visual.js +58 -0
- package/dist/features/checkout/actions/checkout-value-otp-actions.js +8 -1
- package/dist/features/collections/api/[slug]/route.js +3 -3
- package/dist/features/collections/api/route.js +1 -1
- package/dist/features/consultation/api/route.js +1 -1
- package/dist/features/consultation/repository/consultations.repository.js +1 -1
- package/dist/features/consultation/types/index.d.ts +1 -1
- package/dist/features/contact/components/ContactForm.js +1 -3
- package/dist/features/corporate/api/route.js +1 -1
- package/dist/features/corporate/repository/corporate.repository.js +1 -1
- package/dist/features/corporate/types/index.d.ts +1 -1
- package/dist/features/cron/jobs/auction-expiry.job.js +1 -1
- package/dist/features/cron/jobs/preorder-reminder.job.js +1 -1
- package/dist/features/events/actions/event-actions.d.ts +14 -0
- package/dist/features/events/actions/event-actions.js +82 -3
- package/dist/features/events/api/[id]/route.js +2 -2
- package/dist/features/events/components/AdminEventEditorView.js +22 -3
- package/dist/features/events/components/AdminEventsView.js +32 -8
- package/dist/features/events/components/EventRafflesSection.d.ts +34 -1
- package/dist/features/events/components/EventRafflesSection.js +52 -3
- package/dist/features/events/components/SpinWheelView.d.ts +2 -2
- package/dist/features/events/components/SpinWheelView.js +41 -4
- package/dist/features/events/repository/event-entry.repository.d.ts +14 -2
- package/dist/features/events/repository/event-entry.repository.js +41 -7
- package/dist/features/events/schemas/firestore.d.ts +17 -4
- package/dist/features/events/types/index.d.ts +37 -0
- package/dist/features/faq/repository/faqs.repository.js +1 -1
- package/dist/features/faq/schemas/index.d.ts +5 -2
- package/dist/features/faq/schemas/index.js +6 -0
- package/dist/features/faq/types/index.d.ts +0 -1
- package/dist/features/grouped/components/GroupedListingEditorView.js +17 -2
- package/dist/features/homepage/api/carousel/[id]/route.js +1 -1
- package/dist/features/homepage/api/carousel/route.js +4 -4
- package/dist/features/homepage/api/route.js +2 -2
- package/dist/features/homepage/api/sections/route.js +1 -1
- package/dist/features/homepage/components/AnnouncementBar.d.ts +1 -9
- package/dist/features/homepage/components/AnnouncementBar.js +13 -19
- package/dist/features/homepage/components/MarketplaceHomepageView.js +6 -1
- package/dist/features/homepage/components/index.d.ts +0 -2
- package/dist/features/homepage/components/index.js +0 -1
- package/dist/features/homepage/repository/homepage.repository.js +1 -1
- package/dist/features/homepage/schemas/firestore.d.ts +6 -0
- package/dist/features/homepage/schemas/index.d.ts +10 -10
- package/dist/features/layout/AppLayoutShell.d.ts +11 -0
- package/dist/features/layout/AppLayoutShell.js +64 -12
- package/dist/features/layout/BottomActionsContext.d.ts +16 -0
- package/dist/features/layout/BottomActionsContext.js +5 -0
- package/dist/features/layout/BottomChrome.js +48 -9
- package/dist/features/layout/BottomNavbar.d.ts +14 -0
- package/dist/features/layout/BottomNavbar.js +43 -3
- package/dist/features/layout/MainNavbar.d.ts +11 -0
- package/dist/features/layout/NavbarLayout.d.ts +3 -0
- package/dist/features/layout/NavbarLayout.js +88 -11
- package/dist/features/layout/SideActionDock.d.ts +1 -0
- package/dist/features/layout/SideActionDock.js +219 -0
- package/dist/features/layout/TitleBarLayout.js +1 -1
- package/dist/features/layout/cta-anchor.d.ts +31 -0
- package/dist/features/layout/cta-anchor.js +31 -0
- package/dist/features/layout/hooks/useBottomActions.d.ts +7 -0
- package/dist/features/layout/hooks/useBottomActions.js +6 -1
- package/dist/features/layout/index.d.ts +9 -1
- package/dist/features/layout/index.js +9 -1
- package/dist/features/layout/useCtaReveal.d.ts +24 -0
- package/dist/features/layout/useCtaReveal.js +82 -0
- package/dist/features/layout/useHoldToOpen.d.ts +41 -0
- package/dist/features/layout/useHoldToOpen.js +84 -0
- package/dist/features/lottery/repository/lottery-entry.repository.d.ts +18 -3
- package/dist/features/lottery/repository/lottery-entry.repository.js +48 -6
- package/dist/features/lottery/schemas/firestore.d.ts +33 -5
- package/dist/features/loyalty/api/balance/route.js +1 -1
- package/dist/features/loyalty/api/history/route.js +1 -1
- package/dist/features/media/MediaImage.js +0 -1
- package/dist/features/media/MediaPickerModal.js +7 -1
- package/dist/features/media/modals/ImageEditor.js +5 -1
- package/dist/features/media/modals/VideoThumbnailSelector.js +17 -1
- package/dist/features/media/repository/media-assets.repository.d.ts +19 -0
- package/dist/features/media/upload/CameraCapture.js +16 -1
- package/dist/features/media/upload/ImageUpload.js +42 -4
- package/dist/features/media/upload/MediaUploadField.js +69 -13
- package/dist/features/media/upload/downscale-image.d.ts +56 -0
- package/dist/features/media/upload/downscale-image.js +150 -0
- package/dist/features/messages/components/ConversationThreadView.js +45 -2
- package/dist/features/messages/components/MessageSellerButton.d.ts +15 -1
- package/dist/features/messages/components/MessageSellerButton.js +10 -2
- package/dist/features/messages/schemas/firestore.d.ts +15 -0
- package/dist/features/orders/hooks/useOrders.js +4 -2
- package/dist/features/orders/repository/orders.repository.d.ts +15 -4
- package/dist/features/orders/repository/orders.repository.js +52 -20
- package/dist/features/orders/schemas/firestore.d.ts +15 -4
- package/dist/features/orders/schemas/index.d.ts +8 -8
- package/dist/features/orders/types/index.d.ts +2 -2
- package/dist/features/payments/repository/payments.repository.js +2 -2
- package/dist/features/payments/repository/payout.repository.d.ts +23 -6
- package/dist/features/payments/repository/payout.repository.js +63 -23
- package/dist/features/payments/repository/saved-payment-methods.repository.d.ts +17 -6
- package/dist/features/payments/repository/saved-payment-methods.repository.js +59 -11
- package/dist/features/payments/schemas/firestore.d.ts +14 -3
- package/dist/features/payments/schemas/saved-methods-firestore.d.ts +12 -1
- package/dist/features/pre-orders/api/[slug]/route.js +1 -1
- package/dist/features/pre-orders/api/admin/route.js +1 -1
- package/dist/features/pre-orders/api/route.js +1 -1
- package/dist/features/pre-orders/repository/pre-orders.repository.d.ts +3 -3
- package/dist/features/pre-orders/repository/pre-orders.repository.js +6 -6
- package/dist/features/products/api/[id]/route.js +1 -1
- package/dist/features/products/components/ListingBottomActions.js +4 -0
- package/dist/features/products/components/ProductDetailPageView.js +2 -1
- package/dist/features/products/components/ProductGalleryClient.js +2 -2
- package/dist/features/products/components/ProductGrid.js +12 -1
- package/dist/features/products/components/index.d.ts +0 -2
- package/dist/features/products/components/index.js +0 -1
- package/dist/features/products/config/listing-type-listing-config.d.ts +0 -3
- package/dist/features/products/config/listing-type-listing-config.js +27 -2
- package/dist/features/products/constants/listing-tabs.d.ts +9 -0
- package/dist/features/products/constants/listing-tabs.js +3 -2
- package/dist/features/products/hooks/useProducts.js +2 -2
- package/dist/features/products/repository/products.repository.js +13 -1
- package/dist/features/products/schemas/index.d.ts +2 -2
- package/dist/features/products/types/index.d.ts +1 -1
- package/dist/features/promotions/api/route.js +1 -1
- package/dist/features/reviews/actions/review-actions.d.ts +6 -6
- package/dist/features/reviews/actions/review-actions.js +22 -8
- package/dist/features/reviews/components/ReviewDetailPageView.js +13 -1
- package/dist/features/reviews/components/ReviewsIndexPageView.js +21 -4
- package/dist/features/reviews/repository/reviews.repository.d.ts +19 -7
- package/dist/features/reviews/repository/reviews.repository.js +63 -12
- package/dist/features/reviews/schemas/firestore.d.ts +13 -2
- package/dist/features/reviews/schemas/index.d.ts +2 -2
- package/dist/features/scams/actions/scam-actions.js +16 -4
- package/dist/features/search/components/SearchResultsPageView.js +2 -1
- package/dist/features/search/hooks/useSearchIndex.d.ts +34 -0
- package/dist/features/search/hooks/useSearchIndex.js +172 -0
- package/dist/features/search/repository/search.repository.js +2 -2
- package/dist/features/seller/actions/offer-actions.d.ts +5 -5
- package/dist/features/seller/actions/offer-actions.js +38 -8
- package/dist/features/seller/actions/seller-actions.js +34 -7
- package/dist/features/seller/api/coupons/route.js +1 -1
- package/dist/features/seller/api/products/route.js +1 -1
- package/dist/features/seller/api/store/route.js +1 -1
- package/dist/features/seller/components/SellerBidsView.js +1 -1
- package/dist/features/seller/components/SellerCouponsView.js +1 -1
- package/dist/features/seller/components/SellerListingTypeView.js +9 -1
- package/dist/features/seller/components/SellerOrdersView.js +1 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +0 -1
- package/dist/features/seller/components/SellerPayoutsView.js +1 -1
- package/dist/features/seller/components/SellerProductShell.js +0 -1
- package/dist/features/seller/components/SellerProductsView.js +1 -1
- package/dist/features/seller/components/SellerShippingView.js +0 -1
- package/dist/features/seller/components/SellerStorefrontView.js +0 -1
- package/dist/features/seller/components/index.d.ts +0 -4
- package/dist/features/seller/components/index.js +0 -2
- package/dist/features/seller/repository/offer.repository.d.ts +15 -3
- package/dist/features/seller/repository/offer.repository.js +43 -7
- package/dist/features/seller/schemas/firestore.d.ts +14 -3
- package/dist/features/seller/schemas/index.d.ts +4 -4
- package/dist/features/seller/schemas/order-forms.d.ts +39 -0
- package/dist/features/seller/schemas/order-forms.js +37 -0
- package/dist/features/shell/FormShell.js +6 -2
- package/dist/features/shell/QuickFormDrawer.js +15 -1
- package/dist/features/shipments/components/AdminShipmentEditorView.js +0 -1
- package/dist/features/shipments/components/AdminShipmentsView.js +1 -1
- package/dist/features/sticker-trace/components/StickerCommitPanel.d.ts +30 -0
- package/dist/features/sticker-trace/components/StickerCommitPanel.js +93 -0
- package/dist/features/sticker-trace/components/StickerPrintPanel.d.ts +33 -0
- package/dist/features/sticker-trace/components/StickerPrintPanel.js +104 -0
- package/dist/features/sticker-trace/components/StickerRetryPanel.d.ts +20 -0
- package/dist/features/sticker-trace/components/StickerRetryPanel.js +128 -0
- package/dist/features/sticker-trace/components/StickerRunHistoryPanel.d.ts +45 -0
- package/dist/features/sticker-trace/components/StickerRunHistoryPanel.js +84 -0
- package/dist/features/sticker-trace/components/StickerTraceStudio.d.ts +27 -0
- package/dist/features/sticker-trace/components/StickerTraceStudio.js +171 -0
- package/dist/features/sticker-trace/constants/help-content.d.ts +23 -0
- package/dist/features/sticker-trace/constants/help-content.js +172 -0
- package/dist/features/sticker-trace/hooks/useLiveTrace.d.ts +27 -0
- package/dist/features/sticker-trace/hooks/useLiveTrace.js +160 -0
- package/dist/features/sticker-trace/hooks/useStickerTraceProgress.d.ts +22 -0
- package/dist/features/sticker-trace/hooks/useStickerTraceProgress.js +106 -0
- package/dist/features/sticker-trace/repository/sticker-sheets.repository.d.ts +113 -0
- package/dist/features/sticker-trace/repository/sticker-sheets.repository.js +146 -0
- package/dist/features/sticker-trace/repository/sticker-trace-runs.repository.d.ts +132 -0
- package/dist/features/sticker-trace/repository/sticker-trace-runs.repository.js +174 -0
- package/dist/features/sticker-trace/schemas/firestore.d.ts +248 -0
- package/dist/features/sticker-trace/schemas/firestore.js +79 -0
- package/dist/features/sticker-trace/server.d.ts +8 -0
- package/dist/features/sticker-trace/server.js +51 -0
- package/dist/features/stores/actions/store-query-actions.d.ts +2 -2
- package/dist/features/stores/actions/store-query-actions.js +7 -2
- package/dist/features/stores/api/[storeSlug]/auctions/route.js +3 -3
- package/dist/features/stores/api/[storeSlug]/products/route.js +3 -3
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +1 -1
- package/dist/features/stores/api/[storeSlug]/route.js +1 -1
- package/dist/features/stores/components/StoreNavTabs.js +17 -2
- package/dist/features/stores/manifest.js +8 -4
- package/dist/features/support/repository/support.repository.d.ts +14 -3
- package/dist/features/support/repository/support.repository.js +93 -13
- package/dist/features/support/schemas/firestore.d.ts +16 -5
- package/dist/features/tester/seed-data/authored/admin__events-raffles-spin.js +61 -19
- package/dist/features/tester/seed-data/authored/buying__browsing-search.js +19 -3
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.js +243 -0
- package/dist/features/tester/seed-data/authored/content-discovery__events.js +36 -10
- package/dist/features/tester/seed-data/authored/content-discovery__overflowing-pill-rows.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/content-discovery__overflowing-pill-rows.js +209 -0
- package/dist/features/tester/seed-data/authored/design-ux__header-brand-mark-centring.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/design-ux__header-brand-mark-centring.js +90 -0
- package/dist/features/tester/seed-data/authored/index.js +8 -0
- package/dist/features/tester/seed-data/authored/selling__media-limits.js +19 -17
- package/dist/features/tester/seed-data/authored/selling__product-upload-details.js +10 -5
- package/dist/features/tester/seed-data/authored/tools__sticker-tracer.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/tools__sticker-tracer.js +283 -0
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +192 -22
- package/dist/index.d.ts +10 -23
- package/dist/index.js +27 -19
- package/dist/next/api/routeHandler.js +9 -0
- package/dist/next/routing/require-record.d.ts +13 -0
- package/dist/next/routing/require-record.js +62 -0
- package/dist/next/routing/route-map.d.ts +4 -4
- package/dist/next/routing/route-map.js +25 -3
- package/dist/providers/db-firebase/base.d.ts +4 -2
- package/dist/providers/db-firebase/base.js +21 -5
- package/dist/providers/db-firebase/base.repository.d.ts +11 -9
- package/dist/providers/db-firebase/base.repository.js +19 -0
- package/dist/providers/db-firebase/rtdb-paths.d.ts +12 -0
- package/dist/providers/db-firebase/rtdb-paths.js +12 -0
- package/dist/react/ErrorBoundary.js +6 -1
- package/dist/react/hooks/realtime-event-constants.d.ts +1 -0
- package/dist/react/hooks/realtime-event-constants.js +8 -0
- package/dist/react/hooks/useEntityDelete.js +5 -1
- package/dist/react/hooks/useMessage.js +5 -1
- package/dist/repositories/index.d.ts +2 -2
- package/dist/repositories/index.js +6 -1
- package/dist/schemas/registry.d.ts +13 -20
- package/dist/schemas/registry.js +31 -14
- package/dist/schemas/webhooks/google-oauth.d.ts +2 -2
- package/dist/security/encrypted.d.ts +117 -0
- package/dist/security/encrypted.js +100 -0
- package/dist/security/index.d.ts +5 -2
- package/dist/security/index.js +16 -2
- package/dist/security/pii-accessors.d.ts +71 -0
- package/dist/security/pii-accessors.js +150 -0
- package/dist/security/pii-encrypt.d.ts +0 -8
- package/dist/security/pii-encrypt.js +22 -15
- package/dist/security/pii-mask.d.ts +18 -0
- package/dist/security/pii-mask.js +27 -0
- package/dist/seed/_helpers/search-txt-wrappers.d.ts +6 -6
- package/dist/seed/_helpers/search-txt-wrappers.js +22 -0
- package/dist/seed/addresses-seed-data.d.ts +2 -2
- package/dist/seed/authenticity-knowledge-seed-data.d.ts +34 -0
- package/dist/seed/authenticity-knowledge-seed-data.js +1277 -0
- package/dist/seed/bids-seed-data.d.ts +2 -2
- package/dist/seed/bids-seed-data.js +23 -2
- package/dist/seed/events-seed-data.d.ts +2 -2
- package/dist/seed/events-seed-data.js +5 -0
- package/dist/seed/faq-seed-data.js +175 -5
- package/dist/seed/homepage-sections-seed-data.js +39 -23
- package/dist/seed/index.d.ts +1 -0
- package/dist/seed/index.js +1 -0
- package/dist/seed/lottery-entries-seed-data.d.ts +2 -2
- package/dist/seed/offers-seed-data.d.ts +2 -2
- package/dist/seed/offers-seed-data.js +1 -1
- package/dist/seed/orders-seed-data.d.ts +2 -2
- package/dist/seed/payouts-seed-data.d.ts +2 -2
- package/dist/seed/payouts-seed-data.js +1 -1
- package/dist/seed/reviews-seed-data.d.ts +1 -2
- package/dist/seed/seed-purpose.js +7 -0
- package/dist/seed/sessions-seed-data.d.ts +2 -2
- package/dist/seed/sessions-seed-data.js +5 -0
- package/dist/seed/site-settings-seed-data.js +1 -1
- package/dist/seed/support-tickets-seed-data.d.ts +2 -2
- package/dist/seed/support-tickets-seed-data.js +1 -1
- package/dist/seed/users-seed-data.d.ts +2 -2
- package/dist/seed/users-seed-data.js +1 -1
- package/dist/seo/json-ld.js +5 -1
- package/dist/server.d.ts +18 -3
- package/dist/server.js +59 -3
- package/dist/styles.css +237 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/Button.js +7 -1
- package/dist/ui/components/FilterChipGroup.d.ts +11 -0
- package/dist/ui/components/FilterChipGroup.js +1 -1
- package/dist/ui/components/ImageGallery.js +6 -1
- package/dist/ui/components/ListingLayout.js +14 -8
- package/dist/ui/components/OverflowRow.d.ts +92 -0
- package/dist/ui/components/OverflowRow.js +203 -0
- package/dist/ui/components/OverflowRow.style.css +235 -0
- package/dist/ui/components/RecordDetailModal.js +14 -1
- package/dist/ui/components/RowActionMenu.js +5 -1
- package/dist/ui/components/SideDrawer.js +5 -1
- package/dist/ui/components/SideModal.js +9 -1
- package/dist/ui/components/TabBarShell.d.ts +12 -1
- package/dist/ui/components/TabBarShell.js +3 -2
- package/dist/ui/components/Tabs.js +36 -24
- package/dist/ui/components/Toast.d.ts +3 -24
- package/dist/ui/components/Toast.js +2 -19
- package/dist/ui/components/TopBannerPortal.d.ts +15 -0
- package/dist/ui/components/TopBannerPortal.js +19 -0
- package/dist/ui/components/UnsavedChangesModal.js +5 -1
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/components/row-collapse.d.ts +15 -0
- package/dist/ui/components/row-collapse.js +127 -0
- package/dist/ui/components/toast-context.d.ts +63 -0
- package/dist/ui/components/toast-context.js +48 -0
- package/dist/ui/components/top-banner-slot.d.ts +37 -0
- package/dist/ui/components/top-banner-slot.js +45 -0
- package/dist/ui/icons/icon-registry.d.ts +6 -0
- package/dist/ui/icons/icon-registry.js +17 -1
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +1 -0
- package/dist/utils/array.helper.d.ts +2 -2
- package/dist/utils/array.helper.js +5 -5
- package/dist/utils/id-generators.d.ts +6 -0
- package/dist/utils/id-generators.js +10 -0
- package/dist/utils/media-url.js +0 -2
- package/dist/utils/search-txt-builders.d.ts +28 -4
- package/dist/utils/search-txt-builders.js +41 -1
- package/dist/validation/schemas.d.ts +8 -8
- package/package.json +6 -2
- package/scripts/seed-cli.mjs +3 -0
- package/dist/features/account/components/UserAddressesView.d.ts +0 -13
- package/dist/features/account/components/UserAddressesView.js +0 -5
- package/dist/features/account/components/UserNotificationsView.d.ts +0 -15
- package/dist/features/account/components/UserNotificationsView.js +0 -12
- package/dist/features/account/components/UserSettingsView.d.ts +0 -16
- package/dist/features/account/components/UserSettingsView.js +0 -13
- package/dist/features/account/components/UserSupportView.d.ts +0 -3
- package/dist/features/account/components/UserSupportView.js +0 -166
- package/dist/features/admin/components/DemoSeedView.d.ts +0 -11
- package/dist/features/admin/components/DemoSeedView.js +0 -5
- package/dist/features/auth/components/AuthStatusPanel.d.ts +0 -10
- package/dist/features/auth/components/AuthStatusPanel.js +0 -22
- package/dist/features/categories/components/CategoryProductsView.d.ts +0 -45
- package/dist/features/categories/components/CategoryProductsView.js +0 -21
- package/dist/features/homepage/components/HowItWorksInfoView.d.ts +0 -36
- package/dist/features/homepage/components/HowItWorksInfoView.js +0 -10
- package/dist/features/layout/BottomActions.d.ts +0 -1
- package/dist/features/layout/BottomActions.js +0 -311
- package/dist/features/products/components/ProductsView.d.ts +0 -6
- package/dist/features/products/components/ProductsView.js +0 -5
- package/dist/features/seller/components/SellerStoreView.d.ts +0 -8
- package/dist/features/seller/components/SellerStoreView.js +0 -8
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* @tag consumers:Button,RowActionMenu,BulkActionBar,action-registry
|
|
40
40
|
* @tag sideEffects:none
|
|
41
41
|
*/
|
|
42
|
-
import { Archive, ArrowLeft, Ban, Bell, Check, CheckCircle, ChevronDown, Copy, Download, Edit, Eye, EyeOff, FileDown, Filter, Flag, Gavel, HelpCircle, Heart, Link as LinkIcon, Lock, Mail, Menu, MessageSquare, Moon, Package, Pause, Play, Plus, RefreshCw, Reply, RotateCcw, Save, Search, Send, Settings, Share2, ShieldCheck, ShoppingCart, Star, Sun, Scale, Tag, Trash2, TrendingUp, Truck, Upload, User, X, XCircle, } from "lucide-react";
|
|
42
|
+
import { Archive, ArrowLeft, Ban, Bell, Check, CheckCircle, ChevronDown, Copy, Download, Edit, Eye, EyeOff, FileDown, Filter, Flag, Gavel, HelpCircle, Heart, Link as LinkIcon, Lock, Mail, Menu, MessageSquare, Moon, Package, Pause, Play, Plus, RefreshCw, Reply, RotateCcw, Save, Search, Send, Settings, Share2, ShieldCheck, ShoppingCart, Star, Sun, Scale, Tag, Trash2, TrendingUp, Truck, Upload, User, X, XCircle, CalendarClock, Gift, KeyRound, Palette, Sticker, PawPrint, } from "lucide-react";
|
|
43
43
|
/**
|
|
44
44
|
* Semantic name → component.
|
|
45
45
|
*
|
|
@@ -110,6 +110,22 @@ export const ICONS = {
|
|
|
110
110
|
themeLight: Sun,
|
|
111
111
|
themeDark: Moon,
|
|
112
112
|
deals: Tag,
|
|
113
|
+
/*
|
|
114
|
+
* Listing-type glyphs — one per `ListingType`, consumed by
|
|
115
|
+
* `ListingTypePlugin.iconKey` so a type chip can carry a leading visual.
|
|
116
|
+
*
|
|
117
|
+
* 🛑 Four of the nine reuse an existing verb rather than minting a new icon:
|
|
118
|
+
* `standard` is `order` (Package), `auction` is `bid` (Gavel), `classified`
|
|
119
|
+
* is `deals` (Tag), `live` is the only animal glyph here. This registry's
|
|
120
|
+
* header is explicit that it is deliberately small and not a re-export of
|
|
121
|
+
* lucide — so a type earns a new entry only when nothing already means it.
|
|
122
|
+
*/
|
|
123
|
+
preOrder: CalendarClock,
|
|
124
|
+
prizeDraw: Gift,
|
|
125
|
+
digitalCode: KeyRound,
|
|
126
|
+
art: Palette,
|
|
127
|
+
stickers: Sticker,
|
|
128
|
+
live: PawPrint,
|
|
113
129
|
};
|
|
114
130
|
/**
|
|
115
131
|
* The ONLY sanctioned glyph sizes.
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -167,6 +167,8 @@ export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, } fr
|
|
|
167
167
|
export { Tabs, TabsList, TabsTrigger, TabsContent } from "./components/Tabs";
|
|
168
168
|
export type { TabBarShellProps, TabBarButtonProps, TabsNavSelectProps, } from "./components/TabBarShell";
|
|
169
169
|
export { TabBarShell, TabBarButton, TabsNavSelect } from "./components/TabBarShell";
|
|
170
|
+
export type { OverflowRowProps, OverflowRowItem, OverflowRowDotTone, OverflowRowLinkProps, } from "./components/OverflowRow";
|
|
171
|
+
export { OverflowRow } from "./components/OverflowRow";
|
|
170
172
|
export type { FilterDrawerProps } from "./components/FilterDrawer";
|
|
171
173
|
export { FilterDrawer } from "./components/FilterDrawer";
|
|
172
174
|
export type { RowAction, RowActionMenuProps } from "./components/RowActionMenu";
|
package/dist/ui/index.js
CHANGED
|
@@ -115,6 +115,7 @@ export { SkipToMain } from "./components/SkipToMain.js";
|
|
|
115
115
|
export { NavigationLoader } from "./components/NavigationLoader.js";
|
|
116
116
|
export { Tabs, TabsList, TabsTrigger, TabsContent } from "./components/Tabs.js";
|
|
117
117
|
export { TabBarShell, TabBarButton, TabsNavSelect } from "./components/TabBarShell.js";
|
|
118
|
+
export { OverflowRow } from "./components/OverflowRow.js";
|
|
118
119
|
export { FilterDrawer } from "./components/FilterDrawer.js";
|
|
119
120
|
export { RowActionMenu } from "./components/RowActionMenu.js";
|
|
120
121
|
export { PasswordStrengthIndicator } from "./components/PasswordStrengthIndicator.js";
|
|
@@ -8,10 +8,10 @@ export declare function unique<T>(array: T[]): T[];
|
|
|
8
8
|
export declare function uniqueBy<T>(array: T[], key: keyof T): T[];
|
|
9
9
|
export declare function sortBy<T>(array: T[], key: keyof T, order?: "asc" | "desc"): T[];
|
|
10
10
|
export declare function chunk<T>(array: T[], size: number): T[][];
|
|
11
|
-
export declare function paginate<T>(array: T[], page: number,
|
|
11
|
+
export declare function paginate<T>(array: T[], page: number, pageSize: number): {
|
|
12
12
|
data: T[];
|
|
13
13
|
total: number;
|
|
14
14
|
page: number;
|
|
15
|
-
|
|
15
|
+
pageSize: number;
|
|
16
16
|
totalPages: number;
|
|
17
17
|
};
|
|
@@ -44,10 +44,10 @@ export function chunk(array, size) {
|
|
|
44
44
|
}
|
|
45
45
|
return chunks;
|
|
46
46
|
}
|
|
47
|
-
export function paginate(array, page,
|
|
47
|
+
export function paginate(array, page, pageSize) {
|
|
48
48
|
const total = array.length;
|
|
49
|
-
const totalPages = Math.ceil(total /
|
|
50
|
-
const start = (page - 1) *
|
|
51
|
-
const end = start +
|
|
52
|
-
return { data: array.slice(start, end), total, page,
|
|
49
|
+
const totalPages = Math.ceil(total / pageSize);
|
|
50
|
+
const start = (page - 1) * pageSize;
|
|
51
|
+
const end = start + pageSize;
|
|
52
|
+
return { data: array.slice(start, end), total, page, pageSize, totalPages };
|
|
53
53
|
}
|
|
@@ -103,6 +103,12 @@ export interface GenerateShipmentIdInput {
|
|
|
103
103
|
customId?: string;
|
|
104
104
|
}
|
|
105
105
|
export declare function generateShipmentId(input: GenerateShipmentIdInput): string;
|
|
106
|
+
export interface GenerateStickerSheetIdInput {
|
|
107
|
+
title: string;
|
|
108
|
+
date?: Date;
|
|
109
|
+
customId?: string;
|
|
110
|
+
}
|
|
111
|
+
export declare function generateStickerSheetId(input: GenerateStickerSheetIdInput): string;
|
|
106
112
|
export interface GenerateCatalogueItemIdInput {
|
|
107
113
|
ownerSlug: string;
|
|
108
114
|
title: string;
|
|
@@ -134,6 +134,16 @@ export function generateShipmentId(input) {
|
|
|
134
134
|
const d = String(date.getDate()).padStart(2, "0");
|
|
135
135
|
return `shipment-${supplierSlug}-${y}${m}${d}-${generateRandomString(6)}`;
|
|
136
136
|
}
|
|
137
|
+
export function generateStickerSheetId(input) {
|
|
138
|
+
if (input.customId?.trim())
|
|
139
|
+
return input.customId.trim();
|
|
140
|
+
const titleSlug = slugify(input.title).substring(0, 40).replace(/-+$/, "");
|
|
141
|
+
const date = input.date || new Date();
|
|
142
|
+
const y = date.getFullYear();
|
|
143
|
+
const m = String(date.getMonth() + 1).padStart(2, "0");
|
|
144
|
+
const d = String(date.getDate()).padStart(2, "0");
|
|
145
|
+
return `stickersheet-${titleSlug}-${y}${m}${d}-${generateRandomString(6)}`;
|
|
146
|
+
}
|
|
137
147
|
export function generateCatalogueItemId(input) {
|
|
138
148
|
if (input.customId?.trim())
|
|
139
149
|
return input.customId.trim();
|
package/dist/utils/media-url.js
CHANGED
|
@@ -203,7 +203,6 @@ export function isStoredMediaRef(value) {
|
|
|
203
203
|
* is the obvious candidate) and that is a separate fix at the call site.
|
|
204
204
|
*/
|
|
205
205
|
if (typeof value !== "string") {
|
|
206
|
-
// eslint-disable-next-line no-console -- client-side; the server path has its own recorder
|
|
207
206
|
console.warn("[isStoredMediaRef] expected a string, received", Object.prototype.toString.call(value));
|
|
208
207
|
return false;
|
|
209
208
|
}
|
|
@@ -263,7 +262,6 @@ export function resolveMediaUrl(url, opts) {
|
|
|
263
262
|
* crashing. The warn names the shape so the real caller stays findable.
|
|
264
263
|
*/
|
|
265
264
|
if (typeof url !== "string") {
|
|
266
|
-
// eslint-disable-next-line no-console -- render path; a throw here kills the subtree
|
|
267
265
|
console.warn("[resolveMediaUrl] expected a string, received", Object.prototype.toString.call(url));
|
|
268
266
|
return undefined;
|
|
269
267
|
}
|
|
@@ -6,6 +6,7 @@ import type { EventDocument } from "../features/events/schemas/firestore";
|
|
|
6
6
|
import type { BlogPostDocument } from "../features/blog/schemas/firestore";
|
|
7
7
|
import type { ReviewDocument } from "../features/reviews/schemas/firestore";
|
|
8
8
|
import type { OrderDocument } from "../features/orders/schemas/firestore";
|
|
9
|
+
import type { BidDocument } from "../features/auctions/schemas/firestore";
|
|
9
10
|
import type { CouponDocument } from "../features/promotions/schemas/firestore";
|
|
10
11
|
import type { OfferDocument } from "../features/seller/schemas/firestore";
|
|
11
12
|
/** products — title, description, brand, taxonomy, condition, card/grading, specs. */
|
|
@@ -43,8 +44,16 @@ export declare function buildEventSearchTxt(e: Partial<EventDocument>): string[]
|
|
|
43
44
|
* error anywhere. The excerpt is the searchable summary.
|
|
44
45
|
*/
|
|
45
46
|
export declare function buildBlogSearchTxt(b: Partial<BlogPostDocument>): string[];
|
|
46
|
-
/**
|
|
47
|
-
|
|
47
|
+
/**
|
|
48
|
+
* reviews — title, comment, productTitle. `userName` is PII and excluded.
|
|
49
|
+
*
|
|
50
|
+
* Typed to the three fields it READS, like the offer builder. The exclusion of
|
|
51
|
+
* `userName` is the privacy property this depends on, and naming only the
|
|
52
|
+
* non-PII fields in the signature is what proves it — and what lets the
|
|
53
|
+
* function take the ciphertext document and the plaintext seed shape alike
|
|
54
|
+
* without a cast.
|
|
55
|
+
*/
|
|
56
|
+
export declare function buildReviewSearchTxt(r: Partial<Pick<ReviewDocument, "title" | "comment" | "productTitle">>): string[];
|
|
48
57
|
/**
|
|
49
58
|
* orders — what an admin or seller actually looks an order up BY: the product,
|
|
50
59
|
* the store, the tracking number.
|
|
@@ -54,7 +63,7 @@ export declare function buildReviewSearchTxt(r: Partial<ReviewDocument>): string
|
|
|
54
63
|
* is an address, and a searchTxt for an address IS that address re-encoded.
|
|
55
64
|
* Indexing any of them would undo the encryption they are stored under (D1).
|
|
56
65
|
*/
|
|
57
|
-
export declare function buildOrderSearchTxt(o: Partial<OrderDocument
|
|
66
|
+
export declare function buildOrderSearchTxt(o: Partial<Pick<OrderDocument, "productTitle" | "storeName" | "trackingNumber" | "items" | "physicalLocation">>): string[];
|
|
58
67
|
/** coupons — code, name, description. Nothing here is PII. */
|
|
59
68
|
export declare function buildCouponSearchTxt(c: Partial<CouponDocument>): string[];
|
|
60
69
|
/**
|
|
@@ -65,7 +74,7 @@ export declare function buildCouponSearchTxt(c: Partial<CouponDocument>): string
|
|
|
65
74
|
* the PII registry, but it is private correspondence and has no business being
|
|
66
75
|
* findable by substring from an admin list.
|
|
67
76
|
*/
|
|
68
|
-
export declare function buildOfferSearchTxt(o: Partial<OfferDocument
|
|
77
|
+
export declare function buildOfferSearchTxt(o: Partial<Pick<OfferDocument, "productTitle" | "productSlug" | "storeName">>): string[];
|
|
69
78
|
/**
|
|
70
79
|
* The scam registry's identity fields are stored PLAINTEXT on purpose — a
|
|
71
80
|
* victim googles a UPI ID before paying, so SEO is the feature (see the field
|
|
@@ -78,3 +87,18 @@ export declare function buildOfferSearchTxt(o: Partial<OfferDocument>): string[]
|
|
|
78
87
|
* long report crowd out every identity token in the same document.
|
|
79
88
|
*/
|
|
80
89
|
export declare function buildScammerSearchTxt(s: Partial<ScammerDocument>): string[];
|
|
90
|
+
/**
|
|
91
|
+
* bids — what a buyer or a seller actually looks a bid up BY.
|
|
92
|
+
*
|
|
93
|
+
* `productTitle` is what a buyer searching their own bids means ("which
|
|
94
|
+
* auction was that?"); `userName` is what a seller scanning bids on their
|
|
95
|
+
* listing means ("has Ravi bid?").
|
|
96
|
+
*
|
|
97
|
+
* 🛑 `userEmail` is ABSENT. It is the single entry in `BID_PII_FIELDS`, and a
|
|
98
|
+
* plaintext token index over an encrypted field IS that field in the clear
|
|
99
|
+
* (decision D1) — the same reason `buildOrderSearchTxt` omits `userName`,
|
|
100
|
+
* `userEmail` and `sellerEmail` there. `userName` differs here only because
|
|
101
|
+
* bids do not register it as PII and it already ships in `BID_PUBLIC_FIELDS`,
|
|
102
|
+
* so indexing it discloses nothing the public bid history does not.
|
|
103
|
+
*/
|
|
104
|
+
export declare function buildBidSearchTxt(b: Partial<BidDocument>): string[];
|
|
@@ -189,7 +189,15 @@ export function buildBlogSearchTxt(b) {
|
|
|
189
189
|
b.tags ?? [],
|
|
190
190
|
]);
|
|
191
191
|
}
|
|
192
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* reviews — title, comment, productTitle. `userName` is PII and excluded.
|
|
194
|
+
*
|
|
195
|
+
* Typed to the three fields it READS, like the offer builder. The exclusion of
|
|
196
|
+
* `userName` is the privacy property this depends on, and naming only the
|
|
197
|
+
* non-PII fields in the signature is what proves it — and what lets the
|
|
198
|
+
* function take the ciphertext document and the plaintext seed shape alike
|
|
199
|
+
* without a cast.
|
|
200
|
+
*/
|
|
193
201
|
export function buildReviewSearchTxt(r) {
|
|
194
202
|
return buildSearchTxt([r.title, stripHtml(r.comment), r.productTitle]);
|
|
195
203
|
}
|
|
@@ -202,6 +210,13 @@ export function buildReviewSearchTxt(r) {
|
|
|
202
210
|
* is an address, and a searchTxt for an address IS that address re-encoded.
|
|
203
211
|
* Indexing any of them would undo the encryption they are stored under (D1).
|
|
204
212
|
*/
|
|
213
|
+
/*
|
|
214
|
+
* Typed to the five fields it READS, all non-PII — the same treatment as the
|
|
215
|
+
* offer and review builders. `userName`, `userEmail` and `sellerEmail` are
|
|
216
|
+
* deliberately absent (D1), and naming only the non-PII fields in the
|
|
217
|
+
* signature both proves that and lets this accept the ciphertext document and
|
|
218
|
+
* the plaintext seed shape without a cast.
|
|
219
|
+
*/
|
|
205
220
|
export function buildOrderSearchTxt(o) {
|
|
206
221
|
return buildSearchTxt([
|
|
207
222
|
o.productTitle,
|
|
@@ -231,6 +246,14 @@ export function buildCouponSearchTxt(c) {
|
|
|
231
246
|
* the PII registry, but it is private correspondence and has no business being
|
|
232
247
|
* findable by substring from an admin list.
|
|
233
248
|
*/
|
|
249
|
+
/*
|
|
250
|
+
* Typed to the three fields it READS, not to the whole document.
|
|
251
|
+
*
|
|
252
|
+
* All three are non-PII, which is the privacy property this builder depends
|
|
253
|
+
* on — and stating it in the signature is what makes the function accept the
|
|
254
|
+
* ciphertext document and the plaintext seed shape alike without a cast.
|
|
255
|
+
* `buyerName`/`buyerEmail` are deliberately absent; see the note above.
|
|
256
|
+
*/
|
|
234
257
|
export function buildOfferSearchTxt(o) {
|
|
235
258
|
return buildSearchTxt([o.productTitle, o.productSlug, o.storeName]);
|
|
236
259
|
}
|
|
@@ -254,3 +277,20 @@ export function buildScammerSearchTxt(s) {
|
|
|
254
277
|
s.scamType,
|
|
255
278
|
]);
|
|
256
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* bids — what a buyer or a seller actually looks a bid up BY.
|
|
282
|
+
*
|
|
283
|
+
* `productTitle` is what a buyer searching their own bids means ("which
|
|
284
|
+
* auction was that?"); `userName` is what a seller scanning bids on their
|
|
285
|
+
* listing means ("has Ravi bid?").
|
|
286
|
+
*
|
|
287
|
+
* 🛑 `userEmail` is ABSENT. It is the single entry in `BID_PII_FIELDS`, and a
|
|
288
|
+
* plaintext token index over an encrypted field IS that field in the clear
|
|
289
|
+
* (decision D1) — the same reason `buildOrderSearchTxt` omits `userName`,
|
|
290
|
+
* `userEmail` and `sellerEmail` there. `userName` differs here only because
|
|
291
|
+
* bids do not register it as PII and it already ships in `BID_PUBLIC_FIELDS`,
|
|
292
|
+
* so indexing it discloses nothing the public bid history does not.
|
|
293
|
+
*/
|
|
294
|
+
export function buildBidSearchTxt(b) {
|
|
295
|
+
return buildSearchTxt([b.productTitle, b.userName]);
|
|
296
|
+
}
|
|
@@ -142,8 +142,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
142
142
|
aspectRatio?: string | undefined;
|
|
143
143
|
minHeight?: number | undefined;
|
|
144
144
|
minWidth?: number | undefined;
|
|
145
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
146
145
|
rotation?: number | undefined;
|
|
146
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
147
147
|
quality?: number | undefined;
|
|
148
148
|
outputFolder?: string | undefined;
|
|
149
149
|
}, {
|
|
@@ -155,8 +155,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
155
155
|
aspectRatio?: string | undefined;
|
|
156
156
|
minHeight?: number | undefined;
|
|
157
157
|
minWidth?: number | undefined;
|
|
158
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
159
158
|
rotation?: number | undefined;
|
|
159
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
160
160
|
quality?: number | undefined;
|
|
161
161
|
outputFolder?: string | undefined;
|
|
162
162
|
}>, {
|
|
@@ -168,8 +168,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
168
168
|
aspectRatio?: string | undefined;
|
|
169
169
|
minHeight?: number | undefined;
|
|
170
170
|
minWidth?: number | undefined;
|
|
171
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
172
171
|
rotation?: number | undefined;
|
|
172
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
173
173
|
quality?: number | undefined;
|
|
174
174
|
outputFolder?: string | undefined;
|
|
175
175
|
}, {
|
|
@@ -181,8 +181,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
181
181
|
aspectRatio?: string | undefined;
|
|
182
182
|
minHeight?: number | undefined;
|
|
183
183
|
minWidth?: number | undefined;
|
|
184
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
185
184
|
rotation?: number | undefined;
|
|
185
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
186
186
|
quality?: number | undefined;
|
|
187
187
|
outputFolder?: string | undefined;
|
|
188
188
|
}>, {
|
|
@@ -194,8 +194,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
194
194
|
aspectRatio?: string | undefined;
|
|
195
195
|
minHeight?: number | undefined;
|
|
196
196
|
minWidth?: number | undefined;
|
|
197
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
198
197
|
rotation?: number | undefined;
|
|
198
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
199
199
|
quality?: number | undefined;
|
|
200
200
|
outputFolder?: string | undefined;
|
|
201
201
|
}, {
|
|
@@ -207,8 +207,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
207
207
|
aspectRatio?: string | undefined;
|
|
208
208
|
minHeight?: number | undefined;
|
|
209
209
|
minWidth?: number | undefined;
|
|
210
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
211
210
|
rotation?: number | undefined;
|
|
211
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
212
212
|
quality?: number | undefined;
|
|
213
213
|
outputFolder?: string | undefined;
|
|
214
214
|
}>, {
|
|
@@ -220,8 +220,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
220
220
|
aspectRatio?: string | undefined;
|
|
221
221
|
minHeight?: number | undefined;
|
|
222
222
|
minWidth?: number | undefined;
|
|
223
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
224
223
|
rotation?: number | undefined;
|
|
224
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
225
225
|
quality?: number | undefined;
|
|
226
226
|
outputFolder?: string | undefined;
|
|
227
227
|
}, {
|
|
@@ -233,8 +233,8 @@ export declare const cropDataSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
233
233
|
aspectRatio?: string | undefined;
|
|
234
234
|
minHeight?: number | undefined;
|
|
235
235
|
minWidth?: number | undefined;
|
|
236
|
-
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
237
236
|
rotation?: number | undefined;
|
|
237
|
+
outputFormat?: "webp" | "png" | "jpeg" | undefined;
|
|
238
238
|
quality?: number | undefined;
|
|
239
239
|
outputFolder?: string | undefined;
|
|
240
240
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mohasinac/appkit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.53.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -189,6 +189,10 @@
|
|
|
189
189
|
"./hooks/*": {
|
|
190
190
|
"types": "./dist/hooks/*.d.ts",
|
|
191
191
|
"import": "./dist/hooks/*.js"
|
|
192
|
+
},
|
|
193
|
+
"./features/sticker-trace/server": {
|
|
194
|
+
"types": "./dist/features/sticker-trace/server.d.ts",
|
|
195
|
+
"import": "./dist/features/sticker-trace/server.js"
|
|
192
196
|
}
|
|
193
197
|
},
|
|
194
198
|
"files": [
|
|
@@ -242,7 +246,7 @@
|
|
|
242
246
|
"audit:paginated-select": "node scripts/audit-paginated-select.mjs",
|
|
243
247
|
"audit:sieve-views": "node scripts/audit-sieve-constants-views.mjs",
|
|
244
248
|
"check:types": "tsc -p tsconfig.build.json --noEmit",
|
|
245
|
-
"check:audits": "node scripts/audit-violations.mjs && node scripts/verify-entries.mjs && node scripts/verify-css-build.mjs && node scripts/audit-css-shipped.mjs && node scripts/audit-use-client.mjs && node scripts/audit-double-navigation.mjs && node scripts/audit-repository-fields.mjs && node scripts/audit-query-provider.mjs && node scripts/audit-export-paths.mjs && node scripts/audit-listing-indices.mjs && node scripts/audit-listing-type-reads.mjs && node scripts/audit-create-with-id.mjs && node scripts/audit-css-imports.mjs && node scripts/audit-appkit-reexports.mjs && node scripts/audit-action-confirmation.mjs && node scripts/audit-route-strings.mjs && node scripts/audit-paginated-select.mjs && node scripts/audit-sieve-constants-views.mjs && node scripts/audit-schema-registry-completeness.mjs && node scripts/audit-firestore-schema-coverage.mjs && node scripts/audit-catch-normalize.mjs && node scripts/audit-
|
|
249
|
+
"check:audits": "node scripts/audit-violations.mjs && node scripts/verify-entries.mjs && node scripts/verify-css-build.mjs && node scripts/audit-css-shipped.mjs && node scripts/audit-use-client.mjs && node scripts/audit-double-navigation.mjs && node scripts/audit-repository-fields.mjs && node scripts/audit-query-provider.mjs && node scripts/audit-export-paths.mjs && node scripts/audit-listing-indices.mjs && node scripts/audit-listing-type-reads.mjs && node scripts/audit-create-with-id.mjs && node scripts/audit-css-imports.mjs && node scripts/audit-appkit-reexports.mjs && node scripts/audit-action-confirmation.mjs && node scripts/audit-route-strings.mjs && node scripts/audit-paginated-select.mjs && node scripts/audit-sieve-constants-views.mjs && node scripts/audit-schema-registry-completeness.mjs && node scripts/audit-firestore-schema-coverage.mjs && node scripts/audit-catch-normalize.mjs && node scripts/audit-z-any-z-unknown.mjs && node scripts/audit-dynamic-tailwind-arbitrary.mjs && node scripts/audit-surface-props-completeness.mjs && node scripts/audit-touch-handler-completeness.mjs && node scripts/audit-field-primitive-contract.mjs && node scripts/audit-innerhtml-sanitization.mjs",
|
|
246
250
|
"check": "npm run check:types && npm run check:audits"
|
|
247
251
|
},
|
|
248
252
|
"dependencies": {
|
package/scripts/seed-cli.mjs
CHANGED
|
@@ -206,6 +206,7 @@ const {
|
|
|
206
206
|
groupedListingsSeedData,
|
|
207
207
|
mediaAssetsSeedData,
|
|
208
208
|
scammersSeedData, productFeaturesSeedData, taxCodesSeedData,
|
|
209
|
+
authenticityKnowledgeSeedData,
|
|
209
210
|
partGlossarySeedData, modelCompositionSeedData,
|
|
210
211
|
testerChecklistSeedData, testerResponsesSeedData,
|
|
211
212
|
supportTicketsSeedData, catalogueSeedData,
|
|
@@ -316,6 +317,7 @@ const COLLECTION_MAP = {
|
|
|
316
317
|
mediaAssets: "mediaAssets",
|
|
317
318
|
scammerProfiles: SCAMMER_COLLECTION,
|
|
318
319
|
productFeatures: PRODUCT_FEATURES_COLLECTION,
|
|
320
|
+
authenticityKnowledge: "authenticityKnowledge",
|
|
319
321
|
taxCodes: TAX_CODES_COLLECTION,
|
|
320
322
|
// E4/D12 — extracted from the local corpus, generated into the seed.
|
|
321
323
|
partGlossary: PART_GLOSSARY_COLLECTION,
|
|
@@ -545,6 +547,7 @@ const SEED_DATA_MAP = {
|
|
|
545
547
|
mediaAssets: mediaAssetsSeedData,
|
|
546
548
|
scammerProfiles: scammersSeedData,
|
|
547
549
|
productFeatures: productFeaturesSeedData,
|
|
550
|
+
authenticityKnowledge: authenticityKnowledgeSeedData,
|
|
548
551
|
taxCodes: taxCodesSeedData,
|
|
549
552
|
partGlossary: partGlossarySeedData,
|
|
550
553
|
modelComposition: modelCompositionSeedData,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { StackedViewShellProps } from "../../../ui";
|
|
3
|
-
export interface UserAddressesViewLabels {
|
|
4
|
-
title?: string;
|
|
5
|
-
addAddress?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface UserAddressesViewProps extends Omit<StackedViewShellProps, "sections"> {
|
|
8
|
-
labels?: UserAddressesViewLabels;
|
|
9
|
-
renderToolbar?: () => React.ReactNode;
|
|
10
|
-
renderAddresses?: () => React.ReactNode;
|
|
11
|
-
renderDeleteModal?: () => React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare function UserAddressesView({ labels, renderToolbar, renderAddresses, renderDeleteModal, ...rest }: UserAddressesViewProps): React.JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StackedViewShell } from "../../../ui/index.js";
|
|
3
|
-
export function UserAddressesView({ labels = {}, renderToolbar, renderAddresses, renderDeleteModal, ...rest }) {
|
|
4
|
-
return (_jsx(StackedViewShell, { portal: "user", ...rest, title: labels.title, sections: [renderToolbar?.(), renderAddresses?.()], overlays: renderDeleteModal?.() }));
|
|
5
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { StackedViewShellProps } from "../../../ui";
|
|
3
|
-
export interface UserNotificationsViewLabels {
|
|
4
|
-
title?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface UserNotificationsViewProps extends Omit<StackedViewShellProps, "sections"> {
|
|
7
|
-
labels?: UserNotificationsViewLabels;
|
|
8
|
-
renderToolbar?: () => React.ReactNode;
|
|
9
|
-
renderFilters?: () => React.ReactNode;
|
|
10
|
-
renderActiveFilters?: () => React.ReactNode;
|
|
11
|
-
renderBulkActions?: () => React.ReactNode;
|
|
12
|
-
renderList?: () => React.ReactNode;
|
|
13
|
-
renderPagination?: () => React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare function UserNotificationsView({ labels, renderToolbar, renderFilters, renderActiveFilters, renderBulkActions, renderList, renderPagination, ...rest }: UserNotificationsViewProps): React.JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StackedViewShell } from "../../../ui/index.js";
|
|
3
|
-
export function UserNotificationsView({ labels = {}, renderToolbar, renderFilters, renderActiveFilters, renderBulkActions, renderList, renderPagination, ...rest }) {
|
|
4
|
-
return (_jsx(StackedViewShell, { portal: "user", ...rest, title: labels.title, sections: [
|
|
5
|
-
renderToolbar?.(),
|
|
6
|
-
renderFilters?.(),
|
|
7
|
-
renderActiveFilters?.(),
|
|
8
|
-
renderBulkActions?.(),
|
|
9
|
-
renderList?.(),
|
|
10
|
-
renderPagination?.(),
|
|
11
|
-
] }));
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { StackedViewShellProps } from "../../../ui";
|
|
3
|
-
export interface UserSettingsViewLabels {
|
|
4
|
-
title?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface UserSettingsViewProps extends Omit<StackedViewShellProps, "sections"> {
|
|
7
|
-
labels?: UserSettingsViewLabels;
|
|
8
|
-
renderAccountInfo?: () => React.ReactNode;
|
|
9
|
-
renderProfileForm?: () => React.ReactNode;
|
|
10
|
-
renderEmailVerification?: () => React.ReactNode;
|
|
11
|
-
renderPhoneVerification?: () => React.ReactNode;
|
|
12
|
-
renderPasswordForm?: () => React.ReactNode;
|
|
13
|
-
renderMessage?: () => React.ReactNode;
|
|
14
|
-
renderAppearance?: () => React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare function UserSettingsView({ labels, renderAccountInfo, renderProfileForm, renderEmailVerification, renderPhoneVerification, renderPasswordForm, renderMessage, renderAppearance, ...rest }: UserSettingsViewProps): React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StackedViewShell } from "../../../ui/index.js";
|
|
3
|
-
export function UserSettingsView({ labels = {}, renderAccountInfo, renderProfileForm, renderEmailVerification, renderPhoneVerification, renderPasswordForm, renderMessage, renderAppearance, ...rest }) {
|
|
4
|
-
return (_jsx(StackedViewShell, { portal: "user", ...rest, title: labels.title, sections: [
|
|
5
|
-
renderMessage?.(),
|
|
6
|
-
renderAppearance?.(),
|
|
7
|
-
renderAccountInfo?.(),
|
|
8
|
-
renderProfileForm?.(),
|
|
9
|
-
renderEmailVerification?.(),
|
|
10
|
-
renderPhoneVerification?.(),
|
|
11
|
-
renderPasswordForm?.(),
|
|
12
|
-
] }));
|
|
13
|
-
}
|