@gobolt/genesis 0.0.7 → 0.0.8

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 (258) hide show
  1. package/README.md +8 -2
  2. package/dist/AntdIcon-c395a1c4.js +204 -0
  3. package/dist/CheckOutlined-52d9ac25.js +29 -0
  4. package/dist/{CloseCircleFilled-ZIY-u-27.js → CloseCircleFilled-ddc51e7e.js} +11 -8
  5. package/dist/CloseOutlined-14b8bba1.js +16 -0
  6. package/dist/Compact-c39ed20d.js +179 -0
  7. package/dist/ContextIsolator-b09b2c52.js +20 -0
  8. package/dist/DownOutlined-64a4732a.js +206 -0
  9. package/dist/EllipsisOutlined-60122660.js +1115 -0
  10. package/dist/{ExclamationCircleFilled-BICVVQIg.js → ExclamationCircleFilled-23ef9812.js} +22 -16
  11. package/dist/InfoCircleFilled-c5f90c20.js +16 -0
  12. package/dist/Overflow-a570fa69.js +361 -0
  13. package/dist/RightOutlined-83515eb4.js +16 -0
  14. package/dist/SearchOutlined-a9014e08.js +16 -0
  15. package/dist/{TextArea-3MOYYuAQ.js → TextArea-20825221.js} +597 -582
  16. package/dist/{button-BNV2qdrP.js → button-fa1c119c.js} +287 -280
  17. package/dist/collapse-345bc884.js +20 -0
  18. package/dist/compact-item-b8f85aa6.js +75 -0
  19. package/dist/components/Badge/Badge.d.ts +6 -0
  20. package/dist/components/Badge/Badge.js +102 -0
  21. package/dist/components/Badge/__stories__/Badge.stories.d.ts +13 -0
  22. package/dist/components/Badge/__tests__/Badge.test.js +72 -0
  23. package/dist/components/Badge/icons/ASN.d.ts +2 -0
  24. package/dist/components/Badge/icons/ASN.js +23 -0
  25. package/dist/components/Badge/icons/Appointment.d.ts +2 -0
  26. package/dist/components/Badge/icons/Appointment.js +23 -0
  27. package/dist/components/Badge/icons/Inventory.d.ts +2 -0
  28. package/dist/components/Badge/icons/Inventory.js +23 -0
  29. package/dist/components/Badge/icons/Parcel.d.ts +2 -0
  30. package/dist/components/Badge/icons/Parcel.js +23 -0
  31. package/dist/components/Badge/icons/Product.d.ts +2 -0
  32. package/dist/components/Badge/icons/Product.js +23 -0
  33. package/dist/components/Badge/icons/Route.d.ts +2 -0
  34. package/dist/components/Badge/icons/Route.js +23 -0
  35. package/dist/components/Badge/icons/Shipment.d.ts +2 -0
  36. package/dist/components/Badge/icons/Shipment.js +23 -0
  37. package/dist/components/Badge/icons/ShoppingCart.d.ts +2 -0
  38. package/dist/components/Badge/icons/ShoppingCart.js +23 -0
  39. package/dist/components/Badge/icons/System.d.ts +2 -0
  40. package/dist/components/Badge/icons/System.js +23 -0
  41. package/dist/components/Badge/index.d.ts +2 -0
  42. package/dist/components/Badge/index.js +23 -0
  43. package/dist/components/Badge/styles.d.ts +3 -0
  44. package/dist/components/Badge/styles.js +35 -0
  45. package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
  46. package/dist/components/Breadcrumb/Breadcrumb.js +27 -0
  47. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +8 -0
  48. package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
  49. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +10 -0
  50. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +70 -0
  51. package/dist/components/Breadcrumb/index.d.ts +3 -0
  52. package/dist/components/Breadcrumb/index.js +27 -0
  53. package/dist/components/Breadcrumb/styles.d.ts +23 -0
  54. package/dist/components/Breadcrumb/styles.js +2457 -0
  55. package/dist/components/Button/Button.js +42 -0
  56. package/dist/components/Button/__tests__/Button.test.js +61 -0
  57. package/dist/components/Button/index.js +22 -0
  58. package/dist/components/{atoms/button → Button}/styles.js +30 -19
  59. package/dist/components/{atoms/checkbox → Checkbox}/Checkbox.d.ts +2 -1
  60. package/dist/components/Checkbox/Checkbox.js +70 -0
  61. package/dist/components/Checkbox/__tests__/Checkbox.test.js +64 -0
  62. package/dist/components/Checkbox/index.js +49 -0
  63. package/dist/components/{atoms/checkbox → Checkbox}/styles.d.ts +1 -3
  64. package/dist/components/{atoms/checkbox → Checkbox}/styles.js +165 -157
  65. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +72 -0
  66. package/dist/components/ErrorBoundaryFallback/index.js +51 -0
  67. package/dist/components/ErrorBoundaryFallback/styles.d.ts +3 -0
  68. package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.js +38 -34
  69. package/dist/components/{molecules/form → Form}/Form.d.ts +2 -4
  70. package/dist/components/Form/Form.js +49 -0
  71. package/dist/components/Form/__stories__/FormStory.js +130 -0
  72. package/dist/components/Form/index.js +48 -0
  73. package/dist/components/{atoms/input → Input}/Input.d.ts +1 -3
  74. package/dist/components/Input/Input.js +42 -0
  75. package/dist/components/{atoms/input → Input}/__stories__/Input.stories.d.ts +5 -1
  76. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  77. package/dist/components/Input/__tests__/Input.test.js +69 -0
  78. package/dist/components/Input/index.js +31 -0
  79. package/dist/components/{atoms/input → Input}/styles.d.ts +2 -3
  80. package/dist/components/Input/styles.js +542 -0
  81. package/dist/components/Message/Message.d.ts +13 -0
  82. package/dist/components/Message/Message.js +105 -0
  83. package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
  84. package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
  85. package/dist/components/Message/__tests__/Message.test.js +88 -0
  86. package/dist/components/Message/index.d.ts +2 -0
  87. package/dist/components/Message/index.js +50 -0
  88. package/dist/components/Message/styles.d.ts +5 -0
  89. package/dist/components/Message/styles.js +35 -0
  90. package/dist/components/Notification/Notification.d.ts +16 -0
  91. package/dist/components/Notification/Notification.js +1436 -0
  92. package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
  93. package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
  94. package/dist/components/Notification/__tests__/Notification.test.js +76 -0
  95. package/dist/components/Notification/index.d.ts +2 -0
  96. package/dist/components/Notification/index.js +61 -0
  97. package/dist/components/Notification/styles.d.ts +6 -0
  98. package/dist/components/Notification/styles.js +49 -0
  99. package/dist/components/Radio/Radio.d.ts +14 -0
  100. package/dist/components/Radio/Radio.js +114 -0
  101. package/dist/components/Radio/RadioGroup.d.ts +12 -0
  102. package/dist/components/Radio/RadioGroup.js +86 -0
  103. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +9 -0
  104. package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
  105. package/dist/components/Radio/__tests__/RadioGroup.test.js +85 -0
  106. package/dist/components/Radio/index.d.ts +2 -0
  107. package/dist/components/Radio/index.js +58 -0
  108. package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
  109. package/dist/components/Radio/states/RadioChecked.js +18 -0
  110. package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
  111. package/dist/components/Radio/states/RadioCheckedDisabled.js +18 -0
  112. package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
  113. package/dist/components/Radio/states/RadioCheckedFocussed.js +30 -0
  114. package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
  115. package/dist/components/Radio/states/RadioCheckedHover.js +18 -0
  116. package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
  117. package/dist/components/Radio/states/RadioUnchecked.js +15 -0
  118. package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
  119. package/dist/components/Radio/states/RadioUncheckedDisabled.js +15 -0
  120. package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
  121. package/dist/components/Radio/states/RadioUncheckedFocussed.js +29 -0
  122. package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
  123. package/dist/components/Radio/states/RadioUncheckedHover.js +18 -0
  124. package/dist/components/{atoms/select → Select}/Select.d.ts +1 -1
  125. package/dist/components/Select/Select.js +48 -0
  126. package/dist/components/{atoms/select → Select}/__stories__/Select.stories.d.ts +3 -1
  127. package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
  128. package/dist/components/Select/__tests__/Select.test.js +101 -0
  129. package/dist/components/Select/index.js +30 -0
  130. package/dist/components/{atoms/select → Select}/styles.d.ts +4 -1
  131. package/dist/components/Select/styles.js +3723 -0
  132. package/dist/components/Toast/Toast.d.ts +14 -0
  133. package/dist/components/Toast/Toast.js +48 -0
  134. package/dist/components/Toast/__stories__/Toast.stories.d.ts +15 -0
  135. package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
  136. package/dist/components/Toast/__tests__/Toast.test.js +63 -0
  137. package/dist/components/Toast/index.d.ts +2 -0
  138. package/dist/components/Toast/index.js +48 -0
  139. package/dist/components/Toast/styles.d.ts +5 -0
  140. package/dist/components/Toast/styles.js +39 -0
  141. package/dist/components/{atoms/typography → Typography}/Typography.d.ts +2 -1
  142. package/dist/components/Typography/Typography.js +48 -0
  143. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
  144. package/dist/components/Typography/__tests__/Typography.test.js +60 -0
  145. package/dist/components/Typography/index.js +48 -0
  146. package/dist/components/Typography/styles.d.ts +7 -0
  147. package/dist/components/Typography/styles.js +55 -0
  148. package/dist/components/index.d.ts +18 -14
  149. package/dist/components/index.js +70 -14
  150. package/dist/constants/index.d.ts +104 -0
  151. package/dist/constants/index.js +41 -7
  152. package/dist/{context-CZsFJmh6.js → context-3b8a39af.js} +547 -536
  153. package/dist/genesis/GenesisThemeBreakdown.js +69 -22
  154. package/dist/genesis/GenesisThemeDemo.d.ts +0 -2
  155. package/dist/genesis/GenesisThemeDemo.js +53 -4
  156. package/dist/genesis/styles.d.ts +2 -6
  157. package/dist/genesis/styles.js +1144 -2210
  158. package/dist/index-0a886e53.js +100 -0
  159. package/dist/{index-SAAXFt-P.js → index-0b9ee239.js} +347 -338
  160. package/dist/index-1a33c134.js +1389 -0
  161. package/dist/index-4003d75b.js +3748 -0
  162. package/dist/{index-D1v_7IIx.js → index-501fc13d.js} +369 -343
  163. package/dist/index-89035ea5.js +3242 -0
  164. package/dist/{index-BQO27mgE.js → index-8c8d2d0c.js} +123 -122
  165. package/dist/{index-C7kFNqp2.js → index-e2b72ca8.js} +107 -102
  166. package/dist/index.d.ts +1 -0
  167. package/dist/index.js +77 -18
  168. package/dist/{isVisible-CNQjrJPN.js → isVisible-729780f5.js} +110 -82
  169. package/dist/{magic-string.es-BkUFmFT4.js → magic-string.es-b7491176.js} +103 -56
  170. package/dist/{SearchOutlined-DuzJkIiQ.js → pickAttrs-00ba4687.js} +16 -26
  171. package/dist/presets-83ccb923.js +787 -0
  172. package/dist/providers/GenesisProvider.d.ts +5 -0
  173. package/dist/providers/GenesisProvider.js +59 -5
  174. package/dist/providers/ThemeProvider.d.ts +2 -1
  175. package/dist/providers/ThemeProvider.js +16 -11
  176. package/dist/providers/ToastProvider.d.ts +6 -0
  177. package/dist/providers/ToastProvider.js +49 -0
  178. package/dist/providers/ToastWrapper.d.ts +7 -0
  179. package/dist/providers/ToastWrapper.js +56 -0
  180. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +6 -0
  181. package/dist/providers/index.d.ts +3 -2
  182. package/dist/providers/index.js +51 -4
  183. package/dist/setup-aaca7b6f.js +21158 -0
  184. package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-02f500bc.js} +134 -72
  185. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +54 -18
  186. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +51 -15
  187. package/dist/styles/design-tokens/variables.d.ts +7 -7
  188. package/dist/styles/design-tokens/variables.js +48 -48
  189. package/dist/styles/global-styles.js +4 -3
  190. package/dist/styles/theme/genesis-theme.d.ts +3 -0
  191. package/dist/styles/theme/genesis-theme.js +402 -263
  192. package/dist/styles/theme/global-styles.js +4 -3
  193. package/dist/styles/theme/index.js +5 -4
  194. package/dist/test/setup.js +46 -2
  195. package/dist/useVariants-a0d64298.js +30 -0
  196. package/dist/utils/isAllEnglishString.js +2 -1
  197. package/package.json +34 -28
  198. package/dist/AntdIcon-Bsnbyy6g.js +0 -200
  199. package/dist/CheckOutlined-DAynWe12.js +0 -527
  200. package/dist/Compact-CJBo3f0u.js +0 -185
  201. package/dist/ContextIsolator-CGkdKtc3.js +0 -20
  202. package/dist/Form-Cylpi4M4.js +0 -1815
  203. package/dist/Overflow-CP1M4Z0s.js +0 -369
  204. package/dist/compact-item-DH13cl8A.js +0 -61
  205. package/dist/components/atoms/button/Button.js +0 -27
  206. package/dist/components/atoms/button/index.js +0 -4
  207. package/dist/components/atoms/checkbox/Checkbox.js +0 -13
  208. package/dist/components/atoms/checkbox/__tests__/Checkbox.test.js +0 -18
  209. package/dist/components/atoms/checkbox/index.js +0 -4
  210. package/dist/components/atoms/index.d.ts +0 -1
  211. package/dist/components/atoms/index.js +0 -3
  212. package/dist/components/atoms/input/Input.js +0 -12
  213. package/dist/components/atoms/input/__tests__/Input.test.js +0 -28
  214. package/dist/components/atoms/input/index.js +0 -4
  215. package/dist/components/atoms/input/styles.js +0 -415
  216. package/dist/components/atoms/select/Select.js +0 -24
  217. package/dist/components/atoms/select/__tests__/Select.test.js +0 -10735
  218. package/dist/components/atoms/select/index.js +0 -4
  219. package/dist/components/atoms/select/styles.js +0 -3868
  220. package/dist/components/atoms/typography/Typography.js +0 -44
  221. package/dist/components/atoms/typography/__tests__/Typography.test.js +0 -16
  222. package/dist/components/atoms/typography/index.js +0 -4
  223. package/dist/components/atoms/typography/styles.d.ts +0 -11
  224. package/dist/components/atoms/typography/styles.js +0 -28
  225. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +0 -35
  226. package/dist/components/molecules/error-boundary-fallback/index.js +0 -4
  227. package/dist/components/molecules/error-boundary-fallback/styles.d.ts +0 -1
  228. package/dist/components/molecules/form/Form.js +0 -7
  229. package/dist/components/molecules/form/__stories__/FormStory.js +0 -90
  230. package/dist/components/molecules/form/index.js +0 -4
  231. package/dist/index-3MWkSVA1.js +0 -96
  232. package/dist/index-BPtFqhcp.js +0 -19110
  233. package/dist/index-BWys7dkb.js +0 -4462
  234. package/dist/index-VDH3iLaC.js +0 -884
  235. package/dist/setup-CMYVZCPF.js +0 -33883
  236. package/dist/useVariants-CEpw6Ww6.js +0 -29
  237. /package/dist/components/{atoms/checkbox/__tests__/Checkbox.test.d.ts → Badge/__tests__/Badge.test.d.ts} +0 -0
  238. /package/dist/components/{atoms/input/__tests__/Input.test.d.ts → Breadcrumb/__tests__/Breadcrumb.test.d.ts} +0 -0
  239. /package/dist/components/{atoms/button → Button}/Button.d.ts +0 -0
  240. /package/dist/components/{atoms/button → Button}/__stories__/Button.stories.d.ts +0 -0
  241. /package/dist/components/{atoms/select/__tests__/Select.test.d.ts → Button/__tests__/Button.test.d.ts} +0 -0
  242. /package/dist/components/{atoms/button → Button}/index.d.ts +0 -0
  243. /package/dist/components/{atoms/button → Button}/styles.d.ts +0 -0
  244. /package/dist/components/{atoms/checkbox → Checkbox}/__stories__/Checkbox.stories.d.ts +0 -0
  245. /package/dist/components/{atoms/typography/__tests__/Typography.test.d.ts → Checkbox/__tests__/Checkbox.test.d.ts} +0 -0
  246. /package/dist/components/{atoms/checkbox → Checkbox}/index.d.ts +0 -0
  247. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/ErrorBoundaryFallback.d.ts +0 -0
  248. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -0
  249. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/index.d.ts +0 -0
  250. /package/dist/components/{molecules/form → Form}/__stories__/Form.stories.d.ts +0 -0
  251. /package/dist/components/{molecules/form → Form}/__stories__/FormStory.d.ts +0 -0
  252. /package/dist/components/{molecules/form → Form}/index.d.ts +0 -0
  253. /package/dist/components/{atoms/input → Input}/index.d.ts +0 -0
  254. /package/dist/components/{atoms/select → Select}/index.d.ts +0 -0
  255. /package/dist/components/{atoms/typography → Typography}/__stories__/Typography.stories.d.ts +0 -0
  256. /package/dist/components/{atoms/typography → Typography}/index.d.ts +0 -0
  257. /package/dist/{presetColors-Cl8UP3Nw.js → presetColors-ccf8cb4c.js} +0 -0
  258. /package/dist/{reactNode-sKPeiqPL.js → reactNode-f4391605.js} +0 -0
@@ -1,10 +1,11 @@
1
- import { c as ht } from "./index-BPtFqhcp.js";
1
+ import { b as ht } from "./presets-83ccb923.js";
2
+ import "react";
2
3
  var q = { exports: {} };
3
4
  (function(E, t) {
4
5
  (function(e, n) {
5
6
  n(t);
6
7
  })(ht, function(e) {
7
- const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = new Uint8Array(64), f = new Uint8Array(128);
8
+ const n = ",".charCodeAt(0), s = ";".charCodeAt(0), r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = new Uint8Array(64), f = new Uint8Array(128);
8
9
  for (let a = 0; a < r.length; a++) {
9
10
  const h = r.charCodeAt(a);
10
11
  u[a] = h, f[h] = a;
@@ -28,7 +29,7 @@ var q = { exports: {} };
28
29
  return h;
29
30
  }
30
31
  function k(a, h) {
31
- return a.pos >= h ? !1 : a.peek() !== 44;
32
+ return a.pos >= h ? !1 : a.peek() !== n;
32
33
  }
33
34
  const O = 1024 * 16, z = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
34
35
  decode(a) {
@@ -103,7 +104,7 @@ var q = { exports: {} };
103
104
  }
104
105
  function H(a, h, i, l) {
105
106
  const d = a[h], { 0: g, 1: b, 2: m, 3: S, 4: C, vars: w } = d;
106
- h > 0 && i.write(44), l[0] = c(i, g, l[0]), c(i, b, 0), c(i, C, 0);
107
+ h > 0 && i.write(n), l[0] = c(i, g, l[0]), c(i, b, 0), c(i, C, 0);
107
108
  const y = d.length === 6 ? 1 : 0;
108
109
  c(i, y, 0), d.length === 6 && c(i, d[5], 0);
109
110
  for (const v of w)
@@ -114,7 +115,7 @@ var q = { exports: {} };
114
115
  break;
115
116
  h = H(a, h, i, l);
116
117
  }
117
- return i.write(44), l[0] = c(i, m, l[0]), c(i, S, 0), h;
118
+ return i.write(n), l[0] = c(i, m, l[0]), c(i, S, 0), h;
118
119
  }
119
120
  function V(a) {
120
121
  const { length: h } = a, i = new G(a), l = [], d = [];
@@ -176,7 +177,7 @@ var q = { exports: {} };
176
177
  }
177
178
  function J(a, h, i, l) {
178
179
  const d = a[h], { 0: g, 1: b, 2: m, 3: S, isScope: C, callsite: w, bindings: y } = d;
179
- l[0] < g ? (W(i, l[0], g), l[0] = g, l[1] = 0) : h > 0 && i.write(44), l[1] = c(i, d[1], l[1]);
180
+ l[0] < g ? (W(i, l[0], g), l[0] = g, l[1] = 0) : h > 0 && i.write(n), l[1] = c(i, d[1], l[1]);
180
181
  const v = (d.length === 6 ? 1 : 0) | (w ? 2 : 0) | (C ? 4 : 0);
181
182
  if (c(i, v, 0), d.length === 6) {
182
183
  const { 4: p, 5: x } = d;
@@ -203,11 +204,11 @@ var q = { exports: {} };
203
204
  break;
204
205
  h = J(a, h, i, l);
205
206
  }
206
- return l[0] < m ? (W(i, l[0], m), l[0] = m, l[1] = 0) : i.write(44), l[1] = c(i, S, l[1]), h;
207
+ return l[0] < m ? (W(i, l[0], m), l[0] = m, l[1] = 0) : i.write(n), l[1] = c(i, S, l[1]), h;
207
208
  }
208
209
  function W(a, h, i) {
209
210
  do
210
- a.write(59);
211
+ a.write(s);
211
212
  while (++h < i);
212
213
  }
213
214
  function et(a) {
@@ -235,12 +236,12 @@ var q = { exports: {} };
235
236
  let i = 0, l = 0, d = 0, g = 0;
236
237
  for (let b = 0; b < a.length; b++) {
237
238
  const m = a[b];
238
- if (b > 0 && h.write(59), m.length === 0)
239
+ if (b > 0 && h.write(s), m.length === 0)
239
240
  continue;
240
241
  let S = 0;
241
242
  for (let C = 0; C < m.length; C++) {
242
243
  const w = m[C];
243
- C > 0 && h.write(44), S = c(h, w[0], S), w.length !== 1 && (i = c(h, w[1], i), l = c(h, w[2], l), d = c(h, w[3], d), w.length !== 4 && (g = c(h, w[4], g)));
244
+ C > 0 && h.write(n), S = c(h, w[0], S), w.length !== 1 && (i = c(h, w[1], i), l = c(h, w[2], l), d = c(h, w[3], d), w.length !== 4 && (g = c(h, w[4], g)));
244
245
  }
245
246
  }
246
247
  return h.flush();
@@ -309,14 +310,17 @@ class M {
309
310
  return this.intro + this.content + this.outro;
310
311
  }
311
312
  trimEnd(t) {
312
- if (this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
313
+ if (this.outro = this.outro.replace(t, ""), this.outro.length)
314
+ return !0;
313
315
  const e = this.content.replace(t, "");
314
316
  if (e.length)
315
317
  return e !== this.content && (this.split(this.start + e.length).edit("", void 0, !0), this.edited && this.edit(e, this.storeName, !0)), !0;
316
- if (this.edit("", void 0, !0), this.intro = this.intro.replace(t, ""), this.intro.length) return !0;
318
+ if (this.edit("", void 0, !0), this.intro = this.intro.replace(t, ""), this.intro.length)
319
+ return !0;
317
320
  }
318
321
  trimStart(t) {
319
- if (this.intro = this.intro.replace(t, ""), this.intro.length) return !0;
322
+ if (this.intro = this.intro.replace(t, ""), this.intro.length)
323
+ return !0;
320
324
  const e = this.content.replace(t, "");
321
325
  if (e.length) {
322
326
  if (e !== this.content) {
@@ -324,7 +328,8 @@ class M {
324
328
  this.edited && n.edit(e, this.storeName, !0), this.edit("", void 0, !0);
325
329
  }
326
330
  return !0;
327
- } else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
331
+ } else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length)
332
+ return !0;
328
333
  }
329
334
  }
330
335
  function ut() {
@@ -363,7 +368,8 @@ function dt(E, t) {
363
368
  e.shift(), n.shift();
364
369
  if (e.length) {
365
370
  let s = e.length;
366
- for (; s--; ) e[s] = "..";
371
+ for (; s--; )
372
+ e[s] = "..";
367
373
  }
368
374
  return e.concat(n).join("/");
369
375
  }
@@ -403,7 +409,8 @@ class wt {
403
409
  }
404
410
  const o = [this.generatedCodeColumn, t, n.line, n.column];
405
411
  s >= 0 && o.push(s), this.rawSegments.push(o), this.advance(e.slice(f + 1));
406
- } else this.pending && (this.rawSegments.push(this.pending), this.advance(e));
412
+ } else
413
+ this.pending && (this.rawSegments.push(this.pending), this.advance(e));
407
414
  this.pending = null;
408
415
  }
409
416
  addUneditedChunk(t, e, n, s, r) {
@@ -424,7 +431,8 @@ class wt {
424
431
  this.pending = null;
425
432
  }
426
433
  advance(t) {
427
- if (!t) return;
434
+ if (!t)
435
+ return;
428
436
  const e = t.split(`
429
437
  `);
430
438
  if (e.length > 1) {
@@ -466,17 +474,20 @@ class Q {
466
474
  this.sourcemapLocations.add(t);
467
475
  }
468
476
  append(t) {
469
- if (typeof t != "string") throw new TypeError("outro content must be a string");
477
+ if (typeof t != "string")
478
+ throw new TypeError("outro content must be a string");
470
479
  return this.outro += t, this;
471
480
  }
472
481
  appendLeft(t, e) {
473
- if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
482
+ if (t = t + this.offset, typeof e != "string")
483
+ throw new TypeError("inserted content must be a string");
474
484
  this._split(t);
475
485
  const n = this.byEnd[t];
476
486
  return n ? n.appendLeft(e) : this.intro += e, this;
477
487
  }
478
488
  appendRight(t, e) {
479
- if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
489
+ if (t = t + this.offset, typeof e != "string")
490
+ throw new TypeError("inserted content must be a string");
480
491
  this._split(t);
481
492
  const n = this.byStart[t];
482
493
  return n ? n.appendRight(e) : this.outro += e, this;
@@ -527,7 +538,8 @@ class Q {
527
538
  }
528
539
  indent(t, e) {
529
540
  const n = /^[^\r\n]/gm;
530
- if (pt(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
541
+ if (pt(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "")
542
+ return this;
531
543
  e = e || {};
532
544
  const s = {};
533
545
  e.exclude && (typeof e.exclude[0] == "number" ? [e.exclude] : e.exclude).forEach((k) => {
@@ -572,10 +584,12 @@ class Q {
572
584
  ), N.insertRight = !0), this.prependRight(t, e);
573
585
  }
574
586
  move(t, e, n) {
575
- if (t = t + this.offset, e = e + this.offset, n = n + this.offset, n >= t && n <= e) throw new Error("Cannot move a selection inside itself");
587
+ if (t = t + this.offset, e = e + this.offset, n = n + this.offset, n >= t && n <= e)
588
+ throw new Error("Cannot move a selection inside itself");
576
589
  this._split(t), this._split(e), this._split(n);
577
590
  const s = this.byStart[t], r = this.byEnd[e], u = s.previous, f = r.next, o = this.byStart[n];
578
- if (!o && r === this.lastChunk) return this;
591
+ if (!o && r === this.lastChunk)
592
+ return this;
579
593
  const c = o ? o.previous : this.lastChunk;
580
594
  return u && (u.next = f), f && (f.previous = u), c && (c.next = s), o && (o.previous = r), s.previous || (this.firstChunk = r.next), r.next || (this.lastChunk = s.previous, this.lastChunk.next = null), s.previous = c, r.next = o || null, c || (this.firstChunk = s), o || (this.lastChunk = r), this;
581
595
  }
@@ -583,12 +597,16 @@ class Q {
583
597
  return s = s || {}, this.update(t, e, n, { ...s, overwrite: !s.contentOnly });
584
598
  }
585
599
  update(t, e, n, s) {
586
- if (t = t + this.offset, e = e + this.offset, typeof n != "string") throw new TypeError("replacement content must be a string");
600
+ if (t = t + this.offset, e = e + this.offset, typeof n != "string")
601
+ throw new TypeError("replacement content must be a string");
587
602
  if (this.original.length !== 0) {
588
- for (; t < 0; ) t += this.original.length;
589
- for (; e < 0; ) e += this.original.length;
603
+ for (; t < 0; )
604
+ t += this.original.length;
605
+ for (; e < 0; )
606
+ e += this.original.length;
590
607
  }
591
- if (e > this.original.length) throw new Error("end is out of bounds");
608
+ if (e > this.original.length)
609
+ throw new Error("end is out of bounds");
592
610
  if (t === e)
593
611
  throw new Error(
594
612
  "Cannot overwrite a zero-length range – use appendLeft or prependRight instead"
@@ -621,29 +639,37 @@ class Q {
621
639
  return this;
622
640
  }
623
641
  prepend(t) {
624
- if (typeof t != "string") throw new TypeError("outro content must be a string");
642
+ if (typeof t != "string")
643
+ throw new TypeError("outro content must be a string");
625
644
  return this.intro = t + this.intro, this;
626
645
  }
627
646
  prependLeft(t, e) {
628
- if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
647
+ if (t = t + this.offset, typeof e != "string")
648
+ throw new TypeError("inserted content must be a string");
629
649
  this._split(t);
630
650
  const n = this.byEnd[t];
631
651
  return n ? n.prependLeft(e) : this.intro = e + this.intro, this;
632
652
  }
633
653
  prependRight(t, e) {
634
- if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
654
+ if (t = t + this.offset, typeof e != "string")
655
+ throw new TypeError("inserted content must be a string");
635
656
  this._split(t);
636
657
  const n = this.byStart[t];
637
658
  return n ? n.prependRight(e) : this.outro = e + this.outro, this;
638
659
  }
639
660
  remove(t, e) {
640
661
  if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
641
- for (; t < 0; ) t += this.original.length;
642
- for (; e < 0; ) e += this.original.length;
662
+ for (; t < 0; )
663
+ t += this.original.length;
664
+ for (; e < 0; )
665
+ e += this.original.length;
643
666
  }
644
- if (t === e) return this;
645
- if (t < 0 || e > this.original.length) throw new Error("Character is out of bounds");
646
- if (t > e) throw new Error("end must be greater than start");
667
+ if (t === e)
668
+ return this;
669
+ if (t < 0 || e > this.original.length)
670
+ throw new Error("Character is out of bounds");
671
+ if (t > e)
672
+ throw new Error("end must be greater than start");
647
673
  this._split(t), this._split(e);
648
674
  let n = this.byStart[t];
649
675
  for (; n; )
@@ -652,12 +678,17 @@ class Q {
652
678
  }
653
679
  reset(t, e) {
654
680
  if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
655
- for (; t < 0; ) t += this.original.length;
656
- for (; e < 0; ) e += this.original.length;
681
+ for (; t < 0; )
682
+ t += this.original.length;
683
+ for (; e < 0; )
684
+ e += this.original.length;
657
685
  }
658
- if (t === e) return this;
659
- if (t < 0 || e > this.original.length) throw new Error("Character is out of bounds");
660
- if (t > e) throw new Error("end must be greater than start");
686
+ if (t === e)
687
+ return this;
688
+ if (t < 0 || e > this.original.length)
689
+ throw new Error("Character is out of bounds");
690
+ if (t > e)
691
+ throw new Error("end must be greater than start");
661
692
  this._split(t), this._split(e);
662
693
  let n = this.byStart[t];
663
694
  for (; n; )
@@ -665,30 +696,38 @@ class Q {
665
696
  return this;
666
697
  }
667
698
  lastChar() {
668
- if (this.outro.length) return this.outro[this.outro.length - 1];
699
+ if (this.outro.length)
700
+ return this.outro[this.outro.length - 1];
669
701
  let t = this.lastChunk;
670
702
  do {
671
- if (t.outro.length) return t.outro[t.outro.length - 1];
672
- if (t.content.length) return t.content[t.content.length - 1];
673
- if (t.intro.length) return t.intro[t.intro.length - 1];
703
+ if (t.outro.length)
704
+ return t.outro[t.outro.length - 1];
705
+ if (t.content.length)
706
+ return t.content[t.content.length - 1];
707
+ if (t.intro.length)
708
+ return t.intro[t.intro.length - 1];
674
709
  } while (t = t.previous);
675
710
  return this.intro.length ? this.intro[this.intro.length - 1] : "";
676
711
  }
677
712
  lastLine() {
678
713
  let t = this.outro.lastIndexOf($);
679
- if (t !== -1) return this.outro.substr(t + 1);
714
+ if (t !== -1)
715
+ return this.outro.substr(t + 1);
680
716
  let e = this.outro, n = this.lastChunk;
681
717
  do {
682
718
  if (n.outro.length > 0) {
683
- if (t = n.outro.lastIndexOf($), t !== -1) return n.outro.substr(t + 1) + e;
719
+ if (t = n.outro.lastIndexOf($), t !== -1)
720
+ return n.outro.substr(t + 1) + e;
684
721
  e = n.outro + e;
685
722
  }
686
723
  if (n.content.length > 0) {
687
- if (t = n.content.lastIndexOf($), t !== -1) return n.content.substr(t + 1) + e;
724
+ if (t = n.content.lastIndexOf($), t !== -1)
725
+ return n.content.substr(t + 1) + e;
688
726
  e = n.content + e;
689
727
  }
690
728
  if (n.intro.length > 0) {
691
- if (t = n.intro.lastIndexOf($), t !== -1) return n.intro.substr(t + 1) + e;
729
+ if (t = n.intro.lastIndexOf($), t !== -1)
730
+ return n.intro.substr(t + 1) + e;
692
731
  e = n.intro + e;
693
732
  }
694
733
  } while (n = n.previous);
@@ -696,8 +735,10 @@ class Q {
696
735
  }
697
736
  slice(t = 0, e = this.original.length - this.offset) {
698
737
  if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
699
- for (; t < 0; ) t += this.original.length;
700
- for (; e < 0; ) e += this.original.length;
738
+ for (; t < 0; )
739
+ t += this.original.length;
740
+ for (; e < 0; )
741
+ e += this.original.length;
701
742
  }
702
743
  let n = "", s = this.firstChunk;
703
744
  for (; s && (s.start > t || s.end <= t); ) {
@@ -726,11 +767,13 @@ class Q {
726
767
  return n.remove(0, t), n.remove(e, n.original.length), n;
727
768
  }
728
769
  _split(t) {
729
- if (this.byStart[t] || this.byEnd[t]) return;
770
+ if (this.byStart[t] || this.byEnd[t])
771
+ return;
730
772
  let e = this.lastSearchedChunk;
731
773
  const n = t > e.end;
732
774
  for (; e; ) {
733
- if (e.contains(t)) return this._splitChunk(e, t);
775
+ if (e.contains(t))
776
+ return this._splitChunk(e, t);
734
777
  e = n ? this.byStart[e.end] : this.byEnd[e.start];
735
778
  }
736
779
  }
@@ -773,11 +816,13 @@ class Q {
773
816
  }
774
817
  trimEndAborted(t) {
775
818
  const e = new RegExp((t || "\\s") + "+$");
776
- if (this.outro = this.outro.replace(e, ""), this.outro.length) return !0;
819
+ if (this.outro = this.outro.replace(e, ""), this.outro.length)
820
+ return !0;
777
821
  let n = this.lastChunk;
778
822
  do {
779
823
  const s = n.end, r = n.trimEnd(e);
780
- if (n.end !== s && (this.lastChunk === n && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r) return !0;
824
+ if (n.end !== s && (this.lastChunk === n && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r)
825
+ return !0;
781
826
  n = n.previous;
782
827
  } while (n);
783
828
  return !1;
@@ -787,11 +832,13 @@ class Q {
787
832
  }
788
833
  trimStartAborted(t) {
789
834
  const e = new RegExp("^" + (t || "\\s") + "+");
790
- if (this.intro = this.intro.replace(e, ""), this.intro.length) return !0;
835
+ if (this.intro = this.intro.replace(e, ""), this.intro.length)
836
+ return !0;
791
837
  let n = this.firstChunk;
792
838
  do {
793
839
  const s = n.end, r = n.trimStart(e);
794
- if (n.end !== s && (n === this.lastChunk && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r) return !0;
840
+ if (n.end !== s && (n === this.lastChunk && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r)
841
+ return !0;
795
842
  n = n.next;
796
843
  } while (n);
797
844
  return !1;
@@ -1,7 +1,5 @@
1
- import { a as i, _ as c } from "./index-BWys7dkb.js";
2
- import * as s from "react";
3
- import { I as l } from "./AntdIcon-Bsnbyy6g.js";
4
- var d = `accept acceptCharset accessKey action allowFullScreen allowTransparency
1
+ import { _ as i } from "./presets-83ccb923.js";
2
+ var s = `accept acceptCharset accessKey action allowFullScreen allowTransparency
5
3
  alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
6
4
  charSet checked classID className colSpan cols content contentEditable contextMenu
7
5
  controls coords crossOrigin data dateTime default defer dir disabled download draggable
@@ -12,41 +10,33 @@ var d = `accept acceptCharset accessKey action allowFullScreen allowTransparency
12
10
  optimum pattern placeholder poster preload radioGroup readOnly rel required
13
11
  reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
14
12
  shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
15
- summary tabIndex target title type useMap value width wmode wrap`, u = `onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
13
+ summary tabIndex target title type useMap value width wmode wrap`, l = `onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
16
14
  onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
17
15
  onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
18
16
  onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
19
17
  onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
20
18
  onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
21
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`, p = "".concat(d, " ").concat(u).split(/[\s\n]+/), m = "aria-", h = "data-";
22
- function r(a, n) {
23
- return a.indexOf(n) === 0;
19
+ onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`, d = "".concat(s, " ").concat(l).split(/[\s\n]+/), c = "aria-", u = "data-";
20
+ function r(a, o) {
21
+ return a.indexOf(o) === 0;
24
22
  }
25
- function y(a) {
26
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, e;
27
- n === !1 ? e = {
23
+ function m(a) {
24
+ var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, e;
25
+ o === !1 ? e = {
28
26
  aria: !0,
29
27
  data: !0,
30
28
  attr: !0
31
- } : n === !0 ? e = {
29
+ } : o === !0 ? e = {
32
30
  aria: !0
33
- } : e = i({}, n);
31
+ } : e = i({}, o);
34
32
  var t = {};
35
- return Object.keys(a).forEach(function(o) {
33
+ return Object.keys(a).forEach(function(n) {
36
34
  // Aria
37
- (e.aria && (o === "role" || r(o, m)) || // Data
38
- e.data && r(o, h) || // Attr
39
- e.attr && p.includes(o)) && (t[o] = a[o]);
35
+ (e.aria && (n === "role" || r(n, c)) || // Data
36
+ e.data && r(n, u) || // Attr
37
+ e.attr && d.includes(n)) && (t[n] = a[n]);
40
38
  }), t;
41
39
  }
42
- var g = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, name: "search", theme: "outlined" }, f = function(n, e) {
43
- return /* @__PURE__ */ s.createElement(l, c({}, n, {
44
- ref: e,
45
- icon: g
46
- }));
47
- }, C = /* @__PURE__ */ s.forwardRef(f);
48
- process.env.NODE_ENV !== "production" && (C.displayName = "SearchOutlined");
49
40
  export {
50
- C as R,
51
- y as p
41
+ m as p
52
42
  };