@mohasinac/appkit 2.7.34 → 2.7.36
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/_internal/server/features/auctions/og.d.ts +1 -0
- package/dist/_internal/server/features/auctions/og.js +2 -1
- package/dist/_internal/server/features/blog/og.d.ts +1 -0
- package/dist/_internal/server/features/blog/og.js +3 -2
- package/dist/_internal/server/features/brands/og.d.ts +1 -0
- package/dist/_internal/server/features/brands/og.js +2 -1
- package/dist/_internal/server/features/bundles/og.d.ts +1 -0
- package/dist/_internal/server/features/bundles/og.js +2 -1
- package/dist/_internal/server/features/categories/og.d.ts +1 -0
- package/dist/_internal/server/features/categories/og.js +2 -1
- package/dist/_internal/server/features/checkout/actions.js +13 -5
- package/dist/_internal/server/features/classified/og.d.ts +2 -0
- package/dist/_internal/server/features/classified/og.js +2 -1
- package/dist/_internal/server/features/digital-code/og.d.ts +2 -0
- package/dist/_internal/server/features/digital-code/og.js +2 -1
- package/dist/_internal/server/features/events/og.d.ts +1 -0
- package/dist/_internal/server/features/events/og.js +3 -1
- package/dist/_internal/server/features/live/og.d.ts +2 -0
- package/dist/_internal/server/features/live/og.js +2 -1
- package/dist/_internal/server/features/pre-orders/og.d.ts +1 -0
- package/dist/_internal/server/features/pre-orders/og.js +2 -1
- package/dist/_internal/server/features/products/og.d.ts +3 -1
- package/dist/_internal/server/features/products/og.js +2 -1
- package/dist/_internal/server/features/seo/index.d.ts +1 -1
- package/dist/_internal/server/features/seo/index.js +1 -1
- package/dist/_internal/server/features/seo/og.d.ts +8 -1
- package/dist/_internal/server/features/seo/og.js +28 -8
- package/dist/_internal/server/features/stores/og.d.ts +1 -0
- package/dist/_internal/server/features/stores/og.js +3 -2
- package/dist/_internal/server/features/sublisting-categories/og.d.ts +1 -0
- package/dist/_internal/server/features/sublisting-categories/og.js +2 -1
- package/dist/_internal/server/jobs/core/onScamReportCreate.js +18 -14
- package/dist/_internal/server/jobs/core/onScamReportRejected.js +10 -7
- package/dist/_internal/server/jobs/core/onScamReportVerified.js +10 -7
- package/dist/_internal/shared/actions/action-registry.js +48 -0
- package/dist/client.d.ts +6 -0
- package/dist/client.js +3 -0
- package/dist/constants/api-endpoints.d.ts +9 -0
- package/dist/constants/api-endpoints.js +3 -0
- package/dist/features/admin/components/AdminBundlesView.js +20 -2
- package/dist/features/admin/components/AdminPayoutsView.js +2 -1
- package/dist/features/admin/components/AdminProductsView.js +13 -0
- package/dist/features/admin/components/AdminStoresView.js +43 -5
- package/dist/features/admin/components/AdminUsersView.js +53 -6
- package/dist/features/admin/schemas/firestore.d.ts +1 -1
- package/dist/features/blog/components/BlogPostForm.js +1 -0
- package/dist/features/categories/components/CategoryForm.js +1 -0
- package/dist/features/homepage/components/FeaturedAuctionsSection.d.ts +4 -1
- package/dist/features/homepage/components/FeaturedAuctionsSection.js +2 -2
- package/dist/features/homepage/components/FeaturedPreOrdersSection.d.ts +4 -1
- package/dist/features/homepage/components/FeaturedPreOrdersSection.js +2 -2
- package/dist/features/homepage/components/FeaturedProductsSection.d.ts +3 -6
- package/dist/features/homepage/components/FeaturedProductsSection.js +3 -47
- package/dist/features/homepage/components/SectionCarousel.js +1 -8
- package/dist/features/homepage/lib/section-renderer.js +3 -3
- package/dist/seed/homepage-sections-seed-data.js +10 -10
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/DateInput.d.ts +27 -0
- package/dist/ui/components/DateInput.js +11 -0
- package/dist/ui/components/FormField.d.ts +2 -1
- package/dist/ui/components/FormField.js +7 -4
- package/dist/ui/components/FormField.style.css +13 -0
- package/dist/ui/components/HorizontalScroller.js +25 -30
- package/dist/ui/components/OtpInput.d.ts +14 -0
- package/dist/ui/components/OtpInput.js +55 -0
- package/dist/ui/components/OtpInput.style.css +13 -0
- package/dist/ui/components/Select.style.css +23 -6
- package/dist/ui/components/Textarea.style.css +31 -4
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.js +2 -0
- package/package.json +1 -1
|
@@ -84,15 +84,15 @@ function renderSectionElement(section, newsletterFormSlot, faqItems, slides, liv
|
|
|
84
84
|
}
|
|
85
85
|
case "products": {
|
|
86
86
|
const cfg = config;
|
|
87
|
-
return (_jsx(FeaturedProductsSection, { title: cleanTitle(cfg?.title) || "Featured Products", viewMoreHref: ROUTES.PUBLIC.PRODUCTS, viewMoreLabel: "View all products \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.products, rows: cfg?.rows, maxItems: cfg?.maxItems,
|
|
87
|
+
return (_jsx(FeaturedProductsSection, { title: cleanTitle(cfg?.title) || "Featured Products", viewMoreHref: ROUTES.PUBLIC.PRODUCTS, viewMoreLabel: "View all products \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.products, rows: cfg?.rows, maxItems: cfg?.maxItems, autoScroll: cfg?.autoScroll, scrollInterval: cfg?.scrollInterval }));
|
|
88
88
|
}
|
|
89
89
|
case "auctions": {
|
|
90
90
|
const cfg = config;
|
|
91
|
-
return (_jsx(FeaturedAuctionsSection, { title: cleanTitle(cfg?.title) || "Live Auctions", viewMoreHref: ROUTES.PUBLIC.AUCTIONS, viewMoreLabel: "View all auctions \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.auctions }));
|
|
91
|
+
return (_jsx(FeaturedAuctionsSection, { title: cleanTitle(cfg?.title) || "Live Auctions", viewMoreHref: ROUTES.PUBLIC.AUCTIONS, viewMoreLabel: "View all auctions \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.auctions, rows: cfg?.rows, autoScroll: cfg?.autoScroll, scrollInterval: cfg?.scrollInterval }));
|
|
92
92
|
}
|
|
93
93
|
case "pre-orders": {
|
|
94
94
|
const cfg = config;
|
|
95
|
-
return (_jsx(FeaturedPreOrdersSection, { title: cleanTitle(cfg?.title) || "Reserve Before It Ships", viewMoreHref: ROUTES.PUBLIC.PRE_ORDERS, viewMoreLabel: "View all pre-orders \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.preOrders }));
|
|
95
|
+
return (_jsx(FeaturedPreOrdersSection, { title: cleanTitle(cfg?.title) || "Reserve Before It Ships", viewMoreHref: ROUTES.PUBLIC.PRE_ORDERS, viewMoreLabel: "View all pre-orders \u2192", filterByBrand: cfg?.filterByBrand, initialItems: sectionData.preOrders, rows: cfg?.rows, autoScroll: cfg?.autoScroll, scrollInterval: cfg?.scrollInterval }));
|
|
96
96
|
}
|
|
97
97
|
case "stores": {
|
|
98
98
|
const cfg = config;
|
|
@@ -133,8 +133,8 @@ export const homepageSectionsSeedData = [
|
|
|
133
133
|
rows: 2,
|
|
134
134
|
itemsPerRow: 3,
|
|
135
135
|
mobileItemsPerRow: 1,
|
|
136
|
-
autoScroll:
|
|
137
|
-
scrollInterval:
|
|
136
|
+
autoScroll: true,
|
|
137
|
+
scrollInterval: 5000,
|
|
138
138
|
},
|
|
139
139
|
createdAt: daysAgo(90),
|
|
140
140
|
updatedAt: daysAgo(4),
|
|
@@ -152,8 +152,8 @@ export const homepageSectionsSeedData = [
|
|
|
152
152
|
rows: 2,
|
|
153
153
|
itemsPerRow: 3,
|
|
154
154
|
mobileItemsPerRow: 1,
|
|
155
|
-
autoScroll:
|
|
156
|
-
scrollInterval:
|
|
155
|
+
autoScroll: true,
|
|
156
|
+
scrollInterval: 5000,
|
|
157
157
|
},
|
|
158
158
|
createdAt: daysAgo(90),
|
|
159
159
|
updatedAt: daysAgo(3),
|
|
@@ -171,8 +171,8 @@ export const homepageSectionsSeedData = [
|
|
|
171
171
|
rows: 2,
|
|
172
172
|
itemsPerRow: 3,
|
|
173
173
|
mobileItemsPerRow: 1,
|
|
174
|
-
autoScroll:
|
|
175
|
-
scrollInterval:
|
|
174
|
+
autoScroll: true,
|
|
175
|
+
scrollInterval: 5000,
|
|
176
176
|
},
|
|
177
177
|
createdAt: daysAgo(90),
|
|
178
178
|
updatedAt: daysAgo(3),
|
|
@@ -249,8 +249,8 @@ export const homepageSectionsSeedData = [
|
|
|
249
249
|
title: "Top Collectibles Stores",
|
|
250
250
|
subtitle: "Browse our verified seller stores — Pokémon, Hot Wheels, Beyblade X, and more",
|
|
251
251
|
maxStores: 5,
|
|
252
|
-
autoScroll:
|
|
253
|
-
scrollInterval:
|
|
252
|
+
autoScroll: true,
|
|
253
|
+
scrollInterval: 5000,
|
|
254
254
|
},
|
|
255
255
|
createdAt: daysAgo(90),
|
|
256
256
|
updatedAt: daysAgo(5),
|
|
@@ -265,8 +265,8 @@ export const homepageSectionsSeedData = [
|
|
|
265
265
|
title: "Tournaments & Community Events",
|
|
266
266
|
subtitle: "Sales, polls, and collector meetups — stay in the loop",
|
|
267
267
|
maxEvents: 6,
|
|
268
|
-
autoScroll:
|
|
269
|
-
scrollInterval:
|
|
268
|
+
autoScroll: true,
|
|
269
|
+
scrollInterval: 6000,
|
|
270
270
|
},
|
|
271
271
|
createdAt: daysAgo(60),
|
|
272
272
|
updatedAt: daysAgo(4),
|
package/dist/server.d.ts
CHANGED
|
@@ -490,7 +490,7 @@ export { getStoreCapabilities, storeHasCapability, } from "./_internal/server/fe
|
|
|
490
490
|
export { isSoftBanned, getBanSummary } from "./features/auth/server/checkSoftBan";
|
|
491
491
|
export type { UserSoftBan } from "./features/auth/schemas/firestore";
|
|
492
492
|
export type { BannedAction } from "./features/auth/permissions/constants";
|
|
493
|
-
export { buildSitemap, buildRobots, buildManifest, buildDefaultOgImage, DEFAULT_OG_SIZE } from "./_internal/server/features/seo";
|
|
493
|
+
export { buildSitemap, buildRobots, buildManifest, buildDefaultOgImage, DEFAULT_OG_SIZE, resolveOgImageUrl } from "./_internal/server/features/seo";
|
|
494
494
|
export type { SitemapOptions, RobotsOptions, ManifestOptions, DefaultOgOptions } from "./_internal/server/features/seo";
|
|
495
495
|
export { checkActionAllowed } from "./features/admin/utils/checkActionAllowed";
|
|
496
496
|
export { getDisabledRoutes } from "./features/admin/utils/getDisabledRoutes";
|
package/dist/server.js
CHANGED
|
@@ -1366,7 +1366,7 @@ export { getStoreCapabilities, storeHasCapability, } from "./_internal/server/fe
|
|
|
1366
1366
|
// ── Soft ban helpers ──────────────────────────────────────────────────────────
|
|
1367
1367
|
export { isSoftBanned, getBanSummary } from "./features/auth/server/checkSoftBan";
|
|
1368
1368
|
// -- SEO builders (sitemap / robots / manifest / og-image) --
|
|
1369
|
-
export { buildSitemap, buildRobots, buildManifest, buildDefaultOgImage, DEFAULT_OG_SIZE } from "./_internal/server/features/seo";
|
|
1369
|
+
export { buildSitemap, buildRobots, buildManifest, buildDefaultOgImage, DEFAULT_OG_SIZE, resolveOgImageUrl } from "./_internal/server/features/seo";
|
|
1370
1370
|
// -- Action gate + nav route helpers (server-side) --
|
|
1371
1371
|
export { checkActionAllowed } from "./features/admin/utils/checkActionAllowed";
|
|
1372
1372
|
export { getDisabledRoutes } from "./features/admin/utils/getDisabledRoutes";
|