@blofin/blofin-ui 0.6.87

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 (238) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/dist/Badge.d.ts +1 -0
  4. package/dist/Badge.es.js +56 -0
  5. package/dist/Button.d.ts +1 -0
  6. package/dist/Button.es.js +377 -0
  7. package/dist/Dialog.d.ts +1 -0
  8. package/dist/Dialog.es.js +159 -0
  9. package/dist/Divider.d.ts +1 -0
  10. package/dist/Divider.es.js +25 -0
  11. package/dist/Drawer.d.ts +1 -0
  12. package/dist/Drawer.es.js +90 -0
  13. package/dist/Form.d.ts +1 -0
  14. package/dist/Form.es.js +752 -0
  15. package/dist/Slider.d.ts +1 -0
  16. package/dist/Slider.es.js +242 -0
  17. package/dist/blofin.css +1 -0
  18. package/dist/close-c67ec245.js +5 -0
  19. package/dist/components/Alert/Alert.d.ts +12 -0
  20. package/dist/components/Alert/index.d.ts +2 -0
  21. package/dist/components/Alert/styles.d.ts +7 -0
  22. package/dist/components/Badge/Badge.d.ts +21 -0
  23. package/dist/components/Badge/index.d.ts +2 -0
  24. package/dist/components/Badge/styles.d.ts +7 -0
  25. package/dist/components/Button/Button.d.ts +35 -0
  26. package/dist/components/Button/Loading/index.d.ts +8 -0
  27. package/dist/components/Button/index.d.ts +2 -0
  28. package/dist/components/Button/styles.d.ts +13 -0
  29. package/dist/components/Button/types.d.ts +5 -0
  30. package/dist/components/Calendar/Calendar.d.ts +12 -0
  31. package/dist/components/Calendar/index.d.ts +2 -0
  32. package/dist/components/Calendar/styles.d.ts +39 -0
  33. package/dist/components/Checkbox/Checkbox.d.ts +8 -0
  34. package/dist/components/Checkbox/index.d.ts +2 -0
  35. package/dist/components/Checkbox/styles.d.ts +22 -0
  36. package/dist/components/CssDropdown/CssDropdown.d.ts +18 -0
  37. package/dist/components/CssDropdown/styles.d.ts +7 -0
  38. package/dist/components/DatePickerRange/DatePickerRange.d.ts +32 -0
  39. package/dist/components/DatePickerRange/styles.d.ts +6 -0
  40. package/dist/components/DateTimePicker/Calendar.d.ts +10 -0
  41. package/dist/components/DateTimePicker/DateTimePicker.d.ts +18 -0
  42. package/dist/components/DateTimePicker/ScrollableList.d.ts +12 -0
  43. package/dist/components/DateTimePicker/hooks/useDateTimePicker.d.ts +35 -0
  44. package/dist/components/DateTimePicker/styles.d.ts +48 -0
  45. package/dist/components/Dialog/Dialog.d.ts +30 -0
  46. package/dist/components/Dialog/index.d.ts +2 -0
  47. package/dist/components/Dialog/styles.d.ts +13 -0
  48. package/dist/components/Divider/Divider.d.ts +8 -0
  49. package/dist/components/Divider/index.d.ts +2 -0
  50. package/dist/components/Divider/styles.d.ts +7 -0
  51. package/dist/components/Drawer/Drawer.d.ts +13 -0
  52. package/dist/components/Drawer/index.d.ts +2 -0
  53. package/dist/components/Drawer/styles.d.ts +6 -0
  54. package/dist/components/Dropdown/Dropdown.d.ts +14 -0
  55. package/dist/components/Dropdown/style.d.ts +9 -0
  56. package/dist/components/Empty/index.d.ts +5 -0
  57. package/dist/components/Form/Control.d.ts +13 -0
  58. package/dist/components/Form/Form.d.ts +3 -0
  59. package/dist/components/Form/FormItem.d.ts +4 -0
  60. package/dist/components/Form/FormLabel.d.ts +4 -0
  61. package/dist/components/Form/context.d.ts +5 -0
  62. package/dist/components/Form/index.d.ts +8 -0
  63. package/dist/components/Form/interface.d.ts +48 -0
  64. package/dist/components/Form/store.d.ts +16 -0
  65. package/dist/components/Form/styles/item.d.ts +5 -0
  66. package/dist/components/Form/useForm.d.ts +3 -0
  67. package/dist/components/LabelTextField/LabelTextField.d.ts +17 -0
  68. package/dist/components/LabelTextField/index.d.ts +2 -0
  69. package/dist/components/LabelTextField/styles.d.ts +34 -0
  70. package/dist/components/MonthPicker/index.d.ts +17 -0
  71. package/dist/components/Notification/Notification.d.ts +2 -0
  72. package/dist/components/Notification/style.d.ts +15 -0
  73. package/dist/components/Pagination/PageOptions.d.ts +12 -0
  74. package/dist/components/Pagination/Pagination.d.ts +34 -0
  75. package/dist/components/Pagination/styles.d.ts +6 -0
  76. package/dist/components/Picker/hooks/usePickerMethod.d.ts +9 -0
  77. package/dist/components/Picker/index.d.ts +10 -0
  78. package/dist/components/Picker/styles.d.ts +4 -0
  79. package/dist/components/Popover/Popover.d.ts +17 -0
  80. package/dist/components/Popup/index.d.ts +15 -0
  81. package/dist/components/Popup/styles.d.ts +3 -0
  82. package/dist/components/RadioButton/RadioButton.d.ts +10 -0
  83. package/dist/components/RadioButton/index.d.ts +2 -0
  84. package/dist/components/RadioButton/styles.d.ts +12 -0
  85. package/dist/components/Select/Select.d.ts +38 -0
  86. package/dist/components/Select/index.d.ts +2 -0
  87. package/dist/components/Select/styles.d.ts +24 -0
  88. package/dist/components/Slider/Slider.d.ts +20 -0
  89. package/dist/components/Slider/index.d.ts +2 -0
  90. package/dist/components/Slider/styles.d.ts +31 -0
  91. package/dist/components/Sort/SortButton.d.ts +14 -0
  92. package/dist/components/Sort/SortGroup.d.ts +8 -0
  93. package/dist/components/Sort/reducer.d.ts +36 -0
  94. package/dist/components/Sortable/SortItem.d.ts +6 -0
  95. package/dist/components/Sortable/index.d.ts +10 -0
  96. package/dist/components/Switch/Switch.d.ts +9 -0
  97. package/dist/components/Switch/styles.d.ts +12 -0
  98. package/dist/components/Tab/Tab.d.ts +21 -0
  99. package/dist/components/Tab/styles.d.ts +20 -0
  100. package/dist/components/Table/Pagination/index.d.ts +8 -0
  101. package/dist/components/Table/Table.d.ts +5 -0
  102. package/dist/components/Table/Tbody/index.d.ts +14 -0
  103. package/dist/components/Table/Thead/index.d.ts +17 -0
  104. package/dist/components/Table/context.d.ts +17 -0
  105. package/dist/components/Table/css.d.ts +12 -0
  106. package/dist/components/Table/hooks/useStickyClassName.d.ts +3 -0
  107. package/dist/components/Table/hooks/useStickyOffset.d.ts +15 -0
  108. package/dist/components/Table/index.d.ts +3 -0
  109. package/dist/components/Table/interface.d.ts +48 -0
  110. package/dist/components/TextField/TextField.d.ts +15 -0
  111. package/dist/components/TextField/index.d.ts +2 -0
  112. package/dist/components/TextSelect/TextSelect.d.ts +50 -0
  113. package/dist/components/TextSelect/styles.d.ts +27 -0
  114. package/dist/components/Textarea/index.d.ts +15 -0
  115. package/dist/components/Textarea/style.d.ts +13 -0
  116. package/dist/components/Toast/Toast.d.ts +2 -0
  117. package/dist/components/Toast/styles.d.ts +13 -0
  118. package/dist/components/Tooltip/Tooltip.d.ts +22 -0
  119. package/dist/components/Tooltip/enum.d.ts +21 -0
  120. package/dist/components/Tooltip/styles.d.ts +10 -0
  121. package/dist/components/Tooltip/type.d.ts +1 -0
  122. package/dist/components/Typography/Typography.d.ts +35 -0
  123. package/dist/components/Typography/styles.d.ts +10 -0
  124. package/dist/config/tailwind.js +9 -0
  125. package/dist/config/theme.js +318 -0
  126. package/dist/hooks/useAlign.d.ts +20 -0
  127. package/dist/hooks/useClient.d.ts +4 -0
  128. package/dist/hooks/useDelayEvent.d.ts +2 -0
  129. package/dist/hooks/useLatest.d.ts +1 -0
  130. package/dist/hooks/useNotification.d.ts +10 -0
  131. package/dist/hooks/useOutsideClick.d.ts +2 -0
  132. package/dist/hooks/useToast.d.ts +9 -0
  133. package/dist/index-0055aace.js +338 -0
  134. package/dist/index-0171eaca.js +436 -0
  135. package/dist/index-03ecf4ec.js +400 -0
  136. package/dist/index-04d10294.js +298 -0
  137. package/dist/index-0a1520d4.js +287 -0
  138. package/dist/index-0f855a91.js +14 -0
  139. package/dist/index-114820db.js +354 -0
  140. package/dist/index-1388dfff.js +336 -0
  141. package/dist/index-15b50a21.js +298 -0
  142. package/dist/index-17308ac1.js +298 -0
  143. package/dist/index-17afe366.js +298 -0
  144. package/dist/index-1d78221c.js +339 -0
  145. package/dist/index-1dc85776.js +437 -0
  146. package/dist/index-20e881af.js +354 -0
  147. package/dist/index-20f2adc4.js +398 -0
  148. package/dist/index-21539629.js +478 -0
  149. package/dist/index-21f85e78.js +377 -0
  150. package/dist/index-236e0579.js +71 -0
  151. package/dist/index-250f50e2.js +502 -0
  152. package/dist/index-356291b2.js +450 -0
  153. package/dist/index-38216e9e.js +340 -0
  154. package/dist/index-3c058c26.js +606 -0
  155. package/dist/index-3c3ba437.js +341 -0
  156. package/dist/index-3cd72a27.js +61 -0
  157. package/dist/index-3dcefa10.js +328 -0
  158. package/dist/index-3f70b1d4.js +331 -0
  159. package/dist/index-40ad0dd1.js +287 -0
  160. package/dist/index-42fb4fd5.js +334 -0
  161. package/dist/index-45696efa.js +438 -0
  162. package/dist/index-4b6824f2.js +61 -0
  163. package/dist/index-4b7924c1.js +354 -0
  164. package/dist/index-4c8ef561.js +337 -0
  165. package/dist/index-4ced47cd.js +359 -0
  166. package/dist/index-4eb29fd9.js +313 -0
  167. package/dist/index-4f2d4e0d.js +342 -0
  168. package/dist/index-51847d07.js +363 -0
  169. package/dist/index-51c1e00d.js +9 -0
  170. package/dist/index-51cf15b2.js +11054 -0
  171. package/dist/index-5357c173.js +336 -0
  172. package/dist/index-572ed179.js +353 -0
  173. package/dist/index-580c6bf2.js +362 -0
  174. package/dist/index-6817d9c1.js +363 -0
  175. package/dist/index-682656f7.js +62 -0
  176. package/dist/index-6834d6cf.js +330 -0
  177. package/dist/index-6a5829bd.js +387 -0
  178. package/dist/index-739cb389.js +332 -0
  179. package/dist/index-7601ed24.js +332 -0
  180. package/dist/index-76c2d21a.js +362 -0
  181. package/dist/index-7871c2fa.js +397 -0
  182. package/dist/index-7a871a23.js +362 -0
  183. package/dist/index-7aae1d07.js +298 -0
  184. package/dist/index-80121226.js +443 -0
  185. package/dist/index-872a50e8.js +353 -0
  186. package/dist/index-88fdaa89.js +437 -0
  187. package/dist/index-8a4c6daa.js +302 -0
  188. package/dist/index-8fb7d88b.js +360 -0
  189. package/dist/index-9412ffa1.js +346 -0
  190. package/dist/index-95d62350.js +427 -0
  191. package/dist/index-96a8d125.js +65 -0
  192. package/dist/index-9d0a665d.js +298 -0
  193. package/dist/index-a8c0dd3b.js +500 -0
  194. package/dist/index-aa90be0a.js +146 -0
  195. package/dist/index-aac5376e.js +331 -0
  196. package/dist/index-ac48594f.js +364 -0
  197. package/dist/index-acc7a626.js +146 -0
  198. package/dist/index-af6965cc.js +332 -0
  199. package/dist/index-b523f554.js +61 -0
  200. package/dist/index-b5aa671f.js +463 -0
  201. package/dist/index-b7612310.js +333 -0
  202. package/dist/index-babf632c.js +332 -0
  203. package/dist/index-baf0849c.js +346 -0
  204. package/dist/index-bb65c72e.js +514 -0
  205. package/dist/index-bb84ad8c.js +514 -0
  206. package/dist/index-c1e6e7ba.js +340 -0
  207. package/dist/index-cb4b8e2c.js +341 -0
  208. package/dist/index-d9848a76.js +545 -0
  209. package/dist/index-dc4bbb59.js +332 -0
  210. package/dist/index-dfc0fb0e.js +364 -0
  211. package/dist/index-e27e30cc.js +345 -0
  212. package/dist/index-e8380fcb.js +335 -0
  213. package/dist/index-ea4a8872.js +311 -0
  214. package/dist/index-eb696d64.js +436 -0
  215. package/dist/index-ebd469fd.js +297 -0
  216. package/dist/index-ed48cf75.js +383 -0
  217. package/dist/index-f3092738.js +308 -0
  218. package/dist/index-f41bdf2a.js +238 -0
  219. package/dist/index-f5c25d06.js +458 -0
  220. package/dist/index-f7e0a67b.js +511 -0
  221. package/dist/index-fafae16f.js +337 -0
  222. package/dist/index-ffe656da.js +332 -0
  223. package/dist/index.d.ts +43 -0
  224. package/dist/index.es.js +51 -0
  225. package/dist/isObjectLike-1b8bbac2.js +44 -0
  226. package/dist/jsx-runtime-944c88e2.js +631 -0
  227. package/dist/provider/NoticeProvider.d.ts +41 -0
  228. package/dist/provider/ThemeProvider.d.ts +7 -0
  229. package/dist/provider/useTheme.d.ts +4 -0
  230. package/dist/types/component.d.ts +16 -0
  231. package/dist/types/svg.d.ts +4 -0
  232. package/dist/utils/format.d.ts +7 -0
  233. package/dist/utils/helper.d.ts +7 -0
  234. package/dist/utils/locales.d.ts +1 -0
  235. package/dist/utils/utils.d.ts +2 -0
  236. package/dist/utils-7e50508b.js +2304 -0
  237. package/dist/vite.svg +1 -0
  238. package/package.json +117 -0
@@ -0,0 +1,463 @@
1
+ import { a as m, b as i, c as h, d as u } from "./index-51cf15b2.js";
2
+ import { i as f } from "./index-51c1e00d.js";
3
+ import "./Badge.es.js";
4
+ import "./jsx-runtime-944c88e2.js";
5
+ import "react";
6
+ import "./index-96a8d125.js";
7
+ import "./utils-7e50508b.js";
8
+ import "./Button.es.js";
9
+ import "./isObjectLike-1b8bbac2.js";
10
+ import "./Dialog.es.js";
11
+ import "react-dom";
12
+ import "./close-c67ec245.js";
13
+ import "./Drawer.es.js";
14
+ import "./Slider.es.js";
15
+ import "./Divider.es.js";
16
+ function b(t, e) {
17
+ return e === 1 && t.one ? t.one : e >= 2 && e <= 4 && t.twoFour ? t.twoFour : t.other;
18
+ }
19
+ function d(t, e, n) {
20
+ var r = b(t, e), a = r[n];
21
+ return a.replace("{{count}}", String(e));
22
+ }
23
+ function k(t) {
24
+ var e = ["lessThan", "about", "over", "almost"].filter(function(n) {
25
+ return !!t.match(new RegExp("^" + n));
26
+ });
27
+ return e[0];
28
+ }
29
+ function p(t) {
30
+ var e = "";
31
+ return t === "almost" && (e = "takmer"), t === "about" && (e = "približne"), e.length > 0 ? e + " " : "";
32
+ }
33
+ function l(t) {
34
+ var e = "";
35
+ return t === "lessThan" && (e = "menej než"), t === "over" && (e = "viac než"), e.length > 0 ? e + " " : "";
36
+ }
37
+ function g(t) {
38
+ return t.charAt(0).toLowerCase() + t.slice(1);
39
+ }
40
+ var w = {
41
+ xSeconds: {
42
+ one: {
43
+ present: "sekunda",
44
+ past: "sekundou",
45
+ future: "sekundu"
46
+ },
47
+ twoFour: {
48
+ present: "{{count}} sekundy",
49
+ past: "{{count}} sekundami",
50
+ future: "{{count}} sekundy"
51
+ },
52
+ other: {
53
+ present: "{{count}} sekúnd",
54
+ past: "{{count}} sekundami",
55
+ future: "{{count}} sekúnd"
56
+ }
57
+ },
58
+ halfAMinute: {
59
+ other: {
60
+ present: "pol minúty",
61
+ past: "pol minútou",
62
+ future: "pol minúty"
63
+ }
64
+ },
65
+ xMinutes: {
66
+ one: {
67
+ present: "minúta",
68
+ past: "minútou",
69
+ future: "minútu"
70
+ },
71
+ twoFour: {
72
+ present: "{{count}} minúty",
73
+ past: "{{count}} minútami",
74
+ future: "{{count}} minúty"
75
+ },
76
+ other: {
77
+ present: "{{count}} minút",
78
+ past: "{{count}} minútami",
79
+ future: "{{count}} minút"
80
+ }
81
+ },
82
+ xHours: {
83
+ one: {
84
+ present: "hodina",
85
+ past: "hodinou",
86
+ future: "hodinu"
87
+ },
88
+ twoFour: {
89
+ present: "{{count}} hodiny",
90
+ past: "{{count}} hodinami",
91
+ future: "{{count}} hodiny"
92
+ },
93
+ other: {
94
+ present: "{{count}} hodín",
95
+ past: "{{count}} hodinami",
96
+ future: "{{count}} hodín"
97
+ }
98
+ },
99
+ xDays: {
100
+ one: {
101
+ present: "deň",
102
+ past: "dňom",
103
+ future: "deň"
104
+ },
105
+ twoFour: {
106
+ present: "{{count}} dni",
107
+ past: "{{count}} dňami",
108
+ future: "{{count}} dni"
109
+ },
110
+ other: {
111
+ present: "{{count}} dní",
112
+ past: "{{count}} dňami",
113
+ future: "{{count}} dní"
114
+ }
115
+ },
116
+ xWeeks: {
117
+ one: {
118
+ present: "týždeň",
119
+ past: "týždňom",
120
+ future: "týždeň"
121
+ },
122
+ twoFour: {
123
+ present: "{{count}} týždne",
124
+ past: "{{count}} týždňami",
125
+ future: "{{count}} týždne"
126
+ },
127
+ other: {
128
+ present: "{{count}} týždňov",
129
+ past: "{{count}} týždňami",
130
+ future: "{{count}} týždňov"
131
+ }
132
+ },
133
+ xMonths: {
134
+ one: {
135
+ present: "mesiac",
136
+ past: "mesiacom",
137
+ future: "mesiac"
138
+ },
139
+ twoFour: {
140
+ present: "{{count}} mesiace",
141
+ past: "{{count}} mesiacmi",
142
+ future: "{{count}} mesiace"
143
+ },
144
+ other: {
145
+ present: "{{count}} mesiacov",
146
+ past: "{{count}} mesiacmi",
147
+ future: "{{count}} mesiacov"
148
+ }
149
+ },
150
+ xYears: {
151
+ one: {
152
+ present: "rok",
153
+ past: "rokom",
154
+ future: "rok"
155
+ },
156
+ twoFour: {
157
+ present: "{{count}} roky",
158
+ past: "{{count}} rokmi",
159
+ future: "{{count}} roky"
160
+ },
161
+ other: {
162
+ present: "{{count}} rokov",
163
+ past: "{{count}} rokmi",
164
+ future: "{{count}} rokov"
165
+ }
166
+ }
167
+ }, y = function(e, n, r) {
168
+ var a = k(e) || "", o = g(e.substring(a.length)), s = w[o];
169
+ return r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? p(a) + "o " + l(a) + d(s, n, "future") : p(a) + "pred " + l(a) + d(s, n, "past") : p(a) + l(a) + d(s, n, "present");
170
+ };
171
+ const P = y;
172
+ var j = {
173
+ full: "EEEE d. MMMM y",
174
+ long: "d. MMMM y",
175
+ medium: "d. M. y",
176
+ short: "d. M. y"
177
+ }, M = {
178
+ full: "H:mm:ss zzzz",
179
+ long: "H:mm:ss z",
180
+ medium: "H:mm:ss",
181
+ short: "H:mm"
182
+ }, W = {
183
+ full: "{{date}}, {{time}}",
184
+ long: "{{date}}, {{time}}",
185
+ medium: "{{date}}, {{time}}",
186
+ short: "{{date}} {{time}}"
187
+ }, F = {
188
+ date: m({
189
+ formats: j,
190
+ defaultWidth: "full"
191
+ }),
192
+ time: m({
193
+ formats: M,
194
+ defaultWidth: "full"
195
+ }),
196
+ dateTime: m({
197
+ formats: W,
198
+ defaultWidth: "full"
199
+ })
200
+ };
201
+ const x = F;
202
+ var c = ["nedeľu", "pondelok", "utorok", "stredu", "štvrtok", "piatok", "sobotu"];
203
+ function D(t) {
204
+ var e = c[t];
205
+ switch (t) {
206
+ case 0:
207
+ case 3:
208
+ case 6:
209
+ return "'minulú " + e + " o' p";
210
+ default:
211
+ return "'minulý' eeee 'o' p";
212
+ }
213
+ }
214
+ function v(t) {
215
+ var e = c[t];
216
+ return t === 4 ? "'vo' eeee 'o' p" : "'v " + e + " o' p";
217
+ }
218
+ function K(t) {
219
+ var e = c[t];
220
+ switch (t) {
221
+ case 0:
222
+ case 4:
223
+ case 6:
224
+ return "'budúcu " + e + " o' p";
225
+ default:
226
+ return "'budúci' eeee 'o' p";
227
+ }
228
+ }
229
+ var C = {
230
+ lastWeek: function(e, n, r) {
231
+ var a = e.getUTCDay();
232
+ return f(e, n, r) ? v(a) : D(a);
233
+ },
234
+ yesterday: "'včera o' p",
235
+ today: "'dnes o' p",
236
+ tomorrow: "'zajtra o' p",
237
+ nextWeek: function(e, n, r) {
238
+ var a = e.getUTCDay();
239
+ return f(e, n, r) ? v(a) : K(a);
240
+ },
241
+ other: "P"
242
+ }, z = function(e, n, r, a) {
243
+ var o = C[e];
244
+ return typeof o == "function" ? o(n, r, a) : o;
245
+ };
246
+ const L = z;
247
+ var V = {
248
+ narrow: ["pred Kr.", "po Kr."],
249
+ abbreviated: ["pred Kr.", "po Kr."],
250
+ wide: ["pred Kristom", "po Kristovi"]
251
+ }, A = {
252
+ narrow: ["1", "2", "3", "4"],
253
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
254
+ wide: ["1. štvrťrok", "2. štvrťrok", "3. štvrťrok", "4. štvrťrok"]
255
+ }, T = {
256
+ narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
257
+ abbreviated: ["jan", "feb", "mar", "apr", "máj", "jún", "júl", "aug", "sep", "okt", "nov", "dec"],
258
+ wide: ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december"]
259
+ }, E = {
260
+ narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
261
+ abbreviated: ["jan", "feb", "mar", "apr", "máj", "jún", "júl", "aug", "sep", "okt", "nov", "dec"],
262
+ wide: ["januára", "februára", "marca", "apríla", "mája", "júna", "júla", "augusta", "septembra", "októbra", "novembra", "decembra"]
263
+ }, N = {
264
+ narrow: ["n", "p", "u", "s", "š", "p", "s"],
265
+ short: ["ne", "po", "ut", "st", "št", "pi", "so"],
266
+ abbreviated: ["ne", "po", "ut", "st", "št", "pi", "so"],
267
+ wide: ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"]
268
+ }, Q = {
269
+ narrow: {
270
+ am: "AM",
271
+ pm: "PM",
272
+ midnight: "poln.",
273
+ noon: "pol.",
274
+ morning: "ráno",
275
+ afternoon: "pop.",
276
+ evening: "več.",
277
+ night: "noc"
278
+ },
279
+ abbreviated: {
280
+ am: "AM",
281
+ pm: "PM",
282
+ midnight: "poln.",
283
+ noon: "pol.",
284
+ morning: "ráno",
285
+ afternoon: "popol.",
286
+ evening: "večer",
287
+ night: "noc"
288
+ },
289
+ wide: {
290
+ am: "AM",
291
+ pm: "PM",
292
+ midnight: "polnoc",
293
+ noon: "poludnie",
294
+ morning: "ráno",
295
+ afternoon: "popoludnie",
296
+ evening: "večer",
297
+ night: "noc"
298
+ }
299
+ }, R = {
300
+ narrow: {
301
+ am: "AM",
302
+ pm: "PM",
303
+ midnight: "o poln.",
304
+ noon: "nap.",
305
+ morning: "ráno",
306
+ afternoon: "pop.",
307
+ evening: "več.",
308
+ night: "v n."
309
+ },
310
+ abbreviated: {
311
+ am: "AM",
312
+ pm: "PM",
313
+ midnight: "o poln.",
314
+ noon: "napol.",
315
+ morning: "ráno",
316
+ afternoon: "popol.",
317
+ evening: "večer",
318
+ night: "v noci"
319
+ },
320
+ wide: {
321
+ am: "AM",
322
+ pm: "PM",
323
+ midnight: "o polnoci",
324
+ noon: "napoludnie",
325
+ morning: "ráno",
326
+ afternoon: "popoludní",
327
+ evening: "večer",
328
+ night: "v noci"
329
+ }
330
+ }, H = function(e, n) {
331
+ var r = Number(e);
332
+ return r + ".";
333
+ }, S = {
334
+ ordinalNumber: H,
335
+ era: i({
336
+ values: V,
337
+ defaultWidth: "wide"
338
+ }),
339
+ quarter: i({
340
+ values: A,
341
+ defaultWidth: "wide",
342
+ argumentCallback: function(e) {
343
+ return e - 1;
344
+ }
345
+ }),
346
+ month: i({
347
+ values: T,
348
+ defaultWidth: "wide",
349
+ formattingValues: E,
350
+ defaultFormattingWidth: "wide"
351
+ }),
352
+ day: i({
353
+ values: N,
354
+ defaultWidth: "wide"
355
+ }),
356
+ dayPeriod: i({
357
+ values: Q,
358
+ defaultWidth: "wide",
359
+ formattingValues: R,
360
+ defaultFormattingWidth: "wide"
361
+ })
362
+ };
363
+ const $ = S;
364
+ var q = /^(\d+)\.?/i, O = /\d+/i, U = {
365
+ narrow: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,
366
+ abbreviated: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,
367
+ wide: /^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i
368
+ }, _ = {
369
+ any: [/^pr/i, /^(po|n)/i]
370
+ }, G = {
371
+ narrow: /^[1234]/i,
372
+ abbreviated: /^q[1234]/i,
373
+ wide: /^[1234]\. [šs]tvr[ťt]rok/i
374
+ }, I = {
375
+ any: [/1/i, /2/i, /3/i, /4/i]
376
+ }, Y = {
377
+ narrow: /^[jfmasond]/i,
378
+ abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,
379
+ wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i
380
+ }, B = {
381
+ 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],
382
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
383
+ }, J = {
384
+ narrow: /^[npusšp]/i,
385
+ short: /^(ne|po|ut|st|št|pi|so)/i,
386
+ abbreviated: /^(ne|po|ut|st|št|pi|so)/i,
387
+ wide: /^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i
388
+ }, X = {
389
+ narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^š/i, /^p/i, /^s/i],
390
+ any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(št|stv)/i, /^pi/i, /^so/i]
391
+ }, Z = {
392
+ narrow: /^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,
393
+ abbreviated: /^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,
394
+ any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i
395
+ }, ee = {
396
+ any: {
397
+ am: /^am/i,
398
+ pm: /^pm/i,
399
+ midnight: /poln/i,
400
+ noon: /^(nap|(na)?pol(\.|u))/i,
401
+ morning: /^r[áa]no/i,
402
+ afternoon: /^pop/i,
403
+ evening: /^ve[čc]/i,
404
+ night: /^(noc|v n\.)/i
405
+ }
406
+ }, te = {
407
+ ordinalNumber: h({
408
+ matchPattern: q,
409
+ parsePattern: O,
410
+ valueCallback: function(e) {
411
+ return parseInt(e, 10);
412
+ }
413
+ }),
414
+ era: u({
415
+ matchPatterns: U,
416
+ defaultMatchWidth: "wide",
417
+ parsePatterns: _,
418
+ defaultParseWidth: "any"
419
+ }),
420
+ quarter: u({
421
+ matchPatterns: G,
422
+ defaultMatchWidth: "wide",
423
+ parsePatterns: I,
424
+ defaultParseWidth: "any",
425
+ valueCallback: function(e) {
426
+ return e + 1;
427
+ }
428
+ }),
429
+ month: u({
430
+ matchPatterns: Y,
431
+ defaultMatchWidth: "wide",
432
+ parsePatterns: B,
433
+ defaultParseWidth: "any"
434
+ }),
435
+ day: u({
436
+ matchPatterns: J,
437
+ defaultMatchWidth: "wide",
438
+ parsePatterns: X,
439
+ defaultParseWidth: "any"
440
+ }),
441
+ dayPeriod: u({
442
+ matchPatterns: Z,
443
+ defaultMatchWidth: "any",
444
+ parsePatterns: ee,
445
+ defaultParseWidth: "any"
446
+ })
447
+ };
448
+ const ae = te;
449
+ var ke = {
450
+ code: "sk",
451
+ formatDistance: P,
452
+ formatLong: x,
453
+ formatRelative: L,
454
+ localize: $,
455
+ match: ae,
456
+ options: {
457
+ weekStartsOn: 1,
458
+ firstWeekContainsDate: 4
459
+ }
460
+ };
461
+ export {
462
+ ke as default
463
+ };