@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,606 @@
1
+ import { a as s, b as u, c as l, d as c } from "./index-51cf15b2.js";
2
+ import "./Badge.es.js";
3
+ import "./jsx-runtime-944c88e2.js";
4
+ import "react";
5
+ import "./index-96a8d125.js";
6
+ import "./utils-7e50508b.js";
7
+ import "./Button.es.js";
8
+ import "./isObjectLike-1b8bbac2.js";
9
+ import "./Dialog.es.js";
10
+ import "react-dom";
11
+ import "./close-c67ec245.js";
12
+ import "./Drawer.es.js";
13
+ import "./Slider.es.js";
14
+ import "./Divider.es.js";
15
+ function d(e) {
16
+ return e.one !== void 0;
17
+ }
18
+ var p = {
19
+ lessThanXSeconds: {
20
+ present: {
21
+ one: "manj kot {{count}} sekunda",
22
+ two: "manj kot {{count}} sekundi",
23
+ few: "manj kot {{count}} sekunde",
24
+ other: "manj kot {{count}} sekund"
25
+ },
26
+ past: {
27
+ one: "manj kot {{count}} sekundo",
28
+ two: "manj kot {{count}} sekundama",
29
+ few: "manj kot {{count}} sekundami",
30
+ other: "manj kot {{count}} sekundami"
31
+ },
32
+ future: {
33
+ one: "manj kot {{count}} sekundo",
34
+ two: "manj kot {{count}} sekundi",
35
+ few: "manj kot {{count}} sekunde",
36
+ other: "manj kot {{count}} sekund"
37
+ }
38
+ },
39
+ xSeconds: {
40
+ present: {
41
+ one: "{{count}} sekunda",
42
+ two: "{{count}} sekundi",
43
+ few: "{{count}} sekunde",
44
+ other: "{{count}} sekund"
45
+ },
46
+ past: {
47
+ one: "{{count}} sekundo",
48
+ two: "{{count}} sekundama",
49
+ few: "{{count}} sekundami",
50
+ other: "{{count}} sekundami"
51
+ },
52
+ future: {
53
+ one: "{{count}} sekundo",
54
+ two: "{{count}} sekundi",
55
+ few: "{{count}} sekunde",
56
+ other: "{{count}} sekund"
57
+ }
58
+ },
59
+ halfAMinute: "pol minute",
60
+ lessThanXMinutes: {
61
+ present: {
62
+ one: "manj kot {{count}} minuta",
63
+ two: "manj kot {{count}} minuti",
64
+ few: "manj kot {{count}} minute",
65
+ other: "manj kot {{count}} minut"
66
+ },
67
+ past: {
68
+ one: "manj kot {{count}} minuto",
69
+ two: "manj kot {{count}} minutama",
70
+ few: "manj kot {{count}} minutami",
71
+ other: "manj kot {{count}} minutami"
72
+ },
73
+ future: {
74
+ one: "manj kot {{count}} minuto",
75
+ two: "manj kot {{count}} minuti",
76
+ few: "manj kot {{count}} minute",
77
+ other: "manj kot {{count}} minut"
78
+ }
79
+ },
80
+ xMinutes: {
81
+ present: {
82
+ one: "{{count}} minuta",
83
+ two: "{{count}} minuti",
84
+ few: "{{count}} minute",
85
+ other: "{{count}} minut"
86
+ },
87
+ past: {
88
+ one: "{{count}} minuto",
89
+ two: "{{count}} minutama",
90
+ few: "{{count}} minutami",
91
+ other: "{{count}} minutami"
92
+ },
93
+ future: {
94
+ one: "{{count}} minuto",
95
+ two: "{{count}} minuti",
96
+ few: "{{count}} minute",
97
+ other: "{{count}} minut"
98
+ }
99
+ },
100
+ aboutXHours: {
101
+ present: {
102
+ one: "približno {{count}} ura",
103
+ two: "približno {{count}} uri",
104
+ few: "približno {{count}} ure",
105
+ other: "približno {{count}} ur"
106
+ },
107
+ past: {
108
+ one: "približno {{count}} uro",
109
+ two: "približno {{count}} urama",
110
+ few: "približno {{count}} urami",
111
+ other: "približno {{count}} urami"
112
+ },
113
+ future: {
114
+ one: "približno {{count}} uro",
115
+ two: "približno {{count}} uri",
116
+ few: "približno {{count}} ure",
117
+ other: "približno {{count}} ur"
118
+ }
119
+ },
120
+ xHours: {
121
+ present: {
122
+ one: "{{count}} ura",
123
+ two: "{{count}} uri",
124
+ few: "{{count}} ure",
125
+ other: "{{count}} ur"
126
+ },
127
+ past: {
128
+ one: "{{count}} uro",
129
+ two: "{{count}} urama",
130
+ few: "{{count}} urami",
131
+ other: "{{count}} urami"
132
+ },
133
+ future: {
134
+ one: "{{count}} uro",
135
+ two: "{{count}} uri",
136
+ few: "{{count}} ure",
137
+ other: "{{count}} ur"
138
+ }
139
+ },
140
+ xDays: {
141
+ present: {
142
+ one: "{{count}} dan",
143
+ two: "{{count}} dni",
144
+ few: "{{count}} dni",
145
+ other: "{{count}} dni"
146
+ },
147
+ past: {
148
+ one: "{{count}} dnem",
149
+ two: "{{count}} dnevoma",
150
+ few: "{{count}} dnevi",
151
+ other: "{{count}} dnevi"
152
+ },
153
+ future: {
154
+ one: "{{count}} dan",
155
+ two: "{{count}} dni",
156
+ few: "{{count}} dni",
157
+ other: "{{count}} dni"
158
+ }
159
+ },
160
+ // no tenses for weeks?
161
+ aboutXWeeks: {
162
+ one: "približno {{count}} teden",
163
+ two: "približno {{count}} tedna",
164
+ few: "približno {{count}} tedne",
165
+ other: "približno {{count}} tednov"
166
+ },
167
+ // no tenses for weeks?
168
+ xWeeks: {
169
+ one: "{{count}} teden",
170
+ two: "{{count}} tedna",
171
+ few: "{{count}} tedne",
172
+ other: "{{count}} tednov"
173
+ },
174
+ aboutXMonths: {
175
+ present: {
176
+ one: "približno {{count}} mesec",
177
+ two: "približno {{count}} meseca",
178
+ few: "približno {{count}} mesece",
179
+ other: "približno {{count}} mesecev"
180
+ },
181
+ past: {
182
+ one: "približno {{count}} mesecem",
183
+ two: "približno {{count}} mesecema",
184
+ few: "približno {{count}} meseci",
185
+ other: "približno {{count}} meseci"
186
+ },
187
+ future: {
188
+ one: "približno {{count}} mesec",
189
+ two: "približno {{count}} meseca",
190
+ few: "približno {{count}} mesece",
191
+ other: "približno {{count}} mesecev"
192
+ }
193
+ },
194
+ xMonths: {
195
+ present: {
196
+ one: "{{count}} mesec",
197
+ two: "{{count}} meseca",
198
+ few: "{{count}} meseci",
199
+ other: "{{count}} mesecev"
200
+ },
201
+ past: {
202
+ one: "{{count}} mesecem",
203
+ two: "{{count}} mesecema",
204
+ few: "{{count}} meseci",
205
+ other: "{{count}} meseci"
206
+ },
207
+ future: {
208
+ one: "{{count}} mesec",
209
+ two: "{{count}} meseca",
210
+ few: "{{count}} mesece",
211
+ other: "{{count}} mesecev"
212
+ }
213
+ },
214
+ aboutXYears: {
215
+ present: {
216
+ one: "približno {{count}} leto",
217
+ two: "približno {{count}} leti",
218
+ few: "približno {{count}} leta",
219
+ other: "približno {{count}} let"
220
+ },
221
+ past: {
222
+ one: "približno {{count}} letom",
223
+ two: "približno {{count}} letoma",
224
+ few: "približno {{count}} leti",
225
+ other: "približno {{count}} leti"
226
+ },
227
+ future: {
228
+ one: "približno {{count}} leto",
229
+ two: "približno {{count}} leti",
230
+ few: "približno {{count}} leta",
231
+ other: "približno {{count}} let"
232
+ }
233
+ },
234
+ xYears: {
235
+ present: {
236
+ one: "{{count}} leto",
237
+ two: "{{count}} leti",
238
+ few: "{{count}} leta",
239
+ other: "{{count}} let"
240
+ },
241
+ past: {
242
+ one: "{{count}} letom",
243
+ two: "{{count}} letoma",
244
+ few: "{{count}} leti",
245
+ other: "{{count}} leti"
246
+ },
247
+ future: {
248
+ one: "{{count}} leto",
249
+ two: "{{count}} leti",
250
+ few: "{{count}} leta",
251
+ other: "{{count}} let"
252
+ }
253
+ },
254
+ overXYears: {
255
+ present: {
256
+ one: "več kot {{count}} leto",
257
+ two: "več kot {{count}} leti",
258
+ few: "več kot {{count}} leta",
259
+ other: "več kot {{count}} let"
260
+ },
261
+ past: {
262
+ one: "več kot {{count}} letom",
263
+ two: "več kot {{count}} letoma",
264
+ few: "več kot {{count}} leti",
265
+ other: "več kot {{count}} leti"
266
+ },
267
+ future: {
268
+ one: "več kot {{count}} leto",
269
+ two: "več kot {{count}} leti",
270
+ few: "več kot {{count}} leta",
271
+ other: "več kot {{count}} let"
272
+ }
273
+ },
274
+ almostXYears: {
275
+ present: {
276
+ one: "skoraj {{count}} leto",
277
+ two: "skoraj {{count}} leti",
278
+ few: "skoraj {{count}} leta",
279
+ other: "skoraj {{count}} let"
280
+ },
281
+ past: {
282
+ one: "skoraj {{count}} letom",
283
+ two: "skoraj {{count}} letoma",
284
+ few: "skoraj {{count}} leti",
285
+ other: "skoraj {{count}} leti"
286
+ },
287
+ future: {
288
+ one: "skoraj {{count}} leto",
289
+ two: "skoraj {{count}} leti",
290
+ few: "skoraj {{count}} leta",
291
+ other: "skoraj {{count}} let"
292
+ }
293
+ }
294
+ };
295
+ function f(e) {
296
+ switch (e % 100) {
297
+ case 1:
298
+ return "one";
299
+ case 2:
300
+ return "two";
301
+ case 3:
302
+ case 4:
303
+ return "few";
304
+ default:
305
+ return "other";
306
+ }
307
+ }
308
+ var w = function(t, o, n) {
309
+ var a = "", r = "present";
310
+ n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (r = "future", a = "čez ") : (r = "past", a = "pred "));
311
+ var i = p[t];
312
+ if (typeof i == "string")
313
+ a += i;
314
+ else {
315
+ var m = f(o);
316
+ d(i) ? a += i[m].replace("{{count}}", String(o)) : a += i[r][m].replace("{{count}}", String(o));
317
+ }
318
+ return a;
319
+ };
320
+ const h = w;
321
+ var b = {
322
+ full: "EEEE, dd. MMMM y",
323
+ long: "dd. MMMM y",
324
+ medium: "d. MMM y",
325
+ short: "d. MM. yy"
326
+ }, v = {
327
+ full: "HH:mm:ss zzzz",
328
+ long: "HH:mm:ss z",
329
+ medium: "HH:mm:ss",
330
+ short: "HH:mm"
331
+ }, j = {
332
+ full: "{{date}} {{time}}",
333
+ long: "{{date}} {{time}}",
334
+ medium: "{{date}} {{time}}",
335
+ short: "{{date}} {{time}}"
336
+ }, k = {
337
+ date: s({
338
+ formats: b,
339
+ defaultWidth: "full"
340
+ }),
341
+ time: s({
342
+ formats: v,
343
+ defaultWidth: "full"
344
+ }),
345
+ dateTime: s({
346
+ formats: j,
347
+ defaultWidth: "full"
348
+ })
349
+ };
350
+ const g = k;
351
+ var P = {
352
+ lastWeek: function(t) {
353
+ var o = t.getUTCDay();
354
+ switch (o) {
355
+ case 0:
356
+ return "'prejšnjo nedeljo ob' p";
357
+ case 3:
358
+ return "'prejšnjo sredo ob' p";
359
+ case 6:
360
+ return "'prejšnjo soboto ob' p";
361
+ default:
362
+ return "'prejšnji' EEEE 'ob' p";
363
+ }
364
+ },
365
+ yesterday: "'včeraj ob' p",
366
+ today: "'danes ob' p",
367
+ tomorrow: "'jutri ob' p",
368
+ nextWeek: function(t) {
369
+ var o = t.getUTCDay();
370
+ switch (o) {
371
+ case 0:
372
+ return "'naslednjo nedeljo ob' p";
373
+ case 3:
374
+ return "'naslednjo sredo ob' p";
375
+ case 6:
376
+ return "'naslednjo soboto ob' p";
377
+ default:
378
+ return "'naslednji' EEEE 'ob' p";
379
+ }
380
+ },
381
+ other: "P"
382
+ }, y = function(t, o, n, a) {
383
+ var r = P[t];
384
+ return typeof r == "function" ? r(o) : r;
385
+ };
386
+ const M = y;
387
+ var W = {
388
+ narrow: ["pr. n. št.", "po n. št."],
389
+ abbreviated: ["pr. n. št.", "po n. št."],
390
+ wide: ["pred našim štetjem", "po našem štetju"]
391
+ }, z = {
392
+ narrow: ["1", "2", "3", "4"],
393
+ abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
394
+ wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
395
+ }, D = {
396
+ narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
397
+ abbreviated: ["jan.", "feb.", "mar.", "apr.", "maj", "jun.", "jul.", "avg.", "sep.", "okt.", "nov.", "dec."],
398
+ wide: ["januar", "februar", "marec", "april", "maj", "junij", "julij", "avgust", "september", "oktober", "november", "december"]
399
+ }, E = {
400
+ narrow: ["n", "p", "t", "s", "č", "p", "s"],
401
+ short: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
402
+ abbreviated: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
403
+ wide: ["nedelja", "ponedeljek", "torek", "sreda", "četrtek", "petek", "sobota"]
404
+ }, x = {
405
+ narrow: {
406
+ am: "d",
407
+ pm: "p",
408
+ midnight: "24.00",
409
+ noon: "12.00",
410
+ morning: "j",
411
+ afternoon: "p",
412
+ evening: "v",
413
+ night: "n"
414
+ },
415
+ abbreviated: {
416
+ am: "dop.",
417
+ pm: "pop.",
418
+ midnight: "poln.",
419
+ noon: "pold.",
420
+ morning: "jut.",
421
+ afternoon: "pop.",
422
+ evening: "več.",
423
+ night: "noč"
424
+ },
425
+ wide: {
426
+ am: "dop.",
427
+ pm: "pop.",
428
+ midnight: "polnoč",
429
+ noon: "poldne",
430
+ morning: "jutro",
431
+ afternoon: "popoldne",
432
+ evening: "večer",
433
+ night: "noč"
434
+ }
435
+ }, F = {
436
+ narrow: {
437
+ am: "d",
438
+ pm: "p",
439
+ midnight: "24.00",
440
+ noon: "12.00",
441
+ morning: "zj",
442
+ afternoon: "p",
443
+ evening: "zv",
444
+ night: "po"
445
+ },
446
+ abbreviated: {
447
+ am: "dop.",
448
+ pm: "pop.",
449
+ midnight: "opoln.",
450
+ noon: "opold.",
451
+ morning: "zjut.",
452
+ afternoon: "pop.",
453
+ evening: "zveč.",
454
+ night: "ponoči"
455
+ },
456
+ wide: {
457
+ am: "dop.",
458
+ pm: "pop.",
459
+ midnight: "opolnoči",
460
+ noon: "opoldne",
461
+ morning: "zjutraj",
462
+ afternoon: "popoldan",
463
+ evening: "zvečer",
464
+ night: "ponoči"
465
+ }
466
+ }, C = function(t, o) {
467
+ var n = Number(t);
468
+ return n + ".";
469
+ }, H = {
470
+ ordinalNumber: C,
471
+ era: u({
472
+ values: W,
473
+ defaultWidth: "wide"
474
+ }),
475
+ quarter: u({
476
+ values: z,
477
+ defaultWidth: "wide",
478
+ argumentCallback: function(t) {
479
+ return t - 1;
480
+ }
481
+ }),
482
+ month: u({
483
+ values: D,
484
+ defaultWidth: "wide"
485
+ }),
486
+ day: u({
487
+ values: E,
488
+ defaultWidth: "wide"
489
+ }),
490
+ dayPeriod: u({
491
+ values: x,
492
+ defaultWidth: "wide",
493
+ formattingValues: F,
494
+ defaultFormattingWidth: "wide"
495
+ })
496
+ };
497
+ const V = H;
498
+ var X = /^(\d+)\./i, L = /\d+/i, N = {
499
+ abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
500
+ wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
501
+ }, T = {
502
+ any: [/^pr/i, /^(po|na[sš]em)/i]
503
+ }, S = {
504
+ narrow: /^[1234]/i,
505
+ abbreviated: /^[1234]\.\s?[čc]et\.?/i,
506
+ wide: /^[1234]\. [čc]etrtletje/i
507
+ }, R = {
508
+ any: [/1/i, /2/i, /3/i, /4/i]
509
+ }, $ = {
510
+ narrow: /^[jfmasond]/i,
511
+ abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
512
+ wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i
513
+ }, Y = {
514
+ 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],
515
+ abbreviated: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i],
516
+ wide: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i]
517
+ }, q = {
518
+ narrow: /^[nptsčc]/i,
519
+ short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
520
+ abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
521
+ wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
522
+ }, O = {
523
+ narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
524
+ any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
525
+ }, _ = {
526
+ narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
527
+ any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i
528
+ }, K = {
529
+ narrow: {
530
+ am: /^d/i,
531
+ pm: /^p/i,
532
+ midnight: /^24/i,
533
+ noon: /^12/i,
534
+ morning: /^(z?j)/i,
535
+ afternoon: /^p/i,
536
+ evening: /^(z?v)/i,
537
+ night: /^(n|po)/i
538
+ },
539
+ any: {
540
+ am: /^dop\./i,
541
+ pm: /^pop\./i,
542
+ midnight: /^o?poln/i,
543
+ noon: /^o?pold/i,
544
+ morning: /j/i,
545
+ afternoon: /^pop\./i,
546
+ evening: /^z?ve/i,
547
+ night: /(po)?no/i
548
+ }
549
+ }, Q = {
550
+ ordinalNumber: l({
551
+ matchPattern: X,
552
+ parsePattern: L,
553
+ valueCallback: function(t) {
554
+ return parseInt(t, 10);
555
+ }
556
+ }),
557
+ era: c({
558
+ matchPatterns: N,
559
+ defaultMatchWidth: "wide",
560
+ parsePatterns: T,
561
+ defaultParseWidth: "any"
562
+ }),
563
+ quarter: c({
564
+ matchPatterns: S,
565
+ defaultMatchWidth: "wide",
566
+ parsePatterns: R,
567
+ defaultParseWidth: "any",
568
+ valueCallback: function(t) {
569
+ return t + 1;
570
+ }
571
+ }),
572
+ month: c({
573
+ matchPatterns: $,
574
+ defaultMatchWidth: "wide",
575
+ parsePatterns: Y,
576
+ defaultParseWidth: "wide"
577
+ }),
578
+ day: c({
579
+ matchPatterns: q,
580
+ defaultMatchWidth: "wide",
581
+ parsePatterns: O,
582
+ defaultParseWidth: "any"
583
+ }),
584
+ dayPeriod: c({
585
+ matchPatterns: _,
586
+ defaultMatchWidth: "any",
587
+ parsePatterns: K,
588
+ defaultParseWidth: "any"
589
+ })
590
+ };
591
+ const U = Q;
592
+ var ct = {
593
+ code: "sl",
594
+ formatDistance: h,
595
+ formatLong: g,
596
+ formatRelative: M,
597
+ localize: V,
598
+ match: U,
599
+ options: {
600
+ weekStartsOn: 1,
601
+ firstWeekContainsDate: 1
602
+ }
603
+ };
604
+ export {
605
+ ct as default
606
+ };