courthive-components 1.0.4 → 1.1.1
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/dist/assets/team-logos/index.d.ts +9 -0
- package/dist/components/burstChart/burstChart.d.ts +108 -0
- package/dist/components/burstChart/matchUpTransform.d.ts +11 -0
- package/dist/components/burstChart/textHelpers.d.ts +11 -0
- package/dist/components/button/barButton.d.ts +1 -0
- package/dist/components/button/cvaButton.d.ts +8 -0
- package/dist/components/button/dropDownButton.d.ts +5 -0
- package/dist/components/categories/ageCategory/ageCategory.d.ts +54 -0
- package/dist/components/categories/ageCategory/ageCategoryLogic.d.ts +55 -0
- package/dist/components/categories/category/category.d.ts +47 -0
- package/dist/components/composition-editor/compositionEditor.d.ts +6 -0
- package/dist/components/composition-editor/compositionEditorStore.d.ts +24 -0
- package/dist/components/composition-editor/compositionEditorTypes.d.ts +37 -0
- package/dist/components/composition-editor/compositionPreview.d.ts +2 -0
- package/dist/components/composition-editor/scaleConstants.d.ts +7 -0
- package/dist/components/composition-editor/sections/displaySection.d.ts +3 -0
- package/dist/components/composition-editor/sections/fieldBuilders.d.ts +20 -0
- package/dist/components/composition-editor/sections/layoutSection.d.ts +3 -0
- package/dist/components/composition-editor/sections/participantSection.d.ts +3 -0
- package/dist/components/composition-editor/sections/placeholderSection.d.ts +3 -0
- package/dist/components/composition-editor/sections/scaleSection.d.ts +3 -0
- package/dist/components/composition-editor/sections/scoreSection.d.ts +3 -0
- package/dist/components/composition-editor/sections/sectionBuilder.d.ts +8 -0
- package/dist/components/composition-editor/sections/themeSection.d.ts +3 -0
- package/dist/components/composition-editor/styles.d.ts +26 -0
- package/dist/components/controlBar/controlBar.d.ts +11 -0
- package/dist/components/controlBar/toggleOverlay.d.ts +3 -0
- package/dist/components/courts/courts.d.ts +7 -0
- package/dist/components/courts/index.d.ts +1 -0
- package/dist/components/drawer/drawer.d.ts +14 -0
- package/dist/components/flightProfile/flightProfileLogic.d.ts +51 -0
- package/dist/components/flightProfile/flightProfileNew.d.ts +34 -0
- package/dist/components/flightProfile/getFlightProfileFormItems.d.ts +13 -0
- package/dist/components/flightProfile/getFlightProfileFormRelationships.d.ts +1 -0
- package/dist/components/forms/createMultiSelect.d.ts +34 -0
- package/dist/components/forms/renderButtons.d.ts +3 -0
- package/dist/components/forms/renderField.d.ts +7 -0
- package/dist/components/forms/renderForm.d.ts +1 -0
- package/dist/components/forms/renderMenu.d.ts +3 -0
- package/dist/components/forms/renderValidator.d.ts +113 -0
- package/dist/components/forms/styles.d.ts +0 -0
- package/dist/components/generateRound.d.ts +6 -0
- package/dist/components/inline-scoring/engineToMatchUp.d.ts +6 -0
- package/dist/components/inline-scoring/index.d.ts +5 -0
- package/dist/components/inline-scoring/inlineScoringFooter.d.ts +18 -0
- package/dist/components/inline-scoring/inlineScoringManager.d.ts +49 -0
- package/dist/components/inline-scoring/inlineScoringTypes.d.ts +40 -0
- package/dist/components/inline-scoring/renderInlineMatchUp.d.ts +27 -0
- package/dist/components/interactive-scoring/buildInteractiveScoringShell.d.ts +28 -0
- package/dist/components/interactive-scoring/index.d.ts +2 -0
- package/dist/components/interactive-scoring/types.d.ts +60 -0
- package/dist/components/matchUpFormat/matchUpFormat.d.ts +81 -0
- package/dist/components/matchUpFormat/matchUpFormatLogic.d.ts +112 -0
- package/dist/components/modal/cmodal.d.ts +30 -0
- package/dist/components/modal/cmodalStyles.d.ts +8 -0
- package/dist/components/modal/compositionEditorModal.d.ts +46 -0
- package/dist/components/modal/generateTeamsModal.d.ts +26 -0
- package/dist/components/modal/mockParticipants.d.ts +91 -0
- package/dist/components/modal/scheduleCellConfigModal.d.ts +44 -0
- package/dist/components/modal/selectItem.d.ts +24 -0
- package/dist/components/notes-toolbar/notesToolbar.d.ts +20 -0
- package/dist/components/policy-catalog/controller/policyCatalogControl.d.ts +18 -0
- package/dist/components/policy-catalog/domain/catalogProjections.d.ts +11 -0
- package/dist/components/policy-catalog/domain/policyDefaults.d.ts +26 -0
- package/dist/components/policy-catalog/domain/utils.d.ts +4 -0
- package/dist/components/policy-catalog/editors/ranking/domain/emptyRankingPolicy.d.ts +2 -0
- package/dist/components/policy-catalog/editors/ranking/domain/rankingProjections.d.ts +32 -0
- package/dist/components/policy-catalog/editors/ranking/index.d.ts +9 -0
- package/dist/components/policy-catalog/editors/ranking/rankingPointsEditorControl.d.ts +27 -0
- package/dist/components/policy-catalog/editors/ranking/rankingPointsEditorPanel.d.ts +8 -0
- package/dist/components/policy-catalog/editors/ranking/rankingPointsEditorStore.d.ts +53 -0
- package/dist/components/policy-catalog/editors/ranking/sections/aggregationSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/bonusPointsRow.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/metadataSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/perWinPointsRow.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/positionPointsTable.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/profileCard.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/qualityWinSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/sections/scopeBadges.d.ts +2 -0
- package/dist/components/policy-catalog/editors/ranking/sections/scopeEditor.d.ts +6 -0
- package/dist/components/policy-catalog/editors/ranking/styles.d.ts +25 -0
- package/dist/components/policy-catalog/editors/ranking/types.d.ts +146 -0
- package/dist/components/policy-catalog/editors/scheduling/domain/schedulingProjections.d.ts +5 -0
- package/dist/components/policy-catalog/editors/scheduling/domain/schedulingValidation.d.ts +2 -0
- package/dist/components/policy-catalog/editors/scheduling/index.d.ts +11 -0
- package/dist/components/policy-catalog/editors/scheduling/schedulingEditorControl.d.ts +26 -0
- package/dist/components/policy-catalog/editors/scheduling/schedulingEditorPanel.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/schedulingEditorStore.d.ts +32 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/averageTimesSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/dailyLimitsSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/defaultTimesSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/formatTimeRow.d.ts +22 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/modificationFlagsSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/sections/recoveryTimesSection.d.ts +6 -0
- package/dist/components/policy-catalog/editors/scheduling/styles.d.ts +27 -0
- package/dist/components/policy-catalog/editors/scheduling/types.d.ts +65 -0
- package/dist/components/policy-catalog/engine/policyCatalogStore.d.ts +25 -0
- package/dist/components/policy-catalog/index.d.ts +22 -0
- package/dist/components/policy-catalog/types.d.ts +57 -0
- package/dist/components/policy-catalog/ui/editorShell.d.ts +11 -0
- package/dist/components/policy-catalog/ui/jsonEditor.d.ts +5 -0
- package/dist/components/policy-catalog/ui/policyCatalogLayout.d.ts +6 -0
- package/dist/components/policy-catalog/ui/policyCatalogPanel.d.ts +10 -0
- package/dist/components/policy-catalog/ui/styles.d.ts +28 -0
- package/dist/components/popover/tipster.d.ts +14 -0
- package/dist/components/print-composition-editor/printCompositionEditor.d.ts +2 -0
- package/dist/components/print-composition-editor/printCompositionEditorTypes.d.ts +77 -0
- package/dist/components/renderSchematicStructure/index.d.ts +4 -0
- package/dist/components/renderSchematicStructure/renderSchematicMatchUp.d.ts +26 -0
- package/dist/components/renderSchematicStructure/renderSchematicRound.d.ts +15 -0
- package/dist/components/renderSchematicStructure/renderSchematicStructure.d.ts +12 -0
- package/dist/components/renderStructure/isLuckyDraw.d.ts +9 -0
- package/dist/components/renderStructure/renderAddress.d.ts +5 -0
- package/dist/components/renderStructure/renderCenterInfo.d.ts +10 -0
- package/dist/components/renderStructure/renderContainer.d.ts +4 -0
- package/dist/components/renderStructure/renderFlag.d.ts +6 -0
- package/dist/components/renderStructure/renderFrill.d.ts +10 -0
- package/dist/components/renderStructure/renderGameScore.d.ts +3 -0
- package/dist/components/renderStructure/renderIndividual.d.ts +12 -0
- package/dist/components/renderStructure/renderMatchUp.d.ts +14 -0
- package/dist/components/renderStructure/renderParticipant.d.ts +11 -0
- package/dist/components/renderStructure/renderParticipantDetail.d.ts +7 -0
- package/dist/components/renderStructure/renderParticipantInput.d.ts +10 -0
- package/dist/components/renderStructure/renderPersonAttribute.d.ts +6 -0
- package/dist/components/renderStructure/renderRound.d.ts +17 -0
- package/dist/components/renderStructure/renderRoundHeader.d.ts +8 -0
- package/dist/components/renderStructure/renderScale.d.ts +8 -0
- package/dist/components/renderStructure/renderSchedule.d.ts +5 -0
- package/dist/components/renderStructure/renderSeeding.d.ts +6 -0
- package/dist/components/renderStructure/renderSide.d.ts +9 -0
- package/dist/components/renderStructure/renderSideScore.d.ts +16 -0
- package/dist/components/renderStructure/renderStatusPill.d.ts +3 -0
- package/dist/components/renderStructure/renderStructure.d.ts +13 -0
- package/dist/components/renderStructure/renderTeam.d.ts +5 -0
- package/dist/components/renderStructure/renderTeamLogo.d.ts +4 -0
- package/dist/components/renderStructure/renderTick.d.ts +3 -0
- package/dist/components/schedule-page/controller/schedulePageControl.d.ts +18 -0
- package/dist/components/schedule-page/domain/matchUpCatalogProjections.d.ts +4 -0
- package/dist/components/schedule-page/domain/scheduleIssues.d.ts +2 -0
- package/dist/components/schedule-page/domain/utils.d.ts +5 -0
- package/dist/components/schedule-page/engine/schedulePageStore.d.ts +34 -0
- package/dist/components/schedule-page/index.d.ts +24 -0
- package/dist/components/schedule-page/types.d.ts +218 -0
- package/dist/components/schedule-page/ui/courtGridSlot.d.ts +8 -0
- package/dist/components/schedule-page/ui/dateStrip.d.ts +5 -0
- package/dist/components/schedule-page/ui/inspectorPanel.d.ts +2 -0
- package/dist/components/schedule-page/ui/issuesPanel.d.ts +2 -0
- package/dist/components/schedule-page/ui/matchUpCard.d.ts +5 -0
- package/dist/components/schedule-page/ui/matchUpCatalog.d.ts +11 -0
- package/dist/components/schedule-page/ui/scheduleCellTypeAhead.d.ts +23 -0
- package/dist/components/schedule-page/ui/scheduleGridCell.d.ts +8 -0
- package/dist/components/schedule-page/ui/schedulePageLayout.d.ts +18 -0
- package/dist/components/schedule-page/ui/styles.d.ts +41 -0
- package/dist/components/scheduling-profile/controller/schedulingProfileControl.d.ts +14 -0
- package/dist/components/scheduling-profile/domain/catalogProjections.d.ts +16 -0
- package/dist/components/scheduling-profile/domain/dndApply.d.ts +2 -0
- package/dist/components/scheduling-profile/domain/issueIndex.d.ts +2 -0
- package/dist/components/scheduling-profile/domain/profileProjections.d.ts +6 -0
- package/dist/components/scheduling-profile/domain/utils.d.ts +7 -0
- package/dist/components/scheduling-profile/domain/validateProfile.d.ts +13 -0
- package/dist/components/scheduling-profile/engine/profileStore.d.ts +27 -0
- package/dist/components/scheduling-profile/index.d.ts +25 -0
- package/dist/components/scheduling-profile/types.d.ts +197 -0
- package/dist/components/scheduling-profile/ui/cardPopover.d.ts +11 -0
- package/dist/components/scheduling-profile/ui/dateStrip.d.ts +5 -0
- package/dist/components/scheduling-profile/ui/inspectorPanel.d.ts +2 -0
- package/dist/components/scheduling-profile/ui/issuesPanel.d.ts +5 -0
- package/dist/components/scheduling-profile/ui/roundCard.d.ts +12 -0
- package/dist/components/scheduling-profile/ui/roundCatalog.d.ts +8 -0
- package/dist/components/scheduling-profile/ui/schedulingProfileLayout.d.ts +15 -0
- package/dist/components/scheduling-profile/ui/styles.d.ts +46 -0
- package/dist/components/scheduling-profile/ui/venueBoard.d.ts +7 -0
- package/dist/components/scorecard/index.d.ts +2 -0
- package/dist/components/scorecard/renderScorecard.d.ts +26 -0
- package/dist/components/scoring/approaches/dialPadApproach.d.ts +2 -0
- package/dist/components/scoring/approaches/dialPadLogic.d.ts +12 -0
- package/dist/components/scoring/approaches/dynamicSetsApproach.d.ts +2 -0
- package/dist/components/scoring/approaches/freeScoreApproach.d.ts +2 -0
- package/dist/components/scoring/approaches/inlineScoringApproach.d.ts +2 -0
- package/dist/components/scoring/config.d.ts +28 -0
- package/dist/components/scoring/index.d.ts +6 -0
- package/dist/components/scoring/logic/dynamicSetsLogic.d.ts +124 -0
- package/dist/components/scoring/scoringModal.d.ts +2 -0
- package/dist/components/scoring/types.d.ts +60 -0
- package/dist/components/scoring/utils/scoreFormatters.d.ts +12 -0
- package/dist/components/scoring/utils/scoreValidator.d.ts +16 -0
- package/dist/components/scoring/utils/setExpansionLogic.d.ts +24 -0
- package/dist/components/temporal-grid/controller/temporalGridControl.d.ts +137 -0
- package/dist/components/temporal-grid/controller/viewProjections.d.ts +220 -0
- package/dist/components/temporal-grid/engine/viewState.d.ts +34 -0
- package/dist/components/temporal-grid/index.d.ts +18 -0
- package/dist/components/temporal-grid/timeline/CourtTimeline.d.ts +77 -0
- package/dist/components/temporal-grid/timeline/InteractionManager.d.ts +59 -0
- package/dist/components/temporal-grid/timeline/ItemRenderer.d.ts +35 -0
- package/dist/components/temporal-grid/timeline/RowLayout.d.ts +38 -0
- package/dist/components/temporal-grid/timeline/TimeAxis.d.ts +41 -0
- package/dist/components/temporal-grid/timeline/TimeScale.d.ts +106 -0
- package/dist/components/temporal-grid/timeline/types.d.ts +124 -0
- package/dist/components/temporal-grid/ui/blockPopover.d.ts +29 -0
- package/dist/components/temporal-grid/ui/courtAvailabilityModal.d.ts +29 -0
- package/dist/components/temporal-grid/ui/modernTimePicker.d.ts +46 -0
- package/dist/components/temporal-grid/ui/statsBar.d.ts +21 -0
- package/dist/components/temporal-grid/ui/temporalGrid.d.ts +149 -0
- package/dist/components/temporal-grid/ui/viewToolbar.d.ts +37 -0
- package/dist/components/topology-builder/controller/topologyBuilderControl.d.ts +19 -0
- package/dist/components/topology-builder/domain/feedRounds.d.ts +42 -0
- package/dist/components/topology-builder/domain/generateDrawFromTopology.d.ts +16 -0
- package/dist/components/topology-builder/domain/playoffProfilesCache.d.ts +16 -0
- package/dist/components/topology-builder/domain/previewGenerator.d.ts +9 -0
- package/dist/components/topology-builder/domain/templates.d.ts +2 -0
- package/dist/components/topology-builder/domain/topologyToDrawOptions.d.ts +6 -0
- package/dist/components/topology-builder/domain/topologyValidator.d.ts +8 -0
- package/dist/components/topology-builder/engine/topologyStore.d.ts +30 -0
- package/dist/components/topology-builder/index.d.ts +23 -0
- package/dist/components/topology-builder/types.d.ts +59 -0
- package/dist/components/topology-builder/ui/edgeEditor.d.ts +7 -0
- package/dist/components/topology-builder/ui/nodeEditor.d.ts +9 -0
- package/dist/components/topology-builder/ui/structureCard.d.ts +39 -0
- package/dist/components/topology-builder/ui/toolbar.d.ts +15 -0
- package/dist/components/topology-builder/ui/topologyBuilderLayout.d.ts +7 -0
- package/dist/components/topology-builder/ui/topologyCanvas.d.ts +10 -0
- package/dist/components/validators/numericRange.d.ts +1 -0
- package/dist/components/validators/numericValidator.d.ts +1 -0
- package/dist/compositions/compositions.d.ts +2 -0
- package/dist/compositions/lineHeights.d.ts +5 -0
- package/dist/compositions/resolvePublishedComposition.d.ts +12 -0
- package/dist/constants/matchUpFormats.d.ts +34 -0
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +4823 -4605
- package/dist/courthive-components.umd.js +42 -42
- package/dist/data/componentConstants.d.ts +1 -0
- package/dist/data/generateEventData.d.ts +15 -0
- package/dist/data/generateMatchUps.d.ts +25 -0
- package/dist/helpers/createTypeAhead.d.ts +14 -0
- package/dist/helpers/drawStateManager.d.ts +91 -0
- package/dist/helpers/getAttr.d.ts +4 -0
- package/dist/helpers/typeOf.d.ts +4 -0
- package/dist/index.d.ts +80 -3913
- package/dist/styles/centerInfoStyle.d.ts +6 -0
- package/dist/styles/containerStyle.d.ts +1 -0
- package/dist/styles/flagStyle.d.ts +3 -0
- package/dist/styles/getChevronStyle.d.ts +4 -0
- package/dist/styles/getLinkStyle.d.ts +25 -0
- package/dist/styles/getMatchUpStyle.d.ts +4 -0
- package/dist/styles/getSelectedMatchUpStyle.d.ts +1 -0
- package/dist/styles/groupNameStyle.d.ts +1 -0
- package/dist/styles/groupSeparatorStyle.d.ts +4 -0
- package/dist/styles/matchUpContainerStyle.d.ts +1 -0
- package/dist/styles/participantDetailStyle.d.ts +1 -0
- package/dist/styles/participantStyle.d.ts +17 -0
- package/dist/styles/pillStyle.d.ts +3 -0
- package/dist/styles/resultStyles.d.ts +4 -0
- package/dist/styles/roundContainerStyle.d.ts +1 -0
- package/dist/styles/roundHeaderStyle.d.ts +1 -0
- package/dist/styles/roundStyle.d.ts +3 -0
- package/dist/styles/scaleStyle.d.ts +3 -0
- package/dist/styles/schedulingStyle.d.ts +1 -0
- package/dist/styles/scoreStyles.d.ts +9 -0
- package/dist/styles/scoreWrapperStyle.d.ts +4 -0
- package/dist/styles/seedStyle.d.ts +1 -0
- package/dist/styles/sideStyles.d.ts +3 -0
- package/dist/styles/structureStyle.d.ts +1 -0
- package/dist/styles/teamLogoStyle.d.ts +1 -0
- package/dist/styles/themes/australianTheme.d.ts +1 -0
- package/dist/styles/themes/basicCardTheme.d.ts +1 -0
- package/dist/styles/themes/basicTheme.d.ts +1 -0
- package/dist/styles/themes/createTheme.d.ts +5 -0
- package/dist/styles/themes/frenchTheme.d.ts +1 -0
- package/dist/styles/themes/index.d.ts +7 -0
- package/dist/styles/themes/itfTheme.d.ts +1 -0
- package/dist/styles/themes/usOpenTheme.d.ts +1 -0
- package/dist/styles/themes/wimbledonTheme.d.ts +1 -0
- package/dist/tools/freeScore/freeScore.d.ts +79 -0
- package/dist/types.d.ts +321 -0
- package/dist/utilities/isElement.d.ts +1 -0
- package/dist/validators/dateValidator.d.ts +1 -0
- package/dist/validators/emailValidator.d.ts +1 -0
- package/dist/validators/index.d.ts +7 -0
- package/dist/validators/nameValidator.d.ts +1 -0
- package/dist/validators/numericRange.d.ts +1 -0
- package/dist/validators/numericValidator.d.ts +1 -0
- package/dist/validators/passwordValidator.d.ts +1 -0
- package/dist/validators/wordValidator.d.ts +1 -0
- package/dist/version.d.ts +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composition Editor Modal — configure PDF header/footer layouts.
|
|
3
|
+
*
|
|
4
|
+
* Opens a modal with two tabs (via menu): Header Config and Footer Config.
|
|
5
|
+
* Each tab provides form controls for selecting layouts and entering field values.
|
|
6
|
+
* Returns the composed HeaderConfig + FooterConfig for pdf-factory.
|
|
7
|
+
*/
|
|
8
|
+
export interface HeaderConfig {
|
|
9
|
+
layout: string;
|
|
10
|
+
tournamentName: string;
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
startDate?: string;
|
|
13
|
+
endDate?: string;
|
|
14
|
+
location?: string;
|
|
15
|
+
city?: string;
|
|
16
|
+
country?: string;
|
|
17
|
+
surface?: string;
|
|
18
|
+
prizeMoney?: string;
|
|
19
|
+
currency?: string;
|
|
20
|
+
supervisor?: string;
|
|
21
|
+
grade?: string;
|
|
22
|
+
sectionLabel?: string;
|
|
23
|
+
organizer?: string;
|
|
24
|
+
chiefUmpire?: string;
|
|
25
|
+
tournamentId?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface FooterConfig {
|
|
28
|
+
layout: string;
|
|
29
|
+
showPageNumbers?: boolean;
|
|
30
|
+
showTimestamp?: boolean;
|
|
31
|
+
releaseDate?: string;
|
|
32
|
+
drawCeremonyDate?: string;
|
|
33
|
+
notes?: string[];
|
|
34
|
+
}
|
|
35
|
+
export interface CompositionEditorResult {
|
|
36
|
+
header: HeaderConfig;
|
|
37
|
+
footer: FooterConfig;
|
|
38
|
+
preset?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface CompositionEditorOptions {
|
|
41
|
+
initialPreset?: string;
|
|
42
|
+
initialHeader?: Partial<HeaderConfig>;
|
|
43
|
+
initialFooter?: Partial<FooterConfig>;
|
|
44
|
+
onApply?: (result: CompositionEditorResult) => void;
|
|
45
|
+
}
|
|
46
|
+
export declare function openCompositionEditorModal(options?: CompositionEditorOptions): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface GenerateTeamsConfig {
|
|
2
|
+
callback?: (participants: any[]) => void;
|
|
3
|
+
consideredDate?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Builtin + user tieFormats for team size inference */
|
|
6
|
+
tieFormats?: {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
tieFormat: any;
|
|
10
|
+
}[];
|
|
11
|
+
/** Custom labels for form fields and buttons */
|
|
12
|
+
labels?: {
|
|
13
|
+
gender?: string;
|
|
14
|
+
teamsCount?: string;
|
|
15
|
+
tieFormatTemplate?: string;
|
|
16
|
+
manualTeamSize?: string;
|
|
17
|
+
playersPerTeam?: string;
|
|
18
|
+
countries?: string;
|
|
19
|
+
cancel?: string;
|
|
20
|
+
generate?: string;
|
|
21
|
+
genderAny?: string;
|
|
22
|
+
genderFemale?: string;
|
|
23
|
+
genderMale?: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare function getGenerateTeamsModal(config?: GenerateTeamsConfig): void;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for mock participants generation
|
|
3
|
+
*/
|
|
4
|
+
export interface MockParticipantsConfig {
|
|
5
|
+
/** Callback invoked when participants are generated */
|
|
6
|
+
callback?: (participants: any[]) => void;
|
|
7
|
+
/** Tournament end date for birthdate calculation (ISO format: YYYY-MM-DD) */
|
|
8
|
+
consideredDate?: string;
|
|
9
|
+
/** Custom title for the modal */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** Custom labels for form fields */
|
|
12
|
+
labels?: {
|
|
13
|
+
gender?: string;
|
|
14
|
+
count?: string;
|
|
15
|
+
ageRange?: string;
|
|
16
|
+
minAge?: string;
|
|
17
|
+
maxAge?: string;
|
|
18
|
+
ratings?: string;
|
|
19
|
+
countries?: string;
|
|
20
|
+
role?: string;
|
|
21
|
+
cancel?: string;
|
|
22
|
+
generate?: string;
|
|
23
|
+
genderAny?: string;
|
|
24
|
+
genderFemale?: string;
|
|
25
|
+
genderMale?: string;
|
|
26
|
+
/** @deprecated Use ratings label instead */
|
|
27
|
+
wtn?: string;
|
|
28
|
+
/** @deprecated Use ratings label instead */
|
|
29
|
+
utr?: string;
|
|
30
|
+
};
|
|
31
|
+
/** Default values for form fields */
|
|
32
|
+
defaults?: {
|
|
33
|
+
gender?: string;
|
|
34
|
+
participantsCount?: number;
|
|
35
|
+
participantRole?: string;
|
|
36
|
+
ageMin?: number;
|
|
37
|
+
ageMax?: number;
|
|
38
|
+
nationalityCodesCount?: number;
|
|
39
|
+
/** Array of rating type names to pre-select (e.g., ['WTN', 'UTR', 'DUPR']) */
|
|
40
|
+
ratings?: string[];
|
|
41
|
+
/** @deprecated Use ratings: ['WTN'] instead */
|
|
42
|
+
wtnRating?: boolean;
|
|
43
|
+
/** @deprecated Use ratings: ['UTR'] instead */
|
|
44
|
+
utrRating?: boolean;
|
|
45
|
+
};
|
|
46
|
+
/** Available participant role options. If not provided, only COMPETITOR is used. */
|
|
47
|
+
roleOptions?: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Opens a modal for generating mock participants with configurable options.
|
|
54
|
+
*
|
|
55
|
+
* Features:
|
|
56
|
+
* - Gender selection (Any/Male/Female)
|
|
57
|
+
* - Participant count (8-256)
|
|
58
|
+
* - Age range with automatic validation (ageMax >= ageMin)
|
|
59
|
+
* - Number of countries to limit nationality diversity
|
|
60
|
+
* - Optional WTN/UTR ratings
|
|
61
|
+
* - Birthdate generation based on consideredDate and age range
|
|
62
|
+
*
|
|
63
|
+
* @param config - Configuration options
|
|
64
|
+
* @returns void
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* // Basic usage
|
|
68
|
+
* getMockParticipantsModal({
|
|
69
|
+
* callback: (participants) => {
|
|
70
|
+
* console.log('Generated participants:', participants);
|
|
71
|
+
* // Add participants to tournament
|
|
72
|
+
* }
|
|
73
|
+
* });
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* // With consideredDate and defaults
|
|
77
|
+
* getMockParticipantsModal({
|
|
78
|
+
* consideredDate: '2024-12-31',
|
|
79
|
+
* callback: (participants) => {
|
|
80
|
+
* // Add participants to tournament
|
|
81
|
+
* },
|
|
82
|
+
* defaults: {
|
|
83
|
+
* participantsCount: 64,
|
|
84
|
+
* ageMin: 10,
|
|
85
|
+
* ageMax: 18,
|
|
86
|
+
* nationalityCodesCount: 10,
|
|
87
|
+
* wtnRating: true
|
|
88
|
+
* }
|
|
89
|
+
* });
|
|
90
|
+
*/
|
|
91
|
+
export declare function getMockParticipantsModal(config?: MockParticipantsConfig): void;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schedule Cell Configurator Modal — select what info appears in OOP grid cells.
|
|
3
|
+
*
|
|
4
|
+
* Provides checkboxes for each field that can appear in a schedule cell:
|
|
5
|
+
* participant names, match number, event/round, nationality, seeds,
|
|
6
|
+
* scheduled time, format code, score.
|
|
7
|
+
*
|
|
8
|
+
* Returns a CellConfig object consumed by pdf-factory's scheduleV2 renderer.
|
|
9
|
+
*/
|
|
10
|
+
export interface ScheduleCellDisplayConfig {
|
|
11
|
+
showParticipantNames: boolean;
|
|
12
|
+
showNationality: boolean;
|
|
13
|
+
showSeedings: boolean;
|
|
14
|
+
showMatchNumber: boolean;
|
|
15
|
+
showEventRound: boolean;
|
|
16
|
+
showScheduledTime: boolean;
|
|
17
|
+
showMatchFormat: boolean;
|
|
18
|
+
showScore: boolean;
|
|
19
|
+
nameFormat: 'full' | 'abbreviated' | 'lastOnly';
|
|
20
|
+
cellStyle: 'detailed' | 'compact';
|
|
21
|
+
}
|
|
22
|
+
export interface ScheduleCellConfigOptions {
|
|
23
|
+
initial?: Partial<ScheduleCellDisplayConfig>;
|
|
24
|
+
onApply?: (config: ScheduleCellDisplayConfig) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare function openScheduleCellConfigModal(options?: ScheduleCellConfigOptions): {
|
|
27
|
+
setContent: ({ content: newContent, config }: {
|
|
28
|
+
content?: string | HTMLElement | ((container: HTMLElement) => any);
|
|
29
|
+
config?: import('../../types').ModalConfig;
|
|
30
|
+
}) => void;
|
|
31
|
+
setButtons: ({ buttons, config }: {
|
|
32
|
+
buttons: import('../../types').ModalButton[];
|
|
33
|
+
config?: import('../../types').ModalConfig;
|
|
34
|
+
}) => void;
|
|
35
|
+
update: ({ content: newContent, buttons, title, config: newConfig, onClose }: {
|
|
36
|
+
content?: string | HTMLElement | ((container: HTMLElement) => any);
|
|
37
|
+
buttons?: import('../../types').ModalButton[];
|
|
38
|
+
title?: string;
|
|
39
|
+
config?: import('../../types').ModalConfig;
|
|
40
|
+
onClose?: (params: {
|
|
41
|
+
content?: any;
|
|
42
|
+
}) => void;
|
|
43
|
+
}) => void;
|
|
44
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface SelectItemParams {
|
|
2
|
+
title: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
options: SelectItemOption[];
|
|
5
|
+
selectionLimit?: number;
|
|
6
|
+
/** Factory to create a selection table. If not provided, a simple list is used. */
|
|
7
|
+
createTable?: (config: {
|
|
8
|
+
anchorId: string;
|
|
9
|
+
data: any[];
|
|
10
|
+
selectionLimit?: number;
|
|
11
|
+
onSelected: (value: any[]) => void;
|
|
12
|
+
}) => {
|
|
13
|
+
table: any;
|
|
14
|
+
destroy?: () => void;
|
|
15
|
+
};
|
|
16
|
+
/** Factory to create a search filter function for the table. */
|
|
17
|
+
createFilter?: (table: any) => (value: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface SelectItemOption {
|
|
20
|
+
label: string;
|
|
21
|
+
onClick?: () => void;
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
export declare function selectItem(params: SelectItemParams): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface NotesToolbarOptions {
|
|
2
|
+
onBold?: () => void;
|
|
3
|
+
onItalic?: () => void;
|
|
4
|
+
onUnderline?: () => void;
|
|
5
|
+
onStrike?: () => void;
|
|
6
|
+
onHeading?: (level: number | false) => void;
|
|
7
|
+
onColor?: (color: string) => void;
|
|
8
|
+
onBackground?: (color: string) => void;
|
|
9
|
+
onBulletList?: () => void;
|
|
10
|
+
onOrderedList?: () => void;
|
|
11
|
+
onAlign?: (align: string) => void;
|
|
12
|
+
onBlockquote?: () => void;
|
|
13
|
+
onCodeBlock?: () => void;
|
|
14
|
+
onLink?: (url: string) => void;
|
|
15
|
+
onVideo?: (url: string) => void;
|
|
16
|
+
onClearFormatting?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function notesToolbar(options?: NotesToolbarOptions): HTMLElement;
|
|
19
|
+
export declare function updateToolbarState(toolbar: HTMLElement, activeMap: Record<string, boolean>): void;
|
|
20
|
+
export declare function updateHeadingSelect(toolbar: HTMLElement, level: number | false): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PolicyCatalogStore } from '../engine/policyCatalogStore';
|
|
2
|
+
import { PolicyCatalogConfig } from '../types';
|
|
3
|
+
export declare class PolicyCatalogControl {
|
|
4
|
+
private readonly store;
|
|
5
|
+
private readonly layout;
|
|
6
|
+
private readonly editorShell;
|
|
7
|
+
private readonly unsubscribe;
|
|
8
|
+
private currentEditor;
|
|
9
|
+
private container;
|
|
10
|
+
constructor(config: PolicyCatalogConfig);
|
|
11
|
+
render(container: HTMLElement): void;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
getStore(): PolicyCatalogStore;
|
|
14
|
+
private handleSelectPolicy;
|
|
15
|
+
private mountEditorForSelection;
|
|
16
|
+
private syncEditorFromStore;
|
|
17
|
+
private destroyCurrentEditor;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PolicyCatalogItem, CatalogGroupBy } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Filter catalog items by search query.
|
|
4
|
+
* Matches against name, policyType label, description, and source.
|
|
5
|
+
*/
|
|
6
|
+
export declare function filterPolicyCatalog(catalog: PolicyCatalogItem[], searchQuery: string): PolicyCatalogItem[];
|
|
7
|
+
/**
|
|
8
|
+
* Group catalog items by type or source.
|
|
9
|
+
* Returns a Map with stable group ordering.
|
|
10
|
+
*/
|
|
11
|
+
export declare function groupPolicyCatalog(catalog: PolicyCatalogItem[], groupBy: CatalogGroupBy): Map<string, PolicyCatalogItem[]>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PolicyTypeMeta, PolicyTypeGroup } from '../types';
|
|
2
|
+
export declare const POLICY_TYPE_SCHEDULING = "scheduling";
|
|
3
|
+
export declare const POLICY_TYPE_SCORING = "scoring";
|
|
4
|
+
export declare const POLICY_TYPE_SEEDING = "seeding";
|
|
5
|
+
export declare const POLICY_TYPE_DRAWS = "draws";
|
|
6
|
+
export declare const POLICY_TYPE_AVOIDANCE = "avoidance";
|
|
7
|
+
export declare const POLICY_TYPE_FEED_IN = "feedIn";
|
|
8
|
+
export declare const POLICY_TYPE_PROGRESSION = "progression";
|
|
9
|
+
export declare const POLICY_TYPE_ROUND_NAMING = "roundNaming";
|
|
10
|
+
export declare const POLICY_TYPE_POSITION_ACTIONS = "positionActions";
|
|
11
|
+
export declare const POLICY_TYPE_MATCHUP_ACTIONS = "matchUpActions";
|
|
12
|
+
export declare const POLICY_TYPE_ROUND_ROBIN_TALLY = "roundRobinTally";
|
|
13
|
+
export declare const POLICY_TYPE_RANKING_POINTS = "rankingPoints";
|
|
14
|
+
export declare const POLICY_TYPE_COMPETITIVE_BANDS = "competitiveBands";
|
|
15
|
+
export declare const POLICY_TYPE_VOLUNTARY_CONSOLATION = "voluntaryConsolation";
|
|
16
|
+
export declare const POLICY_TYPE_PARTICIPANT = "participant";
|
|
17
|
+
export declare const POLICY_TYPE_DISPLAY = "display";
|
|
18
|
+
export declare const POLICY_TYPE_AUDIT = "audit";
|
|
19
|
+
export declare const POLICY_TYPE_PRIVACY = "participant";
|
|
20
|
+
export declare const POLICY_TYPE_METADATA: PolicyTypeMeta[];
|
|
21
|
+
/** Lookup metadata by policyType string */
|
|
22
|
+
export declare function getPolicyTypeMeta(policyType: string): PolicyTypeMeta | undefined;
|
|
23
|
+
/** Get empty policy data for a given policy type */
|
|
24
|
+
export declare function getEmptyPolicyData(policyType: string): Record<string, unknown>;
|
|
25
|
+
/** Get all unique group names in display order */
|
|
26
|
+
export declare const POLICY_TYPE_GROUPS: PolicyTypeGroup[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AwardProfileData, TableLayout } from '../types';
|
|
2
|
+
export declare function positionToRoundLabel(position: number): string;
|
|
3
|
+
/**
|
|
4
|
+
* Analyze a profile's finishingPositionRanges to determine the best table layout.
|
|
5
|
+
* Examines all values to find the common shape.
|
|
6
|
+
*/
|
|
7
|
+
export declare function analyzePositionValueShape(ranges: Record<string, any> | undefined): TableLayout;
|
|
8
|
+
/**
|
|
9
|
+
* Resolve a PositionValue for display in a specific context.
|
|
10
|
+
* Returns the numeric value or undefined if not applicable.
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolvePositionValue(value: any, context?: {
|
|
13
|
+
level?: number;
|
|
14
|
+
flight?: number;
|
|
15
|
+
drawSize?: number;
|
|
16
|
+
}): number | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Generate a one-line summary for a collapsed profile card.
|
|
19
|
+
*/
|
|
20
|
+
export declare function profileSummaryText(profile: AwardProfileData): string;
|
|
21
|
+
export interface ScopeBadge {
|
|
22
|
+
label: string;
|
|
23
|
+
intent: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Extract displayable scope badges from an award profile.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getProfileScopeBadges(profile: AwardProfileData): ScopeBadge[];
|
|
29
|
+
/**
|
|
30
|
+
* Format a number for display in a points table cell.
|
|
31
|
+
*/
|
|
32
|
+
export declare function formatPointValue(value: number | undefined): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ranking Points Editor — Public API
|
|
3
|
+
*/
|
|
4
|
+
export { RankingPointsEditorControl, createRankingPointsEditor } from './rankingPointsEditorControl';
|
|
5
|
+
export { RankingPointsEditorStore } from './rankingPointsEditorStore';
|
|
6
|
+
export { buildRankingPointsEditorPanel } from './rankingPointsEditorPanel';
|
|
7
|
+
export { analyzePositionValueShape, resolvePositionValue, positionToRoundLabel, formatPointValue, getProfileScopeBadges, profileSummaryText } from './domain/rankingProjections';
|
|
8
|
+
export { emptyRankingPolicy } from './domain/emptyRankingPolicy';
|
|
9
|
+
export type { RankingPolicyData, RankingPointsEditorState, RankingEditorSection, RankingPointsEditorChangeListener, RankingPointsEditorConfig, AwardProfileData, QualityWinProfileData, AggregationRulesData, TableLayout } from './types';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RankingPointsEditorStore } from './rankingPointsEditorStore';
|
|
2
|
+
import { RankingPolicyData, RankingPointsEditorConfig } from './types';
|
|
3
|
+
import { PolicyEditorInstance as CatalogEditorInstance } from '../../types';
|
|
4
|
+
export declare class RankingPointsEditorControl {
|
|
5
|
+
private readonly store;
|
|
6
|
+
private readonly panel;
|
|
7
|
+
private readonly unsubscribe;
|
|
8
|
+
private container;
|
|
9
|
+
constructor(config: RankingPointsEditorConfig);
|
|
10
|
+
render(container: HTMLElement): void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
getData(): RankingPolicyData;
|
|
13
|
+
setData(data: RankingPolicyData): void;
|
|
14
|
+
getStore(): RankingPointsEditorStore;
|
|
15
|
+
/**
|
|
16
|
+
* Create as a PolicyEditorInstance for embedding in the catalog editor shell.
|
|
17
|
+
*/
|
|
18
|
+
static createEditorInstance(config: {
|
|
19
|
+
initialData: Record<string, unknown>;
|
|
20
|
+
onChange: (data: Record<string, unknown>) => void;
|
|
21
|
+
readonly?: boolean;
|
|
22
|
+
}): CatalogEditorInstance;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Convenience factory for standalone use.
|
|
26
|
+
*/
|
|
27
|
+
export declare function createRankingPointsEditor(config: RankingPointsEditorConfig, container: HTMLElement): RankingPointsEditorControl;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RankingPointsEditorStore } from './rankingPointsEditorStore';
|
|
2
|
+
import { RankingPointsEditorState, RankingPointsEditorConfig } from './types';
|
|
3
|
+
interface PanelResult {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update: (state: RankingPointsEditorState) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function buildRankingPointsEditorPanel(store: RankingPointsEditorStore, _config: RankingPointsEditorConfig): PanelResult;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { RankingPolicyData, RankingPointsEditorState, RankingEditorSection, RankingPointsEditorChangeListener, RankingPointsEditorConfig } from './types';
|
|
2
|
+
export declare class RankingPointsEditorStore {
|
|
3
|
+
private state;
|
|
4
|
+
private readonly listeners;
|
|
5
|
+
private readonly config;
|
|
6
|
+
constructor(config: RankingPointsEditorConfig);
|
|
7
|
+
getState(): RankingPointsEditorState;
|
|
8
|
+
getData(): RankingPolicyData;
|
|
9
|
+
setData(data: RankingPolicyData): void;
|
|
10
|
+
toggleSection(sectionId: RankingEditorSection): void;
|
|
11
|
+
toggleProfile(index: number): void;
|
|
12
|
+
setProfileFilter(filter: string): void;
|
|
13
|
+
setPolicyName(name: string): void;
|
|
14
|
+
setPolicyVersion(version: string): void;
|
|
15
|
+
setValidDateRange(field: 'startDate' | 'endDate', value: string): void;
|
|
16
|
+
setGlobalFlag(key: 'requireWinForPoints' | 'requireWinFirstRound', value: boolean): void;
|
|
17
|
+
setDoublesAttribution(value: string): void;
|
|
18
|
+
setCategoryResolution(value: string): void;
|
|
19
|
+
addProfile(): void;
|
|
20
|
+
removeProfile(index: number): void;
|
|
21
|
+
duplicateProfile(index: number): void;
|
|
22
|
+
moveProfile(fromIndex: number, toIndex: number): void;
|
|
23
|
+
setProfileName(index: number, name: string): void;
|
|
24
|
+
setProfileFlag(index: number, key: 'requireWinForPoints' | 'requireWinFirstRound', value: boolean | undefined): void;
|
|
25
|
+
setFlatPositionPoints(profileIndex: number, position: number, value: number): void;
|
|
26
|
+
addPositionRow(profileIndex: number, position: number): void;
|
|
27
|
+
removePositionRow(profileIndex: number, position: number): void;
|
|
28
|
+
setPointsPerWin(profileIndex: number, value: number | undefined): void;
|
|
29
|
+
addBonusPoint(profileIndex: number): void;
|
|
30
|
+
removeBonusPoint(profileIndex: number, bonusIndex: number): void;
|
|
31
|
+
setBonusPointPositions(profileIndex: number, bonusIndex: number, positions: number[]): void;
|
|
32
|
+
setBonusPointValue(profileIndex: number, bonusIndex: number, value: number): void;
|
|
33
|
+
setLevelPositionPoints(profileIndex: number, position: number, level: number, value: number): void;
|
|
34
|
+
addLevel(profileIndex: number, level: number): void;
|
|
35
|
+
removeLevel(profileIndex: number, level: number): void;
|
|
36
|
+
setProfileScope(profileIndex: number, field: string, values: any[]): void;
|
|
37
|
+
setProfileField(profileIndex: number, field: string, value: any): void;
|
|
38
|
+
addQualityWinProfile(): void;
|
|
39
|
+
removeQualityWinProfile(index: number): void;
|
|
40
|
+
setQualityWinField(index: number, field: string, value: any): void;
|
|
41
|
+
addQualityWinRange(profileIndex: number): void;
|
|
42
|
+
removeQualityWinRange(profileIndex: number, rangeIndex: number): void;
|
|
43
|
+
setQualityWinRange(profileIndex: number, rangeIndex: number, field: 'rankRange' | 'value', value: any): void;
|
|
44
|
+
setAggregationField(field: string, value: any): void;
|
|
45
|
+
addTiebreakCriterion(criterion: string): void;
|
|
46
|
+
removeTiebreakCriterion(index: number): void;
|
|
47
|
+
addCountingBucket(): void;
|
|
48
|
+
removeCountingBucket(index: number): void;
|
|
49
|
+
setCountingBucketField(index: number, field: string, value: any): void;
|
|
50
|
+
subscribe(listener: RankingPointsEditorChangeListener): () => void;
|
|
51
|
+
private commitDraft;
|
|
52
|
+
private emit;
|
|
53
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
2
|
+
import { RankingPointsEditorState } from '../types';
|
|
3
|
+
export declare function buildAggregationSection(store: RankingPointsEditorStore): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildBonusPointsRow(store: RankingPointsEditorStore, profileIndex: number): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildMetadataSection(store: RankingPointsEditorStore): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildPerWinPointsRow(store: RankingPointsEditorStore, profileIndex: number): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildPositionPointsTable(store: RankingPointsEditorStore, profileIndex: number): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildProfileCard(store: RankingPointsEditorStore, profileIndex: number): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildQualityWinSection(store: RankingPointsEditorStore): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RankingPointsEditorState } from '../types';
|
|
2
|
+
import { RankingPointsEditorStore } from '../rankingPointsEditorStore';
|
|
3
|
+
export declare function buildScopeEditor(store: RankingPointsEditorStore, profileIndex: number): {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
update(state: RankingPointsEditorState): void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const reSectionStyle: () => string;
|
|
2
|
+
export declare const reSectionHeaderStyle: () => string;
|
|
3
|
+
export declare const reSectionChevronStyle: () => string;
|
|
4
|
+
export declare const reSectionCountStyle: () => string;
|
|
5
|
+
export declare const reSectionBodyStyle: () => string;
|
|
6
|
+
export declare const reFieldRowStyle: () => string;
|
|
7
|
+
export declare const reFieldLabelStyle: () => string;
|
|
8
|
+
export declare const reFieldInputStyle: () => string;
|
|
9
|
+
export declare const reFieldInputTextStyle: () => string;
|
|
10
|
+
export declare const reFieldInputNumberStyle: () => string;
|
|
11
|
+
export declare const reFieldInputDateStyle: () => string;
|
|
12
|
+
export declare const reFieldSelectStyle: () => string;
|
|
13
|
+
export declare const reCheckboxRowStyle: () => string;
|
|
14
|
+
export declare const rePointsInputStyle: () => string;
|
|
15
|
+
export declare const reProfileCardStyle: () => string;
|
|
16
|
+
export declare const reProfileHeaderStyle: () => string;
|
|
17
|
+
export declare const reProfileNameInputStyle: () => string;
|
|
18
|
+
export declare const reProfileBodyStyle: () => string;
|
|
19
|
+
export declare const reProfileActionsStyle: () => string;
|
|
20
|
+
export declare const reIconBtnStyle: () => string;
|
|
21
|
+
export declare const reIconBtnDangerStyle: () => string;
|
|
22
|
+
export declare const reAddBtnStyle: () => string;
|
|
23
|
+
export declare const reRemoveBtnStyle: () => string;
|
|
24
|
+
export declare const reEmptyStyle: () => string;
|
|
25
|
+
export declare const reEditorStyle: () => string;
|