courthive-components 6.9.0 → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/inline-scoring/inlineScoringManager.d.ts +5 -0
- package/dist/components/inline-scoring/inlineScoringTypes.d.ts +1 -0
- package/dist/components/matchUpFormat/machine/edits.d.ts +8 -1
- package/dist/components/schedule-page/controller/schedulePageControl.d.ts +6 -1
- package/dist/components/schedule-page/index.d.ts +2 -2
- package/dist/components/schedule-page/types.d.ts +14 -0
- package/dist/components/schedule-page/ui/floatingInspector.d.ts +17 -0
- package/dist/components/schedule-page/ui/schedulePageLayout.d.ts +8 -5
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +7512 -7310
- package/dist/courthive-components.umd.js +50 -50
- package/dist/helpers/createTypeAhead.d.ts +8 -0
- package/dist/helpers/escapeHtml.d.ts +7 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -35,6 +35,14 @@ type CreateTypeAheadParams = {
|
|
|
35
35
|
* Exported for unit testing; the wiring below is the only production caller.
|
|
36
36
|
*/
|
|
37
37
|
export declare function resolveCurrentLabel(list: any[], code?: string): string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Awesomplete's default item renderer builds each suggestion with innerHTML (to wrap matches in
|
|
40
|
+
* <mark>), so a suggestion label holding markup — a participant name, say — would run as script.
|
|
41
|
+
* This renders the same structure from text nodes. Awesomplete calls it with itself as `this`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function typeAheadItem(this: {
|
|
44
|
+
count?: number;
|
|
45
|
+
} | undefined, text: unknown, input: string, itemId: number): HTMLLIElement;
|
|
38
46
|
export declare function createTypeAhead({ list, element, callback, currentCode, currentValue, warnUnresolved, withCatchTab, onChange, onSelectComplete, listProvider }: CreateTypeAheadParams): {
|
|
39
47
|
typeAhead: any;
|
|
40
48
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Escapes a value for interpolation into HTML text or a quoted attribute. Record data (names,
|
|
3
|
+
* notes, addresses) comes from servers, integrators and imported files, so it must never be
|
|
4
|
+
* parsed as markup. Prefer `textContent` where an element holds only the value; use this where
|
|
5
|
+
* the value sits inside a larger HTML template.
|
|
6
|
+
*/
|
|
7
|
+
export declare function escapeHtml(value: unknown): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export { renderMenu } from './components/forms/renderMenu';
|
|
|
83
83
|
export { validator } from './components/forms/renderValidator';
|
|
84
84
|
export * as validators from './validators';
|
|
85
85
|
export { DrawStateManager } from './helpers/drawStateManager';
|
|
86
|
+
export { escapeHtml } from './helpers/escapeHtml';
|
|
86
87
|
export type { DrawStateAdapter, DrawAssignmentMethod, DrawAssignmentParams, DrawAssignmentResult } from './helpers/drawStateManager';
|
|
87
88
|
export type { RenderCallback } from './helpers/drawStateManager';
|
|
88
89
|
export { wrapSearchWithClear, syncClearVisibility } from './helpers/searchClearButton';
|
|
@@ -112,7 +113,7 @@ export { TopologyBuilderControl, TopologyStore, topologyToDrawOptions, validateT
|
|
|
112
113
|
export type { TopologyNode, TopologyEdge, TopologyState, TopologyChangeListener, TopologyBuilderConfig, TopologyTemplate, DrawOptionsResult, ValidationError } from './components/topology-builder';
|
|
113
114
|
export type { SchedulingProfile, ScheduleDay, VenueSchedule, RoundProfile, RoundSegment, VenueInfo, CatalogRoundItem, CatalogGroupBy, RoundKey, RoundLocator, DragPayload, DropTarget, DropResult, Severity, ValidationCode, FixAction, ValidationResult, IssueIndex, ProfileStoreState, SchedulingProfileConfig, AvailabilityAdapter, DemandAdapter, DependencyAdapter, UIPanel } from './components/scheduling-profile';
|
|
114
115
|
export { SchedulePageControl, SchedulePageStore, createSchedulePage, filterMatchUpCatalog, groupMatchUpCatalog, computeBaseRoundByEvent, isCompletedStatus, buildScheduleIssueIndex, matchUpLabel, participantLabel, matchUpSearchKey, memberNamesLabel, buildScheduleDateStrip, buildScheduleIssuesPanel, buildMatchUpCatalog, buildMatchUpCard, applyRelatedHighlight, clearRelatedHighlight, RELATED_HIGHLIGHT, buildScheduleInspectorPanel, buildCourtGridSlot, buildSchedulePageLayout, buildScheduleGridCell, mapMatchUpToCellData, DEFAULT_SCHEDULE_CELL_CONFIG, activateScheduleCellTypeAhead, buildActiveStripPanel, computeActiveStrip, computeActiveStripCell, computeReschedulePlacements } from './components/schedule-page';
|
|
115
|
-
export type { CatalogMatchUpItem, CatalogFilters, MatchUpSide, ScheduleDate, ScheduleIssue, ScheduleIssueSeverity, ScheduleIssueIndex, ScheduleIssueCounts, MatchUpCatalogGroupBy, ScheduledBehavior, SchedulingMode, PendingScheduleAction, CatalogMatchUpDragPayload, GridMatchUpDragPayload, SchedulePageDragPayload, SchedulePageConfig, SchedulePageCatalogState, SchedulePageState, SchedulePageChangeListener, ScheduleCellConfig, ScheduleCellField, ParticipantDisplayConfig, ScheduleCellData, ScheduleCellSide, ScheduleCellTypeAheadOptions, ScheduleInspectorPanelOptions, CardTimeStatus, MatchUpCardCallbacks, MatchUpCardOptions, ActiveStripPanel, ActiveStripPanelCallbacks, ActiveStripPanelData, ActiveStripPanelOptions, ActiveStripCourtMeta, ActiveStripCourtBlock, ActiveStripUpcomingBlock, ActiveStripCell, ActiveStripCellState, ActiveStripGrid, ActiveStripGridMatchUp, RescheduleCandidate, ReschedulePlacement } from './components/schedule-page';
|
|
116
|
+
export type { CatalogPlacement, InspectorPlacement, InspectorGeometry, CatalogMatchUpItem, CatalogFilters, MatchUpSide, ScheduleDate, ScheduleIssue, ScheduleIssueSeverity, ScheduleIssueIndex, ScheduleIssueCounts, MatchUpCatalogGroupBy, ScheduledBehavior, SchedulingMode, PendingScheduleAction, CatalogMatchUpDragPayload, GridMatchUpDragPayload, SchedulePageDragPayload, SchedulePageConfig, SchedulePageCatalogState, SchedulePageState, SchedulePageChangeListener, ScheduleCellConfig, ScheduleCellField, ParticipantDisplayConfig, ScheduleCellData, ScheduleCellSide, ScheduleCellTypeAheadOptions, ScheduleInspectorPanelOptions, CardTimeStatus, MatchUpCardCallbacks, MatchUpCardOptions, ActiveStripPanel, ActiveStripPanelCallbacks, ActiveStripPanelData, ActiveStripPanelOptions, ActiveStripCourtMeta, ActiveStripCourtBlock, ActiveStripUpcomingBlock, ActiveStripCell, ActiveStripCellState, ActiveStripGrid, ActiveStripGridMatchUp, RescheduleCandidate, ReschedulePlacement } from './components/schedule-page';
|
|
116
117
|
export { createCompositionEditor } from './components/composition-editor/compositionEditor';
|
|
117
118
|
export { CompositionEditorStore } from './components/composition-editor/compositionEditorStore';
|
|
118
119
|
export type { CompositionEditorConfig, SavedComposition, CompositionEditorState, CompositionEditorListener, SectionId as CompositionEditorSectionId, EditorPanel as CompositionEditorPanel } from './components/composition-editor/compositionEditorTypes';
|