@wscsports/blaze-web-sdk 0.1.66 → 0.1.68
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 +1 -1
- package/publish/index.d.ts +10 -11
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -160,13 +160,12 @@ export declare class BlazeDrawer extends BaseWidget {
|
|
|
160
160
|
private animateDrawer;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export interface BlazeImageOptions {
|
|
164
|
-
fetchPriority: FetchPriorityType;
|
|
165
|
-
src: string;
|
|
166
|
-
}
|
|
167
163
|
export declare class BlazeImage extends BaseWidget {
|
|
164
|
+
thumbnailElement: HTMLImageElement;
|
|
168
165
|
constructor();
|
|
169
|
-
|
|
166
|
+
load(src: string): void;
|
|
167
|
+
setRatio(ratio: string): void;
|
|
168
|
+
setBorderRadius(radius: string): void;
|
|
170
169
|
}
|
|
171
170
|
|
|
172
171
|
export * from './alert';
|
|
@@ -536,7 +535,7 @@ export interface IWidgetLabelBuilder {
|
|
|
536
535
|
|
|
537
536
|
export type ContentType = 'story';
|
|
538
537
|
export interface IWidgetViewOptionsBase {
|
|
539
|
-
orderType
|
|
538
|
+
orderType?: OrderType;
|
|
540
539
|
maxItemsCount?: number;
|
|
541
540
|
maxDisplayItemsCount?: number;
|
|
542
541
|
contentType?: ContentType;
|
|
@@ -1480,7 +1479,6 @@ export declare function mergeStyles(element: HTMLElement, styles: Partial<CSSSty
|
|
|
1480
1479
|
export declare function formatDate(date: Date): string;
|
|
1481
1480
|
export declare function formatUTCDate(date: Date): string;
|
|
1482
1481
|
export declare function getRandomId(): string;
|
|
1483
|
-
export declare function loadImage(src: string): Promise<any>;
|
|
1484
1482
|
export declare function setId(element: HTMLElement, prefix?: string, suffix?: string): void;
|
|
1485
1483
|
declare let isMobile: boolean;
|
|
1486
1484
|
declare const isIOS: boolean;
|
|
@@ -1533,7 +1531,7 @@ export * from './widget-story-video';
|
|
|
1533
1531
|
|
|
1534
1532
|
export interface BlazeWidgetItemOptions {
|
|
1535
1533
|
theme: IWidgetTheme;
|
|
1536
|
-
|
|
1534
|
+
content: IStory;
|
|
1537
1535
|
}
|
|
1538
1536
|
export declare class BlazeWidgetItem extends BaseWidget {
|
|
1539
1537
|
protected options: BlazeWidgetItemOptions;
|
|
@@ -1541,10 +1539,10 @@ export declare class BlazeWidgetItem extends BaseWidget {
|
|
|
1541
1539
|
private container;
|
|
1542
1540
|
private thumbnail;
|
|
1543
1541
|
private thumbnailString;
|
|
1542
|
+
private thumbnailType;
|
|
1544
1543
|
private label;
|
|
1545
1544
|
private labelContainer;
|
|
1546
1545
|
private labelBackground;
|
|
1547
|
-
private thumbnailType;
|
|
1548
1546
|
private theme;
|
|
1549
1547
|
private chip;
|
|
1550
1548
|
private isLive;
|
|
@@ -1553,7 +1551,7 @@ export declare class BlazeWidgetItem extends BaseWidget {
|
|
|
1553
1551
|
private blazeSkeletonLabel;
|
|
1554
1552
|
private analyticsCalls;
|
|
1555
1553
|
private statusIndicatorSettings;
|
|
1556
|
-
|
|
1554
|
+
content: IStory;
|
|
1557
1555
|
onClick: (() => void) | undefined;
|
|
1558
1556
|
constructor(options: BlazeWidgetItemOptions);
|
|
1559
1557
|
private initializeWidget;
|
|
@@ -1564,7 +1562,7 @@ export declare class BlazeWidgetItem extends BaseWidget {
|
|
|
1564
1562
|
private setupEventListeners;
|
|
1565
1563
|
private handleWidgetClick;
|
|
1566
1564
|
private setData;
|
|
1567
|
-
|
|
1565
|
+
getThumbnailUrl(): string;
|
|
1568
1566
|
private removeSkeleton;
|
|
1569
1567
|
private updateWidgetLayout;
|
|
1570
1568
|
private updateLabel;
|
|
@@ -1615,6 +1613,7 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1615
1613
|
analyticsStack: Record<WidgetAction, boolean>;
|
|
1616
1614
|
intersectionObserver: IntersectionObserver;
|
|
1617
1615
|
onResizeEvent: (this: Window, ev: UIEvent) => void;
|
|
1616
|
+
isWidgetReload: boolean | undefined;
|
|
1618
1617
|
constructor();
|
|
1619
1618
|
connectedCallback(): void;
|
|
1620
1619
|
disconnectedCallback(): void;
|