@xibosignage/xibo-layout-renderer 1.0.6 → 1.0.8

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.
@@ -887,7 +887,7 @@ var XiboLayoutRenderer = (function (exports) {
887
887
  */
888
888
  function setExpiry(numDays) {
889
889
  var today = new Date();
890
- return new Date(today.setHours(24 * numDays )).toJSON();
890
+ return new Date(today.setHours(24 * numDays || 1)).toJSON();
891
891
  }
892
892
 
893
893
  var initialRegion = {
@@ -71734,7 +71734,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
71734
71734
  newOptions = _objectSpread2(_objectSpread2({}, newOptions), props.options);
71735
71735
  if (self.config.platform === 'CMS' && inputLayout && Boolean(inputLayout.layoutId)) {
71736
71736
  newOptions.xlfUrl = newOptions.xlfUrl.replace(':layoutId', String(inputLayout.layoutId));
71737
- } else if (self.config.platform === 'chromeOS') {
71737
+ } else if (self.config.platform === 'chromeOS' && inputLayout !== undefined) {
71738
71738
  newOptions.xlfUrl = inputLayout.path;
71739
71739
  }
71740
71740
  if (!(inputLayout && inputLayout.layoutNode === null)) {
@@ -71774,11 +71774,37 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
71774
71774
  return xlrObject;
71775
71775
  }
71776
71776
 
71777
+ exports.Action = Action;
71778
+ exports.ActionsWrapper = ActionsWrapper;
71779
+ exports.AudioMedia = AudioMedia;
71780
+ exports.Media = Media;
71781
+ exports.Region = Region;
71782
+ exports.VideoMedia = VideoMedia;
71783
+ exports.audioFileType = audioFileType;
71784
+ exports.capitalizeStr = capitalizeStr;
71777
71785
  exports.default = XiboLayoutRenderer;
71786
+ exports.defaultTrans = defaultTrans;
71787
+ exports.fadeInElem = fadeInElem;
71788
+ exports.fadeOutElem = fadeOutElem;
71789
+ exports.fetchJSON = fetchJSON;
71790
+ exports.flyInElem = flyInElem;
71791
+ exports.flyOutElem = flyOutElem;
71792
+ exports.flyTransitionKeyframes = flyTransitionKeyframes;
71793
+ exports.getFileExt = getFileExt;
71794
+ exports.getLayout = getLayout;
71795
+ exports.getMediaId = getMediaId;
71796
+ exports.getXlf = getXlf;
71797
+ exports.initRenderingDOM = initRenderingDOM;
71778
71798
  exports.initialLayout = initialLayout;
71779
71799
  exports.initialMedia = initialMedia;
71780
71800
  exports.initialRegion = initialRegion;
71781
71801
  exports.initialXlr = initialXlr;
71802
+ exports.nextId = nextId;
71803
+ exports.platform = platform;
71804
+ exports.preloadMediaBlob = preloadMediaBlob;
71805
+ exports.setExpiry = setExpiry;
71806
+ exports.transitionElement = transitionElement;
71807
+ exports.videoFileType = videoFileType;
71782
71808
 
71783
71809
  Object.defineProperty(exports, '__esModule', { value: true });
71784
71810