@seatsio/seatsio-types 2.8.0 → 2.9.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/index.d.ts +17 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -359,6 +359,22 @@ export interface EventManagerSelectModeConfigOptions extends BaseEventManagerCon
|
|
|
359
359
|
tooltipContents?: (object: object) => string;
|
|
360
360
|
unavailableObjectsSelectable?: boolean;
|
|
361
361
|
selectableObjects?: string[];
|
|
362
|
+
/**
|
|
363
|
+
* @param object
|
|
364
|
+
* @param defaultIcon
|
|
365
|
+
* @param extraConfig
|
|
366
|
+
* @returns A string with the name of a FontAwesome v4.7.0 icon. {@link https://fontawesome.com/v4.7.0/icons/ See the full list of available icons}.
|
|
367
|
+
* For more details, {@link https://docs.seats.io/docs/event-manager/modes/select#objecticon see the documentation}.
|
|
368
|
+
*/
|
|
369
|
+
objectIcon?: (object: SelectableObjectProps, defaultIcon: string | null, extraConfig?: ExtraConfig) => string;
|
|
370
|
+
objectTooltip?: {
|
|
371
|
+
showOrderId?: boolean;
|
|
372
|
+
showTechnicalLabel?: boolean;
|
|
373
|
+
showLabel?: boolean;
|
|
374
|
+
showCategory?: boolean;
|
|
375
|
+
showChannel?: boolean;
|
|
376
|
+
showActionHint?: boolean;
|
|
377
|
+
};
|
|
362
378
|
}
|
|
363
379
|
export interface EventManagerStaticModeConfigOptions extends BaseEventManagerConfigOptions, WithEvents {
|
|
364
380
|
mode: 'static';
|
|
@@ -862,7 +878,7 @@ export interface SeatingChart {
|
|
|
862
878
|
zoomToObjects: (labels: string[]) => Promise<void>;
|
|
863
879
|
zoomToSelectedObjects: () => Promise<void>;
|
|
864
880
|
}
|
|
865
|
-
export interface EventManager extends Pick<SeatingChart, 'clearSelection' | 'deselectCategories' | 'deselectObjects' | 'destroy' | 'findObject' | 'listCategories' | 'listSelectedObjects' | 'render' | 'rerender' | 'resetView' | 'selectCategories' | 'selectObjects' | 'zoomToObjects' | 'zoomToSection' | 'zoomToSelectedObjects' | 'pulse' | 'unpulse'> {
|
|
881
|
+
export interface EventManager extends Pick<SeatingChart, 'clearSelection' | 'deselectCategories' | 'deselectObjects' | 'destroy' | 'findObject' | 'listCategories' | 'listSelectedObjects' | 'selectedObjects' | 'render' | 'rerender' | 'resetView' | 'selectCategories' | 'selectObjects' | 'zoomToObjects' | 'zoomToSection' | 'zoomToSelectedObjects' | 'pulse' | 'unpulse'> {
|
|
866
882
|
setHighlightedObjects(strings: string[]): void;
|
|
867
883
|
clearHighlightedObjects(): void;
|
|
868
884
|
setFilteredSection(label: string): void;
|