@ui5/webcomponents-localization 0.0.0-cf069fb29 → 0.0.0-d4d43327a

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 (200) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/README.md +5 -6
  3. package/dist/Assets-static.d.ts +1 -0
  4. package/dist/Assets-static.js +1 -0
  5. package/dist/Assets-static.js.map +1 -0
  6. package/dist/Assets.d.ts +1 -0
  7. package/dist/Assets.js +1 -0
  8. package/dist/Assets.js.map +1 -0
  9. package/dist/DateFormat.d.ts +6 -0
  10. package/dist/DateFormat.js +6 -2
  11. package/dist/DateFormat.js.map +1 -0
  12. package/dist/LocaleData.d.ts +6 -0
  13. package/dist/LocaleData.js +6 -2
  14. package/dist/LocaleData.js.map +1 -0
  15. package/dist/dates/CalendarDate.d.ts +41 -0
  16. package/dist/dates/CalendarDate.js +170 -201
  17. package/dist/dates/CalendarDate.js.map +1 -0
  18. package/dist/dates/ExtremeDates.d.ts +5 -0
  19. package/dist/dates/ExtremeDates.js +25 -35
  20. package/dist/dates/ExtremeDates.js.map +1 -0
  21. package/dist/dates/UniversalDate.d.ts +46 -0
  22. package/dist/dates/UniversalDate.js +5 -0
  23. package/dist/dates/UniversalDate.js.map +1 -0
  24. package/dist/dates/calculateWeekNumber.d.ts +4 -0
  25. package/dist/dates/calculateWeekNumber.js +42 -48
  26. package/dist/dates/calculateWeekNumber.js.map +1 -0
  27. package/dist/dates/convertMonthNumbersToMonthNames.d.ts +16 -0
  28. package/dist/dates/convertMonthNumbersToMonthNames.js +30 -0
  29. package/dist/dates/convertMonthNumbersToMonthNames.js.map +1 -0
  30. package/dist/dates/getDaysInMonth.d.ts +3 -0
  31. package/dist/dates/getDaysInMonth.js +10 -0
  32. package/dist/dates/getDaysInMonth.js.map +1 -0
  33. package/dist/dates/getRoundedTimestamp.d.ts +7 -0
  34. package/dist/dates/getRoundedTimestamp.js +9 -9
  35. package/dist/dates/getRoundedTimestamp.js.map +1 -0
  36. package/dist/dates/getTodayUTCTimestamp.d.ts +7 -0
  37. package/dist/dates/getTodayUTCTimestamp.js +2 -3
  38. package/dist/dates/getTodayUTCTimestamp.js.map +1 -0
  39. package/dist/dates/modifyDateBy.d.ts +13 -0
  40. package/dist/dates/modifyDateBy.js +27 -29
  41. package/dist/dates/modifyDateBy.js.map +1 -0
  42. package/dist/dates/transformDateToSecondaryType.d.ts +7 -0
  43. package/dist/dates/transformDateToSecondaryType.js +17 -0
  44. package/dist/dates/transformDateToSecondaryType.js.map +1 -0
  45. package/dist/features/calendar/Buddhist.js +1 -0
  46. package/dist/features/calendar/Buddhist.js.map +1 -0
  47. package/dist/features/calendar/Gregorian.js +1 -0
  48. package/dist/features/calendar/Gregorian.js.map +1 -0
  49. package/dist/features/calendar/Islamic.js +1 -0
  50. package/dist/features/calendar/Islamic.js.map +1 -0
  51. package/dist/features/calendar/Japanese.js +1 -0
  52. package/dist/features/calendar/Japanese.js.map +1 -0
  53. package/dist/features/calendar/Persian.js +1 -0
  54. package/dist/features/calendar/Persian.js.map +1 -0
  55. package/dist/generated/assets/cldr/ar.json +799 -1
  56. package/dist/generated/assets/cldr/ar_EG.json +799 -1
  57. package/dist/generated/assets/cldr/ar_SA.json +799 -1
  58. package/dist/generated/assets/cldr/bg.json +764 -1
  59. package/dist/generated/assets/cldr/ca.json +798 -1
  60. package/dist/generated/assets/cldr/cs.json +797 -1
  61. package/dist/generated/assets/cldr/cy.json +729 -1
  62. package/dist/generated/assets/cldr/da.json +764 -1
  63. package/dist/generated/assets/cldr/de.json +798 -1
  64. package/dist/generated/assets/cldr/de_AT.json +798 -1
  65. package/dist/generated/assets/cldr/de_CH.json +798 -1
  66. package/dist/generated/assets/cldr/el.json +697 -1
  67. package/dist/generated/assets/cldr/el_CY.json +697 -1
  68. package/dist/generated/assets/cldr/en.json +763 -2
  69. package/dist/generated/assets/cldr/en_AU.json +764 -2
  70. package/dist/generated/assets/cldr/en_GB.json +763 -1
  71. package/dist/generated/assets/cldr/en_HK.json +763 -1
  72. package/dist/generated/assets/cldr/en_IE.json +763 -1
  73. package/dist/generated/assets/cldr/en_IN.json +763 -1
  74. package/dist/generated/assets/cldr/en_NZ.json +763 -1
  75. package/dist/generated/assets/cldr/en_PG.json +763 -1
  76. package/dist/generated/assets/cldr/en_SG.json +763 -1
  77. package/dist/generated/assets/cldr/en_ZA.json +763 -1
  78. package/dist/generated/assets/cldr/es.json +730 -1
  79. package/dist/generated/assets/cldr/es_AR.json +730 -1
  80. package/dist/generated/assets/cldr/es_BO.json +733 -4
  81. package/dist/generated/assets/cldr/es_CL.json +733 -4
  82. package/dist/generated/assets/cldr/es_CO.json +730 -1
  83. package/dist/generated/assets/cldr/es_MX.json +733 -4
  84. package/dist/generated/assets/cldr/es_PE.json +733 -4
  85. package/dist/generated/assets/cldr/es_UY.json +733 -4
  86. package/dist/generated/assets/cldr/es_VE.json +732 -3
  87. package/dist/generated/assets/cldr/et.json +763 -1
  88. package/dist/generated/assets/cldr/fa.json +765 -1
  89. package/dist/generated/assets/cldr/fi.json +797 -1
  90. package/dist/generated/assets/cldr/fr.json +763 -1
  91. package/dist/generated/assets/cldr/fr_BE.json +763 -1
  92. package/dist/generated/assets/cldr/fr_CA.json +763 -1
  93. package/dist/generated/assets/cldr/fr_CH.json +763 -1
  94. package/dist/generated/assets/cldr/fr_LU.json +763 -1
  95. package/dist/generated/assets/cldr/he.json +798 -1
  96. package/dist/generated/assets/cldr/hi.json +730 -1
  97. package/dist/generated/assets/cldr/hr.json +763 -1
  98. package/dist/generated/assets/cldr/hu.json +831 -1
  99. package/dist/generated/assets/cldr/id.json +763 -1
  100. package/dist/generated/assets/cldr/it.json +763 -1
  101. package/dist/generated/assets/cldr/it_CH.json +763 -1
  102. package/dist/generated/assets/cldr/ja.json +797 -1
  103. package/dist/generated/assets/cldr/kk.json +763 -1
  104. package/dist/generated/assets/cldr/ko.json +797 -1
  105. package/dist/generated/assets/cldr/lt.json +763 -1
  106. package/dist/generated/assets/cldr/lv.json +763 -1
  107. package/dist/generated/assets/cldr/ms.json +731 -1
  108. package/dist/generated/assets/cldr/nb.json +764 -1
  109. package/dist/generated/assets/cldr/nl.json +730 -1
  110. package/dist/generated/assets/cldr/nl_BE.json +730 -1
  111. package/dist/generated/assets/cldr/pl.json +797 -1
  112. package/dist/generated/assets/cldr/pt.json +763 -1
  113. package/dist/generated/assets/cldr/pt_PT.json +763 -1
  114. package/dist/generated/assets/cldr/ro.json +763 -1
  115. package/dist/generated/assets/cldr/ru.json +763 -1
  116. package/dist/generated/assets/cldr/ru_UA.json +763 -1
  117. package/dist/generated/assets/cldr/sk.json +797 -1
  118. package/dist/generated/assets/cldr/sl.json +797 -1
  119. package/dist/generated/assets/cldr/sr.json +763 -1
  120. package/dist/generated/assets/cldr/sr_Latn.json +763 -1
  121. package/dist/generated/assets/cldr/sv.json +764 -1
  122. package/dist/generated/assets/cldr/th.json +831 -1
  123. package/dist/generated/assets/cldr/tr.json +831 -1
  124. package/dist/generated/assets/cldr/uk.json +763 -1
  125. package/dist/generated/assets/cldr/vi.json +763 -1
  126. package/dist/generated/assets/cldr/zh_CN.json +799 -2
  127. package/dist/generated/assets/cldr/zh_HK.json +799 -2
  128. package/dist/generated/assets/cldr/zh_SG.json +799 -2
  129. package/dist/generated/assets/cldr/zh_TW.json +798 -1
  130. package/dist/generated/json-imports/LocaleData-static.js +2 -1
  131. package/dist/generated/json-imports/LocaleData.js +2 -1
  132. package/dist/getCachedLocaleDataInstance.d.ts +4 -0
  133. package/dist/getCachedLocaleDataInstance.js +6 -9
  134. package/dist/getCachedLocaleDataInstance.js.map +1 -0
  135. package/dist/locale/getLocaleData.d.ts +11 -0
  136. package/dist/locale/getLocaleData.js +13 -17
  137. package/dist/locale/getLocaleData.js.map +1 -0
  138. package/dist/sap/base/Log.js +28 -29
  139. package/dist/sap/base/assert.js +5 -6
  140. package/dist/sap/base/util/LoaderExtensions.d.ts +4 -0
  141. package/dist/sap/base/util/LoaderExtensions.js +9 -12
  142. package/dist/sap/base/util/LoaderExtensions.js.map +1 -0
  143. package/dist/sap/ui/core/Configuration.d.ts +17 -0
  144. package/dist/sap/ui/core/Configuration.js +20 -0
  145. package/dist/sap/ui/core/Configuration.js.map +1 -0
  146. package/dist/sap/ui/core/Core.d.ts +26 -0
  147. package/dist/sap/ui/core/Core.js +7 -32
  148. package/dist/sap/ui/core/Core.js.map +1 -0
  149. package/dist/sap/ui/core/FormatSettings.d.ts +10 -0
  150. package/dist/sap/ui/core/FormatSettings.js +14 -0
  151. package/dist/sap/ui/core/FormatSettings.js.map +1 -0
  152. package/dist/sap/ui/core/Locale.js +13 -0
  153. package/dist/sap/ui/core/LocaleData.js +107 -6
  154. package/dist/sap/ui/core/date/Buddhist.js +0 -6
  155. package/dist/sap/ui/core/date/CalendarUtils.js +36 -0
  156. package/dist/sap/ui/core/date/CalendarWeekNumbering.js +7 -0
  157. package/dist/sap/ui/core/date/Islamic.js +3 -3
  158. package/dist/sap/ui/core/date/Japanese.js +4 -4
  159. package/dist/sap/ui/core/date/UniversalDate.js +79 -22
  160. package/dist/sap/ui/core/format/DateFormat.js +496 -201
  161. package/dist/sap/ui/core/format/TimezoneUtil.js +94 -0
  162. package/package-scripts.js +5 -7
  163. package/package.json +6 -5
  164. package/src/DateFormat.ts +8 -0
  165. package/src/LocaleData.ts +8 -0
  166. package/src/dates/{CalendarDate.js → CalendarDate.ts} +43 -34
  167. package/src/dates/{ExtremeDates.js → ExtremeDates.ts} +6 -5
  168. package/src/dates/UniversalDate.ts +51 -0
  169. package/src/dates/{calculateWeekNumber.js → calculateWeekNumber.ts} +5 -3
  170. package/src/dates/convertMonthNumbersToMonthNames.ts +34 -0
  171. package/src/dates/getDaysInMonth.ts +11 -0
  172. package/src/dates/{getRoundedTimestamp.js → getRoundedTimestamp.ts} +3 -3
  173. package/src/dates/getTodayUTCTimestamp.ts +10 -0
  174. package/src/dates/{modifyDateBy.js → modifyDateBy.ts} +1 -1
  175. package/src/dates/transformDateToSecondaryType.ts +21 -0
  176. package/src/features/calendar/Buddhist.ts +1 -0
  177. package/src/features/calendar/Gregorian.ts +1 -0
  178. package/src/features/calendar/Islamic.ts +1 -0
  179. package/src/features/calendar/Japanese.ts +1 -0
  180. package/src/features/calendar/Persian.ts +1 -0
  181. package/src/getCachedLocaleDataInstance.ts +15 -0
  182. package/src/locale/{getLocaleData.js → getLocaleData.ts} +9 -8
  183. package/src/sap/base/util/{LoaderExtensions.js → LoaderExtensions.ts} +1 -1
  184. package/src/sap/ui/core/{Core.js → Configuration.ts} +5 -21
  185. package/src/sap/ui/core/Core.ts +15 -0
  186. package/src/sap/ui/core/FormatSettings.ts +16 -0
  187. package/tsconfig.json +13 -0
  188. package/used-modules.txt +4 -1
  189. package/hash.txt +0 -1
  190. package/src/DateFormat.js +0 -3
  191. package/src/LocaleData.js +0 -3
  192. package/src/dates/getTodayUTCTimestamp.js +0 -9
  193. package/src/getCachedLocaleDataInstance.js +0 -13
  194. /package/{src/features/calendar/Buddhist.js → dist/features/calendar/Buddhist.d.ts} +0 -0
  195. /package/{src/features/calendar/Gregorian.js → dist/features/calendar/Gregorian.d.ts} +0 -0
  196. /package/{src/features/calendar/Islamic.js → dist/features/calendar/Islamic.d.ts} +0 -0
  197. /package/{src/features/calendar/Japanese.js → dist/features/calendar/Japanese.d.ts} +0 -0
  198. /package/{src/features/calendar/Persian.js → dist/features/calendar/Persian.d.ts} +0 -0
  199. /package/src/{Assets-static.js → Assets-static.ts} +0 -0
  200. /package/src/{Assets.js → Assets.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,230 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.11.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.3...v1.11.0-rc.4) (2023-03-02)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-localization
9
+
10
+
11
+
12
+
13
+
14
+ # [1.11.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.2...v1.11.0-rc.3) (2023-02-23)
15
+
16
+
17
+ ### Features
18
+
19
+ * **framework:** support legacy date calendar customizing ([#6462](https://github.com/SAP/ui5-webcomponents/issues/6462)) ([27df89b](https://github.com/SAP/ui5-webcomponents/commit/27df89bc62aaccbfbec5f4d36c520dbd762dab34))
20
+
21
+
22
+
23
+
24
+
25
+ # [1.11.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.1...v1.11.0-rc.2) (2023-02-16)
26
+
27
+ **Note:** Version bump only for package @ui5/webcomponents-localization
28
+
29
+
30
+
31
+
32
+
33
+ # [1.11.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.0...v1.11.0-rc.1) (2023-02-09)
34
+
35
+ **Note:** Version bump only for package @ui5/webcomponents-localization
36
+
37
+
38
+
39
+
40
+
41
+ # [1.11.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.4-rc.0...v1.11.0-rc.0) (2023-02-02)
42
+
43
+ **Note:** Version bump only for package @ui5/webcomponents-localization
44
+
45
+
46
+
47
+
48
+
49
+ ## [1.10.4-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.3...v1.10.4-rc.0) (2023-01-26)
50
+
51
+ **Note:** Version bump only for package @ui5/webcomponents-localization
52
+
53
+
54
+
55
+
56
+
57
+ ## [1.10.3](https://github.com/SAP/ui5-webcomponents/compare/v1.10.2...v1.10.3) (2023-01-25)
58
+
59
+ **Note:** Version bump only for package @ui5/webcomponents-localization
60
+
61
+
62
+
63
+
64
+
65
+ ## [1.10.2](https://github.com/SAP/ui5-webcomponents/compare/v1.10.1...v1.10.2) (2023-01-25)
66
+
67
+ **Note:** Version bump only for package ui5-webcomponents
68
+
69
+ ## [1.10.1](https://github.com/SAP/ui5-webcomponents/compare/v0.0.0-7b49a7ff1...v1.10.1) (2023-01-24)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * add openui5 types as a dependency ([#6346](https://github.com/SAP/ui5-webcomponents/issues/6346)) ([2f06c71](https://github.com/SAP/ui5-webcomponents/commit/2f06c71eefb455db179cdbb9bd4b293af5b5aa2b))
75
+
76
+
77
+
78
+
79
+
80
+ # [1.10.0](https://github.com/SAP/ui5-webcomponents/compare/v1.9.3...v1.10.0) (2023-01-20)
81
+
82
+
83
+ ### Features
84
+
85
+ * add TS types for localization packages ([#6147](https://github.com/SAP/ui5-webcomponents/issues/6147)) ([39dcbfd](https://github.com/SAP/ui5-webcomponents/commit/39dcbfd91e6bc728f1c3feaff5e229ae3a359b06))
86
+ * **ui5-button, ui5-date-picker, ui5-calendar:** migrate to TS ([#6173](https://github.com/SAP/ui5-webcomponents/issues/6173)) ([7232ca0](https://github.com/SAP/ui5-webcomponents/commit/7232ca08f286c5dde10080373fb62247f1acf7b7)), closes [#6080](https://github.com/SAP/ui5-webcomponents/issues/6080)
87
+
88
+
89
+
90
+
91
+
92
+ ## [1.9.3](https://github.com/SAP/ui5-webcomponents/compare/v1.9.2...v1.9.3) (2022-12-16)
93
+
94
+ **Note:** Version bump only for package @ui5/webcomponents-localization
95
+
96
+
97
+
98
+
99
+
100
+ ## [1.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10)
101
+
102
+ **Note:** Version bump only for package @ui5/webcomponents-localization
103
+
104
+
105
+
106
+
107
+
108
+ # [1.9.0](https://github.com/SAP/ui5-webcomponents/compare/v1.8.0...v1.9.0) (2022-10-31)
109
+
110
+ **Note:** Version bump only for package @ui5/webcomponents-localization
111
+
112
+
113
+
114
+
115
+
116
+ # [1.8.0](https://github.com/SAP/ui5-webcomponents/compare/v1.7.1...v1.8.0) (2022-10-03)
117
+
118
+ **Note:** Version bump only for package @ui5/webcomponents-localization
119
+
120
+
121
+
122
+
123
+
124
+ ## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08)
125
+
126
+ **Note:** Version bump only for package @ui5/webcomponents-localization
127
+
128
+
129
+
130
+
131
+
132
+ # [1.7.0](https://github.com/SAP/ui5-webcomponents/compare/v1.6.0...v1.7.0) (2022-09-02)
133
+
134
+ **Note:** Version bump only for package @ui5/webcomponents-localization
135
+
136
+
137
+
138
+
139
+
140
+ # [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25)
141
+
142
+
143
+ ### Features
144
+
145
+ * **ui5-calendar:** show months and years from both primary and secon… ([#5412](https://github.com/SAP/ui5-webcomponents/issues/5412)) ([d5dc7ec](https://github.com/SAP/ui5-webcomponents/commit/d5dc7ec))
146
+
147
+
148
+
149
+
150
+
151
+ # [1.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
152
+
153
+ **Note:** Version bump only for package @ui5/webcomponents-localization
154
+
155
+
156
+
157
+
158
+
159
+ # [1.4.0](https://github.com/SAP/ui5-webcomponents/compare/v1.3.1...v1.4.0) (2022-05-25)
160
+
161
+ **Note:** Version bump only for package @ui5/webcomponents-localization
162
+
163
+
164
+
165
+
166
+
167
+ ## [1.3.1](https://github.com/SAP/ui5-webcomponents/compare/v1.3.0...v1.3.1) (2022-04-27)
168
+
169
+ **Note:** Version bump only for package @ui5/webcomponents-localization
170
+
171
+
172
+
173
+
174
+
175
+ # [1.3.0](https://github.com/SAP/ui5-webcomponents/compare/v1.2.4...v1.3.0) (2022-04-19)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * **localization:** fix js error if "sh" locale set ([#4905](https://github.com/SAP/ui5-webcomponents/issues/4905)) ([979bca2](https://github.com/SAP/ui5-webcomponents/commit/979bca2)), closes [#4904](https://github.com/SAP/ui5-webcomponents/issues/4904)
181
+
182
+
183
+
184
+
185
+
186
+ ## [1.2.4](https://github.com/SAP/ui5-webcomponents/compare/v1.2.3...v1.2.4) (2022-03-30)
187
+
188
+ **Note:** Version bump only for package @ui5/webcomponents-localization
189
+
190
+
191
+
192
+
193
+
194
+ ## [1.2.3](https://github.com/SAP/ui5-webcomponents/compare/v1.2.2...v1.2.3) (2022-03-23)
195
+
196
+ **Note:** Version bump only for package @ui5/webcomponents-localization
197
+
198
+
199
+
200
+
201
+
202
+ ## [1.2.2](https://github.com/SAP/ui5-webcomponents/compare/v1.2.1...v1.2.2) (2022-03-22)
203
+
204
+
205
+ ### Bug Fixes
206
+
207
+ * **localization:** fix js error if "sh" locale set ([#4905](https://github.com/SAP/ui5-webcomponents/issues/4905)) ([9ace82c](https://github.com/SAP/ui5-webcomponents/commit/9ace82c)), closes [#4904](https://github.com/SAP/ui5-webcomponents/issues/4904)
208
+
209
+
210
+
211
+
212
+
213
+
214
+ ## [1.2.1](https://github.com/SAP/ui5-webcomponents/compare/v1.2.0...v1.2.1) (2022-03-02)
215
+
216
+ **Note:** Version bump only for package @ui5/webcomponents-localization
217
+
218
+
219
+
220
+
221
+
222
+ # [1.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
223
+
224
+ **Note:** Version bump only for package @ui5/webcomponents-localization
225
+
226
+
227
+
228
+
229
+
6
230
  ## [1.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
7
231
 
8
232
  **Note:** Version bump only for package @ui5/webcomponents-localization
package/README.md CHANGED
@@ -1,8 +1,7 @@
1
- ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/master/docs/images/UI5_logo_wide.png)
1
+ ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_wide.png)
2
2
 
3
3
  # UI5 Web Components - Localization
4
4
 
5
- [![Travis CI Build Status](https://travis-ci.org/SAP/ui5-webcomponents.svg?branch=master)](https://travis-ci.org/SAP/ui5-webcomponents)
6
5
  [![npm Package Version](https://badge.fury.io/js/%40ui5%2Fwebcomponents.svg)](https://www.npmjs.com/package/@ui5/webcomponents)
7
6
 
8
7
  Provides date/time and CLDR functionality for the purposes of building UI5 Web Components.
@@ -39,16 +38,16 @@ In order to be able to use Buddhist, Islamic, Japanese, or Persian calendar with
39
38
  (by setting its `primaryCalendarType` property), you must import one or more of the modules above.
40
39
 
41
40
  ## Resources
42
- - [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md)
41
+ - [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/main/README.md)
43
42
  - [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
44
43
  - [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)
45
44
 
46
45
  ## Support
47
- We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
46
+ We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
48
47
 
49
48
  ## Contribute
50
- Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/docs/6-contributing/02-conventions-and-guidelines.md).
49
+ Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).
51
50
 
52
51
  ## License
53
52
  Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
54
- This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/master/LICENSE.txt) file.
53
+ This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/main/LICENSE.txt) file.
@@ -0,0 +1 @@
1
+ import "./generated/json-imports/LocaleData-static.js";
@@ -1,2 +1,3 @@
1
1
  // Currently the base package provides CLDR assets only
2
2
  import "./generated/json-imports/LocaleData-static.js";
3
+ //# sourceMappingURL=Assets-static.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets-static.js","sourceRoot":"","sources":["../src/Assets-static.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,+CAA+C,CAAC"}
@@ -0,0 +1 @@
1
+ import "./generated/json-imports/LocaleData.js";
package/dist/Assets.js CHANGED
@@ -1,2 +1,3 @@
1
1
  // Currently the base package provides CLDR assets only
2
2
  import "./generated/json-imports/LocaleData.js";
3
+ //# sourceMappingURL=Assets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets.js","sourceRoot":"","sources":["../src/Assets.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,wCAAwC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="openui5" />
2
+ import type DateFormatT from "sap/ui/core/format/DateFormat";
3
+ declare const DateFormatWrapped: typeof DateFormatT;
4
+ declare class DateFormat extends DateFormatWrapped {
5
+ }
6
+ export default DateFormat;
@@ -1,3 +1,7 @@
1
- import DateFormat from "./sap/ui/core/format/DateFormat.js";
2
-
1
+ // @ts-ignore
2
+ import DateFormatNative from "./sap/ui/core/format/DateFormat.js";
3
+ const DateFormatWrapped = DateFormatNative;
4
+ class DateFormat extends DateFormatWrapped {
5
+ }
3
6
  export default DateFormat;
7
+ //# sourceMappingURL=DateFormat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateFormat.js","sourceRoot":"","sources":["../src/DateFormat.ts"],"names":[],"mappings":"AACA,aAAa;AACb,OAAO,gBAAgB,MAAM,oCAAoC,CAAC;AAElE,MAAM,iBAAiB,GAAG,gBAAsC,CAAC;AACjE,MAAM,UAAW,SAAQ,iBAAiB;CAAG;AAE7C,eAAe,UAAU,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="openui5" />
2
+ import type LocaleDataOpenUI5T from "sap/ui/core/LocaleData";
3
+ declare const LocaleDataWrapped: typeof LocaleDataOpenUI5T;
4
+ declare class LocaleData extends LocaleDataWrapped {
5
+ }
6
+ export default LocaleData;
@@ -1,3 +1,7 @@
1
- import LocaleData from "./sap/ui/core/LocaleData.js";
2
-
1
+ // @ts-ignore
2
+ import LocaleDataNative from "./sap/ui/core/LocaleData.js";
3
+ const LocaleDataWrapped = LocaleDataNative;
4
+ class LocaleData extends LocaleDataWrapped {
5
+ }
3
6
  export default LocaleData;
7
+ //# sourceMappingURL=LocaleData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocaleData.js","sourceRoot":"","sources":["../src/LocaleData.ts"],"names":[],"mappings":"AACA,aAAa;AACb,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAE3D,MAAM,iBAAiB,GAAG,gBAA6C,CAAC;AACxE,MAAM,UAAW,SAAQ,iBAAiB;CAAG;AAE7C,eAAe,UAAU,CAAC"}
@@ -0,0 +1,41 @@
1
+ import type CalendarType from "@ui5/webcomponents-base/dist/types/CalendarType.js";
2
+ import UniversalDate from "./UniversalDate.js";
3
+ declare class CalendarDate {
4
+ _oUDate: Date | UniversalDate;
5
+ constructor(year?: number | CalendarDate, month?: number | string, date?: number, calendarType?: string);
6
+ getYear(): number;
7
+ setYear(year: number): this;
8
+ getMonth(): number;
9
+ /**
10
+ * Sets the given month as ordinal month of the year.
11
+ * @param {int} month An integer between 0 and 11, representing the months January through December( or their
12
+ * equivalent month names for the given calendar).
13
+ * If the specified value is is outside of the expected range, this method attempts to update the date information
14
+ * accordingly. For example, if 12 is given as a month, the year will be incremented by 1, and 1 will be used for month.
15
+ * @param {int} [date] An integer between 1 and 31, representing the day of the month, but other values are allowed.
16
+ * 0 will result in the previous month's last day.
17
+ * -1 will result in the day before the previous month's last day.
18
+ * 32 will result in:
19
+ * - first day of the next month if the current month has 31 days.
20
+ * - second day of the next month if the current month has 30 days.
21
+ * Other value will result in adding or subtracting days according to the given value.
22
+ * @returns {sap.ui.unified.calendar.CalendarDate} <code>this</code> for method chaining.
23
+ */
24
+ setMonth(month: number, date?: number): this;
25
+ getDate(): number;
26
+ setDate(date: number): this;
27
+ getDay(): number;
28
+ getCalendarType(): string;
29
+ isBefore(oCalendarDate: CalendarDate): boolean;
30
+ isAfter(oCalendarDate: CalendarDate): boolean;
31
+ isSameOrBefore(oCalendarDate: CalendarDate): boolean;
32
+ isSameOrAfter(oCalendarDate: CalendarDate): boolean;
33
+ isSame(oCalendarDate: CalendarDate): boolean;
34
+ toLocalJSDate(): Date;
35
+ toUTCJSDate(): Date;
36
+ toString(): string;
37
+ valueOf(): number;
38
+ static fromLocalJSDate(oJSDate: Date, sCalendarType?: CalendarType): CalendarDate;
39
+ static fromTimestamp(iTimestamp: number, sCalendarType?: CalendarType): CalendarDate;
40
+ }
41
+ export default CalendarDate;