be-components 6.7.7 → 6.7.9
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 +1391 -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/MarketComponents/components/OrderBookChart.js +13 -25
- package/lib/commonjs/MarketComponents/components/OrderBookChart.js.map +1 -1
- 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 +1383 -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/MarketComponents/components/OrderBookChart.js +13 -25
- package/lib/module/MarketComponents/components/OrderBookChart.js.map +1 -1
- 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/MarketComponents/components/OrderBookChart.d.ts.map +1 -1
- 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/MarketComponents/components/OrderBookChart.d.ts.map +1 -1
- 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/MarketComponents/components/OrderBookChart.d.ts.map +1 -1
- 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 +874 -0
- package/src/MarketComponents/api/index.ts +60 -1
- package/src/MarketComponents/components/LeagueSchedule.tsx +161 -0
- package/src/MarketComponents/components/OrderBookChart.tsx +9 -10
- package/src/constants/useColors.tsx +1 -1
- package/src/index.tsx +2 -0
- package/src/types.d.ts +8 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { CompanyProps } from "../../types";
|
|
3
|
+
type CompanySelectorProps = {
|
|
4
|
+
active_company?: CompanyProps;
|
|
5
|
+
companies: CompanyProps[];
|
|
6
|
+
onSelectCompany: (c?: CompanyProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const CompanySelector: ({ active_company, companies, onSelectCompany }: CompanySelectorProps) => React.JSX.Element;
|
|
9
|
+
export default CompanySelector;
|
|
10
|
+
//# sourceMappingURL=CompanySelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanySelector.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompanySelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,KAAK,oBAAoB,GAAG;IACxB,cAAc,CAAC,EAAC,YAAY,CAAC;IAC7B,SAAS,EAAC,YAAY,EAAE,CAAC;IACzB,eAAe,EAAC,CAAC,CAAC,CAAC,EAAC,YAAY,KAAK,IAAI,CAAA;CAC5C,CAAA;AACD,QAAA,MAAM,eAAe,GAAI,gDAA+C,oBAAoB,sBA0C3F,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import type { AthleteProps, CompetitionMatchMarketProps, CompetitionMatchProps, CompetitionProps, EventProps, LeagueProps, MarketProps, MatchProps, MyPlayerProps, TeamProps, TournamentProps } from '../../types';
|
|
3
3
|
type CompetitionContestsFormProps = {
|
|
4
4
|
action_loading: boolean;
|
|
5
|
-
is_valid?: boolean;
|
|
6
5
|
competition: CompetitionProps;
|
|
7
6
|
player?: MyPlayerProps;
|
|
8
7
|
markets: MarketProps[];
|
|
@@ -31,6 +30,6 @@ type CompetitionContestsFormProps = {
|
|
|
31
30
|
onDeleteCompetitionMatch: (competition_match_id: string) => void;
|
|
32
31
|
onUpdateCompetition: (competition: CompetitionProps) => void;
|
|
33
32
|
};
|
|
34
|
-
declare const CompetitionContestsForm: ({
|
|
33
|
+
declare const CompetitionContestsForm: ({ competition, action_loading, primary_markets, events, athletes, markets, player, leagues, competition_matches, competition_match_markets, onDeleteMarket, onRemovePrimaryMarket, onDeleteCompetitionMatch, onDeleteCompetitionMatchMarkets, onShowAthletes, onShowContests, onShowMarkets, onAddPrimaryMarket, onUpdateCompetition }: CompetitionContestsFormProps) => React.JSX.Element;
|
|
35
34
|
export default CompetitionContestsForm;
|
|
36
35
|
//# sourceMappingURL=CompetitionContestsForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionContestsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionContestsForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AASnN,KAAK,4BAA4B,GAAG;IAChC,cAAc,EAAC,OAAO,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"CompetitionContestsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionContestsForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AASnN,KAAK,4BAA4B,GAAG;IAChC,cAAc,EAAC,OAAO,CAAC;IACvB,WAAW,EAAC,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAC,aAAa,CAAC;IACtB,OAAO,EAAC,WAAW,EAAE,CAAC;IACtB,OAAO,EAAC,WAAW,EAAE,CAAC;IACtB,eAAe,EAAC;QAAE,MAAM,EAAC,WAAW,CAAC;QAAC,QAAQ,EAAC,OAAO,CAAA;KAAC,EAAE,CAAC;IAC1D,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,WAAW,EAAC,eAAe,EAAE,CAAC;IAC9B,OAAO,EAAC,UAAU,EAAE,CAAC;IACrB,QAAQ,EAAC,YAAY,EAAE,CAAC;IACxB,KAAK,EAAC,SAAS,EAAE,CAAC;IAClB,mBAAmB,EAAE,qBAAqB,EAAE,CAAC;IAC7C,yBAAyB,EAAC,2BAA2B,EAAE,CAAC;IACxD,cAAc,EAAC,MAAM,IAAI,CAAC;IAC1B,kBAAkB,EAAC,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAC,CAAC,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IACnD,cAAc,EAAC,CAAC,UAAU,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,KAAK,IAAI,CAAC;IAClF,aAAa,EAAC,CAAC,UAAU,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,KAAK,IAAI,CAAC;IAC/D,cAAc,EAAC,CAAC,UAAU,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,EAAE,MAAM,EAAC,WAAW,KAAK,IAAI,CAAC;IACpF,sBAAsB,EAAC,CAAC,cAAc,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,EAAE,KAAK,EAAC,UAAU,EAAE,kBAAkB,CAAC,EAAC,MAAM,EAAE,kBAAkB,CAAC,EAAC,MAAM,EAAE,gBAAgB,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;IAClN,wBAAwB,EAAC,CAAC,EAAE,EAAC,qBAAqB,KAAK,IAAI,CAAC;IAC5D,6BAA6B,EAAE,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC5E,+BAA+B,EAAC,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC7E,wBAAwB,EAAE,CAAC,oBAAoB,EAAC,MAAM,KAAK,IAAI,CAAC;IAChE,mBAAmB,EAAC,CAAC,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAA;CAC7D,CAAA;AAGD,QAAA,MAAM,uBAAuB,GAAI,wUAoB/B,4BAA4B,sBA2U7B,CAAA;AAED,eAAe,uBAAuB,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type ViewStyle } from 'react-native';
|
|
2
3
|
import type { CompetitionProps, CompetitionSummaryProps } from '../../types';
|
|
3
4
|
type CompetitionHeaderProps = {
|
|
4
5
|
action_loading: boolean;
|
|
5
6
|
competition: CompetitionProps;
|
|
7
|
+
header_style?: ViewStyle;
|
|
6
8
|
competition_summaries: CompetitionSummaryProps[];
|
|
7
9
|
competition_valid: {
|
|
8
10
|
valid: boolean;
|
|
@@ -16,6 +18,6 @@ type CompetitionHeaderProps = {
|
|
|
16
18
|
onDelete: () => void;
|
|
17
19
|
onActivate: () => void;
|
|
18
20
|
};
|
|
19
|
-
declare const CompetitionHeader: ({ action_loading, competition_summaries, competition, competition_valid, onDelete, onActivate, onPause, onResume }: CompetitionHeaderProps) => React.JSX.Element;
|
|
21
|
+
declare const CompetitionHeader: ({ header_style, action_loading, competition_summaries, competition, competition_valid, onDelete, onActivate, onPause, onResume }: CompetitionHeaderProps) => React.JSX.Element;
|
|
20
22
|
export default CompetitionHeader;
|
|
21
23
|
//# sourceMappingURL=CompetitionHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionHeader.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CompetitionHeader.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAI7E,KAAK,sBAAsB,GAAG;IAC1B,cAAc,EAAC,OAAO,CAAC;IACvB,WAAW,EAAC,gBAAgB,CAAC;IAC7B,YAAY,CAAC,EAAC,SAAS,CAAC;IACxB,qBAAqB,EAAC,uBAAuB,EAAE,CAAC;IAChD,iBAAiB,EAAE;QACf,KAAK,EAAC,OAAO,CAAC;QACd,IAAI,EAAC,OAAO,CAAC;QACb,QAAQ,EAAC,OAAO,CAAC;QACjB,gBAAgB,EAAE,OAAO,CAAC;QAC1B,QAAQ,EAAC,OAAO,CAAA;KACnB,CAAC;IACF,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAC,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,iBAAiB,GAAI,kIAAiI,sBAAsB,sBAsHjL,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { CompetitionProps, FocusPositionProps, MyPlayerProps } from '../../types';
|
|
2
|
+
import type { CompanyProps, CompetitionProps, FocusPositionProps, GroupProps, MyPlayerProps } from '../../types';
|
|
3
3
|
type CompetitionInfoFormProps = {
|
|
4
4
|
competition: CompetitionProps;
|
|
5
|
-
is_valid?: boolean;
|
|
6
5
|
player?: MyPlayerProps;
|
|
6
|
+
groups: GroupProps[];
|
|
7
|
+
companies: CompanyProps[];
|
|
7
8
|
onFocusPosition?: (position: FocusPositionProps) => void;
|
|
8
9
|
init_expanded?: boolean;
|
|
9
10
|
onCompetitionUpdate: (competition: CompetitionProps) => void;
|
|
10
11
|
};
|
|
11
|
-
declare const CompetitionInfoForm: ({
|
|
12
|
+
declare const CompetitionInfoForm: ({ onFocusPosition, init_expanded, player, competition, groups, companies, onCompetitionUpdate }: CompetitionInfoFormProps) => React.JSX.Element;
|
|
12
13
|
export default CompetitionInfoForm;
|
|
13
14
|
//# sourceMappingURL=CompetitionInfoForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionInfoForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionInfoForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CompetitionInfoForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionInfoForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQjH,KAAK,wBAAwB,GAAG;IAC5B,WAAW,EAAC,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAC,aAAa,CAAC;IACtB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,SAAS,EAAC,YAAY,EAAE,CAAC;IACzB,eAAe,CAAC,EAAC,CAAC,QAAQ,EAAC,kBAAkB,KAAK,IAAI,CAAC;IACvD,aAAa,CAAC,EAAC,OAAO,CAAC;IACvB,mBAAmB,EAAC,CAAC,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAA;CAC7D,CAAA;AAED,QAAA,MAAM,mBAAmB,GAAI,iGAAgG,wBAAwB,sBA4IpJ,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
package/lib/typescript/src/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionMatchMarketCard.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionMatchMarketCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAO,OAAO,CAAA;AACxC,OAAO,KAAK,EAAE,2BAA2B,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM5E,KAAK,+BAA+B,GAAG;IACnC,MAAM,EAAC,WAAW,CAAC;IACnB,oBAAoB,EAAC,MAAM,CAAC;IAC5B,yBAAyB,EAAC,2BAA2B,EAAE,CAAC;IACxD,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,QAAQ,EAAC,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAC,GAAG,EAAE,CAAA;IAC5B,UAAU,EAAC,MAAM,CAAA;IACjB,aAAa,EAAE,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC9D,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,0BAA0B,GAAI,wDAAuD,+BAA+B,
|
|
1
|
+
{"version":3,"file":"CompetitionMatchMarketCard.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionMatchMarketCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAO,OAAO,CAAA;AACxC,OAAO,KAAK,EAAE,2BAA2B,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM5E,KAAK,+BAA+B,GAAG;IACnC,MAAM,EAAC,WAAW,CAAC;IACnB,oBAAoB,EAAC,MAAM,CAAC;IAC5B,yBAAyB,EAAC,2BAA2B,EAAE,CAAC;IACxD,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,QAAQ,EAAC,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAC,GAAG,EAAE,CAAA;IAC5B,UAAU,EAAC,MAAM,CAAA;IACjB,aAAa,EAAE,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAC,2BAA2B,EAAE,KAAK,IAAI,CAAC;IAC9D,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,QAAA,MAAM,0BAA0B,GAAI,wDAAuD,+BAA+B,sBAqFzH,CAAA;AAED,eAAe,0BAA0B,CAAA"}
|
|
@@ -4,12 +4,11 @@ type CompetitionSettingsFormProps = {
|
|
|
4
4
|
player?: MyPlayerProps;
|
|
5
5
|
competition: CompetitionProps;
|
|
6
6
|
init_expanded?: boolean;
|
|
7
|
-
is_valid?: boolean;
|
|
8
7
|
onFocusPosition?: (position: FocusPositionProps) => void;
|
|
9
8
|
competition_result_types: CompetitionResultTypeProps[];
|
|
10
9
|
onShowPacers: () => void;
|
|
11
10
|
onCompetitionUpdate: (c: CompetitionProps) => void;
|
|
12
11
|
};
|
|
13
|
-
declare const CompetitionSettingsForm: ({
|
|
12
|
+
declare const CompetitionSettingsForm: ({ init_expanded, onFocusPosition, player, competition, competition_result_types, onCompetitionUpdate, onShowPacers }: CompetitionSettingsFormProps) => React.JSX.Element;
|
|
14
13
|
export default CompetitionSettingsForm;
|
|
15
14
|
//# sourceMappingURL=CompetitionSettingsForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionSettingsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionSettingsForm.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,aAAa,EAAqB,MAAM,aAAa,CAAC;AAQtI,KAAK,4BAA4B,GAAG;IAChC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,aAAa,CAAC,EAAC,OAAO,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"CompetitionSettingsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/CompetitionSettingsForm.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,aAAa,EAAqB,MAAM,aAAa,CAAC;AAQtI,KAAK,4BAA4B,GAAG;IAChC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,aAAa,CAAC,EAAC,OAAO,CAAC;IACvB,eAAe,CAAC,EAAC,CAAC,QAAQ,EAAC,kBAAkB,KAAK,IAAI,CAAC;IACvD,wBAAwB,EAAC,0BAA0B,EAAE,CAAC;IACtD,YAAY,EAAC,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAC,CAAC,CAAC,EAAC,gBAAgB,KAAK,IAAI,CAAA;CACnD,CAAA;AAID,QAAA,MAAM,uBAAuB,GAAI,sHAAsH,4BAA4B,sBA0LlL,CAAA;AAED,eAAe,uBAAuB,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { CompetitionMatchMarketProps, CompetitionMatchProps, CompetitionProps, CompetitionTypeProps, EventProps, FocusPositionProps } from "../../types";
|
|
3
3
|
type ContestSettingsFormProps = {
|
|
4
|
-
is_valid?: boolean;
|
|
5
4
|
competition: CompetitionProps;
|
|
6
5
|
onFocusPosition?: (position: FocusPositionProps) => void;
|
|
7
6
|
competition_matches: CompetitionMatchProps[];
|
|
@@ -11,6 +10,6 @@ type ContestSettingsFormProps = {
|
|
|
11
10
|
init_expanded?: boolean;
|
|
12
11
|
onCompetitionUpdate: (c: CompetitionProps) => void;
|
|
13
12
|
};
|
|
14
|
-
declare const ContestSettingsForm: ({
|
|
13
|
+
declare const ContestSettingsForm: ({ init_expanded, onFocusPosition, competition, competition_matches, competition_match_markets, competition_types, events, onCompetitionUpdate }: ContestSettingsFormProps) => React.JSX.Element;
|
|
15
14
|
export default ContestSettingsForm;
|
|
16
15
|
//# sourceMappingURL=ContestSettingsForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContestSettingsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/ContestSettingsForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAO9J,KAAK,wBAAwB,GAAG;IAC5B,
|
|
1
|
+
{"version":3,"file":"ContestSettingsForm.d.ts","sourceRoot":"","sources":["../../../../../src/CompetitionManager/components/ContestSettingsForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAO9J,KAAK,wBAAwB,GAAG;IAC5B,WAAW,EAAC,gBAAgB,CAAC;IAC7B,eAAe,CAAC,EAAC,CAAC,QAAQ,EAAC,kBAAkB,KAAK,IAAI,CAAC;IACvD,mBAAmB,EAAC,qBAAqB,EAAE,CAAC;IAC5C,yBAAyB,EAAC,2BAA2B,EAAE,CAAC;IACxD,iBAAiB,EAAC,oBAAoB,EAAE,CAAC;IACzC,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,aAAa,CAAC,EAAC,OAAO,CAAC;IACvB,mBAAmB,EAAE,CAAC,CAAC,EAAC,gBAAgB,KAAK,IAAI,CAAA;CACpD,CAAA;AAID,QAAA,MAAM,mBAAmB,GAAI,iJAAgJ,wBAAwB,sBAiJpM,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { GroupProps } from "../../types";
|
|
3
|
+
type GroupSelectorProps = {
|
|
4
|
+
active_group?: GroupProps;
|
|
5
|
+
groups: GroupProps[];
|
|
6
|
+
onSelectGroup: (group?: GroupProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const GroupSelector: ({ active_group, groups, onSelectGroup }: GroupSelectorProps) => React.JSX.Element;
|
|
9
|
+
export default GroupSelector;
|
|
10
|
+
//# sourceMappingURL=GroupSelector.d.ts.map
|
|
@@ -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,OA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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,sBAoV9P,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,WAAW,EAAE,WAAW,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AASla,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,CAAA;AAErD,QAAA,MAAM,kBAAkB;;sBAQD,OAAO,CAAC,WAAW,EAAE,CAAC;yBAShB,UAAU,KAAE,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;kCASlC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Y,MAAM;iCAQ3C,UAAU,aAAY,MAAM;gCAQ7B,UAAU;2BAQf,UAAU,GAAC,uBAAuB,UAAS,WAAW,UAAS,UAAU,eAAc,eAAe,UAAS,UAAU,YAAW,YAAY,SAAQ,SAAS;uCAcpJ,UAAU,GAAC,uBAAuB,UAAS,WAAW,SAAQ,UAAU,YAAW,YAAY,WAAU,GAAG,KAAE,MAAM,GAAG,SAAS;wCAyB/H,UAAU,GAAG,uBAAuB,UAAS,WAAW,cAAa,eAAe,YAAW,YAAY,SAAQ,SAAS,KAAE,MAAM,GAAG,SAAS;mCAuBrJ,UAAU,GAAC,uBAAuB,UAAS,WAAW,SAAQ,UAAU,YAAW,YAAY,SAAQ,SAAS,KAAE,MAAM,GAAG,SAAS;4CAuB5H,MAAM,WAAU,WAAW,UAAS,UAAU,eAAc,eAAe,UAAS,UAAU;;;;;2BAuC/G,MAAM,gBAAe,MAAM,GAAC,YAAY,GAAC,OAAO,kBAAgB,uBAAuB,EAAE,mBAAkB,kBAAkB,EAAE,iBAAgB,MAAM,qBAAoB,MAAM,WAAU,WAAW,UAAS,UAAU,eAAc,eAAe,UAAS,UAAU,YAAW,YAAY,SAAQ,SAAS;uCA4GnS,UAAU,EAAE,KAAE,MAAM,EAAE;oCAIzB,MAAM,EAAE,KAAE,MAAM;uCAab,UAAU,EAAE;iCAIlB,UAAU,EAAE,KAAE,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderBookChart.d.ts","sourceRoot":"","sources":["../../../../../src/MarketComponents/components/OrderBookChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAK/D,KAAK,mBAAmB,GAAG;IACvB,UAAU,EAAC,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,KAAK,EAAC,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAC,WAAW,CAAC;IACnB,WAAW,EAAE,WAAW,GAAC,MAAM,CAAC;IAChC,SAAS,CAAC,EAAC,MAAM,CAAA;IACjB,OAAO,CAAC,EAAC,MAAM,CAAA;IACf,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,UAAU,CAAC,EAAC,MAAM,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,qFAAoF,mBAAmB,
|
|
1
|
+
{"version":3,"file":"OrderBookChart.d.ts","sourceRoot":"","sources":["../../../../../src/MarketComponents/components/OrderBookChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAK/D,KAAK,mBAAmB,GAAG;IACvB,UAAU,EAAC,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,KAAK,EAAC,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAC,WAAW,CAAC;IACnB,WAAW,EAAE,WAAW,GAAC,MAAM,CAAC;IAChC,SAAS,CAAC,EAAC,MAAM,CAAA;IACjB,OAAO,CAAC,EAAC,MAAM,CAAA;IACf,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,UAAU,CAAC,EAAC,MAAM,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,qFAAoF,mBAAmB,sBA0H9H,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,YAAY,CAAC;AACtD,OAAO,iBAAiB,MAAM,eAAe,CAAC;AAC9C,OAAO,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,WAAW,MAAM,WAAW,CAAC;AACpC,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,aAAa,MAAM,WAAW,CAAC;AACtC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,sBAAsB,CA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O,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oCAAoC,CAAC;AAC9D,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,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,EACL,aAAa,EACb,QAAQ,EACR,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"}
|
|
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,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,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}}>
|