@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.
Files changed (88) hide show
  1. package/dist/index.cjs +4232 -4154
  2. package/dist/index.esm.js +4231 -4153
  3. package/dist/types/common/helpers/utils.helper.d.ts +2 -2
  4. package/dist/types/constants/spot-dimension.constant.d.ts +2 -0
  5. package/dist/types/enums.d.ts +2 -0
  6. package/dist/types/index.umd.d.ts +2 -2
  7. package/dist/types/modules/element/component/carousel/carousel.interface.d.ts +8 -3
  8. package/dist/types/modules/element/component/spot/spot.component.d.ts +20 -3
  9. package/dist/types/modules/element/component/spot/spot.interface.d.ts +11 -7
  10. package/dist/types/modules/element/element.constant.d.ts +2 -8
  11. package/dist/types/modules/element/element.interface.d.ts +2 -6
  12. package/dist/types/modules/element/element.service.d.ts +19 -12
  13. package/dist/types/modules/helper-service/index.d.ts +1 -0
  14. package/dist/types/modules/helper-service/localstorage.service.d.ts +0 -1
  15. package/dist/types/modules/helper-service/proximity-observer.service.d.ts +30 -0
  16. package/dist/types/modules/helper-service/pubsub.service.d.ts +0 -1
  17. package/dist/types/modules/monitor/monitor.interface.d.ts +2 -7
  18. package/dist/types/modules/monitor/monitor.service.d.ts +0 -1
  19. package/dist/types/modules/monitor/monitors/datalayer.monitor.d.ts +0 -1
  20. package/dist/types/modules/selection/selection.interface.d.ts +14 -8
  21. package/dist/types/modules/spot-manager/index.d.ts +2 -0
  22. package/dist/types/modules/{event/event.interface.d.ts → spot-manager/spot-manager.interface.d.ts} +2 -6
  23. package/dist/types/modules/{event/event.service.d.ts → spot-manager/spot-manager.service.d.ts} +7 -12
  24. package/dist/types/modules/spot-template/iab/billboard/billboard-v1.template.d.ts +14 -0
  25. package/dist/types/modules/spot-template/iab/billboard/index.d.ts +1 -0
  26. package/dist/types/modules/{element/template → spot-template}/iab/in-text/in-text-v1.template.d.ts +1 -1
  27. package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/index.d.ts +0 -1
  28. package/dist/types/modules/{element/template → spot-template}/iab/square/index.d.ts +0 -1
  29. package/dist/types/modules/spot-template/iab-template.interface.d.ts +12 -0
  30. package/dist/types/modules/spot-template/index.d.ts +4 -0
  31. package/dist/types/modules/spot-template/rb-template.interface.d.ts +110 -0
  32. package/dist/types/modules/spot-template/reservebar/collection-banner-without-text-block.template.d.ts +7 -0
  33. package/dist/types/modules/spot-template/reservebar/homepage-hero-full-image.template.d.ts +7 -0
  34. package/dist/types/modules/spot-template/reservebar/homepage-hero-three-tile.template.d.ts +7 -0
  35. package/dist/types/modules/spot-template/reservebar/homepage-hero-two-tile.template.d.ts +7 -0
  36. package/dist/types/modules/spot-template/reservebar/in-text.template.d.ts +7 -0
  37. package/dist/types/modules/{element/template → spot-template}/reservebar/index.d.ts +2 -0
  38. package/dist/types/modules/spot-template/reservebar/large-category-image-tout.template.d.ts +7 -0
  39. package/dist/types/modules/spot-template/reservebar/long-tout-short.template.d.ts +7 -0
  40. package/dist/types/modules/spot-template/reservebar/long-tout-tall.template.d.ts +7 -0
  41. package/dist/types/modules/spot-template/reservebar/navigation-banner.template.d.ts +7 -0
  42. package/dist/types/modules/spot-template/reservebar/small-category-image-tout.template.d.ts +7 -0
  43. package/dist/types/modules/spot-template/reservebar/small-discover-tout.template.d.ts +7 -0
  44. package/dist/types/modules/spot-template/reservebar/video-player.template.d.ts +35 -0
  45. package/dist/types/modules/spot-template/spot-template.constant.d.ts +3 -0
  46. package/dist/types/modules/spot-template/spot-template.interface.d.ts +13 -0
  47. package/dist/types/modules/spot-template/spot-template.service.d.ts +13 -0
  48. package/dist/types/modules/spot-template/utils.d.ts +3 -0
  49. package/dist/types/rmn-client.d.ts +58 -22
  50. package/dist/types/rmn-client.helper.d.ts +11 -6
  51. package/dist/types/types.d.ts +3 -3
  52. package/package.json +20 -19
  53. package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
  54. package/dist/types/constants/example.constant.d.ts +0 -4
  55. package/dist/types/constants/index.d.ts +0 -2
  56. package/dist/types/modules/element/component/skeleton/skeleton.template.d.ts +0 -2
  57. package/dist/types/modules/element/template/helper.d.ts +0 -5
  58. package/dist/types/modules/element/template/iab/billboard/billboard-v1.template.d.ts +0 -2
  59. package/dist/types/modules/element/template/iab/billboard/billboard-v2.template.d.ts +0 -2
  60. package/dist/types/modules/element/template/iab/billboard/billboard-v3.template.d.ts +0 -2
  61. package/dist/types/modules/element/template/iab/billboard/index.d.ts +0 -3
  62. package/dist/types/modules/element/template/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +0 -2
  63. package/dist/types/modules/element/template/iab/square/square-v2.template.d.ts +0 -2
  64. package/dist/types/modules/element/template/index.d.ts +0 -1
  65. package/dist/types/modules/element/template/reservebar/collection-banner-without-text-block.template.d.ts +0 -3
  66. package/dist/types/modules/element/template/reservebar/homepage-hero-full-image.template.d.ts +0 -3
  67. package/dist/types/modules/element/template/reservebar/homepage-hero-three-tile.template.d.ts +0 -3
  68. package/dist/types/modules/element/template/reservebar/homepage-hero-two-tile.template.d.ts +0 -3
  69. package/dist/types/modules/element/template/reservebar/in-text.template.d.ts +0 -3
  70. package/dist/types/modules/element/template/reservebar/large-category-image-tout.template.d.ts +0 -3
  71. package/dist/types/modules/element/template/reservebar/navigation-banner.template.d.ts +0 -3
  72. package/dist/types/modules/element/template/reservebar/small-category-image-tout.template.d.ts +0 -3
  73. package/dist/types/modules/element/template/reservebar/small-discover-tout.template.d.ts +0 -3
  74. package/dist/types/modules/element/template/reservebar/video-player.template.d.ts +0 -3
  75. package/dist/types/modules/element/template/template.service.d.ts +0 -11
  76. package/dist/types/modules/element/template/template.type.d.ts +0 -11
  77. package/dist/types/modules/event/event.constant.d.ts +0 -1
  78. package/dist/types/modules/event/index.d.ts +0 -3
  79. /package/dist/types/modules/{element/template → spot-template}/iab/in-text/index.d.ts +0 -0
  80. /package/dist/types/modules/{element/template → spot-template}/iab/index.d.ts +0 -0
  81. /package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +0 -0
  82. /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/index.d.ts +0 -0
  83. /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/large-rectangle-v1.template.d.ts +0 -0
  84. /package/dist/types/modules/{element/template → spot-template}/iab/square/square-v1.template.d.ts +0 -0
  85. /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/index.d.ts +0 -0
  86. /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +0 -0
  87. /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/index.d.ts +0 -0
  88. /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +0 -0
@@ -1,4 +0,0 @@
1
- import type { ISpotEvent, ISpots } from 'types';
2
- export declare const SPOT_EVENTS_EXAMPLE: ISpotEvent[];
3
- export declare const RB_SPOTS_SELECTION_EXAMPLE: Partial<ISpots>;
4
- export declare const IAB_SPOTS_SELECTION_EXAMPLE: Partial<ISpots>;
@@ -1,2 +0,0 @@
1
- export * from './example.constant';
2
- export * from './special-chars-map.constant';
@@ -1,2 +0,0 @@
1
- import type { ICustomSkeletonElementData } from './skeleton.interface';
2
- export declare function SkeletonTemplate({ fluid, width, height, spotType, }: ICustomSkeletonElementData): string;
@@ -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,2 +0,0 @@
1
- import type { ISpot } from 'types';
2
- export declare function billboardV1Template(spot: ISpot): string;
@@ -1,2 +0,0 @@
1
- import type { ISpot } from 'types';
2
- export declare function billboardV2Template(spot: ISpot): string;
@@ -1,2 +0,0 @@
1
- import type { ISpot } from 'types';
2
- export declare function billboardV3Template(spot: ISpot): string;
@@ -1,3 +0,0 @@
1
- export * from './billboard-v1.template';
2
- export * from './billboard-v2.template';
3
- export * from './billboard-v3.template';
@@ -1,2 +0,0 @@
1
- import type { ISpot } from 'types';
2
- export declare function largeLeaderboardV2Template(spot: ISpot): string;
@@ -1,2 +0,0 @@
1
- import type { ISpot } from 'types';
2
- export declare function squareV2Template(spot: ISpot): string;
@@ -1 +0,0 @@
1
- export * from './template.service';
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbCollectionBannerWithoutTextBlockTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbHomepageHeroFullImageTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbHomepageHeroThreeTileTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbHomepageHeroTwoTileTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbInTextTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbLargeCategoryImageToutTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbNavigationBannerTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbSmallCategoryImageToutTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbSmallDiscoverToutTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -1,3 +0,0 @@
1
- import type { ISpot } from 'types';
2
- import type { ISpotTemplateConfig } from '../template.type';
3
- export declare function rbVideoPlayerTemplate(spot: ISpot, config: ISpotTemplateConfig): string;
@@ -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";
@@ -1,3 +0,0 @@
1
- export * from './event.constant';
2
- export * from './event.interface';
3
- export * from './event.service';