@mjhls/mjh-framework 1.0.784-beta.0 → 1.0.785-beta.0
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/README.md +1 -1
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AlphabeticList.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/DeckContent.js +3 -3
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/EventsDeck.js +1 -1
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +5 -5
- package/dist/cjs/PubSection.js +3 -3
- package/dist/cjs/PublicationLanding.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/TaxonomyCard.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/TemplateNormal.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +4 -4
- package/dist/cjs/{extends-60837c34.js → extends-0a918631.js} +1 -0
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-67f12cd7.js} +1 -1
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/{index-76417d82.js → index-00d36f50.js} +300 -13
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/{inherits-c9f99d47.js → inherits-452ff02c.js} +3 -0
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/DeckContent.js +3 -3
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MediaSeriesLanding.js +1 -1
- package/dist/esm/PartnerDetailListing.js +5 -5
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +4 -4
- package/dist/esm/{extends-eb69e8ac.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-ed6ebf43.js} +1 -1
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-c1374f98.js → index-728dd91f.js} +300 -13
- package/dist/esm/index.js +6 -6
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-cf8dde54.js} +1 -1
- package/package.json +2 -1
- /package/dist/cjs/{ADInfeed-5b042ade.js → ADInfeed-bb09e44c.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-e92b6f9f.js → ADlgInfeed-fa91dbda.js} +0 -0
- /package/dist/esm/{ADInfeed-eb7bdd41.js → ADInfeed-0b552b0a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-f2ac31d1.js → ADlgInfeed-49f41f83.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { _ as _export, a as _core } from './_to-object-a4107da3.js';
|
|
3
3
|
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
4
|
-
import { _ as _extends$1 } from './extends-
|
|
5
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-
|
|
4
|
+
import { _ as _extends$1, b as _extends$2 } from './extends-6f2fcc99.js';
|
|
5
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-cf8dde54.js';
|
|
6
6
|
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
7
7
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
8
|
import { l as lib_3 } from './index-a9e53f80.js';
|
|
@@ -9198,6 +9198,288 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9198
9198
|
);
|
|
9199
9199
|
};
|
|
9200
9200
|
|
|
9201
|
+
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
9202
|
+
|
|
9203
|
+
exports.__esModule = true;
|
|
9204
|
+
|
|
9205
|
+
exports.default = function (obj, keys) {
|
|
9206
|
+
var target = {};
|
|
9207
|
+
|
|
9208
|
+
for (var i in obj) {
|
|
9209
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
9210
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
9211
|
+
target[i] = obj[i];
|
|
9212
|
+
}
|
|
9213
|
+
|
|
9214
|
+
return target;
|
|
9215
|
+
};
|
|
9216
|
+
});
|
|
9217
|
+
|
|
9218
|
+
unwrapExports(objectWithoutProperties);
|
|
9219
|
+
|
|
9220
|
+
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
9221
|
+
|
|
9222
|
+
exports.__esModule = true;
|
|
9223
|
+
|
|
9224
|
+
|
|
9225
|
+
|
|
9226
|
+
var _extends3 = _interopRequireDefault(_extends$2);
|
|
9227
|
+
|
|
9228
|
+
|
|
9229
|
+
|
|
9230
|
+
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
9231
|
+
|
|
9232
|
+
|
|
9233
|
+
|
|
9234
|
+
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
9235
|
+
|
|
9236
|
+
|
|
9237
|
+
|
|
9238
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
9239
|
+
|
|
9240
|
+
|
|
9241
|
+
|
|
9242
|
+
var _inherits3 = _interopRequireDefault(inherits);
|
|
9243
|
+
|
|
9244
|
+
|
|
9245
|
+
|
|
9246
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
9247
|
+
|
|
9248
|
+
|
|
9249
|
+
|
|
9250
|
+
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
9251
|
+
|
|
9252
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9253
|
+
var noop = function noop() {};
|
|
9254
|
+
|
|
9255
|
+
var ScriptTag = function (_Component) {
|
|
9256
|
+
(0, _inherits3.default)(ScriptTag, _Component);
|
|
9257
|
+
|
|
9258
|
+
ScriptTag.removeNode = function removeNode(node) {
|
|
9259
|
+
if (node) {
|
|
9260
|
+
node.parentNode.removeChild(node);
|
|
9261
|
+
}
|
|
9262
|
+
};
|
|
9263
|
+
|
|
9264
|
+
function ScriptTag(props, context) {
|
|
9265
|
+
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
9266
|
+
|
|
9267
|
+
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
9268
|
+
|
|
9269
|
+
_this.domRef = null;
|
|
9270
|
+
_this.state = {
|
|
9271
|
+
isHydrated: props.isHydrating,
|
|
9272
|
+
additionalNode: null,
|
|
9273
|
+
removeAdditionalNode: null
|
|
9274
|
+
};
|
|
9275
|
+
return _this;
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9278
|
+
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
9279
|
+
var _props = this.props,
|
|
9280
|
+
onError = _props.onError,
|
|
9281
|
+
onLoad = _props.onLoad,
|
|
9282
|
+
nonce = _props.nonce;
|
|
9283
|
+
|
|
9284
|
+
// Create a new HTML script element
|
|
9285
|
+
|
|
9286
|
+
var newElement = document.createElement("script");
|
|
9287
|
+
|
|
9288
|
+
// Copy all attribute values
|
|
9289
|
+
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
9290
|
+
var attr = this.domRef.attributes[i];
|
|
9291
|
+
if (attr.nodeName === 'nonce') {
|
|
9292
|
+
// The browser clears the nonce value - grab from props
|
|
9293
|
+
newElement.setAttribute(attr.nodeName, nonce);
|
|
9294
|
+
} else {
|
|
9295
|
+
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
9296
|
+
}
|
|
9297
|
+
}
|
|
9298
|
+
|
|
9299
|
+
// Copy the inner script
|
|
9300
|
+
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
9301
|
+
newElement.innerHTML = this.domRef.innerHTML;
|
|
9302
|
+
}
|
|
9303
|
+
|
|
9304
|
+
// Bind event listeners
|
|
9305
|
+
newElement.addEventListener('load', onLoad);
|
|
9306
|
+
newElement.addEventListener('error', onError);
|
|
9307
|
+
|
|
9308
|
+
// Append the new script tag
|
|
9309
|
+
this.domRef.parentNode.appendChild(newElement);
|
|
9310
|
+
return newElement;
|
|
9311
|
+
};
|
|
9312
|
+
|
|
9313
|
+
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
9314
|
+
var isHydrated = this.state.isHydrated;
|
|
9315
|
+
|
|
9316
|
+
if (isHydrated) {
|
|
9317
|
+
// was rendered on server, don't replace elements when hydrating
|
|
9318
|
+
return;
|
|
9319
|
+
}
|
|
9320
|
+
|
|
9321
|
+
this.setState({
|
|
9322
|
+
additionalNode: this.appendAdditionalElement(),
|
|
9323
|
+
removeAdditionalNode: null
|
|
9324
|
+
});
|
|
9325
|
+
};
|
|
9326
|
+
|
|
9327
|
+
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
9328
|
+
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
9329
|
+
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
9330
|
+
|
|
9331
|
+
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
9332
|
+
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
9333
|
+
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
9334
|
+
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
9335
|
+
// This really complicates the component - for now we'll leave it as is.
|
|
9336
|
+
var _props2 = this.props,
|
|
9337
|
+
src = _props2.src,
|
|
9338
|
+
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
9339
|
+
|
|
9340
|
+
if (src && src === nextProps.src) {
|
|
9341
|
+
// The 'src' attribute has not changed
|
|
9342
|
+
return;
|
|
9343
|
+
}
|
|
9344
|
+
|
|
9345
|
+
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
9346
|
+
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
9347
|
+
return;
|
|
9348
|
+
}
|
|
9349
|
+
|
|
9350
|
+
this.setState({
|
|
9351
|
+
removeAdditionalNode: this.state.additionalNode,
|
|
9352
|
+
additionalNode: null
|
|
9353
|
+
});
|
|
9354
|
+
};
|
|
9355
|
+
|
|
9356
|
+
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
9357
|
+
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
9358
|
+
};
|
|
9359
|
+
|
|
9360
|
+
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
9361
|
+
var _state = this.state,
|
|
9362
|
+
additionalNode = _state.additionalNode,
|
|
9363
|
+
removeAdditionalNode = _state.removeAdditionalNode;
|
|
9364
|
+
|
|
9365
|
+
if (additionalNode === null) {
|
|
9366
|
+
this.setState({
|
|
9367
|
+
additionalNode: this.appendAdditionalElement()
|
|
9368
|
+
});
|
|
9369
|
+
}
|
|
9370
|
+
|
|
9371
|
+
if (removeAdditionalNode !== null) {
|
|
9372
|
+
// Was removed in 'componentWillUpdate', but can not update state there
|
|
9373
|
+
this.setState({
|
|
9374
|
+
removeAdditionalNode: null
|
|
9375
|
+
});
|
|
9376
|
+
}
|
|
9377
|
+
};
|
|
9378
|
+
|
|
9379
|
+
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
9380
|
+
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
9381
|
+
ScriptTag.removeNode(this.state.additionalNode);
|
|
9382
|
+
};
|
|
9383
|
+
|
|
9384
|
+
ScriptTag.prototype.render = function render() {
|
|
9385
|
+
var _this2 = this;
|
|
9386
|
+
|
|
9387
|
+
var additionalNode = this.state.additionalNode;
|
|
9388
|
+
|
|
9389
|
+
if (additionalNode !== null) {
|
|
9390
|
+
return null;
|
|
9391
|
+
}
|
|
9392
|
+
|
|
9393
|
+
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9394
|
+
// eslint-disable-next-line no-unused-vars
|
|
9395
|
+
var _props3 = this.props,
|
|
9396
|
+
isHydrating = _props3.isHydrating,
|
|
9397
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9398
|
+
|
|
9399
|
+
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9400
|
+
return _this2.domRef = tag;
|
|
9401
|
+
} }));
|
|
9402
|
+
};
|
|
9403
|
+
|
|
9404
|
+
return ScriptTag;
|
|
9405
|
+
}(React__default.Component);
|
|
9406
|
+
|
|
9407
|
+
ScriptTag.propTypes = {
|
|
9408
|
+
/**
|
|
9409
|
+
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
9410
|
+
*/
|
|
9411
|
+
isHydrating: _propTypes2.default.bool,
|
|
9412
|
+
|
|
9413
|
+
// Standard <script> tag props
|
|
9414
|
+
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
9415
|
+
crossOrigin: _propTypes2.default.string,
|
|
9416
|
+
defer: _propTypes2.default.bool,
|
|
9417
|
+
integrity: _propTypes2.default.string,
|
|
9418
|
+
nonce: _propTypes2.default.string,
|
|
9419
|
+
src: _propTypes2.default.string,
|
|
9420
|
+
text: _propTypes2.default.string,
|
|
9421
|
+
type: _propTypes2.default.string,
|
|
9422
|
+
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
9423
|
+
|
|
9424
|
+
// globals
|
|
9425
|
+
onError: _propTypes2.default.func,
|
|
9426
|
+
onLoad: _propTypes2.default.func
|
|
9427
|
+
};
|
|
9428
|
+
ScriptTag.defaultProps = {
|
|
9429
|
+
isHydrating: false,
|
|
9430
|
+
onError: noop,
|
|
9431
|
+
onLoad: noop
|
|
9432
|
+
};
|
|
9433
|
+
exports.default = ScriptTag;
|
|
9434
|
+
});
|
|
9435
|
+
|
|
9436
|
+
unwrapExports(ScriptTag_1);
|
|
9437
|
+
|
|
9438
|
+
var lib = createCommonjsModule(function (module, exports) {
|
|
9439
|
+
|
|
9440
|
+
exports.__esModule = true;
|
|
9441
|
+
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
9445
|
+
|
|
9446
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9447
|
+
|
|
9448
|
+
exports.default = _ScriptTag2.default;
|
|
9449
|
+
});
|
|
9450
|
+
|
|
9451
|
+
var ScriptTag = unwrapExports(lib);
|
|
9452
|
+
|
|
9453
|
+
var enterpriseDomainName = 'mjhlifesciences';
|
|
9454
|
+
|
|
9455
|
+
var FormAssembly = function FormAssembly(_ref) {
|
|
9456
|
+
var node = _ref.node;
|
|
9457
|
+
|
|
9458
|
+
var formAssemblyRef = useRef(null);
|
|
9459
|
+
var FormID = node.FormID,
|
|
9460
|
+
_node$needSegmentSupp = node.needSegmentSupport,
|
|
9461
|
+
needSegmentSupport = _node$needSegmentSupp === undefined ? false : _node$needSegmentSupp;
|
|
9462
|
+
|
|
9463
|
+
|
|
9464
|
+
useEffect(function () {
|
|
9465
|
+
setTimeout(function () {
|
|
9466
|
+
var formAssemblyIframe = formAssemblyRef.current && formAssemblyRef.current.querySelector('iframe');
|
|
9467
|
+
if (formAssemblyIframe && needSegmentSupport) {
|
|
9468
|
+
var src = formAssemblyIframe.getAttribute('src');
|
|
9469
|
+
var newSrc = Segment.getURL(src, { needSegmentSupport: true });
|
|
9470
|
+
formAssemblyIframe.setAttribute('src', newSrc);
|
|
9471
|
+
}
|
|
9472
|
+
}, 1000);
|
|
9473
|
+
}, []);
|
|
9474
|
+
|
|
9475
|
+
return React__default.createElement(
|
|
9476
|
+
'section',
|
|
9477
|
+
{ ref: formAssemblyRef, className: 'form-assembly' },
|
|
9478
|
+
React__default.createElement('iframe', { src: 'https://' + enterpriseDomainName + '.tfaforms.net/' + FormID, height: '800', width: '100%', frameBorder: '0' }),
|
|
9479
|
+
React__default.createElement(ScriptTag, { src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
9480
|
+
);
|
|
9481
|
+
};
|
|
9482
|
+
|
|
9201
9483
|
var BlockTable = function BlockTable(props) {
|
|
9202
9484
|
var _props$node = props.node,
|
|
9203
9485
|
rows = _props$node.rows,
|
|
@@ -9465,13 +9747,18 @@ var getSerializers = function getSerializers() {
|
|
|
9465
9747
|
|
|
9466
9748
|
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
9467
9749
|
},
|
|
9468
|
-
|
|
9750
|
+
formassembly: function formassembly(_ref21) {
|
|
9469
9751
|
var node = _ref21.node;
|
|
9470
9752
|
|
|
9471
|
-
return React__default.createElement(
|
|
9753
|
+
return React__default.createElement(FormAssembly, { node: node });
|
|
9472
9754
|
},
|
|
9473
|
-
|
|
9755
|
+
multimedia: function multimedia(_ref22) {
|
|
9474
9756
|
var node = _ref22.node;
|
|
9757
|
+
|
|
9758
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
9759
|
+
},
|
|
9760
|
+
blockTable: function blockTable(_ref23) {
|
|
9761
|
+
var node = _ref23.node;
|
|
9475
9762
|
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
9476
9763
|
}
|
|
9477
9764
|
},
|
|
@@ -9516,32 +9803,32 @@ var getSerializers = function getSerializers() {
|
|
|
9516
9803
|
children
|
|
9517
9804
|
);
|
|
9518
9805
|
},
|
|
9519
|
-
alignleft: function alignleft(
|
|
9520
|
-
var children =
|
|
9806
|
+
alignleft: function alignleft(_ref24) {
|
|
9807
|
+
var children = _ref24.children;
|
|
9521
9808
|
return React__default.createElement(
|
|
9522
9809
|
'div',
|
|
9523
9810
|
{ style: { textAlign: 'left' } },
|
|
9524
9811
|
children
|
|
9525
9812
|
);
|
|
9526
9813
|
},
|
|
9527
|
-
alignright: function alignright(
|
|
9528
|
-
var children =
|
|
9814
|
+
alignright: function alignright(_ref25) {
|
|
9815
|
+
var children = _ref25.children;
|
|
9529
9816
|
return React__default.createElement(
|
|
9530
9817
|
'div',
|
|
9531
9818
|
{ style: { textAlign: 'right' } },
|
|
9532
9819
|
children
|
|
9533
9820
|
);
|
|
9534
9821
|
},
|
|
9535
|
-
aligncenter: function aligncenter(
|
|
9536
|
-
var children =
|
|
9822
|
+
aligncenter: function aligncenter(_ref26) {
|
|
9823
|
+
var children = _ref26.children;
|
|
9537
9824
|
return React__default.createElement(
|
|
9538
9825
|
'div',
|
|
9539
9826
|
{ style: { textAlign: 'center' } },
|
|
9540
9827
|
children
|
|
9541
9828
|
);
|
|
9542
9829
|
},
|
|
9543
|
-
alignjustify: function alignjustify(
|
|
9544
|
-
var children =
|
|
9830
|
+
alignjustify: function alignjustify(_ref27) {
|
|
9831
|
+
var children = _ref27.children;
|
|
9545
9832
|
return React__default.createElement(
|
|
9546
9833
|
'div',
|
|
9547
9834
|
{ style: { textAlign: 'justify' } },
|
package/dist/esm/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import './extends-
|
|
9
|
+
import './extends-6f2fcc99.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-cf8dde54.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
14
|
import './typeof-6435ba1c.js';
|
|
@@ -38,10 +38,10 @@ import './asyncToGenerator-fc1c2e29.js';
|
|
|
38
38
|
export { default as Segment } from './Segment.js';
|
|
39
39
|
export { default as Beam } from './Beam.js';
|
|
40
40
|
export { default as AdSlot } from './AdSlot.js';
|
|
41
|
-
import './ADInfeed-
|
|
41
|
+
import './ADInfeed-0b552b0a.js';
|
|
42
42
|
export { default as DeckContent } from './DeckContent.js';
|
|
43
43
|
import './lodash-17fdfebb.js';
|
|
44
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-49f41f83.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './get-1e515072.js';
|
|
47
47
|
import './eq-b470f743.js';
|
|
@@ -67,7 +67,7 @@ import './index.esm-29e48d38.js';
|
|
|
67
67
|
export { default as VideoSeriesListing } from './VideoSeriesListing.js';
|
|
68
68
|
export { default as ArticleSeriesListing } from './ArticleSeriesListing.js';
|
|
69
69
|
export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
70
|
-
export { g as getSerializers } from './index-
|
|
70
|
+
export { g as getSerializers } from './index-728dd91f.js';
|
|
71
71
|
import './util-7700fc59.js';
|
|
72
72
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
73
73
|
import 'next/head';
|
|
@@ -172,7 +172,7 @@ import 'swr';
|
|
|
172
172
|
import 'passport-local';
|
|
173
173
|
import 'mysql';
|
|
174
174
|
import './SeriesSlider-9245785f.js';
|
|
175
|
-
export { g as getTargeting } from './getTargeting-
|
|
175
|
+
export { g as getTargeting } from './getTargeting-ed6ebf43.js';
|
|
176
176
|
export { default as View } from './View.js';
|
|
177
177
|
export { default as getKeywords } from './getKeywords.js';
|
|
178
178
|
export { default as urlFor } from './urlFor.js';
|
|
@@ -177,4 +177,4 @@ exports.default = function (subClass, superClass) {
|
|
|
177
177
|
|
|
178
178
|
var _inherits = unwrapExports(inherits);
|
|
179
179
|
|
|
180
|
-
export { _inherits as _, _classCallCheck as a, _possibleConstructorReturn as b, _Object$getPrototypeOf as c, _createClass as d };
|
|
180
|
+
export { _inherits as _, _classCallCheck as a, _possibleConstructorReturn as b, _Object$getPrototypeOf as c, _createClass as d, classCallCheck as e, inherits as i, possibleConstructorReturn as p };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjhls/mjh-framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.785-beta.0",
|
|
4
4
|
"description": "Foundation Framework",
|
|
5
5
|
"author": "mjh-framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"react-infinite-scroll-component": "^5.0.4",
|
|
73
73
|
"react-lazyload": "^2.6.5",
|
|
74
74
|
"react-player": "^1.15.2",
|
|
75
|
+
"react-script-tag": "^1.1.2",
|
|
75
76
|
"react-scripts": "^1.1.4",
|
|
76
77
|
"react-share": "^4.0.1",
|
|
77
78
|
"react-social-icons": "^4.1.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|