@mjhls/mjh-framework 1.0.973-ptce-test → 1.0.973-ptce-test-v2

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 (41) hide show
  1. package/dist/cjs/ArticleProgramLandingPage.js +2 -2
  2. package/dist/cjs/Auth.js +1 -1
  3. package/dist/cjs/ExternalResources.js +2 -2
  4. package/dist/cjs/HorizontalArticleListing.js +2 -2
  5. package/dist/cjs/IssueLanding.js +2 -2
  6. package/dist/cjs/{MediaSeriesCard-4cf41c60.js → MediaSeriesCard-5bf9813e.js} +1 -1
  7. package/dist/cjs/MediaSeriesLanding.js +3 -3
  8. package/dist/cjs/MediaSeriesLandingPaginated.js +3 -3
  9. package/dist/cjs/PartnerDetailListing.js +2 -2
  10. package/dist/cjs/PartnerDetailListingPaginated.js +2 -2
  11. package/dist/cjs/PtceDeck.js +2 -5
  12. package/dist/cjs/TaxonomyDescription.js +2 -2
  13. package/dist/cjs/VideoProgramLandingPage.js +2 -2
  14. package/dist/cjs/View.js +2 -2
  15. package/dist/cjs/getPtceActivities.js +7 -9
  16. package/dist/cjs/getSerializers.js +2 -2
  17. package/dist/cjs/{index-3e9b8125.js → index-eb1c583d.js} +1 -1
  18. package/dist/cjs/index.js +2 -2
  19. package/dist/{esm/util-d39bca09.js → cjs/util-93a37fd0.js} +3 -133
  20. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  21. package/dist/esm/Auth.js +1 -1
  22. package/dist/esm/ExternalResources.js +2 -2
  23. package/dist/esm/HorizontalArticleListing.js +2 -2
  24. package/dist/esm/IssueLanding.js +2 -2
  25. package/dist/esm/{MediaSeriesCard-e87632e9.js → MediaSeriesCard-305a9cb3.js} +1 -1
  26. package/dist/esm/MediaSeriesLanding.js +3 -3
  27. package/dist/esm/MediaSeriesLandingPaginated.js +3 -3
  28. package/dist/esm/PartnerDetailListing.js +2 -2
  29. package/dist/esm/PartnerDetailListingPaginated.js +2 -2
  30. package/dist/esm/PtceDeck.js +0 -3
  31. package/dist/esm/TaxonomyDescription.js +2 -2
  32. package/dist/esm/VideoProgramLandingPage.js +2 -2
  33. package/dist/esm/View.js +2 -2
  34. package/dist/esm/getPtceActivities.js +7 -9
  35. package/dist/esm/getSerializers.js +2 -2
  36. package/dist/esm/{index-e9a70085.js → index-264bbd3c.js} +1 -1
  37. package/dist/esm/index.js +2 -2
  38. package/dist/{cjs/util-057669f9.js → esm/util-8ed16d48.js} +1 -143
  39. package/package.json +1 -1
  40. package/dist/cjs/index-77bc63c7.js +0 -13562
  41. package/dist/esm/index-99a4897c.js +0 -13560
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e87632e9.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-305a9cb3.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
11
  import MasterDeck from './MasterDeckPaginated.js';
12
- import { g as getSerializers } from './index-e9a70085.js';
12
+ import { g as getSerializers } from './index-264bbd3c.js';
13
13
  import './_commonjsHelpers-0c4b6f40.js';
14
14
  import './core.get-iterator-method-ea258bb1.js';
15
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -51,7 +51,7 @@ import './index.esm-1bd8a0a8.js';
51
51
  import './iconBase-ccc56b97.js';
52
52
  import 'react-bootstrap';
53
53
  import './index-c7e2ac95.js';
54
- import './util-d39bca09.js';
54
+ import './util-8ed16d48.js';
55
55
  import './urlForFile-b69adffc.js';
56
56
  import './brightcove-react-player-loader.es-57a70a56.js';
57
57
  import 'react-bootstrap/Modal';
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
11
11
  import Breadcrumbs from './Breadcrumbs.js';
12
12
  import Feature from './Feature.js';
13
13
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-e9a70085.js';
14
+ import { g as getSerializers } from './index-264bbd3c.js';
15
15
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
@@ -50,7 +50,7 @@ import './index-3f5c03b2.js';
50
50
  import 'react-bootstrap/Breadcrumb';
51
51
  import 'react-bootstrap/Carousel';
52
52
  import './index-c7e2ac95.js';
53
- import './util-d39bca09.js';
53
+ import './util-8ed16d48.js';
54
54
  import './urlForFile-b69adffc.js';
55
55
  import './typeof-e9fc0c5d.js';
56
56
  import './_is-array-8d21b9e3.js';
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
11
11
  import Breadcrumbs from './Breadcrumbs.js';
12
12
  import Feature from './Feature.js';
13
13
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-e9a70085.js';
14
+ import { g as getSerializers } from './index-264bbd3c.js';
15
15
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
@@ -53,7 +53,7 @@ import './index-3f5c03b2.js';
53
53
  import 'react-bootstrap/Breadcrumb';
54
54
  import 'react-bootstrap/Carousel';
55
55
  import './index-c7e2ac95.js';
56
- import './util-d39bca09.js';
56
+ import './util-8ed16d48.js';
57
57
  import './urlForFile-b69adffc.js';
58
58
  import './typeof-e9fc0c5d.js';
59
59
  import './_is-array-8d21b9e3.js';
@@ -4,15 +4,12 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import { m as moment } from './moment-bc12cb97.js';
6
6
  import React__default, { useState, useEffect } from 'react';
7
- import { f as fetch } from './index-99a4897c.js';
8
7
  import { Col, Row } from 'react-bootstrap';
9
8
  import './_commonjsHelpers-0c4b6f40.js';
10
9
  import './core.get-iterator-method-ea258bb1.js';
11
10
  import './web.dom.iterable-ab4dea5c.js';
12
11
  import './_library-528f1934.js';
13
12
  import './_iter-detect-98db3b07.js';
14
- import './events-6c3a7a63.js';
15
- import './util-d39bca09.js';
16
13
 
17
14
  var _this2 = undefined;
18
15
 
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import Head from 'next/head';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-e9a70085.js';
8
+ import { g as getSerializers } from './index-264bbd3c.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
11
11
  import './_object-pie-133f504a.js';
@@ -19,7 +19,7 @@ import './urlFor.js';
19
19
  import './index-f0fc23eb.js';
20
20
  import './events-6c3a7a63.js';
21
21
  import './index-c7e2ac95.js';
22
- import './util-d39bca09.js';
22
+ import './util-8ed16d48.js';
23
23
  import './Beam.js';
24
24
  import './stringify-2b084bee.js';
25
25
  import './Segment.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-e9a70085.js';
8
+ import { g as getSerializers } from './index-264bbd3c.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -22,7 +22,7 @@ import './index-f0fc23eb.js';
22
22
  import './events-6c3a7a63.js';
23
23
  import 'next/router';
24
24
  import './index-c7e2ac95.js';
25
- import './util-d39bca09.js';
25
+ import './util-8ed16d48.js';
26
26
  import './Beam.js';
27
27
  import './stringify-2b084bee.js';
28
28
  import './Segment.js';
package/dist/esm/View.js CHANGED
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-e9a70085.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-264bbd3c.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-42f9b439.js';
@@ -48,7 +48,7 @@ import 'react-dom';
48
48
  import 'react-share';
49
49
  import 'react-bootstrap';
50
50
  import './index-c7e2ac95.js';
51
- import './util-d39bca09.js';
51
+ import './util-8ed16d48.js';
52
52
  import './Beam.js';
53
53
  import './Segment.js';
54
54
  import './brightcove-react-player-loader.es-57a70a56.js';
@@ -1,14 +1,11 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
2
- import { f as fetch } from './index-99a4897c.js';
3
2
  import './_commonjsHelpers-0c4b6f40.js';
4
3
  import './core.get-iterator-method-ea258bb1.js';
5
4
  import './web.dom.iterable-ab4dea5c.js';
6
5
  import './_library-528f1934.js';
7
6
  import './_iter-detect-98db3b07.js';
8
- import './events-6c3a7a63.js';
9
- import './util-d39bca09.js';
10
7
 
11
- var getPtceActivities = (function () {
8
+ var getPtceActivities = function () {
12
9
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(params) {
13
10
  var hasMore, response, data;
14
11
  return regenerator.wrap(function _callee$(_context) {
@@ -68,11 +65,12 @@ var getPtceActivities = (function () {
68
65
  }, _callee, this, [[0, 14]]);
69
66
  }));
70
67
 
71
- function getPtceActivities(_x) {
68
+ return function getPtceActivities(_x) {
72
69
  return _ref.apply(this, arguments);
73
- }
70
+ };
71
+ }();
74
72
 
75
- return getPtceActivities;
76
- })();
73
+ //import fetch from 'node-fetch'
74
+ var fetch = require('node-fetch').default;
77
75
 
78
- export default getPtceActivities;
76
+ module.exports = getPtceActivities;
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import 'react';
3
- export { g as default } from './index-e9a70085.js';
3
+ export { g as default } from './index-264bbd3c.js';
4
4
  import './BlockContent-1e73bd2c.js';
5
5
  import './entities-6d9154b4.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -16,7 +16,7 @@ import './events-6c3a7a63.js';
16
16
  import 'prop-types';
17
17
  import 'next/router';
18
18
  import './index-c7e2ac95.js';
19
- import './util-d39bca09.js';
19
+ import './util-8ed16d48.js';
20
20
  import './Beam.js';
21
21
  import './stringify-2b084bee.js';
22
22
  import './asyncToGenerator-958ef5fc.js';
@@ -8,7 +8,7 @@ import Router, { useRouter } from 'next/router';
8
8
  import { g as getYoutubeId } from './index-c7e2ac95.js';
9
9
  import PropTypes from 'prop-types';
10
10
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
11
- import { u as util } from './util-d39bca09.js';
11
+ import { u as util } from './util-8ed16d48.js';
12
12
  import './Beam.js';
13
13
  import Segment from './Segment.js';
14
14
  import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-e9a70085.js';
90
+ export { g as getSerializers } from './index-264bbd3c.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -181,7 +181,7 @@ import './index.esm-1bd8a0a8.js';
181
181
  import './brightcove-react-player-loader.es-57a70a56.js';
182
182
  import './urlForFile-b69adffc.js';
183
183
  import 'react-bootstrap/Modal';
184
- import './util-d39bca09.js';
184
+ import './util-8ed16d48.js';
185
185
  import 'react-bootstrap/Pagination';
186
186
  import 'react-bootstrap/Figure';
187
187
  import 'react-bootstrap/OverlayTrigger';
@@ -1,138 +1,4 @@
1
- 'use strict';
2
-
3
1
  // shim for using process in browser
4
- // based off https://github.com/defunctzombie/node-process/blob/master/browser.js
5
-
6
- function defaultSetTimout() {
7
- throw new Error('setTimeout has not been defined');
8
- }
9
- function defaultClearTimeout () {
10
- throw new Error('clearTimeout has not been defined');
11
- }
12
- var cachedSetTimeout = defaultSetTimout;
13
- var cachedClearTimeout = defaultClearTimeout;
14
- if (typeof global.setTimeout === 'function') {
15
- cachedSetTimeout = setTimeout;
16
- }
17
- if (typeof global.clearTimeout === 'function') {
18
- cachedClearTimeout = clearTimeout;
19
- }
20
-
21
- function runTimeout(fun) {
22
- if (cachedSetTimeout === setTimeout) {
23
- //normal enviroments in sane situations
24
- return setTimeout(fun, 0);
25
- }
26
- // if setTimeout wasn't available but was latter defined
27
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
28
- cachedSetTimeout = setTimeout;
29
- return setTimeout(fun, 0);
30
- }
31
- try {
32
- // when when somebody has screwed with setTimeout but no I.E. maddness
33
- return cachedSetTimeout(fun, 0);
34
- } catch(e){
35
- try {
36
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
37
- return cachedSetTimeout.call(null, fun, 0);
38
- } catch(e){
39
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
40
- return cachedSetTimeout.call(this, fun, 0);
41
- }
42
- }
43
-
44
-
45
- }
46
- function runClearTimeout(marker) {
47
- if (cachedClearTimeout === clearTimeout) {
48
- //normal enviroments in sane situations
49
- return clearTimeout(marker);
50
- }
51
- // if clearTimeout wasn't available but was latter defined
52
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
53
- cachedClearTimeout = clearTimeout;
54
- return clearTimeout(marker);
55
- }
56
- try {
57
- // when when somebody has screwed with setTimeout but no I.E. maddness
58
- return cachedClearTimeout(marker);
59
- } catch (e){
60
- try {
61
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
62
- return cachedClearTimeout.call(null, marker);
63
- } catch (e){
64
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
65
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
66
- return cachedClearTimeout.call(this, marker);
67
- }
68
- }
69
-
70
-
71
-
72
- }
73
- var queue = [];
74
- var draining = false;
75
- var currentQueue;
76
- var queueIndex = -1;
77
-
78
- function cleanUpNextTick() {
79
- if (!draining || !currentQueue) {
80
- return;
81
- }
82
- draining = false;
83
- if (currentQueue.length) {
84
- queue = currentQueue.concat(queue);
85
- } else {
86
- queueIndex = -1;
87
- }
88
- if (queue.length) {
89
- drainQueue();
90
- }
91
- }
92
-
93
- function drainQueue() {
94
- if (draining) {
95
- return;
96
- }
97
- var timeout = runTimeout(cleanUpNextTick);
98
- draining = true;
99
-
100
- var len = queue.length;
101
- while(len) {
102
- currentQueue = queue;
103
- queue = [];
104
- while (++queueIndex < len) {
105
- if (currentQueue) {
106
- currentQueue[queueIndex].run();
107
- }
108
- }
109
- queueIndex = -1;
110
- len = queue.length;
111
- }
112
- currentQueue = null;
113
- draining = false;
114
- runClearTimeout(timeout);
115
- }
116
- function nextTick(fun) {
117
- var args = new Array(arguments.length - 1);
118
- if (arguments.length > 1) {
119
- for (var i = 1; i < arguments.length; i++) {
120
- args[i - 1] = arguments[i];
121
- }
122
- }
123
- queue.push(new Item(fun, args));
124
- if (queue.length === 1 && !draining) {
125
- runTimeout(drainQueue);
126
- }
127
- }
128
- // v8 likes predictible objects
129
- function Item(fun, array) {
130
- this.fun = fun;
131
- this.array = array;
132
- }
133
- Item.prototype.run = function () {
134
- this.fun.apply(null, this.array);
135
- };
136
2
 
137
3
  // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
138
4
  var performance = global.performance || {};
@@ -716,12 +582,4 @@ var util = {
716
582
  debuglog: debuglog
717
583
  };
718
584
 
719
- exports.debuglog = debuglog;
720
- exports.deprecate = deprecate;
721
- exports.inherits = inherits$1;
722
- exports.isNull = isNull;
723
- exports.isNullOrUndefined = isNullOrUndefined;
724
- exports.isObject = isObject;
725
- exports.isString = isString;
726
- exports.nextTick = nextTick;
727
- exports.util = util;
585
+ export { util as u };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.973-ptce-test",
3
+ "version": "1.0.973-ptce-test-v2",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",