@blofin/blofin-ui 0.7.58 → 0.7.59

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 (293) hide show
  1. package/dist/Badge.es.js +8 -10
  2. package/dist/Button.es.js +125 -127
  3. package/dist/Dialog.es.js +10 -180
  4. package/dist/Divider.es.js +10 -12
  5. package/dist/Drawer.es.js +51 -44
  6. package/dist/Form.d.ts +1 -0
  7. package/dist/Form.es.js +752 -0
  8. package/dist/ProTable-63e2c020.js +3444 -0
  9. package/dist/ProTable.es.js +6 -9
  10. package/dist/Slider.es.js +140 -141
  11. package/dist/Sort.es.js +10 -144
  12. package/dist/blofin.css +1 -1
  13. package/dist/{close-0df24351.js → close-c67ec245.js} +0 -1
  14. package/dist/clsx.m-b14a941b.js +32 -0
  15. package/dist/components/Alert/Alert.d.ts +3 -3
  16. package/dist/components/Alert/styles.d.ts +2 -2
  17. package/dist/components/Badge/Badge.d.ts +2 -2
  18. package/dist/components/Button/Button.d.ts +2 -2
  19. package/dist/components/Button/Loading/index.d.ts +2 -2
  20. package/dist/components/Button/index.d.ts +0 -2
  21. package/dist/components/Button/styles.d.ts +1 -1
  22. package/dist/components/Checkbox/styles.d.ts +1 -1
  23. package/dist/components/CssDropdown/CssDropdown.d.ts +3 -3
  24. package/dist/components/DatePickerRange/styles.d.ts +1 -0
  25. package/dist/components/DateTimePicker/ScrollableList.d.ts +1 -1
  26. package/dist/components/Dialog/Dialog.d.ts +2 -5
  27. package/dist/components/Dialog/index.d.ts +2 -4
  28. package/dist/components/Dialog/styles.d.ts +2 -2
  29. package/dist/components/Drawer/Drawer.d.ts +1 -1
  30. package/dist/components/Dropdown/Dropdown.d.ts +2 -2
  31. package/dist/components/Empty/index.d.ts +5 -2
  32. package/dist/components/Form/Control.d.ts +13 -0
  33. package/dist/components/Form/Form.d.ts +4 -0
  34. package/dist/components/Form/FormItem.d.ts +4 -0
  35. package/dist/components/Form/FormLabel.d.ts +4 -0
  36. package/dist/components/Form/context.d.ts +6 -0
  37. package/dist/components/Form/index.d.ts +8 -0
  38. package/dist/components/Form/interface.d.ts +48 -0
  39. package/dist/components/Form/store.d.ts +16 -0
  40. package/dist/components/Form/styles/item.d.ts +5 -0
  41. package/dist/components/Form/useForm.d.ts +3 -0
  42. package/dist/components/LabelTextField/LabelTextField.d.ts +6 -6
  43. package/dist/components/MonthPicker/index.d.ts +17 -2
  44. package/dist/components/MultiSelect/MultiSelect.d.ts +4 -4
  45. package/dist/components/Notification/Notification.d.ts +1 -1
  46. package/dist/components/Pagination/PageOptions.d.ts +1 -1
  47. package/dist/components/Pagination/Pagination.d.ts +2 -2
  48. package/dist/components/Picker/hooks/usePickerMethod.d.ts +1 -1
  49. package/dist/components/Picker/index.d.ts +10 -2
  50. package/dist/components/Popover/Popover.d.ts +1 -1
  51. package/dist/components/Popup/index.d.ts +15 -4
  52. package/dist/components/RadioButton/RadioButton.d.ts +4 -4
  53. package/dist/components/RadioButton/styles.d.ts +1 -1
  54. package/dist/components/Select/Select.d.ts +9 -6
  55. package/dist/components/Slider/Slider.d.ts +2 -2
  56. package/dist/components/Sort/SortButton.d.ts +5 -5
  57. package/dist/components/Sort/SortGroup.d.ts +4 -4
  58. package/dist/components/Sort/index.d.ts +6 -5
  59. package/dist/components/Sortable/SortItem.d.ts +4 -4
  60. package/dist/components/Sortable/index.d.ts +11 -3
  61. package/dist/components/Switch/Switch.d.ts +2 -2
  62. package/dist/components/Switch/styles.d.ts +3 -3
  63. package/dist/components/Tab/Tab.d.ts +2 -2
  64. package/dist/components/Tab/styles.d.ts +1 -1
  65. package/dist/components/Table/Pagination/index.d.ts +2 -2
  66. package/dist/components/Table/Table.d.ts +2 -2
  67. package/dist/components/Table/Tbody/index.d.ts +3 -3
  68. package/dist/components/Table/Thead/index.d.ts +3 -3
  69. package/dist/components/Table/context.d.ts +3 -3
  70. package/dist/components/Table/hooks/useStickyOffset.d.ts +3 -3
  71. package/dist/components/Table/index.d.ts +3 -3
  72. package/dist/components/Table/interface.d.ts +4 -4
  73. package/dist/components/TextField/TextField.d.ts +4 -4
  74. package/dist/components/TextField/index.d.ts +0 -2
  75. package/dist/components/TextSelect/TextSelect.d.ts +8 -8
  76. package/dist/components/Textarea/index.d.ts +15 -2
  77. package/dist/components/Toast/Toast.d.ts +13 -2
  78. package/dist/components/Toast/styles.d.ts +1 -1
  79. package/dist/components/Tooltip/Tooltip.d.ts +5 -4
  80. package/dist/components/Typography/Typography.d.ts +2 -2
  81. package/dist/components/Typography/styles.d.ts +1 -1
  82. package/dist/hooks/useLatest.d.ts +1 -1
  83. package/dist/hooks/useNotification.d.ts +7 -5
  84. package/dist/hooks/useToast.d.ts +1 -1
  85. package/dist/{index-4f94d7fa.js → index-001dd0f7.js} +39 -24
  86. package/dist/{index-29d37c73.js → index-003572ca.js} +67 -52
  87. package/dist/{index-57a163fd.js → index-0330bc93.js} +28 -13
  88. package/dist/{index-d81e15f3.js → index-05bf2879.js} +34 -19
  89. package/dist/{index-b54ef52a.js → index-0773f9b5.js} +31 -16
  90. package/dist/{index-6856be22.js → index-0c50dcda.js} +38 -23
  91. package/dist/{index-7cf9b111.js → index-0e6d56f6.js} +33 -18
  92. package/dist/{index-a89abb42.js → index-0eb53476.js} +19 -4
  93. package/dist/{index-0230b5a9.js → index-0f855a91.js} +4 -5
  94. package/dist/{index-cbc0d36b.js → index-10144af4.js} +30 -15
  95. package/dist/{index-06d0f2f7.js → index-11dc8e91.js} +28 -13
  96. package/dist/{index-c6371af1.js → index-14eba896.js} +25 -10
  97. package/dist/{index-c1381bca.js → index-18869ac6.js} +35 -20
  98. package/dist/{index-1b2a64df.js → index-189196e6.js} +46 -31
  99. package/dist/{index-898678dc.js → index-198ccc85.js} +45 -30
  100. package/dist/{index-e2b960e4.js → index-1b087231.js} +38 -23
  101. package/dist/{index-f40f45fb.js → index-204cbb23.js} +30 -15
  102. package/dist/{index-4df0c3e4.js → index-220ed10a.js} +31 -16
  103. package/dist/{index-67678963.js → index-28a6835c.js} +48 -33
  104. package/dist/{index-e98ef24f.js → index-2d400fe1.js} +32 -17
  105. package/dist/{index-e8fb69e0.js → index-2e0c8d16.js} +37 -22
  106. package/dist/{index-cc1cd309.js → index-2e784550.js} +28 -13
  107. package/dist/index-304d7874.js +64 -0
  108. package/dist/{index-12d32536.js → index-3375e2e3.js} +28 -13
  109. package/dist/{index-954d3973.js → index-36521981.js} +28 -13
  110. package/dist/{index-cfee583b.js → index-377dc190.js} +36 -21
  111. package/dist/{index-4f94900a.js → index-390505ce.js} +34 -19
  112. package/dist/index-40626e62.js +174 -0
  113. package/dist/{index-b0da3dfd.js → index-41bebee7.js} +39 -24
  114. package/dist/{index-5fb7b3bc.js → index-45cfa2f3.js} +27 -12
  115. package/dist/{index-80cc70e4.js → index-47408940.js} +41 -26
  116. package/dist/{index-141cec17.js → index-4b9249fc.js} +29 -14
  117. package/dist/index-543e2f77.js +65 -0
  118. package/dist/index-563cafee.js +64 -0
  119. package/dist/index-5956ed9f.js +11569 -0
  120. package/dist/{index-b103ed31.js → index-59c7d611.js} +27 -12
  121. package/dist/{index-d2f2742e.js → index-5bc791c5.js} +30 -15
  122. package/dist/{index-03513979.js → index-5f3da225.js} +26 -11
  123. package/dist/{index-8aa9b1be.js → index-603f0f2a.js} +39 -24
  124. package/dist/{index-4bc493f0.js → index-636a6216.js} +19 -4
  125. package/dist/{index-2334248a.js → index-640dc4ab.js} +24 -9
  126. package/dist/{index-73bfc020.js → index-64ba8d88.js} +47 -32
  127. package/dist/{index-2ae0474b.js → index-65986673.js} +39 -24
  128. package/dist/{index-6f728206.js → index-65df0a7b.js} +24 -9
  129. package/dist/{index-02f669c4.js → index-6e4d9a19.js} +1 -2
  130. package/dist/{index-360aaaac.js → index-7241c703.js} +46 -31
  131. package/dist/index-7272669e.js +36 -0
  132. package/dist/{index-9c73c442.js → index-73673cf3.js} +60 -45
  133. package/dist/{index-08a64465.js → index-74676234.js} +31 -16
  134. package/dist/{index-7edb6aec.js → index-770fe605.js} +34 -19
  135. package/dist/{index-5beeed26.js → index-772d6529.js} +38 -23
  136. package/dist/{index-6e969585.js → index-797b8f6c.js} +52 -37
  137. package/dist/{index-a6fa33ce.js → index-7c12aa98.js} +28 -13
  138. package/dist/{index-5e6ffc2f.js → index-7e7cdd81.js} +1 -2
  139. package/dist/{index-03169373.js → index-81072b24.js} +37 -22
  140. package/dist/{index-75190b99.js → index-8684e896.js} +22 -7
  141. package/dist/{index-7bb9ffdf.js → index-89f184f3.js} +2 -3
  142. package/dist/{index-40710f09.js → index-8a7c46ae.js} +41 -26
  143. package/dist/{index-117d018c.js → index-8cec0e82.js} +37 -22
  144. package/dist/{index-094d2a65.js → index-91062be2.js} +34 -19
  145. package/dist/{index-d3419554.js → index-9253a5ce.js} +30 -15
  146. package/dist/index-95c68eda.js +152 -0
  147. package/dist/{index-956b36a6.js → index-9eaebb69.js} +45 -30
  148. package/dist/{index-63a66f13.js → index-a4077786.js} +45 -30
  149. package/dist/{index-e9a1ff7f.js → index-ad2acfd2.js} +19 -4
  150. package/dist/{index-fdffd6e6.js → index-af60bed6.js} +29 -14
  151. package/dist/{index-fda88eb4.js → index-b5ff5e93.js} +45 -30
  152. package/dist/{index-11268759.js → index-bba889fc.js} +33 -18
  153. package/dist/{index-b7941b97.js → index-c002eb57.js} +23 -8
  154. package/dist/{index-4c6ad36c.js → index-c73b6cc3.js} +47 -32
  155. package/dist/{index-60fe7f16.js → index-c81a4a2a.js} +32 -17
  156. package/dist/{index-f7c4ae83.js → index-c8690f0a.js} +48 -33
  157. package/dist/{index-79e7317f.js → index-cdaffd70.js} +27 -12
  158. package/dist/{index-4d780cf4.js → index-cf872561.js} +37 -22
  159. package/dist/{index-cb1218d8.js → index-dafac81d.js} +25 -10
  160. package/dist/{index-19d177fe.js → index-db7c7495.js} +31 -16
  161. package/dist/{index-f1726c63.js → index-dbd4bd27.js} +29 -14
  162. package/dist/{index-ceae4147.js → index-dc23eb8b.js} +27 -12
  163. package/dist/{index-9e5efc0a.js → index-dc69cdd8.js} +45 -30
  164. package/dist/{index-c69f6dfc.js → index-e6091315.js} +36 -21
  165. package/dist/{index-06ef2e10.js → index-e869e999.js} +28 -13
  166. package/dist/{index-03d6aef0.js → index-f0c42ec9.js} +33 -18
  167. package/dist/{index-f64eddcc.js → index-f16b36a5.js} +31 -16
  168. package/dist/{index-e1a6a03d.js → index-f4d65525.js} +24 -9
  169. package/dist/index-f53123c7.js +64 -0
  170. package/dist/{index-770e5f53.js → index-f753119c.js} +27 -12
  171. package/dist/{index-8585c2f3.js → index-f83dab77.js} +38 -23
  172. package/dist/{index-6f963c6a.js → index-f852d9b6.js} +35 -20
  173. package/dist/{index-3ee2bafa.js → index-fa51b278.js} +30 -15
  174. package/dist/{index-e169373b.js → index-fc135912.js} +25 -10
  175. package/dist/{index-ef31f5f8.js → index-fcb1ec65.js} +1 -2
  176. package/dist/{index-d86842c8.js → index-ff943066.js} +34 -19
  177. package/dist/index.d.ts +48 -36
  178. package/dist/index.es.js +56 -223
  179. package/dist/isObjectLike-1b8bbac2.js +44 -0
  180. package/dist/jsx-runtime-82a9ddf6.js +646 -0
  181. package/dist/provider/NoticeProvider.d.ts +1 -1
  182. package/dist/provider/ThemeProvider.d.ts +3 -7
  183. package/dist/provider/useTheme.d.ts +1 -1
  184. package/dist/types/component.d.ts +1 -1
  185. package/dist/utils/helper.d.ts +1 -1
  186. package/dist/{utils-071abd68.js → utils-cacf528c.js} +1 -2
  187. package/package.json +3 -2
  188. package/dist/Calendar.d.ts +0 -1
  189. package/dist/Calendar.es.js +0 -210
  190. package/dist/Checkbox.d.ts +0 -1
  191. package/dist/Checkbox.es.js +0 -138
  192. package/dist/CssDropdown.d.ts +0 -1
  193. package/dist/CssDropdown.es.js +0 -38
  194. package/dist/DatePickerRange.d.ts +0 -1
  195. package/dist/DatePickerRange.es.js +0 -410
  196. package/dist/DateTimePicker.d.ts +0 -1
  197. package/dist/DateTimePicker.es.js +0 -519
  198. package/dist/Dropdown.d.ts +0 -1
  199. package/dist/Dropdown.es.js +0 -134
  200. package/dist/Empty.d.ts +0 -1
  201. package/dist/Empty.es.js +0 -11
  202. package/dist/LabelTextField.d.ts +0 -1
  203. package/dist/LabelTextField.es.js +0 -100
  204. package/dist/MonthPicker.d.ts +0 -1
  205. package/dist/MonthPicker.es.js +0 -16
  206. package/dist/MultiSelect.d.ts +0 -1
  207. package/dist/MultiSelect.es.js +0 -425
  208. package/dist/Notification.d.ts +0 -1
  209. package/dist/Notification.es.js +0 -12
  210. package/dist/Pagination.d.ts +0 -1
  211. package/dist/Pagination.es.js +0 -219
  212. package/dist/Picker.d.ts +0 -1
  213. package/dist/Picker.es.js +0 -224
  214. package/dist/Popover.d.ts +0 -1
  215. package/dist/Popover.es.js +0 -107
  216. package/dist/Popup.d.ts +0 -1
  217. package/dist/Popup.es.js +0 -62
  218. package/dist/ProTable-7a07d8b6.js +0 -565
  219. package/dist/RadioButton.d.ts +0 -1
  220. package/dist/RadioButton.es.js +0 -152
  221. package/dist/Select.d.ts +0 -1
  222. package/dist/Select.es.js +0 -316
  223. package/dist/Sortable.d.ts +0 -1
  224. package/dist/Sortable.es.js +0 -39
  225. package/dist/Switch.d.ts +0 -1
  226. package/dist/Switch.es.js +0 -64
  227. package/dist/Tab.d.ts +0 -1
  228. package/dist/Tab.es.js +0 -101
  229. package/dist/Table.d.ts +0 -1
  230. package/dist/Table.es.js +0 -359
  231. package/dist/TextField.d.ts +0 -1
  232. package/dist/TextField.es.js +0 -64
  233. package/dist/TextSelect.d.ts +0 -1
  234. package/dist/TextSelect.es.js +0 -17
  235. package/dist/Textarea.d.ts +0 -1
  236. package/dist/Textarea.es.js +0 -106
  237. package/dist/Toast.d.ts +0 -1
  238. package/dist/Toast.es.js +0 -12
  239. package/dist/Tooltip.d.ts +0 -1
  240. package/dist/Tooltip.es.js +0 -144
  241. package/dist/Typography.d.ts +0 -1
  242. package/dist/Typography.es.js +0 -74
  243. package/dist/_commonjsHelpers-1d52fb73.js +0 -9
  244. package/dist/arrow-down-011b02c7.js +0 -6
  245. package/dist/arrow-down-l-line-97e4fe24.js +0 -6
  246. package/dist/arrow-fill-70becd96.js +0 -6
  247. package/dist/arrow-right-l-line-87881b4d.js +0 -7
  248. package/dist/close-bg-6d2211ef.js +0 -6
  249. package/dist/clsx.m-e965ef18.js +0 -22
  250. package/dist/components/CssDropdown/index.d.ts +0 -2
  251. package/dist/components/DatePickerRange/index.d.ts +0 -4
  252. package/dist/components/DateTimePicker/index.d.ts +0 -4
  253. package/dist/components/Dropdown/index.d.ts +0 -2
  254. package/dist/components/Empty/Empty.d.ts +0 -5
  255. package/dist/components/MonthPicker/MonthPicker.d.ts +0 -17
  256. package/dist/components/MultiSelect/index.d.ts +0 -2
  257. package/dist/components/Notification/index.d.ts +0 -2
  258. package/dist/components/Pagination/index.d.ts +0 -3
  259. package/dist/components/Picker/Picker.d.ts +0 -10
  260. package/dist/components/Popover/index.d.ts +0 -5
  261. package/dist/components/Popup/Popup.d.ts +0 -15
  262. package/dist/components/Sortable/Sortable.d.ts +0 -11
  263. package/dist/components/Switch/index.d.ts +0 -2
  264. package/dist/components/Tab/index.d.ts +0 -4
  265. package/dist/components/TextSelect/index.d.ts +0 -2
  266. package/dist/components/Textarea/Textarea.d.ts +0 -15
  267. package/dist/components/Toast/index.d.ts +0 -2
  268. package/dist/components/Tooltip/index.d.ts +0 -2
  269. package/dist/components/Typography/index.d.ts +0 -4
  270. package/dist/enum-0398044b.js +0 -17
  271. package/dist/helper-221987f8.js +0 -7
  272. package/dist/index-293f8244.js +0 -49
  273. package/dist/index-40023d52.js +0 -5322
  274. package/dist/index-4528ba11.js +0 -49
  275. package/dist/index-596c785d.js +0 -50
  276. package/dist/index-67554651.js +0 -49
  277. package/dist/index-9349bf2d.js +0 -345
  278. package/dist/index-b7027a1d.js +0 -1295
  279. package/dist/index-c57db938.js +0 -37
  280. package/dist/index-eea69add.js +0 -71
  281. package/dist/index.esm-71578db5.js +0 -1198
  282. package/dist/index.module-1d7bbdf8.js +0 -7
  283. package/dist/index.module-86edc823.js +0 -15
  284. package/dist/index.module-b4239ff5.js +0 -9
  285. package/dist/index.module-fb41ba3b.js +0 -39
  286. package/dist/locales-776f0072.js +0 -440
  287. package/dist/search-b79a3be5.js +0 -6
  288. package/dist/sortable.esm-1c13d908.js +0 -2896
  289. package/dist/sortable.esm-8d31c120.js +0 -1275
  290. package/dist/styles-85a9fe64.js +0 -136
  291. package/dist/useAlign-916ed3be.js +0 -44
  292. package/dist/useDelayEvent-f577f6a3.js +0 -1082
  293. package/dist/useTheme-0688f238.js +0 -16
@@ -1,5 +1,20 @@
1
- "use client";
2
- import { a as o, b as i, c as p, d as n } from "./index-b7027a1d.js";
1
+ import { a as l, b as i, c as p, d as n } from "./index-5956ed9f.js";
2
+ import "./Badge.es.js";
3
+ import "./jsx-runtime-82a9ddf6.js";
4
+ import "react";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
8
+ import "./Button.es.js";
9
+ import "./isObjectLike-1b8bbac2.js";
10
+ import "./index-40626e62.js";
11
+ import "react-dom";
12
+ import "./close-c67ec245.js";
13
+ import "./Drawer.es.js";
14
+ import "./Slider.es.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
17
+ import "./Divider.es.js";
3
18
  var b = {
4
19
  about: "körülbelül",
5
20
  over: "több mint",
@@ -56,12 +71,12 @@ var b = {
56
71
  0: " éve"
57
72
  }
58
73
  }, y = function(e, r, a) {
59
- var s = e.match(/about|over|almost|lessthan/i), v = s ? e.replace(s[0], "") : e, c = (a == null ? void 0 : a.addSuffix) === !0, d = v.toLowerCase(), f = (a == null ? void 0 : a.comparison) || 0, m = c ? g[d][f] : z[d], l = d === "halfaminute" ? m : r + m;
74
+ var s = e.match(/about|over|almost|lessthan/i), v = s ? e.replace(s[0], "") : e, c = (a == null ? void 0 : a.addSuffix) === !0, d = v.toLowerCase(), f = (a == null ? void 0 : a.comparison) || 0, m = c ? g[d][f] : z[d], o = d === "halfaminute" ? m : r + m;
60
75
  if (s) {
61
76
  var h = s[0].toLowerCase();
62
- l = b[h] + " " + l;
77
+ o = b[h] + " " + o;
63
78
  }
64
- return l;
79
+ return o;
65
80
  };
66
81
  const j = y;
67
82
  var w = {
@@ -80,15 +95,15 @@ var w = {
80
95
  medium: "{{date}} {{time}}",
81
96
  short: "{{date}} {{time}}"
82
97
  }, I = {
83
- date: o({
98
+ date: l({
84
99
  formats: w,
85
100
  defaultWidth: "full"
86
101
  }),
87
- time: o({
102
+ time: l({
88
103
  formats: k,
89
104
  defaultWidth: "full"
90
105
  }),
91
- dateTime: o({
106
+ dateTime: l({
92
107
  formats: P,
93
108
  defaultWidth: "full"
94
109
  })
@@ -282,7 +297,7 @@ var R = /^(\d+)\.?/i, O = /\d+/i, q = {
282
297
  })
283
298
  };
284
299
  const Z = Y;
285
- var ae = {
300
+ var be = {
286
301
  code: "hu",
287
302
  formatDistance: j,
288
303
  formatLong: M,
@@ -295,5 +310,5 @@ var ae = {
295
310
  }
296
311
  };
297
312
  export {
298
- ae as default
313
+ be as default
299
314
  };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { a as s, c as u, d as n } from "./index-b7027a1d.js";
1
+ import { a as s, c as u, d as n } from "./index-5956ed9f.js";
3
2
  var h = {
4
3
  lessThanXSeconds: {
5
4
  standalone: {
@@ -1,6 +1,21 @@
1
- "use client";
2
- import { a as s, b as i, c as u, d as o } from "./index-b7027a1d.js";
3
- var m = {
1
+ import { a as m, b as i, c as s, d as o } from "./index-5956ed9f.js";
2
+ import "./Badge.es.js";
3
+ import "./jsx-runtime-82a9ddf6.js";
4
+ import "react";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
8
+ import "./Button.es.js";
9
+ import "./isObjectLike-1b8bbac2.js";
10
+ import "./index-40626e62.js";
11
+ import "react-dom";
12
+ import "./close-c67ec245.js";
13
+ import "./Drawer.es.js";
14
+ import "./Slider.es.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
17
+ import "./Divider.es.js";
18
+ var u = {
4
19
  lessThanXSeconds: {
5
20
  one: "少於 1 秒",
6
21
  other: "少於 {{count}} 秒"
@@ -63,7 +78,7 @@ var m = {
63
78
  other: "將近 {{count}} 年"
64
79
  }
65
80
  }, l = function(e, t, a) {
66
- var r, d = m[e];
81
+ var r, d = u[e];
67
82
  return typeof d == "string" ? r = d : t === 1 ? r = d.one : r = d.other.replace("{{count}}", String(t)), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? r + "內" : r + "前" : r;
68
83
  };
69
84
  const h = l;
@@ -83,32 +98,32 @@ var c = {
83
98
  medium: "{{date}} {{time}}",
84
99
  short: "{{date}} {{time}}"
85
100
  }, b = {
86
- date: s({
101
+ date: m({
87
102
  formats: c,
88
103
  defaultWidth: "full"
89
104
  }),
90
- time: s({
105
+ time: m({
91
106
  formats: f,
92
107
  defaultWidth: "full"
93
108
  }),
94
- dateTime: s({
109
+ dateTime: m({
95
110
  formats: v,
96
111
  defaultWidth: "full"
97
112
  })
98
113
  };
99
- const g = b;
100
- var P = {
114
+ const p = b;
115
+ var g = {
101
116
  lastWeek: "'上個'eeee p",
102
117
  yesterday: "'昨天' p",
103
118
  today: "'今天' p",
104
119
  tomorrow: "'明天' p",
105
120
  nextWeek: "'下個'eeee p",
106
121
  other: "P"
107
- }, y = function(e, t, a, r) {
108
- return P[e];
122
+ }, P = function(e, t, a, r) {
123
+ return g[e];
109
124
  };
110
- const w = y;
111
- var p = {
125
+ const y = P;
126
+ var w = {
112
127
  narrow: ["前", "公元"],
113
128
  abbreviated: ["前", "公元"],
114
129
  wide: ["公元前", "公元"]
@@ -204,7 +219,7 @@ var p = {
204
219
  }, F = {
205
220
  ordinalNumber: z,
206
221
  era: i({
207
- values: p,
222
+ values: w,
208
223
  defaultWidth: "wide"
209
224
  }),
210
225
  quarter: i({
@@ -270,7 +285,7 @@ var X = /^(第\s*)?\d+(日|時|分|秒)?/i, C = /\d+/i, L = {
270
285
  night: /^凌晨/i
271
286
  }
272
287
  }, _ = {
273
- ordinalNumber: u({
288
+ ordinalNumber: s({
274
289
  matchPattern: X,
275
290
  parsePattern: C,
276
291
  valueCallback: function(e) {
@@ -312,11 +327,11 @@ var X = /^(第\s*)?\d+(日|時|分|秒)?/i, C = /\d+/i, L = {
312
327
  })
313
328
  };
314
329
  const H = _;
315
- var A = {
330
+ var da = {
316
331
  code: "zh-TW",
317
332
  formatDistance: h,
318
- formatLong: g,
319
- formatRelative: w,
333
+ formatLong: p,
334
+ formatRelative: y,
320
335
  localize: V,
321
336
  match: H,
322
337
  options: {
@@ -325,5 +340,5 @@ var A = {
325
340
  }
326
341
  };
327
342
  export {
328
- A as default
343
+ da as default
329
344
  };
package/dist/index.d.ts CHANGED
@@ -1,37 +1,49 @@
1
+ import { Badge } from "./components/Badge/Badge";
2
+ import { Button, ButtonProps } from "./components/Button/Button";
3
+ import { Checkbox } from "./components/Checkbox";
4
+ import { CssDropdown } from "./components/CssDropdown/CssDropdown";
5
+ import DatePickerRange, { DatePickerRangeProps } from "./components/DatePickerRange/DatePickerRange";
6
+ import DateTimePicker, { DateTimePickerProps } from "./components/DateTimePicker/DateTimePicker";
7
+ import { Dialog, DialogProps } from "./components/Dialog/Dialog";
8
+ import { Divider } from "./components/Divider";
9
+ import { Drawer } from "./components/Drawer";
10
+ import { Dropdown } from "./components/Dropdown/Dropdown";
11
+ import { LabelTextField } from "./components/LabelTextField";
12
+ import { Pagination } from "./components/Pagination/Pagination";
13
+ import { Popover, PopoverRefProps } from "./components/Popover/Popover";
14
+ import { RadioButton } from "./components/RadioButton";
15
+ import { Select } from "./components/Select";
16
+ import { Slider } from "./components/Slider";
17
+ import SortButton, { TextAlign } from "./components/Sort/SortButton";
18
+ import SortGroup from "./components/Sort/SortGroup";
19
+ import { SortContext, SortsData } from "./components/Sort";
20
+ import { Switch } from "./components/Switch/Switch";
21
+ import { Tab, TabRef } from "./components/Tab/Tab";
22
+ import Table, { TableColumnProps } from "./components/Table";
23
+ import { TextField } from "./components/TextField";
24
+ import { TextSelect, TextSelectProps, TextSelectRefProps } from "./components/TextSelect/TextSelect";
25
+ import TextArea from "./components/Textarea";
26
+ import { Tooltip } from "./components/Tooltip/Tooltip";
27
+ import { Typography, TypographyProps } from "./components/Typography/Typography";
28
+ import useNotification from "./hooks/useNotification";
29
+ import { Toast } from "./components/Toast/Toast";
30
+ import useToast from "./hooks/useToast";
31
+ import Sortable from "./components/Sortable";
32
+ import SortItem from "./components/Sortable/SortItem";
33
+ import Popup, { PopupRef } from "./components/Popup";
34
+ import { NoticeProvider } from "./provider/NoticeProvider";
35
+ import { ThemeProvider } from "./provider/ThemeProvider";
36
+ import useTheme from "./provider/useTheme";
1
37
  import { BUIComponentColor, BUIComponentSize, BUITheme } from "./types/component";
2
- export * from "./components/Badge";
3
- export * from "./components/Button";
4
- export * from "./components/Checkbox";
5
- export * from "./components/CssDropdown";
6
- export * from "./components/DatePickerRange";
7
- export * from "./components/DateTimePicker";
8
- export * from "./components/Dialog";
9
- export * from "./components/Tooltip";
10
- export * from "./components/Popover";
11
- export * from "./components/Popup";
12
- export * from "./components/Divider";
13
- export * from "./components/Drawer";
14
- export * from "./components/Dropdown";
15
- export * from "./components/LabelTextField";
16
- export * from "./components/Pagination";
17
- export * from "./components/RadioButton";
18
- export * from "./components/Select";
19
- export * from "./components/Slider";
20
- export * from "./components/Sort";
21
- export * from "./components/Switch";
22
- export * from "./components/Tab";
23
- export * from "./components/Table";
24
- export * from "./components/TextField";
25
- export * from "./components/TextSelect";
26
- export * from "./components/Textarea";
27
- export * from "./components/Typography";
28
- export * from "./components/Sortable";
29
- export * from "./components/Alert";
30
- export * from "./components/MultiSelect";
31
- export * from "./provider/NoticeProvider";
32
- export * from "./provider/ThemeProvider";
33
- export * from "./provider/useTheme";
34
- export * from "./hooks/useNotification";
35
- export * from "./hooks/useToast";
36
- export * from "./components/ProTable";
37
- export type { BUIComponentColor, BUIComponentSize, BUITheme };
38
+ import { Placement } from "@popperjs/core";
39
+ import { InputBaseProps } from "./components/TextField/TextField";
40
+ import { Alert } from "./components/Alert/index";
41
+ import MultiSelect from "./components/MultiSelect/MultiSelect";
42
+ import ProTable from "./components/ProTable/ProTable";
43
+ import type { ProTableProps, ProTableColumnProps, SortProps, SortType, SortState } from "./components/ProTable/types";
44
+ import { SortEnum } from "./components/ProTable/types";
45
+ export { Badge, Button, Checkbox, CssDropdown, DatePickerRange, DateTimePicker, Dialog, Divider, Drawer, Dropdown, LabelTextField, Pagination, Popover, RadioButton, Select, Slider, SortButton, SortGroup, Switch, Tab, Table, TextArea, TextField, TextSelect, Tooltip, Typography, Sortable, SortItem, Popup, Alert, Toast, MultiSelect, ProTable, SortContext };
46
+ export type { ButtonProps, TypographyProps, InputBaseProps, BUIComponentColor, BUIComponentSize, BUITheme, DatePickerRangeProps, DateTimePickerProps, DialogProps, TableColumnProps, TextSelectRefProps, TextAlign, PopupRef, TabRef, SortsData, Placement, PopoverRefProps, TextSelectProps, ProTableProps, ProTableColumnProps, SortProps, SortType, SortState };
47
+ export { NoticeProvider, ThemeProvider };
48
+ export { useNotification, useTheme, useToast };
49
+ export { SortEnum };
package/dist/index.es.js CHANGED
@@ -1,226 +1,59 @@
1
- "use client";
2
- import { Checkbox as we } from "./Checkbox.es.js";
3
- import { Badge as ve } from "./Badge.es.js";
4
- import { Button as Se } from "./Button.es.js";
5
- import { CssDropdown as Ne } from "./CssDropdown.es.js";
6
- import { DatePickerRange as ye } from "./DatePickerRange.es.js";
7
- import { DateTimePicker as De } from "./DateTimePicker.es.js";
8
- import { Dialog as Ee, DialogProvider as Ve } from "./Dialog.es.js";
9
- import { Tooltip as Re } from "./Tooltip.es.js";
10
- import { Popover as ke } from "./Popover.es.js";
11
- import { Popup as Fe } from "./Popup.es.js";
12
- import { Divider as je } from "./Divider.es.js";
13
- import { Drawer as Oe } from "./Drawer.es.js";
14
- import { Dropdown as $e } from "./Dropdown.es.js";
15
- import { LabelTextField as ze } from "./LabelTextField.es.js";
16
- import { PageOption as Ke, Pagination as Qe } from "./Pagination.es.js";
17
- import { RadioButton as Xe } from "./RadioButton.es.js";
18
- import { Select as _e } from "./Select.es.js";
19
- import { Slider as tt } from "./Slider.es.js";
20
- import { SortButton as ot, SortGroup as st } from "./Sort.es.js";
21
- import { Switch as at } from "./Switch.es.js";
22
- import { Tab as mt } from "./Tab.es.js";
23
- import { Table as lt } from "./Table.es.js";
24
- import { TextField as ut } from "./TextField.es.js";
25
- import { T as bt } from "./index-9349bf2d.js";
26
- import { TextArea as gt } from "./Textarea.es.js";
27
- import { Typography as x } from "./Typography.es.js";
28
- import { SortItem as ht, Sortable as wt } from "./Sortable.es.js";
29
- import { jsx as o, jsxs as b } from "react/jsx-runtime";
30
- import * as r from "react";
31
- import { useContext as g } from "react";
32
- import { c as d } from "./index-c57db938.js";
33
- import { S as y } from "./close-0df24351.js";
34
- import { S as B } from "./arrow-right-l-line-87881b4d.js";
35
- import { MultiSelect as vt } from "./MultiSelect.es.js";
36
- import { N as h } from "./index-40023d52.js";
37
- import { a as St } from "./index-40023d52.js";
38
- import { T as Nt, a as Mt, u as yt } from "./useTheme-0688f238.js";
39
- import { P as Dt, S as Pt } from "./ProTable-7a07d8b6.js";
40
- import "./utils-071abd68.js";
41
- import "./clsx.m-e965ef18.js";
42
- import "./index.esm-71578db5.js";
43
- import "./index-b7027a1d.js";
44
- import "./index.module-fb41ba3b.js";
45
- import "./_commonjsHelpers-1d52fb73.js";
46
- import "./index.module-1d7bbdf8.js";
1
+ import { Badge as x } from "./Badge.es.js";
2
+ import { Button as l } from "./Button.es.js";
3
+ import { A as f, C as n, e as u, D as d, f as P, g as c, L as D, M as b, N as g, P as h, h as v, u as w, R as C, S as k, q as B, p as A, i as N, T as R, j as y, k as F, l as L, m as M, v as j, n as q, o as E, w as G, x as I } from "./index-5956ed9f.js";
4
+ import { D as H } from "./index-40626e62.js";
5
+ import { Divider as K } from "./Divider.es.js";
6
+ import { Drawer as Q } from "./Drawer.es.js";
7
+ import { Slider as V } from "./Slider.es.js";
8
+ import { b as X, C as Y, a as Z } from "./index-95c68eda.js";
9
+ import { T as $, u as oo } from "./clsx.m-b14a941b.js";
10
+ import { P as eo, S as ro } from "./ProTable-63e2c020.js";
11
+ import "./jsx-runtime-82a9ddf6.js";
12
+ import "react";
13
+ import "./utils-cacf528c.js";
14
+ import "./index-7272669e.js";
15
+ import "./isObjectLike-1b8bbac2.js";
47
16
  import "react-dom";
48
- import "./enum-0398044b.js";
49
- import "./index.module-86edc823.js";
50
- import "./index.module-b4239ff5.js";
51
- import "./sortable.esm-8d31c120.js";
52
- import "./sortable.esm-1c13d908.js";
53
- import "./Calendar.es.js";
54
- import "./arrow-down-l-line-97e4fe24.js";
55
- import "./index-eea69add.js";
56
- import "./Picker.es.js";
57
- import "./locales-776f0072.js";
58
- import "./useDelayEvent-f577f6a3.js";
59
- import "./arrow-fill-70becd96.js";
60
- import "./useAlign-916ed3be.js";
61
- import "./styles-85a9fe64.js";
62
- import "./helper-221987f8.js";
63
- import "./search-b79a3be5.js";
64
- import "./close-bg-6d2211ef.js";
65
- import "./arrow-down-011b02c7.js";
66
- import "./Empty.es.js";
67
- const D = d(
68
- "bu-flex bu-min-h-[36px] bu-w-full bu-justify-between bu-rounded-[6px] bu-px-[12px] bu-py-[8px]",
69
- {
70
- variants: {
71
- type: {
72
- doubt: "bu-bg-base-primary-14",
73
- success: "bu-bg-base-success-14",
74
- warning: "bu-bg-base-primary-14",
75
- danger: "bu-bg-base-danger-14"
76
- },
77
- alignType: {
78
- true: "bu-items-start",
79
- false: "bu-items-center"
80
- }
81
- }
82
- }
83
- ), a = d("bu-mr-[8px] bu-text-[20px]", {
84
- variants: {
85
- type: {
86
- doubt: "bu-text-base-primary",
87
- success: "bu-text-base-success",
88
- warning: "bu-text-base-primary",
89
- danger: "bu-text-base-danger"
90
- }
91
- }
92
- }), P = (e) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ r.createElement("path", { d: "M9.99996 18.8817C5.39758 18.8817 1.66663 15.1507 1.66663 10.5484C1.66663 5.94599 5.39758 2.21503 9.99996 2.21503C14.6023 2.21503 18.3333 5.94599 18.3333 10.5484C18.3333 15.1507 14.6023 18.8817 9.99996 18.8817ZM9.16663 13.0484V14.715H10.8333V13.0484H9.16663ZM10.8333 11.6776C12.038 11.319 12.9166 10.2029 12.9166 8.88169C12.9166 7.27086 11.6108 5.96503 9.99996 5.96503C8.58496 5.96503 7.40527 6.97269 7.13938 8.30958L8.77396 8.6365C8.88796 8.06355 9.39354 7.63169 9.99996 7.63169C10.6903 7.63169 11.25 8.19134 11.25 8.88169C11.25 9.57203 10.6903 10.1317 9.99996 10.1317C9.53971 10.1317 9.16663 10.5048 9.16663 10.965V12.215H10.8333V11.6776Z", fill: "#FF8800" })), E = (e) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ r.createElement("path", { d: "M9.99996 18.8817C5.39758 18.8817 1.66663 15.1507 1.66663 10.5484C1.66663 5.94599 5.39758 2.21503 9.99996 2.21503C14.6023 2.21503 18.3333 5.94599 18.3333 10.5484C18.3333 15.1507 14.6023 18.8817 9.99996 18.8817ZM9.16663 13.0484V14.715H10.8333V13.0484H9.16663ZM9.16663 6.38169V11.3817H10.8333V6.38169H9.16663Z", fill: "#FF8800" })), V = (e) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ r.createElement("path", { d: "M9.99996 18.8817C5.39758 18.8817 1.66663 15.1507 1.66663 10.5484C1.66663 5.94599 5.39758 2.21503 9.99996 2.21503C14.6023 2.21503 18.3333 5.94599 18.3333 10.5484C18.3333 15.1507 14.6023 18.8817 9.99996 18.8817ZM9.16879 13.8817L15.0614 7.98914L13.8829 6.81063L9.16879 11.5247L6.8118 9.16761L5.63328 10.3462L9.16879 13.8817Z", fill: "#0FCC71" })), Z = (e) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ r.createElement("path", { d: "M9.99996 18.8817C5.39758 18.8817 1.66663 15.1507 1.66663 10.5484C1.66663 5.94599 5.39758 2.21503 9.99996 2.21503C14.6023 2.21503 18.3333 5.94599 18.3333 10.5484C18.3333 15.1507 14.6023 18.8817 9.99996 18.8817ZM9.99996 9.36986L7.64293 7.01283L6.46443 8.19134L8.82146 10.5484L6.46443 12.9054L7.64293 14.0839L9.99996 11.7269L12.357 14.0839L13.5355 12.9054L11.1785 10.5484L13.5355 8.19134L12.357 7.01283L9.99996 9.36986Z", fill: "#D62035" })), f = 36, be = ({
93
- type: e,
94
- content: s,
95
- buttonText: i,
96
- buttonShowArrow: n = !0,
97
- showCloseIcon: m = !1,
98
- showUnderline: t = !0,
99
- buttonCallback: p
100
- }) => {
101
- const [w, C] = r.useState(!1), [v, L] = r.useState(!1), l = r.useRef(null), S = {
102
- doubt: /* @__PURE__ */ o(P, { className: a({ type: e }) }),
103
- warning: /* @__PURE__ */ o(E, { className: a({ type: e }) }),
104
- success: /* @__PURE__ */ o(V, { className: a({ type: e }) }),
105
- danger: /* @__PURE__ */ o(Z, { className: a({ type: e }) })
106
- }, T = () => {
107
- C(!0);
108
- }, N = () => {
109
- p && p();
110
- };
111
- return r.useEffect(() => {
112
- var c, u;
113
- const M = ((u = (c = l.current) == null ? void 0 : c.getBoundingClientRect()) == null ? void 0 : u.height) || f;
114
- L(M > f);
115
- }, []), /* @__PURE__ */ b("div", { ref: l, className: D({ type: e, alignType: v }), children: [
116
- S[e],
117
- /* @__PURE__ */ o("div", { className: "bu-flex bu-h-full bu-flex-1", children: typeof s == "string" ? /* @__PURE__ */ o(
118
- x,
119
- {
120
- variant: "body4",
121
- className: "bu-break-words bu-break-all bu-leading-[18px] bu-text-base-label",
122
- children: s
123
- }
124
- ) : s }),
125
- i && /* @__PURE__ */ b(
126
- "div",
127
- {
128
- className: "bu-ml-[8px] bu-flex bu-cursor-pointer bu-items-center",
129
- onClick: N,
130
- children: [
131
- /* @__PURE__ */ o(
132
- x,
133
- {
134
- variant: "body4",
135
- weight: "medium",
136
- className: `bu-leading-[18px] !bu-text-base-primary ${t ? "bu-underline" : ""}`,
137
- children: i
138
- }
139
- ),
140
- n && /* @__PURE__ */ o(B, { className: "bu-ml-[4px] bu-h-[16px] bu-w-[16px] bu-text-[16px] bu-text-base-primary" })
141
- ]
142
- }
143
- ),
144
- m && !w && /* @__PURE__ */ o("div", { className: "bu-ml-[8px]", onClick: T, children: /* @__PURE__ */ o(y, { className: "bu-h-[16px] bu-w-[16px] bu-cursor-pointer bu-text-[16px] bu-text-base-label-40 hover:bu-text-base-label" }) })
145
- ] });
146
- }, fe = () => {
147
- const { open: e } = g(h);
148
- return {
149
- methods: {
150
- info: (t) => {
151
- e(t, "info");
152
- },
153
- success: (t) => {
154
- e(t, "success");
155
- },
156
- warning: (t) => {
157
- e(t, "warning");
158
- },
159
- danger: (t) => {
160
- e(t, "danger");
161
- }
162
- }
163
- };
164
- }, ge = () => {
165
- const { openToast: e } = g(h);
166
- return {
167
- methods: {
168
- info: (t) => {
169
- e(t, "info");
170
- },
171
- success: (t) => {
172
- e(t, "success");
173
- },
174
- warning: (t) => {
175
- e(t, "warning");
176
- },
177
- danger: (t) => {
178
- e(t, "danger");
179
- }
180
- }
181
- };
182
- };
17
+ import "./close-c67ec245.js";
183
18
  export {
184
- be as Alert,
185
- ve as Badge,
186
- Se as Button,
187
- we as Checkbox,
188
- Ne as CssDropdown,
189
- ye as DatePickerRange,
190
- De as DateTimePicker,
191
- Ee as Dialog,
192
- Ve as DialogProvider,
193
- je as Divider,
194
- Oe as Drawer,
195
- $e as Dropdown,
196
- ze as LabelTextField,
197
- vt as MultiSelect,
198
- h as NoticeContext,
199
- St as NoticeProvider,
200
- Ke as PageOption,
201
- Qe as Pagination,
202
- ke as Popover,
203
- Fe as Popup,
204
- Dt as ProTable,
205
- Xe as RadioButton,
206
- _e as Select,
207
- tt as Slider,
208
- ot as SortButton,
209
- Pt as SortEnum,
210
- st as SortGroup,
211
- ht as SortItem,
212
- wt as Sortable,
213
- at as Switch,
214
- mt as Tab,
215
- lt as Table,
216
- gt as TextArea,
217
- ut as TextField,
218
- bt as TextSelect,
219
- Nt as ThemeContext,
220
- Mt as ThemeProvider,
221
- Re as Tooltip,
222
- x as Typography,
223
- fe as useNotification,
224
- yt as useTheme,
225
- ge as useToast
19
+ f as Alert,
20
+ x as Badge,
21
+ l as Button,
22
+ n as Checkbox,
23
+ u as CssDropdown,
24
+ d as DatePickerRange,
25
+ P as DateTimePicker,
26
+ H as Dialog,
27
+ K as Divider,
28
+ Q as Drawer,
29
+ c as Dropdown,
30
+ D as LabelTextField,
31
+ b as MultiSelect,
32
+ g as NoticeProvider,
33
+ h as Pagination,
34
+ v as Popover,
35
+ w as Popup,
36
+ eo as ProTable,
37
+ C as RadioButton,
38
+ k as Select,
39
+ V as Slider,
40
+ X as SortButton,
41
+ Y as SortContext,
42
+ ro as SortEnum,
43
+ Z as SortGroup,
44
+ B as SortItem,
45
+ A as Sortable,
46
+ N as Switch,
47
+ R as Tab,
48
+ y as Table,
49
+ F as TextArea,
50
+ L as TextField,
51
+ M as TextSelect,
52
+ $ as ThemeProvider,
53
+ j as Toast,
54
+ q as Tooltip,
55
+ E as Typography,
56
+ G as useNotification,
57
+ oo as useTheme,
58
+ I as useToast
226
59
  };
@@ -0,0 +1,44 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function g(t) {
3
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
+ }
5
+ function j(t) {
6
+ var r = typeof t;
7
+ return t != null && (r == "object" || r == "function");
8
+ }
9
+ var d = j;
10
+ const U = /* @__PURE__ */ g(d);
11
+ var u = typeof o == "object" && o && o.Object === Object && o, y = u, p = y, v = typeof self == "object" && self && self.Object === Object && self, T = p || v || Function("return this")(), O = T, S = O, w = S.Symbol, c = w, n = c, b = Object.prototype, _ = b.hasOwnProperty, $ = b.toString, e = n ? n.toStringTag : void 0;
12
+ function m(t) {
13
+ var r = _.call(t, e), f = t[e];
14
+ try {
15
+ t[e] = void 0;
16
+ var l = !0;
17
+ } catch {
18
+ }
19
+ var s = $.call(t);
20
+ return l && (r ? t[e] = f : delete t[e]), s;
21
+ }
22
+ var h = m, G = Object.prototype, P = G.toString;
23
+ function R(t) {
24
+ return P.call(t);
25
+ }
26
+ var k = R, a = c, F = h, L = k, C = "[object Null]", D = "[object Undefined]", i = a ? a.toStringTag : void 0;
27
+ function E(t) {
28
+ return t == null ? t === void 0 ? D : C : i && i in Object(t) ? F(t) : L(t);
29
+ }
30
+ var q = E;
31
+ function M(t) {
32
+ return t != null && typeof t == "object";
33
+ }
34
+ var z = M;
35
+ export {
36
+ q as _,
37
+ O as a,
38
+ z as b,
39
+ y as c,
40
+ c as d,
41
+ U as e,
42
+ g,
43
+ d as i
44
+ };