fansunited-management-components 1.50.8 → 1.50.10
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 +1 -0
- package/dev/App.d.ts.map +1 -0
- package/dev/main.d.ts +1 -0
- package/dev/main.d.ts.map +1 -0
- package/index.es.js +22 -49
- package/index.umd.js +154 -154
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.d.ts +1 -0
- package/src/components/Accordion/Accordion.d.ts.map +1 -0
- package/src/components/Accordion/AccordionCard.d.ts +1 -0
- package/src/components/Accordion/AccordionCard.d.ts.map +1 -0
- package/src/components/AdContent/AdContent.d.ts +1 -0
- package/src/components/AdContent/AdContent.d.ts.map +1 -0
- package/src/components/AuthRequirement/AuthRequirement.d.ts +1 -0
- package/src/components/AuthRequirement/AuthRequirement.d.ts.map +1 -0
- package/src/components/Branding/Branding.d.ts +1 -0
- package/src/components/Branding/Branding.d.ts.map +1 -0
- package/src/components/Branding/BrandingImage.d.ts +1 -0
- package/src/components/Branding/BrandingImage.d.ts.map +1 -0
- package/src/components/Buttons/HeaderButtons.d.ts +1 -0
- package/src/components/Buttons/HeaderButtons.d.ts.map +1 -0
- package/src/components/Buttons/SignoutButtton.d.ts +1 -0
- package/src/components/Buttons/SignoutButtton.d.ts.map +1 -0
- package/src/components/Calendars/CustomFlatpickrCalendar.d.ts +1 -0
- package/src/components/Calendars/CustomFlatpickrCalendar.d.ts.map +1 -0
- package/src/components/Calendars/DatePicker.d.ts +1 -0
- package/src/components/Calendars/DatePicker.d.ts.map +1 -0
- package/src/components/Calendars/Duration.d.ts +1 -0
- package/src/components/Calendars/Duration.d.ts.map +1 -0
- package/src/components/Calendars/MuiXDatePicker.d.ts +1 -0
- package/src/components/Calendars/MuiXDatePicker.d.ts.map +1 -0
- package/src/components/Calendars/RangeCalendar.d.ts +1 -0
- package/src/components/Calendars/RangeCalendar.d.ts.map +1 -0
- package/src/components/Cards/NoPermissionCard.d.ts +1 -0
- package/src/components/Cards/NoPermissionCard.d.ts.map +1 -0
- package/src/components/Checkboxes/Checkboxes.d.ts +1 -0
- package/src/components/Checkboxes/Checkboxes.d.ts.map +1 -0
- package/src/components/Common/Toast.d.ts +1 -0
- package/src/components/Common/Toast.d.ts.map +1 -0
- package/src/components/Context/EntityContext.d.ts +1 -0
- package/src/components/Context/EntityContext.d.ts.map +1 -0
- package/src/components/Context/Tags.d.ts +1 -0
- package/src/components/Context/Tags.d.ts.map +1 -0
- package/src/components/DragAndDrop/BasicSortableList/BasicSortableList.d.ts +2 -1
- package/src/components/DragAndDrop/BasicSortableList/BasicSortableList.d.ts.map +1 -0
- package/src/components/DragAndDrop/BasicSortableList/DragHandle.d.ts +1 -0
- package/src/components/DragAndDrop/BasicSortableList/DragHandle.d.ts.map +1 -0
- package/src/components/DragAndDrop/BasicSortableList/SortableItem.d.ts +1 -0
- package/src/components/DragAndDrop/BasicSortableList/SortableItem.d.ts.map +1 -0
- package/src/components/DragAndDrop/SortableList/DragHandle.d.ts +1 -0
- package/src/components/DragAndDrop/SortableList/DragHandle.d.ts.map +1 -0
- package/src/components/DragAndDrop/SortableList/SortableItem.d.ts +1 -0
- package/src/components/DragAndDrop/SortableList/SortableItem.d.ts.map +1 -0
- package/src/components/DragAndDrop/SortableList/SortableList.d.ts +1 -0
- package/src/components/DragAndDrop/SortableList/SortableList.d.ts.map +1 -0
- package/src/components/DragAndDrop/SortableList/SortableOverlay.d.ts +1 -0
- package/src/components/DragAndDrop/SortableList/SortableOverlay.d.ts.map +1 -0
- package/src/components/DynamicFields/DynamicFields.d.ts +1 -0
- package/src/components/DynamicFields/DynamicFields.d.ts.map +1 -0
- package/src/components/Exports/ExportUsersLeads.d.ts +1 -0
- package/src/components/Exports/ExportUsersLeads.d.ts.map +1 -0
- package/src/components/Flags/Flags.d.ts +1 -0
- package/src/components/Flags/Flags.d.ts.map +1 -0
- package/src/components/FloatingLabelInput/FloatingLabelInput.d.ts +1 -0
- package/src/components/FloatingLabelInput/FloatingLabelInput.d.ts.map +1 -0
- package/src/components/Images/ImageCard.d.ts +1 -0
- package/src/components/Images/ImageCard.d.ts.map +1 -0
- package/src/components/Images/Images.d.ts +1 -0
- package/src/components/Images/Images.d.ts.map +1 -0
- package/src/components/Images/MiniGamesImages.d.ts +1 -0
- package/src/components/Images/MiniGamesImages.d.ts.map +1 -0
- package/src/components/Inputs/InformationInput/InformationInput.d.ts +1 -0
- package/src/components/Inputs/InformationInput/InformationInput.d.ts.map +1 -0
- package/src/components/Inputs/NumberInput/NumberInput.d.ts +1 -0
- package/src/components/Inputs/NumberInput/NumberInput.d.ts.map +1 -0
- package/src/components/ItemsPerPageFilter/ItemsPerPageFilter.d.ts +1 -0
- package/src/components/ItemsPerPageFilter/ItemsPerPageFilter.d.ts.map +1 -0
- package/src/components/Login/Login.d.ts +1 -0
- package/src/components/Login/Login.d.ts.map +1 -0
- package/src/components/MainColumn/MainColumn.d.ts +1 -0
- package/src/components/MainColumn/MainColumn.d.ts.map +1 -0
- package/src/components/MarketSelection/MarketSelection.d.ts +1 -0
- package/src/components/MarketSelection/MarketSelection.d.ts.map +1 -0
- package/src/components/Match/Match.d.ts +1 -0
- package/src/components/Match/Match.d.ts.map +1 -0
- package/src/components/Modals/CropImageModal.d.ts +1 -0
- package/src/components/Modals/CropImageModal.d.ts.map +1 -0
- package/src/components/Modals/PreviewImageModal.d.ts +1 -0
- package/src/components/Modals/PreviewImageModal.d.ts.map +1 -0
- package/src/components/Related/Related.d.ts +1 -0
- package/src/components/Related/Related.d.ts.map +1 -0
- package/src/components/Related/RelatedGames.d.ts +1 -0
- package/src/components/Related/RelatedGames.d.ts.map +1 -0
- package/src/components/Related/RelatedRelationship/EntityIcon.d.ts +1 -0
- package/src/components/Related/RelatedRelationship/EntityIcon.d.ts.map +1 -0
- package/src/components/Related/RelatedRelationship/EntityStatus.d.ts +1 -0
- package/src/components/Related/RelatedRelationship/EntityStatus.d.ts.map +1 -0
- package/src/components/Related/RelatedRelationship/RelatedEntityCard.d.ts +1 -0
- package/src/components/Related/RelatedRelationship/RelatedEntityCard.d.ts.map +1 -0
- package/src/components/Related/RelatedRelationship/RelatedRelationship.d.ts +1 -0
- package/src/components/Related/RelatedRelationship/RelatedRelationship.d.ts.map +1 -0
- package/src/components/Related/RelatedTemplates.d.ts +1 -0
- package/src/components/Related/RelatedTemplates.d.ts.map +1 -0
- package/src/components/RichText/RichText.d.ts +1 -0
- package/src/components/RichText/RichText.d.ts.map +1 -0
- package/src/components/Schedule/DeleteScheduledTaskModal.d.ts +1 -0
- package/src/components/Schedule/DeleteScheduledTaskModal.d.ts.map +1 -0
- package/src/components/Schedule/Schedule.d.ts +1 -0
- package/src/components/Schedule/Schedule.d.ts.map +1 -0
- package/src/components/Schedule/ScheduleStatus.d.ts +1 -0
- package/src/components/Schedule/ScheduleStatus.d.ts.map +1 -0
- package/src/components/Select/BasicSelect/BasicSelect.d.ts +1 -0
- package/src/components/Select/BasicSelect/BasicSelect.d.ts.map +1 -0
- package/src/components/Select/CustomSelect.d.ts +1 -0
- package/src/components/Select/CustomSelect.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/AdvancedProfileSearchSelect.d.ts +1 -0
- package/src/components/Select/SearchSelect/AdvancedProfileSearchSelect.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/CompetitionSearchSelect.d.ts +1 -0
- package/src/components/Select/SearchSelect/CompetitionSearchSelect.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/CompetitionsSearchSelect.d.ts +1 -0
- package/src/components/Select/SearchSelect/CompetitionsSearchSelect.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/ContextSelectFilter.d.ts +1 -0
- package/src/components/Select/SearchSelect/ContextSelectFilter.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/ProfileSearchSelect.d.ts +1 -0
- package/src/components/Select/SearchSelect/ProfileSearchSelect.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/SelectOption.d.ts +1 -0
- package/src/components/Select/SearchSelect/SelectOption.d.ts.map +1 -0
- package/src/components/Select/SearchSelect/TeamsSearchSelect.d.ts +1 -0
- package/src/components/Select/SearchSelect/TeamsSearchSelect.d.ts.map +1 -0
- package/src/components/Skeletons/ManagementPortalSkeleton.d.ts +1 -0
- package/src/components/Skeletons/ManagementPortalSkeleton.d.ts.map +1 -0
- package/src/components/Spinner/Spinner.d.ts +1 -0
- package/src/components/Spinner/Spinner.d.ts.map +1 -0
- package/src/components/Sportal365SearchImages/ImageGrid.d.ts +1 -0
- package/src/components/Sportal365SearchImages/ImageGrid.d.ts.map +1 -0
- package/src/components/Sportal365SearchImages/Sportal365ImagesPagination.d.ts +1 -0
- package/src/components/Sportal365SearchImages/Sportal365ImagesPagination.d.ts.map +1 -0
- package/src/components/Sportal365SearchImages/Sportal365SearchImagesCard.d.ts +1 -0
- package/src/components/Sportal365SearchImages/Sportal365SearchImagesCard.d.ts.map +1 -0
- package/src/components/Switch/BooleanSwitch.d.ts +1 -0
- package/src/components/Switch/BooleanSwitch.d.ts.map +1 -0
- package/src/components/Utils/FormatNumber.d.ts +3 -2
- package/src/components/Utils/FormatNumber.d.ts.map +1 -0
- package/src/components/Utils/VisuallyHiddenInput.d.ts +1 -0
- package/src/components/Utils/VisuallyHiddenInput.d.ts.map +1 -0
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts +1 -0
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts.map +1 -0
- package/src/components/WidgetListEmbedCode/WidgetListEmbedCode.d.ts +1 -0
- package/src/components/WidgetListEmbedCode/WidgetListEmbedCode.d.ts.map +1 -0
- package/src/components/Winners/Preview/PreviewWinners.d.ts +1 -0
- package/src/components/Winners/Preview/PreviewWinners.d.ts.map +1 -0
- package/src/components/Winners/Tags/Tags.d.ts +1 -0
- package/src/components/Winners/Tags/Tags.d.ts.map +1 -0
- package/src/components/Winners/WinnerForm.d.ts +1 -0
- package/src/components/Winners/WinnerForm.d.ts.map +1 -0
- package/src/components/Winners/Winners.d.ts +1 -0
- package/src/components/Winners/Winners.d.ts.map +1 -0
- package/src/components/Winners/WinnersConfig.d.ts +1 -0
- package/src/components/Winners/WinnersConfig.d.ts.map +1 -0
- package/src/components/Winners/WinnersLayout.d.ts +1 -0
- package/src/components/Winners/WinnersLayout.d.ts.map +1 -0
- package/src/constants/components.d.ts +707 -0
- package/src/constants/components.d.ts.map +1 -0
- package/src/constants/placeholders.d.ts +1 -0
- package/src/constants/placeholders.d.ts.map +1 -0
- package/src/context/ApiContext.d.ts +1 -0
- package/src/context/ApiContext.d.ts.map +1 -0
- package/src/context/AuthContext.d.ts +1 -0
- package/src/context/AuthContext.d.ts.map +1 -0
- package/src/context/ComponentContext.d.ts +26 -0
- package/src/context/ComponentContext.d.ts.map +1 -0
- package/src/context/SortableItemContext.d.ts +1 -0
- package/src/context/SortableItemContext.d.ts.map +1 -0
- package/src/firebase/firebase.d.ts +1 -0
- package/src/firebase/firebase.d.ts.map +1 -0
- package/src/functions/helpers.d.ts +1 -0
- package/src/functions/helpers.d.ts.map +1 -0
- package/src/hooks/useAPIContext.d.ts +1 -0
- package/src/hooks/useAPIContext.d.ts.map +1 -0
- package/src/hooks/useComponentContext.d.ts +18 -2
- package/src/hooks/useComponentContext.d.ts.map +1 -0
- package/src/hooks/useIsMobile.d.ts +1 -0
- package/src/hooks/useIsMobile.d.ts.map +1 -0
- package/src/hooks/useLeaderboard.d.ts +1 -0
- package/src/hooks/useLeaderboard.d.ts.map +1 -0
- package/src/hooks/useRelatedEntities.d.ts +1 -0
- package/src/hooks/useRelatedEntities.d.ts.map +1 -0
- package/src/hooks/useScheduledTasks.d.ts +1 -0
- package/src/hooks/useScheduledTasks.d.ts.map +1 -0
- package/src/hooks/useWinners.d.ts +1 -0
- package/src/hooks/useWinners.d.ts.map +1 -0
- package/src/index.d.ts +9 -47
- package/src/index.d.ts.map +1 -0
- package/src/interfaces/interfaces.d.ts +1 -0
- package/src/interfaces/interfaces.d.ts.map +1 -0
- package/src/models/IBranding.d.ts +1 -0
- package/src/models/IBranding.d.ts.map +1 -0
- package/src/models/ManagementWidgetConfiguration.d.ts +1 -0
- package/src/models/ManagementWidgetConfiguration.d.ts.map +1 -0
- package/src/models/SignedInUrlRequestBody.d.ts +1 -0
- package/src/models/SignedInUrlRequestBody.d.ts.map +1 -0
- package/src/models/Winners/WinnersRequestBody.d.ts +1 -0
- package/src/models/Winners/WinnersRequestBody.d.ts.map +1 -0
- package/src/models/Winners/WinnersUserList.d.ts +1 -0
- package/src/models/Winners/WinnersUserList.d.ts.map +1 -0
- package/src/models/config/LanguageRequestBody.d.ts +1 -0
- package/src/models/config/LanguageRequestBody.d.ts.map +1 -0
- package/src/models/context/CampaignModel.d.ts +1 -0
- package/src/models/context/CampaignModel.d.ts.map +1 -0
- package/src/models/context/ContentModel.d.ts +1 -0
- package/src/models/context/ContentModel.d.ts.map +1 -0
- package/src/models/discussions/DiscussionRequestBody.d.ts +1 -0
- package/src/models/discussions/DiscussionRequestBody.d.ts.map +1 -0
- package/src/models/games/GameRequestBody.d.ts +1 -0
- package/src/models/games/GameRequestBody.d.ts.map +1 -0
- package/src/models/games/bracket/BracketGameRequestBody.d.ts +1 -0
- package/src/models/games/bracket/BracketGameRequestBody.d.ts.map +1 -0
- package/src/models/games/standing/StandingGameRequestBody.d.ts +1 -0
- package/src/models/games/standing/StandingGameRequestBody.d.ts.map +1 -0
- package/src/models/images/Images.d.ts +1 -0
- package/src/models/images/Images.d.ts.map +1 -0
- package/src/models/images/MiniGamesImages.d.ts +1 -0
- package/src/models/images/MiniGamesImages.d.ts.map +1 -0
- package/src/models/lists/ListRequestBody.d.ts +1 -0
- package/src/models/lists/ListRequestBody.d.ts.map +1 -0
- package/src/models/minigames/classicquizzes/ClassicQuizRequestBody.d.ts +1 -0
- package/src/models/minigames/classicquizzes/ClassicQuizRequestBody.d.ts.map +1 -0
- package/src/models/minigames/eitherors/EitherOrRequestBody.d.ts +1 -0
- package/src/models/minigames/eitherors/EitherOrRequestBody.d.ts.map +1 -0
- package/src/models/related/RelatedEntity.d.ts +1 -0
- package/src/models/related/RelatedEntity.d.ts.map +1 -0
- package/src/models/related/RelatedEntityRelationship.d.ts +1 -0
- package/src/models/related/RelatedEntityRelationship.d.ts.map +1 -0
- package/src/models/scheduler/ScheduledTask.d.ts +1 -0
- package/src/models/scheduler/ScheduledTask.d.ts.map +1 -0
- package/src/models/scheduler/SchedulerTaskRequestBody.d.ts +1 -0
- package/src/models/scheduler/SchedulerTaskRequestBody.d.ts.map +1 -0
- package/src/models/select/EntitySelectOption.d.ts +1 -0
- package/src/models/select/EntitySelectOption.d.ts.map +1 -0
- package/src/models/select/GroupSelectOption.d.ts +1 -0
- package/src/models/select/GroupSelectOption.d.ts.map +1 -0
- package/src/models/select/ProfileSelectOption.d.ts +1 -0
- package/src/models/select/ProfileSelectOption.d.ts.map +1 -0
- package/src/models/select/ReactSelectBaseOption.d.ts +1 -0
- package/src/models/select/ReactSelectBaseOption.d.ts.map +1 -0
- package/src/models/sportal365/Sportal365Config.d.ts +1 -0
- package/src/models/sportal365/Sportal365Config.d.ts.map +1 -0
- package/src/models/sportal365/Sportal365SearchImagesFilters.d.ts +1 -0
- package/src/models/sportal365/Sportal365SearchImagesFilters.d.ts.map +1 -0
- package/src/models/templates/TemplateRequestBody.d.ts +1 -0
- package/src/models/templates/TemplateRequestBody.d.ts.map +1 -0
- package/src/models/voting/PollRequestBody.d.ts +1 -0
- package/src/models/voting/PollRequestBody.d.ts.map +1 -0
- package/src/services/hash/HashService.d.ts +1 -0
- package/src/services/hash/HashService.d.ts.map +1 -0
- package/src/services/https/Https.d.ts +1 -0
- package/src/services/https/Https.d.ts.map +1 -0
- package/src/services/https/HttpsService.d.ts +1 -0
- package/src/services/https/HttpsService.d.ts.map +1 -0
- package/src/types/types.d.ts +1 -0
- package/src/types/types.d.ts.map +1 -0
- package/src/validators/WinnerValidator.d.ts +1 -0
- package/src/validators/WinnerValidator.d.ts.map +1 -0
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
import { default as Accordion } from '../components/Accordion/Accordion';
|
|
2
|
+
import { default as AdContent } from '../components/AdContent/AdContent';
|
|
3
|
+
import { default as BasicSelect } from '../components/Select/BasicSelect/BasicSelect';
|
|
4
|
+
import { default as Branding } from '../components/Branding/Branding';
|
|
5
|
+
import { default as HeaderButtons } from '../components/Buttons/HeaderButtons';
|
|
6
|
+
import { default as CustomFlatpickrCalendar } from '../components/Calendars/CustomFlatpickrCalendar';
|
|
7
|
+
import { default as DatePickerComponent } from '../components/Calendars/DatePicker';
|
|
8
|
+
import { default as Duration } from '../components/Calendars/Duration';
|
|
9
|
+
import { default as RangeCalendar } from '../components/Calendars/RangeCalendar';
|
|
10
|
+
import { default as NoPermissionCard } from '../components/Cards/NoPermissionCard';
|
|
11
|
+
import { default as Toast } from '../components/Common/Toast';
|
|
12
|
+
import { default as DynamicFields } from '../components/DynamicFields/DynamicFields';
|
|
13
|
+
import { default as Flags } from '../components/Flags/Flags';
|
|
14
|
+
import { default as Images } from '../components/Images/Images';
|
|
15
|
+
import { default as InformationInput } from '../components/Inputs/InformationInput/InformationInput';
|
|
16
|
+
import { default as Login } from '../components/Login/Login';
|
|
17
|
+
import { default as MarketSelection } from '../components/MarketSelection/MarketSelection';
|
|
18
|
+
import { default as Match } from '../components/Match/Match';
|
|
19
|
+
import { default as Related } from '../components/Related/Related';
|
|
20
|
+
import { default as RichText } from '../components/RichText/RichText';
|
|
21
|
+
import { default as Schedule } from '../components/Schedule/Schedule';
|
|
22
|
+
import { default as CustomSelect } from '../components/Select/CustomSelect';
|
|
23
|
+
import { default as CompetitionSearchSelect } from '../components/Select/SearchSelect/CompetitionSearchSelect';
|
|
24
|
+
import { default as CompetitionsSearchSelect } from '../components/Select/SearchSelect/CompetitionsSearchSelect';
|
|
25
|
+
import { default as ProfileSearchSelect } from '../components/Select/SearchSelect/ProfileSearchSelect';
|
|
26
|
+
import { default as TeamsSearchSelect } from '../components/Select/SearchSelect/TeamsSearchSelect';
|
|
27
|
+
import { default as Spinner } from '../components/Spinner/Spinner';
|
|
28
|
+
import { default as BooleanSwitch } from '../components/Switch/BooleanSwitch';
|
|
29
|
+
import { default as Tags } from '../components/Winners/Tags/Tags';
|
|
30
|
+
import { default as Winners } from '../components/Winners/Winners';
|
|
31
|
+
import { default as ContextSelectFilter } from '../components/Select/SearchSelect/ContextSelectFilter';
|
|
32
|
+
import { default as NumberInput } from '../components/Inputs/NumberInput/NumberInput';
|
|
33
|
+
import { default as EntityContext } from '../components/Context/EntityContext';
|
|
34
|
+
import { default as MiniGamesImages } from '../components/Images/MiniGamesImages';
|
|
35
|
+
import { default as AuthRequirement } from '../components/AuthRequirement/AuthRequirement';
|
|
36
|
+
import { default as SortableList } from '../components/DragAndDrop/SortableList/SortableList';
|
|
37
|
+
import { default as ItemsPerPageFilter } from '../components/ItemsPerPageFilter/ItemsPerPageFilter';
|
|
38
|
+
import { default as ImageCard } from '../components/Images/ImageCard';
|
|
39
|
+
import { default as RelatedRelationship } from '../components/Related/RelatedRelationship/RelatedRelationship';
|
|
40
|
+
import { default as ExportUsersLeads } from '../components/Exports/ExportUsersLeads';
|
|
41
|
+
import { default as SignOutButton } from '../components/Buttons/SignoutButtton';
|
|
42
|
+
import { default as BasicSortableList } from '../components/DragAndDrop/BasicSortableList/BasicSortableList';
|
|
43
|
+
import { default as WidgetEmbedCode } from '../components/WidgetEmbedCode/WidgetEmbedCode';
|
|
44
|
+
import { default as WidgetListEmbedCode } from '../components/WidgetListEmbedCode/WidgetListEmbedCode';
|
|
45
|
+
import { default as AdvancedProfileSearchSelect } from '../components/Select/SearchSelect/AdvancedProfileSearchSelect';
|
|
46
|
+
import { default as FormatNumber } from '../components/Utils/FormatNumber';
|
|
47
|
+
|
|
48
|
+
export declare const components: {
|
|
49
|
+
readonly Login: import('react').FC<{
|
|
50
|
+
userNotFound: string;
|
|
51
|
+
environment: string;
|
|
52
|
+
}>;
|
|
53
|
+
readonly InformationInput: import('react').FC<{
|
|
54
|
+
label: string;
|
|
55
|
+
placeholder: string;
|
|
56
|
+
value?: string;
|
|
57
|
+
defaultValue: string;
|
|
58
|
+
required: boolean;
|
|
59
|
+
size: "sm" | "md" | "lg";
|
|
60
|
+
readOnly?: boolean;
|
|
61
|
+
endDecorator?: import('react').ReactNode;
|
|
62
|
+
onChange: (event: import('react').ChangeEvent<HTMLInputElement>) => void;
|
|
63
|
+
}>;
|
|
64
|
+
readonly RichText: import('react').FC<{
|
|
65
|
+
label: string;
|
|
66
|
+
placeholder: string;
|
|
67
|
+
value?: string;
|
|
68
|
+
defaultValue: string;
|
|
69
|
+
property: "description" | "rules" | "ad_content" | "mini_games_explanation";
|
|
70
|
+
description?: string;
|
|
71
|
+
onChange: (value: string) => void;
|
|
72
|
+
}>;
|
|
73
|
+
readonly HeaderButtons: import('react').FC<{
|
|
74
|
+
createLabel: string;
|
|
75
|
+
createFromTemplateLabel?: string;
|
|
76
|
+
signOutLabel: string;
|
|
77
|
+
environment: string;
|
|
78
|
+
onClickCreate: () => void;
|
|
79
|
+
onClickCreateFromTemplate?: () => void;
|
|
80
|
+
}>;
|
|
81
|
+
readonly MarketSelection: import('react').FC<{
|
|
82
|
+
labels: any;
|
|
83
|
+
values: string[];
|
|
84
|
+
valuesMap: Record<string, string>;
|
|
85
|
+
onChange: (values: string[]) => void;
|
|
86
|
+
}>;
|
|
87
|
+
readonly Accordion: import('react').FC<{
|
|
88
|
+
label: string;
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
} & {
|
|
91
|
+
children?: import('react').ReactNode | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
readonly DynamicFields: import('react').FC<{
|
|
94
|
+
labels: any;
|
|
95
|
+
type: string;
|
|
96
|
+
defaultValue: Record<string, string> | null;
|
|
97
|
+
onChange: (value: Record<string, string>) => void;
|
|
98
|
+
}>;
|
|
99
|
+
readonly BasicSelect: import('react').FC<{
|
|
100
|
+
label: string;
|
|
101
|
+
defaultValue: string;
|
|
102
|
+
values: string[];
|
|
103
|
+
description: string;
|
|
104
|
+
onChange: (value: string) => void;
|
|
105
|
+
}>;
|
|
106
|
+
readonly BooleanSwitch: import('react').FC<{
|
|
107
|
+
label: string;
|
|
108
|
+
labelPosition?: "start" | "end";
|
|
109
|
+
defaultValue: boolean;
|
|
110
|
+
description: string;
|
|
111
|
+
descriptionColor: import('@mui/joy').ColorPaletteProp;
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
sx?: {
|
|
114
|
+
switch: import('@mui/material').SxProps;
|
|
115
|
+
container: import('@mui/material').SxProps;
|
|
116
|
+
};
|
|
117
|
+
onChange: (checked: boolean) => void;
|
|
118
|
+
}>;
|
|
119
|
+
readonly Branding: import('react').FC<{
|
|
120
|
+
labels: any;
|
|
121
|
+
defaultValue: Record<string, Record<string, string>> | null;
|
|
122
|
+
onChange: (value: any) => void;
|
|
123
|
+
}>;
|
|
124
|
+
readonly ProfileSearchSelect: import('react').FC<{
|
|
125
|
+
labels: any;
|
|
126
|
+
ids: string[];
|
|
127
|
+
onChange: (ids: string[] | null) => void;
|
|
128
|
+
}>;
|
|
129
|
+
readonly RangeCalendar: import('react').FC<{
|
|
130
|
+
label: string;
|
|
131
|
+
defaultValue: import('../models/sportal365/Sportal365SearchImagesFilters').default | null;
|
|
132
|
+
required: boolean;
|
|
133
|
+
onChange: (date: import('../models/sportal365/Sportal365SearchImagesFilters').default) => void;
|
|
134
|
+
}>;
|
|
135
|
+
readonly CompetitionSearchSelect: import('react').FC<{
|
|
136
|
+
labels: any;
|
|
137
|
+
label: string;
|
|
138
|
+
ids: string[];
|
|
139
|
+
required: boolean;
|
|
140
|
+
onChange: (ids: string[]) => void;
|
|
141
|
+
}>;
|
|
142
|
+
readonly Related: import('react').FC<{
|
|
143
|
+
labels: any;
|
|
144
|
+
related: import('../models/related/RelatedEntity').default[];
|
|
145
|
+
onChange: (related: import('../models/related/RelatedEntity').default[]) => void;
|
|
146
|
+
}>;
|
|
147
|
+
readonly Images: import('react').FC<{
|
|
148
|
+
labels: any;
|
|
149
|
+
defaultValue: import('../models/images/Images').default | null;
|
|
150
|
+
onChange: (value: any) => void;
|
|
151
|
+
}>;
|
|
152
|
+
readonly Duration: import('react').FC<{
|
|
153
|
+
labels: any;
|
|
154
|
+
required: boolean;
|
|
155
|
+
defaultValue: string[];
|
|
156
|
+
onChangeFromDate: (date: string) => void;
|
|
157
|
+
onChangeToDate: (date: string) => void;
|
|
158
|
+
}>;
|
|
159
|
+
readonly DatePickerComponent: import('react').FC<{
|
|
160
|
+
label: string;
|
|
161
|
+
defaultValue: string;
|
|
162
|
+
required: boolean;
|
|
163
|
+
onChange: (date: string) => void;
|
|
164
|
+
}>;
|
|
165
|
+
readonly Flags: import('react').FC<{
|
|
166
|
+
labels: any;
|
|
167
|
+
flags: string[];
|
|
168
|
+
onChange: (flags: string[]) => void;
|
|
169
|
+
sx?: import('@mui/material').SxProps;
|
|
170
|
+
}>;
|
|
171
|
+
readonly Spinner: import('react').FC<{
|
|
172
|
+
my: number;
|
|
173
|
+
}>;
|
|
174
|
+
readonly Tags: import('react').FC<{
|
|
175
|
+
labels: any;
|
|
176
|
+
tags: string[];
|
|
177
|
+
onChange: (tags: string[]) => void;
|
|
178
|
+
}>;
|
|
179
|
+
readonly Toast: import('react').FC<{
|
|
180
|
+
showToast: boolean;
|
|
181
|
+
message: string;
|
|
182
|
+
color: import('@mui/joy').ColorPaletteProp;
|
|
183
|
+
hideToast: () => void;
|
|
184
|
+
}>;
|
|
185
|
+
readonly AdContent: import('react').FC<{
|
|
186
|
+
labels: any;
|
|
187
|
+
defaultValue: string;
|
|
188
|
+
onChange: (value: string) => void;
|
|
189
|
+
}>;
|
|
190
|
+
readonly Match: import('react').FC<{
|
|
191
|
+
match: import('fansunited-sdk-esm').MatchBasicModel;
|
|
192
|
+
timeFormat: string;
|
|
193
|
+
}>;
|
|
194
|
+
readonly Winners: import('react').FC<{
|
|
195
|
+
entityId: string;
|
|
196
|
+
entityType: string;
|
|
197
|
+
entityName: string;
|
|
198
|
+
labels: any;
|
|
199
|
+
onClickBack: () => void;
|
|
200
|
+
}>;
|
|
201
|
+
readonly CompetitionsSearchSelect: import('react').FC<{
|
|
202
|
+
labels: any;
|
|
203
|
+
ids: string[];
|
|
204
|
+
scope?: string[];
|
|
205
|
+
onChange: (ids: string[] | null) => void;
|
|
206
|
+
}>;
|
|
207
|
+
readonly TeamsSearchSelect: import('react').FC<{
|
|
208
|
+
labels: any;
|
|
209
|
+
ids: string[];
|
|
210
|
+
scope: string[] | undefined;
|
|
211
|
+
onChange: (ids: string[] | null) => void;
|
|
212
|
+
}>;
|
|
213
|
+
readonly CustomSelect: import('react').FC<{
|
|
214
|
+
label: string;
|
|
215
|
+
defaultValue: string;
|
|
216
|
+
options: any[];
|
|
217
|
+
required: boolean;
|
|
218
|
+
onChange: (value: string) => void;
|
|
219
|
+
}>;
|
|
220
|
+
readonly Schedule: import('react').FC<{
|
|
221
|
+
labels: any;
|
|
222
|
+
entityId: string;
|
|
223
|
+
entityType: string;
|
|
224
|
+
readOnly?: boolean;
|
|
225
|
+
}>;
|
|
226
|
+
readonly NoPermissionCard: import('react').FC<{
|
|
227
|
+
labels: any;
|
|
228
|
+
environment: string;
|
|
229
|
+
setNoPermission: import('react').Dispatch<import('react').SetStateAction<boolean | null>>;
|
|
230
|
+
}>;
|
|
231
|
+
readonly CustomFlatpickrCalendar: import('react').FC<{
|
|
232
|
+
defaultDate: string;
|
|
233
|
+
minDate?: Date | undefined;
|
|
234
|
+
maxDate?: Date | undefined;
|
|
235
|
+
dateFormat?: string;
|
|
236
|
+
onChange: (date: string) => void;
|
|
237
|
+
}>;
|
|
238
|
+
readonly ContextSelectFilter: import('react').FC<{
|
|
239
|
+
labels: any;
|
|
240
|
+
options: import('../models/select/GroupSelectOption').default[];
|
|
241
|
+
setOptions: import('react').Dispatch<import('react').SetStateAction<import('react-select').MultiValue<import('../models/select/GroupSelectOption').default>>>;
|
|
242
|
+
setFilters: import('react').Dispatch<import('react').SetStateAction<any>>;
|
|
243
|
+
handleResetData: () => void;
|
|
244
|
+
}>;
|
|
245
|
+
readonly NumberInput: import('react').FC<{
|
|
246
|
+
label: string;
|
|
247
|
+
description?: string;
|
|
248
|
+
defaultValue: number;
|
|
249
|
+
onChange: (value: number) => void;
|
|
250
|
+
isAllowed?: (values: import('react-number-format').NumberFormatValues) => boolean;
|
|
251
|
+
sx?: import('@mui/material').SxProps;
|
|
252
|
+
size?: "sm" | "md" | "lg";
|
|
253
|
+
}>;
|
|
254
|
+
readonly EntityContext: import('react').FC<{
|
|
255
|
+
labels: any;
|
|
256
|
+
context: import('fansunited-sdk-esm').ContextModel;
|
|
257
|
+
onChange: (context: import('fansunited-sdk-esm').ContextModel) => void;
|
|
258
|
+
}>;
|
|
259
|
+
readonly MiniGamesImages: import('react').FC<{
|
|
260
|
+
labels: any;
|
|
261
|
+
defaultValue: import('../models/images/Images').default | null;
|
|
262
|
+
onChange: (value: any) => void;
|
|
263
|
+
}>;
|
|
264
|
+
readonly AuthRequirement: import('react').FC<{
|
|
265
|
+
defaultValue: string;
|
|
266
|
+
isClearable?: boolean;
|
|
267
|
+
labels: any;
|
|
268
|
+
onChange: (authRequirement: string | null) => void;
|
|
269
|
+
}>;
|
|
270
|
+
readonly SortableList: import('react').FC<{
|
|
271
|
+
entities: any[];
|
|
272
|
+
labels: any;
|
|
273
|
+
setEntities: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
274
|
+
removeItem: (id: string) => void;
|
|
275
|
+
disabled?: boolean;
|
|
276
|
+
}>;
|
|
277
|
+
readonly ItemsPerPageFilter: import('react').FC<{
|
|
278
|
+
labels: any;
|
|
279
|
+
value: number;
|
|
280
|
+
options: number[];
|
|
281
|
+
size?: "sm" | "md" | "lg";
|
|
282
|
+
disabled?: boolean;
|
|
283
|
+
sx?: import('@mui/material').SxProps;
|
|
284
|
+
onChange: (_: any, value: number | null) => void;
|
|
285
|
+
}>;
|
|
286
|
+
readonly ImageCard: import('react').FC<{
|
|
287
|
+
labels: any;
|
|
288
|
+
title: string;
|
|
289
|
+
image: string;
|
|
290
|
+
onChangeImages: (url: string) => void;
|
|
291
|
+
clearImage: () => void;
|
|
292
|
+
}>;
|
|
293
|
+
readonly RelatedRelationship: import('react').FC<{
|
|
294
|
+
defaultValue: import('../models/related/RelatedEntityRelationship').default[];
|
|
295
|
+
onChange: (entities: import('../models/related/RelatedEntityRelationship').default[]) => void;
|
|
296
|
+
labels: {
|
|
297
|
+
type: string;
|
|
298
|
+
delete: string;
|
|
299
|
+
relationship: string;
|
|
300
|
+
entity: string;
|
|
301
|
+
add: string;
|
|
302
|
+
relatedEntitiesErrorMessage: string;
|
|
303
|
+
};
|
|
304
|
+
}>;
|
|
305
|
+
readonly ExportUsersLeads: import('react').FC<{
|
|
306
|
+
entityId: string;
|
|
307
|
+
entityType: string;
|
|
308
|
+
entityName: string;
|
|
309
|
+
labels: {
|
|
310
|
+
exportUsersLeads: string;
|
|
311
|
+
category: string;
|
|
312
|
+
action: string;
|
|
313
|
+
exportAllUsersLeads: string;
|
|
314
|
+
exportAllUsersLeadsDescription: string;
|
|
315
|
+
usersLeadsExportMessage: string;
|
|
316
|
+
usersLeadsExportErrorMessage: string;
|
|
317
|
+
};
|
|
318
|
+
}>;
|
|
319
|
+
readonly SignOutButton: import('react').FC<{
|
|
320
|
+
signOutLabel: string;
|
|
321
|
+
environment: string;
|
|
322
|
+
}>;
|
|
323
|
+
readonly BasicSortableList: import('react').FC<{
|
|
324
|
+
items: import('../components/DragAndDrop/BasicSortableList/BasicSortableList').ISortableItem[];
|
|
325
|
+
labels: {
|
|
326
|
+
noItemsToDisplay: string;
|
|
327
|
+
dragToReorder: string;
|
|
328
|
+
};
|
|
329
|
+
setItems: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
330
|
+
}>;
|
|
331
|
+
readonly WidgetEmbedCode: import('react').FC<{
|
|
332
|
+
entityType: "classic-quiz" | "either-or" | "poll";
|
|
333
|
+
entityId: string;
|
|
334
|
+
authRequirement: string | null;
|
|
335
|
+
labels: any;
|
|
336
|
+
}>;
|
|
337
|
+
readonly WidgetListEmbedCode: import('react').FC<{
|
|
338
|
+
entityId: string;
|
|
339
|
+
labels: any;
|
|
340
|
+
}>;
|
|
341
|
+
readonly AdvancedProfileSearchSelect: import('react').FC<{
|
|
342
|
+
labels: any;
|
|
343
|
+
ids: string[];
|
|
344
|
+
onChange: (ids: string[] | null) => void;
|
|
345
|
+
}>;
|
|
346
|
+
readonly FormatNumber: import('react').FC<{
|
|
347
|
+
value: number;
|
|
348
|
+
sx?: import('@mui/material').SxProps;
|
|
349
|
+
tooltipPlacement?: "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top";
|
|
350
|
+
}>;
|
|
351
|
+
};
|
|
352
|
+
export interface ComponentsMap {
|
|
353
|
+
Login: typeof Login;
|
|
354
|
+
InformationInput: typeof InformationInput;
|
|
355
|
+
RichText: typeof RichText;
|
|
356
|
+
HeaderButtons: typeof HeaderButtons;
|
|
357
|
+
MarketSelection: typeof MarketSelection;
|
|
358
|
+
Accordion: typeof Accordion;
|
|
359
|
+
DynamicFields: typeof DynamicFields;
|
|
360
|
+
BasicSelect: typeof BasicSelect;
|
|
361
|
+
BooleanSwitch: typeof BooleanSwitch;
|
|
362
|
+
Branding: typeof Branding;
|
|
363
|
+
ProfileSearchSelect: typeof ProfileSearchSelect;
|
|
364
|
+
RangeCalendar: typeof RangeCalendar;
|
|
365
|
+
CompetitionSearchSelect: typeof CompetitionSearchSelect;
|
|
366
|
+
Related: typeof Related;
|
|
367
|
+
Images: typeof Images;
|
|
368
|
+
Duration: typeof Duration;
|
|
369
|
+
DatePickerComponent: typeof DatePickerComponent;
|
|
370
|
+
Flags: typeof Flags;
|
|
371
|
+
Spinner: typeof Spinner;
|
|
372
|
+
Tags: typeof Tags;
|
|
373
|
+
Toast: typeof Toast;
|
|
374
|
+
AdContent: typeof AdContent;
|
|
375
|
+
Match: typeof Match;
|
|
376
|
+
Winners: typeof Winners;
|
|
377
|
+
CompetitionsSearchSelect: typeof CompetitionsSearchSelect;
|
|
378
|
+
TeamsSearchSelect: typeof TeamsSearchSelect;
|
|
379
|
+
CustomSelect: typeof CustomSelect;
|
|
380
|
+
Schedule: typeof Schedule;
|
|
381
|
+
NoPermissionCard: typeof NoPermissionCard;
|
|
382
|
+
CustomFlatpickrCalendar: typeof CustomFlatpickrCalendar;
|
|
383
|
+
ContextSelectFilter: typeof ContextSelectFilter;
|
|
384
|
+
NumberInput: typeof NumberInput;
|
|
385
|
+
EntityContext: typeof EntityContext;
|
|
386
|
+
MiniGamesImages: typeof MiniGamesImages;
|
|
387
|
+
AuthRequirement: typeof AuthRequirement;
|
|
388
|
+
SortableList: typeof SortableList;
|
|
389
|
+
ItemsPerPageFilter: typeof ItemsPerPageFilter;
|
|
390
|
+
ImageCard: typeof ImageCard;
|
|
391
|
+
RelatedRelationship: typeof RelatedRelationship;
|
|
392
|
+
ExportUsersLeads: typeof ExportUsersLeads;
|
|
393
|
+
SignOutButton: typeof SignOutButton;
|
|
394
|
+
BasicSortableList: typeof BasicSortableList;
|
|
395
|
+
WidgetEmbedCode: typeof WidgetEmbedCode;
|
|
396
|
+
WidgetListEmbedCode: typeof WidgetListEmbedCode;
|
|
397
|
+
AdvancedProfileSearchSelect: typeof AdvancedProfileSearchSelect;
|
|
398
|
+
FormatNumber: typeof FormatNumber;
|
|
399
|
+
}
|
|
400
|
+
export declare const typedComponents: ComponentsMap;
|
|
401
|
+
export declare function createComponentsMap<T extends Record<string, React.ComponentType<any>>>(comps: T): T;
|
|
402
|
+
export declare const componentRegistry: {
|
|
403
|
+
Login: import('react').FC<{
|
|
404
|
+
userNotFound: string;
|
|
405
|
+
environment: string;
|
|
406
|
+
}>;
|
|
407
|
+
InformationInput: import('react').FC<{
|
|
408
|
+
label: string;
|
|
409
|
+
placeholder: string;
|
|
410
|
+
value?: string;
|
|
411
|
+
defaultValue: string;
|
|
412
|
+
required: boolean;
|
|
413
|
+
size: "sm" | "md" | "lg";
|
|
414
|
+
readOnly?: boolean;
|
|
415
|
+
endDecorator?: import('react').ReactNode;
|
|
416
|
+
onChange: (event: import('react').ChangeEvent<HTMLInputElement>) => void;
|
|
417
|
+
}>;
|
|
418
|
+
RichText: import('react').FC<{
|
|
419
|
+
label: string;
|
|
420
|
+
placeholder: string;
|
|
421
|
+
value?: string;
|
|
422
|
+
defaultValue: string;
|
|
423
|
+
property: "description" | "rules" | "ad_content" | "mini_games_explanation";
|
|
424
|
+
description?: string;
|
|
425
|
+
onChange: (value: string) => void;
|
|
426
|
+
}>;
|
|
427
|
+
HeaderButtons: import('react').FC<{
|
|
428
|
+
createLabel: string;
|
|
429
|
+
createFromTemplateLabel?: string;
|
|
430
|
+
signOutLabel: string;
|
|
431
|
+
environment: string;
|
|
432
|
+
onClickCreate: () => void;
|
|
433
|
+
onClickCreateFromTemplate?: () => void;
|
|
434
|
+
}>;
|
|
435
|
+
MarketSelection: import('react').FC<{
|
|
436
|
+
labels: any;
|
|
437
|
+
values: string[];
|
|
438
|
+
valuesMap: Record<string, string>;
|
|
439
|
+
onChange: (values: string[]) => void;
|
|
440
|
+
}>;
|
|
441
|
+
Accordion: import('react').FC<{
|
|
442
|
+
label: string;
|
|
443
|
+
disabled?: boolean;
|
|
444
|
+
} & {
|
|
445
|
+
children?: import('react').ReactNode | undefined;
|
|
446
|
+
}>;
|
|
447
|
+
DynamicFields: import('react').FC<{
|
|
448
|
+
labels: any;
|
|
449
|
+
type: string;
|
|
450
|
+
defaultValue: Record<string, string> | null;
|
|
451
|
+
onChange: (value: Record<string, string>) => void;
|
|
452
|
+
}>;
|
|
453
|
+
BasicSelect: import('react').FC<{
|
|
454
|
+
label: string;
|
|
455
|
+
defaultValue: string;
|
|
456
|
+
values: string[];
|
|
457
|
+
description: string;
|
|
458
|
+
onChange: (value: string) => void;
|
|
459
|
+
}>;
|
|
460
|
+
BooleanSwitch: import('react').FC<{
|
|
461
|
+
label: string;
|
|
462
|
+
labelPosition?: "start" | "end";
|
|
463
|
+
defaultValue: boolean;
|
|
464
|
+
description: string;
|
|
465
|
+
descriptionColor: import('@mui/joy').ColorPaletteProp;
|
|
466
|
+
disabled: boolean;
|
|
467
|
+
sx?: {
|
|
468
|
+
switch: import('@mui/material').SxProps;
|
|
469
|
+
container: import('@mui/material').SxProps;
|
|
470
|
+
};
|
|
471
|
+
onChange: (checked: boolean) => void;
|
|
472
|
+
}>;
|
|
473
|
+
Branding: import('react').FC<{
|
|
474
|
+
labels: any;
|
|
475
|
+
defaultValue: Record<string, Record<string, string>> | null;
|
|
476
|
+
onChange: (value: any) => void;
|
|
477
|
+
}>;
|
|
478
|
+
ProfileSearchSelect: import('react').FC<{
|
|
479
|
+
labels: any;
|
|
480
|
+
ids: string[];
|
|
481
|
+
onChange: (ids: string[] | null) => void;
|
|
482
|
+
}>;
|
|
483
|
+
RangeCalendar: import('react').FC<{
|
|
484
|
+
label: string;
|
|
485
|
+
defaultValue: import('../models/sportal365/Sportal365SearchImagesFilters').default | null;
|
|
486
|
+
required: boolean;
|
|
487
|
+
onChange: (date: import('../models/sportal365/Sportal365SearchImagesFilters').default) => void;
|
|
488
|
+
}>;
|
|
489
|
+
CompetitionSearchSelect: import('react').FC<{
|
|
490
|
+
labels: any;
|
|
491
|
+
label: string;
|
|
492
|
+
ids: string[];
|
|
493
|
+
required: boolean;
|
|
494
|
+
onChange: (ids: string[]) => void;
|
|
495
|
+
}>;
|
|
496
|
+
Related: import('react').FC<{
|
|
497
|
+
labels: any;
|
|
498
|
+
related: import('../models/related/RelatedEntity').default[];
|
|
499
|
+
onChange: (related: import('../models/related/RelatedEntity').default[]) => void;
|
|
500
|
+
}>;
|
|
501
|
+
Images: import('react').FC<{
|
|
502
|
+
labels: any;
|
|
503
|
+
defaultValue: import('../models/images/Images').default | null;
|
|
504
|
+
onChange: (value: any) => void;
|
|
505
|
+
}>;
|
|
506
|
+
Duration: import('react').FC<{
|
|
507
|
+
labels: any;
|
|
508
|
+
required: boolean;
|
|
509
|
+
defaultValue: string[];
|
|
510
|
+
onChangeFromDate: (date: string) => void;
|
|
511
|
+
onChangeToDate: (date: string) => void;
|
|
512
|
+
}>;
|
|
513
|
+
DatePickerComponent: import('react').FC<{
|
|
514
|
+
label: string;
|
|
515
|
+
defaultValue: string;
|
|
516
|
+
required: boolean;
|
|
517
|
+
onChange: (date: string) => void;
|
|
518
|
+
}>;
|
|
519
|
+
Flags: import('react').FC<{
|
|
520
|
+
labels: any;
|
|
521
|
+
flags: string[];
|
|
522
|
+
onChange: (flags: string[]) => void;
|
|
523
|
+
sx?: import('@mui/material').SxProps;
|
|
524
|
+
}>;
|
|
525
|
+
Spinner: import('react').FC<{
|
|
526
|
+
my: number;
|
|
527
|
+
}>;
|
|
528
|
+
Tags: import('react').FC<{
|
|
529
|
+
labels: any;
|
|
530
|
+
tags: string[];
|
|
531
|
+
onChange: (tags: string[]) => void;
|
|
532
|
+
}>;
|
|
533
|
+
Toast: import('react').FC<{
|
|
534
|
+
showToast: boolean;
|
|
535
|
+
message: string;
|
|
536
|
+
color: import('@mui/joy').ColorPaletteProp;
|
|
537
|
+
hideToast: () => void;
|
|
538
|
+
}>;
|
|
539
|
+
AdContent: import('react').FC<{
|
|
540
|
+
labels: any;
|
|
541
|
+
defaultValue: string;
|
|
542
|
+
onChange: (value: string) => void;
|
|
543
|
+
}>;
|
|
544
|
+
Match: import('react').FC<{
|
|
545
|
+
match: import('fansunited-sdk-esm').MatchBasicModel;
|
|
546
|
+
timeFormat: string;
|
|
547
|
+
}>;
|
|
548
|
+
Winners: import('react').FC<{
|
|
549
|
+
entityId: string;
|
|
550
|
+
entityType: string;
|
|
551
|
+
entityName: string;
|
|
552
|
+
labels: any;
|
|
553
|
+
onClickBack: () => void;
|
|
554
|
+
}>;
|
|
555
|
+
CompetitionsSearchSelect: import('react').FC<{
|
|
556
|
+
labels: any;
|
|
557
|
+
ids: string[];
|
|
558
|
+
scope?: string[];
|
|
559
|
+
onChange: (ids: string[] | null) => void;
|
|
560
|
+
}>;
|
|
561
|
+
TeamsSearchSelect: import('react').FC<{
|
|
562
|
+
labels: any;
|
|
563
|
+
ids: string[];
|
|
564
|
+
scope: string[] | undefined;
|
|
565
|
+
onChange: (ids: string[] | null) => void;
|
|
566
|
+
}>;
|
|
567
|
+
CustomSelect: import('react').FC<{
|
|
568
|
+
label: string;
|
|
569
|
+
defaultValue: string;
|
|
570
|
+
options: any[];
|
|
571
|
+
required: boolean;
|
|
572
|
+
onChange: (value: string) => void;
|
|
573
|
+
}>;
|
|
574
|
+
Schedule: import('react').FC<{
|
|
575
|
+
labels: any;
|
|
576
|
+
entityId: string;
|
|
577
|
+
entityType: string;
|
|
578
|
+
readOnly?: boolean;
|
|
579
|
+
}>;
|
|
580
|
+
NoPermissionCard: import('react').FC<{
|
|
581
|
+
labels: any;
|
|
582
|
+
environment: string;
|
|
583
|
+
setNoPermission: import('react').Dispatch<import('react').SetStateAction<boolean | null>>;
|
|
584
|
+
}>;
|
|
585
|
+
CustomFlatpickrCalendar: import('react').FC<{
|
|
586
|
+
defaultDate: string;
|
|
587
|
+
minDate?: Date | undefined;
|
|
588
|
+
maxDate?: Date | undefined;
|
|
589
|
+
dateFormat?: string;
|
|
590
|
+
onChange: (date: string) => void;
|
|
591
|
+
}>;
|
|
592
|
+
ContextSelectFilter: import('react').FC<{
|
|
593
|
+
labels: any;
|
|
594
|
+
options: import('../models/select/GroupSelectOption').default[];
|
|
595
|
+
setOptions: import('react').Dispatch<import('react').SetStateAction<import('react-select').MultiValue<import('../models/select/GroupSelectOption').default>>>;
|
|
596
|
+
setFilters: import('react').Dispatch<import('react').SetStateAction<any>>;
|
|
597
|
+
handleResetData: () => void;
|
|
598
|
+
}>;
|
|
599
|
+
NumberInput: import('react').FC<{
|
|
600
|
+
label: string;
|
|
601
|
+
description?: string;
|
|
602
|
+
defaultValue: number;
|
|
603
|
+
onChange: (value: number) => void;
|
|
604
|
+
isAllowed?: (values: import('react-number-format').NumberFormatValues) => boolean;
|
|
605
|
+
sx?: import('@mui/material').SxProps;
|
|
606
|
+
size?: "sm" | "md" | "lg";
|
|
607
|
+
}>;
|
|
608
|
+
EntityContext: import('react').FC<{
|
|
609
|
+
labels: any;
|
|
610
|
+
context: import('fansunited-sdk-esm').ContextModel;
|
|
611
|
+
onChange: (context: import('fansunited-sdk-esm').ContextModel) => void;
|
|
612
|
+
}>;
|
|
613
|
+
MiniGamesImages: import('react').FC<{
|
|
614
|
+
labels: any;
|
|
615
|
+
defaultValue: import('../models/images/Images').default | null;
|
|
616
|
+
onChange: (value: any) => void;
|
|
617
|
+
}>;
|
|
618
|
+
AuthRequirement: import('react').FC<{
|
|
619
|
+
defaultValue: string;
|
|
620
|
+
isClearable?: boolean;
|
|
621
|
+
labels: any;
|
|
622
|
+
onChange: (authRequirement: string | null) => void;
|
|
623
|
+
}>;
|
|
624
|
+
SortableList: import('react').FC<{
|
|
625
|
+
entities: any[];
|
|
626
|
+
labels: any;
|
|
627
|
+
setEntities: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
628
|
+
removeItem: (id: string) => void;
|
|
629
|
+
disabled?: boolean;
|
|
630
|
+
}>;
|
|
631
|
+
ItemsPerPageFilter: import('react').FC<{
|
|
632
|
+
labels: any;
|
|
633
|
+
value: number;
|
|
634
|
+
options: number[];
|
|
635
|
+
size?: "sm" | "md" | "lg";
|
|
636
|
+
disabled?: boolean;
|
|
637
|
+
sx?: import('@mui/material').SxProps;
|
|
638
|
+
onChange: (_: any, value: number | null) => void;
|
|
639
|
+
}>;
|
|
640
|
+
ImageCard: import('react').FC<{
|
|
641
|
+
labels: any;
|
|
642
|
+
title: string;
|
|
643
|
+
image: string;
|
|
644
|
+
onChangeImages: (url: string) => void;
|
|
645
|
+
clearImage: () => void;
|
|
646
|
+
}>;
|
|
647
|
+
RelatedRelationship: import('react').FC<{
|
|
648
|
+
defaultValue: import('../models/related/RelatedEntityRelationship').default[];
|
|
649
|
+
onChange: (entities: import('../models/related/RelatedEntityRelationship').default[]) => void;
|
|
650
|
+
labels: {
|
|
651
|
+
type: string;
|
|
652
|
+
delete: string;
|
|
653
|
+
relationship: string;
|
|
654
|
+
entity: string;
|
|
655
|
+
add: string;
|
|
656
|
+
relatedEntitiesErrorMessage: string;
|
|
657
|
+
};
|
|
658
|
+
}>;
|
|
659
|
+
ExportUsersLeads: import('react').FC<{
|
|
660
|
+
entityId: string;
|
|
661
|
+
entityType: string;
|
|
662
|
+
entityName: string;
|
|
663
|
+
labels: {
|
|
664
|
+
exportUsersLeads: string;
|
|
665
|
+
category: string;
|
|
666
|
+
action: string;
|
|
667
|
+
exportAllUsersLeads: string;
|
|
668
|
+
exportAllUsersLeadsDescription: string;
|
|
669
|
+
usersLeadsExportMessage: string;
|
|
670
|
+
usersLeadsExportErrorMessage: string;
|
|
671
|
+
};
|
|
672
|
+
}>;
|
|
673
|
+
SignOutButton: import('react').FC<{
|
|
674
|
+
signOutLabel: string;
|
|
675
|
+
environment: string;
|
|
676
|
+
}>;
|
|
677
|
+
BasicSortableList: import('react').FC<{
|
|
678
|
+
items: import('../components/DragAndDrop/BasicSortableList/BasicSortableList').ISortableItem[];
|
|
679
|
+
labels: {
|
|
680
|
+
noItemsToDisplay: string;
|
|
681
|
+
dragToReorder: string;
|
|
682
|
+
};
|
|
683
|
+
setItems: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
684
|
+
}>;
|
|
685
|
+
WidgetEmbedCode: import('react').FC<{
|
|
686
|
+
entityType: "classic-quiz" | "either-or" | "poll";
|
|
687
|
+
entityId: string;
|
|
688
|
+
authRequirement: string | null;
|
|
689
|
+
labels: any;
|
|
690
|
+
}>;
|
|
691
|
+
WidgetListEmbedCode: import('react').FC<{
|
|
692
|
+
entityId: string;
|
|
693
|
+
labels: any;
|
|
694
|
+
}>;
|
|
695
|
+
AdvancedProfileSearchSelect: import('react').FC<{
|
|
696
|
+
labels: any;
|
|
697
|
+
ids: string[];
|
|
698
|
+
onChange: (ids: string[] | null) => void;
|
|
699
|
+
}>;
|
|
700
|
+
FormatNumber: import('react').FC<{
|
|
701
|
+
value: number;
|
|
702
|
+
sx?: import('@mui/material').SxProps;
|
|
703
|
+
tooltipPlacement?: "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top";
|
|
704
|
+
}>;
|
|
705
|
+
};
|
|
706
|
+
export type ComponentRegistryType = typeof componentRegistry;
|
|
707
|
+
//# sourceMappingURL=components.d.ts.map
|