@galaxy-ds/core 1.1.60 → 1.1.61
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/Themes/Desktop/pallette.d.ts +0 -1
- package/dist/Themes/Web/pallette.d.ts +0 -1
- package/dist/index.esm.js +113 -125
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +113 -125
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5707,7 +5707,7 @@ var Jss =
|
|
|
5707
5707
|
function () {
|
|
5708
5708
|
function Jss(options) {
|
|
5709
5709
|
this.id = instanceCounter++;
|
|
5710
|
-
this.version = "10.8.
|
|
5710
|
+
this.version = "10.8.0";
|
|
5711
5711
|
this.plugins = new PluginsRegistry();
|
|
5712
5712
|
this.options = {
|
|
5713
5713
|
id: {
|
|
@@ -36530,10 +36530,10 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36530
36530
|
/**
|
|
36531
36531
|
* @name isSameDay
|
|
36532
36532
|
* @category Day Helpers
|
|
36533
|
-
* @summary Are the given dates in the same day
|
|
36533
|
+
* @summary Are the given dates in the same day?
|
|
36534
36534
|
*
|
|
36535
36535
|
* @description
|
|
36536
|
-
* Are the given dates in the same day
|
|
36536
|
+
* Are the given dates in the same day?
|
|
36537
36537
|
*
|
|
36538
36538
|
* ### v2.0.0 breaking changes:
|
|
36539
36539
|
*
|
|
@@ -36541,23 +36541,13 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36541
36541
|
*
|
|
36542
36542
|
* @param {Date|Number} dateLeft - the first date to check
|
|
36543
36543
|
* @param {Date|Number} dateRight - the second date to check
|
|
36544
|
-
* @returns {Boolean} the dates are in the same day
|
|
36544
|
+
* @returns {Boolean} the dates are in the same day
|
|
36545
36545
|
* @throws {TypeError} 2 arguments required
|
|
36546
36546
|
*
|
|
36547
36547
|
* @example
|
|
36548
36548
|
* // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?
|
|
36549
36549
|
* var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))
|
|
36550
36550
|
* //=> true
|
|
36551
|
-
*
|
|
36552
|
-
* @example
|
|
36553
|
-
* // Are 4 September and 4 October in the same day?
|
|
36554
|
-
* var result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))
|
|
36555
|
-
* //=> false
|
|
36556
|
-
*
|
|
36557
|
-
* @example
|
|
36558
|
-
* // Are 4 September, 2014 and 4 September, 2015 in the same day?
|
|
36559
|
-
* var result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))
|
|
36560
|
-
* //=> false
|
|
36561
36551
|
*/
|
|
36562
36552
|
|
|
36563
36553
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -36854,7 +36844,7 @@ function buildLocalizeFn(args) {
|
|
|
36854
36844
|
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
|
36855
36845
|
}
|
|
36856
36846
|
|
|
36857
|
-
var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I
|
|
36847
|
+
var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challange you to try to remove it!
|
|
36858
36848
|
|
|
36859
36849
|
return valuesArray[index];
|
|
36860
36850
|
};
|
|
@@ -37273,6 +37263,101 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
|
37273
37263
|
return addMilliseconds(dirtyDate, -amount);
|
|
37274
37264
|
}
|
|
37275
37265
|
|
|
37266
|
+
function addLeadingZeros(number, targetLength) {
|
|
37267
|
+
var sign = number < 0 ? '-' : '';
|
|
37268
|
+
var output = Math.abs(number).toString();
|
|
37269
|
+
|
|
37270
|
+
while (output.length < targetLength) {
|
|
37271
|
+
output = '0' + output;
|
|
37272
|
+
}
|
|
37273
|
+
|
|
37274
|
+
return sign + output;
|
|
37275
|
+
}
|
|
37276
|
+
|
|
37277
|
+
/*
|
|
37278
|
+
* | | Unit | | Unit |
|
|
37279
|
+
* |-----|--------------------------------|-----|--------------------------------|
|
|
37280
|
+
* | a | AM, PM | A* | |
|
|
37281
|
+
* | d | Day of month | D | |
|
|
37282
|
+
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37283
|
+
* | m | Minute | M | Month |
|
|
37284
|
+
* | s | Second | S | Fraction of second |
|
|
37285
|
+
* | y | Year (abs) | Y | |
|
|
37286
|
+
*
|
|
37287
|
+
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37288
|
+
*/
|
|
37289
|
+
|
|
37290
|
+
var formatters$2 = {
|
|
37291
|
+
// Year
|
|
37292
|
+
y: function (date, token) {
|
|
37293
|
+
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37294
|
+
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37295
|
+
// |----------|-------|----|-------|-------|-------|
|
|
37296
|
+
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37297
|
+
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37298
|
+
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37299
|
+
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37300
|
+
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37301
|
+
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37302
|
+
|
|
37303
|
+
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37304
|
+
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37305
|
+
},
|
|
37306
|
+
// Month
|
|
37307
|
+
M: function (date, token) {
|
|
37308
|
+
var month = date.getUTCMonth();
|
|
37309
|
+
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37310
|
+
},
|
|
37311
|
+
// Day of the month
|
|
37312
|
+
d: function (date, token) {
|
|
37313
|
+
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37314
|
+
},
|
|
37315
|
+
// AM or PM
|
|
37316
|
+
a: function (date, token) {
|
|
37317
|
+
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37318
|
+
|
|
37319
|
+
switch (token) {
|
|
37320
|
+
case 'a':
|
|
37321
|
+
case 'aa':
|
|
37322
|
+
return dayPeriodEnumValue.toUpperCase();
|
|
37323
|
+
|
|
37324
|
+
case 'aaa':
|
|
37325
|
+
return dayPeriodEnumValue;
|
|
37326
|
+
|
|
37327
|
+
case 'aaaaa':
|
|
37328
|
+
return dayPeriodEnumValue[0];
|
|
37329
|
+
|
|
37330
|
+
case 'aaaa':
|
|
37331
|
+
default:
|
|
37332
|
+
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37333
|
+
}
|
|
37334
|
+
},
|
|
37335
|
+
// Hour [1-12]
|
|
37336
|
+
h: function (date, token) {
|
|
37337
|
+
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37338
|
+
},
|
|
37339
|
+
// Hour [0-23]
|
|
37340
|
+
H: function (date, token) {
|
|
37341
|
+
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37342
|
+
},
|
|
37343
|
+
// Minute
|
|
37344
|
+
m: function (date, token) {
|
|
37345
|
+
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37346
|
+
},
|
|
37347
|
+
// Second
|
|
37348
|
+
s: function (date, token) {
|
|
37349
|
+
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37350
|
+
},
|
|
37351
|
+
// Fraction of second
|
|
37352
|
+
S: function (date, token) {
|
|
37353
|
+
var numberOfDigits = token.length;
|
|
37354
|
+
var milliseconds = date.getUTCMilliseconds();
|
|
37355
|
+
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37356
|
+
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37357
|
+
}
|
|
37358
|
+
};
|
|
37359
|
+
var lightFormatters = formatters$2;
|
|
37360
|
+
|
|
37276
37361
|
var MILLISECONDS_IN_DAY$1 = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
37277
37362
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
37278
37363
|
|
|
@@ -37375,7 +37460,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
|
|
|
37375
37460
|
|
|
37376
37461
|
function getUTCWeekYear(dirtyDate, dirtyOptions) {
|
|
37377
37462
|
requiredArgs(1, arguments);
|
|
37378
|
-
var date = toDate(dirtyDate);
|
|
37463
|
+
var date = toDate(dirtyDate, dirtyOptions);
|
|
37379
37464
|
var year = date.getUTCFullYear();
|
|
37380
37465
|
var options = dirtyOptions || {};
|
|
37381
37466
|
var locale = options.locale;
|
|
@@ -37435,101 +37520,6 @@ function getUTCWeek(dirtyDate, options) {
|
|
|
37435
37520
|
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
37436
37521
|
}
|
|
37437
37522
|
|
|
37438
|
-
function addLeadingZeros(number, targetLength) {
|
|
37439
|
-
var sign = number < 0 ? '-' : '';
|
|
37440
|
-
var output = Math.abs(number).toString();
|
|
37441
|
-
|
|
37442
|
-
while (output.length < targetLength) {
|
|
37443
|
-
output = '0' + output;
|
|
37444
|
-
}
|
|
37445
|
-
|
|
37446
|
-
return sign + output;
|
|
37447
|
-
}
|
|
37448
|
-
|
|
37449
|
-
/*
|
|
37450
|
-
* | | Unit | | Unit |
|
|
37451
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
37452
|
-
* | a | AM, PM | A* | |
|
|
37453
|
-
* | d | Day of month | D | |
|
|
37454
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37455
|
-
* | m | Minute | M | Month |
|
|
37456
|
-
* | s | Second | S | Fraction of second |
|
|
37457
|
-
* | y | Year (abs) | Y | |
|
|
37458
|
-
*
|
|
37459
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37460
|
-
*/
|
|
37461
|
-
|
|
37462
|
-
var formatters$2 = {
|
|
37463
|
-
// Year
|
|
37464
|
-
y: function (date, token) {
|
|
37465
|
-
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37466
|
-
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37467
|
-
// |----------|-------|----|-------|-------|-------|
|
|
37468
|
-
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37469
|
-
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37470
|
-
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37471
|
-
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37472
|
-
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37473
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37474
|
-
|
|
37475
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37476
|
-
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37477
|
-
},
|
|
37478
|
-
// Month
|
|
37479
|
-
M: function (date, token) {
|
|
37480
|
-
var month = date.getUTCMonth();
|
|
37481
|
-
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37482
|
-
},
|
|
37483
|
-
// Day of the month
|
|
37484
|
-
d: function (date, token) {
|
|
37485
|
-
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37486
|
-
},
|
|
37487
|
-
// AM or PM
|
|
37488
|
-
a: function (date, token) {
|
|
37489
|
-
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37490
|
-
|
|
37491
|
-
switch (token) {
|
|
37492
|
-
case 'a':
|
|
37493
|
-
case 'aa':
|
|
37494
|
-
return dayPeriodEnumValue.toUpperCase();
|
|
37495
|
-
|
|
37496
|
-
case 'aaa':
|
|
37497
|
-
return dayPeriodEnumValue;
|
|
37498
|
-
|
|
37499
|
-
case 'aaaaa':
|
|
37500
|
-
return dayPeriodEnumValue[0];
|
|
37501
|
-
|
|
37502
|
-
case 'aaaa':
|
|
37503
|
-
default:
|
|
37504
|
-
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37505
|
-
}
|
|
37506
|
-
},
|
|
37507
|
-
// Hour [1-12]
|
|
37508
|
-
h: function (date, token) {
|
|
37509
|
-
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37510
|
-
},
|
|
37511
|
-
// Hour [0-23]
|
|
37512
|
-
H: function (date, token) {
|
|
37513
|
-
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37514
|
-
},
|
|
37515
|
-
// Minute
|
|
37516
|
-
m: function (date, token) {
|
|
37517
|
-
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37518
|
-
},
|
|
37519
|
-
// Second
|
|
37520
|
-
s: function (date, token) {
|
|
37521
|
-
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37522
|
-
},
|
|
37523
|
-
// Fraction of second
|
|
37524
|
-
S: function (date, token) {
|
|
37525
|
-
var numberOfDigits = token.length;
|
|
37526
|
-
var milliseconds = date.getUTCMilliseconds();
|
|
37527
|
-
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37528
|
-
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37529
|
-
}
|
|
37530
|
-
};
|
|
37531
|
-
var lightFormatters = formatters$2;
|
|
37532
|
-
|
|
37533
37523
|
var dayPeriodEnum = {
|
|
37534
37524
|
am: 'am',
|
|
37535
37525
|
pm: 'pm',
|
|
@@ -38441,7 +38431,7 @@ function timeLongFormatter(pattern, formatLong) {
|
|
|
38441
38431
|
}
|
|
38442
38432
|
|
|
38443
38433
|
function dateTimeLongFormatter(pattern, formatLong) {
|
|
38444
|
-
var matchResult = pattern.match(/(P+)(p+)?/)
|
|
38434
|
+
var matchResult = pattern.match(/(P+)(p+)?/);
|
|
38445
38435
|
var datePattern = matchResult[1];
|
|
38446
38436
|
var timePattern = matchResult[2];
|
|
38447
38437
|
|
|
@@ -38789,7 +38779,7 @@ var unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
|
|
|
38789
38779
|
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
38790
38780
|
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
38791
38781
|
*
|
|
38792
|
-
* 9. `D` and `DD` tokens represent days of the year but they are
|
|
38782
|
+
* 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
|
|
38793
38783
|
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
38794
38784
|
*
|
|
38795
38785
|
* ### v2.0.0 breaking changes:
|
|
@@ -41426,7 +41416,7 @@ var parsers = {
|
|
|
41426
41416
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41427
41417
|
return date;
|
|
41428
41418
|
},
|
|
41429
|
-
incompatibleTokens: ['b', 'B', 'H', 'k', 't', 'T']
|
|
41419
|
+
incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']
|
|
41430
41420
|
},
|
|
41431
41421
|
// AM, PM, midnight
|
|
41432
41422
|
b: {
|
|
@@ -41468,7 +41458,7 @@ var parsers = {
|
|
|
41468
41458
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41469
41459
|
return date;
|
|
41470
41460
|
},
|
|
41471
|
-
incompatibleTokens: ['a', 'B', 'H', 'k', 't', 'T']
|
|
41461
|
+
incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']
|
|
41472
41462
|
},
|
|
41473
41463
|
// in the morning, in the afternoon, in the evening, at night
|
|
41474
41464
|
B: {
|
|
@@ -41604,7 +41594,7 @@ var parsers = {
|
|
|
41604
41594
|
|
|
41605
41595
|
return date;
|
|
41606
41596
|
},
|
|
41607
|
-
incompatibleTokens: ['h', 'H', 'k', 't', 'T']
|
|
41597
|
+
incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']
|
|
41608
41598
|
},
|
|
41609
41599
|
// Hour [1-24]
|
|
41610
41600
|
k: {
|
|
@@ -41962,7 +41952,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
|
41962
41952
|
* | | | tt | ... | 2 |
|
|
41963
41953
|
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
41964
41954
|
* | | | SS | 00, 01, ..., 99 | |
|
|
41965
|
-
* | | | SSS | 000,
|
|
41955
|
+
* | | | SSS | 000, 0001, ..., 999 | |
|
|
41966
41956
|
* | | | SSSS | ... | 2 |
|
|
41967
41957
|
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
41968
41958
|
* | | | TT | ... | 2 |
|
|
@@ -43571,10 +43561,10 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43571
43561
|
/**
|
|
43572
43562
|
* @name isSameMonth
|
|
43573
43563
|
* @category Month Helpers
|
|
43574
|
-
* @summary Are the given dates in the same month
|
|
43564
|
+
* @summary Are the given dates in the same month?
|
|
43575
43565
|
*
|
|
43576
43566
|
* @description
|
|
43577
|
-
* Are the given dates in the same month
|
|
43567
|
+
* Are the given dates in the same month?
|
|
43578
43568
|
*
|
|
43579
43569
|
* ### v2.0.0 breaking changes:
|
|
43580
43570
|
*
|
|
@@ -43582,18 +43572,13 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43582
43572
|
*
|
|
43583
43573
|
* @param {Date|Number} dateLeft - the first date to check
|
|
43584
43574
|
* @param {Date|Number} dateRight - the second date to check
|
|
43585
|
-
* @returns {Boolean} the dates are in the same month
|
|
43575
|
+
* @returns {Boolean} the dates are in the same month
|
|
43586
43576
|
* @throws {TypeError} 2 arguments required
|
|
43587
43577
|
*
|
|
43588
43578
|
* @example
|
|
43589
43579
|
* // Are 2 September 2014 and 25 September 2014 in the same month?
|
|
43590
43580
|
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
43591
43581
|
* //=> true
|
|
43592
|
-
*
|
|
43593
|
-
* @example
|
|
43594
|
-
* // Are 2 September 2014 and 25 September 2015 in the same month?
|
|
43595
|
-
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))
|
|
43596
|
-
* //=> false
|
|
43597
43582
|
*/
|
|
43598
43583
|
|
|
43599
43584
|
function isSameMonth(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -47734,6 +47719,9 @@ var themeWeb = createTheme({
|
|
|
47734
47719
|
},
|
|
47735
47720
|
},
|
|
47736
47721
|
},
|
|
47722
|
+
"& .MuiCheckbox-root": {
|
|
47723
|
+
marginRight: "12px"
|
|
47724
|
+
},
|
|
47737
47725
|
'&.gds-drawer-menu-item': {
|
|
47738
47726
|
backgroundColor: 'transparent',
|
|
47739
47727
|
color: pallettes$1.grey['200'],
|