@agg-build/ui 4.22.6 → 4.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{chunk-CKHECAKV.mjs → chunk-7ORC3TUJ.mjs} +398 -239
  2. package/dist/{chunk-RCO424WO.mjs → chunk-G4KXZ5XX.mjs} +63 -66
  3. package/dist/{chunk-NV6WT3TN.mjs → chunk-HZXHDH6G.mjs} +153 -45
  4. package/dist/{chunk-H54RU7NF.mjs → chunk-MDCFCGA3.mjs} +6 -3
  5. package/dist/{chunk-SGXFMBJM.mjs → chunk-Q5NJCH5O.mjs} +19 -7
  6. package/dist/{chunk-UXLC3FFY.mjs → chunk-W2LCFCW3.mjs} +1 -1
  7. package/dist/{chunk-JR2XAAK6.mjs → chunk-YYGS6S7N.mjs} +5 -2
  8. package/dist/{event-market-J35IWO2I.mjs → event-market-YBWA2HRJ.mjs} +4 -4
  9. package/dist/events.js +10 -4
  10. package/dist/events.mjs +2 -2
  11. package/dist/index.js +2688 -2395
  12. package/dist/index.mjs +9 -7
  13. package/dist/modals.js +512 -352
  14. package/dist/modals.mjs +4 -2
  15. package/dist/pages.js +2234 -1943
  16. package/dist/pages.mjs +6 -6
  17. package/dist/styles.css +1 -1
  18. package/dist/tailwind.css +1 -1
  19. package/dist/trading.js +1139 -874
  20. package/dist/trading.mjs +2 -2
  21. package/dist/types/onboarding/index.d.mts +1 -0
  22. package/dist/types/onboarding/index.d.ts +1 -0
  23. package/dist/types/onboarding/steps/connect-novig-modal.d.mts +12 -0
  24. package/dist/types/onboarding/steps/connect-novig-modal.d.ts +12 -0
  25. package/dist/types/pages/event-market/sports-markets.d.mts +3 -1
  26. package/dist/types/pages/event-market/sports-markets.d.ts +3 -1
  27. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +1 -2
  28. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +1 -2
  29. package/dist/types/trading/place-order/index.place-order.utils.d.mts +7 -0
  30. package/dist/types/trading/place-order/index.place-order.utils.d.ts +7 -0
  31. package/package.json +3 -3
package/dist/events.js CHANGED
@@ -9234,7 +9234,8 @@ var EventListItemContent = ({
9234
9234
  // the volume-sorted top-3 (the detail page omits context and keeps the
9235
9235
  // structured threshold/date order).
9236
9236
  context: "list",
9237
- status: marketStatus
9237
+ status: marketStatus,
9238
+ minVolume: config.market.minVolume
9238
9239
  });
9239
9240
  const resolvedOutcomeMarkets = (0, import_react14.useMemo)(() => {
9240
9241
  if (!isLazyMarketsQueryEnabled || lazyLoadedMarkets.length === 0) return allVenueMarkets;
@@ -16126,7 +16127,8 @@ var MarketDetailsList = ({
16126
16127
  var _a, _b, _c;
16127
16128
  const labels = (0, import_hooks55.useLabels)();
16128
16129
  const {
16129
- features: { enableLiveUpdates }
16130
+ features: { enableLiveUpdates },
16131
+ market: { minVolume }
16130
16132
  } = (0, import_hooks55.useSdkUiConfig)();
16131
16133
  const tradingContext = (0, import_hooks55.useEventTradingContext)();
16132
16134
  const selectedMarketId = (_a = tradingContext == null ? void 0 : tradingContext.selectedMarketId) != null ? _a : null;
@@ -16146,7 +16148,9 @@ var MarketDetailsList = ({
16146
16148
  // fetchAll drains every page — events can exceed any single-page limit
16147
16149
  // (e.g. 80 open markets on one staging event).
16148
16150
  limit: 100,
16149
- fetchAll: true
16151
+ fetchAll: true,
16152
+ // Same minVolume as useEnrichedVenueEvent's open query (also in the key).
16153
+ minVolume
16150
16154
  // No explicit sortBy: event-scoped /venue-markets sorts by the event's
16151
16155
  // type-aware order (structureOrderBy), matching the home-card top-3 and the
16152
16156
  // markets-under-an-event ordering. Passing sortBy here would override it.
@@ -17081,7 +17085,8 @@ var EventList = ({
17081
17085
  const labels = (0, import_hooks59.useLabels)();
17082
17086
  const { disabledVenues } = (0, import_hooks59.useAppConfig)();
17083
17087
  const {
17084
- features: { enableVenueEventDiscoveryFilters, showSportsMarkets }
17088
+ features: { enableVenueEventDiscoveryFilters, showSportsMarkets },
17089
+ market: { minVolume }
17085
17090
  } = (0, import_hooks59.useSdkUiConfig)();
17086
17091
  const isDiscoveryFiltersEnabled = enableVenueEventDiscoveryFilters && !search;
17087
17092
  const resolvedTabs = useEventListTabs();
@@ -17324,6 +17329,7 @@ var EventList = ({
17324
17329
  // markets experience is enabled (the sports event-detail view loads the
17325
17330
  // folded companions via aggKey). Gated on the same flag as that view.
17326
17331
  grouped: showSportsMarkets,
17332
+ minVolume,
17327
17333
  initialPages: initialLoadedPageCount,
17328
17334
  enabled: controlledCategoryPath == null || validatedCategoryPathKey === controlledCategoryPathValidationKey
17329
17335
  });
package/dist/events.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  EventListItem,
6
6
  EventListItemV2,
7
7
  EventListVenueStrip
8
- } from "./chunk-H54RU7NF.mjs";
8
+ } from "./chunk-MDCFCGA3.mjs";
9
9
  import {
10
10
  EventListItemDetails,
11
11
  MarketDetails,
@@ -20,7 +20,7 @@ import {
20
20
  orderbookRowLimitDefault,
21
21
  resolveEventDetailsSyncKey,
22
22
  useCenterOrderbookSpread
23
- } from "./chunk-JR2XAAK6.mjs";
23
+ } from "./chunk-YYGS6S7N.mjs";
24
24
  import {
25
25
  formatProbabilityCents,
26
26
  resolveOrderBookRows,