@iris.interactive/handcook 7.0.0 → 7.0.1

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.
@@ -43,6 +43,8 @@ export class HcNats {
43
43
  const message = {
44
44
  lat: window.IRISCollectionTheme.coordinates.latitude,
45
45
  long: window.IRISCollectionTheme.coordinates.longitude,
46
+ blogName : window.IRISCollectionTheme.blogInfos.blogName,
47
+ blogUrl : window.IRISCollectionTheme.blogInfos.blogUrl,
46
48
  content: content
47
49
  }
48
50
 
@@ -1 +1 @@
1
- (()=>{"use strict";var a={3812:(a,l,o)=>{function t(a,l,o){return l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a}var e=function a(){!function(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}(this,a)};t(e,"tooltip","[data-hc-tooltip], [data-hc-popover]"),t(e,"popover","[data-hc-popover]"),t(e,"scrollSmooth","[data-hc-smooth-scroll]"),t(e,"modal","[data-hc-modal]"),t(e,"modalClose","[data-hc-modal-close]"),t(e,"lightboxAttr","data-hc-lightbox"),t(e,"lightbox","[".concat(e.lightboxAttr,"]")),t(e,"dropdown","[data-hc-dropdown]"),t(e,"collapse","[data-hc-collapse]"),t(e,"collapseItem","[data-hc-collapse-item]"),t(e,"popin","[data-hc-popin]"),t(e,"tab","[data-hc-tab]"),t(e,"toggle","[data-hc-toggle]"),t(e,"slider","[data-hc-slider]"),t(e,"scrollspy","[data-hc-scrollspy]"),t(e,"scrollspyNav","[data-hc-scrollspy-nav]"),t(e,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),t(e,"scrollspyNavItemHref","[data-hc-scrollspy-nav-item-href]"),t(e,"scrollReveal","[data-hc-scroll-reveal]"),t(e,"scrollRevealDisable","[data-hc-noscroll-reveal]"),t(e,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),t(e,"scrollRevealChildren","".concat(e.scrollRevealParent," > *:not(").concat(e.scrollRevealDisable,"):not(").concat(e.scrollRevealParent,"):not(").concat(e.scrollReveal,")")),t(e,"overlay","[data-hc-overlay]")}},l={};function o(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return a[t](r,r.exports,o),r.exports}o.d=(a,l)=>{for(var t in l)o.o(l,t)&&!o.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:l[t]})},o.o=(a,l)=>Object.prototype.hasOwnProperty.call(a,l),o(3812)})();
1
+ (()=>{"use strict";var t={3507:(t,o,e)=>{var r;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function l(t,o){for(var e=0;e<o.length;e++){var r=o[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function c(t,o,e){return o&&l(t.prototype,o),e&&l(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,o,e){return(o=i(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function i(t){var o=function(t,o){if("object"!=a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"==a(o)?o:o+""}var s=c((function t(){!function(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,t)}));r=s,n(s,"tooltip","[data-hc-tooltip], [data-hc-popover]"),n(s,"popover","[data-hc-popover]"),n(s,"scrollSmooth","[data-hc-smooth-scroll]"),n(s,"modal","[data-hc-modal]"),n(s,"modalClose","[data-hc-modal-close]"),n(s,"lightboxAttr","data-hc-lightbox"),n(s,"lightbox","[".concat(r.lightboxAttr,"]")),n(s,"dropdown","[data-hc-dropdown]"),n(s,"collapse","[data-hc-collapse]"),n(s,"collapseItem","[data-hc-collapse-item]"),n(s,"popin","[data-hc-popin]"),n(s,"tab","[data-hc-tab]"),n(s,"toggle","[data-hc-toggle]"),n(s,"slider","[data-hc-slider]"),n(s,"scrollspy","[data-hc-scrollspy]"),n(s,"scrollspyNav","[data-hc-scrollspy-nav]"),n(s,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),n(s,"scrollspyNavItemHref","[data-hc-scrollspy-nav-item-href]"),n(s,"scrollReveal","[data-hc-scroll-reveal]"),n(s,"scrollRevealDisable","[data-hc-noscroll-reveal]"),n(s,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),n(s,"scrollRevealChildren","".concat(r.scrollRevealParent," > *:not(").concat(r.scrollRevealDisable,"):not(").concat(r.scrollRevealParent,"):not(").concat(r.scrollReveal,")")),n(s,"overlay","[data-hc-overlay]")}},o={};function e(r){var a=o[r];if(void 0!==a)return a.exports;var l=o[r]={exports:{}};return t[r](l,l.exports,e),l.exports}e.d=(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},e.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o);e(3507)})();
@@ -175,6 +175,18 @@ export class HcSlider {
175
175
  this.options['mousewheel'] = false;
176
176
  }
177
177
 
178
+ if (this.slider.hasAttribute('data-hc-slider-lazy')) {
179
+ this.options['lazy'] = {
180
+ enabled: true,
181
+ checkInView: true,
182
+ loadPrevNext: true,
183
+ elementClass: 'hc-slider-lazy',
184
+ loadedClass: 'hc-slider-lazy-loaded',
185
+ loadingClass: 'hc-slider-lazy-loading',
186
+ preloaderClass: 'hc-slider-lazy-preloader',
187
+ };
188
+ }
189
+
178
190
  this.options['watchOverflow'] = true;
179
191
  }
180
192