@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,337 @@
1
+ import { a as s, b as o, c as m, 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: "1초 미만",
18
+ other: "{{count}}초 미만"
19
+ },
20
+ xSeconds: {
21
+ one: "1초",
22
+ other: "{{count}}초"
23
+ },
24
+ halfAMinute: "30초",
25
+ lessThanXMinutes: {
26
+ one: "1분 미만",
27
+ other: "{{count}}분 미만"
28
+ },
29
+ xMinutes: {
30
+ one: "1분",
31
+ other: "{{count}}분"
32
+ },
33
+ aboutXHours: {
34
+ one: "약 1시간",
35
+ other: "약 {{count}}시간"
36
+ },
37
+ xHours: {
38
+ one: "1시간",
39
+ other: "{{count}}시간"
40
+ },
41
+ xDays: {
42
+ one: "1일",
43
+ other: "{{count}}일"
44
+ },
45
+ aboutXWeeks: {
46
+ one: "약 1주",
47
+ other: "약 {{count}}주"
48
+ },
49
+ xWeeks: {
50
+ one: "1주",
51
+ other: "{{count}}주"
52
+ },
53
+ aboutXMonths: {
54
+ one: "약 1개월",
55
+ other: "약 {{count}}개월"
56
+ },
57
+ xMonths: {
58
+ one: "1개월",
59
+ other: "{{count}}개월"
60
+ },
61
+ aboutXYears: {
62
+ one: "약 1년",
63
+ other: "약 {{count}}년"
64
+ },
65
+ xYears: {
66
+ one: "1년",
67
+ other: "{{count}}년"
68
+ },
69
+ overXYears: {
70
+ one: "1년 이상",
71
+ other: "{{count}}년 이상"
72
+ },
73
+ almostXYears: {
74
+ one: "거의 1년",
75
+ other: "거의 {{count}}년"
76
+ }
77
+ }, l = function(a, r, e) {
78
+ var t, d = u[a];
79
+ return typeof d == "string" ? t = d : r === 1 ? t = d.one : t = d.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? t + " 후" : t + " 전" : t;
80
+ };
81
+ const h = l;
82
+ var c = {
83
+ full: "y년 M월 d일 EEEE",
84
+ long: "y년 M월 d일",
85
+ medium: "y.MM.dd",
86
+ short: "y.MM.dd"
87
+ }, v = {
88
+ full: "a H시 mm분 ss초 zzzz",
89
+ long: "a H:mm:ss z",
90
+ medium: "HH:mm:ss",
91
+ short: "HH:mm"
92
+ }, f = {
93
+ full: "{{date}} {{time}}",
94
+ long: "{{date}} {{time}}",
95
+ medium: "{{date}} {{time}}",
96
+ short: "{{date}} {{time}}"
97
+ }, b = {
98
+ date: s({
99
+ formats: c,
100
+ defaultWidth: "full"
101
+ }),
102
+ time: s({
103
+ formats: v,
104
+ defaultWidth: "full"
105
+ }),
106
+ dateTime: s({
107
+ formats: f,
108
+ defaultWidth: "full"
109
+ })
110
+ };
111
+ const g = b;
112
+ var p = {
113
+ lastWeek: "'지난' eeee p",
114
+ yesterday: "'어제' p",
115
+ today: "'오늘' p",
116
+ tomorrow: "'내일' p",
117
+ nextWeek: "'다음' eeee p",
118
+ other: "P"
119
+ }, P = function(a, r, e, t) {
120
+ return p[a];
121
+ };
122
+ const w = P;
123
+ var y = {
124
+ narrow: ["BC", "AD"],
125
+ abbreviated: ["BC", "AD"],
126
+ wide: ["기원전", "서기"]
127
+ }, W = {
128
+ narrow: ["1", "2", "3", "4"],
129
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
130
+ wide: ["1분기", "2분기", "3분기", "4분기"]
131
+ }, M = {
132
+ narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
133
+ abbreviated: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
134
+ wide: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
135
+ }, D = {
136
+ narrow: ["일", "월", "화", "수", "목", "금", "토"],
137
+ short: ["일", "월", "화", "수", "목", "금", "토"],
138
+ abbreviated: ["일", "월", "화", "수", "목", "금", "토"],
139
+ wide: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"]
140
+ }, k = {
141
+ narrow: {
142
+ am: "오전",
143
+ pm: "오후",
144
+ midnight: "자정",
145
+ noon: "정오",
146
+ morning: "아침",
147
+ afternoon: "오후",
148
+ evening: "저녁",
149
+ night: "밤"
150
+ },
151
+ abbreviated: {
152
+ am: "오전",
153
+ pm: "오후",
154
+ midnight: "자정",
155
+ noon: "정오",
156
+ morning: "아침",
157
+ afternoon: "오후",
158
+ evening: "저녁",
159
+ night: "밤"
160
+ },
161
+ wide: {
162
+ am: "오전",
163
+ pm: "오후",
164
+ midnight: "자정",
165
+ noon: "정오",
166
+ morning: "아침",
167
+ afternoon: "오후",
168
+ evening: "저녁",
169
+ night: "밤"
170
+ }
171
+ }, x = {
172
+ narrow: {
173
+ am: "오전",
174
+ pm: "오후",
175
+ midnight: "자정",
176
+ noon: "정오",
177
+ morning: "아침",
178
+ afternoon: "오후",
179
+ evening: "저녁",
180
+ night: "밤"
181
+ },
182
+ abbreviated: {
183
+ am: "오전",
184
+ pm: "오후",
185
+ midnight: "자정",
186
+ noon: "정오",
187
+ morning: "아침",
188
+ afternoon: "오후",
189
+ evening: "저녁",
190
+ night: "밤"
191
+ },
192
+ wide: {
193
+ am: "오전",
194
+ pm: "오후",
195
+ midnight: "자정",
196
+ noon: "정오",
197
+ morning: "아침",
198
+ afternoon: "오후",
199
+ evening: "저녁",
200
+ night: "밤"
201
+ }
202
+ }, z = function(a, r) {
203
+ var e = Number(a), t = String(r == null ? void 0 : r.unit);
204
+ switch (t) {
205
+ case "minute":
206
+ case "second":
207
+ return String(e);
208
+ case "date":
209
+ return e + "일";
210
+ default:
211
+ return e + "번째";
212
+ }
213
+ }, C = {
214
+ ordinalNumber: z,
215
+ era: o({
216
+ values: y,
217
+ defaultWidth: "wide"
218
+ }),
219
+ quarter: o({
220
+ values: W,
221
+ defaultWidth: "wide",
222
+ argumentCallback: function(a) {
223
+ return a - 1;
224
+ }
225
+ }),
226
+ month: o({
227
+ values: M,
228
+ defaultWidth: "wide"
229
+ }),
230
+ day: o({
231
+ values: D,
232
+ defaultWidth: "wide"
233
+ }),
234
+ dayPeriod: o({
235
+ values: k,
236
+ defaultWidth: "wide",
237
+ formattingValues: x,
238
+ defaultFormattingWidth: "wide"
239
+ })
240
+ };
241
+ const F = C;
242
+ var H = /^(\d+)(일|번째)?/i, V = /\d+/i, X = {
243
+ narrow: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
244
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
245
+ wide: /^(기원전|서기)/i
246
+ }, L = {
247
+ any: [/^(bc|기원전)/i, /^(ad|서기)/i]
248
+ }, N = {
249
+ narrow: /^[1234]/i,
250
+ abbreviated: /^q[1234]/i,
251
+ wide: /^[1234]사?분기/i
252
+ }, S = {
253
+ any: [/1/i, /2/i, /3/i, /4/i]
254
+ }, E = {
255
+ narrow: /^(1[012]|[123456789])/,
256
+ abbreviated: /^(1[012]|[123456789])월/i,
257
+ wide: /^(1[012]|[123456789])월/i
258
+ }, Q = {
259
+ any: [/^1월?$/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]
260
+ }, $ = {
261
+ narrow: /^[일월화수목금토]/,
262
+ short: /^[일월화수목금토]/,
263
+ abbreviated: /^[일월화수목금토]/,
264
+ wide: /^[일월화수목금토]요일/
265
+ }, R = {
266
+ any: [/^일/, /^월/, /^화/, /^수/, /^목/, /^금/, /^토/]
267
+ }, q = {
268
+ any: /^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i
269
+ }, T = {
270
+ any: {
271
+ am: /^(am|오전)/i,
272
+ pm: /^(pm|오후)/i,
273
+ midnight: /^자정/i,
274
+ noon: /^정오/i,
275
+ morning: /^아침/i,
276
+ afternoon: /^오후/i,
277
+ evening: /^저녁/i,
278
+ night: /^밤/i
279
+ }
280
+ }, Y = {
281
+ ordinalNumber: m({
282
+ matchPattern: H,
283
+ parsePattern: V,
284
+ valueCallback: function(a) {
285
+ return parseInt(a, 10);
286
+ }
287
+ }),
288
+ era: i({
289
+ matchPatterns: X,
290
+ defaultMatchWidth: "wide",
291
+ parsePatterns: L,
292
+ defaultParseWidth: "any"
293
+ }),
294
+ quarter: i({
295
+ matchPatterns: N,
296
+ defaultMatchWidth: "wide",
297
+ parsePatterns: S,
298
+ defaultParseWidth: "any",
299
+ valueCallback: function(a) {
300
+ return a + 1;
301
+ }
302
+ }),
303
+ month: i({
304
+ matchPatterns: E,
305
+ defaultMatchWidth: "wide",
306
+ parsePatterns: Q,
307
+ defaultParseWidth: "any"
308
+ }),
309
+ day: i({
310
+ matchPatterns: $,
311
+ defaultMatchWidth: "wide",
312
+ parsePatterns: R,
313
+ defaultParseWidth: "any"
314
+ }),
315
+ dayPeriod: i({
316
+ matchPatterns: q,
317
+ defaultMatchWidth: "any",
318
+ parsePatterns: T,
319
+ defaultParseWidth: "any"
320
+ })
321
+ };
322
+ const A = Y;
323
+ var na = {
324
+ code: "ko",
325
+ formatDistance: h,
326
+ formatLong: g,
327
+ formatRelative: w,
328
+ localize: F,
329
+ match: A,
330
+ options: {
331
+ weekStartsOn: 0,
332
+ firstWeekContainsDate: 1
333
+ }
334
+ };
335
+ export {
336
+ na as default
337
+ };
@@ -0,0 +1,332 @@
1
+ import { a as s, b as i, c as m, d as n } 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: "کمتر از یک ثانیه",
18
+ other: "کمتر از {{count}} ثانیه"
19
+ },
20
+ xSeconds: {
21
+ one: "1 ثانیه",
22
+ other: "{{count}} ثانیه"
23
+ },
24
+ halfAMinute: "نیم دقیقه",
25
+ lessThanXMinutes: {
26
+ one: "کمتر از یک دقیقه",
27
+ other: "کمتر از {{count}} دقیقه"
28
+ },
29
+ xMinutes: {
30
+ one: "1 دقیقه",
31
+ other: "{{count}} دقیقه"
32
+ },
33
+ aboutXHours: {
34
+ one: "حدود 1 ساعت",
35
+ other: "حدود {{count}} ساعت"
36
+ },
37
+ xHours: {
38
+ one: "1 ساعت",
39
+ other: "{{count}} ساعت"
40
+ },
41
+ xDays: {
42
+ one: "1 روز",
43
+ other: "{{count}} روز"
44
+ },
45
+ aboutXWeeks: {
46
+ one: "حدود 1 هفته",
47
+ other: "حدود {{count}} هفته"
48
+ },
49
+ xWeeks: {
50
+ one: "1 هفته",
51
+ other: "{{count}} هفته"
52
+ },
53
+ aboutXMonths: {
54
+ one: "حدود 1 ماه",
55
+ other: "حدود {{count}} ماه"
56
+ },
57
+ xMonths: {
58
+ one: "1 ماه",
59
+ other: "{{count}} ماه"
60
+ },
61
+ aboutXYears: {
62
+ one: "حدود 1 سال",
63
+ other: "حدود {{count}} سال"
64
+ },
65
+ xYears: {
66
+ one: "1 سال",
67
+ other: "{{count}} سال"
68
+ },
69
+ overXYears: {
70
+ one: "بیشتر از 1 سال",
71
+ other: "بیشتر از {{count}} سال"
72
+ },
73
+ almostXYears: {
74
+ one: "نزدیک 1 سال",
75
+ other: "نزدیک {{count}} سال"
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 ? "در " + t : t + " قبل" : t;
80
+ };
81
+ const h = l;
82
+ var c = {
83
+ full: "EEEE do MMMM y",
84
+ long: "do MMMM y",
85
+ medium: "d MMM y",
86
+ short: "yyyy/MM/dd"
87
+ }, f = {
88
+ full: "h:mm:ss a zzzz",
89
+ long: "h:mm:ss a z",
90
+ medium: "h:mm:ss a",
91
+ short: "h:mm a"
92
+ }, v = {
93
+ full: "{{date}} 'در' {{time}}",
94
+ long: "{{date}} 'در' {{time}}",
95
+ medium: "{{date}}, {{time}}",
96
+ short: "{{date}}, {{time}}"
97
+ }, b = {
98
+ date: s({
99
+ formats: c,
100
+ defaultWidth: "full"
101
+ }),
102
+ time: s({
103
+ formats: f,
104
+ defaultWidth: "full"
105
+ }),
106
+ dateTime: s({
107
+ formats: v,
108
+ defaultWidth: "full"
109
+ })
110
+ };
111
+ const g = b;
112
+ var p = {
113
+ lastWeek: "eeee 'گذشته در' p",
114
+ yesterday: "'دیروز در' p",
115
+ today: "'امروز در' p",
116
+ tomorrow: "'فردا در' p",
117
+ nextWeek: "eeee 'در' p",
118
+ other: "P"
119
+ }, w = function(a, o, e, t) {
120
+ return p[a];
121
+ };
122
+ const P = w;
123
+ var y = {
124
+ narrow: ["ق", "ب"],
125
+ abbreviated: ["ق.م.", "ب.م."],
126
+ wide: ["قبل از میلاد", "بعد از میلاد"]
127
+ }, M = {
128
+ narrow: ["1", "2", "3", "4"],
129
+ abbreviated: ["س‌م1", "س‌م2", "س‌م3", "س‌م4"],
130
+ wide: ["سه‌ماهه 1", "سه‌ماهه 2", "سه‌ماهه 3", "سه‌ماهه 4"]
131
+ }, W = {
132
+ narrow: ["ژ", "ف", "م", "آ", "م", "ج", "ج", "آ", "س", "ا", "ن", "د"],
133
+ abbreviated: ["ژانـ", "فور", "مارس", "آپر", "می", "جون", "جولـ", "آگو", "سپتـ", "اکتـ", "نوامـ", "دسامـ"],
134
+ wide: ["ژانویه", "فوریه", "مارس", "آپریل", "می", "جون", "جولای", "آگوست", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"]
135
+ }, k = {
136
+ narrow: ["ی", "د", "س", "چ", "پ", "ج", "ش"],
137
+ short: ["1ش", "2ش", "3ش", "4ش", "5ش", "ج", "ش"],
138
+ abbreviated: ["یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
139
+ wide: ["یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"]
140
+ }, D = {
141
+ narrow: {
142
+ am: "ق",
143
+ pm: "ب",
144
+ midnight: "ن",
145
+ noon: "ظ",
146
+ morning: "ص",
147
+ afternoon: "ب.ظ.",
148
+ evening: "ع",
149
+ night: "ش"
150
+ },
151
+ abbreviated: {
152
+ am: "ق.ظ.",
153
+ pm: "ب.ظ.",
154
+ midnight: "نیمه‌شب",
155
+ noon: "ظهر",
156
+ morning: "صبح",
157
+ afternoon: "بعدازظهر",
158
+ evening: "عصر",
159
+ night: "شب"
160
+ },
161
+ wide: {
162
+ am: "قبل‌ازظهر",
163
+ pm: "بعدازظهر",
164
+ midnight: "نیمه‌شب",
165
+ noon: "ظهر",
166
+ morning: "صبح",
167
+ afternoon: "بعدازظهر",
168
+ evening: "عصر",
169
+ night: "شب"
170
+ }
171
+ }, x = {
172
+ narrow: {
173
+ am: "ق",
174
+ pm: "ب",
175
+ midnight: "ن",
176
+ noon: "ظ",
177
+ morning: "ص",
178
+ afternoon: "ب.ظ.",
179
+ evening: "ع",
180
+ night: "ش"
181
+ },
182
+ abbreviated: {
183
+ am: "ق.ظ.",
184
+ pm: "ب.ظ.",
185
+ midnight: "نیمه‌شب",
186
+ noon: "ظهر",
187
+ morning: "صبح",
188
+ afternoon: "بعدازظهر",
189
+ evening: "عصر",
190
+ night: "شب"
191
+ },
192
+ wide: {
193
+ am: "قبل‌ازظهر",
194
+ pm: "بعدازظهر",
195
+ midnight: "نیمه‌شب",
196
+ noon: "ظهر",
197
+ morning: "صبح",
198
+ afternoon: "بعدازظهر",
199
+ evening: "عصر",
200
+ night: "شب"
201
+ }
202
+ }, z = function(a, o) {
203
+ return String(a);
204
+ }, F = {
205
+ ordinalNumber: z,
206
+ era: i({
207
+ values: y,
208
+ defaultWidth: "wide"
209
+ }),
210
+ quarter: i({
211
+ values: M,
212
+ defaultWidth: "wide",
213
+ argumentCallback: function(a) {
214
+ return a - 1;
215
+ }
216
+ }),
217
+ month: i({
218
+ values: W,
219
+ defaultWidth: "wide"
220
+ }),
221
+ day: i({
222
+ values: k,
223
+ defaultWidth: "wide"
224
+ }),
225
+ dayPeriod: i({
226
+ values: D,
227
+ defaultWidth: "wide",
228
+ formattingValues: x,
229
+ defaultFormattingWidth: "wide"
230
+ })
231
+ };
232
+ const V = F;
233
+ var X = /^(\d+)(th|st|nd|rd)?/i, C = /\d+/i, L = {
234
+ narrow: /^(ق|ب)/i,
235
+ abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,
236
+ wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i
237
+ }, E = {
238
+ any: [/^قبل/i, /^بعد/i]
239
+ }, N = {
240
+ narrow: /^[1234]/i,
241
+ abbreviated: /^س‌م[1234]/i,
242
+ wide: /^سه‌ماهه [1234]/i
243
+ }, R = {
244
+ any: [/1/i, /2/i, /3/i, /4/i]
245
+ }, S = {
246
+ narrow: /^[جژفمآاماسند]/i,
247
+ abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,
248
+ wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i
249
+ }, $ = {
250
+ narrow: [/^(ژ|ج)/i, /^ف/i, /^م/i, /^(آ|ا)/i, /^م/i, /^(ژ|ج)/i, /^(ج|ژ)/i, /^(آ|ا)/i, /^س/i, /^ا/i, /^ن/i, /^د/i],
251
+ any: [/^ژا/i, /^ف/i, /^ما/i, /^آپ/i, /^(می|مه)/i, /^(ژوئن|جون)/i, /^(ژوئی|جول)/i, /^(اوت|آگ)/i, /^س/i, /^(اوک|اک)/i, /^ن/i, /^د/i]
252
+ }, T = {
253
+ narrow: /^[شیدسچپج]/i,
254
+ short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,
255
+ abbreviated: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,
256
+ wide: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i
257
+ }, Y = {
258
+ narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
259
+ any: [/^(ی|1ش|یکشنبه)/i, /^(د|2ش|دوشنبه)/i, /^(س|3ش|سه‌شنبه)/i, /^(چ|4ش|چهارشنبه)/i, /^(پ|5ش|پنجشنبه)/i, /^(ج|جمعه)/i, /^(ش|شنبه)/i]
260
+ }, _ = {
261
+ narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,
262
+ abbreviated: /^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
263
+ wide: /^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i
264
+ }, q = {
265
+ any: {
266
+ am: /^(ق|ق.ظ.|قبل‌ازظهر)/i,
267
+ pm: /^(ب|ب.ظ.|بعدازظهر)/i,
268
+ midnight: /^(‌نیمه‌شب|ن)/i,
269
+ noon: /^(ظ|ظهر)/i,
270
+ morning: /(ص|صبح)/i,
271
+ afternoon: /(ب|ب.ظ.|بعدازظهر)/i,
272
+ evening: /(ع|عصر)/i,
273
+ night: /(ش|شب)/i
274
+ }
275
+ }, O = {
276
+ ordinalNumber: m({
277
+ matchPattern: X,
278
+ parsePattern: C,
279
+ valueCallback: function(a) {
280
+ return parseInt(a, 10);
281
+ }
282
+ }),
283
+ era: n({
284
+ matchPatterns: L,
285
+ defaultMatchWidth: "wide",
286
+ parsePatterns: E,
287
+ defaultParseWidth: "any"
288
+ }),
289
+ quarter: n({
290
+ matchPatterns: N,
291
+ defaultMatchWidth: "wide",
292
+ parsePatterns: R,
293
+ defaultParseWidth: "any",
294
+ valueCallback: function(a) {
295
+ return a + 1;
296
+ }
297
+ }),
298
+ month: n({
299
+ matchPatterns: S,
300
+ defaultMatchWidth: "wide",
301
+ parsePatterns: $,
302
+ defaultParseWidth: "any"
303
+ }),
304
+ day: n({
305
+ matchPatterns: T,
306
+ defaultMatchWidth: "wide",
307
+ parsePatterns: Y,
308
+ defaultParseWidth: "any"
309
+ }),
310
+ dayPeriod: n({
311
+ matchPatterns: _,
312
+ defaultMatchWidth: "wide",
313
+ parsePatterns: q,
314
+ defaultParseWidth: "any"
315
+ })
316
+ };
317
+ const H = O;
318
+ var ia = {
319
+ code: "fa-IR",
320
+ formatDistance: h,
321
+ formatLong: g,
322
+ formatRelative: P,
323
+ localize: V,
324
+ match: H,
325
+ options: {
326
+ weekStartsOn: 6,
327
+ firstWeekContainsDate: 1
328
+ }
329
+ };
330
+ export {
331
+ ia as default
332
+ };