@mjhls/mjh-framework 1.0.892 → 1.0.893-nav-pmg-v1
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 +168 -168
- package/dist/cjs/AccordionPanel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +2 -2
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +1 -2
- package/dist/cjs/DeckContent.js +8 -8
- package/dist/cjs/DeckQueuePaginated.js +1 -2
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +2 -2
- package/dist/cjs/GridContentPaginated.js +1 -2
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/HorizontalArticleListing.js +2 -2
- package/dist/cjs/IssueLanding.js +31 -31
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/MasterDeck.js +8 -8
- package/dist/cjs/MasterDeckPaginated.js +9 -10
- package/dist/cjs/{MediaSeriesCard-bf5492a6.js → MediaSeriesCard-7c7077e4.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +8 -8
- package/dist/cjs/MediaSeriesLandingPaginated.js +9 -10
- package/dist/cjs/NavMagazine.js +11 -11
- package/dist/cjs/NavNative.js +14 -287
- package/dist/cjs/NavPMG.js +627 -0
- package/dist/cjs/Pagination-42f92f7c.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +2 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-de93a303.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +5 -5
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/chunk-db8bb26d.js +281 -0
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-6d59cc5b.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-af49d679.js → index-a703b51e.js} +2 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-5cda7fe5.js} +4 -1
- package/dist/cjs/index.js +7 -4
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/AuthWrapper.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +1 -2
- package/dist/esm/DeckContent.js +8 -8
- package/dist/esm/DeckQueuePaginated.js +1 -2
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/GridContentPaginated.js +1 -2
- package/dist/esm/HamMagazine.js +10 -10
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/IssueLanding.js +31 -31
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/MasterDeck.js +8 -8
- package/dist/esm/MasterDeckPaginated.js +9 -10
- package/dist/esm/{MediaSeriesCard-7f1316a2.js → MediaSeriesCard-d3601b8a.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +8 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +9 -10
- package/dist/esm/NavMagazine.js +11 -11
- package/dist/esm/NavNative.js +13 -286
- package/dist/esm/NavPMG.js +612 -0
- package/dist/esm/Pagination-484b86c5.js +90 -0
- package/dist/esm/PartnerDetailListing.js +2 -2
- package/dist/esm/PartnerDetailListingPaginated.js +3 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -2
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98ad6d97.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +5 -5
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/chunk-19bab6aa.js +279 -0
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-36031a00.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-d7489d39.js → index-52dec9fe.js} +2 -1
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-f14a3e58.js} +4 -2
- package/dist/esm/index.js +6 -4
- package/package.json +112 -112
- package/dist/cjs/Pagination-885dcfbd.js +0 -90
- package/dist/esm/Pagination-59436882.js +0 -82
package/dist/esm/NavNative.js
CHANGED
|
@@ -13,9 +13,7 @@ import Form from 'react-bootstrap/Form';
|
|
|
13
13
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
14
|
import Button from 'react-bootstrap/Button';
|
|
15
15
|
import { c as main_44 } from './main-1894c974.js';
|
|
16
|
-
import {
|
|
17
|
-
import { i as isObject_1 } from './isSymbol-a7e9aafe.js';
|
|
18
|
-
import { t as toNumber_1 } from './toNumber-5aeba6e7.js';
|
|
16
|
+
import { c as chunk_1 } from './chunk-19bab6aa.js';
|
|
19
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
20
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
21
19
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -24,291 +22,20 @@ import 'prop-types';
|
|
|
24
22
|
import './asyncToGenerator-5ef104a7.js';
|
|
25
23
|
import './_library-528f1934.js';
|
|
26
24
|
import './_iter-detect-98db3b07.js';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*
|
|
31
|
-
* @private
|
|
32
|
-
* @param {Array} array The array to slice.
|
|
33
|
-
* @param {number} [start=0] The start position.
|
|
34
|
-
* @param {number} [end=array.length] The end position.
|
|
35
|
-
* @returns {Array} Returns the slice of `array`.
|
|
36
|
-
*/
|
|
37
|
-
function baseSlice(array, start, end) {
|
|
38
|
-
var index = -1,
|
|
39
|
-
length = array.length;
|
|
40
|
-
|
|
41
|
-
if (start < 0) {
|
|
42
|
-
start = -start > length ? 0 : (length + start);
|
|
43
|
-
}
|
|
44
|
-
end = end > length ? length : end;
|
|
45
|
-
if (end < 0) {
|
|
46
|
-
end += length;
|
|
47
|
-
}
|
|
48
|
-
length = start > end ? 0 : ((end - start) >>> 0);
|
|
49
|
-
start >>>= 0;
|
|
50
|
-
|
|
51
|
-
var result = Array(length);
|
|
52
|
-
while (++index < length) {
|
|
53
|
-
result[index] = array[index + start];
|
|
54
|
-
}
|
|
55
|
-
return result;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
var _baseSlice = baseSlice;
|
|
59
|
-
|
|
60
|
-
/** Used as references for various `Number` constants. */
|
|
61
|
-
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Checks if `value` is a valid array-like length.
|
|
65
|
-
*
|
|
66
|
-
* **Note:** This method is loosely based on
|
|
67
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
68
|
-
*
|
|
69
|
-
* @static
|
|
70
|
-
* @memberOf _
|
|
71
|
-
* @since 4.0.0
|
|
72
|
-
* @category Lang
|
|
73
|
-
* @param {*} value The value to check.
|
|
74
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
75
|
-
* @example
|
|
76
|
-
*
|
|
77
|
-
* _.isLength(3);
|
|
78
|
-
* // => true
|
|
79
|
-
*
|
|
80
|
-
* _.isLength(Number.MIN_VALUE);
|
|
81
|
-
* // => false
|
|
82
|
-
*
|
|
83
|
-
* _.isLength(Infinity);
|
|
84
|
-
* // => false
|
|
85
|
-
*
|
|
86
|
-
* _.isLength('3');
|
|
87
|
-
* // => false
|
|
88
|
-
*/
|
|
89
|
-
function isLength(value) {
|
|
90
|
-
return typeof value == 'number' &&
|
|
91
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
var isLength_1 = isLength;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
98
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
99
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
100
|
-
*
|
|
101
|
-
* @static
|
|
102
|
-
* @memberOf _
|
|
103
|
-
* @since 4.0.0
|
|
104
|
-
* @category Lang
|
|
105
|
-
* @param {*} value The value to check.
|
|
106
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
107
|
-
* @example
|
|
108
|
-
*
|
|
109
|
-
* _.isArrayLike([1, 2, 3]);
|
|
110
|
-
* // => true
|
|
111
|
-
*
|
|
112
|
-
* _.isArrayLike(document.body.children);
|
|
113
|
-
* // => true
|
|
114
|
-
*
|
|
115
|
-
* _.isArrayLike('abc');
|
|
116
|
-
* // => true
|
|
117
|
-
*
|
|
118
|
-
* _.isArrayLike(_.noop);
|
|
119
|
-
* // => false
|
|
120
|
-
*/
|
|
121
|
-
function isArrayLike(value) {
|
|
122
|
-
return value != null && isLength_1(value.length) && !isFunction_1(value);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
var isArrayLike_1 = isArrayLike;
|
|
126
|
-
|
|
127
|
-
/** Used as references for various `Number` constants. */
|
|
128
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
129
|
-
|
|
130
|
-
/** Used to detect unsigned integer values. */
|
|
131
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Checks if `value` is a valid array-like index.
|
|
135
|
-
*
|
|
136
|
-
* @private
|
|
137
|
-
* @param {*} value The value to check.
|
|
138
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
139
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
140
|
-
*/
|
|
141
|
-
function isIndex(value, length) {
|
|
142
|
-
var type = typeof value;
|
|
143
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
144
|
-
|
|
145
|
-
return !!length &&
|
|
146
|
-
(type == 'number' ||
|
|
147
|
-
(type != 'symbol' && reIsUint.test(value))) &&
|
|
148
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
var _isIndex = isIndex;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Checks if the given arguments are from an iteratee call.
|
|
155
|
-
*
|
|
156
|
-
* @private
|
|
157
|
-
* @param {*} value The potential iteratee value argument.
|
|
158
|
-
* @param {*} index The potential iteratee index or key argument.
|
|
159
|
-
* @param {*} object The potential iteratee object argument.
|
|
160
|
-
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
161
|
-
* else `false`.
|
|
162
|
-
*/
|
|
163
|
-
function isIterateeCall(value, index, object) {
|
|
164
|
-
if (!isObject_1(object)) {
|
|
165
|
-
return false;
|
|
166
|
-
}
|
|
167
|
-
var type = typeof index;
|
|
168
|
-
if (type == 'number'
|
|
169
|
-
? (isArrayLike_1(object) && _isIndex(index, object.length))
|
|
170
|
-
: (type == 'string' && index in object)
|
|
171
|
-
) {
|
|
172
|
-
return eq_1(object[index], value);
|
|
173
|
-
}
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
var _isIterateeCall = isIterateeCall;
|
|
178
|
-
|
|
179
|
-
/** Used as references for various `Number` constants. */
|
|
180
|
-
var INFINITY = 1 / 0,
|
|
181
|
-
MAX_INTEGER = 1.7976931348623157e+308;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Converts `value` to a finite number.
|
|
185
|
-
*
|
|
186
|
-
* @static
|
|
187
|
-
* @memberOf _
|
|
188
|
-
* @since 4.12.0
|
|
189
|
-
* @category Lang
|
|
190
|
-
* @param {*} value The value to convert.
|
|
191
|
-
* @returns {number} Returns the converted number.
|
|
192
|
-
* @example
|
|
193
|
-
*
|
|
194
|
-
* _.toFinite(3.2);
|
|
195
|
-
* // => 3.2
|
|
196
|
-
*
|
|
197
|
-
* _.toFinite(Number.MIN_VALUE);
|
|
198
|
-
* // => 5e-324
|
|
199
|
-
*
|
|
200
|
-
* _.toFinite(Infinity);
|
|
201
|
-
* // => 1.7976931348623157e+308
|
|
202
|
-
*
|
|
203
|
-
* _.toFinite('3.2');
|
|
204
|
-
* // => 3.2
|
|
205
|
-
*/
|
|
206
|
-
function toFinite(value) {
|
|
207
|
-
if (!value) {
|
|
208
|
-
return value === 0 ? value : 0;
|
|
209
|
-
}
|
|
210
|
-
value = toNumber_1(value);
|
|
211
|
-
if (value === INFINITY || value === -INFINITY) {
|
|
212
|
-
var sign = (value < 0 ? -1 : 1);
|
|
213
|
-
return sign * MAX_INTEGER;
|
|
214
|
-
}
|
|
215
|
-
return value === value ? value : 0;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
var toFinite_1 = toFinite;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Converts `value` to an integer.
|
|
222
|
-
*
|
|
223
|
-
* **Note:** This method is loosely based on
|
|
224
|
-
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
225
|
-
*
|
|
226
|
-
* @static
|
|
227
|
-
* @memberOf _
|
|
228
|
-
* @since 4.0.0
|
|
229
|
-
* @category Lang
|
|
230
|
-
* @param {*} value The value to convert.
|
|
231
|
-
* @returns {number} Returns the converted integer.
|
|
232
|
-
* @example
|
|
233
|
-
*
|
|
234
|
-
* _.toInteger(3.2);
|
|
235
|
-
* // => 3
|
|
236
|
-
*
|
|
237
|
-
* _.toInteger(Number.MIN_VALUE);
|
|
238
|
-
* // => 0
|
|
239
|
-
*
|
|
240
|
-
* _.toInteger(Infinity);
|
|
241
|
-
* // => 1.7976931348623157e+308
|
|
242
|
-
*
|
|
243
|
-
* _.toInteger('3.2');
|
|
244
|
-
* // => 3
|
|
245
|
-
*/
|
|
246
|
-
function toInteger(value) {
|
|
247
|
-
var result = toFinite_1(value),
|
|
248
|
-
remainder = result % 1;
|
|
249
|
-
|
|
250
|
-
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
var toInteger_1 = toInteger;
|
|
254
|
-
|
|
255
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
256
|
-
var nativeCeil = Math.ceil,
|
|
257
|
-
nativeMax = Math.max;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Creates an array of elements split into groups the length of `size`.
|
|
261
|
-
* If `array` can't be split evenly, the final chunk will be the remaining
|
|
262
|
-
* elements.
|
|
263
|
-
*
|
|
264
|
-
* @static
|
|
265
|
-
* @memberOf _
|
|
266
|
-
* @since 3.0.0
|
|
267
|
-
* @category Array
|
|
268
|
-
* @param {Array} array The array to process.
|
|
269
|
-
* @param {number} [size=1] The length of each chunk
|
|
270
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
271
|
-
* @returns {Array} Returns the new array of chunks.
|
|
272
|
-
* @example
|
|
273
|
-
*
|
|
274
|
-
* _.chunk(['a', 'b', 'c', 'd'], 2);
|
|
275
|
-
* // => [['a', 'b'], ['c', 'd']]
|
|
276
|
-
*
|
|
277
|
-
* _.chunk(['a', 'b', 'c', 'd'], 3);
|
|
278
|
-
* // => [['a', 'b', 'c'], ['d']]
|
|
279
|
-
*/
|
|
280
|
-
function chunk(array, size, guard) {
|
|
281
|
-
if ((guard ? _isIterateeCall(array, size, guard) : size === undefined)) {
|
|
282
|
-
size = 1;
|
|
283
|
-
} else {
|
|
284
|
-
size = nativeMax(toInteger_1(size), 0);
|
|
285
|
-
}
|
|
286
|
-
var length = array == null ? 0 : array.length;
|
|
287
|
-
if (!length || size < 1) {
|
|
288
|
-
return [];
|
|
289
|
-
}
|
|
290
|
-
var index = 0,
|
|
291
|
-
resIndex = 0,
|
|
292
|
-
result = Array(nativeCeil(length / size));
|
|
293
|
-
|
|
294
|
-
while (index < length) {
|
|
295
|
-
result[resIndex++] = _baseSlice(array, index, (index += size));
|
|
296
|
-
}
|
|
297
|
-
return result;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
var chunk_1 = chunk;
|
|
25
|
+
import './eq-bdcbf886.js';
|
|
26
|
+
import './isSymbol-a7e9aafe.js';
|
|
27
|
+
import './toNumber-5aeba6e7.js';
|
|
301
28
|
|
|
302
29
|
var NavNative = function NavNative(props) {
|
|
303
|
-
/*
|
|
304
|
-
Example Nav with acceptable props
|
|
305
|
-
<MagazineNav
|
|
306
|
-
showLogin
|
|
307
|
-
logo={props.settings.logo}
|
|
308
|
-
dataObject={props.cache.mainNavCache}
|
|
309
|
-
website={website}
|
|
310
|
-
subNav={props.cache.subNavCache}
|
|
311
|
-
/>
|
|
30
|
+
/*
|
|
31
|
+
Example Nav with acceptable props
|
|
32
|
+
<MagazineNav
|
|
33
|
+
showLogin
|
|
34
|
+
logo={props.settings.logo}
|
|
35
|
+
dataObject={props.cache.mainNavCache}
|
|
36
|
+
website={website}
|
|
37
|
+
subNav={props.cache.subNavCache}
|
|
38
|
+
/>
|
|
312
39
|
*/
|
|
313
40
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
314
41
|
var logo = props.logo,
|