@mjhls/mjh-framework 1.0.720-beta.0 → 1.0.720-navigation-scroll-fix-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/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/Auth.js +11 -211
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-80b15fac.js} +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +8 -7
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/MasterDeck.js +3 -3
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -7
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +6 -6
- package/dist/cjs/VideoSeriesCard.js +3 -3
- package/dist/cjs/VideoSeriesLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +32 -32
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +9 -11
- package/dist/cjs/getRelatedArticle.js +416 -5
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
- package/dist/cjs/{index-792274b1.js → index-a2ecf598.js} +451 -439
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/{inherits-c9f99d47.js → inherits-513d81cd.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +3 -203
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c409aca5.js} +1 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +8 -7
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/MasterDeck.js +2 -2
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +2 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +2 -2
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +5 -5
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +9 -11
- package/dist/esm/getRelatedArticle.js +416 -5
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{index-c3a5ff39.js → index-2749e7d8.js} +450 -438
- package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
|
@@ -375,7 +375,8 @@ function urlBuilder(options) {
|
|
|
375
375
|
var client = options;
|
|
376
376
|
if (isSanityClient(client)) {
|
|
377
377
|
// Inherit config from client
|
|
378
|
-
var _a = client.clientConfig,
|
|
378
|
+
var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
|
|
379
|
+
var apiHost = apiUrl || 'https://api.sanity.io';
|
|
379
380
|
return new ImageUrlBuilder(null, {
|
|
380
381
|
baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
|
|
381
382
|
projectId: projectId,
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* cookie
|
|
3
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
4
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
+
* MIT Licensed
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Module exports.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
var parse_1 = parse;
|
|
14
|
+
var serialize_1 = serialize;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Module variables.
|
|
18
|
+
* @private
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
var decode = decodeURIComponent;
|
|
22
|
+
var encode = encodeURIComponent;
|
|
23
|
+
var pairSplitRegExp = /; */;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
27
|
+
*
|
|
28
|
+
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
|
29
|
+
* field-vchar = VCHAR / obs-text
|
|
30
|
+
* obs-text = %x80-FF
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Parse a cookie header.
|
|
37
|
+
*
|
|
38
|
+
* Parse the given cookie header string into an object
|
|
39
|
+
* The object has the various cookies as keys(names) => values
|
|
40
|
+
*
|
|
41
|
+
* @param {string} str
|
|
42
|
+
* @param {object} [options]
|
|
43
|
+
* @return {object}
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
function parse(str, options) {
|
|
48
|
+
if (typeof str !== 'string') {
|
|
49
|
+
throw new TypeError('argument str must be a string');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var obj = {};
|
|
53
|
+
var opt = options || {};
|
|
54
|
+
var pairs = str.split(pairSplitRegExp);
|
|
55
|
+
var dec = opt.decode || decode;
|
|
56
|
+
|
|
57
|
+
for (var i = 0; i < pairs.length; i++) {
|
|
58
|
+
var pair = pairs[i];
|
|
59
|
+
var eq_idx = pair.indexOf('=');
|
|
60
|
+
|
|
61
|
+
// skip things that don't look like key=value
|
|
62
|
+
if (eq_idx < 0) {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var key = pair.substr(0, eq_idx).trim();
|
|
67
|
+
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
68
|
+
|
|
69
|
+
// quoted values
|
|
70
|
+
if ('"' == val[0]) {
|
|
71
|
+
val = val.slice(1, -1);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// only assign once
|
|
75
|
+
if (undefined == obj[key]) {
|
|
76
|
+
obj[key] = tryDecode(val, dec);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return obj;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Serialize data into a cookie header.
|
|
85
|
+
*
|
|
86
|
+
* Serialize the a name value pair into a cookie string suitable for
|
|
87
|
+
* http headers. An optional options object specified cookie parameters.
|
|
88
|
+
*
|
|
89
|
+
* serialize('foo', 'bar', { httpOnly: true })
|
|
90
|
+
* => "foo=bar; httpOnly"
|
|
91
|
+
*
|
|
92
|
+
* @param {string} name
|
|
93
|
+
* @param {string} val
|
|
94
|
+
* @param {object} [options]
|
|
95
|
+
* @return {string}
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
function serialize(name, val, options) {
|
|
100
|
+
var opt = options || {};
|
|
101
|
+
var enc = opt.encode || encode;
|
|
102
|
+
|
|
103
|
+
if (typeof enc !== 'function') {
|
|
104
|
+
throw new TypeError('option encode is invalid');
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (!fieldContentRegExp.test(name)) {
|
|
108
|
+
throw new TypeError('argument name is invalid');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
var value = enc(val);
|
|
112
|
+
|
|
113
|
+
if (value && !fieldContentRegExp.test(value)) {
|
|
114
|
+
throw new TypeError('argument val is invalid');
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
var str = name + '=' + value;
|
|
118
|
+
|
|
119
|
+
if (null != opt.maxAge) {
|
|
120
|
+
var maxAge = opt.maxAge - 0;
|
|
121
|
+
|
|
122
|
+
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
|
123
|
+
throw new TypeError('option maxAge is invalid')
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
str += '; Max-Age=' + Math.floor(maxAge);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (opt.domain) {
|
|
130
|
+
if (!fieldContentRegExp.test(opt.domain)) {
|
|
131
|
+
throw new TypeError('option domain is invalid');
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
str += '; Domain=' + opt.domain;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
if (opt.path) {
|
|
138
|
+
if (!fieldContentRegExp.test(opt.path)) {
|
|
139
|
+
throw new TypeError('option path is invalid');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
str += '; Path=' + opt.path;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (opt.expires) {
|
|
146
|
+
if (typeof opt.expires.toUTCString !== 'function') {
|
|
147
|
+
throw new TypeError('option expires is invalid');
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
str += '; Expires=' + opt.expires.toUTCString();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (opt.httpOnly) {
|
|
154
|
+
str += '; HttpOnly';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (opt.secure) {
|
|
158
|
+
str += '; Secure';
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (opt.sameSite) {
|
|
162
|
+
var sameSite = typeof opt.sameSite === 'string'
|
|
163
|
+
? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
164
|
+
|
|
165
|
+
switch (sameSite) {
|
|
166
|
+
case true:
|
|
167
|
+
str += '; SameSite=Strict';
|
|
168
|
+
break;
|
|
169
|
+
case 'lax':
|
|
170
|
+
str += '; SameSite=Lax';
|
|
171
|
+
break;
|
|
172
|
+
case 'strict':
|
|
173
|
+
str += '; SameSite=Strict';
|
|
174
|
+
break;
|
|
175
|
+
case 'none':
|
|
176
|
+
str += '; SameSite=None';
|
|
177
|
+
break;
|
|
178
|
+
default:
|
|
179
|
+
throw new TypeError('option sameSite is invalid');
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return str;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Try decoding a string using a decoding function.
|
|
188
|
+
*
|
|
189
|
+
* @param {string} str
|
|
190
|
+
* @param {function} decode
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
function tryDecode(str, decode) {
|
|
195
|
+
try {
|
|
196
|
+
return decode(str);
|
|
197
|
+
} catch (e) {
|
|
198
|
+
return str;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
var cookie = {
|
|
203
|
+
parse: parse_1,
|
|
204
|
+
serialize: serialize_1
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export { cookie as c, parse_1 as p, serialize_1 as s };
|
package/dist/esm/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import './debounce-1a993acf.js';
|
|
|
27
27
|
import './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-3849e3fe.js';
|
|
31
31
|
import './index-5f9f807a.js';
|
|
32
32
|
import './main-e4a934b2.js';
|
|
33
33
|
import './entities-7cc3bf45.js';
|
|
@@ -40,7 +40,7 @@ export { default as Beam } from './Beam.js';
|
|
|
40
40
|
export { default as AdSlot } from './AdSlot.js';
|
|
41
41
|
import './ADInfeed-bb62ee44.js';
|
|
42
42
|
export { default as DeckContent } from './DeckContent.js';
|
|
43
|
-
import './lodash-
|
|
43
|
+
import './lodash-ec8c6b48.js';
|
|
44
44
|
import './ADlgInfeed-ef0a892e.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './get-5ee14cda.js';
|
|
@@ -50,7 +50,7 @@ export { default as GridContent } from './GridContent.js';
|
|
|
50
50
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
51
51
|
import 'react-bootstrap/Media';
|
|
52
52
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
53
|
-
import './BlockContent-
|
|
53
|
+
import './BlockContent-c409aca5.js';
|
|
54
54
|
import './react-social-icons-a7d5c5c7.js';
|
|
55
55
|
export { default as TaxonomyCard } from './TaxonomyCard.js';
|
|
56
56
|
export { default as RolesDeck } from './RolesDeck.js';
|
|
@@ -66,7 +66,7 @@ import './index.esm-29e48d38.js';
|
|
|
66
66
|
export { default as VideoSeriesListing } from './VideoSeriesListing.js';
|
|
67
67
|
export { default as ArticleSeriesListing } from './ArticleSeriesListing.js';
|
|
68
68
|
export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
69
|
-
export { g as getSerializers } from './index-
|
|
69
|
+
export { g as getSerializers } from './index-2749e7d8.js';
|
|
70
70
|
import './util-7700fc59.js';
|
|
71
71
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
72
72
|
import './_object-to-array-7e804fce.js';
|
|
@@ -161,9 +161,9 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
|
161
161
|
export { default as KMTracker } from './KMTracker.js';
|
|
162
162
|
export { default as getSeriesDetail } from './getSeriesDetail.js';
|
|
163
163
|
export { default as SetCookie } from './SetCookie.js';
|
|
164
|
-
import '
|
|
165
|
-
export { default as getQuery } from './getQuery.js';
|
|
164
|
+
import './index-db3bb315.js';
|
|
166
165
|
export { default as getRelatedArticle } from './getRelatedArticle.js';
|
|
166
|
+
export { default as getQuery } from './getQuery.js';
|
|
167
167
|
export { default as Auth } from './Auth.js';
|
|
168
168
|
import 'swr';
|
|
169
169
|
import 'passport-local';
|
|
@@ -7,7 +7,7 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
7
7
|
var undefined$1;
|
|
8
8
|
|
|
9
9
|
/** Used as the semantic version number. */
|
|
10
|
-
var VERSION = '4.17.
|
|
10
|
+
var VERSION = '4.17.20';
|
|
11
11
|
|
|
12
12
|
/** Used as the size to enable large array optimizations. */
|
|
13
13
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -3714,8 +3714,21 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
3714
3714
|
* @returns {Array} Returns the new sorted array.
|
|
3715
3715
|
*/
|
|
3716
3716
|
function baseOrderBy(collection, iteratees, orders) {
|
|
3717
|
+
if (iteratees.length) {
|
|
3718
|
+
iteratees = arrayMap(iteratees, function(iteratee) {
|
|
3719
|
+
if (isArray(iteratee)) {
|
|
3720
|
+
return function(value) {
|
|
3721
|
+
return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
3722
|
+
}
|
|
3723
|
+
}
|
|
3724
|
+
return iteratee;
|
|
3725
|
+
});
|
|
3726
|
+
} else {
|
|
3727
|
+
iteratees = [identity];
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3717
3730
|
var index = -1;
|
|
3718
|
-
iteratees = arrayMap(iteratees
|
|
3731
|
+
iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
|
|
3719
3732
|
|
|
3720
3733
|
var result = baseMap(collection, function(value, key, collection) {
|
|
3721
3734
|
var criteria = arrayMap(iteratees, function(iteratee) {
|
|
@@ -3972,6 +3985,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
3972
3985
|
var key = toKey(path[index]),
|
|
3973
3986
|
newValue = value;
|
|
3974
3987
|
|
|
3988
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
3989
|
+
return object;
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3975
3992
|
if (index != lastIndex) {
|
|
3976
3993
|
var objValue = nested[key];
|
|
3977
3994
|
newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
|
|
@@ -4124,11 +4141,14 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
4124
4141
|
* into `array`.
|
|
4125
4142
|
*/
|
|
4126
4143
|
function baseSortedIndexBy(array, value, iteratee, retHighest) {
|
|
4127
|
-
value = iteratee(value);
|
|
4128
|
-
|
|
4129
4144
|
var low = 0,
|
|
4130
|
-
high = array == null ? 0 : array.length
|
|
4131
|
-
|
|
4145
|
+
high = array == null ? 0 : array.length;
|
|
4146
|
+
if (high === 0) {
|
|
4147
|
+
return 0;
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4150
|
+
value = iteratee(value);
|
|
4151
|
+
var valIsNaN = value !== value,
|
|
4132
4152
|
valIsNull = value === null,
|
|
4133
4153
|
valIsSymbol = isSymbol(value),
|
|
4134
4154
|
valIsUndefined = value === undefined$1;
|
|
@@ -5613,10 +5633,11 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
5613
5633
|
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
5614
5634
|
return false;
|
|
5615
5635
|
}
|
|
5616
|
-
//
|
|
5617
|
-
var
|
|
5618
|
-
|
|
5619
|
-
|
|
5636
|
+
// Check that cyclic values are equal.
|
|
5637
|
+
var arrStacked = stack.get(array);
|
|
5638
|
+
var othStacked = stack.get(other);
|
|
5639
|
+
if (arrStacked && othStacked) {
|
|
5640
|
+
return arrStacked == other && othStacked == array;
|
|
5620
5641
|
}
|
|
5621
5642
|
var index = -1,
|
|
5622
5643
|
result = true,
|
|
@@ -5778,10 +5799,11 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
5778
5799
|
return false;
|
|
5779
5800
|
}
|
|
5780
5801
|
}
|
|
5781
|
-
//
|
|
5782
|
-
var
|
|
5783
|
-
|
|
5784
|
-
|
|
5802
|
+
// Check that cyclic values are equal.
|
|
5803
|
+
var objStacked = stack.get(object);
|
|
5804
|
+
var othStacked = stack.get(other);
|
|
5805
|
+
if (objStacked && othStacked) {
|
|
5806
|
+
return objStacked == other && othStacked == object;
|
|
5785
5807
|
}
|
|
5786
5808
|
var result = true;
|
|
5787
5809
|
stack.set(object, other);
|
|
@@ -9162,6 +9184,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
9162
9184
|
* // The `_.property` iteratee shorthand.
|
|
9163
9185
|
* _.filter(users, 'active');
|
|
9164
9186
|
* // => objects for ['barney']
|
|
9187
|
+
*
|
|
9188
|
+
* // Combining several predicates using `_.overEvery` or `_.overSome`.
|
|
9189
|
+
* _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
|
|
9190
|
+
* // => objects for ['fred', 'barney']
|
|
9165
9191
|
*/
|
|
9166
9192
|
function filter(collection, predicate) {
|
|
9167
9193
|
var func = isArray(collection) ? arrayFilter : baseFilter;
|
|
@@ -9911,15 +9937,15 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
9911
9937
|
* var users = [
|
|
9912
9938
|
* { 'user': 'fred', 'age': 48 },
|
|
9913
9939
|
* { 'user': 'barney', 'age': 36 },
|
|
9914
|
-
* { 'user': 'fred', 'age':
|
|
9940
|
+
* { 'user': 'fred', 'age': 30 },
|
|
9915
9941
|
* { 'user': 'barney', 'age': 34 }
|
|
9916
9942
|
* ];
|
|
9917
9943
|
*
|
|
9918
9944
|
* _.sortBy(users, [function(o) { return o.user; }]);
|
|
9919
|
-
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred',
|
|
9945
|
+
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
|
|
9920
9946
|
*
|
|
9921
9947
|
* _.sortBy(users, ['user', 'age']);
|
|
9922
|
-
* // => objects for [['barney', 34], ['barney', 36], ['fred',
|
|
9948
|
+
* // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
|
|
9923
9949
|
*/
|
|
9924
9950
|
var sortBy = baseRest(function(collection, iteratees) {
|
|
9925
9951
|
if (collection == null) {
|
|
@@ -14794,11 +14820,11 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
14794
14820
|
|
|
14795
14821
|
// Use a sourceURL for easier debugging.
|
|
14796
14822
|
// The sourceURL gets injected into the source that's eval-ed, so be careful
|
|
14797
|
-
//
|
|
14798
|
-
//
|
|
14823
|
+
// to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
|
|
14824
|
+
// and escape the comment, thus injecting code that gets evaled.
|
|
14799
14825
|
var sourceURL = '//# sourceURL=' +
|
|
14800
14826
|
(hasOwnProperty.call(options, 'sourceURL')
|
|
14801
|
-
? (options.sourceURL + '').replace(/
|
|
14827
|
+
? (options.sourceURL + '').replace(/\s/g, ' ')
|
|
14802
14828
|
: ('lodash.templateSources[' + (++templateCounter) + ']')
|
|
14803
14829
|
) + '\n';
|
|
14804
14830
|
|
|
@@ -14831,8 +14857,6 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
14831
14857
|
|
|
14832
14858
|
// If `variable` is not specified wrap a with-statement around the generated
|
|
14833
14859
|
// code to add the data object to the top of the scope chain.
|
|
14834
|
-
// Like with sourceURL, we take care to not check the option's prototype,
|
|
14835
|
-
// as this configuration is a code injection vector.
|
|
14836
14860
|
var variable = hasOwnProperty.call(options, 'variable') && options.variable;
|
|
14837
14861
|
if (!variable) {
|
|
14838
14862
|
source = 'with (obj) {\n' + source + '\n}\n';
|
|
@@ -15539,6 +15563,9 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15539
15563
|
* values against any array or object value, respectively. See `_.isEqual`
|
|
15540
15564
|
* for a list of supported value comparisons.
|
|
15541
15565
|
*
|
|
15566
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15567
|
+
* using `_.overSome`
|
|
15568
|
+
*
|
|
15542
15569
|
* @static
|
|
15543
15570
|
* @memberOf _
|
|
15544
15571
|
* @since 3.0.0
|
|
@@ -15554,6 +15581,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15554
15581
|
*
|
|
15555
15582
|
* _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
|
|
15556
15583
|
* // => [{ 'a': 4, 'b': 5, 'c': 6 }]
|
|
15584
|
+
*
|
|
15585
|
+
* // Checking for several possible values
|
|
15586
|
+
* _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
|
|
15587
|
+
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
|
15557
15588
|
*/
|
|
15558
15589
|
function matches(source) {
|
|
15559
15590
|
return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
|
|
@@ -15568,6 +15599,9 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15568
15599
|
* `srcValue` values against any array or object value, respectively. See
|
|
15569
15600
|
* `_.isEqual` for a list of supported value comparisons.
|
|
15570
15601
|
*
|
|
15602
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15603
|
+
* using `_.overSome`
|
|
15604
|
+
*
|
|
15571
15605
|
* @static
|
|
15572
15606
|
* @memberOf _
|
|
15573
15607
|
* @since 3.2.0
|
|
@@ -15584,6 +15618,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15584
15618
|
*
|
|
15585
15619
|
* _.find(objects, _.matchesProperty('a', 4));
|
|
15586
15620
|
* // => { 'a': 4, 'b': 5, 'c': 6 }
|
|
15621
|
+
*
|
|
15622
|
+
* // Checking for several possible values
|
|
15623
|
+
* _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
|
|
15624
|
+
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
|
15587
15625
|
*/
|
|
15588
15626
|
function matchesProperty(path, srcValue) {
|
|
15589
15627
|
return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
|
|
@@ -15807,6 +15845,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15807
15845
|
* Creates a function that checks if **all** of the `predicates` return
|
|
15808
15846
|
* truthy when invoked with the arguments it receives.
|
|
15809
15847
|
*
|
|
15848
|
+
* Following shorthands are possible for providing predicates.
|
|
15849
|
+
* Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
|
|
15850
|
+
* Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
|
|
15851
|
+
*
|
|
15810
15852
|
* @static
|
|
15811
15853
|
* @memberOf _
|
|
15812
15854
|
* @since 4.0.0
|
|
@@ -15833,6 +15875,10 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15833
15875
|
* Creates a function that checks if **any** of the `predicates` return
|
|
15834
15876
|
* truthy when invoked with the arguments it receives.
|
|
15835
15877
|
*
|
|
15878
|
+
* Following shorthands are possible for providing predicates.
|
|
15879
|
+
* Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
|
|
15880
|
+
* Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
|
|
15881
|
+
*
|
|
15836
15882
|
* @static
|
|
15837
15883
|
* @memberOf _
|
|
15838
15884
|
* @since 4.0.0
|
|
@@ -15852,6 +15898,9 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
15852
15898
|
*
|
|
15853
15899
|
* func(NaN);
|
|
15854
15900
|
* // => false
|
|
15901
|
+
*
|
|
15902
|
+
* var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
|
|
15903
|
+
* var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
|
|
15855
15904
|
*/
|
|
15856
15905
|
var overSome = createOver(arraySome);
|
|
15857
15906
|
|
package/dist/esm/urlFor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjhls/mjh-framework",
|
|
3
|
-
"version": "1.0.720-
|
|
3
|
+
"version": "1.0.720-navigation-scroll-fix-v1",
|
|
4
4
|
"description": "Foundation Framework",
|
|
5
5
|
"author": "mjh-framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"test:watch": "react-scripts test --env=jsdom",
|
|
21
21
|
"build": "npm run clean && rollup -c",
|
|
22
22
|
"start": "npm run clean && rollup -c -w",
|
|
23
|
-
"prepare": "
|
|
24
|
-
"predeploy": "cd example &&
|
|
23
|
+
"prepare": "npm run build",
|
|
24
|
+
"predeploy": "cd example && npm install && npm run build",
|
|
25
25
|
"deploy": "gh-pages -d example/build"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|