ui-kit-ck-consultant 0.5.209 → 0.5.212
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/index.css +1 -21
- package/dist/index.js +114 -87
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +114 -87
- package/dist/index.modern.js.map +1 -1
- package/package.json +23 -24
- package/dist/expertloupe~balyfBDB.svg +0 -74
package/dist/index.modern.js
CHANGED
@@ -11,7 +11,7 @@ import Cookies from 'universal-cookie';
|
|
11
11
|
import Holidays from 'date-holidays';
|
12
12
|
|
13
13
|
function _extends() {
|
14
|
-
_extends = Object.assign
|
14
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
15
15
|
for (var i = 1; i < arguments.length; i++) {
|
16
16
|
var source = arguments[i];
|
17
17
|
|
@@ -24,7 +24,6 @@ function _extends() {
|
|
24
24
|
|
25
25
|
return target;
|
26
26
|
};
|
27
|
-
|
28
27
|
return _extends.apply(this, arguments);
|
29
28
|
}
|
30
29
|
|
@@ -36,11 +35,10 @@ function _inheritsLoose(subClass, superClass) {
|
|
36
35
|
}
|
37
36
|
|
38
37
|
function _setPrototypeOf(o, p) {
|
39
|
-
_setPrototypeOf = Object.setPrototypeOf
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
40
39
|
o.__proto__ = p;
|
41
40
|
return o;
|
42
41
|
};
|
43
|
-
|
44
42
|
return _setPrototypeOf(o, p);
|
45
43
|
}
|
46
44
|
|
@@ -3360,7 +3358,8 @@ var Chips = /*#__PURE__*/function (_Component) {
|
|
3360
3358
|
var _this2 = this;
|
3361
3359
|
|
3362
3360
|
return /*#__PURE__*/React.createElement("div", {
|
3363
|
-
className: classNames$1(style$r.component)
|
3361
|
+
className: classNames$1(style$r.component, this.props.className),
|
3362
|
+
style: this.props.style
|
3364
3363
|
}, /*#__PURE__*/React.createElement("div", {
|
3365
3364
|
className: classNames$1(style$r['display-chips'])
|
3366
3365
|
}, this.state.chipsList.length > 0 ? this.state.chipsList.map(function (chips, idx) {
|
@@ -3632,8 +3631,10 @@ var Dropdown = /*#__PURE__*/function (_Component) {
|
|
3632
3631
|
className: classNames$1(style$t.space)
|
3633
3632
|
}) : /*#__PURE__*/React.createElement(Fragment, null), this.props.icon ? this.props.icon : /*#__PURE__*/React.createElement(Fragment, null)), /*#__PURE__*/React.createElement("div", {
|
3634
3633
|
className: dropdownMenuClass
|
3635
|
-
}, this.props.data.map(function (element) {
|
3636
|
-
return /*#__PURE__*/React.createElement("span",
|
3634
|
+
}, this.props.data.map(function (element, key) {
|
3635
|
+
return /*#__PURE__*/React.createElement("span", {
|
3636
|
+
key: key
|
3637
|
+
}, element.title);
|
3637
3638
|
})));
|
3638
3639
|
};
|
3639
3640
|
|
@@ -4018,7 +4019,18 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
|
|
4018
4019
|
|
4019
4020
|
return /*#__PURE__*/React.createElement("div", {
|
4020
4021
|
className: this.props.className
|
4021
|
-
}, /*#__PURE__*/React.createElement("span", {
|
4022
|
+
}, this.props.onEdit ? /*#__PURE__*/React.createElement("span", {
|
4023
|
+
style: {
|
4024
|
+
display: 'inline-block',
|
4025
|
+
fontSize: '14px',
|
4026
|
+
fontWeight: 'bold',
|
4027
|
+
color: 'var(--blue)',
|
4028
|
+
marginBottom: '16px',
|
4029
|
+
cursor: 'pointer',
|
4030
|
+
textDecoration: 'underline'
|
4031
|
+
},
|
4032
|
+
onClick: this.props.onEdit
|
4033
|
+
}, this.props.title) : /*#__PURE__*/React.createElement("span", {
|
4022
4034
|
style: {
|
4023
4035
|
display: 'inline-block',
|
4024
4036
|
fontSize: '14px',
|
@@ -4187,8 +4199,9 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4187
4199
|
|
4188
4200
|
function map(arr, fn) {
|
4189
4201
|
var res = [],
|
4190
|
-
i
|
4191
|
-
|
4202
|
+
i,
|
4203
|
+
arrLen = arr.length;
|
4204
|
+
for (i = 0; i < arrLen; ++i) {
|
4192
4205
|
res.push(fn(arr[i], i));
|
4193
4206
|
}
|
4194
4207
|
return res;
|
@@ -4317,7 +4330,10 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4317
4330
|
updateInProgress = false;
|
4318
4331
|
|
4319
4332
|
function copyConfig(to, from) {
|
4320
|
-
var i,
|
4333
|
+
var i,
|
4334
|
+
prop,
|
4335
|
+
val,
|
4336
|
+
momentPropertiesLen = momentProperties.length;
|
4321
4337
|
|
4322
4338
|
if (!isUndefined(from._isAMomentObject)) {
|
4323
4339
|
to._isAMomentObject = from._isAMomentObject;
|
@@ -4350,8 +4366,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4350
4366
|
to._locale = from._locale;
|
4351
4367
|
}
|
4352
4368
|
|
4353
|
-
if (
|
4354
|
-
for (i = 0; i <
|
4369
|
+
if (momentPropertiesLen > 0) {
|
4370
|
+
for (i = 0; i < momentPropertiesLen; i++) {
|
4355
4371
|
prop = momentProperties[i];
|
4356
4372
|
val = from[prop];
|
4357
4373
|
if (!isUndefined(val)) {
|
@@ -4406,8 +4422,9 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4406
4422
|
var args = [],
|
4407
4423
|
arg,
|
4408
4424
|
i,
|
4409
|
-
key
|
4410
|
-
|
4425
|
+
key,
|
4426
|
+
argLen = arguments.length;
|
4427
|
+
for (i = 0; i < argLen; i++) {
|
4411
4428
|
arg = '';
|
4412
4429
|
if (typeof arguments[i] === 'object') {
|
4413
4430
|
arg += '\n[' + i + '] ';
|
@@ -4557,7 +4574,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4557
4574
|
);
|
4558
4575
|
}
|
4559
4576
|
|
4560
|
-
var formattingTokens =
|
4577
|
+
var formattingTokens =
|
4578
|
+
/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
|
4561
4579
|
localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
|
4562
4580
|
formatFunctions = {},
|
4563
4581
|
formatTokenFunctions = {};
|
@@ -4861,8 +4879,9 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4861
4879
|
if (typeof units === 'object') {
|
4862
4880
|
units = normalizeObjectUnits(units);
|
4863
4881
|
var prioritized = getPrioritizedUnits(units),
|
4864
|
-
i
|
4865
|
-
|
4882
|
+
i,
|
4883
|
+
prioritizedLen = prioritized.length;
|
4884
|
+
for (i = 0; i < prioritizedLen; i++) {
|
4866
4885
|
this[prioritized[i].unit](units[prioritized[i].unit]);
|
4867
4886
|
}
|
4868
4887
|
} else {
|
@@ -4892,7 +4911,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4892
4911
|
matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
|
4893
4912
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
4894
4913
|
// includes scottish gaelic two word and hyphenated months
|
4895
|
-
matchWord =
|
4914
|
+
matchWord =
|
4915
|
+
/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
|
4896
4916
|
regexes;
|
4897
4917
|
|
4898
4918
|
regexes = {};
|
@@ -4918,15 +4938,12 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4918
4938
|
return regexEscape(
|
4919
4939
|
s
|
4920
4940
|
.replace('\\', '')
|
4921
|
-
.replace(
|
4922
|
-
|
4923
|
-
p1,
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
) {
|
4928
|
-
return p1 || p2 || p3 || p4;
|
4929
|
-
})
|
4941
|
+
.replace(
|
4942
|
+
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
4943
|
+
function (matched, p1, p2, p3, p4) {
|
4944
|
+
return p1 || p2 || p3 || p4;
|
4945
|
+
}
|
4946
|
+
)
|
4930
4947
|
);
|
4931
4948
|
}
|
4932
4949
|
|
@@ -4938,7 +4955,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4938
4955
|
|
4939
4956
|
function addParseToken(token, callback) {
|
4940
4957
|
var i,
|
4941
|
-
func = callback
|
4958
|
+
func = callback,
|
4959
|
+
tokenLen;
|
4942
4960
|
if (typeof token === 'string') {
|
4943
4961
|
token = [token];
|
4944
4962
|
}
|
@@ -4947,7 +4965,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
4947
4965
|
array[callback] = toInt(input);
|
4948
4966
|
};
|
4949
4967
|
}
|
4950
|
-
|
4968
|
+
tokenLen = token.length;
|
4969
|
+
for (i = 0; i < tokenLen; i++) {
|
4951
4970
|
tokens[token[i]] = func;
|
4952
4971
|
}
|
4953
4972
|
}
|
@@ -5058,12 +5077,12 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
5058
5077
|
|
5059
5078
|
// LOCALES
|
5060
5079
|
|
5061
|
-
var defaultLocaleMonths =
|
5062
|
-
'
|
5063
|
-
|
5064
|
-
|
5065
|
-
|
5066
|
-
|
5080
|
+
var defaultLocaleMonths =
|
5081
|
+
'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
5082
|
+
'_'
|
5083
|
+
),
|
5084
|
+
defaultLocaleMonthsShort =
|
5085
|
+
'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
5067
5086
|
MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
|
5068
5087
|
defaultMonthsShortRegex = matchWord,
|
5069
5088
|
defaultMonthsRegex = matchWord;
|
@@ -5505,14 +5524,12 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
5505
5524
|
addRegexToken('W', match1to2);
|
5506
5525
|
addRegexToken('WW', match1to2, match2);
|
5507
5526
|
|
5508
|
-
addWeekParseToken(
|
5509
|
-
|
5510
|
-
week,
|
5511
|
-
|
5512
|
-
|
5513
|
-
)
|
5514
|
-
week[token.substr(0, 1)] = toInt(input);
|
5515
|
-
});
|
5527
|
+
addWeekParseToken(
|
5528
|
+
['w', 'ww', 'W', 'WW'],
|
5529
|
+
function (input, week, config, token) {
|
5530
|
+
week[token.substr(0, 1)] = toInt(input);
|
5531
|
+
}
|
5532
|
+
);
|
5516
5533
|
|
5517
5534
|
// HELPERS
|
5518
5535
|
|
@@ -5637,9 +5654,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
5637
5654
|
return ws.slice(n, 7).concat(ws.slice(0, n));
|
5638
5655
|
}
|
5639
5656
|
|
5640
|
-
var defaultLocaleWeekdays =
|
5641
|
-
'_'
|
5642
|
-
),
|
5657
|
+
var defaultLocaleWeekdays =
|
5658
|
+
'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
5643
5659
|
defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
5644
5660
|
defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
5645
5661
|
defaultWeekdaysRegex = matchWord,
|
@@ -6187,6 +6203,11 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6187
6203
|
return globalLocale;
|
6188
6204
|
}
|
6189
6205
|
|
6206
|
+
function isLocaleNameSane(name) {
|
6207
|
+
// Prevent names that look like filesystem paths, i.e contain '/' or '\'
|
6208
|
+
return name.match('^[^/\\\\]*$') != null;
|
6209
|
+
}
|
6210
|
+
|
6190
6211
|
function loadLocale(name) {
|
6191
6212
|
var oldLocale = null,
|
6192
6213
|
aliasedRequire;
|
@@ -6195,7 +6216,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6195
6216
|
locales[name] === undefined &&
|
6196
6217
|
'object' !== 'undefined' &&
|
6197
6218
|
module &&
|
6198
|
-
module.exports
|
6219
|
+
module.exports &&
|
6220
|
+
isLocaleNameSane(name)
|
6199
6221
|
) {
|
6200
6222
|
try {
|
6201
6223
|
oldLocale = globalLocale._abbr;
|
@@ -6412,8 +6434,10 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6412
6434
|
|
6413
6435
|
// iso 8601 regex
|
6414
6436
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
6415
|
-
var extendedIsoRegex =
|
6416
|
-
|
6437
|
+
var extendedIsoRegex =
|
6438
|
+
/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
6439
|
+
basicIsoRegex =
|
6440
|
+
/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
6417
6441
|
tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
|
6418
6442
|
isoDates = [
|
6419
6443
|
['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
|
@@ -6444,7 +6468,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6444
6468
|
],
|
6445
6469
|
aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
|
6446
6470
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
6447
|
-
rfc2822 =
|
6471
|
+
rfc2822 =
|
6472
|
+
/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
|
6448
6473
|
obsOffsets = {
|
6449
6474
|
UT: 0,
|
6450
6475
|
GMT: 0,
|
@@ -6467,12 +6492,13 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6467
6492
|
allowTime,
|
6468
6493
|
dateFormat,
|
6469
6494
|
timeFormat,
|
6470
|
-
tzFormat
|
6495
|
+
tzFormat,
|
6496
|
+
isoDatesLen = isoDates.length,
|
6497
|
+
isoTimesLen = isoTimes.length;
|
6471
6498
|
|
6472
6499
|
if (match) {
|
6473
6500
|
getParsingFlags(config).iso = true;
|
6474
|
-
|
6475
|
-
for (i = 0, l = isoDates.length; i < l; i++) {
|
6501
|
+
for (i = 0, l = isoDatesLen; i < l; i++) {
|
6476
6502
|
if (isoDates[i][1].exec(match[1])) {
|
6477
6503
|
dateFormat = isoDates[i][0];
|
6478
6504
|
allowTime = isoDates[i][2] !== false;
|
@@ -6484,7 +6510,7 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6484
6510
|
return;
|
6485
6511
|
}
|
6486
6512
|
if (match[3]) {
|
6487
|
-
for (i = 0, l =
|
6513
|
+
for (i = 0, l = isoTimesLen; i < l; i++) {
|
6488
6514
|
if (isoTimes[i][1].exec(match[3])) {
|
6489
6515
|
// match[2] should be 'T' or space
|
6490
6516
|
timeFormat = (match[2] || ' ') + isoTimes[i][0];
|
@@ -6864,12 +6890,13 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6864
6890
|
skipped,
|
6865
6891
|
stringLength = string.length,
|
6866
6892
|
totalParsedInputLength = 0,
|
6867
|
-
era
|
6893
|
+
era,
|
6894
|
+
tokenLen;
|
6868
6895
|
|
6869
6896
|
tokens =
|
6870
6897
|
expandFormat(config._f, config._locale).match(formattingTokens) || [];
|
6871
|
-
|
6872
|
-
for (i = 0; i <
|
6898
|
+
tokenLen = tokens.length;
|
6899
|
+
for (i = 0; i < tokenLen; i++) {
|
6873
6900
|
token = tokens[i];
|
6874
6901
|
parsedInput = (string.match(getParseRegexForToken(token, config)) ||
|
6875
6902
|
[])[0];
|
@@ -6964,15 +6991,16 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
6964
6991
|
i,
|
6965
6992
|
currentScore,
|
6966
6993
|
validFormatFound,
|
6967
|
-
bestFormatIsValid = false
|
6994
|
+
bestFormatIsValid = false,
|
6995
|
+
configfLen = config._f.length;
|
6968
6996
|
|
6969
|
-
if (
|
6997
|
+
if (configfLen === 0) {
|
6970
6998
|
getParsingFlags(config).invalidFormat = true;
|
6971
6999
|
config._d = new Date(NaN);
|
6972
7000
|
return;
|
6973
7001
|
}
|
6974
7002
|
|
6975
|
-
for (i = 0; i <
|
7003
|
+
for (i = 0; i < configfLen; i++) {
|
6976
7004
|
currentScore = 0;
|
6977
7005
|
validFormatFound = false;
|
6978
7006
|
tempConfig = copyConfig({}, config);
|
@@ -7213,7 +7241,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
7213
7241
|
function isDurationValid(m) {
|
7214
7242
|
var key,
|
7215
7243
|
unitHasDecimal = false,
|
7216
|
-
i
|
7244
|
+
i,
|
7245
|
+
orderLen = ordering.length;
|
7217
7246
|
for (key in m) {
|
7218
7247
|
if (
|
7219
7248
|
hasOwnProp(m, key) &&
|
@@ -7226,7 +7255,7 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
7226
7255
|
}
|
7227
7256
|
}
|
7228
7257
|
|
7229
|
-
for (i = 0; i <
|
7258
|
+
for (i = 0; i < orderLen; ++i) {
|
7230
7259
|
if (m[ordering[i]]) {
|
7231
7260
|
if (unitHasDecimal) {
|
7232
7261
|
return false; // only allow non-integers for smallest unit
|
@@ -7551,7 +7580,8 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
7551
7580
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
7552
7581
|
// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
|
7553
7582
|
// and further modified to allow for strings containing both week and day
|
7554
|
-
isoRegex =
|
7583
|
+
isoRegex =
|
7584
|
+
/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
7555
7585
|
|
7556
7586
|
function createDuration(input, key) {
|
7557
7587
|
var duration = input,
|
@@ -7772,9 +7802,10 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
7772
7802
|
'ms',
|
7773
7803
|
],
|
7774
7804
|
i,
|
7775
|
-
property
|
7805
|
+
property,
|
7806
|
+
propertyLen = properties.length;
|
7776
7807
|
|
7777
|
-
for (i = 0; i <
|
7808
|
+
for (i = 0; i < propertyLen; i += 1) {
|
7778
7809
|
property = properties[i];
|
7779
7810
|
propertyTest = propertyTest || hasOwnProp(input, property);
|
7780
7811
|
}
|
@@ -8397,19 +8428,17 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
8397
8428
|
addRegexToken('NNNN', matchEraName);
|
8398
8429
|
addRegexToken('NNNNN', matchEraNarrow);
|
8399
8430
|
|
8400
|
-
addParseToken(
|
8401
|
-
|
8402
|
-
array,
|
8403
|
-
|
8404
|
-
|
8405
|
-
|
8406
|
-
|
8407
|
-
|
8408
|
-
|
8409
|
-
} else {
|
8410
|
-
getParsingFlags(config).invalidEra = input;
|
8431
|
+
addParseToken(
|
8432
|
+
['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
|
8433
|
+
function (input, array, config, token) {
|
8434
|
+
var era = config._locale.erasParse(input, token, config._strict);
|
8435
|
+
if (era) {
|
8436
|
+
getParsingFlags(config).era = era;
|
8437
|
+
} else {
|
8438
|
+
getParsingFlags(config).invalidEra = input;
|
8439
|
+
}
|
8411
8440
|
}
|
8412
|
-
|
8441
|
+
);
|
8413
8442
|
|
8414
8443
|
addRegexToken('y', matchUnsigned);
|
8415
8444
|
addRegexToken('yy', matchUnsigned);
|
@@ -8701,14 +8730,12 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
8701
8730
|
addRegexToken('GGGGG', match1to6, match6);
|
8702
8731
|
addRegexToken('ggggg', match1to6, match6);
|
8703
8732
|
|
8704
|
-
addWeekParseToken(
|
8705
|
-
|
8706
|
-
week,
|
8707
|
-
|
8708
|
-
|
8709
|
-
)
|
8710
|
-
week[token.substr(0, 2)] = toInt(input);
|
8711
|
-
});
|
8733
|
+
addWeekParseToken(
|
8734
|
+
['gggg', 'ggggg', 'GGGG', 'GGGGG'],
|
8735
|
+
function (input, week, config, token) {
|
8736
|
+
week[token.substr(0, 2)] = toInt(input);
|
8737
|
+
}
|
8738
|
+
);
|
8712
8739
|
|
8713
8740
|
addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
|
8714
8741
|
week[token] = hooks.parseTwoDigitYear(input);
|
@@ -9731,7 +9758,7 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
9731
9758
|
|
9732
9759
|
//! moment.js
|
9733
9760
|
|
9734
|
-
hooks.version = '2.29.
|
9761
|
+
hooks.version = '2.29.3';
|
9735
9762
|
|
9736
9763
|
setHookCallback(createLocal);
|
9737
9764
|
|