fansunited-management-components 1.56.0-RC1 → 1.56.0-RC11
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/dev/App.d.ts.map +1 -1
- package/index.es.js +10932 -10053
- package/index.umd.js +191 -191
- package/package.json +1 -1
- package/src/components/Buttons/HeaderButtons.d.ts +29 -7
- package/src/components/Buttons/HeaderButtons.d.ts.map +1 -1
- package/src/components/Modals/AIGeneration/FootballPostMatch/GenerateFootballPostMatchModal.d.ts +53 -0
- package/src/components/Modals/AIGeneration/FootballPostMatch/GenerateFootballPostMatchModal.d.ts.map +1 -0
- package/src/components/Modals/AIGeneration/FootballPostMatch/MainSheet.d.ts +60 -0
- package/src/components/Modals/AIGeneration/FootballPostMatch/MainSheet.d.ts.map +1 -0
- package/src/components/Modals/AIGeneration/Formula1PostEvent/Formula1PostEvent.d.ts +6 -0
- package/src/components/Modals/AIGeneration/Formula1PostEvent/Formula1PostEvent.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/TeamsSearchSelect.d.ts +4 -1
- package/src/components/Select/SearchSelect/TeamsSearchSelect.d.ts.map +1 -1
- package/src/constants/components.d.ts +61 -3
- package/src/constants/components.d.ts.map +1 -1
- package/src/constants/languages.d.ts +83 -0
- package/src/constants/languages.d.ts.map +1 -0
- package/src/context/ComponentContext.d.ts +46 -2
- package/src/context/ComponentContext.d.ts.map +1 -1
- package/src/hooks/useMatches.d.ts +23 -0
- package/src/hooks/useMatches.d.ts.map +1 -0
- package/src/index.d.ts +84 -0
- package/src/index.d.ts.map +1 -1
- package/src/models/ai/AiPostMatchPollParams.d.ts +6 -0
- package/src/models/ai/AiPostMatchPollParams.d.ts.map +1 -0
- package/src/models/ai/AiPostMatchQuizParams.d.ts +6 -0
- package/src/models/ai/AiPostMatchQuizParams.d.ts.map +1 -0
- package/src/models/voting/AIPollGenerated.d.ts +15 -0
- package/src/models/voting/AIPollGenerated.d.ts.map +1 -0
- package/src/models/voting/PollRequestBody.d.ts +17 -10
- package/src/models/voting/PollRequestBody.d.ts.map +1 -1
- package/src/services/https/HttpsService.d.ts +5 -0
- package/src/services/https/HttpsService.d.ts.map +1 -1
- package/src/types/types.d.ts +1 -0
- package/src/types/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,21 +1,43 @@
|
|
|
1
|
+
import { AIGenerateIdType } from '../../types/types';
|
|
2
|
+
import { EntityType } from '../../models/related/RelatedEntityRelationship';
|
|
3
|
+
|
|
1
4
|
type HeaderButtonsProps = {
|
|
2
5
|
createLabel: string;
|
|
3
6
|
createFromTemplateLabel?: string;
|
|
4
7
|
signOutLabel: string;
|
|
5
|
-
|
|
8
|
+
entityType: EntityType;
|
|
9
|
+
generateLabels?: {
|
|
10
|
+
generateAIEntityLabel: string;
|
|
11
|
+
generateFootballPostMatchLabel: string;
|
|
12
|
+
generateFormula1PostEventLabel?: string;
|
|
13
|
+
};
|
|
6
14
|
environment: string;
|
|
7
15
|
onClickCreate: () => void;
|
|
8
16
|
onClickCreateFromTemplate?: () => void;
|
|
17
|
+
onClickGenerate?: (generateId: AIGenerateIdType) => void;
|
|
9
18
|
};
|
|
10
19
|
/**
|
|
11
|
-
* Header action buttons for management pages
|
|
20
|
+
* Header action buttons for management pages.
|
|
12
21
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
22
|
+
* Renders the following actions in the header:
|
|
23
|
+
* - Create (primary)
|
|
24
|
+
* - optional Create from template
|
|
25
|
+
* - optional split "Create with AI" button with a dropdown of AI generators
|
|
26
|
+
* - optional Sign out button on the right
|
|
27
|
+
*
|
|
28
|
+
* Props
|
|
29
|
+
* @property {string} createLabel - Text for the Create button.
|
|
30
|
+
* @property {string} [createFromTemplateLabel] - If provided, shows the "Create from template" button.
|
|
31
|
+
* @property {string} signOutLabel - If non-empty, shows the Sign out button.
|
|
32
|
+
* @property {{
|
|
33
|
+
* generateAIEntityLabel: string;
|
|
34
|
+
* generateFootballPostMatchLabel: string;
|
|
35
|
+
* generateFormula1PostEventLabel?: string;
|
|
36
|
+
* }} [generateLabels] - Labels for the AI generate split button and its options. If omitted (or if `onClickGenerate` is not provided), the AI button is hidden.
|
|
16
37
|
* @property {string} environment - Firebase environment key passed to SignOutButton.
|
|
17
|
-
* @property {() => void} onClickCreate -
|
|
18
|
-
* @property {() => void} [onClickCreateFromTemplate] -
|
|
38
|
+
* @property {() => void} onClickCreate - Called when Create is clicked.
|
|
39
|
+
* @property {() => void} [onClickCreateFromTemplate] - Called when Create from template is clicked.
|
|
40
|
+
* @property {(generateId: AIGenerateIdType) => void} [onClickGenerate] - Called when an AI generate option is selected; together with `generateLabels` controls whether the AI button is rendered.
|
|
19
41
|
*/
|
|
20
42
|
declare const HeaderButtons: React.FC<HeaderButtonsProps>;
|
|
21
43
|
export default HeaderButtons;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/HeaderButtons.tsx"],"names":[],"mappings":"AAKA,KAAK,kBAAkB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/HeaderButtons.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAsB5E,KAAK,kBAAkB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,CAAC,EAAE;QAChB,qBAAqB,EAAE,MAAM,CAAC;QAC9B,8BAA8B,EAAE,MAAM,CAAC;QACvC,8BAA8B,CAAC,EAAE,MAAM,CAAC;KACxC,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+F/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/src/components/Modals/AIGeneration/FootballPostMatch/GenerateFootballPostMatchModal.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EntityType } from '../../../../models/related/RelatedEntityRelationship';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
4
|
+
type GeneratePostMatchEntityModalProps = {
|
|
5
|
+
entityType: EntityType;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
toggleModal: () => void;
|
|
8
|
+
defaultLanguage: string | null;
|
|
9
|
+
competitionsScope: string[];
|
|
10
|
+
labels: {
|
|
11
|
+
generateFootballPostMatchModalTitle: string;
|
|
12
|
+
generateFormulaOnePostEventModalTitle?: string;
|
|
13
|
+
close: string;
|
|
14
|
+
fromDate: string;
|
|
15
|
+
toDate: string;
|
|
16
|
+
teamsSelectionPlaceholder?: string;
|
|
17
|
+
searchTeamsErrorMessage: string;
|
|
18
|
+
language: string;
|
|
19
|
+
targetLanguageDescription: string;
|
|
20
|
+
searchMatch: string;
|
|
21
|
+
preview: string;
|
|
22
|
+
create: string;
|
|
23
|
+
useFramingGuidelinesLabel?: string;
|
|
24
|
+
onEntityGenerateErrorMessage: string;
|
|
25
|
+
onEntityCreateMessage: string;
|
|
26
|
+
onEntityCreateErrorMessage: string;
|
|
27
|
+
noPreviewAvailable: string;
|
|
28
|
+
questions?: string;
|
|
29
|
+
engagementScore?: string;
|
|
30
|
+
category?: string;
|
|
31
|
+
expand: string;
|
|
32
|
+
noMatchesFound: string;
|
|
33
|
+
page: string;
|
|
34
|
+
of: string;
|
|
35
|
+
total: string;
|
|
36
|
+
generate: string;
|
|
37
|
+
regenerate: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Modal for generating AI-powered content (quizzes or polls) based on football post-match data.
|
|
42
|
+
* Provides a two-step workflow: match search/filtering and content preview/generation.
|
|
43
|
+
*
|
|
44
|
+
* @property {EntityType} entityType - Type of entity to generate ('classic_quiz' or 'poll').
|
|
45
|
+
* @property {boolean} isOpen - Controls modal visibility.
|
|
46
|
+
* @property {() => void} toggleModal - Function to toggle modal open/closed state.
|
|
47
|
+
* @property {string | null} defaultLanguage - Default language code for content generation.
|
|
48
|
+
* @property {string[]} competitionsScope - Array of competition IDs for filtering matches.
|
|
49
|
+
* @property {object} labels - Localized text labels for all UI elements.
|
|
50
|
+
*/
|
|
51
|
+
declare const GenerateFootballPostMatchModal: React.FC<GeneratePostMatchEntityModalProps>;
|
|
52
|
+
export default GenerateFootballPostMatchModal;
|
|
53
|
+
//# sourceMappingURL=GenerateFootballPostMatchModal.d.ts.map
|
package/src/components/Modals/AIGeneration/FootballPostMatch/GenerateFootballPostMatchModal.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerateFootballPostMatchModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modals/AIGeneration/FootballPostMatch/GenerateFootballPostMatchModal.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AA0D1B,KAAK,iCAAiC,GAAG;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,MAAM,EAAE;QACP,mCAAmC,EAAE,MAAM,CAAC;QAC5C,qCAAqC,CAAC,EAAE,MAAM,CAAC;QAC/C,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,yBAAyB,CAAC,EAAE,MAAM,CAAC;QACnC,uBAAuB,EAAE,MAAM,CAAC;QAChC,QAAQ,EAAE,MAAM,CAAC;QACjB,yBAAyB,EAAE,MAAM,CAAC;QAClC,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,yBAAyB,CAAC,EAAE,MAAM,CAAC;QACnC,4BAA4B,EAAE,MAAM,CAAC;QACrC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,0BAA0B,EAAE,MAAM,CAAC;QAEnC,kBAAkB,EAAE,MAAM,CAAC;QAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC;CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,iCAAiC,CAyb/E,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { default as React, Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { MatchBasicModel } from 'fansunited-sdk-esm';
|
|
3
|
+
import { default as ClassicQuizRequestBody } from '../../../../models/minigames/classicquizzes/ClassicQuizRequestBody';
|
|
4
|
+
import { default as PollRequestBody } from '../../../../models/voting/PollRequestBody';
|
|
5
|
+
import { PaginationMeta } from '../../../../hooks/useMatches';
|
|
6
|
+
import { EntityType } from '../../../../models/related/RelatedEntityRelationship';
|
|
7
|
+
import { default as AIPollGenerated } from '../../../../models/voting/AIPollGenerated';
|
|
8
|
+
|
|
9
|
+
type MainSheetLabels = {
|
|
10
|
+
noPreviewAvailable: string;
|
|
11
|
+
questions?: string;
|
|
12
|
+
engagementScore?: string;
|
|
13
|
+
category?: string;
|
|
14
|
+
expand: string;
|
|
15
|
+
noMatchesFound: string;
|
|
16
|
+
page: string;
|
|
17
|
+
of: string;
|
|
18
|
+
total: string;
|
|
19
|
+
generate: string;
|
|
20
|
+
regenerate: string;
|
|
21
|
+
};
|
|
22
|
+
type MainSheetProps = {
|
|
23
|
+
step: 'search' | 'preview';
|
|
24
|
+
loading: boolean;
|
|
25
|
+
matches: MatchBasicModel[] | null;
|
|
26
|
+
selectedMatchId: string;
|
|
27
|
+
generatedEntity: ClassicQuizRequestBody | AIPollGenerated | null;
|
|
28
|
+
pagination: PaginationMeta;
|
|
29
|
+
entityType: EntityType;
|
|
30
|
+
teamIdsFilter: string[] | undefined;
|
|
31
|
+
labels: MainSheetLabels;
|
|
32
|
+
setPage: Dispatch<SetStateAction<number>>;
|
|
33
|
+
setSelectedMatchId: Dispatch<SetStateAction<string>>;
|
|
34
|
+
onGenerate: () => void;
|
|
35
|
+
setGeneratedEntity: Dispatch<SetStateAction<ClassicQuizRequestBody | AIPollGenerated | null>>;
|
|
36
|
+
setPollRequestBody: Dispatch<SetStateAction<PollRequestBody | null>>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Main content area for the GenerateFootballPostMatchModal that displays either match search results
|
|
40
|
+
* or generated content preview based on the current step. Handles match selection, pagination,
|
|
41
|
+
* and content generation/regeneration.
|
|
42
|
+
*
|
|
43
|
+
* @property {'search' | 'preview'} step - Current workflow step (search matches or preview generated content).
|
|
44
|
+
* @property {boolean} loading - Loading state for matches or content generation.
|
|
45
|
+
* @property {MatchBasicModel[] | null} matches - Array of football matches to display.
|
|
46
|
+
* @property {string} selectedMatchId - ID of the currently selected match.
|
|
47
|
+
* @property {ClassicQuizRequestBody | AIPollGenerated | null} generatedEntity - Generated quiz or poll content.
|
|
48
|
+
* @property {PaginationMeta} pagination - Pagination metadata for match results.
|
|
49
|
+
* @property {EntityType} entityType - Type of entity being generated ('classic_quiz' or 'poll').
|
|
50
|
+
* @property {string[] | undefined} teamIdsFilter - Array of team IDs used for filtering matches.
|
|
51
|
+
* @property {MainSheetLabels} labels - Localized text labels for UI elements.
|
|
52
|
+
* @property {Dispatch<SetStateAction<number>>} setPage - Function to update current page.
|
|
53
|
+
* @property {Dispatch<SetStateAction<string>>} setSelectedMatchId - Function to update selected match.
|
|
54
|
+
* @property {() => void} onGenerate - Function to trigger content generation.
|
|
55
|
+
* @property {Dispatch<SetStateAction<ClassicQuizRequestBody | AIPollGenerated | null>>} setGeneratedEntity - Function to update generated content.
|
|
56
|
+
* @property {Dispatch<SetStateAction<PollRequestBody | null>>} setPollRequestBody - Function to update poll request body.
|
|
57
|
+
*/
|
|
58
|
+
declare const MainSheet: React.FC<MainSheetProps>;
|
|
59
|
+
export default MainSheet;
|
|
60
|
+
//# sourceMappingURL=MainSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MainSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modals/AIGeneration/FootballPostMatch/MainSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,sBAAsB,MAAM,oEAAoE,CAAC;AACxG,OAAO,eAAe,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,cAAc,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ACrE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqavC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Formula1PostEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modals/AIGeneration/Formula1PostEvent/Formula1PostEvent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,wBAAwB,GAAG,EAAE,CAAC;AAEnC,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAE3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { default as EntitySelectOption } from '../../../models/select/EntitySelectOption';
|
|
2
3
|
|
|
3
4
|
type TeamsSearchSelectProps = {
|
|
4
5
|
labels: any;
|
|
5
6
|
ids: string[];
|
|
6
7
|
scope: string[] | undefined;
|
|
7
|
-
|
|
8
|
+
readOnly?: boolean;
|
|
9
|
+
AdditionalCheckbox?: React.ReactElement;
|
|
10
|
+
onChange: (selectedOptions: EntitySelectOption[]) => void;
|
|
8
11
|
};
|
|
9
12
|
/**
|
|
10
13
|
* Multi-select teams search with optional competitions scope.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeamsSearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/SearchSelect/TeamsSearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TeamsSearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/SearchSelect/TeamsSearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAM5D,OAAO,kBAAkB,MAAM,2CAA2C,CAAC;AAoB3E,KAAK,sBAAsB,GAAG;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACxC,QAAQ,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF;;;;;;;GAOG;AACH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAiIvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -33,16 +33,28 @@ export declare const components: {
|
|
|
33
33
|
onChange: (value: string) => void;
|
|
34
34
|
}>;
|
|
35
35
|
/**
|
|
36
|
-
* Header action buttons for management pages
|
|
36
|
+
* Header action buttons for management pages.
|
|
37
|
+
*
|
|
38
|
+
* Renders Create, optional Create from template, an optional split "Create with AI" button (dropdown of AI generators),
|
|
39
|
+
* and optional Sign out on the right. The AI button is shown only when both `generateLabels` and `onClickGenerate` are provided.
|
|
40
|
+
*
|
|
41
|
+
* generateLabels supports: `generateAIEntityLabel` (text on the split button) and `generatePostMatchLabel` (Post‑Match Quiz option),
|
|
42
|
+
* plus reserved keys for future generators such as `generateFootballQuizLabel` and `generateFormula1QuizLabel`.
|
|
37
43
|
*/
|
|
38
44
|
readonly HeaderButtons: import('react').FC<{
|
|
39
45
|
createLabel: string;
|
|
40
46
|
createFromTemplateLabel?: string;
|
|
41
47
|
signOutLabel: string;
|
|
42
|
-
|
|
48
|
+
entityType: import('../models/related/RelatedEntityRelationship').EntityType;
|
|
49
|
+
generateLabels?: {
|
|
50
|
+
generateAIEntityLabel: string;
|
|
51
|
+
generateFootballPostMatchLabel: string;
|
|
52
|
+
generateFormula1PostEventLabel?: string;
|
|
53
|
+
};
|
|
43
54
|
environment: string;
|
|
44
55
|
onClickCreate: () => void;
|
|
45
56
|
onClickCreateFromTemplate?: () => void;
|
|
57
|
+
onClickGenerate?: (generateId: import('../types/types').AIGenerateIdType) => void;
|
|
46
58
|
}>;
|
|
47
59
|
/**
|
|
48
60
|
* Market selection control with grouped checkboxes and “show all” behavior.
|
|
@@ -241,7 +253,9 @@ export declare const components: {
|
|
|
241
253
|
labels: any;
|
|
242
254
|
ids: string[];
|
|
243
255
|
scope: string[] | undefined;
|
|
244
|
-
|
|
256
|
+
readOnly?: boolean;
|
|
257
|
+
AdditionalCheckbox?: import('react').ReactElement;
|
|
258
|
+
onChange: (selectedOptions: import('../models/select/EntitySelectOption').default[]) => void;
|
|
245
259
|
}>;
|
|
246
260
|
/**
|
|
247
261
|
* Select with avatar/icon and clear button, suitable for selecting an entity (competition, etc.).
|
|
@@ -502,6 +516,50 @@ export declare const components: {
|
|
|
502
516
|
}>;
|
|
503
517
|
}[]) => void;
|
|
504
518
|
}>;
|
|
519
|
+
/**
|
|
520
|
+
* Modal for generating AI-powered content (quizzes or polls) based on football post-match data.
|
|
521
|
+
* Provides a two-step workflow: match search/filtering and content preview/generation.
|
|
522
|
+
*
|
|
523
|
+
* The main content area for the GenerateFootballPostMatchModal displays either match search results
|
|
524
|
+
* or generated content preview based on the current step. Handles match selection, pagination,
|
|
525
|
+
* and content generation/regeneration.
|
|
526
|
+
*/
|
|
527
|
+
readonly GenerateFootballPostMatchModal: import('react').FC<{
|
|
528
|
+
entityType: import('../models/related/RelatedEntityRelationship').EntityType;
|
|
529
|
+
isOpen: boolean;
|
|
530
|
+
toggleModal: () => void;
|
|
531
|
+
defaultLanguage: string | null;
|
|
532
|
+
competitionsScope: string[];
|
|
533
|
+
labels: {
|
|
534
|
+
generateFootballPostMatchModalTitle: string;
|
|
535
|
+
generateFormulaOnePostEventModalTitle?: string;
|
|
536
|
+
close: string;
|
|
537
|
+
fromDate: string;
|
|
538
|
+
toDate: string;
|
|
539
|
+
teamsSelectionPlaceholder?: string;
|
|
540
|
+
searchTeamsErrorMessage: string;
|
|
541
|
+
language: string;
|
|
542
|
+
targetLanguageDescription: string;
|
|
543
|
+
searchMatch: string;
|
|
544
|
+
preview: string;
|
|
545
|
+
create: string;
|
|
546
|
+
useFramingGuidelinesLabel?: string;
|
|
547
|
+
onEntityGenerateErrorMessage: string;
|
|
548
|
+
onEntityCreateMessage: string;
|
|
549
|
+
onEntityCreateErrorMessage: string;
|
|
550
|
+
noPreviewAvailable: string;
|
|
551
|
+
questions?: string;
|
|
552
|
+
engagementScore?: string;
|
|
553
|
+
category?: string;
|
|
554
|
+
expand: string;
|
|
555
|
+
noMatchesFound: string;
|
|
556
|
+
page: string;
|
|
557
|
+
of: string;
|
|
558
|
+
total: string;
|
|
559
|
+
generate: string;
|
|
560
|
+
regenerate: string;
|
|
561
|
+
};
|
|
562
|
+
}>;
|
|
505
563
|
};
|
|
506
564
|
export type ComponentsMap = typeof components;
|
|
507
565
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;;0CApD8B,CAAC;;;;;;;IAsDlC;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;kBArEwF,CAAC;qBAC/E,CAAC;iBAAiB,CAAA;;;;IAsE/B;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;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key: string;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
en: {
|
|
19
|
+
key: string;
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
el: {
|
|
23
|
+
key: string;
|
|
24
|
+
name: string;
|
|
25
|
+
};
|
|
26
|
+
es: {
|
|
27
|
+
key: string;
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
fr: {
|
|
31
|
+
key: string;
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
hi: {
|
|
35
|
+
key: string;
|
|
36
|
+
name: string;
|
|
37
|
+
};
|
|
38
|
+
hu: {
|
|
39
|
+
key: string;
|
|
40
|
+
name: string;
|
|
41
|
+
};
|
|
42
|
+
it: {
|
|
43
|
+
key: string;
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
nl: {
|
|
47
|
+
key: string;
|
|
48
|
+
name: string;
|
|
49
|
+
};
|
|
50
|
+
pt: {
|
|
51
|
+
key: string;
|
|
52
|
+
name: string;
|
|
53
|
+
};
|
|
54
|
+
'pt-br': {
|
|
55
|
+
key: string;
|
|
56
|
+
name: string;
|
|
57
|
+
};
|
|
58
|
+
ro: {
|
|
59
|
+
key: string;
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
62
|
+
sk: {
|
|
63
|
+
key: string;
|
|
64
|
+
name: string;
|
|
65
|
+
};
|
|
66
|
+
sr: {
|
|
67
|
+
key: string;
|
|
68
|
+
name: string;
|
|
69
|
+
};
|
|
70
|
+
sv: {
|
|
71
|
+
key: string;
|
|
72
|
+
name: string;
|
|
73
|
+
};
|
|
74
|
+
sw: {
|
|
75
|
+
key: string;
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const languagesMap: Record<string, {
|
|
80
|
+
key: string;
|
|
81
|
+
name: string;
|
|
82
|
+
}>;
|
|
83
|
+
//# sourceMappingURL=languages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../../src/constants/languages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAsCtE,CAAC"}
|
|
@@ -33,10 +33,16 @@ declare const ComponentContext: React.Context<{
|
|
|
33
33
|
createLabel: string;
|
|
34
34
|
createFromTemplateLabel?: string;
|
|
35
35
|
signOutLabel: string;
|
|
36
|
-
|
|
36
|
+
entityType: import('../models/related/RelatedEntityRelationship').EntityType;
|
|
37
|
+
generateLabels?: {
|
|
38
|
+
generateAIEntityLabel: string;
|
|
39
|
+
generateFootballPostMatchLabel: string;
|
|
40
|
+
generateFormula1PostEventLabel?: string;
|
|
41
|
+
};
|
|
37
42
|
environment: string;
|
|
38
43
|
onClickCreate: () => void;
|
|
39
44
|
onClickCreateFromTemplate?: () => void;
|
|
45
|
+
onClickGenerate?: (generateId: import('../types/types').AIGenerateIdType) => void;
|
|
40
46
|
}>;
|
|
41
47
|
readonly MarketSelection: React.FC<{
|
|
42
48
|
labels: any;
|
|
@@ -169,7 +175,9 @@ declare const ComponentContext: React.Context<{
|
|
|
169
175
|
labels: any;
|
|
170
176
|
ids: string[];
|
|
171
177
|
scope: string[] | undefined;
|
|
172
|
-
|
|
178
|
+
readOnly?: boolean;
|
|
179
|
+
AdditionalCheckbox?: React.ReactElement;
|
|
180
|
+
onChange: (selectedOptions: import('../models/select/EntitySelectOption').default[]) => void;
|
|
173
181
|
}>;
|
|
174
182
|
readonly CustomSelect: React.FC<{
|
|
175
183
|
label: string;
|
|
@@ -353,6 +361,42 @@ declare const ComponentContext: React.Context<{
|
|
|
353
361
|
}>;
|
|
354
362
|
}[]) => void;
|
|
355
363
|
}>;
|
|
364
|
+
readonly GenerateFootballPostMatchModal: React.FC<{
|
|
365
|
+
entityType: import('../models/related/RelatedEntityRelationship').EntityType;
|
|
366
|
+
isOpen: boolean;
|
|
367
|
+
toggleModal: () => void;
|
|
368
|
+
defaultLanguage: string | null;
|
|
369
|
+
competitionsScope: string[];
|
|
370
|
+
labels: {
|
|
371
|
+
generateFootballPostMatchModalTitle: string;
|
|
372
|
+
generateFormulaOnePostEventModalTitle?: string;
|
|
373
|
+
close: string;
|
|
374
|
+
fromDate: string;
|
|
375
|
+
toDate: string;
|
|
376
|
+
teamsSelectionPlaceholder?: string;
|
|
377
|
+
searchTeamsErrorMessage: string;
|
|
378
|
+
language: string;
|
|
379
|
+
targetLanguageDescription: string;
|
|
380
|
+
searchMatch: string;
|
|
381
|
+
preview: string;
|
|
382
|
+
create: string;
|
|
383
|
+
useFramingGuidelinesLabel?: string;
|
|
384
|
+
onEntityGenerateErrorMessage: string;
|
|
385
|
+
onEntityCreateMessage: string;
|
|
386
|
+
onEntityCreateErrorMessage: string;
|
|
387
|
+
noPreviewAvailable: string;
|
|
388
|
+
questions?: string;
|
|
389
|
+
engagementScore?: string;
|
|
390
|
+
category?: string;
|
|
391
|
+
expand: string;
|
|
392
|
+
noMatchesFound: string;
|
|
393
|
+
page: string;
|
|
394
|
+
of: string;
|
|
395
|
+
total: string;
|
|
396
|
+
generate: string;
|
|
397
|
+
regenerate: string;
|
|
398
|
+
};
|
|
399
|
+
}>;
|
|
356
400
|
} | null>;
|
|
357
401
|
/**
|
|
358
402
|
* Provider that exposes the components registry to descendants with preserved types.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3E,KAAK,sBAAsB,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0 +1,23 @@
|
|
|
1
|
+
import { default as MatchBasicModel } from 'fansunited-sdk-esm/Core/Namespaces/Football/Models/Match/MatchBasicModel';
|
|
2
|
+
import { FootballPaginationModel, MatchFilters } from 'fansunited-sdk-esm';
|
|
3
|
+
|
|
4
|
+
export type PaginationMeta = FootballPaginationModel['meta']['pagination'] | null;
|
|
5
|
+
export type UseMatchesResult = {
|
|
6
|
+
matches: MatchBasicModel[] | null;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: unknown;
|
|
9
|
+
meta: PaginationMeta;
|
|
10
|
+
refetch: () => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export type UseMatchesOptions = {
|
|
13
|
+
/** When false, the hook will not fetch on mount or on filter change. */
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Fetch football matches using Fans United SDK based on the provided filters.
|
|
18
|
+
*
|
|
19
|
+
* Example:
|
|
20
|
+
* const { matches, loading, error, meta, refetch } = useMatches({ fromDate, toDate, teamIds, page: 1, limit: 20 });
|
|
21
|
+
*/
|
|
22
|
+
export declare const useMatches: (filters: MatchFilters, options?: UseMatchesOptions) => UseMatchesResult;
|
|
23
|
+
//# sourceMappingURL=useMatches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMatches.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMatches.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,0EAA0E,CAAC;AACvG,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAG3E,MAAM,MAAM,cAAc,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;AAElF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC/B,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,YAAa,YAAY,YAAW,iBAAiB,KAAQ,gBAiCnF,CAAC"}
|
package/src/index.d.ts
CHANGED
|
@@ -47,6 +47,90 @@ declare const _default: {
|
|
|
47
47
|
isMobile: boolean;
|
|
48
48
|
isPhone: boolean;
|
|
49
49
|
};
|
|
50
|
+
constants: {
|
|
51
|
+
supportedLanguages: {
|
|
52
|
+
ar: {
|
|
53
|
+
key: string;
|
|
54
|
+
name: string;
|
|
55
|
+
};
|
|
56
|
+
bg: {
|
|
57
|
+
key: string;
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
60
|
+
da: {
|
|
61
|
+
key: string;
|
|
62
|
+
name: string;
|
|
63
|
+
};
|
|
64
|
+
de: {
|
|
65
|
+
key: string;
|
|
66
|
+
name: string;
|
|
67
|
+
};
|
|
68
|
+
en: {
|
|
69
|
+
key: string;
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
el: {
|
|
73
|
+
key: string;
|
|
74
|
+
name: string;
|
|
75
|
+
};
|
|
76
|
+
es: {
|
|
77
|
+
key: string;
|
|
78
|
+
name: string;
|
|
79
|
+
};
|
|
80
|
+
fr: {
|
|
81
|
+
key: string;
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
84
|
+
hi: {
|
|
85
|
+
key: string;
|
|
86
|
+
name: string;
|
|
87
|
+
};
|
|
88
|
+
hu: {
|
|
89
|
+
key: string;
|
|
90
|
+
name: string;
|
|
91
|
+
};
|
|
92
|
+
it: {
|
|
93
|
+
key: string;
|
|
94
|
+
name: string;
|
|
95
|
+
};
|
|
96
|
+
nl: {
|
|
97
|
+
key: string;
|
|
98
|
+
name: string;
|
|
99
|
+
};
|
|
100
|
+
pt: {
|
|
101
|
+
key: string;
|
|
102
|
+
name: string;
|
|
103
|
+
};
|
|
104
|
+
'pt-br': {
|
|
105
|
+
key: string;
|
|
106
|
+
name: string;
|
|
107
|
+
};
|
|
108
|
+
ro: {
|
|
109
|
+
key: string;
|
|
110
|
+
name: string;
|
|
111
|
+
};
|
|
112
|
+
sk: {
|
|
113
|
+
key: string;
|
|
114
|
+
name: string;
|
|
115
|
+
};
|
|
116
|
+
sr: {
|
|
117
|
+
key: string;
|
|
118
|
+
name: string;
|
|
119
|
+
};
|
|
120
|
+
sv: {
|
|
121
|
+
key: string;
|
|
122
|
+
name: string;
|
|
123
|
+
};
|
|
124
|
+
sw: {
|
|
125
|
+
key: string;
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
languagesMap: Record<string, {
|
|
130
|
+
key: string;
|
|
131
|
+
name: string;
|
|
132
|
+
}>;
|
|
133
|
+
};
|
|
50
134
|
};
|
|
51
135
|
export default _default;
|
|
52
136
|
//# sourceMappingURL=index.d.ts.map
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";IAaC;;;OAGG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5BJ,wBA+BE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AiPostMatchPollParams.d.ts","sourceRoot":"","sources":["../../../../src/models/ai/AiPostMatchPollParams.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,qBAAqB;IAClC,OAAO,EAAE,MAAM,CAAM;IACrB,IAAI,EAAE,MAAM,CAAM;IAClB,iBAAiB,EAAE,MAAM,CAAM;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AiPostMatchQuizParams.d.ts","sourceRoot":"","sources":["../../../../src/models/ai/AiPostMatchQuizParams.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAM;IACvB,OAAO,EAAE,MAAM,CAAM;IACrB,IAAI,EAAE,MAAM,CAAM;CACzB"}
|