@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,340 @@
1
+ import { a as m, b as n, c as s, d as i } 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 u = {
16
+ lessThanXSeconds: {
17
+ one: "menos dun segundo",
18
+ other: "menos de {{count}} segundos"
19
+ },
20
+ xSeconds: {
21
+ one: "1 segundo",
22
+ other: "{{count}} segundos"
23
+ },
24
+ halfAMinute: "medio minuto",
25
+ lessThanXMinutes: {
26
+ one: "menos dun minuto",
27
+ other: "menos de {{count}} minutos"
28
+ },
29
+ xMinutes: {
30
+ one: "1 minuto",
31
+ other: "{{count}} minutos"
32
+ },
33
+ aboutXHours: {
34
+ one: "arredor dunha hora",
35
+ other: "arredor de {{count}} horas"
36
+ },
37
+ xHours: {
38
+ one: "1 hora",
39
+ other: "{{count}} horas"
40
+ },
41
+ xDays: {
42
+ one: "1 día",
43
+ other: "{{count}} días"
44
+ },
45
+ aboutXWeeks: {
46
+ one: "arredor dunha semana",
47
+ other: "arredor de {{count}} semanas"
48
+ },
49
+ xWeeks: {
50
+ one: "1 semana",
51
+ other: "{{count}} semanas"
52
+ },
53
+ aboutXMonths: {
54
+ one: "arredor de 1 mes",
55
+ other: "arredor de {{count}} meses"
56
+ },
57
+ xMonths: {
58
+ one: "1 mes",
59
+ other: "{{count}} meses"
60
+ },
61
+ aboutXYears: {
62
+ one: "arredor dun ano",
63
+ other: "arredor de {{count}} anos"
64
+ },
65
+ xYears: {
66
+ one: "1 ano",
67
+ other: "{{count}} anos"
68
+ },
69
+ overXYears: {
70
+ one: "máis dun ano",
71
+ other: "máis de {{count}} anos"
72
+ },
73
+ almostXYears: {
74
+ one: "case un ano",
75
+ other: "case {{count}} anos"
76
+ }
77
+ }, l = function(a, o, e) {
78
+ var t, d = u[a];
79
+ return typeof d == "string" ? t = d : o === 1 ? t = d.one : t = d.other.replace("{{count}}", String(o)), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "en " + t : "hai " + t : t;
80
+ };
81
+ const c = l;
82
+ var h = {
83
+ full: "EEEE, d 'de' MMMM y",
84
+ long: "d 'de' MMMM y",
85
+ medium: "d MMM y",
86
+ short: "dd/MM/y"
87
+ }, v = {
88
+ full: "HH:mm:ss zzzz",
89
+ long: "HH:mm:ss z",
90
+ medium: "HH:mm:ss",
91
+ short: "HH:mm"
92
+ }, f = {
93
+ full: "{{date}} 'ás' {{time}}",
94
+ long: "{{date}} 'ás' {{time}}",
95
+ medium: "{{date}}, {{time}}",
96
+ short: "{{date}}, {{time}}"
97
+ }, b = {
98
+ date: m({
99
+ formats: h,
100
+ defaultWidth: "full"
101
+ }),
102
+ time: m({
103
+ formats: v,
104
+ defaultWidth: "full"
105
+ }),
106
+ dateTime: m({
107
+ formats: f,
108
+ defaultWidth: "full"
109
+ })
110
+ };
111
+ const p = b;
112
+ var g = {
113
+ lastWeek: "'o' eeee 'pasado á' LT",
114
+ yesterday: "'onte á' p",
115
+ today: "'hoxe á' p",
116
+ tomorrow: "'mañá á' p",
117
+ nextWeek: "eeee 'á' p",
118
+ other: "P"
119
+ }, x = {
120
+ lastWeek: "'o' eeee 'pasado ás' p",
121
+ yesterday: "'onte ás' p",
122
+ today: "'hoxe ás' p",
123
+ tomorrow: "'mañá ás' p",
124
+ nextWeek: "eeee 'ás' p",
125
+ other: "P"
126
+ }, P = function(a, o, e, t) {
127
+ return o.getUTCHours() !== 1 ? x[a] : g[a];
128
+ };
129
+ const w = P;
130
+ var y = {
131
+ narrow: ["AC", "DC"],
132
+ abbreviated: ["AC", "DC"],
133
+ wide: ["antes de cristo", "despois de cristo"]
134
+ }, M = {
135
+ narrow: ["1", "2", "3", "4"],
136
+ abbreviated: ["T1", "T2", "T3", "T4"],
137
+ wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
138
+ }, W = {
139
+ narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
140
+ abbreviated: ["xan", "feb", "mar", "abr", "mai", "xun", "xul", "ago", "set", "out", "nov", "dec"],
141
+ wide: ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro"]
142
+ }, D = {
143
+ narrow: ["d", "l", "m", "m", "j", "v", "s"],
144
+ short: ["do", "lu", "ma", "me", "xo", "ve", "sa"],
145
+ abbreviated: ["dom", "lun", "mar", "mer", "xov", "ven", "sab"],
146
+ wide: ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"]
147
+ }, k = {
148
+ narrow: {
149
+ am: "a",
150
+ pm: "p",
151
+ midnight: "mn",
152
+ noon: "md",
153
+ morning: "mañá",
154
+ afternoon: "tarde",
155
+ evening: "tarde",
156
+ night: "noite"
157
+ },
158
+ abbreviated: {
159
+ am: "AM",
160
+ pm: "PM",
161
+ midnight: "medianoite",
162
+ noon: "mediodía",
163
+ morning: "mañá",
164
+ afternoon: "tarde",
165
+ evening: "tardiña",
166
+ night: "noite"
167
+ },
168
+ wide: {
169
+ am: "a.m.",
170
+ pm: "p.m.",
171
+ midnight: "medianoite",
172
+ noon: "mediodía",
173
+ morning: "mañá",
174
+ afternoon: "tarde",
175
+ evening: "tardiña",
176
+ night: "noite"
177
+ }
178
+ }, C = {
179
+ narrow: {
180
+ am: "a",
181
+ pm: "p",
182
+ midnight: "mn",
183
+ noon: "md",
184
+ morning: "da mañá",
185
+ afternoon: "da tarde",
186
+ evening: "da tardiña",
187
+ night: "da noite"
188
+ },
189
+ abbreviated: {
190
+ am: "AM",
191
+ pm: "PM",
192
+ midnight: "medianoite",
193
+ noon: "mediodía",
194
+ morning: "da mañá",
195
+ afternoon: "da tarde",
196
+ evening: "da tardiña",
197
+ night: "da noite"
198
+ },
199
+ wide: {
200
+ am: "a.m.",
201
+ pm: "p.m.",
202
+ midnight: "medianoite",
203
+ noon: "mediodía",
204
+ morning: "da mañá",
205
+ afternoon: "da tarde",
206
+ evening: "da tardiña",
207
+ night: "da noite"
208
+ }
209
+ }, z = function(a, o) {
210
+ var e = Number(a);
211
+ return e + "º";
212
+ }, H = {
213
+ ordinalNumber: z,
214
+ era: n({
215
+ values: y,
216
+ defaultWidth: "wide"
217
+ }),
218
+ quarter: n({
219
+ values: M,
220
+ defaultWidth: "wide",
221
+ argumentCallback: function(a) {
222
+ return a - 1;
223
+ }
224
+ }),
225
+ month: n({
226
+ values: W,
227
+ defaultWidth: "wide"
228
+ }),
229
+ day: n({
230
+ values: D,
231
+ defaultWidth: "wide"
232
+ }),
233
+ dayPeriod: n({
234
+ values: k,
235
+ defaultWidth: "wide",
236
+ formattingValues: C,
237
+ defaultFormattingWidth: "wide"
238
+ })
239
+ };
240
+ const T = H;
241
+ var F = /^(\d+)(º)?/i, L = /\d+/i, V = {
242
+ narrow: /^(ac|dc|a|d)/i,
243
+ abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
244
+ wide: /^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i
245
+ }, X = {
246
+ any: [/^ac/i, /^dc/i],
247
+ wide: [/^(antes de cristo|antes da era com[uú]n)/i, /^(despois de cristo|era com[uú]n)/i]
248
+ }, N = {
249
+ narrow: /^[1234]/i,
250
+ abbreviated: /^T[1234]/i,
251
+ wide: /^[1234](º)? trimestre/i
252
+ }, E = {
253
+ any: [/1/i, /2/i, /3/i, /4/i]
254
+ }, R = {
255
+ narrow: /^[xfmasond]/i,
256
+ abbreviated: /^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,
257
+ wide: /^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i
258
+ }, A = {
259
+ narrow: [/^x/i, /^f/i, /^m/i, /^a/i, /^m/i, /^x/i, /^x/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
260
+ any: [/^xan/i, /^feb/i, /^mar/i, /^abr/i, /^mai/i, /^xun/i, /^xul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dec/i]
261
+ }, S = {
262
+ narrow: /^[dlmxvs]/i,
263
+ short: /^(do|lu|ma|me|xo|ve|sa)/i,
264
+ abbreviated: /^(dom|lun|mar|mer|xov|ven|sab)/i,
265
+ wide: /^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i
266
+ }, $ = {
267
+ narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^x/i, /^v/i, /^s/i],
268
+ any: [/^do/i, /^lu/i, /^ma/i, /^me/i, /^xo/i, /^ve/i, /^sa/i]
269
+ }, Y = {
270
+ narrow: /^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,
271
+ any: /^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i
272
+ }, j = {
273
+ any: {
274
+ am: /^a/i,
275
+ pm: /^p/i,
276
+ midnight: /^mn/i,
277
+ noon: /^md/i,
278
+ morning: /mañ[aá]/i,
279
+ afternoon: /tarde/i,
280
+ evening: /tardiña/i,
281
+ night: /noite/i
282
+ }
283
+ }, q = {
284
+ ordinalNumber: s({
285
+ matchPattern: F,
286
+ parsePattern: L,
287
+ valueCallback: function(a) {
288
+ return parseInt(a, 10);
289
+ }
290
+ }),
291
+ era: i({
292
+ matchPatterns: V,
293
+ defaultMatchWidth: "wide",
294
+ parsePatterns: X,
295
+ defaultParseWidth: "any"
296
+ }),
297
+ quarter: i({
298
+ matchPatterns: N,
299
+ defaultMatchWidth: "wide",
300
+ parsePatterns: E,
301
+ defaultParseWidth: "any",
302
+ valueCallback: function(a) {
303
+ return a + 1;
304
+ }
305
+ }),
306
+ month: i({
307
+ matchPatterns: R,
308
+ defaultMatchWidth: "wide",
309
+ parsePatterns: A,
310
+ defaultParseWidth: "any"
311
+ }),
312
+ day: i({
313
+ matchPatterns: S,
314
+ defaultMatchWidth: "wide",
315
+ parsePatterns: $,
316
+ defaultParseWidth: "any"
317
+ }),
318
+ dayPeriod: i({
319
+ matchPatterns: Y,
320
+ defaultMatchWidth: "any",
321
+ parsePatterns: j,
322
+ defaultParseWidth: "any"
323
+ })
324
+ };
325
+ const O = q;
326
+ var na = {
327
+ code: "gl",
328
+ formatDistance: c,
329
+ formatLong: p,
330
+ formatRelative: w,
331
+ localize: T,
332
+ match: O,
333
+ options: {
334
+ weekStartsOn: 1,
335
+ firstWeekContainsDate: 1
336
+ }
337
+ };
338
+ export {
339
+ na as default
340
+ };