@bigbinary/neeto-molecules 4.0.65 → 4.0.66

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.
@@ -146,7 +146,8 @@ var elementPopupEmbedCode$1 = function elementPopupEmbedCode(_ref5) {
146
146
  var iframeEmbedCode$1 = function iframeEmbedCode(_ref6) {
147
147
  var id = _ref6.id,
148
148
  customization = _ref6.customization,
149
- queryParams = _ref6.queryParams;
149
+ queryParams = _ref6.queryParams,
150
+ embedScriptLink = _ref6.embedScriptLink;
150
151
  var height = customization.height,
151
152
  width = customization.width,
152
153
  iframeTitle = customization.iframeTitle,
@@ -158,7 +159,7 @@ var iframeEmbedCode$1 = function iframeEmbedCode(_ref6) {
158
159
  queryParams: queryParams
159
160
  });
160
161
  var heightAttribute = dynamicHeight !== null && dynamicHeight !== void 0 && dynamicHeight.value ? "" : "\n".concat(TAB_STRING, "height=\"").concat(height, "\"");
161
- return "\n <!-- ".concat(globalProps.appName, " iframe embed code begins -->\n <iframe\n allowfullscreen").concat(heightAttribute, "\n width=\"").concat(width, "\"\n frameborder=\"0\"\n title=\"").concat(iframeTitle, "\"\n src=\"").concat(iframeSrc, "\"\n ></iframe>\n <!-- ").concat(globalProps.appName, " iframe embed code ends -->");
162
+ return "\n <!-- ".concat(globalProps.appName, " iframe embed code begins -->\n ").concat(dynamicHeight !== null && dynamicHeight !== void 0 && dynamicHeight.value && embedScriptLink ? embedBaseScript(embedScriptLink) : "", "\n <iframe\n allowfullscreen").concat(heightAttribute, "\n width=\"").concat(width, "\"\n frameborder=\"0\"\n title=\"").concat(iframeTitle, "\"\n src=\"").concat(iframeSrc, "\"\n ></iframe>\n <!-- ").concat(globalProps.appName, " iframe embed code ends -->");
162
163
  };
163
164
  var htmlCodeGenerators = {
164
165
  inline: inlineEmbedCode$1,