@wscsports/blaze-web-sdk 0.23.0 → 0.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wscsports/blaze-web-sdk",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -238,6 +238,7 @@ export declare class MomentEvent {
238
238
  'cc_state': string;
239
239
  'content_extra_info': string;
240
240
  'custom_action_button_name': string;
241
+ 'follow_state': string | null;
241
242
  }
242
243
  export declare class WidgetEvent {
243
244
  'page_view_id': string;
@@ -460,6 +461,14 @@ export declare class EventsListener {
460
461
  removeAll(): void;
461
462
  }
462
463
 
464
+ export declare class FollowingsManager {
465
+ private static followedEntities;
466
+ static isFollowing(entityId: string): boolean;
467
+ static initialize(followedList: string[]): void;
468
+ static follow(entityId: string): void;
469
+ static unfollow(entityId: string): void;
470
+ }
471
+
463
472
  export declare class FullscreenManager {
464
473
  private isFullscreen;
465
474
  private isProgrammaticChange;
@@ -496,6 +505,7 @@ export * from './throttle';
496
505
  export * from './url';
497
506
  export * from './visiblity-manager.class';
498
507
  export * from './accessibility';
508
+ export * from './followings-manager.class';
499
509
 
500
510
  export interface IBlazeWidgetLabel {
501
511
  readonly _type: 'BlazeWidgetLabel';
@@ -545,13 +555,15 @@ export type EventHandler<E extends Event> = (event: E) => void;
545
555
  export declare function throttle<F extends (...args: any[]) => void>(func: F, _delay: number): (...args: Parameters<F>) => Promise<void>;
546
556
 
547
557
  export declare class UrlRotator {
548
- private endpoints;
558
+ private baseUrls;
549
559
  private currentIndex;
550
560
  private fallbackUrl;
551
- constructor(fallbackUrl?: string);
552
- initialize(endpointUrls?: string): void;
561
+ private apiVersion;
562
+ private protocol;
563
+ constructor(options: IUrlRotatorOptions);
564
+ initialize(urlRotationConfig?: IUrlRotationConfiguration): void;
553
565
  getNext(): string;
554
- private parseEndpoints;
566
+ private parseBaseUrls;
555
567
  }
556
568
 
557
569
  interface UpdateLocationContentHashParams {
@@ -1073,10 +1085,53 @@ export declare class BlazeCtaButton extends BaseWidget {
1073
1085
  clearAllAnimations(): void;
1074
1086
  }
1075
1087
 
1088
+ export declare class BlazeFollowButton extends BaseWidget {
1089
+ private playerStyle;
1090
+ private containerEl;
1091
+ private avatarEl;
1092
+ private chipEl;
1093
+ private chipContentWrapperEl;
1094
+ private checkMarkIconEl;
1095
+ private plusIconEl;
1096
+ private textEl;
1097
+ private _isFollowing;
1098
+ private _entityId?;
1099
+ private _entityType?;
1100
+ private _avatarUrl?;
1101
+ private _sourceId?;
1102
+ private _sourceContentType?;
1103
+ onToggle?: (e: Event, data: FollowingSharedContext) => void;
1104
+ constructor(playerStyle: MomentPlayerStyle | undefined);
1105
+ connectedCallback(): void;
1106
+ disconnectedCallback(): void;
1107
+ setEntity(id: string | undefined, type?: BlazeFollowEntityType): void;
1108
+ setAvatar(url: string | undefined): void;
1109
+ setSource(sourceId: string, contentType: ContentType): void;
1110
+ get entityId(): string | undefined;
1111
+ get entityType(): BlazeFollowEntityType | undefined;
1112
+ get isFollowed(): boolean;
1113
+ private handleClick;
1114
+ private handleStateChange;
1115
+ private updateAriaLabel;
1116
+ private onMouseEnter;
1117
+ private onMouseLeave;
1118
+ private setupContainer;
1119
+ private handlePressKeyboard;
1120
+ private setupAvatar;
1121
+ private setupChip;
1122
+ private setupIcons;
1123
+ private updateIconVisibility;
1124
+ private updateIconColors;
1125
+ private applyStateToUi;
1126
+ setAriaLabel(label: string): void;
1127
+ private updateAvatarBackground;
1128
+ }
1129
+
1076
1130
  export * from './share-button';
1077
1131
  export * from './button';
1078
1132
  export * from './cta-button';
1079
1133
  export * from './call-to-action.button';
1134
+ export * from './follow-button';
1080
1135
 
1081
1136
  export type ShareButtonType = 'copy-link' | 'linked-in';
1082
1137
  type AttributeType = 'size' | 'button-type';
@@ -1151,7 +1206,9 @@ export declare enum MomentAction {
1151
1206
  PlaybackInitialStart = "playback_initial_start",
1152
1207
  ClosedCaptionsOff = "cc_off",
1153
1208
  ClosedCaptionsOn = "cc_on",
1154
- CustomActionButtonClick = "custom_action_button_click"
1209
+ CustomActionButtonClick = "custom_action_button_click",
1210
+ Follow = "follow",
1211
+ Unfollow = "unfollow"
1155
1212
  }
1156
1213
  export declare enum VideoAction {
1157
1214
  VideoStart = "video_start",
@@ -1236,6 +1293,8 @@ export declare const ASPECT_RATIO_16_9_STRING = "16 / 9";
1236
1293
  export declare const ASPECT_RATIO_9_16_STRING = "9 / 16";
1237
1294
  export declare const ASPECT_RATIO_4_3_STRING = "4 / 3";
1238
1295
 
1296
+ export declare const FOLLOW_BUTTON_STATE_CHANGE = "follow-button-state-change";
1297
+
1239
1298
  export * from './accessibility.constants';
1240
1299
  export * from './ads.constants';
1241
1300
  export * from './analytics.constants';
@@ -1352,10 +1411,10 @@ export interface AppConfiguration {
1352
1411
  analyticsAddEntitiesInfo?: string;
1353
1412
  configRefetchIntervalInMinutes?: number;
1354
1413
  enableClientPlaybackModification?: 'true' | 'false' | string;
1355
- analyticsEndpointUrls?: string;
1356
1414
  };
1357
1415
  recommendationsConfigurations?: IRecommendationsConfigurations;
1358
1416
  sdkLoggerConfigurations?: ILoggerConfiguration;
1417
+ analyticsLoadBalancerConfiguration?: IUrlRotationConfiguration;
1359
1418
  }
1360
1419
 
1361
1420
  export type ContentExtraInfo = {
@@ -1370,6 +1429,14 @@ export type ContentEntities = {
1370
1429
  teamId: string | null;
1371
1430
  playerId: string | null;
1372
1431
  };
1432
+ export type BlazeFollowEntity = {
1433
+ storageFile: {
1434
+ url: string;
1435
+ fileSize: number | null;
1436
+ };
1437
+ entityType: BlazeFollowEntityType;
1438
+ entityId: string;
1439
+ };
1373
1440
  export interface IContent {
1374
1441
  id: string;
1375
1442
  title: string;
@@ -1384,6 +1451,7 @@ export interface IContent {
1384
1451
  description?: string;
1385
1452
  closedCaptions?: IClosedCaption[];
1386
1453
  extraInfo: ExtraInfo;
1454
+ followEntities?: BlazeFollowEntity[];
1387
1455
  }
1388
1456
  export interface IBlazeContent {
1389
1457
  id: string;
@@ -1646,7 +1714,8 @@ export interface IBlazeVideo extends IBlazeContent {
1646
1714
  }
1647
1715
 
1648
1716
  export declare enum ActionHandlerId {
1649
- AddCustomActionButton = "addCustomActionButton"
1717
+ AddCustomActionButton = "addCustomActionButton",
1718
+ AddFollowButton = "addFollowButton"
1650
1719
  }
1651
1720
 
1652
1721
  export declare enum ButtonState {
@@ -1776,6 +1845,7 @@ export interface WidgetsTagNameMap {
1776
1845
  'blaze-button': BlazeButton;
1777
1846
  'blaze-button-cta': BlazeCtaButton;
1778
1847
  'blaze-call-to-action-button': BlazeCallToActionButton;
1848
+ 'blaze-follow-button': BlazeFollowButton;
1779
1849
  'blaze-typography': BlazeTypography;
1780
1850
  'blaze-timer': BlazeTimer;
1781
1851
  }
@@ -1822,6 +1892,7 @@ interface WidgetsTagNameOptionsMap {
1822
1892
  'blaze-button': {};
1823
1893
  'blaze-button-cta': {};
1824
1894
  'blaze-call-to-action-button': {};
1895
+ 'blaze-follow-button': {};
1825
1896
  'blaze-typography': {};
1826
1897
  }
1827
1898
  export declare abstract class WidgetsFactory {
@@ -1881,6 +1952,7 @@ export declare const closedCaptionsOffIconSvg = "data:image/svg+xml;base64,PHN2Z
1881
1952
  export declare const shareVideosIconSvg = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNjgwLTgwcS01MCAwLTg1LTM1dC0zNS04NXEwLTYgMy0yOEwyODItMzkycS0xNiAxNS0zNyAyMy41dC00NSA4LjVxLTUwIDAtODUtMzV0LTM1LTg1cTAtNTAgMzUtODV0ODUtMzVxMjQgMCA0NSA4LjV0Mz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geTI9IjMuOTM0MDNlLTA4IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjgiLz4KICAgICAgICA8bGluZSB5MT0iNS45NTcwNiIgeDI9IjEyIiB5Mj0iNS45NTcwNiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS44Ii8+CiAgICAgIDwvc3ZnPg==";
1884
1956
 
1885
1957
  export interface AccessibilityContext {
1886
1958
  trigger: 'user' | 'auto' | 'navigation' | 'modal';
@@ -1924,6 +1996,7 @@ export interface IContentWidgetButtons {
1924
1996
  prevStory?: HTMLElement;
1925
1997
  nextMoment?: HTMLElement;
1926
1998
  prevMoment?: HTMLElement;
1999
+ follow?: HTMLElement;
1927
2000
  }
1928
2001
  export interface IContentWidgetData {
1929
2002
  id: string;
@@ -1933,6 +2006,7 @@ export interface IContentWidgetData {
1933
2006
  isLiked?: boolean;
1934
2007
  hasClosedCaptions?: boolean;
1935
2008
  ctaText?: string;
2009
+ isFollowed?: boolean;
1936
2010
  }
1937
2011
  export interface IContentWidgetElements {
1938
2012
  widget: HTMLElement;
@@ -2004,6 +2078,7 @@ export interface IBlazeSDKOptions {
2004
2078
  layoutDirection?: LocaleDirectionType;
2005
2079
  shouldAllowClosedCaptions?: boolean;
2006
2080
  disableAutoLoadingContent?: boolean;
2081
+ followedEntities?: string[];
2007
2082
  }
2008
2083
 
2009
2084
  export interface IButtonPlayerNavigationConfig {
@@ -2075,6 +2150,10 @@ export interface IDrawable {
2075
2150
  render: () => void;
2076
2151
  }
2077
2152
 
2153
+ export interface IFollowingsManager {
2154
+ isFollowing(entityId: string): boolean;
2155
+ }
2156
+
2078
2157
  export interface IHttpResponse<T = any> extends IResponse<T> {
2079
2158
  httpStatus?: number;
2080
2159
  }
@@ -2134,6 +2213,7 @@ export * from './data-source.interface';
2134
2213
  export * from './database.interface';
2135
2214
  export * from './device.interface';
2136
2215
  export * from './drawable.interface';
2216
+ export * from './followings-manager.interface';
2137
2217
  export * from './http-response.interface';
2138
2218
  export * from './icons.interface';
2139
2219
  export * from './logger.interface';
@@ -2145,6 +2225,8 @@ export * from './widget-options.interface';
2145
2225
  export * from './widget-view.interface';
2146
2226
  export * from './item-click-callback.interface';
2147
2227
  export * from './recommendations.interface';
2228
+ export * from './url-rotation-configuration.interface';
2229
+ export * from './url-rotator-options.interface';
2148
2230
  export { default as Observable } from './observable';
2149
2231
 
2150
2232
  export interface ItemClickContext {
@@ -2261,6 +2343,11 @@ export interface IService {
2261
2343
  init: (...args: any[]) => void;
2262
2344
  }
2263
2345
 
2346
+ export interface IUrlRotationConfiguration {
2347
+ export interface IUrlRotatorOptions {
2348
+ apiVersion?: string;
2349
+ }
2350
+
2264
2351
  export interface IWidgetLabelBuilder {
2265
2352
  singleLabel(label: string): BlazeWidgetLabel;
2266
2353
  mustInclude(...labels: Array<string | BlazeWidgetLabel>): BlazeWidgetLabel;
@@ -2477,7 +2564,7 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
2477
2564
  private getContentParamsByLabels;
2478
2565
  private getContentParamsByIds;
2479
2566
  private getContentParamsByRecommendations;
2480
- initializeAnalyticsEndpoints(endpointUrls?: string): void;
2567
+ initializeAnalyticsUrlRotator(analyticsUrlRotationConfig?: IUrlRotationConfiguration): void;
2481
2568
  private getAnalyticsEndpoint;
2482
2569
  }
2483
2570
  export declare const ApiService: ApiServiceClass;
@@ -3262,6 +3349,24 @@ export type BlazeMomentsPlayerCtaStyle = {
3262
3349
  fontFamily: string;
3263
3350
  backgroundColor?: string;
3264
3351
  borderColor?: string;
3352
+ isVisible: boolean;
3353
+ };
3354
+ type BlazeChipFollowStyle = {
3355
+ followedBackgroundColor: string;
3356
+ unfollowedBackgroundColor: string;
3357
+ color: string;
3358
+ };
3359
+ type BlazeAvatarFollowStyle = {
3360
+ borderWidth: string;
3361
+ followedBorderColor: string;
3362
+ unfollowedBorderColor: string;
3363
+ };
3364
+ export type BlazeMomentsPlayerFollowButtonStyle = {
3365
+ isVisible: boolean;
3366
+ variant: BlazeFollowButtonVariant;
3367
+ followEntityTypePriority?: BlazeSelectableEntityType[];
3368
+ avatar: BlazeAvatarFollowStyle;
3369
+ chip: BlazeChipFollowStyle;
3265
3370
  };
3266
3371
  type BlazeMomentsPlayerCTAPositioning = 'CTA_BELLOW_BOTTOM_BUTTONS_BOX' | 'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX';
3267
3372
  type BlazeMomentsPlayerCTAHorizontalAlignment = 'START' | 'CENTER' | 'END' | 'FULL_AVAILABLE_WIDTH';
@@ -3301,6 +3406,7 @@ export interface MomentPlayerStyle {
3301
3406
  contentBoxHorizontalSpacing: string;
3302
3407
  seekBar: BlazeMomentsPlayerSeekBarStyle;
3303
3408
  ctaButton: BlazeMomentsPlayerCtaStyle;
3409
+ followButton: BlazeMomentsPlayerFollowButtonStyle;
3304
3410
  }
3305
3411
  export interface VideoPlayerStyle {
3306
3412
  headingText: BlazeVideosPlayerHeadingTextStyle;
@@ -3333,6 +3439,7 @@ export interface BlazeVideosPlayerCtaStyle {
3333
3439
  visibility: BlazeVideoPlayerVisibility;
3334
3440
  borderColor: string;
3335
3441
  horizontalAlignment: ButtonPositionType;
3442
+ isVisible: boolean;
3336
3443
  }
3337
3444
  export type BlazeVideosPlayerCtaIconStyle = {
3338
3445
  position: 'START';
@@ -3356,6 +3463,7 @@ export interface CtaButtonStyle {
3356
3463
  width: string;
3357
3464
  height: string;
3358
3465
  position: ButtonPositionType;
3466
+ isVisible: boolean;
3359
3467
  icon: IconStyle;
3360
3468
  }
3361
3469
  export interface IconStyle {
@@ -3400,9 +3508,12 @@ export type CustomActionButtonOptions = {
3400
3508
  buttonName: string;
3401
3509
  onClick: (e: MouseEvent | Event, data: ContentEntities | null) => void;
3402
3510
  };
3511
+ export type FollowButtonOptions = {
3512
+ onClick: (e: MouseEvent | Event, data: FollowingSharedContext) => void;
3513
+ };
3403
3514
  export type ActionHandler = {
3404
3515
  actionId: `${ActionHandlerId}`;
3405
- options: CustomActionButtonOptions;
3516
+ options: CustomActionButtonOptions | FollowButtonOptions;
3406
3517
  };
3407
3518
 
3408
3519
  export type AnimationType = 'Growing' | 'Shrinking' | 'BottomToTop';
@@ -3855,6 +3966,16 @@ export type ElementType = WidgetElementType | ComponentsElementType;
3855
3966
 
3856
3967
  export type EnvironmentType = 'prod' | 'uat' | 'local';
3857
3968
 
3969
+ export type BlazeFollowButtonVariant = 'icon' | 'text';
3970
+ export type FollowingSharedContext = {
3971
+ sourceId: string;
3972
+ sourceContentType: ContentType;
3973
+ newFollowingState: boolean;
3974
+ followEntity: Omit<BlazeFollowEntity, 'storageFile'>;
3975
+ };
3976
+ export type BlazeSelectableEntityType = 'Player' | 'Team' | 'Property' | 'FirstAvailable';
3977
+ export type BlazeFollowEntityType = Omit<BlazeSelectableEntityType, 'FirstAvailable'>;
3978
+
3858
3979
  export type StoryGestureType = 'Swipe Up' | 'CTA Click';
3859
3980
  export type MomentGestureType = 'CTA Click';
3860
3981
 
@@ -3905,6 +4026,7 @@ export * from './widget-view-options.type';
3905
4026
  export * from './content-item.type';
3906
4027
  export * from './play-content-options.type';
3907
4028
  export * from './recommendations.type';
4029
+ export * from './follow-button.type';
3908
4030
 
3909
4031
  export type EntitiesType = 'playerId' | 'teamId' | 'gameId' | 'roundId';
3910
4032
  export type PerItemStyleOverrides = Partial<Record<EntitiesType, Array<{
@@ -4068,6 +4190,9 @@ export declare function transformContentsArray(items: ContentItem[]): BlazeConte
4068
4190
  type CountryCode = typeof CountryCodes[number];
4069
4191
  export declare function isValidCountryCode(countryCode: string): countryCode is CountryCode;
4070
4192
 
4193
+ export declare const getFollowEntityByPriority: (followEntityTypePriority?: BlazeSelectableEntityType[], followEntities?: BlazeFollowEntity[]) => BlazeFollowEntity | null;
4194
+ export declare const generateFollowStateForAnalytics: (entityId?: string, entityType?: BlazeFollowEntityType, followingsManager?: IFollowingsManager) => string | null;
4195
+
4071
4196
  export declare function GuardNullOrEmpty(name: string, value: any): void;
4072
4197
  export declare function isStory(content: IContent): content is IStory;
4073
4198
 
@@ -6264,6 +6389,7 @@ export declare class BlazeWidgetMoment extends BlazeWidgetContent {
6264
6389
  headElement: BlazeDiv;
6265
6390
  bodyElement: BlazeDiv;
6266
6391
  ctaButtonElement: BlazeCtaButton;
6392
+ followButtonElement?: BlazeFollowButton;
6267
6393
  isInit: boolean;
6268
6394
  isActive: boolean;
6269
6395
  isMomentPausedByPlayPauseButton: boolean;
@@ -6304,6 +6430,7 @@ export declare class BlazeWidgetMoment extends BlazeWidgetContent {
6304
6430
  configureButtons(): Promise<void>;
6305
6431
  appendButtonsContainer(): void;
6306
6432
  handleMobileSpecificFeatures(): void;
6433
+ configureFollowButton(): void;
6307
6434
  configureContentBody(): void;
6308
6435
  appendBottomContainer(): void;
6309
6436
  private updateLayoutPositioning;
@@ -6341,6 +6468,7 @@ export declare class BlazeWidgetMoment extends BlazeWidgetContent {
6341
6468
  handleOnCustomActionButtonClick(e: MouseEvent, handlerOptions: CustomActionButtonOptions): void;
6342
6469
  handleOnClose(): void;
6343
6470
  handleOnLikeClick(): void;
6471
+ handleFollowAnalytics(data: FollowingSharedContext): void;
6344
6472
  pause(): void;
6345
6473
  resume(): void;
6346
6474
  removeResumeButtonFromScreen(): void;