@mjhls/mjh-framework 1.0.1033-taxonomy-native → 1.0.1033

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/dist/esm/View.js CHANGED
@@ -2655,9 +2655,6 @@ View.returnGetInitialProps = function () {
2655
2655
  if (x.applyNoFollowTag) {
2656
2656
  article.applyNoFollowTag = true;
2657
2657
  }
2658
- if (x.disableNativeAds) {
2659
- article.disableNativeAds = true;
2660
- }
2661
2658
  });
2662
2659
  }
2663
2660
  // check for disableAds flag on content category
@@ -2688,8 +2685,8 @@ View.returnGetInitialProps = function () {
2688
2685
 
2689
2686
  case 35:
2690
2687
 
2691
- //check documentGroup and documentGroupMapping for disableNativeAds:true, Skip if disable is already true
2692
- if (article.documentGroup && article.documentGroup.length && !article.disableNativeAds) {
2688
+ //check documentGroup and documentGroupMapping for disableNativeAds:true
2689
+ if (article.documentGroup && article.documentGroup.length) {
2693
2690
  article.documentGroup.forEach(function (docGroup) {
2694
2691
  var node = docGroup.parent ? docGroup.parent : null;
2695
2692
  if (docGroup.disableNativeAds) {
@@ -1,5 +1,38 @@
1
1
  import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
 
3
+ function _extends() {
4
+ _extends = Object.assign || function (target) {
5
+ for (var i = 1; i < arguments.length; i++) {
6
+ var source = arguments[i];
7
+
8
+ for (var key in source) {
9
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
10
+ target[key] = source[key];
11
+ }
12
+ }
13
+ }
14
+
15
+ return target;
16
+ };
17
+
18
+ return _extends.apply(this, arguments);
19
+ }
20
+
21
+ function _objectWithoutPropertiesLoose(source, excluded) {
22
+ if (source == null) return {};
23
+ var target = {};
24
+ var sourceKeys = Object.keys(source);
25
+ var key, i;
26
+
27
+ for (i = 0; i < sourceKeys.length; i++) {
28
+ key = sourceKeys[i];
29
+ if (excluded.indexOf(key) >= 0) continue;
30
+ target[key] = source[key];
31
+ }
32
+
33
+ return target;
34
+ }
35
+
3
36
  var classnames = createCommonjsModule(function (module) {
4
37
  /*!
5
38
  Copyright (c) 2017 Jed Watson.
@@ -49,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
49
82
  }());
50
83
  });
51
84
 
52
- export { classnames as c };
85
+ export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
package/dist/esm/index.js CHANGED
@@ -154,7 +154,7 @@ import './_object-to-array-b61d5965.js';
154
154
  import 'react-bootstrap/Spinner';
155
155
  import 'react-bootstrap/Form';
156
156
  import './js.cookie-6874175c.js';
157
- import './index-174b5baf.js';
157
+ import './index-0ce54f8a.js';
158
158
  import './ConferenceBanner-8792ebd2.js';
159
159
  import 'next/head';
160
160
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1033-taxonomy-native",
3
+ "version": "1.0.1033",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",