@liquidcommercedev/rmn-sdk 1.5.0-beta.32 → 1.5.0-beta.33
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.cjs +4232 -4154
- package/dist/index.esm.js +4231 -4153
- package/dist/types/common/helpers/utils.helper.d.ts +2 -2
- package/dist/types/constants/spot-dimension.constant.d.ts +2 -0
- package/dist/types/enums.d.ts +2 -0
- package/dist/types/index.umd.d.ts +2 -2
- package/dist/types/modules/element/component/carousel/carousel.interface.d.ts +8 -3
- package/dist/types/modules/element/component/spot/spot.component.d.ts +20 -3
- package/dist/types/modules/element/component/spot/spot.interface.d.ts +11 -7
- package/dist/types/modules/element/element.constant.d.ts +2 -8
- package/dist/types/modules/element/element.interface.d.ts +2 -6
- package/dist/types/modules/element/element.service.d.ts +19 -12
- package/dist/types/modules/helper-service/index.d.ts +1 -0
- package/dist/types/modules/helper-service/localstorage.service.d.ts +0 -1
- package/dist/types/modules/helper-service/proximity-observer.service.d.ts +30 -0
- package/dist/types/modules/helper-service/pubsub.service.d.ts +0 -1
- package/dist/types/modules/monitor/monitor.interface.d.ts +2 -7
- package/dist/types/modules/monitor/monitor.service.d.ts +0 -1
- package/dist/types/modules/monitor/monitors/datalayer.monitor.d.ts +0 -1
- package/dist/types/modules/selection/selection.interface.d.ts +14 -8
- package/dist/types/modules/spot-manager/index.d.ts +2 -0
- package/dist/types/modules/{event/event.interface.d.ts → spot-manager/spot-manager.interface.d.ts} +2 -6
- package/dist/types/modules/{event/event.service.d.ts → spot-manager/spot-manager.service.d.ts} +7 -12
- package/dist/types/modules/spot-template/iab/billboard/billboard-v1.template.d.ts +14 -0
- package/dist/types/modules/spot-template/iab/billboard/index.d.ts +1 -0
- package/dist/types/modules/{element/template → spot-template}/iab/in-text/in-text-v1.template.d.ts +1 -1
- package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/index.d.ts +0 -1
- package/dist/types/modules/{element/template → spot-template}/iab/square/index.d.ts +0 -1
- package/dist/types/modules/spot-template/iab-template.interface.d.ts +12 -0
- package/dist/types/modules/spot-template/index.d.ts +4 -0
- package/dist/types/modules/spot-template/rb-template.interface.d.ts +110 -0
- package/dist/types/modules/spot-template/reservebar/collection-banner-without-text-block.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-full-image.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-three-tile.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-two-tile.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/in-text.template.d.ts +7 -0
- package/dist/types/modules/{element/template → spot-template}/reservebar/index.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/large-category-image-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-short.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-tall.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/navigation-banner.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/small-category-image-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/small-discover-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/video-player.template.d.ts +35 -0
- package/dist/types/modules/spot-template/spot-template.constant.d.ts +3 -0
- package/dist/types/modules/spot-template/spot-template.interface.d.ts +13 -0
- package/dist/types/modules/spot-template/spot-template.service.d.ts +13 -0
- package/dist/types/modules/spot-template/utils.d.ts +3 -0
- package/dist/types/rmn-client.d.ts +58 -22
- package/dist/types/rmn-client.helper.d.ts +11 -6
- package/dist/types/types.d.ts +3 -3
- package/package.json +20 -19
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
- package/dist/types/constants/example.constant.d.ts +0 -4
- package/dist/types/constants/index.d.ts +0 -2
- package/dist/types/modules/element/component/skeleton/skeleton.template.d.ts +0 -2
- package/dist/types/modules/element/template/helper.d.ts +0 -5
- package/dist/types/modules/element/template/iab/billboard/billboard-v1.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/billboard-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/billboard-v3.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/index.d.ts +0 -3
- package/dist/types/modules/element/template/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/square/square-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/index.d.ts +0 -1
- package/dist/types/modules/element/template/reservebar/collection-banner-without-text-block.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-full-image.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-three-tile.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-two-tile.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/in-text.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/large-category-image-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/navigation-banner.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/small-category-image-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/small-discover-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/video-player.template.d.ts +0 -3
- package/dist/types/modules/element/template/template.service.d.ts +0 -11
- package/dist/types/modules/element/template/template.type.d.ts +0 -11
- package/dist/types/modules/event/event.constant.d.ts +0 -1
- package/dist/types/modules/event/index.d.ts +0 -3
- /package/dist/types/modules/{element/template → spot-template}/iab/in-text/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/large-rectangle-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/square/square-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +0 -0
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { RMN_SPOT_TYPE } from 'enums';
|
2
|
-
import type { ISpotOverlay } from '../element.interface';
|
3
|
-
export declare function convertHexToRgba(hex: string, opacity?: number): string;
|
4
|
-
export declare function generateGradientColor(overlay?: ISpotOverlay, fallback?: string): string;
|
5
|
-
export declare function spotHtmlStringToElement(htmlString: string, spotType: RMN_SPOT_TYPE): HTMLElement;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './template.service';
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { ISpot } from 'types';
|
2
|
-
import type { ISpotTemplateConfig } from './template.type';
|
3
|
-
/**
|
4
|
-
* Returns the HTML element for the given spot.
|
5
|
-
*
|
6
|
-
* @param {ISpot} spot - The spot object.
|
7
|
-
* @param {ISpotTemplateConfig} config - The spot template configuration.
|
8
|
-
*
|
9
|
-
* @return {HTMLElement | null} - The HTML element for the given spot or null if the spot template is not found.
|
10
|
-
*/
|
11
|
-
export declare const SPOT_TEMPLATE_HTML_ELEMENT: (spot: ISpot, config?: ISpotTemplateConfig) => HTMLElement | null;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { RMN_SPOT_TYPE } from 'enums';
|
2
|
-
import type { SpotVariantType } from 'modules/selection';
|
3
|
-
import type { ISpot } from 'types';
|
4
|
-
import type { ISpotOverlay } from '../element.interface';
|
5
|
-
export interface ISpotTemplateConfig {
|
6
|
-
overlay?: ISpotOverlay;
|
7
|
-
prefix?: string;
|
8
|
-
}
|
9
|
-
export type TemplateFunction = (spot: ISpot, config: ISpotTemplateConfig) => string;
|
10
|
-
export type SpotTypeTemplate = Partial<Record<SpotVariantType, TemplateFunction>>;
|
11
|
-
export type SpotTemplates = Record<RMN_SPOT_TYPE, SpotTypeTemplate>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const EVENT_API_PATH = "/spots/event";
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/index.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/types/modules/{element/template → spot-template}/iab/square/square-v1.template.d.ts
RENAMED
File without changes
|
/package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/index.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/index.d.ts
RENAMED
File without changes
|
File without changes
|