@wscsports/blaze-web-sdk 0.1.78 → 0.1.79
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 +7 -3
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -586,6 +586,7 @@ export interface IWidgetViewOptionsBase {
|
|
|
586
586
|
contentType?: ContentType;
|
|
587
587
|
theme?: IWidgetTheme | ThemeType;
|
|
588
588
|
delegates?: Record<Delegation, EventListenerOrEventListenerObject>;
|
|
589
|
+
labelsPriority?: string;
|
|
589
590
|
}
|
|
590
591
|
export interface IWidgetViewOptionsWithLabels extends IWidgetViewOptionsBase {
|
|
591
592
|
labels: string | string[] | BlazeWidgetLabel;
|
|
@@ -601,6 +602,7 @@ export interface IWidgetView {
|
|
|
601
602
|
setTheme: (theme: IWidgetTheme) => void;
|
|
602
603
|
getTheme: () => IWidgetTheme;
|
|
603
604
|
setLabels: (labels: string | string[] | BlazeWidgetLabel) => void;
|
|
605
|
+
setLabelsPriority: (labelsPriority: string) => void;
|
|
604
606
|
setContentIds: (storyIds: string[]) => void;
|
|
605
607
|
reload: () => void;
|
|
606
608
|
setMaxItemsDisplaySize: (size: number) => void;
|
|
@@ -825,7 +827,7 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
825
827
|
};
|
|
826
828
|
error?: Error | undefined;
|
|
827
829
|
}>;
|
|
828
|
-
getStories(labels: string, orderType: OrderType, maxItemsSize?: number): Promise<{
|
|
830
|
+
getStories(labels: string, orderType: OrderType, maxItemsSize?: number, labelsPriority?: string): Promise<{
|
|
829
831
|
result: IStory[];
|
|
830
832
|
data: {
|
|
831
833
|
assetsExpiryTime: string;
|
|
@@ -1572,6 +1574,7 @@ export declare function GuardNullOrEmpty(name: string, value: any): void;
|
|
|
1572
1574
|
|
|
1573
1575
|
export declare function formatDuration(startDate: Date): string;
|
|
1574
1576
|
export declare function removeUndefined(value: any): object;
|
|
1577
|
+
export declare function isCssPropertySupported(property: string): boolean;
|
|
1575
1578
|
export declare function isObject(item: any): boolean;
|
|
1576
1579
|
export declare function mergeDeep(target: any, ...sources: any[]): any;
|
|
1577
1580
|
export declare function cloneDeep<T>(target: T): T;
|
|
@@ -1760,13 +1763,14 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1760
1763
|
connectedCallback(): void;
|
|
1761
1764
|
getParentHeightWithoutPadding(): number | null;
|
|
1762
1765
|
disconnectedCallback(): void;
|
|
1763
|
-
set storyIds(value: string);
|
|
1764
|
-
setContentIds(storyIds: string[]): void;
|
|
1765
1766
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
1766
1767
|
setId(id: string): void;
|
|
1767
1768
|
onResize(): void;
|
|
1768
1769
|
handlePopState(_event: Event): void;
|
|
1769
1770
|
addDelegateListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1771
|
+
set storyIds(value: string);
|
|
1772
|
+
setContentIds(storyIds: string[]): void;
|
|
1773
|
+
setLabelsPriority(labelsPriority: string): void;
|
|
1770
1774
|
setLabels(labels: labelType): void;
|
|
1771
1775
|
getTheme(): IWidgetTheme;
|
|
1772
1776
|
setTheme(theme: IWidgetTheme | string): void;
|