@xelto.npm/xc2-lib 0.1.25 → 0.1.26
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.cjs.js +1068 -71
- package/dist/index.esm.js +1068 -71
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -429,7 +429,7 @@ function trim$5 (value) {
|
|
|
429
429
|
* @param {RegExp} pattern
|
|
430
430
|
* @return {string?}
|
|
431
431
|
*/
|
|
432
|
-
function match$
|
|
432
|
+
function match$7 (value, pattern) {
|
|
433
433
|
return (value = pattern.exec(value)) ? value[0] : value
|
|
434
434
|
}
|
|
435
435
|
|
|
@@ -1411,7 +1411,7 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
|
1411
1411
|
|
|
1412
1412
|
case RULESET:
|
|
1413
1413
|
if (element.length) return combine(element.props, function (value) {
|
|
1414
|
-
switch (match$
|
|
1414
|
+
switch (match$7(value, /(::plac\w+|:read-\w+)/)) {
|
|
1415
1415
|
// :read-(only|write)
|
|
1416
1416
|
case ':read-only':
|
|
1417
1417
|
case ':read-write':
|
|
@@ -36721,7 +36721,8 @@ var Select = function Select(_ref4) {
|
|
|
36721
36721
|
noOptionsText: noOptionsText,
|
|
36722
36722
|
isOptionEqualToValue: function isOptionEqualToValue(option, value) {
|
|
36723
36723
|
return option.id === value.id;
|
|
36724
|
-
}
|
|
36724
|
+
},
|
|
36725
|
+
disableClearable: true
|
|
36725
36726
|
})), withRefresh ? /*#__PURE__*/React__namespace.createElement(Icon, {
|
|
36726
36727
|
iconName: 'icon_wf_refresh',
|
|
36727
36728
|
style: {
|
|
@@ -39563,7 +39564,7 @@ function throwProtectedError(token, format, input) {
|
|
|
39563
39564
|
}
|
|
39564
39565
|
}
|
|
39565
39566
|
|
|
39566
|
-
var formatDistanceLocale = {
|
|
39567
|
+
var formatDistanceLocale$2 = {
|
|
39567
39568
|
lessThanXSeconds: {
|
|
39568
39569
|
one: 'less than a second',
|
|
39569
39570
|
other: 'less than {{count}} seconds'
|
|
@@ -39627,9 +39628,9 @@ var formatDistanceLocale = {
|
|
|
39627
39628
|
}
|
|
39628
39629
|
};
|
|
39629
39630
|
|
|
39630
|
-
var formatDistance = function formatDistance(token, count, options) {
|
|
39631
|
+
var formatDistance$4 = function formatDistance(token, count, options) {
|
|
39631
39632
|
var result;
|
|
39632
|
-
var tokenValue = formatDistanceLocale[token];
|
|
39633
|
+
var tokenValue = formatDistanceLocale$2[token];
|
|
39633
39634
|
|
|
39634
39635
|
if (typeof tokenValue === 'string') {
|
|
39635
39636
|
result = tokenValue;
|
|
@@ -39650,7 +39651,7 @@ var formatDistance = function formatDistance(token, count, options) {
|
|
|
39650
39651
|
return result;
|
|
39651
39652
|
};
|
|
39652
39653
|
|
|
39653
|
-
var formatDistance$
|
|
39654
|
+
var formatDistance$5 = formatDistance$4;
|
|
39654
39655
|
|
|
39655
39656
|
function buildFormatLongFn(args) {
|
|
39656
39657
|
return function () {
|
|
@@ -39662,41 +39663,41 @@ function buildFormatLongFn(args) {
|
|
|
39662
39663
|
};
|
|
39663
39664
|
}
|
|
39664
39665
|
|
|
39665
|
-
var dateFormats = {
|
|
39666
|
+
var dateFormats$3 = {
|
|
39666
39667
|
full: 'EEEE, MMMM do, y',
|
|
39667
39668
|
long: 'MMMM do, y',
|
|
39668
39669
|
medium: 'MMM d, y',
|
|
39669
39670
|
short: 'MM/dd/yyyy'
|
|
39670
39671
|
};
|
|
39671
|
-
var timeFormats = {
|
|
39672
|
+
var timeFormats$3 = {
|
|
39672
39673
|
full: 'h:mm:ss a zzzz',
|
|
39673
39674
|
long: 'h:mm:ss a z',
|
|
39674
39675
|
medium: 'h:mm:ss a',
|
|
39675
39676
|
short: 'h:mm a'
|
|
39676
39677
|
};
|
|
39677
|
-
var dateTimeFormats = {
|
|
39678
|
+
var dateTimeFormats$3 = {
|
|
39678
39679
|
full: "{{date}} 'at' {{time}}",
|
|
39679
39680
|
long: "{{date}} 'at' {{time}}",
|
|
39680
39681
|
medium: '{{date}}, {{time}}',
|
|
39681
39682
|
short: '{{date}}, {{time}}'
|
|
39682
39683
|
};
|
|
39683
|
-
var formatLong = {
|
|
39684
|
+
var formatLong$6 = {
|
|
39684
39685
|
date: buildFormatLongFn({
|
|
39685
|
-
formats: dateFormats,
|
|
39686
|
+
formats: dateFormats$3,
|
|
39686
39687
|
defaultWidth: 'full'
|
|
39687
39688
|
}),
|
|
39688
39689
|
time: buildFormatLongFn({
|
|
39689
|
-
formats: timeFormats,
|
|
39690
|
+
formats: timeFormats$3,
|
|
39690
39691
|
defaultWidth: 'full'
|
|
39691
39692
|
}),
|
|
39692
39693
|
dateTime: buildFormatLongFn({
|
|
39693
|
-
formats: dateTimeFormats,
|
|
39694
|
+
formats: dateTimeFormats$3,
|
|
39694
39695
|
defaultWidth: 'full'
|
|
39695
39696
|
})
|
|
39696
39697
|
};
|
|
39697
|
-
var formatLong$
|
|
39698
|
+
var formatLong$7 = formatLong$6;
|
|
39698
39699
|
|
|
39699
|
-
var formatRelativeLocale = {
|
|
39700
|
+
var formatRelativeLocale$2 = {
|
|
39700
39701
|
lastWeek: "'last' eeee 'at' p",
|
|
39701
39702
|
yesterday: "'yesterday at' p",
|
|
39702
39703
|
today: "'today at' p",
|
|
@@ -39705,11 +39706,11 @@ var formatRelativeLocale = {
|
|
|
39705
39706
|
other: 'P'
|
|
39706
39707
|
};
|
|
39707
39708
|
|
|
39708
|
-
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
|
|
39709
|
-
return formatRelativeLocale[token];
|
|
39709
|
+
var formatRelative$4 = function formatRelative(token, _date, _baseDate, _options) {
|
|
39710
|
+
return formatRelativeLocale$2[token];
|
|
39710
39711
|
};
|
|
39711
39712
|
|
|
39712
|
-
var formatRelative$
|
|
39713
|
+
var formatRelative$5 = formatRelative$4;
|
|
39713
39714
|
|
|
39714
39715
|
function buildLocalizeFn(args) {
|
|
39715
39716
|
return function (dirtyIndex, options) {
|
|
@@ -39734,12 +39735,12 @@ function buildLocalizeFn(args) {
|
|
|
39734
39735
|
};
|
|
39735
39736
|
}
|
|
39736
39737
|
|
|
39737
|
-
var eraValues = {
|
|
39738
|
+
var eraValues$2 = {
|
|
39738
39739
|
narrow: ['B', 'A'],
|
|
39739
39740
|
abbreviated: ['BC', 'AD'],
|
|
39740
39741
|
wide: ['Before Christ', 'Anno Domini']
|
|
39741
39742
|
};
|
|
39742
|
-
var quarterValues = {
|
|
39743
|
+
var quarterValues$2 = {
|
|
39743
39744
|
narrow: ['1', '2', '3', '4'],
|
|
39744
39745
|
abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
|
|
39745
39746
|
wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']
|
|
@@ -39748,18 +39749,18 @@ var quarterValues = {
|
|
|
39748
39749
|
// Generally, formatted dates should look like they are in the middle of a sentence,
|
|
39749
39750
|
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
|
39750
39751
|
|
|
39751
|
-
var monthValues = {
|
|
39752
|
+
var monthValues$2 = {
|
|
39752
39753
|
narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
39753
39754
|
abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
39754
39755
|
wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
|
|
39755
39756
|
};
|
|
39756
|
-
var dayValues = {
|
|
39757
|
+
var dayValues$2 = {
|
|
39757
39758
|
narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
|
|
39758
39759
|
short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
|
39759
39760
|
abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
39760
39761
|
wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
|
|
39761
39762
|
};
|
|
39762
|
-
var dayPeriodValues = {
|
|
39763
|
+
var dayPeriodValues$2 = {
|
|
39763
39764
|
narrow: {
|
|
39764
39765
|
am: 'a',
|
|
39765
39766
|
pm: 'p',
|
|
@@ -39791,7 +39792,7 @@ var dayPeriodValues = {
|
|
|
39791
39792
|
night: 'night'
|
|
39792
39793
|
}
|
|
39793
39794
|
};
|
|
39794
|
-
var formattingDayPeriodValues = {
|
|
39795
|
+
var formattingDayPeriodValues$2 = {
|
|
39795
39796
|
narrow: {
|
|
39796
39797
|
am: 'a',
|
|
39797
39798
|
pm: 'p',
|
|
@@ -39824,7 +39825,7 @@ var formattingDayPeriodValues = {
|
|
|
39824
39825
|
}
|
|
39825
39826
|
};
|
|
39826
39827
|
|
|
39827
|
-
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
|
39828
|
+
var ordinalNumber$2 = function ordinalNumber(dirtyNumber, _options) {
|
|
39828
39829
|
var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,
|
|
39829
39830
|
// if they are different for different grammatical genders,
|
|
39830
39831
|
// use `options.unit`.
|
|
@@ -39850,35 +39851,35 @@ var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
|
|
39850
39851
|
return number + 'th';
|
|
39851
39852
|
};
|
|
39852
39853
|
|
|
39853
|
-
var localize = {
|
|
39854
|
-
ordinalNumber: ordinalNumber,
|
|
39854
|
+
var localize$4 = {
|
|
39855
|
+
ordinalNumber: ordinalNumber$2,
|
|
39855
39856
|
era: buildLocalizeFn({
|
|
39856
|
-
values: eraValues,
|
|
39857
|
+
values: eraValues$2,
|
|
39857
39858
|
defaultWidth: 'wide'
|
|
39858
39859
|
}),
|
|
39859
39860
|
quarter: buildLocalizeFn({
|
|
39860
|
-
values: quarterValues,
|
|
39861
|
+
values: quarterValues$2,
|
|
39861
39862
|
defaultWidth: 'wide',
|
|
39862
39863
|
argumentCallback: function argumentCallback(quarter) {
|
|
39863
39864
|
return quarter - 1;
|
|
39864
39865
|
}
|
|
39865
39866
|
}),
|
|
39866
39867
|
month: buildLocalizeFn({
|
|
39867
|
-
values: monthValues,
|
|
39868
|
+
values: monthValues$2,
|
|
39868
39869
|
defaultWidth: 'wide'
|
|
39869
39870
|
}),
|
|
39870
39871
|
day: buildLocalizeFn({
|
|
39871
|
-
values: dayValues,
|
|
39872
|
+
values: dayValues$2,
|
|
39872
39873
|
defaultWidth: 'wide'
|
|
39873
39874
|
}),
|
|
39874
39875
|
dayPeriod: buildLocalizeFn({
|
|
39875
|
-
values: dayPeriodValues,
|
|
39876
|
+
values: dayPeriodValues$2,
|
|
39876
39877
|
defaultWidth: 'wide',
|
|
39877
|
-
formattingValues: formattingDayPeriodValues,
|
|
39878
|
+
formattingValues: formattingDayPeriodValues$2,
|
|
39878
39879
|
defaultFormattingWidth: 'wide'
|
|
39879
39880
|
})
|
|
39880
39881
|
};
|
|
39881
|
-
var localize$
|
|
39882
|
+
var localize$5 = localize$4;
|
|
39882
39883
|
|
|
39883
39884
|
function buildMatchFn(args) {
|
|
39884
39885
|
return function (string) {
|
|
@@ -39947,48 +39948,48 @@ function buildMatchPatternFn(args) {
|
|
|
39947
39948
|
};
|
|
39948
39949
|
}
|
|
39949
39950
|
|
|
39950
|
-
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
|
39951
|
-
var parseOrdinalNumberPattern = /\d+/i;
|
|
39952
|
-
var matchEraPatterns = {
|
|
39951
|
+
var matchOrdinalNumberPattern$2 = /^(\d+)(th|st|nd|rd)?/i;
|
|
39952
|
+
var parseOrdinalNumberPattern$2 = /\d+/i;
|
|
39953
|
+
var matchEraPatterns$2 = {
|
|
39953
39954
|
narrow: /^(b|a)/i,
|
|
39954
39955
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
39955
39956
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
39956
39957
|
};
|
|
39957
|
-
var parseEraPatterns = {
|
|
39958
|
+
var parseEraPatterns$2 = {
|
|
39958
39959
|
any: [/^b/i, /^(a|c)/i]
|
|
39959
39960
|
};
|
|
39960
|
-
var matchQuarterPatterns = {
|
|
39961
|
+
var matchQuarterPatterns$2 = {
|
|
39961
39962
|
narrow: /^[1234]/i,
|
|
39962
39963
|
abbreviated: /^q[1234]/i,
|
|
39963
39964
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
39964
39965
|
};
|
|
39965
|
-
var parseQuarterPatterns = {
|
|
39966
|
+
var parseQuarterPatterns$2 = {
|
|
39966
39967
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
39967
39968
|
};
|
|
39968
|
-
var matchMonthPatterns = {
|
|
39969
|
+
var matchMonthPatterns$2 = {
|
|
39969
39970
|
narrow: /^[jfmasond]/i,
|
|
39970
39971
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
39971
39972
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
39972
39973
|
};
|
|
39973
|
-
var parseMonthPatterns = {
|
|
39974
|
+
var parseMonthPatterns$2 = {
|
|
39974
39975
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
39975
39976
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
39976
39977
|
};
|
|
39977
|
-
var matchDayPatterns = {
|
|
39978
|
+
var matchDayPatterns$2 = {
|
|
39978
39979
|
narrow: /^[smtwf]/i,
|
|
39979
39980
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
39980
39981
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
39981
39982
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
39982
39983
|
};
|
|
39983
|
-
var parseDayPatterns = {
|
|
39984
|
+
var parseDayPatterns$2 = {
|
|
39984
39985
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
39985
39986
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
39986
39987
|
};
|
|
39987
|
-
var matchDayPeriodPatterns = {
|
|
39988
|
+
var matchDayPeriodPatterns$2 = {
|
|
39988
39989
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
39989
39990
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
39990
39991
|
};
|
|
39991
|
-
var parseDayPeriodPatterns = {
|
|
39992
|
+
var parseDayPeriodPatterns$2 = {
|
|
39992
39993
|
any: {
|
|
39993
39994
|
am: /^a/i,
|
|
39994
39995
|
pm: /^p/i,
|
|
@@ -40000,49 +40001,49 @@ var parseDayPeriodPatterns = {
|
|
|
40000
40001
|
night: /night/i
|
|
40001
40002
|
}
|
|
40002
40003
|
};
|
|
40003
|
-
var match$
|
|
40004
|
+
var match$5 = {
|
|
40004
40005
|
ordinalNumber: buildMatchPatternFn({
|
|
40005
|
-
matchPattern: matchOrdinalNumberPattern,
|
|
40006
|
-
parsePattern: parseOrdinalNumberPattern,
|
|
40006
|
+
matchPattern: matchOrdinalNumberPattern$2,
|
|
40007
|
+
parsePattern: parseOrdinalNumberPattern$2,
|
|
40007
40008
|
valueCallback: function valueCallback(value) {
|
|
40008
40009
|
return parseInt(value, 10);
|
|
40009
40010
|
}
|
|
40010
40011
|
}),
|
|
40011
40012
|
era: buildMatchFn({
|
|
40012
|
-
matchPatterns: matchEraPatterns,
|
|
40013
|
+
matchPatterns: matchEraPatterns$2,
|
|
40013
40014
|
defaultMatchWidth: 'wide',
|
|
40014
|
-
parsePatterns: parseEraPatterns,
|
|
40015
|
+
parsePatterns: parseEraPatterns$2,
|
|
40015
40016
|
defaultParseWidth: 'any'
|
|
40016
40017
|
}),
|
|
40017
40018
|
quarter: buildMatchFn({
|
|
40018
|
-
matchPatterns: matchQuarterPatterns,
|
|
40019
|
+
matchPatterns: matchQuarterPatterns$2,
|
|
40019
40020
|
defaultMatchWidth: 'wide',
|
|
40020
|
-
parsePatterns: parseQuarterPatterns,
|
|
40021
|
+
parsePatterns: parseQuarterPatterns$2,
|
|
40021
40022
|
defaultParseWidth: 'any',
|
|
40022
40023
|
valueCallback: function valueCallback(index) {
|
|
40023
40024
|
return index + 1;
|
|
40024
40025
|
}
|
|
40025
40026
|
}),
|
|
40026
40027
|
month: buildMatchFn({
|
|
40027
|
-
matchPatterns: matchMonthPatterns,
|
|
40028
|
+
matchPatterns: matchMonthPatterns$2,
|
|
40028
40029
|
defaultMatchWidth: 'wide',
|
|
40029
|
-
parsePatterns: parseMonthPatterns,
|
|
40030
|
+
parsePatterns: parseMonthPatterns$2,
|
|
40030
40031
|
defaultParseWidth: 'any'
|
|
40031
40032
|
}),
|
|
40032
40033
|
day: buildMatchFn({
|
|
40033
|
-
matchPatterns: matchDayPatterns,
|
|
40034
|
+
matchPatterns: matchDayPatterns$2,
|
|
40034
40035
|
defaultMatchWidth: 'wide',
|
|
40035
|
-
parsePatterns: parseDayPatterns,
|
|
40036
|
+
parsePatterns: parseDayPatterns$2,
|
|
40036
40037
|
defaultParseWidth: 'any'
|
|
40037
40038
|
}),
|
|
40038
40039
|
dayPeriod: buildMatchFn({
|
|
40039
|
-
matchPatterns: matchDayPeriodPatterns,
|
|
40040
|
+
matchPatterns: matchDayPeriodPatterns$2,
|
|
40040
40041
|
defaultMatchWidth: 'any',
|
|
40041
|
-
parsePatterns: parseDayPeriodPatterns,
|
|
40042
|
+
parsePatterns: parseDayPeriodPatterns$2,
|
|
40042
40043
|
defaultParseWidth: 'any'
|
|
40043
40044
|
})
|
|
40044
40045
|
};
|
|
40045
|
-
var match$
|
|
40046
|
+
var match$6 = match$5;
|
|
40046
40047
|
|
|
40047
40048
|
/**
|
|
40048
40049
|
* @type {Locale}
|
|
@@ -40053,13 +40054,13 @@ var match$2 = match$1;
|
|
|
40053
40054
|
* @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}
|
|
40054
40055
|
* @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}
|
|
40055
40056
|
*/
|
|
40056
|
-
var locale = {
|
|
40057
|
+
var locale$3 = {
|
|
40057
40058
|
code: 'en-US',
|
|
40058
|
-
formatDistance: formatDistance$
|
|
40059
|
-
formatLong: formatLong$
|
|
40060
|
-
formatRelative: formatRelative$
|
|
40061
|
-
localize: localize$
|
|
40062
|
-
match: match$
|
|
40059
|
+
formatDistance: formatDistance$5,
|
|
40060
|
+
formatLong: formatLong$7,
|
|
40061
|
+
formatRelative: formatRelative$5,
|
|
40062
|
+
localize: localize$5,
|
|
40063
|
+
match: match$6,
|
|
40063
40064
|
options: {
|
|
40064
40065
|
weekStartsOn: 0
|
|
40065
40066
|
/* Sunday */
|
|
@@ -40067,7 +40068,7 @@ var locale = {
|
|
|
40067
40068
|
firstWeekContainsDate: 1
|
|
40068
40069
|
}
|
|
40069
40070
|
};
|
|
40070
|
-
var defaultLocale = locale;
|
|
40071
|
+
var defaultLocale = locale$3;
|
|
40071
40072
|
|
|
40072
40073
|
// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
|
|
40073
40074
|
// (one of the certain letters followed by `o`)
|
|
@@ -45945,6 +45946,987 @@ class AdapterDateFns extends DateFnsUtils {
|
|
|
45945
45946
|
|
|
45946
45947
|
}
|
|
45947
45948
|
|
|
45949
|
+
var formatDistanceLocale$1 = {
|
|
45950
|
+
lessThanXSeconds: {
|
|
45951
|
+
standalone: {
|
|
45952
|
+
one: 'weniger als 1 Sekunde',
|
|
45953
|
+
other: 'weniger als {{count}} Sekunden'
|
|
45954
|
+
},
|
|
45955
|
+
withPreposition: {
|
|
45956
|
+
one: 'weniger als 1 Sekunde',
|
|
45957
|
+
other: 'weniger als {{count}} Sekunden'
|
|
45958
|
+
}
|
|
45959
|
+
},
|
|
45960
|
+
xSeconds: {
|
|
45961
|
+
standalone: {
|
|
45962
|
+
one: '1 Sekunde',
|
|
45963
|
+
other: '{{count}} Sekunden'
|
|
45964
|
+
},
|
|
45965
|
+
withPreposition: {
|
|
45966
|
+
one: '1 Sekunde',
|
|
45967
|
+
other: '{{count}} Sekunden'
|
|
45968
|
+
}
|
|
45969
|
+
},
|
|
45970
|
+
halfAMinute: {
|
|
45971
|
+
standalone: 'halbe Minute',
|
|
45972
|
+
withPreposition: 'halben Minute'
|
|
45973
|
+
},
|
|
45974
|
+
lessThanXMinutes: {
|
|
45975
|
+
standalone: {
|
|
45976
|
+
one: 'weniger als 1 Minute',
|
|
45977
|
+
other: 'weniger als {{count}} Minuten'
|
|
45978
|
+
},
|
|
45979
|
+
withPreposition: {
|
|
45980
|
+
one: 'weniger als 1 Minute',
|
|
45981
|
+
other: 'weniger als {{count}} Minuten'
|
|
45982
|
+
}
|
|
45983
|
+
},
|
|
45984
|
+
xMinutes: {
|
|
45985
|
+
standalone: {
|
|
45986
|
+
one: '1 Minute',
|
|
45987
|
+
other: '{{count}} Minuten'
|
|
45988
|
+
},
|
|
45989
|
+
withPreposition: {
|
|
45990
|
+
one: '1 Minute',
|
|
45991
|
+
other: '{{count}} Minuten'
|
|
45992
|
+
}
|
|
45993
|
+
},
|
|
45994
|
+
aboutXHours: {
|
|
45995
|
+
standalone: {
|
|
45996
|
+
one: 'etwa 1 Stunde',
|
|
45997
|
+
other: 'etwa {{count}} Stunden'
|
|
45998
|
+
},
|
|
45999
|
+
withPreposition: {
|
|
46000
|
+
one: 'etwa 1 Stunde',
|
|
46001
|
+
other: 'etwa {{count}} Stunden'
|
|
46002
|
+
}
|
|
46003
|
+
},
|
|
46004
|
+
xHours: {
|
|
46005
|
+
standalone: {
|
|
46006
|
+
one: '1 Stunde',
|
|
46007
|
+
other: '{{count}} Stunden'
|
|
46008
|
+
},
|
|
46009
|
+
withPreposition: {
|
|
46010
|
+
one: '1 Stunde',
|
|
46011
|
+
other: '{{count}} Stunden'
|
|
46012
|
+
}
|
|
46013
|
+
},
|
|
46014
|
+
xDays: {
|
|
46015
|
+
standalone: {
|
|
46016
|
+
one: '1 Tag',
|
|
46017
|
+
other: '{{count}} Tage'
|
|
46018
|
+
},
|
|
46019
|
+
withPreposition: {
|
|
46020
|
+
one: '1 Tag',
|
|
46021
|
+
other: '{{count}} Tagen'
|
|
46022
|
+
}
|
|
46023
|
+
},
|
|
46024
|
+
aboutXWeeks: {
|
|
46025
|
+
standalone: {
|
|
46026
|
+
one: 'etwa 1 Woche',
|
|
46027
|
+
other: 'etwa {{count}} Wochen'
|
|
46028
|
+
},
|
|
46029
|
+
withPreposition: {
|
|
46030
|
+
one: 'etwa 1 Woche',
|
|
46031
|
+
other: 'etwa {{count}} Wochen'
|
|
46032
|
+
}
|
|
46033
|
+
},
|
|
46034
|
+
xWeeks: {
|
|
46035
|
+
standalone: {
|
|
46036
|
+
one: '1 Woche',
|
|
46037
|
+
other: '{{count}} Wochen'
|
|
46038
|
+
},
|
|
46039
|
+
withPreposition: {
|
|
46040
|
+
one: '1 Woche',
|
|
46041
|
+
other: '{{count}} Wochen'
|
|
46042
|
+
}
|
|
46043
|
+
},
|
|
46044
|
+
aboutXMonths: {
|
|
46045
|
+
standalone: {
|
|
46046
|
+
one: 'etwa 1 Monat',
|
|
46047
|
+
other: 'etwa {{count}} Monate'
|
|
46048
|
+
},
|
|
46049
|
+
withPreposition: {
|
|
46050
|
+
one: 'etwa 1 Monat',
|
|
46051
|
+
other: 'etwa {{count}} Monaten'
|
|
46052
|
+
}
|
|
46053
|
+
},
|
|
46054
|
+
xMonths: {
|
|
46055
|
+
standalone: {
|
|
46056
|
+
one: '1 Monat',
|
|
46057
|
+
other: '{{count}} Monate'
|
|
46058
|
+
},
|
|
46059
|
+
withPreposition: {
|
|
46060
|
+
one: '1 Monat',
|
|
46061
|
+
other: '{{count}} Monaten'
|
|
46062
|
+
}
|
|
46063
|
+
},
|
|
46064
|
+
aboutXYears: {
|
|
46065
|
+
standalone: {
|
|
46066
|
+
one: 'etwa 1 Jahr',
|
|
46067
|
+
other: 'etwa {{count}} Jahre'
|
|
46068
|
+
},
|
|
46069
|
+
withPreposition: {
|
|
46070
|
+
one: 'etwa 1 Jahr',
|
|
46071
|
+
other: 'etwa {{count}} Jahren'
|
|
46072
|
+
}
|
|
46073
|
+
},
|
|
46074
|
+
xYears: {
|
|
46075
|
+
standalone: {
|
|
46076
|
+
one: '1 Jahr',
|
|
46077
|
+
other: '{{count}} Jahre'
|
|
46078
|
+
},
|
|
46079
|
+
withPreposition: {
|
|
46080
|
+
one: '1 Jahr',
|
|
46081
|
+
other: '{{count}} Jahren'
|
|
46082
|
+
}
|
|
46083
|
+
},
|
|
46084
|
+
overXYears: {
|
|
46085
|
+
standalone: {
|
|
46086
|
+
one: 'mehr als 1 Jahr',
|
|
46087
|
+
other: 'mehr als {{count}} Jahre'
|
|
46088
|
+
},
|
|
46089
|
+
withPreposition: {
|
|
46090
|
+
one: 'mehr als 1 Jahr',
|
|
46091
|
+
other: 'mehr als {{count}} Jahren'
|
|
46092
|
+
}
|
|
46093
|
+
},
|
|
46094
|
+
almostXYears: {
|
|
46095
|
+
standalone: {
|
|
46096
|
+
one: 'fast 1 Jahr',
|
|
46097
|
+
other: 'fast {{count}} Jahre'
|
|
46098
|
+
},
|
|
46099
|
+
withPreposition: {
|
|
46100
|
+
one: 'fast 1 Jahr',
|
|
46101
|
+
other: 'fast {{count}} Jahren'
|
|
46102
|
+
}
|
|
46103
|
+
}
|
|
46104
|
+
};
|
|
46105
|
+
|
|
46106
|
+
var formatDistance$2 = function formatDistance(token, count, options) {
|
|
46107
|
+
var result;
|
|
46108
|
+
var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale$1[token].withPreposition : formatDistanceLocale$1[token].standalone;
|
|
46109
|
+
|
|
46110
|
+
if (typeof tokenValue === 'string') {
|
|
46111
|
+
result = tokenValue;
|
|
46112
|
+
} else if (count === 1) {
|
|
46113
|
+
result = tokenValue.one;
|
|
46114
|
+
} else {
|
|
46115
|
+
result = tokenValue.other.replace('{{count}}', String(count));
|
|
46116
|
+
}
|
|
46117
|
+
|
|
46118
|
+
if (options !== null && options !== void 0 && options.addSuffix) {
|
|
46119
|
+
if (options.comparison && options.comparison > 0) {
|
|
46120
|
+
return 'in ' + result;
|
|
46121
|
+
} else {
|
|
46122
|
+
return 'vor ' + result;
|
|
46123
|
+
}
|
|
46124
|
+
}
|
|
46125
|
+
|
|
46126
|
+
return result;
|
|
46127
|
+
};
|
|
46128
|
+
|
|
46129
|
+
var formatDistance$3 = formatDistance$2;
|
|
46130
|
+
|
|
46131
|
+
// DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008
|
|
46132
|
+
var dateFormats$2 = {
|
|
46133
|
+
full: 'EEEE, do MMMM y',
|
|
46134
|
+
// Montag, 7. Januar 2018
|
|
46135
|
+
long: 'do MMMM y',
|
|
46136
|
+
// 7. Januar 2018
|
|
46137
|
+
medium: 'do MMM y',
|
|
46138
|
+
// 7. Jan. 2018
|
|
46139
|
+
short: 'dd.MM.y' // 07.01.2018
|
|
46140
|
+
|
|
46141
|
+
};
|
|
46142
|
+
var timeFormats$2 = {
|
|
46143
|
+
full: 'HH:mm:ss zzzz',
|
|
46144
|
+
long: 'HH:mm:ss z',
|
|
46145
|
+
medium: 'HH:mm:ss',
|
|
46146
|
+
short: 'HH:mm'
|
|
46147
|
+
};
|
|
46148
|
+
var dateTimeFormats$2 = {
|
|
46149
|
+
full: "{{date}} 'um' {{time}}",
|
|
46150
|
+
long: "{{date}} 'um' {{time}}",
|
|
46151
|
+
medium: '{{date}} {{time}}',
|
|
46152
|
+
short: '{{date}} {{time}}'
|
|
46153
|
+
};
|
|
46154
|
+
var formatLong$4 = {
|
|
46155
|
+
date: buildFormatLongFn({
|
|
46156
|
+
formats: dateFormats$2,
|
|
46157
|
+
defaultWidth: 'full'
|
|
46158
|
+
}),
|
|
46159
|
+
time: buildFormatLongFn({
|
|
46160
|
+
formats: timeFormats$2,
|
|
46161
|
+
defaultWidth: 'full'
|
|
46162
|
+
}),
|
|
46163
|
+
dateTime: buildFormatLongFn({
|
|
46164
|
+
formats: dateTimeFormats$2,
|
|
46165
|
+
defaultWidth: 'full'
|
|
46166
|
+
})
|
|
46167
|
+
};
|
|
46168
|
+
var formatLong$5 = formatLong$4;
|
|
46169
|
+
|
|
46170
|
+
var formatRelativeLocale$1 = {
|
|
46171
|
+
lastWeek: "'letzten' eeee 'um' p",
|
|
46172
|
+
yesterday: "'gestern um' p",
|
|
46173
|
+
today: "'heute um' p",
|
|
46174
|
+
tomorrow: "'morgen um' p",
|
|
46175
|
+
nextWeek: "eeee 'um' p",
|
|
46176
|
+
other: 'P'
|
|
46177
|
+
};
|
|
46178
|
+
|
|
46179
|
+
var formatRelative$2 = function formatRelative(token, _date, _baseDate, _options) {
|
|
46180
|
+
return formatRelativeLocale$1[token];
|
|
46181
|
+
};
|
|
46182
|
+
|
|
46183
|
+
var formatRelative$3 = formatRelative$2;
|
|
46184
|
+
|
|
46185
|
+
var eraValues$1 = {
|
|
46186
|
+
narrow: ['v.Chr.', 'n.Chr.'],
|
|
46187
|
+
abbreviated: ['v.Chr.', 'n.Chr.'],
|
|
46188
|
+
wide: ['vor Christus', 'nach Christus']
|
|
46189
|
+
};
|
|
46190
|
+
var quarterValues$1 = {
|
|
46191
|
+
narrow: ['1', '2', '3', '4'],
|
|
46192
|
+
abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
|
|
46193
|
+
wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']
|
|
46194
|
+
}; // Note: in German, the names of days of the week and months are capitalized.
|
|
46195
|
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
|
46196
|
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
|
46197
|
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
|
46198
|
+
|
|
46199
|
+
var monthValues$1 = {
|
|
46200
|
+
narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
46201
|
+
abbreviated: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
46202
|
+
wide: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']
|
|
46203
|
+
}; // https://st.unicode.org/cldr-apps/v#/de/Gregorian/
|
|
46204
|
+
|
|
46205
|
+
var formattingMonthValues = {
|
|
46206
|
+
narrow: monthValues$1.narrow,
|
|
46207
|
+
abbreviated: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
|
|
46208
|
+
wide: monthValues$1.wide
|
|
46209
|
+
};
|
|
46210
|
+
var dayValues$1 = {
|
|
46211
|
+
narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],
|
|
46212
|
+
short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
46213
|
+
abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
46214
|
+
wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag']
|
|
46215
|
+
}; // https://www.unicode.org/cldr/charts/32/summary/de.html#1881
|
|
46216
|
+
|
|
46217
|
+
var dayPeriodValues$1 = {
|
|
46218
|
+
narrow: {
|
|
46219
|
+
am: 'vm.',
|
|
46220
|
+
pm: 'nm.',
|
|
46221
|
+
midnight: 'Mitternacht',
|
|
46222
|
+
noon: 'Mittag',
|
|
46223
|
+
morning: 'Morgen',
|
|
46224
|
+
afternoon: 'Nachm.',
|
|
46225
|
+
evening: 'Abend',
|
|
46226
|
+
night: 'Nacht'
|
|
46227
|
+
},
|
|
46228
|
+
abbreviated: {
|
|
46229
|
+
am: 'vorm.',
|
|
46230
|
+
pm: 'nachm.',
|
|
46231
|
+
midnight: 'Mitternacht',
|
|
46232
|
+
noon: 'Mittag',
|
|
46233
|
+
morning: 'Morgen',
|
|
46234
|
+
afternoon: 'Nachmittag',
|
|
46235
|
+
evening: 'Abend',
|
|
46236
|
+
night: 'Nacht'
|
|
46237
|
+
},
|
|
46238
|
+
wide: {
|
|
46239
|
+
am: 'vormittags',
|
|
46240
|
+
pm: 'nachmittags',
|
|
46241
|
+
midnight: 'Mitternacht',
|
|
46242
|
+
noon: 'Mittag',
|
|
46243
|
+
morning: 'Morgen',
|
|
46244
|
+
afternoon: 'Nachmittag',
|
|
46245
|
+
evening: 'Abend',
|
|
46246
|
+
night: 'Nacht'
|
|
46247
|
+
}
|
|
46248
|
+
};
|
|
46249
|
+
var formattingDayPeriodValues$1 = {
|
|
46250
|
+
narrow: {
|
|
46251
|
+
am: 'vm.',
|
|
46252
|
+
pm: 'nm.',
|
|
46253
|
+
midnight: 'Mitternacht',
|
|
46254
|
+
noon: 'Mittag',
|
|
46255
|
+
morning: 'morgens',
|
|
46256
|
+
afternoon: 'nachm.',
|
|
46257
|
+
evening: 'abends',
|
|
46258
|
+
night: 'nachts'
|
|
46259
|
+
},
|
|
46260
|
+
abbreviated: {
|
|
46261
|
+
am: 'vorm.',
|
|
46262
|
+
pm: 'nachm.',
|
|
46263
|
+
midnight: 'Mitternacht',
|
|
46264
|
+
noon: 'Mittag',
|
|
46265
|
+
morning: 'morgens',
|
|
46266
|
+
afternoon: 'nachmittags',
|
|
46267
|
+
evening: 'abends',
|
|
46268
|
+
night: 'nachts'
|
|
46269
|
+
},
|
|
46270
|
+
wide: {
|
|
46271
|
+
am: 'vormittags',
|
|
46272
|
+
pm: 'nachmittags',
|
|
46273
|
+
midnight: 'Mitternacht',
|
|
46274
|
+
noon: 'Mittag',
|
|
46275
|
+
morning: 'morgens',
|
|
46276
|
+
afternoon: 'nachmittags',
|
|
46277
|
+
evening: 'abends',
|
|
46278
|
+
night: 'nachts'
|
|
46279
|
+
}
|
|
46280
|
+
};
|
|
46281
|
+
|
|
46282
|
+
var ordinalNumber$1 = function ordinalNumber(dirtyNumber) {
|
|
46283
|
+
var number = Number(dirtyNumber);
|
|
46284
|
+
return number + '.';
|
|
46285
|
+
};
|
|
46286
|
+
|
|
46287
|
+
var localize$2 = {
|
|
46288
|
+
ordinalNumber: ordinalNumber$1,
|
|
46289
|
+
era: buildLocalizeFn({
|
|
46290
|
+
values: eraValues$1,
|
|
46291
|
+
defaultWidth: 'wide'
|
|
46292
|
+
}),
|
|
46293
|
+
quarter: buildLocalizeFn({
|
|
46294
|
+
values: quarterValues$1,
|
|
46295
|
+
defaultWidth: 'wide',
|
|
46296
|
+
argumentCallback: function argumentCallback(quarter) {
|
|
46297
|
+
return quarter - 1;
|
|
46298
|
+
}
|
|
46299
|
+
}),
|
|
46300
|
+
month: buildLocalizeFn({
|
|
46301
|
+
values: monthValues$1,
|
|
46302
|
+
formattingValues: formattingMonthValues,
|
|
46303
|
+
defaultWidth: 'wide'
|
|
46304
|
+
}),
|
|
46305
|
+
day: buildLocalizeFn({
|
|
46306
|
+
values: dayValues$1,
|
|
46307
|
+
defaultWidth: 'wide'
|
|
46308
|
+
}),
|
|
46309
|
+
dayPeriod: buildLocalizeFn({
|
|
46310
|
+
values: dayPeriodValues$1,
|
|
46311
|
+
defaultWidth: 'wide',
|
|
46312
|
+
formattingValues: formattingDayPeriodValues$1,
|
|
46313
|
+
defaultFormattingWidth: 'wide'
|
|
46314
|
+
})
|
|
46315
|
+
};
|
|
46316
|
+
var localize$3 = localize$2;
|
|
46317
|
+
|
|
46318
|
+
var matchOrdinalNumberPattern$1 = /^(\d+)(\.)?/i;
|
|
46319
|
+
var parseOrdinalNumberPattern$1 = /\d+/i;
|
|
46320
|
+
var matchEraPatterns$1 = {
|
|
46321
|
+
narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
46322
|
+
abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
46323
|
+
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
|
|
46324
|
+
};
|
|
46325
|
+
var parseEraPatterns$1 = {
|
|
46326
|
+
any: [/^v/i, /^n/i]
|
|
46327
|
+
};
|
|
46328
|
+
var matchQuarterPatterns$1 = {
|
|
46329
|
+
narrow: /^[1234]/i,
|
|
46330
|
+
abbreviated: /^q[1234]/i,
|
|
46331
|
+
wide: /^[1234](\.)? Quartal/i
|
|
46332
|
+
};
|
|
46333
|
+
var parseQuarterPatterns$1 = {
|
|
46334
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
46335
|
+
};
|
|
46336
|
+
var matchMonthPatterns$1 = {
|
|
46337
|
+
narrow: /^[jfmasond]/i,
|
|
46338
|
+
abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
|
|
46339
|
+
wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
|
|
46340
|
+
};
|
|
46341
|
+
var parseMonthPatterns$1 = {
|
|
46342
|
+
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
46343
|
+
any: [/^j[aä]/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
46344
|
+
};
|
|
46345
|
+
var matchDayPatterns$1 = {
|
|
46346
|
+
narrow: /^[smdmf]/i,
|
|
46347
|
+
short: /^(so|mo|di|mi|do|fr|sa)/i,
|
|
46348
|
+
abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
|
|
46349
|
+
wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
|
|
46350
|
+
};
|
|
46351
|
+
var parseDayPatterns$1 = {
|
|
46352
|
+
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
|
|
46353
|
+
};
|
|
46354
|
+
var matchDayPeriodPatterns$1 = {
|
|
46355
|
+
narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
46356
|
+
abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
46357
|
+
wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
|
|
46358
|
+
};
|
|
46359
|
+
var parseDayPeriodPatterns$1 = {
|
|
46360
|
+
any: {
|
|
46361
|
+
am: /^v/i,
|
|
46362
|
+
pm: /^n/i,
|
|
46363
|
+
midnight: /^Mitte/i,
|
|
46364
|
+
noon: /^Mitta/i,
|
|
46365
|
+
morning: /morgens/i,
|
|
46366
|
+
afternoon: /nachmittags/i,
|
|
46367
|
+
// will never be matched. Afternoon is matched by `pm`
|
|
46368
|
+
evening: /abends/i,
|
|
46369
|
+
night: /nachts/i // will never be matched. Night is matched by `pm`
|
|
46370
|
+
|
|
46371
|
+
}
|
|
46372
|
+
};
|
|
46373
|
+
var match$3 = {
|
|
46374
|
+
ordinalNumber: buildMatchPatternFn({
|
|
46375
|
+
matchPattern: matchOrdinalNumberPattern$1,
|
|
46376
|
+
parsePattern: parseOrdinalNumberPattern$1,
|
|
46377
|
+
valueCallback: function valueCallback(value) {
|
|
46378
|
+
return parseInt(value);
|
|
46379
|
+
}
|
|
46380
|
+
}),
|
|
46381
|
+
era: buildMatchFn({
|
|
46382
|
+
matchPatterns: matchEraPatterns$1,
|
|
46383
|
+
defaultMatchWidth: 'wide',
|
|
46384
|
+
parsePatterns: parseEraPatterns$1,
|
|
46385
|
+
defaultParseWidth: 'any'
|
|
46386
|
+
}),
|
|
46387
|
+
quarter: buildMatchFn({
|
|
46388
|
+
matchPatterns: matchQuarterPatterns$1,
|
|
46389
|
+
defaultMatchWidth: 'wide',
|
|
46390
|
+
parsePatterns: parseQuarterPatterns$1,
|
|
46391
|
+
defaultParseWidth: 'any',
|
|
46392
|
+
valueCallback: function valueCallback(index) {
|
|
46393
|
+
return index + 1;
|
|
46394
|
+
}
|
|
46395
|
+
}),
|
|
46396
|
+
month: buildMatchFn({
|
|
46397
|
+
matchPatterns: matchMonthPatterns$1,
|
|
46398
|
+
defaultMatchWidth: 'wide',
|
|
46399
|
+
parsePatterns: parseMonthPatterns$1,
|
|
46400
|
+
defaultParseWidth: 'any'
|
|
46401
|
+
}),
|
|
46402
|
+
day: buildMatchFn({
|
|
46403
|
+
matchPatterns: matchDayPatterns$1,
|
|
46404
|
+
defaultMatchWidth: 'wide',
|
|
46405
|
+
parsePatterns: parseDayPatterns$1,
|
|
46406
|
+
defaultParseWidth: 'any'
|
|
46407
|
+
}),
|
|
46408
|
+
dayPeriod: buildMatchFn({
|
|
46409
|
+
matchPatterns: matchDayPeriodPatterns$1,
|
|
46410
|
+
defaultMatchWidth: 'wide',
|
|
46411
|
+
parsePatterns: parseDayPeriodPatterns$1,
|
|
46412
|
+
defaultParseWidth: 'any'
|
|
46413
|
+
})
|
|
46414
|
+
};
|
|
46415
|
+
var match$4 = match$3;
|
|
46416
|
+
|
|
46417
|
+
/**
|
|
46418
|
+
* @type {Locale}
|
|
46419
|
+
* @category Locales
|
|
46420
|
+
* @summary German locale.
|
|
46421
|
+
* @language German
|
|
46422
|
+
* @iso-639-2 deu
|
|
46423
|
+
* @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu}
|
|
46424
|
+
* @author Asia [@asia-t]{@link https://github.com/asia-t}
|
|
46425
|
+
* @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}
|
|
46426
|
+
* @author RomanErnst [@pex]{@link https://github.com/pex}
|
|
46427
|
+
* @author Philipp Keck [@Philipp91]{@link https://github.com/Philipp91}
|
|
46428
|
+
*/
|
|
46429
|
+
var locale$2 = {
|
|
46430
|
+
code: 'de',
|
|
46431
|
+
formatDistance: formatDistance$3,
|
|
46432
|
+
formatLong: formatLong$5,
|
|
46433
|
+
formatRelative: formatRelative$3,
|
|
46434
|
+
localize: localize$3,
|
|
46435
|
+
match: match$4,
|
|
46436
|
+
options: {
|
|
46437
|
+
weekStartsOn: 1
|
|
46438
|
+
/* Monday */
|
|
46439
|
+
,
|
|
46440
|
+
firstWeekContainsDate: 4
|
|
46441
|
+
}
|
|
46442
|
+
};
|
|
46443
|
+
var de = locale$2;
|
|
46444
|
+
|
|
46445
|
+
var dateFormats$1 = {
|
|
46446
|
+
full: 'EEEE, d MMMM yyyy',
|
|
46447
|
+
long: 'd MMMM yyyy',
|
|
46448
|
+
medium: 'd MMM yyyy',
|
|
46449
|
+
short: 'dd/MM/yyyy'
|
|
46450
|
+
};
|
|
46451
|
+
var timeFormats$1 = {
|
|
46452
|
+
full: 'HH:mm:ss zzzz',
|
|
46453
|
+
long: 'HH:mm:ss z',
|
|
46454
|
+
medium: 'HH:mm:ss',
|
|
46455
|
+
short: 'HH:mm'
|
|
46456
|
+
};
|
|
46457
|
+
var dateTimeFormats$1 = {
|
|
46458
|
+
full: "{{date}} 'at' {{time}}",
|
|
46459
|
+
long: "{{date}} 'at' {{time}}",
|
|
46460
|
+
medium: '{{date}}, {{time}}',
|
|
46461
|
+
short: '{{date}}, {{time}}'
|
|
46462
|
+
};
|
|
46463
|
+
var formatLong$2 = {
|
|
46464
|
+
date: buildFormatLongFn({
|
|
46465
|
+
formats: dateFormats$1,
|
|
46466
|
+
defaultWidth: 'full'
|
|
46467
|
+
}),
|
|
46468
|
+
time: buildFormatLongFn({
|
|
46469
|
+
formats: timeFormats$1,
|
|
46470
|
+
defaultWidth: 'full'
|
|
46471
|
+
}),
|
|
46472
|
+
dateTime: buildFormatLongFn({
|
|
46473
|
+
formats: dateTimeFormats$1,
|
|
46474
|
+
defaultWidth: 'full'
|
|
46475
|
+
})
|
|
46476
|
+
};
|
|
46477
|
+
var formatLong$3 = formatLong$2;
|
|
46478
|
+
|
|
46479
|
+
/**
|
|
46480
|
+
* @type {Locale}
|
|
46481
|
+
* @category Locales
|
|
46482
|
+
* @summary English locale (United Kingdom).
|
|
46483
|
+
* @language English
|
|
46484
|
+
* @iso-639-2 eng
|
|
46485
|
+
* @author Alex [@glintik]{@link https://github.com/glintik}
|
|
46486
|
+
*/
|
|
46487
|
+
|
|
46488
|
+
var locale$1 = {
|
|
46489
|
+
code: 'en-GB',
|
|
46490
|
+
formatDistance: formatDistance$5,
|
|
46491
|
+
formatLong: formatLong$3,
|
|
46492
|
+
formatRelative: formatRelative$5,
|
|
46493
|
+
localize: localize$5,
|
|
46494
|
+
match: match$6,
|
|
46495
|
+
options: {
|
|
46496
|
+
weekStartsOn: 1
|
|
46497
|
+
/* Monday */
|
|
46498
|
+
,
|
|
46499
|
+
firstWeekContainsDate: 4
|
|
46500
|
+
}
|
|
46501
|
+
};
|
|
46502
|
+
var enGB = locale$1;
|
|
46503
|
+
|
|
46504
|
+
var formatDistanceLocale = {
|
|
46505
|
+
lessThanXSeconds: {
|
|
46506
|
+
one: '不到 1 秒',
|
|
46507
|
+
other: '不到 {{count}} 秒'
|
|
46508
|
+
},
|
|
46509
|
+
xSeconds: {
|
|
46510
|
+
one: '1 秒',
|
|
46511
|
+
other: '{{count}} 秒'
|
|
46512
|
+
},
|
|
46513
|
+
halfAMinute: '半分钟',
|
|
46514
|
+
lessThanXMinutes: {
|
|
46515
|
+
one: '不到 1 分钟',
|
|
46516
|
+
other: '不到 {{count}} 分钟'
|
|
46517
|
+
},
|
|
46518
|
+
xMinutes: {
|
|
46519
|
+
one: '1 分钟',
|
|
46520
|
+
other: '{{count}} 分钟'
|
|
46521
|
+
},
|
|
46522
|
+
xHours: {
|
|
46523
|
+
one: '1 小时',
|
|
46524
|
+
other: '{{count}} 小时'
|
|
46525
|
+
},
|
|
46526
|
+
aboutXHours: {
|
|
46527
|
+
one: '大约 1 小时',
|
|
46528
|
+
other: '大约 {{count}} 小时'
|
|
46529
|
+
},
|
|
46530
|
+
xDays: {
|
|
46531
|
+
one: '1 天',
|
|
46532
|
+
other: '{{count}} 天'
|
|
46533
|
+
},
|
|
46534
|
+
aboutXWeeks: {
|
|
46535
|
+
one: '大约 1 个星期',
|
|
46536
|
+
other: '大约 {{count}} 个星期'
|
|
46537
|
+
},
|
|
46538
|
+
xWeeks: {
|
|
46539
|
+
one: '1 个星期',
|
|
46540
|
+
other: '{{count}} 个星期'
|
|
46541
|
+
},
|
|
46542
|
+
aboutXMonths: {
|
|
46543
|
+
one: '大约 1 个月',
|
|
46544
|
+
other: '大约 {{count}} 个月'
|
|
46545
|
+
},
|
|
46546
|
+
xMonths: {
|
|
46547
|
+
one: '1 个月',
|
|
46548
|
+
other: '{{count}} 个月'
|
|
46549
|
+
},
|
|
46550
|
+
aboutXYears: {
|
|
46551
|
+
one: '大约 1 年',
|
|
46552
|
+
other: '大约 {{count}} 年'
|
|
46553
|
+
},
|
|
46554
|
+
xYears: {
|
|
46555
|
+
one: '1 年',
|
|
46556
|
+
other: '{{count}} 年'
|
|
46557
|
+
},
|
|
46558
|
+
overXYears: {
|
|
46559
|
+
one: '超过 1 年',
|
|
46560
|
+
other: '超过 {{count}} 年'
|
|
46561
|
+
},
|
|
46562
|
+
almostXYears: {
|
|
46563
|
+
one: '将近 1 年',
|
|
46564
|
+
other: '将近 {{count}} 年'
|
|
46565
|
+
}
|
|
46566
|
+
};
|
|
46567
|
+
|
|
46568
|
+
var formatDistance = function formatDistance(token, count, options) {
|
|
46569
|
+
var result;
|
|
46570
|
+
var tokenValue = formatDistanceLocale[token];
|
|
46571
|
+
|
|
46572
|
+
if (typeof tokenValue === 'string') {
|
|
46573
|
+
result = tokenValue;
|
|
46574
|
+
} else if (count === 1) {
|
|
46575
|
+
result = tokenValue.one;
|
|
46576
|
+
} else {
|
|
46577
|
+
result = tokenValue.other.replace('{{count}}', String(count));
|
|
46578
|
+
}
|
|
46579
|
+
|
|
46580
|
+
if (options !== null && options !== void 0 && options.addSuffix) {
|
|
46581
|
+
if (options.comparison && options.comparison > 0) {
|
|
46582
|
+
return result + '内';
|
|
46583
|
+
} else {
|
|
46584
|
+
return result + '前';
|
|
46585
|
+
}
|
|
46586
|
+
}
|
|
46587
|
+
|
|
46588
|
+
return result;
|
|
46589
|
+
};
|
|
46590
|
+
|
|
46591
|
+
var formatDistance$1 = formatDistance;
|
|
46592
|
+
|
|
46593
|
+
var dateFormats = {
|
|
46594
|
+
full: "y'年'M'月'd'日' EEEE",
|
|
46595
|
+
long: "y'年'M'月'd'日'",
|
|
46596
|
+
medium: 'yyyy-MM-dd',
|
|
46597
|
+
short: 'yy-MM-dd'
|
|
46598
|
+
};
|
|
46599
|
+
var timeFormats = {
|
|
46600
|
+
full: 'zzzz a h:mm:ss',
|
|
46601
|
+
long: 'z a h:mm:ss',
|
|
46602
|
+
medium: 'a h:mm:ss',
|
|
46603
|
+
short: 'a h:mm'
|
|
46604
|
+
};
|
|
46605
|
+
var dateTimeFormats = {
|
|
46606
|
+
full: '{{date}} {{time}}',
|
|
46607
|
+
long: '{{date}} {{time}}',
|
|
46608
|
+
medium: '{{date}} {{time}}',
|
|
46609
|
+
short: '{{date}} {{time}}'
|
|
46610
|
+
};
|
|
46611
|
+
var formatLong = {
|
|
46612
|
+
date: buildFormatLongFn({
|
|
46613
|
+
formats: dateFormats,
|
|
46614
|
+
defaultWidth: 'full'
|
|
46615
|
+
}),
|
|
46616
|
+
time: buildFormatLongFn({
|
|
46617
|
+
formats: timeFormats,
|
|
46618
|
+
defaultWidth: 'full'
|
|
46619
|
+
}),
|
|
46620
|
+
dateTime: buildFormatLongFn({
|
|
46621
|
+
formats: dateTimeFormats,
|
|
46622
|
+
defaultWidth: 'full'
|
|
46623
|
+
})
|
|
46624
|
+
};
|
|
46625
|
+
var formatLong$1 = formatLong;
|
|
46626
|
+
|
|
46627
|
+
function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) {
|
|
46628
|
+
requiredArgs(2, arguments);
|
|
46629
|
+
var dateLeftStartOfWeek = startOfUTCWeek(dirtyDateLeft, options);
|
|
46630
|
+
var dateRightStartOfWeek = startOfUTCWeek(dirtyDateRight, options);
|
|
46631
|
+
return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();
|
|
46632
|
+
}
|
|
46633
|
+
|
|
46634
|
+
function checkWeek(date, baseDate, options) {
|
|
46635
|
+
var baseFormat = 'eeee p';
|
|
46636
|
+
|
|
46637
|
+
if (isSameUTCWeek(date, baseDate, options)) {
|
|
46638
|
+
return baseFormat; // in same week
|
|
46639
|
+
} else if (date.getTime() > baseDate.getTime()) {
|
|
46640
|
+
return "'下个'" + baseFormat; // in next week
|
|
46641
|
+
}
|
|
46642
|
+
|
|
46643
|
+
return "'上个'" + baseFormat; // in last week
|
|
46644
|
+
}
|
|
46645
|
+
|
|
46646
|
+
var formatRelativeLocale = {
|
|
46647
|
+
lastWeek: checkWeek,
|
|
46648
|
+
// days before yesterday, maybe in this week or last week
|
|
46649
|
+
yesterday: "'昨天' p",
|
|
46650
|
+
today: "'今天' p",
|
|
46651
|
+
tomorrow: "'明天' p",
|
|
46652
|
+
nextWeek: checkWeek,
|
|
46653
|
+
// days after tomorrow, maybe in this week or next week
|
|
46654
|
+
other: 'PP p'
|
|
46655
|
+
};
|
|
46656
|
+
|
|
46657
|
+
var formatRelative = function formatRelative(token, date, baseDate, options) {
|
|
46658
|
+
var format = formatRelativeLocale[token];
|
|
46659
|
+
|
|
46660
|
+
if (typeof format === 'function') {
|
|
46661
|
+
return format(date, baseDate, options);
|
|
46662
|
+
}
|
|
46663
|
+
|
|
46664
|
+
return format;
|
|
46665
|
+
};
|
|
46666
|
+
|
|
46667
|
+
var formatRelative$1 = formatRelative;
|
|
46668
|
+
|
|
46669
|
+
var eraValues = {
|
|
46670
|
+
narrow: ['前', '公元'],
|
|
46671
|
+
abbreviated: ['前', '公元'],
|
|
46672
|
+
wide: ['公元前', '公元']
|
|
46673
|
+
};
|
|
46674
|
+
var quarterValues = {
|
|
46675
|
+
narrow: ['1', '2', '3', '4'],
|
|
46676
|
+
abbreviated: ['第一季', '第二季', '第三季', '第四季'],
|
|
46677
|
+
wide: ['第一季度', '第二季度', '第三季度', '第四季度']
|
|
46678
|
+
};
|
|
46679
|
+
var monthValues = {
|
|
46680
|
+
narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],
|
|
46681
|
+
abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
|
|
46682
|
+
wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
|
|
46683
|
+
};
|
|
46684
|
+
var dayValues = {
|
|
46685
|
+
narrow: ['日', '一', '二', '三', '四', '五', '六'],
|
|
46686
|
+
short: ['日', '一', '二', '三', '四', '五', '六'],
|
|
46687
|
+
abbreviated: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
|
|
46688
|
+
wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
|
|
46689
|
+
};
|
|
46690
|
+
var dayPeriodValues = {
|
|
46691
|
+
narrow: {
|
|
46692
|
+
am: '上',
|
|
46693
|
+
pm: '下',
|
|
46694
|
+
midnight: '凌晨',
|
|
46695
|
+
noon: '午',
|
|
46696
|
+
morning: '早',
|
|
46697
|
+
afternoon: '下午',
|
|
46698
|
+
evening: '晚',
|
|
46699
|
+
night: '夜'
|
|
46700
|
+
},
|
|
46701
|
+
abbreviated: {
|
|
46702
|
+
am: '上午',
|
|
46703
|
+
pm: '下午',
|
|
46704
|
+
midnight: '凌晨',
|
|
46705
|
+
noon: '中午',
|
|
46706
|
+
morning: '早晨',
|
|
46707
|
+
afternoon: '中午',
|
|
46708
|
+
evening: '晚上',
|
|
46709
|
+
night: '夜间'
|
|
46710
|
+
},
|
|
46711
|
+
wide: {
|
|
46712
|
+
am: '上午',
|
|
46713
|
+
pm: '下午',
|
|
46714
|
+
midnight: '凌晨',
|
|
46715
|
+
noon: '中午',
|
|
46716
|
+
morning: '早晨',
|
|
46717
|
+
afternoon: '中午',
|
|
46718
|
+
evening: '晚上',
|
|
46719
|
+
night: '夜间'
|
|
46720
|
+
}
|
|
46721
|
+
};
|
|
46722
|
+
var formattingDayPeriodValues = {
|
|
46723
|
+
narrow: {
|
|
46724
|
+
am: '上',
|
|
46725
|
+
pm: '下',
|
|
46726
|
+
midnight: '凌晨',
|
|
46727
|
+
noon: '午',
|
|
46728
|
+
morning: '早',
|
|
46729
|
+
afternoon: '下午',
|
|
46730
|
+
evening: '晚',
|
|
46731
|
+
night: '夜'
|
|
46732
|
+
},
|
|
46733
|
+
abbreviated: {
|
|
46734
|
+
am: '上午',
|
|
46735
|
+
pm: '下午',
|
|
46736
|
+
midnight: '凌晨',
|
|
46737
|
+
noon: '中午',
|
|
46738
|
+
morning: '早晨',
|
|
46739
|
+
afternoon: '中午',
|
|
46740
|
+
evening: '晚上',
|
|
46741
|
+
night: '夜间'
|
|
46742
|
+
},
|
|
46743
|
+
wide: {
|
|
46744
|
+
am: '上午',
|
|
46745
|
+
pm: '下午',
|
|
46746
|
+
midnight: '凌晨',
|
|
46747
|
+
noon: '中午',
|
|
46748
|
+
morning: '早晨',
|
|
46749
|
+
afternoon: '中午',
|
|
46750
|
+
evening: '晚上',
|
|
46751
|
+
night: '夜间'
|
|
46752
|
+
}
|
|
46753
|
+
};
|
|
46754
|
+
|
|
46755
|
+
var ordinalNumber = function ordinalNumber(dirtyNumber, options) {
|
|
46756
|
+
var number = Number(dirtyNumber);
|
|
46757
|
+
|
|
46758
|
+
switch (options === null || options === void 0 ? void 0 : options.unit) {
|
|
46759
|
+
case 'date':
|
|
46760
|
+
return number.toString() + '日';
|
|
46761
|
+
|
|
46762
|
+
case 'hour':
|
|
46763
|
+
return number.toString() + '时';
|
|
46764
|
+
|
|
46765
|
+
case 'minute':
|
|
46766
|
+
return number.toString() + '分';
|
|
46767
|
+
|
|
46768
|
+
case 'second':
|
|
46769
|
+
return number.toString() + '秒';
|
|
46770
|
+
|
|
46771
|
+
default:
|
|
46772
|
+
return '第 ' + number.toString();
|
|
46773
|
+
}
|
|
46774
|
+
};
|
|
46775
|
+
|
|
46776
|
+
var localize = {
|
|
46777
|
+
ordinalNumber: ordinalNumber,
|
|
46778
|
+
era: buildLocalizeFn({
|
|
46779
|
+
values: eraValues,
|
|
46780
|
+
defaultWidth: 'wide'
|
|
46781
|
+
}),
|
|
46782
|
+
quarter: buildLocalizeFn({
|
|
46783
|
+
values: quarterValues,
|
|
46784
|
+
defaultWidth: 'wide',
|
|
46785
|
+
argumentCallback: function argumentCallback(quarter) {
|
|
46786
|
+
return quarter - 1;
|
|
46787
|
+
}
|
|
46788
|
+
}),
|
|
46789
|
+
month: buildLocalizeFn({
|
|
46790
|
+
values: monthValues,
|
|
46791
|
+
defaultWidth: 'wide'
|
|
46792
|
+
}),
|
|
46793
|
+
day: buildLocalizeFn({
|
|
46794
|
+
values: dayValues,
|
|
46795
|
+
defaultWidth: 'wide'
|
|
46796
|
+
}),
|
|
46797
|
+
dayPeriod: buildLocalizeFn({
|
|
46798
|
+
values: dayPeriodValues,
|
|
46799
|
+
defaultWidth: 'wide',
|
|
46800
|
+
formattingValues: formattingDayPeriodValues,
|
|
46801
|
+
defaultFormattingWidth: 'wide'
|
|
46802
|
+
})
|
|
46803
|
+
};
|
|
46804
|
+
var localize$1 = localize;
|
|
46805
|
+
|
|
46806
|
+
var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i;
|
|
46807
|
+
var parseOrdinalNumberPattern = /\d+/i;
|
|
46808
|
+
var matchEraPatterns = {
|
|
46809
|
+
narrow: /^(前)/i,
|
|
46810
|
+
abbreviated: /^(前)/i,
|
|
46811
|
+
wide: /^(公元前|公元)/i
|
|
46812
|
+
};
|
|
46813
|
+
var parseEraPatterns = {
|
|
46814
|
+
any: [/^(前)/i, /^(公元)/i]
|
|
46815
|
+
};
|
|
46816
|
+
var matchQuarterPatterns = {
|
|
46817
|
+
narrow: /^[1234]/i,
|
|
46818
|
+
abbreviated: /^第[一二三四]刻/i,
|
|
46819
|
+
wide: /^第[一二三四]刻钟/i
|
|
46820
|
+
};
|
|
46821
|
+
var parseQuarterPatterns = {
|
|
46822
|
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
|
|
46823
|
+
};
|
|
46824
|
+
var matchMonthPatterns = {
|
|
46825
|
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
|
46826
|
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
|
46827
|
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
|
|
46828
|
+
};
|
|
46829
|
+
var parseMonthPatterns = {
|
|
46830
|
+
narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i],
|
|
46831
|
+
any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i]
|
|
46832
|
+
};
|
|
46833
|
+
var matchDayPatterns = {
|
|
46834
|
+
narrow: /^[一二三四五六日]/i,
|
|
46835
|
+
short: /^[一二三四五六日]/i,
|
|
46836
|
+
abbreviated: /^周[一二三四五六日]/i,
|
|
46837
|
+
wide: /^星期[一二三四五六日]/i
|
|
46838
|
+
};
|
|
46839
|
+
var parseDayPatterns = {
|
|
46840
|
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]
|
|
46841
|
+
};
|
|
46842
|
+
var matchDayPeriodPatterns = {
|
|
46843
|
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i
|
|
46844
|
+
};
|
|
46845
|
+
var parseDayPeriodPatterns = {
|
|
46846
|
+
any: {
|
|
46847
|
+
am: /^上午?/i,
|
|
46848
|
+
pm: /^下午?/i,
|
|
46849
|
+
midnight: /^午夜/i,
|
|
46850
|
+
noon: /^[中正]午/i,
|
|
46851
|
+
morning: /^早上/i,
|
|
46852
|
+
afternoon: /^下午/i,
|
|
46853
|
+
evening: /^晚上?/i,
|
|
46854
|
+
night: /^凌晨/i
|
|
46855
|
+
}
|
|
46856
|
+
};
|
|
46857
|
+
var match$1 = {
|
|
46858
|
+
ordinalNumber: buildMatchPatternFn({
|
|
46859
|
+
matchPattern: matchOrdinalNumberPattern,
|
|
46860
|
+
parsePattern: parseOrdinalNumberPattern,
|
|
46861
|
+
valueCallback: function valueCallback(value) {
|
|
46862
|
+
return parseInt(value, 10);
|
|
46863
|
+
}
|
|
46864
|
+
}),
|
|
46865
|
+
era: buildMatchFn({
|
|
46866
|
+
matchPatterns: matchEraPatterns,
|
|
46867
|
+
defaultMatchWidth: 'wide',
|
|
46868
|
+
parsePatterns: parseEraPatterns,
|
|
46869
|
+
defaultParseWidth: 'any'
|
|
46870
|
+
}),
|
|
46871
|
+
quarter: buildMatchFn({
|
|
46872
|
+
matchPatterns: matchQuarterPatterns,
|
|
46873
|
+
defaultMatchWidth: 'wide',
|
|
46874
|
+
parsePatterns: parseQuarterPatterns,
|
|
46875
|
+
defaultParseWidth: 'any',
|
|
46876
|
+
valueCallback: function valueCallback(index) {
|
|
46877
|
+
return index + 1;
|
|
46878
|
+
}
|
|
46879
|
+
}),
|
|
46880
|
+
month: buildMatchFn({
|
|
46881
|
+
matchPatterns: matchMonthPatterns,
|
|
46882
|
+
defaultMatchWidth: 'wide',
|
|
46883
|
+
parsePatterns: parseMonthPatterns,
|
|
46884
|
+
defaultParseWidth: 'any'
|
|
46885
|
+
}),
|
|
46886
|
+
day: buildMatchFn({
|
|
46887
|
+
matchPatterns: matchDayPatterns,
|
|
46888
|
+
defaultMatchWidth: 'wide',
|
|
46889
|
+
parsePatterns: parseDayPatterns,
|
|
46890
|
+
defaultParseWidth: 'any'
|
|
46891
|
+
}),
|
|
46892
|
+
dayPeriod: buildMatchFn({
|
|
46893
|
+
matchPatterns: matchDayPeriodPatterns,
|
|
46894
|
+
defaultMatchWidth: 'any',
|
|
46895
|
+
parsePatterns: parseDayPeriodPatterns,
|
|
46896
|
+
defaultParseWidth: 'any'
|
|
46897
|
+
})
|
|
46898
|
+
};
|
|
46899
|
+
var match$2 = match$1;
|
|
46900
|
+
|
|
46901
|
+
/**
|
|
46902
|
+
* @type {Locale}
|
|
46903
|
+
* @category Locales
|
|
46904
|
+
* @summary Chinese Simplified locale.
|
|
46905
|
+
* @language Chinese Simplified
|
|
46906
|
+
* @iso-639-2 zho
|
|
46907
|
+
* @author Changyu Geng [@KingMario]{@link https://github.com/KingMario}
|
|
46908
|
+
* @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl}
|
|
46909
|
+
* @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao}
|
|
46910
|
+
* @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork}
|
|
46911
|
+
* @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}
|
|
46912
|
+
*/
|
|
46913
|
+
|
|
46914
|
+
var locale = {
|
|
46915
|
+
code: 'zh-CN',
|
|
46916
|
+
formatDistance: formatDistance$1,
|
|
46917
|
+
formatLong: formatLong$1,
|
|
46918
|
+
formatRelative: formatRelative$1,
|
|
46919
|
+
localize: localize$1,
|
|
46920
|
+
match: match$2,
|
|
46921
|
+
options: {
|
|
46922
|
+
weekStartsOn: 1
|
|
46923
|
+
/* Monday */
|
|
46924
|
+
,
|
|
46925
|
+
firstWeekContainsDate: 4
|
|
46926
|
+
}
|
|
46927
|
+
};
|
|
46928
|
+
var zhCN = locale;
|
|
46929
|
+
|
|
45948
46930
|
const getPickersLocalization = pickersTranslations => {
|
|
45949
46931
|
return {
|
|
45950
46932
|
components: {
|
|
@@ -53175,7 +54157,7 @@ process.env.NODE_ENV !== "production" ? DatePicker$1.propTypes = {
|
|
|
53175
54157
|
views: propTypesExports.arrayOf(propTypesExports.oneOf(['day', 'month', 'year']).isRequired)
|
|
53176
54158
|
} : void 0;
|
|
53177
54159
|
|
|
53178
|
-
var _excluded$g = ["value", "onChange", "label", "fluid", "disabled", "forwardedRef"];
|
|
54160
|
+
var _excluded$g = ["value", "onChange", "label", "fluid", "disabled", "forwardedRef", "locale", "inputFormat"];
|
|
53179
54161
|
var StyledDatePicker = styled$1(DatePicker$1, {
|
|
53180
54162
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
53181
54163
|
return prop !== 'fluid';
|
|
@@ -53399,6 +54381,12 @@ var PickerIcon = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
|
53399
54381
|
}
|
|
53400
54382
|
}));
|
|
53401
54383
|
});
|
|
54384
|
+
var locales = {
|
|
54385
|
+
'en-us': undefined,
|
|
54386
|
+
'en-gb': enGB,
|
|
54387
|
+
'zh-cn': zhCN,
|
|
54388
|
+
de: de
|
|
54389
|
+
};
|
|
53402
54390
|
var DatePicker = function DatePicker(_ref2) {
|
|
53403
54391
|
var _ref2$value = _ref2.value,
|
|
53404
54392
|
value = _ref2$value === void 0 ? '' : _ref2$value,
|
|
@@ -53412,9 +54400,14 @@ var DatePicker = function DatePicker(_ref2) {
|
|
|
53412
54400
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
53413
54401
|
_ref2$forwardedRef = _ref2.forwardedRef,
|
|
53414
54402
|
forwardedRef = _ref2$forwardedRef === void 0 ? function () {} : _ref2$forwardedRef,
|
|
54403
|
+
_ref2$locale = _ref2.locale,
|
|
54404
|
+
locale = _ref2$locale === void 0 ? 'en-gb' : _ref2$locale,
|
|
54405
|
+
_ref2$inputFormat = _ref2.inputFormat,
|
|
54406
|
+
inputFormat = _ref2$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref2$inputFormat,
|
|
53415
54407
|
props = _objectWithoutProperties$1(_ref2, _excluded$g);
|
|
53416
54408
|
return /*#__PURE__*/React__namespace.createElement(LocalizationProvider, {
|
|
53417
|
-
dateAdapter: AdapterDateFns
|
|
54409
|
+
dateAdapter: AdapterDateFns,
|
|
54410
|
+
adapterLocale: locales[locale]
|
|
53418
54411
|
}, /*#__PURE__*/React__namespace.createElement(StyledDatePicker, {
|
|
53419
54412
|
label: label,
|
|
53420
54413
|
value: value,
|
|
@@ -53441,7 +54434,8 @@ var DatePicker = function DatePicker(_ref2) {
|
|
|
53441
54434
|
},
|
|
53442
54435
|
renderInput: function renderInput(params) {
|
|
53443
54436
|
return /*#__PURE__*/React__namespace.createElement(TextField$3, params);
|
|
53444
|
-
}
|
|
54437
|
+
},
|
|
54438
|
+
inputFormat: inputFormat
|
|
53445
54439
|
}));
|
|
53446
54440
|
};
|
|
53447
54441
|
DatePicker.propTypes = {
|
|
@@ -53450,6 +54444,9 @@ DatePicker.propTypes = {
|
|
|
53450
54444
|
disabled: propTypesExports.bool,
|
|
53451
54445
|
label: propTypesExports.string,
|
|
53452
54446
|
fluid: propTypesExports.bool,
|
|
54447
|
+
inputFormat: propTypesExports.string,
|
|
54448
|
+
locale: propTypesExports.string,
|
|
54449
|
+
views: propTypesExports.arrayOf(propTypesExports.string),
|
|
53453
54450
|
forwardedRef: propTypesExports.oneOfType([propTypesExports.func, propTypesExports.shape({
|
|
53454
54451
|
current: propTypesExports.any
|
|
53455
54452
|
})])
|