@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,436 @@
1
+ import { a as d, b as i, c as s, d as u } 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
+ var l = {
16
+ lessThanXSeconds: {
17
+ one: {
18
+ standalone: "manje od 1 sekunde",
19
+ withPrepositionAgo: "manje od 1 sekunde",
20
+ withPrepositionIn: "manje od 1 sekundu"
21
+ },
22
+ dual: "manje od {{count}} sekunde",
23
+ other: "manje od {{count}} sekundi"
24
+ },
25
+ xSeconds: {
26
+ one: {
27
+ standalone: "1 sekunda",
28
+ withPrepositionAgo: "1 sekunde",
29
+ withPrepositionIn: "1 sekundu"
30
+ },
31
+ dual: "{{count}} sekunde",
32
+ other: "{{count}} sekundi"
33
+ },
34
+ halfAMinute: "pola minute",
35
+ lessThanXMinutes: {
36
+ one: {
37
+ standalone: "manje od 1 minute",
38
+ withPrepositionAgo: "manje od 1 minute",
39
+ withPrepositionIn: "manje od 1 minutu"
40
+ },
41
+ dual: "manje od {{count}} minute",
42
+ other: "manje od {{count}} minuta"
43
+ },
44
+ xMinutes: {
45
+ one: {
46
+ standalone: "1 minuta",
47
+ withPrepositionAgo: "1 minute",
48
+ withPrepositionIn: "1 minutu"
49
+ },
50
+ dual: "{{count}} minute",
51
+ other: "{{count}} minuta"
52
+ },
53
+ aboutXHours: {
54
+ one: {
55
+ standalone: "oko 1 sat",
56
+ withPrepositionAgo: "oko 1 sat",
57
+ withPrepositionIn: "oko 1 sat"
58
+ },
59
+ dual: "oko {{count}} sata",
60
+ other: "oko {{count}} sati"
61
+ },
62
+ xHours: {
63
+ one: {
64
+ standalone: "1 sat",
65
+ withPrepositionAgo: "1 sat",
66
+ withPrepositionIn: "1 sat"
67
+ },
68
+ dual: "{{count}} sata",
69
+ other: "{{count}} sati"
70
+ },
71
+ xDays: {
72
+ one: {
73
+ standalone: "1 dan",
74
+ withPrepositionAgo: "1 dan",
75
+ withPrepositionIn: "1 dan"
76
+ },
77
+ dual: "{{count}} dana",
78
+ other: "{{count}} dana"
79
+ },
80
+ aboutXWeeks: {
81
+ one: {
82
+ standalone: "oko 1 nedelju",
83
+ withPrepositionAgo: "oko 1 nedelju",
84
+ withPrepositionIn: "oko 1 nedelju"
85
+ },
86
+ dual: "oko {{count}} nedelje",
87
+ other: "oko {{count}} nedelje"
88
+ },
89
+ xWeeks: {
90
+ one: {
91
+ standalone: "1 nedelju",
92
+ withPrepositionAgo: "1 nedelju",
93
+ withPrepositionIn: "1 nedelju"
94
+ },
95
+ dual: "{{count}} nedelje",
96
+ other: "{{count}} nedelje"
97
+ },
98
+ aboutXMonths: {
99
+ one: {
100
+ standalone: "oko 1 mesec",
101
+ withPrepositionAgo: "oko 1 mesec",
102
+ withPrepositionIn: "oko 1 mesec"
103
+ },
104
+ dual: "oko {{count}} meseca",
105
+ other: "oko {{count}} meseci"
106
+ },
107
+ xMonths: {
108
+ one: {
109
+ standalone: "1 mesec",
110
+ withPrepositionAgo: "1 mesec",
111
+ withPrepositionIn: "1 mesec"
112
+ },
113
+ dual: "{{count}} meseca",
114
+ other: "{{count}} meseci"
115
+ },
116
+ aboutXYears: {
117
+ one: {
118
+ standalone: "oko 1 godinu",
119
+ withPrepositionAgo: "oko 1 godinu",
120
+ withPrepositionIn: "oko 1 godinu"
121
+ },
122
+ dual: "oko {{count}} godine",
123
+ other: "oko {{count}} godina"
124
+ },
125
+ xYears: {
126
+ one: {
127
+ standalone: "1 godina",
128
+ withPrepositionAgo: "1 godine",
129
+ withPrepositionIn: "1 godinu"
130
+ },
131
+ dual: "{{count}} godine",
132
+ other: "{{count}} godina"
133
+ },
134
+ overXYears: {
135
+ one: {
136
+ standalone: "preko 1 godinu",
137
+ withPrepositionAgo: "preko 1 godinu",
138
+ withPrepositionIn: "preko 1 godinu"
139
+ },
140
+ dual: "preko {{count}} godine",
141
+ other: "preko {{count}} godina"
142
+ },
143
+ almostXYears: {
144
+ one: {
145
+ standalone: "gotovo 1 godinu",
146
+ withPrepositionAgo: "gotovo 1 godinu",
147
+ withPrepositionIn: "gotovo 1 godinu"
148
+ },
149
+ dual: "gotovo {{count}} godine",
150
+ other: "gotovo {{count}} godina"
151
+ }
152
+ }, m = function(e, n, a) {
153
+ var o, t = l[e];
154
+ return typeof t == "string" ? o = t : n === 1 ? a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? o = t.one.withPrepositionIn : o = t.one.withPrepositionAgo : o = t.one.standalone : n % 10 > 1 && n % 10 < 5 && // if last digit is between 2 and 4
155
+ String(n).substr(-2, 1) !== "1" ? o = t.dual.replace("{{count}}", String(n)) : o = t.other.replace("{{count}}", String(n)), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "za " + o : "pre " + o : o;
156
+ };
157
+ const p = m;
158
+ var c = {
159
+ full: "EEEE, d. MMMM yyyy.",
160
+ long: "d. MMMM yyyy.",
161
+ medium: "d. MMM yy.",
162
+ short: "dd. MM. yy."
163
+ }, h = {
164
+ full: "HH:mm:ss (zzzz)",
165
+ long: "HH:mm:ss z",
166
+ medium: "HH:mm:ss",
167
+ short: "HH:mm"
168
+ }, v = {
169
+ full: "{{date}} 'u' {{time}}",
170
+ long: "{{date}} 'u' {{time}}",
171
+ medium: "{{date}} {{time}}",
172
+ short: "{{date}} {{time}}"
173
+ }, g = {
174
+ date: d({
175
+ formats: c,
176
+ defaultWidth: "full"
177
+ }),
178
+ time: d({
179
+ formats: h,
180
+ defaultWidth: "full"
181
+ }),
182
+ dateTime: d({
183
+ formats: v,
184
+ defaultWidth: "full"
185
+ })
186
+ };
187
+ const f = g;
188
+ var P = {
189
+ lastWeek: function(e) {
190
+ switch (e.getUTCDay()) {
191
+ case 0:
192
+ return "'prošle nedelje u' p";
193
+ case 3:
194
+ return "'prošle srede u' p";
195
+ case 6:
196
+ return "'prošle subote u' p";
197
+ default:
198
+ return "'prošli' EEEE 'u' p";
199
+ }
200
+ },
201
+ yesterday: "'juče u' p",
202
+ today: "'danas u' p",
203
+ tomorrow: "'sutra u' p",
204
+ nextWeek: function(e) {
205
+ switch (e.getUTCDay()) {
206
+ case 0:
207
+ return "'sledeće nedelje u' p";
208
+ case 3:
209
+ return "'sledeću sredu u' p";
210
+ case 6:
211
+ return "'sledeću subotu u' p";
212
+ default:
213
+ return "'sledeći' EEEE 'u' p";
214
+ }
215
+ },
216
+ other: "P"
217
+ }, b = function(e, n, a, o) {
218
+ var t = P[e];
219
+ return typeof t == "function" ? t(n) : t;
220
+ };
221
+ const k = b;
222
+ var w = {
223
+ narrow: ["pr.n.e.", "AD"],
224
+ abbreviated: ["pr. Hr.", "po. Hr."],
225
+ wide: ["Pre Hrista", "Posle Hrista"]
226
+ }, j = {
227
+ narrow: ["1.", "2.", "3.", "4."],
228
+ abbreviated: ["1. kv.", "2. kv.", "3. kv.", "4. kv."],
229
+ wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
230
+ }, y = {
231
+ narrow: ["1.", "2.", "3.", "4.", "5.", "6.", "7.", "8.", "9.", "10.", "11.", "12."],
232
+ abbreviated: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec"],
233
+ wide: ["januar", "februar", "mart", "april", "maj", "jun", "jul", "avgust", "septembar", "oktobar", "novembar", "decembar"]
234
+ }, M = {
235
+ narrow: ["1.", "2.", "3.", "4.", "5.", "6.", "7.", "8.", "9.", "10.", "11.", "12."],
236
+ abbreviated: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec"],
237
+ wide: ["januar", "februar", "mart", "april", "maj", "jun", "jul", "avgust", "septembar", "oktobar", "novembar", "decembar"]
238
+ }, W = {
239
+ narrow: ["N", "P", "U", "S", "Č", "P", "S"],
240
+ short: ["ned", "pon", "uto", "sre", "čet", "pet", "sub"],
241
+ abbreviated: ["ned", "pon", "uto", "sre", "čet", "pet", "sub"],
242
+ wide: ["nedelja", "ponedeljak", "utorak", "sreda", "četvrtak", "petak", "subota"]
243
+ }, A = {
244
+ narrow: {
245
+ am: "AM",
246
+ pm: "PM",
247
+ midnight: "ponoć",
248
+ noon: "podne",
249
+ morning: "ujutru",
250
+ afternoon: "popodne",
251
+ evening: "uveče",
252
+ night: "noću"
253
+ },
254
+ abbreviated: {
255
+ am: "AM",
256
+ pm: "PM",
257
+ midnight: "ponoć",
258
+ noon: "podne",
259
+ morning: "ujutru",
260
+ afternoon: "popodne",
261
+ evening: "uveče",
262
+ night: "noću"
263
+ },
264
+ wide: {
265
+ am: "AM",
266
+ pm: "PM",
267
+ midnight: "ponoć",
268
+ noon: "podne",
269
+ morning: "ujutru",
270
+ afternoon: "posle podne",
271
+ evening: "uveče",
272
+ night: "noću"
273
+ }
274
+ }, H = {
275
+ narrow: {
276
+ am: "AM",
277
+ pm: "PM",
278
+ midnight: "ponoć",
279
+ noon: "podne",
280
+ morning: "ujutru",
281
+ afternoon: "popodne",
282
+ evening: "uveče",
283
+ night: "noću"
284
+ },
285
+ abbreviated: {
286
+ am: "AM",
287
+ pm: "PM",
288
+ midnight: "ponoć",
289
+ noon: "podne",
290
+ morning: "ujutru",
291
+ afternoon: "popodne",
292
+ evening: "uveče",
293
+ night: "noću"
294
+ },
295
+ wide: {
296
+ am: "AM",
297
+ pm: "PM",
298
+ midnight: "ponoć",
299
+ noon: "podne",
300
+ morning: "ujutru",
301
+ afternoon: "posle podne",
302
+ evening: "uveče",
303
+ night: "noću"
304
+ }
305
+ }, D = function(e, n) {
306
+ var a = Number(e);
307
+ return a + ".";
308
+ }, I = {
309
+ ordinalNumber: D,
310
+ era: i({
311
+ values: w,
312
+ defaultWidth: "wide"
313
+ }),
314
+ quarter: i({
315
+ values: j,
316
+ defaultWidth: "wide",
317
+ argumentCallback: function(e) {
318
+ return e - 1;
319
+ }
320
+ }),
321
+ month: i({
322
+ values: y,
323
+ defaultWidth: "wide",
324
+ formattingValues: M,
325
+ defaultFormattingWidth: "wide"
326
+ }),
327
+ day: i({
328
+ values: W,
329
+ defaultWidth: "wide"
330
+ }),
331
+ dayPeriod: i({
332
+ values: H,
333
+ defaultWidth: "wide",
334
+ formattingValues: A,
335
+ defaultFormattingWidth: "wide"
336
+ })
337
+ };
338
+ const E = I;
339
+ var x = /^(\d+)\./i, z = /\d+/i, F = {
340
+ narrow: /^(pr\.n\.e\.|AD)/i,
341
+ abbreviated: /^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,
342
+ wide: /^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i
343
+ }, S = {
344
+ any: [/^pr/i, /^(po|nova)/i]
345
+ }, V = {
346
+ narrow: /^[1234]/i,
347
+ abbreviated: /^[1234]\.\s?kv\.?/i,
348
+ wide: /^[1234]\. kvartal/i
349
+ }, C = {
350
+ any: [/1/i, /2/i, /3/i, /4/i]
351
+ }, L = {
352
+ narrow: /^(10|11|12|[123456789])\./i,
353
+ abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,
354
+ wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i
355
+ }, N = {
356
+ narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i],
357
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i]
358
+ }, X = {
359
+ narrow: /^[npusčc]/i,
360
+ short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,
361
+ abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,
362
+ wide: /^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i
363
+ }, T = {
364
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
365
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
366
+ }, R = {
367
+ any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i
368
+ }, $ = {
369
+ any: {
370
+ am: /^a/i,
371
+ pm: /^p/i,
372
+ midnight: /^pono/i,
373
+ noon: /^pod/i,
374
+ morning: /jutro/i,
375
+ afternoon: /(posle\s|po)+podne/i,
376
+ evening: /(uvece|uveče)/i,
377
+ night: /(nocu|noću)/i
378
+ }
379
+ }, Y = {
380
+ ordinalNumber: s({
381
+ matchPattern: x,
382
+ parsePattern: z,
383
+ valueCallback: function(e) {
384
+ return parseInt(e, 10);
385
+ }
386
+ }),
387
+ era: u({
388
+ matchPatterns: F,
389
+ defaultMatchWidth: "wide",
390
+ parsePatterns: S,
391
+ defaultParseWidth: "any"
392
+ }),
393
+ quarter: u({
394
+ matchPatterns: V,
395
+ defaultMatchWidth: "wide",
396
+ parsePatterns: C,
397
+ defaultParseWidth: "any",
398
+ valueCallback: function(e) {
399
+ return e + 1;
400
+ }
401
+ }),
402
+ month: u({
403
+ matchPatterns: L,
404
+ defaultMatchWidth: "wide",
405
+ parsePatterns: N,
406
+ defaultParseWidth: "any"
407
+ }),
408
+ day: u({
409
+ matchPatterns: X,
410
+ defaultMatchWidth: "wide",
411
+ parsePatterns: T,
412
+ defaultParseWidth: "any"
413
+ }),
414
+ dayPeriod: u({
415
+ matchPatterns: R,
416
+ defaultMatchWidth: "any",
417
+ parsePatterns: $,
418
+ defaultParseWidth: "any"
419
+ })
420
+ };
421
+ const q = Y;
422
+ var re = {
423
+ code: "sr-Latn",
424
+ formatDistance: p,
425
+ formatLong: f,
426
+ formatRelative: k,
427
+ localize: E,
428
+ match: q,
429
+ options: {
430
+ weekStartsOn: 1,
431
+ firstWeekContainsDate: 1
432
+ }
433
+ };
434
+ export {
435
+ re as default
436
+ };