@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,450 @@
1
+ import { a as u, b as r, c as p, d as s } from "./index-51cf15b2.js";
2
+ import { i as w } 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
+ var f = {
17
+ lessThanXSeconds: {
18
+ one: {
19
+ regular: "mniej niż sekunda",
20
+ past: "mniej niż sekundę",
21
+ future: "mniej niż sekundę"
22
+ },
23
+ twoFour: "mniej niż {{count}} sekundy",
24
+ other: "mniej niż {{count}} sekund"
25
+ },
26
+ xSeconds: {
27
+ one: {
28
+ regular: "sekunda",
29
+ past: "sekundę",
30
+ future: "sekundę"
31
+ },
32
+ twoFour: "{{count}} sekundy",
33
+ other: "{{count}} sekund"
34
+ },
35
+ halfAMinute: {
36
+ one: "pół minuty",
37
+ twoFour: "pół minuty",
38
+ other: "pół minuty"
39
+ },
40
+ lessThanXMinutes: {
41
+ one: {
42
+ regular: "mniej niż minuta",
43
+ past: "mniej niż minutę",
44
+ future: "mniej niż minutę"
45
+ },
46
+ twoFour: "mniej niż {{count}} minuty",
47
+ other: "mniej niż {{count}} minut"
48
+ },
49
+ xMinutes: {
50
+ one: {
51
+ regular: "minuta",
52
+ past: "minutę",
53
+ future: "minutę"
54
+ },
55
+ twoFour: "{{count}} minuty",
56
+ other: "{{count}} minut"
57
+ },
58
+ aboutXHours: {
59
+ one: {
60
+ regular: "około godziny",
61
+ past: "około godziny",
62
+ future: "około godzinę"
63
+ },
64
+ twoFour: "około {{count}} godziny",
65
+ other: "około {{count}} godzin"
66
+ },
67
+ xHours: {
68
+ one: {
69
+ regular: "godzina",
70
+ past: "godzinę",
71
+ future: "godzinę"
72
+ },
73
+ twoFour: "{{count}} godziny",
74
+ other: "{{count}} godzin"
75
+ },
76
+ xDays: {
77
+ one: {
78
+ regular: "dzień",
79
+ past: "dzień",
80
+ future: "1 dzień"
81
+ },
82
+ twoFour: "{{count}} dni",
83
+ other: "{{count}} dni"
84
+ },
85
+ aboutXWeeks: {
86
+ one: "około tygodnia",
87
+ twoFour: "około {{count}} tygodni",
88
+ other: "około {{count}} tygodni"
89
+ },
90
+ xWeeks: {
91
+ one: "tydzień",
92
+ twoFour: "{{count}} tygodnie",
93
+ other: "{{count}} tygodni"
94
+ },
95
+ aboutXMonths: {
96
+ one: "około miesiąc",
97
+ twoFour: "około {{count}} miesiące",
98
+ other: "około {{count}} miesięcy"
99
+ },
100
+ xMonths: {
101
+ one: "miesiąc",
102
+ twoFour: "{{count}} miesiące",
103
+ other: "{{count}} miesięcy"
104
+ },
105
+ aboutXYears: {
106
+ one: "około rok",
107
+ twoFour: "około {{count}} lata",
108
+ other: "około {{count}} lat"
109
+ },
110
+ xYears: {
111
+ one: "rok",
112
+ twoFour: "{{count}} lata",
113
+ other: "{{count}} lat"
114
+ },
115
+ overXYears: {
116
+ one: "ponad rok",
117
+ twoFour: "ponad {{count}} lata",
118
+ other: "ponad {{count}} lat"
119
+ },
120
+ almostXYears: {
121
+ one: "prawie rok",
122
+ twoFour: "prawie {{count}} lata",
123
+ other: "prawie {{count}} lat"
124
+ }
125
+ };
126
+ function h(a, e) {
127
+ if (e === 1)
128
+ return a.one;
129
+ var t = e % 100;
130
+ if (t <= 20 && t > 10)
131
+ return a.other;
132
+ var i = t % 10;
133
+ return i >= 2 && i <= 4 ? a.twoFour : a.other;
134
+ }
135
+ function d(a, e, t) {
136
+ var i = h(a, e), n = typeof i == "string" ? i : i[t];
137
+ return n.replace("{{count}}", String(e));
138
+ }
139
+ var g = function(e, t, i) {
140
+ var n = f[e];
141
+ return i != null && i.addSuffix ? i.comparison && i.comparison > 0 ? "za " + d(n, t, "future") : d(n, t, "past") + " temu" : d(n, t, "regular");
142
+ };
143
+ const v = g;
144
+ var z = {
145
+ full: "EEEE, do MMMM y",
146
+ long: "do MMMM y",
147
+ medium: "do MMM y",
148
+ short: "dd.MM.y"
149
+ }, k = {
150
+ full: "HH:mm:ss zzzz",
151
+ long: "HH:mm:ss z",
152
+ medium: "HH:mm:ss",
153
+ short: "HH:mm"
154
+ }, y = {
155
+ full: "{{date}} {{time}}",
156
+ long: "{{date}} {{time}}",
157
+ medium: "{{date}}, {{time}}",
158
+ short: "{{date}}, {{time}}"
159
+ }, b = {
160
+ date: u({
161
+ formats: z,
162
+ defaultWidth: "full"
163
+ }),
164
+ time: u({
165
+ formats: k,
166
+ defaultWidth: "full"
167
+ }),
168
+ dateTime: u({
169
+ formats: y,
170
+ defaultWidth: "full"
171
+ })
172
+ };
173
+ const P = b;
174
+ var M = {
175
+ masculine: "ostatni",
176
+ feminine: "ostatnia"
177
+ }, I = {
178
+ masculine: "ten",
179
+ feminine: "ta"
180
+ }, W = {
181
+ masculine: "następny",
182
+ feminine: "następna"
183
+ }, F = {
184
+ 0: "feminine",
185
+ 1: "masculine",
186
+ 2: "masculine",
187
+ 3: "feminine",
188
+ 4: "masculine",
189
+ 5: "masculine",
190
+ 6: "feminine"
191
+ };
192
+ function m(a, e, t, i) {
193
+ var n;
194
+ if (w(e, t, i))
195
+ n = I;
196
+ else if (a === "lastWeek")
197
+ n = M;
198
+ else if (a === "nextWeek")
199
+ n = W;
200
+ else
201
+ throw new Error("Cannot determine adjectives for token ".concat(a));
202
+ var o = e.getUTCDay(), l = F[o], c = n[l];
203
+ return "'".concat(c, "' eeee 'o' p");
204
+ }
205
+ var j = {
206
+ lastWeek: m,
207
+ yesterday: "'wczoraj o' p",
208
+ today: "'dzisiaj o' p",
209
+ tomorrow: "'jutro o' p",
210
+ nextWeek: m,
211
+ other: "P"
212
+ }, V = function(e, t, i, n) {
213
+ var o = j[e];
214
+ return typeof o == "function" ? o(e, t, i, n) : o;
215
+ };
216
+ const x = V;
217
+ var C = {
218
+ narrow: ["p.n.e.", "n.e."],
219
+ abbreviated: ["p.n.e.", "n.e."],
220
+ wide: ["przed naszą erą", "naszej ery"]
221
+ }, D = {
222
+ narrow: ["1", "2", "3", "4"],
223
+ abbreviated: ["I kw.", "II kw.", "III kw.", "IV kw."],
224
+ wide: ["I kwartał", "II kwartał", "III kwartał", "IV kwartał"]
225
+ }, L = {
226
+ narrow: ["S", "L", "M", "K", "M", "C", "L", "S", "W", "P", "L", "G"],
227
+ abbreviated: ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru"],
228
+ wide: ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"]
229
+ }, H = {
230
+ narrow: ["s", "l", "m", "k", "m", "c", "l", "s", "w", "p", "l", "g"],
231
+ abbreviated: ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru"],
232
+ wide: ["stycznia", "lutego", "marca", "kwietnia", "maja", "czerwca", "lipca", "sierpnia", "września", "października", "listopada", "grudnia"]
233
+ }, S = {
234
+ narrow: ["N", "P", "W", "Ś", "C", "P", "S"],
235
+ short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"],
236
+ abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."],
237
+ wide: ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"]
238
+ }, T = {
239
+ narrow: ["n", "p", "w", "ś", "c", "p", "s"],
240
+ short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"],
241
+ abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."],
242
+ wide: ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"]
243
+ }, $ = {
244
+ narrow: {
245
+ am: "a",
246
+ pm: "p",
247
+ midnight: "półn.",
248
+ noon: "poł",
249
+ morning: "rano",
250
+ afternoon: "popoł.",
251
+ evening: "wiecz.",
252
+ night: "noc"
253
+ },
254
+ abbreviated: {
255
+ am: "AM",
256
+ pm: "PM",
257
+ midnight: "północ",
258
+ noon: "południe",
259
+ morning: "rano",
260
+ afternoon: "popołudnie",
261
+ evening: "wieczór",
262
+ night: "noc"
263
+ },
264
+ wide: {
265
+ am: "AM",
266
+ pm: "PM",
267
+ midnight: "północ",
268
+ noon: "południe",
269
+ morning: "rano",
270
+ afternoon: "popołudnie",
271
+ evening: "wieczór",
272
+ night: "noc"
273
+ }
274
+ }, N = {
275
+ narrow: {
276
+ am: "a",
277
+ pm: "p",
278
+ midnight: "o półn.",
279
+ noon: "w poł.",
280
+ morning: "rano",
281
+ afternoon: "po poł.",
282
+ evening: "wiecz.",
283
+ night: "w nocy"
284
+ },
285
+ abbreviated: {
286
+ am: "AM",
287
+ pm: "PM",
288
+ midnight: "o północy",
289
+ noon: "w południe",
290
+ morning: "rano",
291
+ afternoon: "po południu",
292
+ evening: "wieczorem",
293
+ night: "w nocy"
294
+ },
295
+ wide: {
296
+ am: "AM",
297
+ pm: "PM",
298
+ midnight: "o północy",
299
+ noon: "w południe",
300
+ morning: "rano",
301
+ afternoon: "po południu",
302
+ evening: "wieczorem",
303
+ night: "w nocy"
304
+ }
305
+ }, X = function(e, t) {
306
+ return String(e);
307
+ }, A = {
308
+ ordinalNumber: X,
309
+ era: r({
310
+ values: C,
311
+ defaultWidth: "wide"
312
+ }),
313
+ quarter: r({
314
+ values: D,
315
+ defaultWidth: "wide",
316
+ argumentCallback: function(e) {
317
+ return e - 1;
318
+ }
319
+ }),
320
+ month: r({
321
+ values: L,
322
+ defaultWidth: "wide",
323
+ formattingValues: H,
324
+ defaultFormattingWidth: "wide"
325
+ }),
326
+ day: r({
327
+ values: S,
328
+ defaultWidth: "wide",
329
+ formattingValues: T,
330
+ defaultFormattingWidth: "wide"
331
+ }),
332
+ dayPeriod: r({
333
+ values: $,
334
+ defaultWidth: "wide",
335
+ formattingValues: N,
336
+ defaultFormattingWidth: "wide"
337
+ })
338
+ };
339
+ const E = A;
340
+ var G = /^(\d+)?/i, R = /\d+/i, Y = {
341
+ narrow: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,
342
+ abbreviated: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,
343
+ wide: /^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i
344
+ }, q = {
345
+ any: [/^p/i, /^n/i]
346
+ }, O = {
347
+ narrow: /^[1234]/i,
348
+ abbreviated: /^(I|II|III|IV)\s*kw\.?/i,
349
+ wide: /^(I|II|III|IV)\s*kwarta(ł|l)/i
350
+ }, Q = {
351
+ narrow: [/1/i, /2/i, /3/i, /4/i],
352
+ any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i]
353
+ }, U = {
354
+ narrow: /^[slmkcwpg]/i,
355
+ abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,
356
+ wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i
357
+ }, K = {
358
+ narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i],
359
+ any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i]
360
+ }, _ = {
361
+ narrow: /^[npwścs]/i,
362
+ short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,
363
+ abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,
364
+ wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i
365
+ }, B = {
366
+ narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i],
367
+ abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i],
368
+ any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i]
369
+ }, J = {
370
+ narrow: /^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,
371
+ any: /^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i
372
+ }, Z = {
373
+ narrow: {
374
+ am: /^a$/i,
375
+ pm: /^p$/i,
376
+ midnight: /pó(ł|l)n/i,
377
+ noon: /po(ł|l)/i,
378
+ morning: /rano/i,
379
+ afternoon: /po\s*po(ł|l)/i,
380
+ evening: /wiecz/i,
381
+ night: /noc/i
382
+ },
383
+ any: {
384
+ am: /^am/i,
385
+ pm: /^pm/i,
386
+ midnight: /pó(ł|l)n/i,
387
+ noon: /po(ł|l)/i,
388
+ morning: /rano/i,
389
+ afternoon: /po\s*po(ł|l)/i,
390
+ evening: /wiecz/i,
391
+ night: /noc/i
392
+ }
393
+ }, ee = {
394
+ ordinalNumber: p({
395
+ matchPattern: G,
396
+ parsePattern: R,
397
+ valueCallback: function(e) {
398
+ return parseInt(e, 10);
399
+ }
400
+ }),
401
+ era: s({
402
+ matchPatterns: Y,
403
+ defaultMatchWidth: "wide",
404
+ parsePatterns: q,
405
+ defaultParseWidth: "any"
406
+ }),
407
+ quarter: s({
408
+ matchPatterns: O,
409
+ defaultMatchWidth: "wide",
410
+ parsePatterns: Q,
411
+ defaultParseWidth: "any",
412
+ valueCallback: function(e) {
413
+ return e + 1;
414
+ }
415
+ }),
416
+ month: s({
417
+ matchPatterns: U,
418
+ defaultMatchWidth: "wide",
419
+ parsePatterns: K,
420
+ defaultParseWidth: "any"
421
+ }),
422
+ day: s({
423
+ matchPatterns: _,
424
+ defaultMatchWidth: "wide",
425
+ parsePatterns: B,
426
+ defaultParseWidth: "any"
427
+ }),
428
+ dayPeriod: s({
429
+ matchPatterns: J,
430
+ defaultMatchWidth: "any",
431
+ parsePatterns: Z,
432
+ defaultParseWidth: "any"
433
+ })
434
+ };
435
+ const ae = ee;
436
+ var ge = {
437
+ code: "pl",
438
+ formatDistance: v,
439
+ formatLong: P,
440
+ formatRelative: x,
441
+ localize: E,
442
+ match: ae,
443
+ options: {
444
+ weekStartsOn: 1,
445
+ firstWeekContainsDate: 4
446
+ }
447
+ };
448
+ export {
449
+ ge as default
450
+ };