@yschimke/livery-a2ui 0.0.0-stage → 0.12.0

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.
Files changed (149) hide show
  1. package/README.md +194 -2
  2. package/dist/angular.d.ts +32 -0
  3. package/dist/angular.js +51 -0
  4. package/dist/api.d.ts +35 -0
  5. package/dist/api.js +35 -0
  6. package/dist/catalog.d.ts +18 -0
  7. package/dist/catalog.js +55 -0
  8. package/dist/cmp-player.d.ts +3 -0
  9. package/dist/cmp-player.js +125 -0
  10. package/dist/controller.d.ts +61 -0
  11. package/dist/controller.js +330 -0
  12. package/dist/index.d.ts +7 -0
  13. package/dist/index.js +4 -0
  14. package/dist/livery-web/livery-livery-web.d.mts +75 -0
  15. package/dist/livery-web/livery-livery-web.import-object.mjs +370 -0
  16. package/dist/livery-web/livery-livery-web.js-builtins.mjs +52 -0
  17. package/dist/livery-web/livery-livery-web.mjs +104 -0
  18. package/dist/livery-web/livery-livery-web.wasm +0 -0
  19. package/dist/livery-web-compose/fonts/NotoSansSymbols2-OFL.txt +117 -0
  20. package/dist/livery-web-compose/fonts/NotoSansSymbols2-Regular.ttf +0 -0
  21. package/dist/livery-web-compose/fonts/README.md +8 -0
  22. package/dist/livery-web-compose/fonts/RobotoFlex-OFL.txt +93 -0
  23. package/dist/livery-web-compose/fonts/RobotoFlex.ttf +0 -0
  24. package/dist/livery-web-compose/livery-livery-web-compose.d.mts +60 -0
  25. package/dist/livery-web-compose/livery-livery-web-compose.import-object.mjs +653 -0
  26. package/dist/livery-web-compose/livery-livery-web-compose.js-builtins.mjs +52 -0
  27. package/dist/livery-web-compose/livery-livery-web-compose.mjs +89 -0
  28. package/dist/livery-web-compose/livery-livery-web-compose.wasm +0 -0
  29. package/dist/livery-web-compose/skiko.mjs +1118 -0
  30. package/dist/livery-web-compose/skiko.wasm +0 -0
  31. package/dist/livery.d.ts +165 -0
  32. package/dist/livery.js +87 -0
  33. package/dist/player.d.ts +2 -0
  34. package/dist/player.js +2 -0
  35. package/dist/react.d.ts +24 -0
  36. package/dist/react.js +36 -0
  37. package/node_modules/@js-joda/core/CHANGELOG.md +363 -0
  38. package/node_modules/@js-joda/core/CheatSheet.md +947 -0
  39. package/node_modules/@js-joda/core/LICENSE +34 -0
  40. package/node_modules/@js-joda/core/README.md +155 -0
  41. package/node_modules/@js-joda/core/bower.json +21 -0
  42. package/node_modules/@js-joda/core/dist/js-joda.d.ts +2452 -0
  43. package/node_modules/@js-joda/core/dist/js-joda.esm.js +13564 -0
  44. package/node_modules/@js-joda/core/dist/js-joda.flow.js +949 -0
  45. package/node_modules/@js-joda/core/dist/js-joda.js +13630 -0
  46. package/node_modules/@js-joda/core/dist/js-joda.js.map +1 -0
  47. package/node_modules/@js-joda/core/dist/js-joda.min.js +5 -0
  48. package/node_modules/@js-joda/core/package.json +76 -0
  49. package/node_modules/@js-joda/core/src/Clock.js +330 -0
  50. package/node_modules/@js-joda/core/src/DayOfWeek.js +451 -0
  51. package/node_modules/@js-joda/core/src/Duration.js +1205 -0
  52. package/node_modules/@js-joda/core/src/Enum.js +30 -0
  53. package/node_modules/@js-joda/core/src/Instant.js +1012 -0
  54. package/node_modules/@js-joda/core/src/LocalDate.js +1703 -0
  55. package/node_modules/@js-joda/core/src/LocalDateTime.js +1686 -0
  56. package/node_modules/@js-joda/core/src/LocalTime.js +1415 -0
  57. package/node_modules/@js-joda/core/src/MathUtil.js +236 -0
  58. package/node_modules/@js-joda/core/src/Month.js +600 -0
  59. package/node_modules/@js-joda/core/src/MonthDay.js +730 -0
  60. package/node_modules/@js-joda/core/src/OffsetDateTime.js +757 -0
  61. package/node_modules/@js-joda/core/src/OffsetTime.js +621 -0
  62. package/node_modules/@js-joda/core/src/Period.js +933 -0
  63. package/node_modules/@js-joda/core/src/StringUtil.js +43 -0
  64. package/node_modules/@js-joda/core/src/Year.js +1015 -0
  65. package/node_modules/@js-joda/core/src/YearConstants.js +21 -0
  66. package/node_modules/@js-joda/core/src/YearMonth.js +1096 -0
  67. package/node_modules/@js-joda/core/src/ZoneId.js +236 -0
  68. package/node_modules/@js-joda/core/src/ZoneIdFactory.js +201 -0
  69. package/node_modules/@js-joda/core/src/ZoneOffset.js +486 -0
  70. package/node_modules/@js-joda/core/src/ZoneRegion.js +72 -0
  71. package/node_modules/@js-joda/core/src/ZonedDateTime.js +2007 -0
  72. package/node_modules/@js-joda/core/src/_init.js +68 -0
  73. package/node_modules/@js-joda/core/src/assert.js +33 -0
  74. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDate.js +230 -0
  75. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDateTime.js +130 -0
  76. package/node_modules/@js-joda/core/src/chrono/ChronoZonedDateTime.js +194 -0
  77. package/node_modules/@js-joda/core/src/chrono/IsoChronology.js +235 -0
  78. package/node_modules/@js-joda/core/src/convert.js +83 -0
  79. package/node_modules/@js-joda/core/src/errors.js +54 -0
  80. package/node_modules/@js-joda/core/src/format/DateTimeBuilder.js +535 -0
  81. package/node_modules/@js-joda/core/src/format/DateTimeFormatter.js +728 -0
  82. package/node_modules/@js-joda/core/src/format/DateTimeFormatterBuilder.js +1545 -0
  83. package/node_modules/@js-joda/core/src/format/DateTimeParseContext.js +297 -0
  84. package/node_modules/@js-joda/core/src/format/DateTimePrintContext.js +138 -0
  85. package/node_modules/@js-joda/core/src/format/DecimalStyle.js +113 -0
  86. package/node_modules/@js-joda/core/src/format/EnumMap.js +70 -0
  87. package/node_modules/@js-joda/core/src/format/ParsePosition.js +31 -0
  88. package/node_modules/@js-joda/core/src/format/ResolverStyle.js +93 -0
  89. package/node_modules/@js-joda/core/src/format/SignStyle.js +38 -0
  90. package/node_modules/@js-joda/core/src/format/StringBuilder.js +47 -0
  91. package/node_modules/@js-joda/core/src/format/TextStyle.js +114 -0
  92. package/node_modules/@js-joda/core/src/format/parser/CharLiteralPrinterParser.js +46 -0
  93. package/node_modules/@js-joda/core/src/format/parser/CompositePrinterParser.js +89 -0
  94. package/node_modules/@js-joda/core/src/format/parser/FractionPrinterParser.js +162 -0
  95. package/node_modules/@js-joda/core/src/format/parser/NumberPrinterParser.js +367 -0
  96. package/node_modules/@js-joda/core/src/format/parser/OffsetIdPrinterParser.js +177 -0
  97. package/node_modules/@js-joda/core/src/format/parser/PadPrinterParserDecorator.js +81 -0
  98. package/node_modules/@js-joda/core/src/format/parser/SettingsParser.js +44 -0
  99. package/node_modules/@js-joda/core/src/format/parser/StringLiteralPrinterParser.js +39 -0
  100. package/node_modules/@js-joda/core/src/format/parser/ZoneIdPrinterParser.js +218 -0
  101. package/node_modules/@js-joda/core/src/js-joda.js +210 -0
  102. package/node_modules/@js-joda/core/src/license-preamble.js +3 -0
  103. package/node_modules/@js-joda/core/src/temporal/ChronoField.js +470 -0
  104. package/node_modules/@js-joda/core/src/temporal/ChronoUnit.js +310 -0
  105. package/node_modules/@js-joda/core/src/temporal/DefaultInterfaceTemporal.js +118 -0
  106. package/node_modules/@js-joda/core/src/temporal/IsoFields.js +859 -0
  107. package/node_modules/@js-joda/core/src/temporal/NativeJsTemporal.js +105 -0
  108. package/node_modules/@js-joda/core/src/temporal/Temporal.js +346 -0
  109. package/node_modules/@js-joda/core/src/temporal/TemporalAccessor.js +125 -0
  110. package/node_modules/@js-joda/core/src/temporal/TemporalAdjuster.js +92 -0
  111. package/node_modules/@js-joda/core/src/temporal/TemporalAdjusters.js +464 -0
  112. package/node_modules/@js-joda/core/src/temporal/TemporalAmount.js +166 -0
  113. package/node_modules/@js-joda/core/src/temporal/TemporalField.js +248 -0
  114. package/node_modules/@js-joda/core/src/temporal/TemporalQueries.js +223 -0
  115. package/node_modules/@js-joda/core/src/temporal/TemporalQueriesFactory.js +77 -0
  116. package/node_modules/@js-joda/core/src/temporal/TemporalQuery.js +107 -0
  117. package/node_modules/@js-joda/core/src/temporal/TemporalUnit.js +179 -0
  118. package/node_modules/@js-joda/core/src/temporal/ValueRange.js +257 -0
  119. package/node_modules/@js-joda/core/src/use.js +20 -0
  120. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneId.js +31 -0
  121. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneRules.js +162 -0
  122. package/node_modules/@js-joda/core/src/zone/ZoneOffsetTransition.js +289 -0
  123. package/node_modules/@js-joda/core/src/zone/ZoneRules.js +464 -0
  124. package/node_modules/@js-joda/core/src/zone/ZoneRulesProvider.js +36 -0
  125. package/node_modules/@yschimke/livery-web/README.md +112 -0
  126. package/node_modules/@yschimke/livery-web/dist/descriptor.d.ts +24 -0
  127. package/node_modules/@yschimke/livery-web/dist/descriptor.js +32 -0
  128. package/node_modules/@yschimke/livery-web/dist/index.d.ts +9 -0
  129. package/node_modules/@yschimke/livery-web/dist/index.js +5 -0
  130. package/node_modules/@yschimke/livery-web/dist/livery-web/livery-livery-web-core.d.mts +63 -0
  131. package/node_modules/@yschimke/livery-web/dist/livery-web/livery-livery-web-core.import-object.mjs +333 -0
  132. package/node_modules/@yschimke/livery-web/dist/livery-web/livery-livery-web-core.js-builtins.mjs +52 -0
  133. package/node_modules/@yschimke/livery-web/dist/livery-web/livery-livery-web-core.mjs +92 -0
  134. package/node_modules/@yschimke/livery-web/dist/livery-web/livery-livery-web-core.wasm +0 -0
  135. package/node_modules/@yschimke/livery-web/dist/player.d.ts +65 -0
  136. package/node_modules/@yschimke/livery-web/dist/player.js +117 -0
  137. package/node_modules/@yschimke/livery-web/dist/preview.d.ts +57 -0
  138. package/node_modules/@yschimke/livery-web/dist/preview.js +214 -0
  139. package/node_modules/@yschimke/livery-web/dist/publication.d.ts +7 -0
  140. package/node_modules/@yschimke/livery-web/dist/publication.js +103 -0
  141. package/node_modules/@yschimke/livery-web/dist/session.d.ts +71 -0
  142. package/node_modules/@yschimke/livery-web/dist/session.js +55 -0
  143. package/node_modules/@yschimke/livery-web/dist/viewer.d.ts +1 -0
  144. package/node_modules/@yschimke/livery-web/dist/viewer.js +18 -0
  145. package/node_modules/@yschimke/livery-web/package.json +39 -0
  146. package/node_modules/@yschimke/livery-web/vendor/PROVENANCE.md +18 -0
  147. package/node_modules/@yschimke/livery-web/vendor/remote-compose-player.d.mts +30 -0
  148. package/node_modules/@yschimke/livery-web/vendor/remote-compose-player.mjs +86 -0
  149. package/package.json +102 -4
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
3
+ * @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
4
+ * @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
5
+ */
6
+
7
+ import {assert} from '../../assert';
8
+
9
+ /**
10
+ * Prints or parses a string literal.
11
+ * @private
12
+ */
13
+ export class StringLiteralPrinterParser {
14
+
15
+ constructor(literal) {
16
+ this._literal = literal;
17
+ }
18
+
19
+ print(context, buf) {
20
+ buf.append(this._literal);
21
+ return true;
22
+ }
23
+
24
+ parse(context, text, position) {
25
+ const length = text.length;
26
+ assert(!(position > length || position < 0));
27
+
28
+ if (context.subSequenceEquals(text, position, this._literal, 0, this._literal.length) === false) {
29
+ return ~position;
30
+ }
31
+ return position + this._literal.length;
32
+ }
33
+
34
+ toString() {
35
+ const converted = this._literal.replace("'", "''");
36
+ return '\'' + converted + '\'';
37
+ }
38
+ }
39
+
@@ -0,0 +1,218 @@
1
+ /**
2
+ * @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
3
+ * @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
4
+ * @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
5
+ */
6
+
7
+ import {ZoneOffset} from '../../ZoneOffset';
8
+ import {ZoneId} from '../../ZoneId';
9
+ import {ZoneRegion} from '../../ZoneRegion';
10
+
11
+ import {ChronoField} from '../../temporal/ChronoField';
12
+
13
+ import { ZoneRulesProvider } from '../../zone/ZoneRulesProvider';
14
+
15
+ import {OffsetIdPrinterParser} from './OffsetIdPrinterParser';
16
+
17
+ /**
18
+ * Prints or parses a zone ID.
19
+ * @private
20
+ */
21
+ export class ZoneIdPrinterParser {
22
+
23
+ /**
24
+ *
25
+ * @param {TemporalQuery} query
26
+ * @param {string} description
27
+ */
28
+ constructor(query, description) {
29
+ this.query = query;
30
+ this.description = description;
31
+ }
32
+
33
+ //-----------------------------------------------------------------------
34
+ /**
35
+ *
36
+ * @param {DateTimePrintContext } context
37
+ * @param {StringBuilder} buf
38
+ * @returns {boolean}
39
+ */
40
+ print(context, buf) {
41
+ const zone = context.getValueQuery(this.query);
42
+ if (zone == null) {
43
+ return false;
44
+ }
45
+ buf.append(zone.id());
46
+ return true;
47
+ }
48
+
49
+ //-----------------------------------------------------------------------
50
+ /**
51
+ * This implementation looks for the longest matching string.
52
+ * For example, parsing Etc/GMT-2 will return Etc/GMC-2 rather than just
53
+ * Etc/GMC although both are valid.
54
+ *
55
+ * This implementation uses a tree to search for valid time-zone names in
56
+ * the parseText. The top level node of the tree has a length equal to the
57
+ * length of the shortest time-zone as well as the beginning characters of
58
+ * all other time-zones.
59
+ *
60
+ * @param {DateTimeParseContext} context
61
+ * @param {String} text
62
+ * @param {number} position
63
+ * @return {number}
64
+ */
65
+ parse(context, text, position) {
66
+ const length = text.length;
67
+ if (position > length) {
68
+ return ~position;
69
+ }
70
+ if (position === length) {
71
+ return ~position;
72
+ }
73
+
74
+ // handle fixed time-zone IDs
75
+ const nextChar = text.charAt(position);
76
+ if (nextChar === '+' || nextChar === '-') {
77
+ const newContext = context.copy();
78
+ const endPos = OffsetIdPrinterParser.INSTANCE_ID.parse(newContext, text, position);
79
+ if (endPos < 0) {
80
+ return endPos;
81
+ }
82
+ const offset = newContext.getParsed(ChronoField.OFFSET_SECONDS);
83
+ const zone = ZoneOffset.ofTotalSeconds(offset);
84
+ context.setParsedZone(zone);
85
+ return endPos;
86
+ } else if (length >= position + 2) {
87
+ const nextNextChar = text.charAt(position + 1);
88
+ if (context.charEquals(nextChar, 'U') &&
89
+ context.charEquals(nextNextChar, 'T')) {
90
+ if (length >= position + 3 &&
91
+ context.charEquals(text.charAt(position + 2), 'C')) {
92
+ return this._parsePrefixedOffset(context, text, position, position + 3);
93
+ }
94
+ return this._parsePrefixedOffset(context, text, position, position + 2);
95
+ } else if (context.charEquals(nextChar, 'G') &&
96
+ length >= position + 3 &&
97
+ context.charEquals(nextNextChar, 'M') &&
98
+ context.charEquals(text.charAt(position + 2), 'T')) {
99
+ return this._parsePrefixedOffset(context, text, position, position + 3);
100
+ }
101
+ }
102
+ // javascript special case
103
+ if(text.substr(position, 6) === 'SYSTEM'){
104
+ context.setParsedZone(ZoneId.systemDefault());
105
+ return position + 6;
106
+ }
107
+
108
+ // ...
109
+ if (context.charEquals(nextChar, 'Z')) {
110
+ context.setParsedZone(ZoneOffset.UTC);
111
+ return position + 1;
112
+ }
113
+
114
+ const availableZoneIds = ZoneRulesProvider.getAvailableZoneIds();
115
+ if (zoneIdTree.size !== availableZoneIds.length) {
116
+ zoneIdTree = ZoneIdTree.createTreeMap(availableZoneIds);
117
+ }
118
+
119
+ const maxParseLength = length - position;
120
+ let treeMap = zoneIdTree.treeMap;
121
+ let parsedZoneId = null;
122
+ let parseLength = 0;
123
+ while(treeMap != null) {
124
+ const parsedSubZoneId = text.substr(position, Math.min(treeMap.length, maxParseLength));
125
+ treeMap = treeMap.get(parsedSubZoneId);
126
+ if (treeMap != null && treeMap.isLeaf) {
127
+ parsedZoneId = parsedSubZoneId;
128
+ parseLength = treeMap.length;
129
+ }
130
+ }
131
+ if (parsedZoneId != null) {
132
+ context.setParsedZone(ZoneRegion.ofId(parsedZoneId));
133
+ return position + parseLength;
134
+ }
135
+
136
+ return ~position;
137
+ }
138
+
139
+ /**
140
+ *
141
+ * @param {DateTimeParseContext} context
142
+ * @param {String} text
143
+ * @param {number} prefixPos
144
+ * @param {number} position
145
+ * @return {number}
146
+ */
147
+ _parsePrefixedOffset(context, text, prefixPos, position) {
148
+ const prefix = text.substring(prefixPos, position).toUpperCase();
149
+ const newContext = context.copy();
150
+ if (position < text.length && context.charEquals(text.charAt(position), 'Z')) {
151
+ context.setParsedZone(ZoneId.ofOffset(prefix, ZoneOffset.UTC));
152
+ return position;
153
+ }
154
+ const endPos = OffsetIdPrinterParser.INSTANCE_ID.parse(newContext, text, position);
155
+ if (endPos < 0) {
156
+ context.setParsedZone(ZoneId.ofOffset(prefix, ZoneOffset.UTC));
157
+ return position;
158
+ }
159
+ const offsetSecs = newContext.getParsed(ChronoField.OFFSET_SECONDS);
160
+ const offset = ZoneOffset.ofTotalSeconds(offsetSecs);
161
+ context.setParsedZone(ZoneId.ofOffset(prefix, offset));
162
+ return endPos;
163
+ }
164
+
165
+ /**
166
+ *
167
+ * @returns {string}
168
+ */
169
+ toString() {
170
+ return this.description;
171
+ }
172
+ }
173
+
174
+ class ZoneIdTree {
175
+
176
+ static createTreeMap(availableZoneIds) {
177
+ const sortedZoneIds = availableZoneIds.sort((a, b) => a.length - b.length);
178
+ const treeMap = new ZoneIdTreeMap(sortedZoneIds[0].length, false);
179
+ for (let i=0; i<sortedZoneIds.length; i++){
180
+ treeMap.add(sortedZoneIds[i]);
181
+ }
182
+ return new ZoneIdTree(sortedZoneIds.length, treeMap);
183
+ }
184
+
185
+ constructor(size, treeMap) {
186
+ this.size = size;
187
+ this.treeMap = treeMap;
188
+ }
189
+ }
190
+
191
+ class ZoneIdTreeMap {
192
+ constructor(length = 0, isLeaf = false){
193
+ this.length = length;
194
+ this.isLeaf = isLeaf;
195
+ this._treeMap = {};
196
+ }
197
+
198
+ add(zoneId){
199
+ const idLength = zoneId.length;
200
+ if(idLength === this.length) {
201
+ this._treeMap[zoneId] = new ZoneIdTreeMap(idLength, true);
202
+ } else if (idLength > this.length) {
203
+ const subZoneId = zoneId.substr(0, this.length);
204
+ let subTreeMap = this._treeMap[subZoneId];
205
+ if (subTreeMap == null) {
206
+ subTreeMap = new ZoneIdTreeMap(idLength, false);
207
+ this._treeMap[subZoneId] = subTreeMap;
208
+ }
209
+ subTreeMap.add(zoneId);
210
+ }
211
+ }
212
+
213
+ get(zoneId){
214
+ return this._treeMap[zoneId];
215
+ }
216
+ }
217
+
218
+ let zoneIdTree = new ZoneIdTree([]);
@@ -0,0 +1,210 @@
1
+ /**
2
+ * @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
3
+ * @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
4
+ */
5
+
6
+ import {
7
+ ArithmeticException,
8
+ DateTimeException,
9
+ DateTimeParseException,
10
+ IllegalArgumentException,
11
+ IllegalStateException,
12
+ UnsupportedTemporalTypeException,
13
+ NullPointerException
14
+ } from './errors';
15
+
16
+ import { Clock } from './Clock';
17
+ import { DayOfWeek } from './DayOfWeek';
18
+ import { Duration } from './Duration';
19
+ import { Instant } from './Instant';
20
+ import { LocalDate } from './LocalDate';
21
+ import { LocalTime } from './LocalTime';
22
+ import { LocalDateTime } from './LocalDateTime';
23
+ import { Month } from './Month';
24
+ import { MonthDay } from './MonthDay';
25
+ import { OffsetDateTime } from './OffsetDateTime';
26
+ import { OffsetTime } from './OffsetTime';
27
+ import { Period } from './Period';
28
+ import { Year } from './Year';
29
+ import { YearConstants } from './YearConstants';
30
+ import { YearMonth } from './YearMonth';
31
+ import { ZonedDateTime } from './ZonedDateTime';
32
+ import { ZoneOffset } from './ZoneOffset';
33
+ import { ZoneId } from './ZoneId';
34
+ import { ZoneRegion } from './ZoneRegion';
35
+
36
+ import { ZoneOffsetTransition } from './zone/ZoneOffsetTransition';
37
+ import { ZoneRules } from './zone/ZoneRules';
38
+ import { ZoneRulesProvider } from './zone/ZoneRulesProvider';
39
+
40
+ import { ChronoLocalDate } from './chrono/ChronoLocalDate';
41
+ import { ChronoLocalDateTime } from './chrono/ChronoLocalDateTime';
42
+ import { ChronoZonedDateTime } from './chrono/ChronoZonedDateTime';
43
+ import { IsoChronology } from './chrono/IsoChronology';
44
+
45
+ import { ChronoField } from './temporal/ChronoField';
46
+ import { ChronoUnit } from './temporal/ChronoUnit';
47
+ import { IsoFields } from './temporal/IsoFields';
48
+ import { Temporal } from './temporal/Temporal';
49
+ import { TemporalAccessor } from './temporal/TemporalAccessor';
50
+ import { TemporalAdjuster } from './temporal/TemporalAdjuster';
51
+ import { TemporalAdjusters } from './temporal/TemporalAdjusters';
52
+ import { TemporalAmount } from './temporal/TemporalAmount';
53
+ import { TemporalField } from './temporal/TemporalField';
54
+ import { TemporalQueries } from './temporal/TemporalQueries';
55
+ import { TemporalQuery } from './temporal/TemporalQuery';
56
+ import { TemporalUnit } from './temporal/TemporalUnit';
57
+ import { ValueRange } from './temporal/ValueRange';
58
+
59
+ import { DateTimeFormatter } from './format/DateTimeFormatter';
60
+ import { DateTimeFormatterBuilder } from './format/DateTimeFormatterBuilder';
61
+ import { DecimalStyle } from './format/DecimalStyle';
62
+ import { ResolverStyle } from './format/ResolverStyle';
63
+ import { SignStyle } from './format/SignStyle';
64
+ import { TextStyle } from './format/TextStyle';
65
+
66
+ // init static properties
67
+ import './_init';
68
+
69
+ // private/internal exports, e.g. for use in plugins
70
+ import { MathUtil } from './MathUtil';
71
+ import { StringUtil } from './StringUtil';
72
+ import { DateTimeBuilder } from './format/DateTimeBuilder';
73
+ import { DateTimeParseContext } from './format/DateTimeParseContext';
74
+ import { DateTimePrintContext } from './format/DateTimePrintContext';
75
+ import { StringBuilder } from './format/StringBuilder';
76
+ import * as assert from './assert';
77
+
78
+ import { convert } from './convert';
79
+ import { nativeJs } from './temporal/NativeJsTemporal';
80
+ import { bindUse } from './use';
81
+
82
+ const _ = {
83
+ assert,
84
+ DateTimeBuilder,
85
+ DateTimeParseContext,
86
+ DateTimePrintContext,
87
+ MathUtil,
88
+ StringUtil,
89
+ StringBuilder,
90
+ };
91
+
92
+ const jsJodaExports = {
93
+ _,
94
+ convert,
95
+ nativeJs,
96
+ ArithmeticException,
97
+ DateTimeException,
98
+ DateTimeParseException,
99
+ IllegalArgumentException,
100
+ IllegalStateException,
101
+ UnsupportedTemporalTypeException,
102
+ NullPointerException,
103
+ Clock,
104
+ DayOfWeek,
105
+ Duration,
106
+ Instant,
107
+ LocalDate,
108
+ LocalTime,
109
+ LocalDateTime,
110
+ OffsetTime,
111
+ OffsetDateTime,
112
+ Month,
113
+ MonthDay,
114
+ Period,
115
+ Year,
116
+ YearConstants,
117
+ YearMonth,
118
+ ZonedDateTime,
119
+ ZoneOffset,
120
+ ZoneId,
121
+ ZoneRegion,
122
+ ZoneOffsetTransition,
123
+ ZoneRules,
124
+ ZoneRulesProvider,
125
+ ChronoLocalDate,
126
+ ChronoLocalDateTime,
127
+ ChronoZonedDateTime,
128
+ IsoChronology,
129
+ ChronoField,
130
+ ChronoUnit,
131
+ IsoFields,
132
+ Temporal,
133
+ TemporalAccessor,
134
+ TemporalAdjuster,
135
+ TemporalAdjusters,
136
+ TemporalAmount,
137
+ TemporalField,
138
+ TemporalQueries,
139
+ TemporalQuery,
140
+ TemporalUnit,
141
+ ValueRange,
142
+ DateTimeFormatter,
143
+ DateTimeFormatterBuilder,
144
+ DecimalStyle,
145
+ ResolverStyle,
146
+ SignStyle,
147
+ TextStyle,
148
+ };
149
+
150
+ const use = bindUse(jsJodaExports);
151
+ jsJodaExports.use = use;
152
+
153
+ export {
154
+ _,
155
+ use,
156
+ convert,
157
+ nativeJs,
158
+ ArithmeticException,
159
+ DateTimeException,
160
+ DateTimeParseException,
161
+ IllegalArgumentException,
162
+ IllegalStateException,
163
+ UnsupportedTemporalTypeException,
164
+ NullPointerException,
165
+ Clock,
166
+ DayOfWeek,
167
+ Duration,
168
+ Instant,
169
+ LocalDate,
170
+ LocalTime,
171
+ LocalDateTime,
172
+ Month,
173
+ MonthDay,
174
+ OffsetTime,
175
+ OffsetDateTime,
176
+ Period,
177
+ Year,
178
+ YearConstants,
179
+ YearMonth,
180
+ ZonedDateTime,
181
+ ZoneOffset,
182
+ ZoneId,
183
+ ZoneRegion,
184
+ ZoneOffsetTransition,
185
+ ZoneRules,
186
+ ZoneRulesProvider,
187
+ ChronoLocalDate,
188
+ ChronoLocalDateTime,
189
+ ChronoZonedDateTime,
190
+ IsoChronology,
191
+ ChronoField,
192
+ ChronoUnit,
193
+ IsoFields,
194
+ Temporal,
195
+ TemporalAccessor,
196
+ TemporalAdjuster,
197
+ TemporalAdjusters,
198
+ TemporalAmount,
199
+ TemporalField,
200
+ TemporalQueries,
201
+ TemporalQuery,
202
+ TemporalUnit,
203
+ ValueRange,
204
+ DateTimeFormatter,
205
+ DateTimeFormatterBuilder,
206
+ DecimalStyle,
207
+ ResolverStyle,
208
+ SignStyle,
209
+ TextStyle,
210
+ };
@@ -0,0 +1,3 @@
1
+ //! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
2
+ //! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
3
+ //! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)