be-components 6.7.8 → 6.8.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/lib/commonjs/Authenticator/index.js +1 -0
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +13 -0
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +1 -1
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Competition/index.js +26 -43
- package/lib/commonjs/Competition/index.js.map +1 -1
- package/lib/commonjs/CompetitionManager/api/index.js +57 -11
- package/lib/commonjs/CompetitionManager/api/index.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/AdminCompetitionList.js +406 -287
- package/lib/commonjs/CompetitionManager/components/AdminCompetitionList.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/AthleteSelector.js +11 -3
- package/lib/commonjs/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompanySelector.js +94 -0
- package/lib/commonjs/CompetitionManager/components/CompanySelector.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js +135 -107
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js +5 -5
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +80 -34
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js +12 -8
- package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +36 -30
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js +4 -2
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js +37 -33
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/GroupSelector.js +94 -0
- package/lib/commonjs/CompetitionManager/components/GroupSelector.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js +21 -12
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js +4 -1
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/index.js +44 -49
- package/lib/commonjs/CompetitionManager/index.js.map +1 -1
- package/lib/commonjs/Components/Toggle.js +2 -1
- package/lib/commonjs/Components/Toggle.js.map +1 -1
- package/lib/commonjs/CreateEngagement/api/index.js +192 -0
- package/lib/commonjs/CreateEngagement/api/index.js.map +1 -0
- package/lib/commonjs/CreateEngagement/index.js +1400 -0
- package/lib/commonjs/CreateEngagement/index.js.map +1 -0
- package/lib/commonjs/MarketComponents/api/index.js +51 -1
- package/lib/commonjs/MarketComponents/api/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/LeagueSchedule.js +210 -0
- package/lib/commonjs/MarketComponents/components/LeagueSchedule.js.map +1 -0
- package/lib/commonjs/constants/useColors.js +1 -1
- package/lib/commonjs/constants/useColors.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types.d.js.map +1 -1
- package/lib/module/Authenticator/index.js +1 -0
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/Competition/components/CompetitionInfoCard.js +13 -0
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Competition/index.js +26 -43
- package/lib/module/Competition/index.js.map +1 -1
- package/lib/module/CompetitionManager/api/index.js +57 -11
- package/lib/module/CompetitionManager/api/index.js.map +1 -1
- package/lib/module/CompetitionManager/components/AdminCompetitionList.js +391 -272
- package/lib/module/CompetitionManager/components/AdminCompetitionList.js.map +1 -1
- package/lib/module/CompetitionManager/components/AthleteSelector.js +11 -3
- package/lib/module/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompanySelector.js +87 -0
- package/lib/module/CompetitionManager/components/CompanySelector.js.map +1 -0
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js +135 -107
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionHeader.js +5 -5
- package/lib/module/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +80 -34
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.js +12 -8
- package/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +36 -30
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSelector.js +4 -2
- package/lib/module/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js +37 -33
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/GroupSelector.js +87 -0
- package/lib/module/CompetitionManager/components/GroupSelector.js.map +1 -0
- package/lib/module/CompetitionManager/components/MarketSelector.js +21 -12
- package/lib/module/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/PlayerSelector.js +4 -1
- package/lib/module/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/module/CompetitionManager/index.js +45 -50
- package/lib/module/CompetitionManager/index.js.map +1 -1
- package/lib/module/Components/Toggle.js +2 -1
- package/lib/module/Components/Toggle.js.map +1 -1
- package/lib/module/CreateEngagement/api/index.js +186 -0
- package/lib/module/CreateEngagement/api/index.js.map +1 -0
- package/lib/module/CreateEngagement/index.js +1392 -0
- package/lib/module/CreateEngagement/index.js.map +1 -0
- package/lib/module/MarketComponents/api/index.js +51 -1
- package/lib/module/MarketComponents/api/index.js.map +1 -1
- package/lib/module/MarketComponents/components/LeagueSchedule.js +202 -0
- package/lib/module/MarketComponents/components/LeagueSchedule.js.map +1 -0
- package/lib/module/constants/useColors.js +1 -1
- package/lib/module/constants/useColors.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.d.js.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/api/index.d.ts +9 -4
- package/lib/typescript/lib/commonjs/CompetitionManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AdminCompetitionList.d.ts +4 -3
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AdminCompetitionList.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AthleteSelector.d.ts +3 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompanySelector.d.ts +8 -0
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompanySelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.d.ts +2 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionHeader.d.ts +2 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts +3 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/GroupSelector.d.ts +8 -0
- package/lib/typescript/lib/commonjs/CompetitionManager/components/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts +4 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Toggle.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Components/Toggle.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CreateEngagement/api/index.d.ts +39 -0
- package/lib/typescript/lib/commonjs/CreateEngagement/api/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/CreateEngagement/index.d.ts +18 -0
- package/lib/typescript/lib/commonjs/CreateEngagement/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/MarketComponents/api/index.d.ts +8 -0
- package/lib/typescript/lib/commonjs/MarketComponents/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/LeagueSchedule.d.ts +8 -0
- package/lib/typescript/lib/commonjs/MarketComponents/components/LeagueSchedule.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/api/index.d.ts +9 -4
- package/lib/typescript/lib/module/CompetitionManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/AdminCompetitionList.d.ts +5 -5
- package/lib/typescript/lib/module/CompetitionManager/components/AdminCompetitionList.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts +3 -1
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompanySelector.d.ts +8 -0
- package/lib/typescript/lib/module/CompetitionManager/components/CompanySelector.d.ts.map +1 -0
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionContestsForm.d.ts +2 -2
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts +2 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +3 -2
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/GroupSelector.d.ts +8 -0
- package/lib/typescript/lib/module/CompetitionManager/components/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/lib/module/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts +4 -1
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Toggle.d.ts +2 -1
- package/lib/typescript/lib/module/Components/Toggle.d.ts.map +1 -1
- package/lib/typescript/lib/module/CreateEngagement/api/index.d.ts +38 -0
- package/lib/typescript/lib/module/CreateEngagement/api/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/CreateEngagement/index.d.ts +18 -0
- package/lib/typescript/lib/module/CreateEngagement/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/MarketComponents/api/index.d.ts +8 -0
- package/lib/typescript/lib/module/MarketComponents/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/LeagueSchedule.d.ts +8 -0
- package/lib/typescript/lib/module/MarketComponents/components/LeagueSchedule.d.ts.map +1 -0
- package/lib/typescript/lib/module/index.d.ts +2 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/index.d.ts +1 -1
- package/lib/typescript/src/Competition/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/api/index.d.ts +13 -5
- package/lib/typescript/src/CompetitionManager/api/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/AdminCompetitionList.d.ts +5 -1
- package/lib/typescript/src/CompetitionManager/components/AdminCompetitionList.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/AthleteSelector.d.ts +4 -2
- package/lib/typescript/src/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompanySelector.d.ts +10 -0
- package/lib/typescript/src/CompetitionManager/components/CompanySelector.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts +1 -2
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionHeader.d.ts +3 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts +4 -3
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -2
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts +1 -2
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/GroupSelector.d.ts +10 -0
- package/lib/typescript/src/CompetitionManager/components/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts +5 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Toggle.d.ts +2 -1
- package/lib/typescript/src/Components/Toggle.d.ts.map +1 -1
- package/lib/typescript/src/CreateEngagement/api/index.d.ts +29 -0
- package/lib/typescript/src/CreateEngagement/api/index.d.ts.map +1 -0
- package/lib/typescript/src/CreateEngagement/index.d.ts +21 -0
- package/lib/typescript/src/CreateEngagement/index.d.ts.map +1 -0
- package/lib/typescript/src/MarketComponents/api/index.d.ts +8 -0
- package/lib/typescript/src/MarketComponents/api/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/LeagueSchedule.d.ts +10 -0
- package/lib/typescript/src/MarketComponents/components/LeagueSchedule.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Authenticator/index.tsx +1 -1
- package/src/Competition/components/CompetitionInfoCard.tsx +4 -0
- package/src/Competition/components/CompetitionLeaderboard.tsx +1 -1
- package/src/Competition/index.tsx +16 -29
- package/src/CompetitionManager/api/index.ts +49 -6
- package/src/CompetitionManager/components/AdminCompetitionList.tsx +247 -176
- package/src/CompetitionManager/components/AthleteSelector.tsx +14 -5
- package/src/CompetitionManager/components/CompanySelector.tsx +58 -0
- package/src/CompetitionManager/components/CompetitionContestsForm.tsx +96 -84
- package/src/CompetitionManager/components/CompetitionHeader.tsx +5 -4
- package/src/CompetitionManager/components/CompetitionInfoForm.tsx +59 -29
- package/src/CompetitionManager/components/CompetitionMatchMarketCard.tsx +9 -14
- package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +30 -36
- package/src/CompetitionManager/components/ContestSelector.tsx +2 -2
- package/src/CompetitionManager/components/ContestSettingsForm.tsx +24 -25
- package/src/CompetitionManager/components/GroupSelector.tsx +57 -0
- package/src/CompetitionManager/components/MarketSelector.tsx +14 -13
- package/src/CompetitionManager/components/PlayerSelector.tsx +1 -1
- package/src/CompetitionManager/index.tsx +49 -33
- package/src/Components/Toggle.tsx +3 -2
- package/src/CreateEngagement/api/index.ts +138 -0
- package/src/CreateEngagement/index.tsx +878 -0
- package/src/MarketComponents/api/index.ts +60 -1
- package/src/MarketComponents/components/LeagueSchedule.tsx +161 -0
- package/src/constants/useColors.tsx +1 -1
- package/src/index.tsx +2 -0
- package/src/types.d.ts +8 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupSelector.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/GroupSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAK9C,KAAK,kBAAkB,GAAG;IACtB,YAAY,CAAC,EAAC,UAAU,CAAC;IACzB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,aAAa,EAAC,CAAC,KAAK,CAAC,EAAC,UAAU,KAAK,IAAI,CAAA;CAC5C,CAAA;AACD,QAAA,MAAM,aAAa,GAAI,yCAAwC,kBAAkB,sBA0ChF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarketSelector.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/MarketSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM/C,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAC,WAAW,EAAE,CAAC;IACtB,gBAAgB,EAAC,MAAM,EAAE,CAAC;IAC1B,cAAc,EAAE,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AACD,QAAA,MAAM,cAAc,GAAI,0EAA2E,mBAAmB,
|
|
1
|
+
{"version":3,"file":"MarketSelector.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/MarketSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM/C,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAC,WAAW,EAAE,CAAC;IACtB,gBAAgB,EAAC,MAAM,EAAE,CAAC;IAC1B,cAAc,EAAE,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AACD,QAAA,MAAM,cAAc,GAAI,0EAA2E,mBAAmB,sBA4DrH,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type ViewStyle } from "react-native";
|
|
2
3
|
import type { FocusPositionProps } from '../types';
|
|
3
4
|
type CompetitionManagerProps = {
|
|
4
5
|
player_id?: string;
|
|
5
6
|
competition_id: string;
|
|
7
|
+
float?: boolean;
|
|
8
|
+
header_style?: ViewStyle;
|
|
9
|
+
footer_style?: ViewStyle;
|
|
6
10
|
onFocusPosition?: (position: FocusPositionProps) => void;
|
|
7
11
|
insets?: {
|
|
8
12
|
top: number;
|
|
@@ -12,6 +16,6 @@ type CompetitionManagerProps = {
|
|
|
12
16
|
};
|
|
13
17
|
onClose: () => void;
|
|
14
18
|
};
|
|
15
|
-
declare const CompetitionManager: ({ player_id, onFocusPosition, competition_id, onClose, insets }: CompetitionManagerProps) => React.JSX.Element;
|
|
19
|
+
declare const CompetitionManager: ({ float, header_style, footer_style, player_id, onFocusPosition, competition_id, onClose, insets }: CompetitionManagerProps) => React.JSX.Element;
|
|
16
20
|
export default CompetitionManager;
|
|
17
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CompetitionManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CompetitionManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE9D,OAAO,KAAK,EAAuN,kBAAkB,EAA2G,MAAM,UAAU,CAAC;AAcjX,KAAK,uBAAuB,GAAG;IAC3B,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,cAAc,EAAC,MAAM,CAAC;IACtB,KAAK,CAAC,EAAC,OAAO,CAAC;IACf,YAAY,CAAC,EAAC,SAAS,CAAC;IACxB,YAAY,CAAC,EAAC,SAAS,CAAA;IACvB,eAAe,CAAC,EAAC,CAAC,QAAQ,EAAC,kBAAkB,KAAK,IAAI,CAAC;IACvD,MAAM,CAAC,EAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,MAAM,CAAA;KAAC,CAAC;IAC/D,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AAGD,QAAA,MAAM,kBAAkB,GAAI,oGAAmG,uBAAuB,sBA6rBrJ,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -8,6 +8,7 @@ type ToggleProps = {
|
|
|
8
8
|
background_color?: string;
|
|
9
9
|
toggle_padding?: number;
|
|
10
10
|
border_radius?: number;
|
|
11
|
+
padding?: number;
|
|
11
12
|
title_renderer?: (option: any) => any;
|
|
12
13
|
active_toggle_color?: string;
|
|
13
14
|
inactive_toggle_color?: string;
|
|
@@ -16,6 +17,6 @@ type ToggleProps = {
|
|
|
16
17
|
selected_option?: string;
|
|
17
18
|
onSelectOption: (key: string) => void;
|
|
18
19
|
};
|
|
19
|
-
declare const Toggle: ({ options, background_color, title_renderer, active_title_color, toggle_padding, border_radius, inactive_title_color, inactive_toggle_color, active_toggle_color, selected_option, onSelectOption }: ToggleProps) => React.JSX.Element;
|
|
20
|
+
declare const Toggle: ({ options, background_color, padding, title_renderer, active_title_color, toggle_padding, border_radius, inactive_title_color, inactive_toggle_color, active_toggle_color, selected_option, onSelectOption }: ToggleProps) => React.JSX.Element;
|
|
20
21
|
export default Toggle;
|
|
21
22
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../src/Components/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,KAAK,WAAW,GAAG;IACf,OAAO,EAAE;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;KAAC,EAAE,CAAC;IACxD,gBAAgB,CAAC,EAAC,MAAM,CAAC;IACzB,cAAc,CAAC,EAAC,MAAM,CAAC;IACvB,aAAa,CAAC,EAAC,MAAM,CAAC;IACtB,cAAc,CAAC,EAAC,CAAC,MAAM,EAAC,GAAG,KAAK,GAAG,CAAC;IACpC,mBAAmB,CAAC,EAAC,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAC,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAC,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAC,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAC,CAAC,GAAG,EAAC,MAAM,KAAK,IAAI,CAAA;CACtC,CAAA;AACD,QAAA,MAAM,MAAM,GAAI,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../src/Components/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,KAAK,WAAW,GAAG;IACf,OAAO,EAAE;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;KAAC,EAAE,CAAC;IACxD,gBAAgB,CAAC,EAAC,MAAM,CAAC;IACzB,cAAc,CAAC,EAAC,MAAM,CAAC;IACvB,aAAa,CAAC,EAAC,MAAM,CAAC;IACtB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,cAAc,CAAC,EAAC,CAAC,MAAM,EAAC,GAAG,KAAK,GAAG,CAAC;IACpC,mBAAmB,CAAC,EAAC,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAC,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAC,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAC,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAC,CAAC,GAAG,EAAC,MAAM,KAAK,IAAI,CAAA;CACtC,CAAA;AACD,QAAA,MAAM,MAAM,GAAI,8MAA6M,WAAW,sBA4DvO,CAAA;AAGD,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CompanyProps, CompetitionPayoutTypeProps, CompetitionProps, CompetitionResultTypeProps, CompetitionTypeProps, CreateEngagementStepProps, GroupPlayerProps, GroupProps, LeagueProps, SquaresCompetitionProps } from "../../types";
|
|
2
|
+
import type { CompanyMemberProps } from "../../Authenticator/api/types";
|
|
3
|
+
export { CreateEngagementApi, CreateEngagementHelpers };
|
|
4
|
+
declare const CreateEngagementApi: {
|
|
5
|
+
setEnvironment: () => void;
|
|
6
|
+
getLeagues: () => Promise<LeagueProps[]>;
|
|
7
|
+
getMyCompanies: () => Promise<{
|
|
8
|
+
companies: CompanyProps[];
|
|
9
|
+
company_members: CompanyMemberProps[];
|
|
10
|
+
}>;
|
|
11
|
+
getMyGroups: (offset: number) => Promise<{
|
|
12
|
+
groups: GroupProps[];
|
|
13
|
+
group_players: GroupPlayerProps[];
|
|
14
|
+
}>;
|
|
15
|
+
getTemplateCompetitions: () => Promise<CompetitionProps[]>;
|
|
16
|
+
createCompetition: (competition_name: string, competition_description: string, competition_type_id: string, competition_result_type_id: string, company_id?: string, group_id?: string, pacer_id?: string, template_competition_id?: string, competition_season_id?: string, image?: any) => Promise<CompetitionProps | undefined>;
|
|
17
|
+
getCompetitionOptions: () => Promise<{
|
|
18
|
+
competition_types: CompetitionTypeProps[];
|
|
19
|
+
competition_result_types: CompetitionResultTypeProps[];
|
|
20
|
+
competition_payout_types: CompetitionPayoutTypeProps[];
|
|
21
|
+
}>;
|
|
22
|
+
createSquaresCompetition: (squares_competition: SquaresCompetitionProps) => Promise<SquaresCompetitionProps | undefined>;
|
|
23
|
+
activateSquares: (sq_comp_id: string) => Promise<any>;
|
|
24
|
+
};
|
|
25
|
+
declare const CreateEngagementHelpers: {
|
|
26
|
+
isStepValid: (step: CreateEngagementStepProps, active_engagement?: string, draft_competition?: any, draft_squares?: SquaresCompetitionProps) => string[];
|
|
27
|
+
generateSquaresComp: () => SquaresCompetitionProps;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/CreateEngagement/api/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE/O,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAMxE,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAA;AAGvD,QAAA,MAAM,mBAAmB;;sBASD,OAAO,CAAC,WAAW,EAAE,CAAC;0BAQjB,OAAO,CAAC;QAAC,SAAS,EAAC,YAAY,EAAE,CAAC;QAAC,eAAe,EAAC,kBAAkB,EAAE,CAAA;KAAC,CAAC;0BAKxE,MAAM,KAAE,OAAO,CAAC;QAAC,MAAM,EAAE,UAAU,EAAE,CAAC;QAAC,aAAa,EAAC,gBAAgB,EAAE,CAAA;KAAC,CAAC;mCAQlE,OAAO,CAAC,gBAAgB,EAAE,CAAC;0CAQlB,MAAM,2BAA0B,MAAM,uBAAsB,MAAM,8BAA6B,MAAM,eAAc,MAAM,aAAY,MAAM,aAAY,MAAM,4BAA2B,MAAM,0BAAyB,MAAM,UAAS,GAAG,KAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;iCAQ5R,OAAO,CAAC;QAAC,iBAAiB,EAAC,oBAAoB,EAAE,CAAC;QAAC,wBAAwB,EAAC,0BAA0B,EAAE,CAAC;QAAC,wBAAwB,EAAC,0BAA0B,EAAE,CAAA;KAAC,CAAC;oDAQ5I,uBAAuB,KAAE,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;kCASvF,MAAM;CAQ3C,CAAA;AAGD,QAAA,MAAM,uBAAuB;wBACN,yBAAyB,sBAAqB,MAAM,sBAAqB,GAAG,kBAAiB,uBAAuB,KAAE,MAAM,EAAE;+BA6BzH,uBAAuB;CAqBlD,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BracketCompetitionProps, CompetitionProps, FocusPositionProps, PollProps, PublicPlayerProps, SquaresCompetitionProps } from '../types';
|
|
3
|
+
import { type ViewStyle } from 'react-native';
|
|
4
|
+
type CreateEngagementProps = {
|
|
5
|
+
player?: PublicPlayerProps;
|
|
6
|
+
onFocusPostiion?: (pos: FocusPositionProps) => void;
|
|
7
|
+
onCreateCompetition: (competition: CompetitionProps) => void;
|
|
8
|
+
onCreateBracketCompetition: (bc: BracketCompetitionProps) => void;
|
|
9
|
+
onCreateSquaresCompetition: (sc: SquaresCompetitionProps) => void;
|
|
10
|
+
onCreateFlashMarket: (fm: PollProps) => void;
|
|
11
|
+
header_style?: ViewStyle;
|
|
12
|
+
footer_style?: ViewStyle;
|
|
13
|
+
float?: boolean;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
init_engagement?: 'competition' | 'bracket' | 'squares' | 'flash';
|
|
16
|
+
group_id?: string;
|
|
17
|
+
company_id?: string;
|
|
18
|
+
};
|
|
19
|
+
declare const CreateEngagement: ({ float, player, init_engagement, onFocusPostiion, group_id, company_id, header_style, footer_style, onClose, onCreateCompetition, onCreateBracketCompetition, onCreateSquaresCompetition, onCreateFlashMarket }: CreateEngagementProps) => React.JSX.Element;
|
|
20
|
+
export default CreateEngagement;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CreateEngagement/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,uBAAuB,EAA4C,gBAAgB,EAA2F,kBAAkB,EAA2B,SAAS,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACjT,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ/D,KAAK,qBAAqB,GAAG;IACzB,MAAM,CAAC,EAAC,iBAAiB,CAAC;IAC1B,eAAe,CAAC,EAAC,CAAC,GAAG,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAClD,mBAAmB,EAAC,CAAC,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAC3D,0BAA0B,EAAC,CAAC,EAAE,EAAC,uBAAuB,KAAK,IAAI,CAAC;IAChE,0BAA0B,EAAC,CAAC,EAAE,EAAC,uBAAuB,KAAK,IAAI,CAAC;IAChE,mBAAmB,EAAC,CAAC,EAAE,EAAC,SAAS,KAAK,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAC,SAAS,CAAC;IACxB,YAAY,CAAC,EAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAC,OAAO,CAAC;IACf,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,eAAe,CAAC,EAAC,aAAa,GAAC,SAAS,GAAC,SAAS,GAAC,OAAO,CAAA;IAC1D,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,UAAU,CAAC,EAAC,MAAM,CAAA;CACrB,CAAA;AAeD,QAAA,MAAM,gBAAgB,GAAI,kNAAgN,qBAAqB,sBAwV9P,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -140,5 +140,13 @@ declare const MarketComponentHelpers: {
|
|
|
140
140
|
trade_side_label: string;
|
|
141
141
|
};
|
|
142
142
|
setMarket: (unit_size: number, contest_type: "team" | "tournament" | "match", best_available: BestAvailableOrderProps[], external_prices: ExternalPriceProps[], o_side_margin: number, trade_side_margin: number, market?: MarketProps, event?: EventProps, tournament?: TournamentProps, match?: MatchProps, athlete?: AthleteProps, team?: TeamProps) => OrderProps[];
|
|
143
|
+
getUniqueDatesFromEvents: (events: EventProps[]) => string[];
|
|
144
|
+
getClosestDay: (schedule_range: string[]) => string;
|
|
145
|
+
getUniqueTimesFromEvents: (events: EventProps[]) => string[];
|
|
146
|
+
getUniqueDivisions: (events: EventProps[]) => string[];
|
|
147
|
+
getUniqueSubDivisions: (events: EventProps[]) => string[];
|
|
148
|
+
getFinalizedStatuses: () => string[];
|
|
149
|
+
FINALIZED_STATUSES: string[];
|
|
150
|
+
IN_PROGRESS_STATUSES: string[];
|
|
143
151
|
};
|
|
144
152
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/MarketComponents/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,UAAU,EAAE,kBAAkB,EAAE,W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AAE,MAAM,EAAE;oCASnB,UAAU,EAAE,KAAE,MAAM,EAAE;;;;CA6BxD,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { EventProps, LeagueProps } from '../../../src/types';
|
|
3
|
+
type LeagueScheduleProps = {
|
|
4
|
+
league: LeagueProps;
|
|
5
|
+
active_event?: string;
|
|
6
|
+
onSelectEvent: (event: EventProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const LeagueSchedule: ({ league, active_event, onSelectEvent }: LeagueScheduleProps) => React.JSX.Element;
|
|
9
|
+
export default LeagueSchedule;
|
|
10
|
+
//# sourceMappingURL=LeagueSchedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeagueSchedule.d.ts","sourceRoot":"","sources":["../../../../../src/MarketComponents/components/LeagueSchedule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAEjF,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAmB,MAAM,oBAAoB,CAAC;AAQnF,KAAK,mBAAmB,GAAG;IACvB,MAAM,EAAC,WAAW,CAAC;IACnB,YAAY,CAAC,EAAC,MAAM,CAAC;IACrB,aAAa,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAA;CAC3C,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,yCAAwC,mBAAmB,sBA8IlF,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -57,5 +57,6 @@ import RankingsCard from './RankingsCard';
|
|
|
57
57
|
import GuideView from './Guide';
|
|
58
58
|
import GroupComponent from './Group';
|
|
59
59
|
import CreateGroupWizard from './Group/components/CreateGroupWizard';
|
|
60
|
-
|
|
60
|
+
import CreateEngagement from './CreateEngagement';
|
|
61
|
+
export { Authenticator, Observer, CreateEngagement, BEEventApi, RankingsCard, BELinkApi, GuideView, BetMatch, ManageFilter, Ticker, Premium, CreateGroupWizard, LeaderboardCard, GroupComponent, LocationTracker, BEClarity, FlashMarket, ContactsCard, PlayerRecommender, GolfScoreboard, ContactsSelector, Campaign, BEPostHog, ManageBracketCompetitionForm, NotificationModule, FlashHolder, useNotifications, ClaritySmartEvents, ProfileManager, CompetitionManager, Components, SocialComponents, APIOverrides, LinearGradient, usePlayerLocation, BettorSearch, Colors, MyWallet, Share, Checkout, MarketComponents, EventComponents, PollCampaign, PollCampaignApi, PollApi, MarketMaker, CompetitionModule, SeasonManager, CreateCompetitionForm, CreateSeasonForm, SeasonModule, AdminCompetitionList, AdServer, Leaderboard, AdProvider, BracketRoom, SquaresModule, SocketManager, PromotedOrder, EngageModule, CompetitionCard, SquaresCompetitionCard, BracketCompetitionCard, SeasonCard };
|
|
61
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,QAAQ,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,YAAY,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,YAA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D,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,SAAS,CAAC;AAChC,OAAO,cAAc,MAAM,SAAS,CAAC;AACrC,OAAO,iBAAiB,MAAM,sCAAsC,CAAC;AACrE,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,SAAS,EACT,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,4BAA4B,EAC5B,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EACf,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,UAAU,EACX,CAAA"}
|
package/package.json
CHANGED
|
@@ -61,6 +61,10 @@ const CompetitionInfoCard = ({ hidden, disable_collapse, competition, competitio
|
|
|
61
61
|
</Button>
|
|
62
62
|
{expanded ?
|
|
63
63
|
<View transparent style={{ padding:20 }}>
|
|
64
|
+
<View transparent type='row' style={{ padding:5 }}>
|
|
65
|
+
<Text style={{flex:1}} theme="description">Ticket Price</Text>
|
|
66
|
+
<Text theme="h2">{cl}{Number(competition.buy_in).toFixed(2)}</Text>
|
|
67
|
+
</View>
|
|
64
68
|
<View transparent type='row' style={{ padding:5 }}>
|
|
65
69
|
<Text style={{flex:1}} theme="description">Competition Type</Text>
|
|
66
70
|
<Text theme="h2">{competition_type.type.toUpperCase()}</Text>
|
|
@@ -166,7 +166,7 @@ const CompetitionLeaderboard = ({ hidden, disable_collapse, competition, competi
|
|
|
166
166
|
</Button>
|
|
167
167
|
</View>
|
|
168
168
|
:<></>}
|
|
169
|
-
<View transparent style={{ padding:10,
|
|
169
|
+
<View transparent style={{ padding:10, flex:1 }}>
|
|
170
170
|
{loading ?
|
|
171
171
|
<ActivityIndicator style={{ alignSelf:'center', padding:10 }} size='large' color={C.text.h1} />
|
|
172
172
|
:<></>}
|
|
@@ -24,7 +24,7 @@ type CompetitionModuleProps = {
|
|
|
24
24
|
onFocusPosition?:(position:FocusPositionProps) => void,
|
|
25
25
|
onClose:() => void,
|
|
26
26
|
onEvent?:(event:BEEventProps) => void,
|
|
27
|
-
onManageCompetition
|
|
27
|
+
onManageCompetition?:(competition_id:string) => void,
|
|
28
28
|
onRequestAuthentication:(auth_strategy_id?:string) => void,
|
|
29
29
|
onShareCompetition:(competition:CompetitionProps) => void,
|
|
30
30
|
onViewCompetitionSeason:(cs:CompetitionSeasonProps) => void
|
|
@@ -360,7 +360,12 @@ const CompetitionModule = ({ competition_id, view_mode, insets, player_id, confi
|
|
|
360
360
|
<Text theme='h1'>{competition.competition_name}</Text>
|
|
361
361
|
<Text style={{ marginTop:4 }} theme='h2'>{competition.competition_description}</Text>
|
|
362
362
|
</View>
|
|
363
|
-
|
|
363
|
+
{onManageCompetition && player?.player_id == competition.admin_id ?
|
|
364
|
+
<Button float style={{ padding:10, marginRight:10 }} onPress={() => onManageCompetition(competition.competition_id)}>
|
|
365
|
+
<Icons.SettingsIcon size={18} color={Colors.text.h1} />
|
|
366
|
+
</Button>
|
|
367
|
+
:<></>}
|
|
368
|
+
<Button style={{ padding:10 }} float onPress={() => onShareCompetition(competition)}>
|
|
364
369
|
<Icons.ShareIcon color={C.text.h1} size={14} />
|
|
365
370
|
</Button>
|
|
366
371
|
</View>
|
|
@@ -375,8 +380,8 @@ const CompetitionModule = ({ competition_id, view_mode, insets, player_id, confi
|
|
|
375
380
|
onViewSeason={(cs) => onViewCompetitionSeason(cs)}
|
|
376
381
|
/>
|
|
377
382
|
:
|
|
378
|
-
<View transparent type='header' style={{ flexDirection:'row', padding:10 }}>
|
|
379
|
-
<View transparent style={{ flex:1 }}>
|
|
383
|
+
<View transparent type='header' style={{ flexDirection:'row', alignItems:'center', padding:10 }}>
|
|
384
|
+
<View transparent style={{ flex:1, marginRight:10 }}>
|
|
380
385
|
<Text size={12} theme='description'>{competition.status == 'closed' ? 'COMPLETED' : in_progress ? 'IN PROGRESS' : 'JOIN UNTIL'}</Text>
|
|
381
386
|
{in_progress ?
|
|
382
387
|
<Text style={{ marginTop:5 }} theme='h2'>{moment(competition.scheduled_datetime).format('MMM DD hh:mm a')}</Text>
|
|
@@ -386,10 +391,10 @@ const CompetitionModule = ({ competition_id, view_mode, insets, player_id, confi
|
|
|
386
391
|
</View>
|
|
387
392
|
{!authenticated_competition_player ?
|
|
388
393
|
<Button
|
|
389
|
-
style={{ opacity: can_join ? 1: 0.5 }}
|
|
394
|
+
style={{ opacity: can_join ? 1: 0.5, padding:14 }}
|
|
390
395
|
disabled={!can_join}
|
|
391
396
|
loading={loading}
|
|
392
|
-
title={`JOIN`}
|
|
397
|
+
title={`JOIN ${competition.market_type=='FOR_MONEY'?'$':'E'}${Number(competition.buy_in).toFixed(2)}`}
|
|
393
398
|
type='success'
|
|
394
399
|
onPress={() => {
|
|
395
400
|
if(competition.competition_season_id){ return alert('Please select the season to join!') }
|
|
@@ -418,16 +423,17 @@ const CompetitionModule = ({ competition_id, view_mode, insets, player_id, confi
|
|
|
418
423
|
<View style={{padding:10}}>
|
|
419
424
|
<Toggle
|
|
420
425
|
options={[
|
|
421
|
-
{ key: 'details', label: 'Details', icon: <Icons.MenuIcon size={18} color={active_tab=='details'?Colors.text.
|
|
422
|
-
{ key: 'play', label: 'Play', icon: <Icons.PickEmIcon size={18} color={active_tab=='play'?Colors.text.
|
|
423
|
-
{ key: 'leaderboard', label: 'Leaders', icon: <Icons.LeaderboardIcon size={18} color={active_tab=='leaderboard'?Colors.text.
|
|
426
|
+
{ key: 'details', label: 'Details', icon: <Icons.MenuIcon size={18} color={active_tab=='details'?Colors.toggle.text.active:Colors.toggle.text.inactive}/> },
|
|
427
|
+
{ key: 'play', label: 'Play', icon: <Icons.PickEmIcon size={18} color={active_tab=='play'?Colors.toggle.text.active:Colors.toggle.text.inactive}/> },
|
|
428
|
+
{ key: 'leaderboard', label: 'Leaders', icon: <Icons.LeaderboardIcon size={18} color={active_tab=='leaderboard'?Colors.toggle.text.active:Colors.toggle.text.inactive}/> }
|
|
424
429
|
]}
|
|
425
430
|
active_toggle_color={Colors.text.action}
|
|
426
431
|
title_renderer={(option:any) => {
|
|
432
|
+
const active = option.key == active_tab ? true : false
|
|
427
433
|
return (
|
|
428
434
|
<View transparent style={{ flexDirection:'row', alignItems:'center', justifyContent:'center' }}>
|
|
429
435
|
{option.icon}
|
|
430
|
-
<Text style={{ marginLeft:10 }} theme='h1' color={
|
|
436
|
+
<Text style={{ marginLeft:10 }} theme='h1' color={active?Colors.toggle.text.active:Colors.toggle.text.inactive}>{option.label}</Text>
|
|
431
437
|
</View>
|
|
432
438
|
)
|
|
433
439
|
}}
|
|
@@ -514,25 +520,6 @@ const CompetitionModule = ({ competition_id, view_mode, insets, player_id, confi
|
|
|
514
520
|
keyExtractor={(item) => item}
|
|
515
521
|
renderItem={renderSections}
|
|
516
522
|
/>
|
|
517
|
-
{player?.player_id == competition.admin_id ?
|
|
518
|
-
<View float type='row' style={{ padding:0, paddingRight:10 }}>
|
|
519
|
-
<Image
|
|
520
|
-
source={{ uri: player.profile_pic }}
|
|
521
|
-
style={{ height:55, width:55 }}
|
|
522
|
-
resizeMode='cover'
|
|
523
|
-
/>
|
|
524
|
-
<View style={{ flex:1, marginLeft:10, padding:5 }}>
|
|
525
|
-
<Text theme='h2'>ADMIN ACTIONS</Text>
|
|
526
|
-
<Text style={{ marginTop:3 }} theme='description'>Press manage to make changes to this competition</Text>
|
|
527
|
-
</View>
|
|
528
|
-
<Button
|
|
529
|
-
float
|
|
530
|
-
title='MANAGE'
|
|
531
|
-
onPress={() => onManageCompetition(competition_id)}
|
|
532
|
-
type='info'
|
|
533
|
-
/>
|
|
534
|
-
</View>
|
|
535
|
-
:<></>}
|
|
536
523
|
{show_full_leaderboard ?
|
|
537
524
|
<View type='blur' style={view_mode=='desktop'?{position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center'}:{ position:'absolute', bottom:0, left:0, right:0, top:0 }}>
|
|
538
525
|
<View style={view_mode=='desktop'?{ width:500, height:676, borderRadius:22 }:{flex:1}}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { APIOverrides } from "../../ApiOverrides";
|
|
3
|
-
import type { AthleteProps, BracketCompetitionProps, CompanyProps, CompetitionMatchMarketProps, CompetitionMatchProps, CompetitionPayoutTypeProps, CompetitionPlayerBracketProps, CompetitionPlayerProps, CompetitionProps, CompetitionRecordProps, CompetitionResultProps, CompetitionResultTypeProps, CompetitionSeasonPlayerProps, CompetitionSeasonProps, CompetitionSeasonResultProps, CompetitionSummaryProps, CompetitionTypeProps, EventProps, ExternalPriceProps, LeagueProps, MarketProps, MatchProps, MyPlayerProps, PlayerBalanceProps, PlayerBracketProps, PlayerPickProps, PlayerReferralProps, PromoProps, PublicPlayerProps, SquaresCompetitionProps, TeamProps, TournamentProps, TradeProps } from "../../types";
|
|
3
|
+
import type { AthleteProps, BracketCompetitionProps, CompanyProps, CompetitionMatchMarketProps, CompetitionMatchProps, CompetitionPayoutTypeProps, CompetitionPlayerBracketProps, CompetitionPlayerProps, CompetitionProps, CompetitionRecordProps, CompetitionResultProps, CompetitionResultTypeProps, CompetitionSeasonPlayerProps, CompetitionSeasonProps, CompetitionSeasonResultProps, CompetitionSummaryProps, CompetitionTypeProps, EventProps, ExternalPriceProps, GroupPlayerProps, GroupProps, LeagueProps, MarketProps, MatchProps, MyPlayerProps, PlayerBalanceProps, PlayerBracketProps, PlayerPickProps, PlayerReferralProps, PromoProps, PublicPlayerProps, SquaresCompetitionProps, TeamProps, TournamentProps, TradeProps } from "../../types";
|
|
4
4
|
import moment from "moment-mini";
|
|
5
5
|
import type { CompanyMemberProps } from "../../Authenticator/api/types";
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@ let AUTH_SVC_API = ''
|
|
|
8
8
|
let TP_SVC_API = ''
|
|
9
9
|
let EVENT_SVC_API = ''
|
|
10
10
|
let MK_SVC_API = ''
|
|
11
|
+
let SOCIAL_SVC_API = ''
|
|
11
12
|
|
|
12
13
|
export { ManageCompetitionApi, ManageCompetitionMarketApi, ManageCompetitionMatchApi, ManageCompetitionPlayerApi, ManageCompetitionResultApi, ManagePlayerPicksApi, ManageCompetitionHelpers }
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const ManageCompetitionApi = {
|
|
|
18
19
|
const endpoints = APIOverrides.getEndpoints();
|
|
19
20
|
TP_SVC_API = endpoints['TP_SVC_API'] as string;
|
|
20
21
|
EVENT_SVC_API = endpoints['EVENT_SVC_API'] as string;
|
|
22
|
+
SOCIAL_SVC_API = endpoints['SOCIAL_SVC_API'] as string;
|
|
21
23
|
MK_SVC_API = endpoints['MK_SVC_API'] as string;
|
|
22
24
|
AUTH_SVC_API = endpoints['AUTH_SVC_API'] as string;
|
|
23
25
|
},
|
|
@@ -25,10 +27,40 @@ const ManageCompetitionApi = {
|
|
|
25
27
|
const resp = await axios.post(`${AUTH_SVC_API}/v1/players/bulk/get`, { player_ids })
|
|
26
28
|
return resp.data.players
|
|
27
29
|
},
|
|
30
|
+
getMyCompanies : async():Promise<{companies:CompanyProps[], company_members:CompanyMemberProps[]}> => {
|
|
31
|
+
const resp = await axios.get(`${AUTH_SVC_API}/v1/companies/me`)
|
|
32
|
+
const { companies, company_members } = resp.data
|
|
33
|
+
return { companies, company_members }
|
|
34
|
+
},
|
|
35
|
+
getMyGroups: async(offset:number):Promise<{groups: GroupProps[], group_players:GroupPlayerProps[]}> => {
|
|
36
|
+
try {
|
|
37
|
+
const resp = await axios.get(`${SOCIAL_SVC_API}/v2/groups/me/multiple?offset=${offset}`);
|
|
38
|
+
return resp.data
|
|
39
|
+
} catch (e) {
|
|
40
|
+
return { group_players: [], groups: [] }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
28
43
|
getMyAdminCompetition:async(offset:number, status?:'active'|'closed'):Promise<CompetitionProps[]> => {
|
|
29
44
|
const resp = await axios.get(`${TP_SVC_API}/v2/competitions/admin?offset=${offset}&status=${status}`)
|
|
30
45
|
return resp.data.competitions
|
|
31
46
|
},
|
|
47
|
+
getMyActiveAdminSquares: async():Promise<SquaresCompetitionProps[]> => {
|
|
48
|
+
try {
|
|
49
|
+
const resp = await axios.get(`${TP_SVC_API}/v1/squares/admin/active`);
|
|
50
|
+
console.log(resp.data)
|
|
51
|
+
return resp.data.squares_competitions
|
|
52
|
+
} catch (e) {
|
|
53
|
+
return []
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
getMyHistoryAdminSquares: async(offset:number):Promise<SquaresCompetitionProps[]> => {
|
|
57
|
+
try {
|
|
58
|
+
const resp = await axios.get(`${TP_SVC_API}/v1/squares/admin/history?offset=${offset}`);
|
|
59
|
+
return resp.data.squares_competitions
|
|
60
|
+
} catch (e) {
|
|
61
|
+
return []
|
|
62
|
+
}
|
|
63
|
+
},
|
|
32
64
|
getLeagues: async():Promise<LeagueProps[]> => {
|
|
33
65
|
const resp = await axios.get(`${EVENT_SVC_API}/v1/leagues?status=active`)
|
|
34
66
|
return resp.data.leagues
|
|
@@ -89,6 +121,22 @@ const ManageCompetitionApi = {
|
|
|
89
121
|
const resp = await axios.get(`${TP_SVC_API}/v1/brackets/me/active`);
|
|
90
122
|
return resp.data
|
|
91
123
|
},
|
|
124
|
+
getMyActiveAdminBracketCompetitions: async() => {
|
|
125
|
+
try {
|
|
126
|
+
const resp = await axios.get(`${TP_SVC_API}/v1/brackets/admin/active`);
|
|
127
|
+
return resp.data.bracket_competitions
|
|
128
|
+
} catch (e) {
|
|
129
|
+
return []
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
getMyHistoryAdminBracketCompetitions: async(offset:number) => {
|
|
133
|
+
try {
|
|
134
|
+
const resp = await axios.get(`${TP_SVC_API}/v1/brackets/admin/history?offset=${offset}`);
|
|
135
|
+
return resp.data.bracket_competitions
|
|
136
|
+
} catch (e) {
|
|
137
|
+
return []
|
|
138
|
+
}
|
|
139
|
+
},
|
|
92
140
|
getMyHistoryBracketCompetitions:async(offset:number):Promise<{ bracket_competitions:BracketCompetitionProps[], competition_player_brackets:CompetitionPlayerBracketProps[], player_brackets:PlayerBracketProps[] }> => {
|
|
93
141
|
const resp = await axios.get(`${TP_SVC_API}/v1/brackets/me/history?offset=${offset}`);
|
|
94
142
|
return resp.data
|
|
@@ -97,11 +145,6 @@ const ManageCompetitionApi = {
|
|
|
97
145
|
const resp = await axios.get(`${TP_SVC_API}/v1/competitions/all?offset=${offset}&status=scheduled`)
|
|
98
146
|
return resp.data.competitions
|
|
99
147
|
},
|
|
100
|
-
getMyCompanies : async():Promise<{companies:CompanyProps[], company_members:CompanyMemberProps[]}> => {
|
|
101
|
-
const resp = await axios.get(`${AUTH_SVC_API}/v1/companies/me`)
|
|
102
|
-
const { companies, company_members } = resp.data
|
|
103
|
-
return { companies, company_members }
|
|
104
|
-
},
|
|
105
148
|
getActiveSponsoredCompetitions: async(sponsor_id:string):Promise<CompetitionProps[]> => {
|
|
106
149
|
const resp = await axios.get(`${TP_SVC_API}/v1/competitions/sponsored/${sponsor_id}`)
|
|
107
150
|
return resp.data.competitions
|