@gobolt/genesis 0.0.7

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 (142) hide show
  1. package/README.md +86 -0
  2. package/dist/AntdIcon-Bsnbyy6g.js +200 -0
  3. package/dist/CheckOutlined-DAynWe12.js +527 -0
  4. package/dist/CloseCircleFilled-ZIY-u-27.js +13 -0
  5. package/dist/Compact-CJBo3f0u.js +185 -0
  6. package/dist/ContextIsolator-CGkdKtc3.js +20 -0
  7. package/dist/ExclamationCircleFilled-BICVVQIg.js +21 -0
  8. package/dist/Form-Cylpi4M4.js +1815 -0
  9. package/dist/Overflow-CP1M4Z0s.js +369 -0
  10. package/dist/SearchOutlined-DuzJkIiQ.js +52 -0
  11. package/dist/TextArea-3MOYYuAQ.js +1680 -0
  12. package/dist/bundle.css +1 -0
  13. package/dist/button-BNV2qdrP.js +1392 -0
  14. package/dist/compact-item-DH13cl8A.js +61 -0
  15. package/dist/components/atoms/button/Button.d.ts +12 -0
  16. package/dist/components/atoms/button/Button.js +27 -0
  17. package/dist/components/atoms/button/__stories__/Button.stories.d.ts +13 -0
  18. package/dist/components/atoms/button/index.d.ts +2 -0
  19. package/dist/components/atoms/button/index.js +4 -0
  20. package/dist/components/atoms/button/styles.d.ts +12 -0
  21. package/dist/components/atoms/button/styles.js +71 -0
  22. package/dist/components/atoms/checkbox/Checkbox.d.ts +10 -0
  23. package/dist/components/atoms/checkbox/Checkbox.js +13 -0
  24. package/dist/components/atoms/checkbox/__stories__/Checkbox.stories.d.ts +8 -0
  25. package/dist/components/atoms/checkbox/__tests__/Checkbox.test.d.ts +1 -0
  26. package/dist/components/atoms/checkbox/__tests__/Checkbox.test.js +18 -0
  27. package/dist/components/atoms/checkbox/index.d.ts +2 -0
  28. package/dist/components/atoms/checkbox/index.js +4 -0
  29. package/dist/components/atoms/checkbox/styles.d.ts +11 -0
  30. package/dist/components/atoms/checkbox/styles.js +582 -0
  31. package/dist/components/atoms/index.d.ts +1 -0
  32. package/dist/components/atoms/index.js +3 -0
  33. package/dist/components/atoms/input/Input.d.ts +11 -0
  34. package/dist/components/atoms/input/Input.js +12 -0
  35. package/dist/components/atoms/input/__stories__/Input.stories.d.ts +10 -0
  36. package/dist/components/atoms/input/__tests__/Input.test.d.ts +1 -0
  37. package/dist/components/atoms/input/__tests__/Input.test.js +28 -0
  38. package/dist/components/atoms/input/index.d.ts +2 -0
  39. package/dist/components/atoms/input/index.js +4 -0
  40. package/dist/components/atoms/input/styles.d.ts +14 -0
  41. package/dist/components/atoms/input/styles.js +415 -0
  42. package/dist/components/atoms/select/Select.d.ts +11 -0
  43. package/dist/components/atoms/select/Select.js +24 -0
  44. package/dist/components/atoms/select/__stories__/Select.stories.d.ts +8 -0
  45. package/dist/components/atoms/select/__tests__/Select.test.d.ts +1 -0
  46. package/dist/components/atoms/select/__tests__/Select.test.js +10735 -0
  47. package/dist/components/atoms/select/index.d.ts +2 -0
  48. package/dist/components/atoms/select/index.js +4 -0
  49. package/dist/components/atoms/select/styles.d.ts +15 -0
  50. package/dist/components/atoms/select/styles.js +3868 -0
  51. package/dist/components/atoms/typography/Typography.d.ts +11 -0
  52. package/dist/components/atoms/typography/Typography.js +44 -0
  53. package/dist/components/atoms/typography/__stories__/Typography.stories.d.ts +12 -0
  54. package/dist/components/atoms/typography/__tests__/Typography.test.d.ts +1 -0
  55. package/dist/components/atoms/typography/__tests__/Typography.test.js +16 -0
  56. package/dist/components/atoms/typography/index.d.ts +2 -0
  57. package/dist/components/atoms/typography/index.js +4 -0
  58. package/dist/components/atoms/typography/styles.d.ts +11 -0
  59. package/dist/components/atoms/typography/styles.js +28 -0
  60. package/dist/components/index.d.js +1 -0
  61. package/dist/components/index.d.ts +14 -0
  62. package/dist/components/index.js +16 -0
  63. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.d.ts +10 -0
  64. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +35 -0
  65. package/dist/components/molecules/error-boundary-fallback/__stories__/ErrorBoundaryFallback.stories.d.ts +8 -0
  66. package/dist/components/molecules/error-boundary-fallback/index.d.ts +1 -0
  67. package/dist/components/molecules/error-boundary-fallback/index.js +4 -0
  68. package/dist/components/molecules/error-boundary-fallback/styles.d.ts +1 -0
  69. package/dist/components/molecules/error-boundary-fallback/styles.js +930 -0
  70. package/dist/components/molecules/form/Form.d.ts +15 -0
  71. package/dist/components/molecules/form/Form.js +7 -0
  72. package/dist/components/molecules/form/__stories__/Form.stories.d.ts +7 -0
  73. package/dist/components/molecules/form/__stories__/FormStory.d.ts +1 -0
  74. package/dist/components/molecules/form/__stories__/FormStory.js +90 -0
  75. package/dist/components/molecules/form/index.d.ts +2 -0
  76. package/dist/components/molecules/form/index.js +4 -0
  77. package/dist/constants/index.d.ts +51 -0
  78. package/dist/constants/index.js +54 -0
  79. package/dist/context-CZsFJmh6.js +2093 -0
  80. package/dist/declaration.d.js +1 -0
  81. package/dist/genesis/GenesisThemeBreakdown.d.ts +4 -0
  82. package/dist/genesis/GenesisThemeBreakdown.js +56 -0
  83. package/dist/genesis/GenesisThemeDemo.d.ts +8 -0
  84. package/dist/genesis/GenesisThemeDemo.js +8 -0
  85. package/dist/genesis/GenesisThemeDemo.stories.d.ts +7 -0
  86. package/dist/genesis/styles.d.ts +12 -0
  87. package/dist/genesis/styles.js +4038 -0
  88. package/dist/index-3MWkSVA1.js +96 -0
  89. package/dist/index-BPtFqhcp.js +19110 -0
  90. package/dist/index-BQO27mgE.js +402 -0
  91. package/dist/index-BWys7dkb.js +4462 -0
  92. package/dist/index-C7kFNqp2.js +276 -0
  93. package/dist/index-D1v_7IIx.js +1057 -0
  94. package/dist/index-SAAXFt-P.js +946 -0
  95. package/dist/index-VDH3iLaC.js +884 -0
  96. package/dist/index.d.ts +2 -0
  97. package/dist/index.js +20 -0
  98. package/dist/isVisible-CNQjrJPN.js +366 -0
  99. package/dist/magic-string.es-BkUFmFT4.js +858 -0
  100. package/dist/presetColors-Cl8UP3Nw.js +4 -0
  101. package/dist/providers/GenesisProvider.d.ts +8 -0
  102. package/dist/providers/GenesisProvider.js +7 -0
  103. package/dist/providers/ThemeProvider.d.ts +9 -0
  104. package/dist/providers/ThemeProvider.js +18 -0
  105. package/dist/providers/index.d.ts +2 -0
  106. package/dist/providers/index.js +6 -0
  107. package/dist/reactNode-sKPeiqPL.js +12 -0
  108. package/dist/setup-CMYVZCPF.js +33883 -0
  109. package/dist/styled-components.browser.esm-CZ1XM4o4.js +1144 -0
  110. package/dist/styles/design-tokens/border-tokens/BorderTokenList.d.ts +1 -0
  111. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +37 -0
  112. package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +6 -0
  113. package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +7 -0
  114. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +3 -0
  115. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +36 -0
  116. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +7 -0
  117. package/dist/styles/design-tokens/typography/TypographyTokens.stories.d.ts +7 -0
  118. package/dist/styles/design-tokens/variables.d.ts +704 -0
  119. package/dist/styles/design-tokens/variables.js +697 -0
  120. package/dist/styles/global-styles.d.ts +1 -0
  121. package/dist/styles/global-styles.js +35 -0
  122. package/dist/styles/theme/genesis-theme.d.ts +75 -0
  123. package/dist/styles/theme/genesis-theme.js +896 -0
  124. package/dist/styles/theme/genesis-theme.types.d.ts +162 -0
  125. package/dist/styles/theme/genesis-theme.types.js +4 -0
  126. package/dist/styles/theme/global-styles.d.ts +1 -0
  127. package/dist/styles/theme/global-styles.js +35 -0
  128. package/dist/styles/theme/index.d.ts +1 -0
  129. package/dist/styles/theme/index.js +9 -0
  130. package/dist/test/setup.d.ts +5 -0
  131. package/dist/test/setup.js +7 -0
  132. package/dist/useVariants-CEpw6Ww6.js +29 -0
  133. package/dist/utils/getAppointmentColor.d.ts +4 -0
  134. package/dist/utils/getAppointmentColor.js +91 -0
  135. package/dist/utils/isAllEnglishString.d.ts +1 -0
  136. package/dist/utils/isAllEnglishString.js +8 -0
  137. package/dist/utils/isAllEnglishString.test.d.ts +1 -0
  138. package/dist/utils/isAllEnglishString.test.js +8 -0
  139. package/dist/utils/parseAddress.d.ts +3 -0
  140. package/dist/utils/parseAddress.js +19 -0
  141. package/dist/vite-env.d.js +1 -0
  142. package/package.json +115 -0
@@ -0,0 +1,527 @@
1
+ import { _ as s } from "./index-BWys7dkb.js";
2
+ import * as c from "react";
3
+ import { I as _ } from "./AntdIcon-Bsnbyy6g.js";
4
+ var E = {
5
+ /**
6
+ * MAC_ENTER
7
+ */
8
+ MAC_ENTER: 3,
9
+ /**
10
+ * BACKSPACE
11
+ */
12
+ BACKSPACE: 8,
13
+ /**
14
+ * TAB
15
+ */
16
+ TAB: 9,
17
+ /**
18
+ * NUMLOCK on FF/Safari Mac
19
+ */
20
+ NUM_CENTER: 12,
21
+ // NUMLOCK on FF/Safari Mac
22
+ /**
23
+ * ENTER
24
+ */
25
+ ENTER: 13,
26
+ /**
27
+ * SHIFT
28
+ */
29
+ SHIFT: 16,
30
+ /**
31
+ * CTRL
32
+ */
33
+ CTRL: 17,
34
+ /**
35
+ * ALT
36
+ */
37
+ ALT: 18,
38
+ /**
39
+ * PAUSE
40
+ */
41
+ PAUSE: 19,
42
+ /**
43
+ * CAPS_LOCK
44
+ */
45
+ CAPS_LOCK: 20,
46
+ /**
47
+ * ESC
48
+ */
49
+ ESC: 27,
50
+ /**
51
+ * SPACE
52
+ */
53
+ SPACE: 32,
54
+ /**
55
+ * PAGE_UP
56
+ */
57
+ PAGE_UP: 33,
58
+ // also NUM_NORTH_EAST
59
+ /**
60
+ * PAGE_DOWN
61
+ */
62
+ PAGE_DOWN: 34,
63
+ // also NUM_SOUTH_EAST
64
+ /**
65
+ * END
66
+ */
67
+ END: 35,
68
+ // also NUM_SOUTH_WEST
69
+ /**
70
+ * HOME
71
+ */
72
+ HOME: 36,
73
+ // also NUM_NORTH_WEST
74
+ /**
75
+ * LEFT
76
+ */
77
+ LEFT: 37,
78
+ // also NUM_WEST
79
+ /**
80
+ * UP
81
+ */
82
+ UP: 38,
83
+ // also NUM_NORTH
84
+ /**
85
+ * RIGHT
86
+ */
87
+ RIGHT: 39,
88
+ // also NUM_EAST
89
+ /**
90
+ * DOWN
91
+ */
92
+ DOWN: 40,
93
+ // also NUM_SOUTH
94
+ /**
95
+ * PRINT_SCREEN
96
+ */
97
+ PRINT_SCREEN: 44,
98
+ /**
99
+ * INSERT
100
+ */
101
+ INSERT: 45,
102
+ // also NUM_INSERT
103
+ /**
104
+ * DELETE
105
+ */
106
+ DELETE: 46,
107
+ // also NUM_DELETE
108
+ /**
109
+ * ZERO
110
+ */
111
+ ZERO: 48,
112
+ /**
113
+ * ONE
114
+ */
115
+ ONE: 49,
116
+ /**
117
+ * TWO
118
+ */
119
+ TWO: 50,
120
+ /**
121
+ * THREE
122
+ */
123
+ THREE: 51,
124
+ /**
125
+ * FOUR
126
+ */
127
+ FOUR: 52,
128
+ /**
129
+ * FIVE
130
+ */
131
+ FIVE: 53,
132
+ /**
133
+ * SIX
134
+ */
135
+ SIX: 54,
136
+ /**
137
+ * SEVEN
138
+ */
139
+ SEVEN: 55,
140
+ /**
141
+ * EIGHT
142
+ */
143
+ EIGHT: 56,
144
+ /**
145
+ * NINE
146
+ */
147
+ NINE: 57,
148
+ /**
149
+ * QUESTION_MARK
150
+ */
151
+ QUESTION_MARK: 63,
152
+ // needs localization
153
+ /**
154
+ * A
155
+ */
156
+ A: 65,
157
+ /**
158
+ * B
159
+ */
160
+ B: 66,
161
+ /**
162
+ * C
163
+ */
164
+ C: 67,
165
+ /**
166
+ * D
167
+ */
168
+ D: 68,
169
+ /**
170
+ * E
171
+ */
172
+ E: 69,
173
+ /**
174
+ * F
175
+ */
176
+ F: 70,
177
+ /**
178
+ * G
179
+ */
180
+ G: 71,
181
+ /**
182
+ * H
183
+ */
184
+ H: 72,
185
+ /**
186
+ * I
187
+ */
188
+ I: 73,
189
+ /**
190
+ * J
191
+ */
192
+ J: 74,
193
+ /**
194
+ * K
195
+ */
196
+ K: 75,
197
+ /**
198
+ * L
199
+ */
200
+ L: 76,
201
+ /**
202
+ * M
203
+ */
204
+ M: 77,
205
+ /**
206
+ * N
207
+ */
208
+ N: 78,
209
+ /**
210
+ * O
211
+ */
212
+ O: 79,
213
+ /**
214
+ * P
215
+ */
216
+ P: 80,
217
+ /**
218
+ * Q
219
+ */
220
+ Q: 81,
221
+ /**
222
+ * R
223
+ */
224
+ R: 82,
225
+ /**
226
+ * S
227
+ */
228
+ S: 83,
229
+ /**
230
+ * T
231
+ */
232
+ T: 84,
233
+ /**
234
+ * U
235
+ */
236
+ U: 85,
237
+ /**
238
+ * V
239
+ */
240
+ V: 86,
241
+ /**
242
+ * W
243
+ */
244
+ W: 87,
245
+ /**
246
+ * X
247
+ */
248
+ X: 88,
249
+ /**
250
+ * Y
251
+ */
252
+ Y: 89,
253
+ /**
254
+ * Z
255
+ */
256
+ Z: 90,
257
+ /**
258
+ * META
259
+ */
260
+ META: 91,
261
+ // WIN_KEY_LEFT
262
+ /**
263
+ * WIN_KEY_RIGHT
264
+ */
265
+ WIN_KEY_RIGHT: 92,
266
+ /**
267
+ * CONTEXT_MENU
268
+ */
269
+ CONTEXT_MENU: 93,
270
+ /**
271
+ * NUM_ZERO
272
+ */
273
+ NUM_ZERO: 96,
274
+ /**
275
+ * NUM_ONE
276
+ */
277
+ NUM_ONE: 97,
278
+ /**
279
+ * NUM_TWO
280
+ */
281
+ NUM_TWO: 98,
282
+ /**
283
+ * NUM_THREE
284
+ */
285
+ NUM_THREE: 99,
286
+ /**
287
+ * NUM_FOUR
288
+ */
289
+ NUM_FOUR: 100,
290
+ /**
291
+ * NUM_FIVE
292
+ */
293
+ NUM_FIVE: 101,
294
+ /**
295
+ * NUM_SIX
296
+ */
297
+ NUM_SIX: 102,
298
+ /**
299
+ * NUM_SEVEN
300
+ */
301
+ NUM_SEVEN: 103,
302
+ /**
303
+ * NUM_EIGHT
304
+ */
305
+ NUM_EIGHT: 104,
306
+ /**
307
+ * NUM_NINE
308
+ */
309
+ NUM_NINE: 105,
310
+ /**
311
+ * NUM_MULTIPLY
312
+ */
313
+ NUM_MULTIPLY: 106,
314
+ /**
315
+ * NUM_PLUS
316
+ */
317
+ NUM_PLUS: 107,
318
+ /**
319
+ * NUM_MINUS
320
+ */
321
+ NUM_MINUS: 109,
322
+ /**
323
+ * NUM_PERIOD
324
+ */
325
+ NUM_PERIOD: 110,
326
+ /**
327
+ * NUM_DIVISION
328
+ */
329
+ NUM_DIVISION: 111,
330
+ /**
331
+ * F1
332
+ */
333
+ F1: 112,
334
+ /**
335
+ * F2
336
+ */
337
+ F2: 113,
338
+ /**
339
+ * F3
340
+ */
341
+ F3: 114,
342
+ /**
343
+ * F4
344
+ */
345
+ F4: 115,
346
+ /**
347
+ * F5
348
+ */
349
+ F5: 116,
350
+ /**
351
+ * F6
352
+ */
353
+ F6: 117,
354
+ /**
355
+ * F7
356
+ */
357
+ F7: 118,
358
+ /**
359
+ * F8
360
+ */
361
+ F8: 119,
362
+ /**
363
+ * F9
364
+ */
365
+ F9: 120,
366
+ /**
367
+ * F10
368
+ */
369
+ F10: 121,
370
+ /**
371
+ * F11
372
+ */
373
+ F11: 122,
374
+ /**
375
+ * F12
376
+ */
377
+ F12: 123,
378
+ /**
379
+ * NUMLOCK
380
+ */
381
+ NUMLOCK: 144,
382
+ /**
383
+ * SEMICOLON
384
+ */
385
+ SEMICOLON: 186,
386
+ // needs localization
387
+ /**
388
+ * DASH
389
+ */
390
+ DASH: 189,
391
+ // needs localization
392
+ /**
393
+ * EQUALS
394
+ */
395
+ EQUALS: 187,
396
+ // needs localization
397
+ /**
398
+ * COMMA
399
+ */
400
+ COMMA: 188,
401
+ // needs localization
402
+ /**
403
+ * PERIOD
404
+ */
405
+ PERIOD: 190,
406
+ // needs localization
407
+ /**
408
+ * SLASH
409
+ */
410
+ SLASH: 191,
411
+ // needs localization
412
+ /**
413
+ * APOSTROPHE
414
+ */
415
+ APOSTROPHE: 192,
416
+ // needs localization
417
+ /**
418
+ * SINGLE_QUOTE
419
+ */
420
+ SINGLE_QUOTE: 222,
421
+ // needs localization
422
+ /**
423
+ * OPEN_SQUARE_BRACKET
424
+ */
425
+ OPEN_SQUARE_BRACKET: 219,
426
+ // needs localization
427
+ /**
428
+ * BACKSLASH
429
+ */
430
+ BACKSLASH: 220,
431
+ // needs localization
432
+ /**
433
+ * CLOSE_SQUARE_BRACKET
434
+ */
435
+ CLOSE_SQUARE_BRACKET: 221,
436
+ // needs localization
437
+ /**
438
+ * WIN_KEY
439
+ */
440
+ WIN_KEY: 224,
441
+ /**
442
+ * MAC_FF_META
443
+ */
444
+ MAC_FF_META: 224,
445
+ // Firefox (Gecko) fires this for the meta key instead of 91
446
+ /**
447
+ * WIN_IME
448
+ */
449
+ WIN_IME: 229,
450
+ // ======================== Function ========================
451
+ /**
452
+ * whether text and modified key is entered at the same time.
453
+ */
454
+ isTextModifyingKeyEvent: function(e) {
455
+ var a = e.keyCode;
456
+ if (e.altKey && !e.ctrlKey || e.metaKey || // Function keys don't generate text
457
+ a >= E.F1 && a <= E.F12)
458
+ return !1;
459
+ switch (a) {
460
+ case E.ALT:
461
+ case E.CAPS_LOCK:
462
+ case E.CONTEXT_MENU:
463
+ case E.CTRL:
464
+ case E.DOWN:
465
+ case E.END:
466
+ case E.ESC:
467
+ case E.HOME:
468
+ case E.INSERT:
469
+ case E.LEFT:
470
+ case E.MAC_FF_META:
471
+ case E.META:
472
+ case E.NUMLOCK:
473
+ case E.NUM_CENTER:
474
+ case E.PAGE_DOWN:
475
+ case E.PAGE_UP:
476
+ case E.PAUSE:
477
+ case E.PRINT_SCREEN:
478
+ case E.RIGHT:
479
+ case E.SHIFT:
480
+ case E.UP:
481
+ case E.WIN_KEY:
482
+ case E.WIN_KEY_RIGHT:
483
+ return !1;
484
+ default:
485
+ return !0;
486
+ }
487
+ },
488
+ /**
489
+ * whether character is entered.
490
+ */
491
+ isCharacterKey: function(e) {
492
+ if (e >= E.ZERO && e <= E.NINE || e >= E.NUM_ZERO && e <= E.NUM_MULTIPLY || e >= E.A && e <= E.Z || window.navigator.userAgent.indexOf("WebKit") !== -1 && e === 0)
493
+ return !0;
494
+ switch (e) {
495
+ case E.SPACE:
496
+ case E.QUESTION_MARK:
497
+ case E.NUM_PLUS:
498
+ case E.NUM_MINUS:
499
+ case E.NUM_PERIOD:
500
+ case E.NUM_DIVISION:
501
+ case E.SEMICOLON:
502
+ case E.DASH:
503
+ case E.EQUALS:
504
+ case E.COMMA:
505
+ case E.PERIOD:
506
+ case E.SLASH:
507
+ case E.APOSTROPHE:
508
+ case E.SINGLE_QUOTE:
509
+ case E.OPEN_SQUARE_BRACKET:
510
+ case E.BACKSLASH:
511
+ case E.CLOSE_SQUARE_BRACKET:
512
+ return !0;
513
+ default:
514
+ return !1;
515
+ }
516
+ }
517
+ }, t = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" }, r = function(e, a) {
518
+ return /* @__PURE__ */ c.createElement(_, s({}, e, {
519
+ ref: a,
520
+ icon: t
521
+ }));
522
+ }, M = /* @__PURE__ */ c.forwardRef(r);
523
+ process.env.NODE_ENV !== "production" && (M.displayName = "CheckOutlined");
524
+ export {
525
+ E as K,
526
+ M as R
527
+ };
@@ -0,0 +1,13 @@
1
+ import { _ as c } from "./index-BWys7dkb.js";
2
+ import * as e from "react";
3
+ import { I as r } from "./AntdIcon-Bsnbyy6g.js";
4
+ var o = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" }, i = function(l, a) {
5
+ return /* @__PURE__ */ e.createElement(r, c({}, l, {
6
+ ref: a,
7
+ icon: o
8
+ }));
9
+ }, t = /* @__PURE__ */ e.forwardRef(i);
10
+ process.env.NODE_ENV !== "production" && (t.displayName = "CloseCircleFilled");
11
+ export {
12
+ t as R
13
+ };
@@ -0,0 +1,185 @@
1
+ import { _ as O, S as w, m as N, n as L, c as C, C as P } from "./index-BWys7dkb.js";
2
+ import * as r from "react";
3
+ import g from "react";
4
+ import { I as D } from "./AntdIcon-Bsnbyy6g.js";
5
+ import { t as E } from "./isVisible-CNQjrJPN.js";
6
+ var _ = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" }, M = function(t, n) {
7
+ return /* @__PURE__ */ r.createElement(D, O({}, t, {
8
+ ref: n,
9
+ icon: _
10
+ }));
11
+ }, j = /* @__PURE__ */ r.forwardRef(M);
12
+ process.env.NODE_ENV !== "production" && (j.displayName = "LoadingOutlined");
13
+ const R = (e) => {
14
+ const t = g.useContext(w);
15
+ return g.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
16
+ }, F = (e) => {
17
+ const {
18
+ componentCls: t
19
+ } = e;
20
+ return {
21
+ [t]: {
22
+ "&-block": {
23
+ display: "flex",
24
+ width: "100%"
25
+ },
26
+ "&-vertical": {
27
+ flexDirection: "column"
28
+ }
29
+ }
30
+ };
31
+ }, V = (e) => {
32
+ const {
33
+ componentCls: t,
34
+ antCls: n
35
+ } = e;
36
+ return {
37
+ [t]: {
38
+ display: "inline-flex",
39
+ "&-rtl": {
40
+ direction: "rtl"
41
+ },
42
+ "&-vertical": {
43
+ flexDirection: "column"
44
+ },
45
+ "&-align": {
46
+ flexDirection: "column",
47
+ "&-center": {
48
+ alignItems: "center"
49
+ },
50
+ "&-start": {
51
+ alignItems: "flex-start"
52
+ },
53
+ "&-end": {
54
+ alignItems: "flex-end"
55
+ },
56
+ "&-baseline": {
57
+ alignItems: "baseline"
58
+ }
59
+ },
60
+ [`${t}-item:empty`]: {
61
+ display: "none"
62
+ },
63
+ // https://github.com/ant-design/ant-design/issues/47875
64
+ [`${t}-item > ${n}-badge-not-a-wrapper:only-child`]: {
65
+ display: "block"
66
+ }
67
+ }
68
+ };
69
+ }, k = (e) => {
70
+ const {
71
+ componentCls: t
72
+ } = e;
73
+ return {
74
+ [t]: {
75
+ "&-gap-row-small": {
76
+ rowGap: e.spaceGapSmallSize
77
+ },
78
+ "&-gap-row-middle": {
79
+ rowGap: e.spaceGapMiddleSize
80
+ },
81
+ "&-gap-row-large": {
82
+ rowGap: e.spaceGapLargeSize
83
+ },
84
+ "&-gap-col-small": {
85
+ columnGap: e.spaceGapSmallSize
86
+ },
87
+ "&-gap-col-middle": {
88
+ columnGap: e.spaceGapMiddleSize
89
+ },
90
+ "&-gap-col-large": {
91
+ columnGap: e.spaceGapLargeSize
92
+ }
93
+ }
94
+ };
95
+ }, A = N("Space", (e) => {
96
+ const t = L(e, {
97
+ spaceGapSmallSize: e.paddingXS,
98
+ spaceGapMiddleSize: e.padding,
99
+ spaceGapLargeSize: e.paddingLG
100
+ });
101
+ return [V(t), k(t), F(t)];
102
+ }, () => ({}), {
103
+ // Space component don't apply extra font style
104
+ // https://github.com/ant-design/ant-design/issues/40315
105
+ resetStyle: !1
106
+ });
107
+ var S = function(e, t) {
108
+ var n = {};
109
+ for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
110
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var c = 0, a = Object.getOwnPropertySymbols(e); c < a.length; c++)
111
+ t.indexOf(a[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[c]) && (n[a[c]] = e[a[c]]);
112
+ return n;
113
+ };
114
+ const m = /* @__PURE__ */ r.createContext(null), J = (e, t) => {
115
+ const n = r.useContext(m), a = r.useMemo(() => {
116
+ if (!n)
117
+ return "";
118
+ const {
119
+ compactDirection: c,
120
+ isFirstItem: d,
121
+ isLastItem: u
122
+ } = n, l = c === "vertical" ? "-vertical-" : "-";
123
+ return C(`${e}-compact${l}item`, {
124
+ [`${e}-compact${l}first-item`]: d,
125
+ [`${e}-compact${l}last-item`]: u,
126
+ [`${e}-compact${l}item-rtl`]: t === "rtl"
127
+ });
128
+ }, [e, t, n]);
129
+ return {
130
+ compactSize: n == null ? void 0 : n.compactSize,
131
+ compactDirection: n == null ? void 0 : n.compactDirection,
132
+ compactItemClassnames: a
133
+ };
134
+ }, K = (e) => {
135
+ let {
136
+ children: t
137
+ } = e;
138
+ return /* @__PURE__ */ r.createElement(m.Provider, {
139
+ value: null
140
+ }, t);
141
+ }, B = (e) => {
142
+ var {
143
+ children: t
144
+ } = e, n = S(e, ["children"]);
145
+ return /* @__PURE__ */ r.createElement(m.Provider, {
146
+ value: n
147
+ }, t);
148
+ }, Q = (e) => {
149
+ const {
150
+ getPrefixCls: t,
151
+ direction: n
152
+ } = r.useContext(P), {
153
+ size: a,
154
+ direction: c,
155
+ block: d,
156
+ prefixCls: u,
157
+ className: l,
158
+ rootClassName: y,
159
+ children: x
160
+ } = e, v = S(e, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]), I = R((s) => a ?? s), i = t("space-compact", u), [b, G] = A(i), $ = C(i, G, {
161
+ [`${i}-rtl`]: n === "rtl",
162
+ [`${i}-block`]: d,
163
+ [`${i}-vertical`]: c === "vertical"
164
+ }, l, y), o = r.useContext(m), p = E(x), h = r.useMemo(() => p.map((s, f) => {
165
+ const z = (s == null ? void 0 : s.key) || `${i}-item-${f}`;
166
+ return /* @__PURE__ */ r.createElement(B, {
167
+ key: z,
168
+ compactSize: I,
169
+ compactDirection: c,
170
+ isFirstItem: f === 0 && (!o || (o == null ? void 0 : o.isFirstItem)),
171
+ isLastItem: f === p.length - 1 && (!o || (o == null ? void 0 : o.isLastItem))
172
+ }, s);
173
+ }), [a, p, o]);
174
+ return p.length === 0 ? null : b(/* @__PURE__ */ r.createElement("div", Object.assign({
175
+ className: $
176
+ }, v), h));
177
+ };
178
+ export {
179
+ Q as C,
180
+ K as N,
181
+ j as R,
182
+ R as a,
183
+ J as b,
184
+ A as u
185
+ };