@sbb-esta/lyne-elements-experimental-dev 5.11.0-dev.1792375700 → 5.12.0-dev.1792421004
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/development/core.js
CHANGED
|
@@ -5,20 +5,6 @@ import "@sbb-esta/lyne-elements/icon.pure.js";
|
|
|
5
5
|
//#region node_modules/date-fns/constants.js
|
|
6
6
|
/**
|
|
7
7
|
* @constant
|
|
8
|
-
* @name daysInYear
|
|
9
|
-
* @summary Days in 1 year.
|
|
10
|
-
*
|
|
11
|
-
* @description
|
|
12
|
-
* How many days in a year.
|
|
13
|
-
*
|
|
14
|
-
* One years equals 365.2425 days according to the formula:
|
|
15
|
-
*
|
|
16
|
-
* > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
|
|
17
|
-
* > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
|
|
18
|
-
*/
|
|
19
|
-
const daysInYear = 365.2425;
|
|
20
|
-
/**
|
|
21
|
-
* @constant
|
|
22
8
|
* @name maxTime
|
|
23
9
|
* @summary Maximum allowed time.
|
|
24
10
|
*
|
|
@@ -67,42 +53,6 @@ const millisecondsInMinute = 6e4;
|
|
|
67
53
|
const millisecondsInHour = 36e5;
|
|
68
54
|
/**
|
|
69
55
|
* @constant
|
|
70
|
-
* @name secondsInHour
|
|
71
|
-
* @summary Seconds in 1 hour.
|
|
72
|
-
*/
|
|
73
|
-
const secondsInHour = 3600;
|
|
74
|
-
/**
|
|
75
|
-
* @constant
|
|
76
|
-
* @name secondsInDay
|
|
77
|
-
* @summary Seconds in 1 day.
|
|
78
|
-
*/
|
|
79
|
-
const secondsInDay = secondsInHour * 24;
|
|
80
|
-
/**
|
|
81
|
-
* @constant
|
|
82
|
-
* @name secondsInWeek
|
|
83
|
-
* @summary Seconds in 1 week.
|
|
84
|
-
*/
|
|
85
|
-
const secondsInWeek = secondsInDay * 7;
|
|
86
|
-
/**
|
|
87
|
-
* @constant
|
|
88
|
-
* @name secondsInYear
|
|
89
|
-
* @summary Seconds in 1 year.
|
|
90
|
-
*/
|
|
91
|
-
const secondsInYear = secondsInDay * daysInYear;
|
|
92
|
-
/**
|
|
93
|
-
* @constant
|
|
94
|
-
* @name secondsInMonth
|
|
95
|
-
* @summary Seconds in 1 month
|
|
96
|
-
*/
|
|
97
|
-
const secondsInMonth = secondsInYear / 12;
|
|
98
|
-
/**
|
|
99
|
-
* @constant
|
|
100
|
-
* @name secondsInQuarter
|
|
101
|
-
* @summary Seconds in 1 quarter.
|
|
102
|
-
*/
|
|
103
|
-
const secondsInQuarter = secondsInMonth * 3;
|
|
104
|
-
/**
|
|
105
|
-
* @constant
|
|
106
56
|
* @name constructFromSymbol
|
|
107
57
|
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
108
58
|
*
|
|
@@ -10,20 +10,6 @@ import { SbbPearlChainTimeElement } from "./pearl-chain-time.pure.js";
|
|
|
10
10
|
//#region node_modules/date-fns/constants.js
|
|
11
11
|
/**
|
|
12
12
|
* @constant
|
|
13
|
-
* @name daysInYear
|
|
14
|
-
* @summary Days in 1 year.
|
|
15
|
-
*
|
|
16
|
-
* @description
|
|
17
|
-
* How many days in a year.
|
|
18
|
-
*
|
|
19
|
-
* One years equals 365.2425 days according to the formula:
|
|
20
|
-
*
|
|
21
|
-
* > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
|
|
22
|
-
* > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
|
|
23
|
-
*/
|
|
24
|
-
const daysInYear = 365.2425;
|
|
25
|
-
/**
|
|
26
|
-
* @constant
|
|
27
13
|
* @name maxTime
|
|
28
14
|
* @summary Maximum allowed time.
|
|
29
15
|
*
|
|
@@ -66,42 +52,6 @@ const millisecondsInWeek = 6048e5;
|
|
|
66
52
|
const millisecondsInDay = 864e5;
|
|
67
53
|
/**
|
|
68
54
|
* @constant
|
|
69
|
-
* @name secondsInHour
|
|
70
|
-
* @summary Seconds in 1 hour.
|
|
71
|
-
*/
|
|
72
|
-
const secondsInHour = 3600;
|
|
73
|
-
/**
|
|
74
|
-
* @constant
|
|
75
|
-
* @name secondsInDay
|
|
76
|
-
* @summary Seconds in 1 day.
|
|
77
|
-
*/
|
|
78
|
-
const secondsInDay = secondsInHour * 24;
|
|
79
|
-
/**
|
|
80
|
-
* @constant
|
|
81
|
-
* @name secondsInWeek
|
|
82
|
-
* @summary Seconds in 1 week.
|
|
83
|
-
*/
|
|
84
|
-
const secondsInWeek = secondsInDay * 7;
|
|
85
|
-
/**
|
|
86
|
-
* @constant
|
|
87
|
-
* @name secondsInYear
|
|
88
|
-
* @summary Seconds in 1 year.
|
|
89
|
-
*/
|
|
90
|
-
const secondsInYear = secondsInDay * daysInYear;
|
|
91
|
-
/**
|
|
92
|
-
* @constant
|
|
93
|
-
* @name secondsInMonth
|
|
94
|
-
* @summary Seconds in 1 month
|
|
95
|
-
*/
|
|
96
|
-
const secondsInMonth = secondsInYear / 12;
|
|
97
|
-
/**
|
|
98
|
-
* @constant
|
|
99
|
-
* @name secondsInQuarter
|
|
100
|
-
* @summary Seconds in 1 quarter.
|
|
101
|
-
*/
|
|
102
|
-
const secondsInQuarter = secondsInMonth * 3;
|
|
103
|
-
/**
|
|
104
|
-
* @constant
|
|
105
55
|
* @name constructFromSymbol
|
|
106
56
|
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
107
57
|
*
|
|
@@ -8,20 +8,6 @@ import { isRideLeg, removeTimezoneFromISOTimeString } from "./core.js";
|
|
|
8
8
|
//#region node_modules/date-fns/constants.js
|
|
9
9
|
/**
|
|
10
10
|
* @constant
|
|
11
|
-
* @name daysInYear
|
|
12
|
-
* @summary Days in 1 year.
|
|
13
|
-
*
|
|
14
|
-
* @description
|
|
15
|
-
* How many days in a year.
|
|
16
|
-
*
|
|
17
|
-
* One years equals 365.2425 days according to the formula:
|
|
18
|
-
*
|
|
19
|
-
* > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
|
|
20
|
-
* > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
|
|
21
|
-
*/
|
|
22
|
-
const daysInYear = 365.2425;
|
|
23
|
-
/**
|
|
24
|
-
* @constant
|
|
25
11
|
* @name maxTime
|
|
26
12
|
* @summary Maximum allowed time.
|
|
27
13
|
*
|
|
@@ -58,42 +44,6 @@ const minTime = -maxTime;
|
|
|
58
44
|
const millisecondsInMinute = 6e4;
|
|
59
45
|
/**
|
|
60
46
|
* @constant
|
|
61
|
-
* @name secondsInHour
|
|
62
|
-
* @summary Seconds in 1 hour.
|
|
63
|
-
*/
|
|
64
|
-
const secondsInHour = 3600;
|
|
65
|
-
/**
|
|
66
|
-
* @constant
|
|
67
|
-
* @name secondsInDay
|
|
68
|
-
* @summary Seconds in 1 day.
|
|
69
|
-
*/
|
|
70
|
-
const secondsInDay = secondsInHour * 24;
|
|
71
|
-
/**
|
|
72
|
-
* @constant
|
|
73
|
-
* @name secondsInWeek
|
|
74
|
-
* @summary Seconds in 1 week.
|
|
75
|
-
*/
|
|
76
|
-
const secondsInWeek = secondsInDay * 7;
|
|
77
|
-
/**
|
|
78
|
-
* @constant
|
|
79
|
-
* @name secondsInYear
|
|
80
|
-
* @summary Seconds in 1 year.
|
|
81
|
-
*/
|
|
82
|
-
const secondsInYear = secondsInDay * daysInYear;
|
|
83
|
-
/**
|
|
84
|
-
* @constant
|
|
85
|
-
* @name secondsInMonth
|
|
86
|
-
* @summary Seconds in 1 month
|
|
87
|
-
*/
|
|
88
|
-
const secondsInMonth = secondsInYear / 12;
|
|
89
|
-
/**
|
|
90
|
-
* @constant
|
|
91
|
-
* @name secondsInQuarter
|
|
92
|
-
* @summary Seconds in 1 quarter.
|
|
93
|
-
*/
|
|
94
|
-
const secondsInQuarter = secondsInMonth * 3;
|
|
95
|
-
/**
|
|
96
|
-
* @constant
|
|
97
47
|
* @name constructFromSymbol
|
|
98
48
|
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
99
49
|
*
|
|
@@ -9,20 +9,6 @@ import { SbbPearlChainLegacyElement } from "./pearl-chain-legacy.pure.js";
|
|
|
9
9
|
//#region node_modules/date-fns/constants.js
|
|
10
10
|
/**
|
|
11
11
|
* @constant
|
|
12
|
-
* @name daysInYear
|
|
13
|
-
* @summary Days in 1 year.
|
|
14
|
-
*
|
|
15
|
-
* @description
|
|
16
|
-
* How many days in a year.
|
|
17
|
-
*
|
|
18
|
-
* One years equals 365.2425 days according to the formula:
|
|
19
|
-
*
|
|
20
|
-
* > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
|
|
21
|
-
* > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
|
|
22
|
-
*/
|
|
23
|
-
const daysInYear = 365.2425;
|
|
24
|
-
/**
|
|
25
|
-
* @constant
|
|
26
12
|
* @name maxTime
|
|
27
13
|
* @summary Maximum allowed time.
|
|
28
14
|
*
|
|
@@ -65,42 +51,6 @@ const millisecondsInWeek = 6048e5;
|
|
|
65
51
|
const millisecondsInDay = 864e5;
|
|
66
52
|
/**
|
|
67
53
|
* @constant
|
|
68
|
-
* @name secondsInHour
|
|
69
|
-
* @summary Seconds in 1 hour.
|
|
70
|
-
*/
|
|
71
|
-
const secondsInHour = 3600;
|
|
72
|
-
/**
|
|
73
|
-
* @constant
|
|
74
|
-
* @name secondsInDay
|
|
75
|
-
* @summary Seconds in 1 day.
|
|
76
|
-
*/
|
|
77
|
-
const secondsInDay = secondsInHour * 24;
|
|
78
|
-
/**
|
|
79
|
-
* @constant
|
|
80
|
-
* @name secondsInWeek
|
|
81
|
-
* @summary Seconds in 1 week.
|
|
82
|
-
*/
|
|
83
|
-
const secondsInWeek = secondsInDay * 7;
|
|
84
|
-
/**
|
|
85
|
-
* @constant
|
|
86
|
-
* @name secondsInYear
|
|
87
|
-
* @summary Seconds in 1 year.
|
|
88
|
-
*/
|
|
89
|
-
const secondsInYear = secondsInDay * daysInYear;
|
|
90
|
-
/**
|
|
91
|
-
* @constant
|
|
92
|
-
* @name secondsInMonth
|
|
93
|
-
* @summary Seconds in 1 month
|
|
94
|
-
*/
|
|
95
|
-
const secondsInMonth = secondsInYear / 12;
|
|
96
|
-
/**
|
|
97
|
-
* @constant
|
|
98
|
-
* @name secondsInQuarter
|
|
99
|
-
* @summary Seconds in 1 quarter.
|
|
100
|
-
*/
|
|
101
|
-
const secondsInQuarter = secondsInMonth * 3;
|
|
102
|
-
/**
|
|
103
|
-
* @constant
|
|
104
54
|
* @name constructFromSymbol
|
|
105
55
|
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
106
56
|
*
|
|
@@ -11,20 +11,6 @@ import { SbbPearlChainTimeElement } from "./pearl-chain-time.pure.js";
|
|
|
11
11
|
//#region node_modules/date-fns/constants.js
|
|
12
12
|
/**
|
|
13
13
|
* @constant
|
|
14
|
-
* @name daysInYear
|
|
15
|
-
* @summary Days in 1 year.
|
|
16
|
-
*
|
|
17
|
-
* @description
|
|
18
|
-
* How many days in a year.
|
|
19
|
-
*
|
|
20
|
-
* One years equals 365.2425 days according to the formula:
|
|
21
|
-
*
|
|
22
|
-
* > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
|
|
23
|
-
* > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
|
|
24
|
-
*/
|
|
25
|
-
const daysInYear = 365.2425;
|
|
26
|
-
/**
|
|
27
|
-
* @constant
|
|
28
14
|
* @name maxTime
|
|
29
15
|
* @summary Maximum allowed time.
|
|
30
16
|
*
|
|
@@ -67,42 +53,6 @@ const millisecondsInWeek = 6048e5;
|
|
|
67
53
|
const millisecondsInDay = 864e5;
|
|
68
54
|
/**
|
|
69
55
|
* @constant
|
|
70
|
-
* @name secondsInHour
|
|
71
|
-
* @summary Seconds in 1 hour.
|
|
72
|
-
*/
|
|
73
|
-
const secondsInHour = 3600;
|
|
74
|
-
/**
|
|
75
|
-
* @constant
|
|
76
|
-
* @name secondsInDay
|
|
77
|
-
* @summary Seconds in 1 day.
|
|
78
|
-
*/
|
|
79
|
-
const secondsInDay = secondsInHour * 24;
|
|
80
|
-
/**
|
|
81
|
-
* @constant
|
|
82
|
-
* @name secondsInWeek
|
|
83
|
-
* @summary Seconds in 1 week.
|
|
84
|
-
*/
|
|
85
|
-
const secondsInWeek = secondsInDay * 7;
|
|
86
|
-
/**
|
|
87
|
-
* @constant
|
|
88
|
-
* @name secondsInYear
|
|
89
|
-
* @summary Seconds in 1 year.
|
|
90
|
-
*/
|
|
91
|
-
const secondsInYear = secondsInDay * daysInYear;
|
|
92
|
-
/**
|
|
93
|
-
* @constant
|
|
94
|
-
* @name secondsInMonth
|
|
95
|
-
* @summary Seconds in 1 month
|
|
96
|
-
*/
|
|
97
|
-
const secondsInMonth = secondsInYear / 12;
|
|
98
|
-
/**
|
|
99
|
-
* @constant
|
|
100
|
-
* @name secondsInQuarter
|
|
101
|
-
* @summary Seconds in 1 quarter.
|
|
102
|
-
*/
|
|
103
|
-
const secondsInQuarter = secondsInMonth * 3;
|
|
104
|
-
/**
|
|
105
|
-
* @constant
|
|
106
56
|
* @name constructFromSymbol
|
|
107
57
|
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
108
58
|
*
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental-dev",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0-dev.1792421004",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/8eb74391862be4450bb026aae73b5a8175bf53e7"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
},
|
|
154
154
|
"customElements": "custom-elements.json",
|
|
155
155
|
"peerDependencies": {
|
|
156
|
-
"@sbb-esta/lyne-elements": "5.
|
|
156
|
+
"@sbb-esta/lyne-elements": "5.12.0"
|
|
157
157
|
},
|
|
158
158
|
"dependencies": {
|
|
159
159
|
"lit": "^3.3.3",
|