@mjhls/mjh-framework 1.0.642-multi-doc-group-v2 → 1.0.642

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.
Files changed (86) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -2
  4. package/dist/cjs/AD300x250x600.js +2 -2
  5. package/dist/cjs/AD728x90.js +2 -2
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/ArticleQueue.js +1689 -0
  14. package/dist/cjs/ArticleSeriesListing.js +2 -2
  15. package/dist/cjs/CMEDeck.js +2 -2
  16. package/dist/cjs/Column2.js +3 -2
  17. package/dist/cjs/Column3.js +4 -3
  18. package/dist/cjs/ConferenceArticleCard.js +27 -11
  19. package/dist/cjs/DeckContent.js +3 -3
  20. package/dist/cjs/DeckQueue.js +4 -3
  21. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-ffaf5981.js} +2 -2
  22. package/dist/cjs/ExternalResources.js +3 -3
  23. package/dist/cjs/GridContent.js +6 -5
  24. package/dist/cjs/IssueLanding.js +4 -4
  25. package/dist/cjs/LeftNav.js +2 -2
  26. package/dist/cjs/MasterDeck.js +4 -4
  27. package/dist/cjs/PartnerDetailListing.js +5 -5
  28. package/dist/cjs/QueueDeckExpanded.js +4 -4
  29. package/dist/cjs/RelatedContent.js +30 -0
  30. package/dist/cjs/SideFooter.js +3 -2
  31. package/dist/cjs/TemplateNormal.js +4 -3
  32. package/dist/cjs/VideoSeriesListing.js +2 -2
  33. package/dist/cjs/View.js +26 -53
  34. package/dist/cjs/_arrayMap-3b4a0f75.js +91 -0
  35. package/dist/cjs/{debounce-eb287781.js → debounce-32e57002.js} +2 -1
  36. package/dist/cjs/{get-68c52cb1.js → get-5dfcdc33.js} +7 -90
  37. package/dist/cjs/getQuery.js +2 -2
  38. package/dist/cjs/getSerializers.js +3 -3
  39. package/dist/cjs/index.js +11 -8
  40. package/dist/cjs/{isSymbol-04666465.js → isSymbol-488934a7.js} +2 -0
  41. package/dist/esm/AD.js +1 -1
  42. package/dist/esm/AD300x250.js +2 -2
  43. package/dist/esm/AD300x250x600.js +2 -2
  44. package/dist/esm/AD728x90.js +2 -2
  45. package/dist/esm/ADFloatingFooter.js +2 -2
  46. package/dist/esm/ADGutter.js +2 -2
  47. package/dist/esm/ADSkyscraper.js +2 -2
  48. package/dist/esm/ADSponsoredResources.js +2 -2
  49. package/dist/esm/ADWebcast.js +2 -2
  50. package/dist/esm/ADWelcome.js +2 -2
  51. package/dist/esm/AdSlot.js +2 -2
  52. package/dist/esm/ArticleQueue.js +1684 -0
  53. package/dist/esm/ArticleSeriesListing.js +2 -2
  54. package/dist/esm/CMEDeck.js +2 -2
  55. package/dist/esm/Column2.js +3 -2
  56. package/dist/esm/Column3.js +4 -3
  57. package/dist/esm/ConferenceArticleCard.js +27 -11
  58. package/dist/esm/DeckContent.js +3 -3
  59. package/dist/esm/DeckQueue.js +4 -3
  60. package/dist/esm/{Dfp-43d61e01.js → Dfp-4f966af0.js} +2 -2
  61. package/dist/esm/ExternalResources.js +3 -3
  62. package/dist/esm/GridContent.js +6 -5
  63. package/dist/esm/IssueLanding.js +4 -4
  64. package/dist/esm/LeftNav.js +2 -2
  65. package/dist/esm/MasterDeck.js +4 -4
  66. package/dist/esm/PartnerDetailListing.js +5 -5
  67. package/dist/esm/QueueDeckExpanded.js +4 -4
  68. package/dist/esm/RelatedContent.js +30 -0
  69. package/dist/esm/SideFooter.js +3 -2
  70. package/dist/esm/TemplateNormal.js +4 -3
  71. package/dist/esm/VideoSeriesListing.js +2 -2
  72. package/dist/esm/View.js +23 -50
  73. package/dist/esm/_arrayMap-818441dd.js +87 -0
  74. package/dist/esm/{debounce-1a993acf.js → debounce-a0d9abca.js} +2 -2
  75. package/dist/esm/{get-5ee14cda.js → get-58d2f7cc.js} +2 -85
  76. package/dist/esm/getQuery.js +2 -2
  77. package/dist/esm/getSerializers.js +3 -3
  78. package/dist/esm/index.js +9 -7
  79. package/dist/esm/{isSymbol-807e927e.js → isSymbol-47f5ff3b.js} +1 -1
  80. package/package.json +1 -1
  81. /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-350decaa.js} +0 -0
  82. /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-7d61609b.js} +0 -0
  83. /package/dist/cjs/{index-04c709c4.js → index-46694c1c.js} +0 -0
  84. /package/dist/esm/{ADInfeed-3c4773f8.js → ADInfeed-fd7a62b1.js} +0 -0
  85. /package/dist/esm/{ADlgInfeed-5a52301f.js → ADlgInfeed-79c771d6.js} +0 -0
  86. /package/dist/esm/{index-c3ffdcd7.js → index-c3a534d6.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { _ as _root, i as isSymbol_1, a as isObject_1 } from './isSymbol-807e927e.js';
1
+ import { a as _root, c as isSymbol_1, d as isObject_1 } from './isSymbol-47f5ff3b.js';
2
2
 
3
3
  /**
4
4
  * Gets the timestamp of the number of milliseconds that have elapsed since
@@ -274,4 +274,4 @@ function debounce(func, wait, options) {
274
274
 
275
275
  var debounce_1 = debounce;
276
276
 
277
- export { debounce_1 as d };
277
+ export { debounce_1 as d, toNumber_1 as t };
@@ -1,31 +1,5 @@
1
- import { i as isSymbol_1, a as isObject_1, b as _baseGetTag, _ as _root, c as _Symbol } from './isSymbol-807e927e.js';
2
-
3
- /**
4
- * Checks if `value` is classified as an `Array` object.
5
- *
6
- * @static
7
- * @memberOf _
8
- * @since 0.1.0
9
- * @category Lang
10
- * @param {*} value The value to check.
11
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
12
- * @example
13
- *
14
- * _.isArray([1, 2, 3]);
15
- * // => true
16
- *
17
- * _.isArray(document.body.children);
18
- * // => false
19
- *
20
- * _.isArray('abc');
21
- * // => false
22
- *
23
- * _.isArray(_.noop);
24
- * // => false
25
- */
26
- var isArray = Array.isArray;
27
-
28
- var isArray_1 = isArray;
1
+ import { c as isSymbol_1, a as _root, d as isObject_1, e as _Symbol } from './isSymbol-47f5ff3b.js';
2
+ import { a as isArray_1, i as isFunction_1, _ as _arrayMap } from './_arrayMap-818441dd.js';
29
3
 
30
4
  /** Used to match property names within property paths. */
31
5
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
@@ -54,41 +28,6 @@ function isKey(value, object) {
54
28
 
55
29
  var _isKey = isKey;
56
30
 
57
- /** `Object#toString` result references. */
58
- var asyncTag = '[object AsyncFunction]',
59
- funcTag = '[object Function]',
60
- genTag = '[object GeneratorFunction]',
61
- proxyTag = '[object Proxy]';
62
-
63
- /**
64
- * Checks if `value` is classified as a `Function` object.
65
- *
66
- * @static
67
- * @memberOf _
68
- * @since 0.1.0
69
- * @category Lang
70
- * @param {*} value The value to check.
71
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
72
- * @example
73
- *
74
- * _.isFunction(_);
75
- * // => true
76
- *
77
- * _.isFunction(/abc/);
78
- * // => false
79
- */
80
- function isFunction(value) {
81
- if (!isObject_1(value)) {
82
- return false;
83
- }
84
- // The use of `Object#toString` avoids issues with the `typeof` operator
85
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
86
- var tag = _baseGetTag(value);
87
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
88
- }
89
-
90
- var isFunction_1 = isFunction;
91
-
92
31
  /** Used to detect overreaching core-js shims. */
93
32
  var coreJsData = _root['__core-js_shared__'];
94
33
 
@@ -814,28 +753,6 @@ var stringToPath = _memoizeCapped(function(string) {
814
753
 
815
754
  var _stringToPath = stringToPath;
816
755
 
817
- /**
818
- * A specialized version of `_.map` for arrays without support for iteratee
819
- * shorthands.
820
- *
821
- * @private
822
- * @param {Array} [array] The array to iterate over.
823
- * @param {Function} iteratee The function invoked per iteration.
824
- * @returns {Array} Returns the new mapped array.
825
- */
826
- function arrayMap(array, iteratee) {
827
- var index = -1,
828
- length = array == null ? 0 : array.length,
829
- result = Array(length);
830
-
831
- while (++index < length) {
832
- result[index] = iteratee(array[index], index, array);
833
- }
834
- return result;
835
- }
836
-
837
- var _arrayMap = arrayMap;
838
-
839
756
  /** Used as references for various `Number` constants. */
840
757
  var INFINITY = 1 / 0;
841
758
 
@@ -8,9 +8,9 @@ var getQuery = function getQuery(type) {
8
8
 
9
9
  switch (type) {
10
10
  case 'related':
11
- return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && published <= now()\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
11
+ return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && published <= now()\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
12
12
  case 'article':
13
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
13
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
14
14
  case 'publication':
15
15
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n pdf{asset->}\n } | order(year desc, month desc)\n }';
16
16
  case 'issue':
@@ -20,8 +20,8 @@ import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import './moment-12415288.js';
22
22
  import 'next/router';
23
- import './isSymbol-807e927e.js';
24
- import './debounce-1a993acf.js';
23
+ import './isSymbol-47f5ff3b.js';
24
+ import './debounce-a0d9abca.js';
25
25
  import 'react-dom';
26
26
  import './index-51a80699.js';
27
27
  import './index-5f9f807a.js';
@@ -38,7 +38,7 @@ import './smoothscroll-4b699764.js';
38
38
  import './GroupDeck.js';
39
39
  import 'react-bootstrap';
40
40
  import 'react-bootstrap/Button';
41
- export { g as default } from './index-c3ffdcd7.js';
41
+ export { g as default } from './index-c3a534d6.js';
42
42
  import './util-7700fc59.js';
43
43
  import './brightcove-react-player-loader.es-83f53e4e.js';
44
44
  import 'react-bootstrap/Pagination';
package/dist/esm/index.js CHANGED
@@ -22,8 +22,8 @@ import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
23
  import './moment-12415288.js';
24
24
  import 'next/router';
25
- import './isSymbol-807e927e.js';
26
- import './debounce-1a993acf.js';
25
+ import './isSymbol-47f5ff3b.js';
26
+ import './debounce-a0d9abca.js';
27
27
  import './index.es-938a3a58.js';
28
28
  import 'react-dom';
29
29
  import './visibility-sensor-0baa4eea.js';
@@ -37,11 +37,12 @@ import './asyncToGenerator-271a52f3.js';
37
37
  import './_set-species-41cbf140.js';
38
38
  export { B as Beam, S as Segment } from './beam-c4d8f8f6.js';
39
39
  export { default as AdSlot } from './AdSlot.js';
40
- import './ADInfeed-3c4773f8.js';
40
+ import './ADInfeed-fd7a62b1.js';
41
41
  export { default as DeckContent } from './DeckContent.js';
42
42
  import './lodash-17fdfebb.js';
43
- import './ADlgInfeed-5a52301f.js';
44
- import './get-5ee14cda.js';
43
+ import './ADlgInfeed-79c771d6.js';
44
+ import './_arrayMap-818441dd.js';
45
+ import './get-58d2f7cc.js';
45
46
  export { default as AD } from './AD.js';
46
47
  import './AuthorComponent-1ea27faa.js';
47
48
  export { default as GridContent } from './GridContent.js';
@@ -72,7 +73,7 @@ import './index-d2f90501.js';
72
73
  import './js.cookie-6874175c.js';
73
74
  export { default as EventsDeck } from './EventsDeck.js';
74
75
  export { default as CMEDeck } from './CMEDeck.js';
75
- export { g as getSerializers } from './index-c3ffdcd7.js';
76
+ export { g as getSerializers } from './index-c3a534d6.js';
76
77
  import './util-7700fc59.js';
77
78
  import './brightcove-react-player-loader.es-83f53e4e.js';
78
79
  import 'react-bootstrap/Pagination';
@@ -140,6 +141,8 @@ export { default as PublicationLanding } from './PublicationLanding.js';
140
141
  export { default as IssueLanding } from './IssueLanding.js';
141
142
  import 'react-bootstrap/Modal';
142
143
  export { default as PopUpModal } from './PopUpModal.js';
144
+ export { default as ArticleQueue } from './ArticleQueue.js';
145
+ export { default as getKeywords } from './getKeywords.js';
143
146
  export { default as RelatedContent } from './RelatedContent.js';
144
147
  export { default as ForbesHero } from './ForbesHero.js';
145
148
  export { default as HorizontalHero } from './HorizontalHero.js';
@@ -161,7 +164,6 @@ import 'passport-local';
161
164
  import 'mysql';
162
165
  export { g as getTargeting } from './getTargeting-3cc3f97d.js';
163
166
  export { default as View } from './View.js';
164
- export { default as getKeywords } from './getKeywords.js';
165
167
  export { default as urlFor } from './urlFor.js';
166
168
  import './style-inject.es-1f59c1d0.js';
167
169
  import 'react-twitter-embed';
@@ -200,4 +200,4 @@ function isSymbol(value) {
200
200
 
201
201
  var isSymbol_1 = isSymbol;
202
202
 
203
- export { _root as _, isObject_1 as a, _baseGetTag as b, _Symbol as c, isSymbol_1 as i };
203
+ export { _baseGetTag as _, _root as a, _freeGlobal as b, isSymbol_1 as c, isObject_1 as d, _Symbol as e, isObjectLike_1 as i };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.642-multi-doc-group-v2",
3
+ "version": "1.0.642",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",