aristid-ds 11.0.0 → 12.0.0-d87eebf

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 (187) hide show
  1. package/CHANGELOG.md +117 -2
  2. package/README.md +9 -8
  3. package/dist/Kit/App/index.js +66 -16
  4. package/dist/Kit/DataDisplay/Avatar/index.js +22 -2
  5. package/dist/Kit/DataDisplay/Avatar/types.d.ts +1 -1
  6. package/dist/Kit/DataDisplay/Collapse/index.js +80 -2
  7. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  8. package/dist/Kit/DataDisplay/Error/index.js +40 -19
  9. package/dist/Kit/DataDisplay/IdCard/index.js +22 -8
  10. package/dist/Kit/DataDisplay/Image/index.js +22 -8
  11. package/dist/Kit/DataDisplay/ItemCard/index.js +45 -18
  12. package/dist/Kit/DataDisplay/ItemList/index.js +53 -24
  13. package/dist/Kit/DataDisplay/RedirectCard/index.js +46 -12
  14. package/dist/Kit/DataDisplay/Table/index.js +104 -2
  15. package/dist/Kit/DataDisplay/Table/types.d.ts +2 -1
  16. package/dist/Kit/DataDisplay/Tabs/index.js +37 -13
  17. package/dist/Kit/DataDisplay/Tabs/types.d.ts +2 -0
  18. package/dist/Kit/DataDisplay/Tag/index.js +74 -2
  19. package/dist/Kit/DataDisplay/Tag/types.d.ts +1 -0
  20. package/dist/Kit/DataDisplay/Tag/useTagGroup.d.ts +13 -3
  21. package/dist/Kit/DataDisplay/Tree/index.js +13 -11
  22. package/dist/Kit/DataDisplay/index.js +31 -23
  23. package/dist/Kit/DataDisplay/types.d.ts +3 -2
  24. package/dist/Kit/DataEntry/AutoComplete/index.js +26 -8
  25. package/dist/Kit/DataEntry/AutoComplete/types.d.ts +5 -8
  26. package/dist/Kit/DataEntry/Checkbox/index.js +67 -2
  27. package/dist/Kit/DataEntry/Checkbox/types.d.ts +3 -7
  28. package/dist/Kit/DataEntry/ColorPicker/index.js +80 -7
  29. package/dist/Kit/DataEntry/ColorPicker/types.d.ts +9 -13
  30. package/dist/Kit/DataEntry/DatePicker/DatePicker.d.ts +2 -1
  31. package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +2 -1
  32. package/dist/Kit/DataEntry/DatePicker/index.js +28 -2
  33. package/dist/Kit/DataEntry/DatePicker/types.d.ts +3 -15
  34. package/dist/Kit/DataEntry/Filter/index.js +21 -19
  35. package/dist/Kit/DataEntry/Input/index.js +31 -2
  36. package/dist/Kit/DataEntry/Input/types.d.ts +7 -22
  37. package/dist/Kit/DataEntry/InputNumber/index.js +22 -7
  38. package/dist/Kit/DataEntry/InputNumber/types.d.ts +3 -8
  39. package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
  40. package/dist/Kit/DataEntry/InputWrapper/types.d.ts +11 -6
  41. package/dist/Kit/DataEntry/Radio/index.js +53 -2
  42. package/dist/Kit/DataEntry/Radio/types.d.ts +9 -8
  43. package/dist/Kit/DataEntry/Rate/index.js +1 -1
  44. package/dist/Kit/DataEntry/Rate/types.d.ts +1 -1
  45. package/dist/Kit/DataEntry/RichText/EditorContentCharacterCount/index.js +1 -1
  46. package/dist/Kit/DataEntry/RichText/MenuBar/ButtonTooltip/index.js +4 -12
  47. package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +64 -16
  48. package/dist/Kit/DataEntry/RichText/MenuBar/FontStylesButtons/index.js +18 -6
  49. package/dist/Kit/DataEntry/RichText/MenuBar/IndentListButtons/index.js +15 -6
  50. package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +73 -7
  51. package/dist/Kit/DataEntry/RichText/MenuBar/ListButtons/index.js +16 -6
  52. package/dist/Kit/DataEntry/RichText/MenuBar/TextAlignButtons/index.js +20 -6
  53. package/dist/Kit/DataEntry/RichText/MenuBar/UndoRedoButtons/index.js +15 -6
  54. package/dist/Kit/DataEntry/RichText/MenuBar/index.js +19 -11
  55. package/dist/Kit/DataEntry/RichText/index.js +76 -15
  56. package/dist/Kit/DataEntry/RichText/types.d.ts +3 -8
  57. package/dist/Kit/DataEntry/Select/guard.d.ts +1 -2
  58. package/dist/Kit/DataEntry/Select/index.js +136 -9
  59. package/dist/Kit/DataEntry/Select/renders.d.ts +3 -15
  60. package/dist/Kit/DataEntry/Select/types.d.ts +8 -14
  61. package/dist/Kit/DataEntry/Select/useIcons.d.ts +5 -7
  62. package/dist/Kit/DataEntry/Slider/index.js +1 -1
  63. package/dist/Kit/DataEntry/Switch/index.js +1 -1
  64. package/dist/Kit/DataEntry/Upload/index.js +27 -3
  65. package/dist/Kit/DataEntry/index.js +30 -19
  66. package/dist/Kit/Feedback/Alert/index.js +59 -5
  67. package/dist/Kit/Feedback/Loader/index.js +1 -1
  68. package/dist/Kit/Feedback/Modal/index.js +152 -2
  69. package/dist/Kit/Feedback/Modal/types.d.ts +5 -4
  70. package/dist/Kit/Feedback/Notification/index.js +1 -1
  71. package/dist/Kit/Feedback/Progress/index.js +1 -1
  72. package/dist/Kit/Feedback/Skeleton/index.js +1 -1
  73. package/dist/Kit/Feedback/SnackBar/index.d.ts +1 -1
  74. package/dist/Kit/Feedback/SnackBar/index.js +35 -26
  75. package/dist/Kit/Feedback/SnackBar/snack-bar-function.d.ts +1 -1
  76. package/dist/Kit/Feedback/SnackBar/types.d.ts +7 -13
  77. package/dist/Kit/Feedback/index.js +15 -14
  78. package/dist/Kit/General/Button/index.js +83 -4
  79. package/dist/Kit/General/DynamicActions/DynamicActions.d.ts +3 -0
  80. package/dist/Kit/General/DynamicActions/EllipsisButton.d.ts +3 -0
  81. package/dist/Kit/General/DynamicActions/index.d.ts +7 -0
  82. package/dist/Kit/General/DynamicActions/index.js +34 -0
  83. package/dist/Kit/General/DynamicActions/types.d.ts +14 -0
  84. package/dist/Kit/General/Icon/index.js +1 -1
  85. package/dist/Kit/General/Typography/index.js +1 -1
  86. package/dist/Kit/General/index.js +5 -5
  87. package/dist/Kit/Layout/Divider/index.js +1 -1
  88. package/dist/Kit/Layout/Divider/types.d.ts +1 -1
  89. package/dist/Kit/Layout/PageLayout/index.js +17 -2
  90. package/dist/Kit/Layout/Section/index.js +1 -1
  91. package/dist/Kit/Layout/index.js +1 -1
  92. package/dist/Kit/Navigation/Breadcrumb/index.js +1 -1
  93. package/dist/Kit/Navigation/DropDown/index.js +37 -9
  94. package/dist/Kit/Navigation/Header/index.js +58 -2
  95. package/dist/Kit/Navigation/PageHeader/index.js +37 -19
  96. package/dist/Kit/Navigation/Pagination/index.js +11 -9
  97. package/dist/Kit/Navigation/Pagination/types.d.ts +3 -1
  98. package/dist/Kit/Navigation/SideMenu/index.js +56 -2
  99. package/dist/Kit/Navigation/SidePanel/index.js +66 -2
  100. package/dist/Kit/Navigation/SidePanel/types.d.ts +2 -0
  101. package/dist/Kit/Navigation/Steps/index.js +1 -1
  102. package/dist/Kit/Navigation/index.js +14 -11
  103. package/dist/Kit/index.js +174 -146
  104. package/dist/assets/Avatar.css +1 -0
  105. package/dist/assets/InputWrapper.css +1 -0
  106. package/dist/assets/icons/chevrons/LeftChevrons.d.ts +2 -0
  107. package/dist/assets/icons/chevrons/RightChevrons.d.ts +2 -0
  108. package/dist/assets/index10.css +1 -1
  109. package/dist/assets/index11.css +1 -1
  110. package/dist/assets/index12.css +1 -1
  111. package/dist/assets/index13.css +1 -1
  112. package/dist/assets/index14.css +1 -1
  113. package/dist/assets/index15.css +1 -1
  114. package/dist/assets/index16.css +1 -1
  115. package/dist/assets/index17.css +1 -1
  116. package/dist/assets/index18.css +1 -1
  117. package/dist/assets/index19.css +1 -1
  118. package/dist/assets/index2.css +1 -1
  119. package/dist/assets/index20.css +1 -0
  120. package/dist/assets/index21.css +1 -0
  121. package/dist/assets/index22.css +1 -0
  122. package/dist/assets/index23.css +1 -0
  123. package/dist/assets/index24.css +1 -0
  124. package/dist/assets/index25.css +1 -0
  125. package/dist/assets/index26.css +1 -0
  126. package/dist/assets/index27.css +1 -0
  127. package/dist/assets/index28.css +1 -0
  128. package/dist/assets/index29.css +1 -0
  129. package/dist/assets/index3.css +1 -1
  130. package/dist/assets/index30.css +1 -0
  131. package/dist/assets/index31.css +1 -0
  132. package/dist/assets/index32.css +1 -0
  133. package/dist/assets/index33.css +1 -0
  134. package/dist/assets/index34.css +1 -0
  135. package/dist/assets/index35.css +1 -0
  136. package/dist/assets/index36.css +1 -0
  137. package/dist/assets/index37.css +1 -0
  138. package/dist/assets/index38.css +1 -0
  139. package/dist/assets/index39.css +1 -0
  140. package/dist/assets/index4.css +1 -1
  141. package/dist/assets/index40.css +1 -0
  142. package/dist/assets/index41.css +1 -0
  143. package/dist/assets/index42.css +1 -0
  144. package/dist/assets/index43.css +1 -0
  145. package/dist/assets/index44.css +1 -0
  146. package/dist/assets/index45.css +1 -0
  147. package/dist/assets/index46.css +1 -0
  148. package/dist/assets/index47.css +1 -0
  149. package/dist/assets/index48.css +1 -0
  150. package/dist/assets/index49.css +1 -0
  151. package/dist/assets/index5.css +1 -1
  152. package/dist/assets/index50.css +1 -0
  153. package/dist/assets/index6.css +1 -1
  154. package/dist/assets/index7.css +1 -1
  155. package/dist/assets/index8.css +1 -1
  156. package/dist/assets/index9.css +1 -1
  157. package/dist/assets/styles.css +1 -1
  158. package/dist/chunks/Avatar.N2w2jq_C.js +30 -0
  159. package/dist/chunks/InputWrapper._05UBJgS.js +23 -0
  160. package/dist/chunks/KitNotification.RhW3PPyX.js +53 -0
  161. package/dist/chunks/{SnackBarProvider.xMKXdZ88.js → SnackBarProvider.T-xLQpTN.js} +4 -3
  162. package/dist/chunks/getButtonActiveClass.SjojTAbN.js +4 -0
  163. package/dist/chunks/notification-provider.9msrEKBe.js +73 -0
  164. package/dist/chunks/{styles.module.Q_QQjQdX.js → styles.module.4eW8VunD.js} +1 -1
  165. package/dist/chunks/useKitLocale.96CdK3og.js +11 -0
  166. package/dist/index.es.js +180 -150
  167. package/dist/index.umd.js +5 -5
  168. package/dist/theme/aristid/components/Navigation/DropDown/index.js +0 -1
  169. package/dist/theme/types/components/Navigation/DropDown/index.d.ts +0 -6
  170. package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +1 -1
  171. package/dist/translation/en-US/components/DataEntry/ColorPicker/index.d.ts +2 -0
  172. package/dist/translation/en-US/components/DataEntry/ColorPicker/index.js +6 -0
  173. package/dist/translation/en-US/index.js +13 -11
  174. package/dist/translation/fr-FR/components/DataEntry/ColorPicker/index.d.ts +2 -0
  175. package/dist/translation/fr-FR/components/DataEntry/ColorPicker/index.js +6 -0
  176. package/dist/translation/fr-FR/index.js +9 -7
  177. package/dist/translation/types/components/DataEntry/ColorPicker/index.d.ts +3 -0
  178. package/dist/translation/types/index.d.ts +2 -0
  179. package/dist/utils/hooks/useClickOutside.d.ts +8 -0
  180. package/dist/utils/hooks/useKeyboardShortcut.d.ts +7 -0
  181. package/package.json +152 -151
  182. package/dist/assets/styles2.css +0 -1
  183. package/dist/chunks/KitNotification.GTRTPM11.js +0 -58
  184. package/dist/chunks/index.2xXr1nME.js +0 -1616
  185. package/dist/chunks/index.S1tc6cnV.js +0 -31
  186. package/dist/chunks/index.bf78FwPu.js +0 -41
  187. package/dist/chunks/styles.module.YmhPHVHy.js +0 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,120 @@
1
1
  # Changelog
2
2
 
3
+ ## [X.X.X0](https://www.npmjs.com/package/aristid-ds/v/X.X.X) (202X-XX-XX)
4
+
5
+ ### 📦 Upgrade
6
+
7
+ > **⚠️ Breaking change:** Upgrade AntDesign version to 5.22.2 (@evoiron, @7Remy, @philippechevieux, @P0ppoff)
8
+
9
+ The following points are the impact of this version upgrade:
10
+
11
+ - **Avatar**:
12
+ - Add `max` prop to set maximum display related configurations. The following props are now deprecated: (@philippechevieux)
13
+ - `macCount`
14
+ - `maxStyle`
15
+ - `maxPopoverPlacement`
16
+ - `maxPopoverTrigger`
17
+ - **Table**:
18
+ - Add `onScroll` prop that will be triggered when table body is scrolled (@philippechevieux)
19
+ - Add `showSorterTooltip` prop to manage sorting tooltip (@philippechevieux)
20
+ - Add `minWidth` prop to set column min width (@philippechevieux)
21
+ - **Tree**:
22
+ - Add `switcherLoadingIcon` prop to customize loading icons for tree nodes (@philippechevieux)
23
+ - **Pagination**:
24
+ - Add `showSizeChanger` prop to show or not the pages selector (@7Remy)
25
+ - Disallow `simple` and `align` props (@7Remy)
26
+ - **Progress**:
27
+ - Add `percentPosition` prop to decide where the percentage is (@7Remy)
28
+ - **Typography**:
29
+ - `expandable` prop has new possible value `collapsible`, in addition to exisiting booleans (@7Remy)
30
+ - **Input**:
31
+ - Add `onClear` prop that will be triggered when the clear button is clicked (@evoiron)
32
+ - **InputNumber**:
33
+ - `focus` method on ref now accepts a `cursor` parameter that controls the cursor behavior on focus. See doc for details (@evoiron)
34
+ - `nativeElement` is now exposed by ref to get access to the dom Element (@evoiron)
35
+ - **Slider**:
36
+ - Add `editable` prop on the `range` props of `KitSlider` (@evoiron)
37
+ - Add `minCount` prop on the `range` props of `KitSlider` (@evoiron)
38
+ - Add `maxCount` prop on the `range` props of `KitSlider` (@evoiron)
39
+ - **Upload**:
40
+ - Add `extra` option to `showUploadList` prop (@evoiron)
41
+ - Options `showPreview`, `showRemoveIcon` and `showDownloadIcon` of `showUploadList` prop now accept a function (@evoiron)
42
+ - **Checkbox**:
43
+ - Add focus event listeners `onFocus` and `onBlur` props with documentation (@P0ppoff)
44
+ - Update documentation to avoid conflict in API section between `<Checkbox />` and `<Checkbox.Group />` (@P0ppoff)
45
+ - **ColorPicker**
46
+ - Disallow `mode` prop from upgrade (@P0ppoff)
47
+ - Add `disabledFormat` prop (@P0ppoff)
48
+ - Add method to convert CSS to string: `toCssString` (@P0ppoff)
49
+ - **DatePicker**
50
+ - Rework `prefix`/`suffixIcon` icon props + new example (Christmas theme) (@P0ppoff)
51
+ - **Select**
52
+ - Fix alignment for multiple values (@P0ppoff)
53
+ - Fix `oneLineTags` message (@P0ppoff)
54
+ - Allow to customize `prefix` and `suffixIcon` icons (@P0ppoff)
55
+ - Add `filterSort` prop to replace sort on array of selectable values (@P0ppoff)
56
+
57
+ ### ✨ Features
58
+
59
+ - **Tabs**:
60
+ - Add controlled state to handle navigation within tabs (@renaudamsellem)
61
+
62
+ ### 🐛 Bug Fixes
63
+
64
+ - **Modal**
65
+
66
+ - Allow to pass className as props just like other components (@renaudamsellem)
67
+
68
+ - **Button**
69
+ - Fix hover and focus state color when redirect button is inside a typography text (@renaudamsellem)
70
+
71
+ ## [12.0.0](https://www.npmjs.com/package/aristid-ds/v/12.0.0) (2024-01-09)
72
+
73
+ ### ✨ Features
74
+
75
+ - **Tag Group**:
76
+ - Display hidden tags (@Delmotte-Vincent)
77
+ - **SidePanel**:
78
+ - Close side panel on escape key press (@Delmotte-Vincent)
79
+ - Close side panel on click outside (@Delmotte-Vincent)
80
+ - **⚠️ Breaking change - InputWrapper**:
81
+ - Removed `actions` prop and replace it by `extra` prop (@philippechevieux)
82
+ - Remove `infoIcon` and `onInfoClick` props. Please use `extra` prop instead (@philippechevieux)
83
+ - **⚠️ Breaking change - SnackBar**:
84
+ - Deprecated `ctaText` and `ctaOnClick` props and replace it by `actions` prop (@evoiron)
85
+ - `message` prop now accepts a `ReactNode` (@evoiron)
86
+ - Add `onClose` prop to allow some action when closing the snackbar (@evoiron)
87
+ - Add `actionsInDropDown` prop to force display all actions in a dropdown. By default it can handle 3 actions before showing a dropdown (@evoiron)
88
+ - **DatePicker**:
89
+ - Design update (@fatb38)
90
+ - **ColorPicker**:
91
+ - Displays a placeholder when no color is selected (@philippechevieux)
92
+ - Add `placeholder` prop to customize the default placeholder (@philippechevieux)
93
+ - Delete button to remove color from DropDown (@philippechevieux)
94
+ - Add a default `min-width` to prevent from changing width when selecting a color (@philippechevieux)
95
+ - **Select**:
96
+ - Add `onDeselect` prop called when an option is deselected. Only called for `multiple` or `tags` (@philippechevieux)
97
+ - Add `onTagClose` prop to `IKitOption` called when a tag is closed (@philippechevieux)
98
+ - **RichText**:
99
+ - Add suport for HTML `autoFocus` prop (@philippechevieux)
100
+
101
+ ### 🐛 Bug Fixes
102
+
103
+ - **ColorPicker**:
104
+ - Fix an issue related to `defaultValue` prop (@philippechevieux)
105
+ - Fix an issue where the DropDown remained open even if the `open` prop was set to `false` (@philippechevieux)
106
+ - Fix an issue where it was no longer possible to change the color type (`rgb`, `hex`, `hsb`) from the DropDown (@philippechevieux)
107
+ - Fix an issue where opacity was no longer displayed as a percentage for a hex color (@philippechevieux)
108
+ - Fix clear icon position when using `showText` prop (@philippechevieux)
109
+ - **InputNumber**:
110
+ - Fix text default color (@philippechevieux)
111
+ - **Error:**
112
+ - Fix svg responsiveness (@philippechevieux)
113
+ - **RedirectCard**:
114
+ - Fix arrow position (@nicolasnssm)
115
+ - **Tabs**:
116
+ - Fix full-width instead of fit-content for pill tabs (@fatb38)
117
+
3
118
  ## [11.0.0](https://www.npmjs.com/package/aristid-ds/v/11.0.0) (2024-11-27)
4
119
 
5
120
  ### ✨ Features
@@ -13,6 +128,8 @@
13
128
  - **⚠️ Breaking change - Pagination:**
14
129
  - `bordered` prop doesn't exist anymore (@7Remy)
15
130
  - New design (@7Remy)
131
+ - **⚠️ Breaking change - Button:**
132
+ - Change available colors on segmented button (same as `Tag` component) (@evoiron)
16
133
  - **Table**:
17
134
  - Handle two different line heights (m/l) (@7Remy)
18
135
  - Reduce sort icons size (@7Remy)
@@ -21,8 +138,6 @@
21
138
  - Make table and rows background customisable with `cellsBackgroundColor` and `backgroundColor`props (@evoiron)
22
139
  - Add `showHeader`prop to show or hide table header (@evoiron)
23
140
  - Add `borderedRows` prop to add a border to table rows (@evoiron)
24
- - **⚠️ Breaking change - Button:**
25
- - Change available colors on segmented button (same as `Tag` compoent) (@evoiron)
26
141
  - **Button**
27
142
  - Add role `link` when type prop is set to `link` or `redirect` (@philippechevieux)
28
143
  - Add `size` props, usable when type is `primary`, `secondary` or `tertiary` (@evoiron)
package/README.md CHANGED
@@ -244,8 +244,8 @@ Every components **style** of the design system can be **override** by tokens.
244
244
  mkdir DESIGN-SYSTEM/src/theme/type/components/DataDisplay/tooltip
245
245
  ```
246
246
 
247
- <br/>
248
- In this file, you have all the tokens type definition. The tokens follow some rules you can find here [TODO]
247
+ <br/>
248
+ In this file, you have all the tokens type definition. The tokens follow some rules you can find here [TODO]
249
249
 
250
250
  2. **Create a token file**
251
251
  The token file is the definition of all tokens with their value. It exports a function that create the theme for the cmponent. You define this file in the `aristid` that is the default theme of the design system.
@@ -263,8 +263,8 @@ Every components **style** of the design system can be **override** by tokens.
263
263
  5. **Component Antd mapper**
264
264
  As we use both `antd` and `design system` tokens, we normalize all token to follow a same model. If your component uses antd tokens, you have to add a mapper in the `src/theme/utils/tokens-mapper` folder. This folder as the same folder structure as the rest of the application.
265
265
 
266
- <br/>
267
- Example of component mapper :
266
+ <br/>
267
+ Example of component mapper :
268
268
 
269
269
  ```tsx
270
270
  // utils/tokens-mapper/DataDisplay/Tag
@@ -288,7 +288,7 @@ Every components **style** of the design system can be **override** by tokens.
288
288
  7. **Theme consumption**
289
289
  You can use the theme in your styled component by calling the hook `useKitTheme`. You can get the component theme by calling `theme.components.Tooltip`.
290
290
 
291
- </br>
291
+ </br>
292
292
 
293
293
  ```tsx
294
294
  const {theme} = useKitTheme();
@@ -570,17 +570,18 @@ git flow release finish '0.1.0'
570
570
 
571
571
  <img src="http://storybook.aristid.com/public/images/gitflow-hotfix.png" alt="Logo" height="250px">
572
572
 
573
- Creating a release
573
+ Creating a hotfix
574
574
 
575
575
  ```sh
576
576
  git flow hotfix start fixTooltip
577
577
  ```
578
578
 
579
- Finishing a release
579
+ Finishing a hotfix
580
580
 
581
581
  ```sh
582
582
  git flow hotfix finish fixTooltip
583
583
  ```
584
+
584
585
  ## Documentation
585
586
 
586
- All architectural decisions are recorded inside [docs/ folder](./docs/ADR.md)
587
+ All architectural decisions are recorded inside [docs/ folder](./docs/ADR.md)
@@ -1,18 +1,68 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "antd";
4
- import "../../chunks/SnackBarProvider.xMKXdZ88.js";
5
- import { K as g } from "../../chunks/index.2xXr1nME.js";
6
- import "../../theme/utils/tokens-mapper/index.js";
7
- import "../../translation/utils/index.js";
8
- import "../../chunks/index.S1tc6cnV.js";
9
- import "../../chunks/index.bf78FwPu.js";
10
- import "../DataDisplay/Badge/index.js";
11
- import "../DataDisplay/Empty/index.js";
12
- import "../DataDisplay/Tree/index.js";
13
- import "../DataDisplay/Tooltip/index.js";
14
- import "../../chunks/useKitTheme.KSAU-Pdv.js";
15
- import "classnames";
1
+ import "../../assets/index28.css";
2
+ import { jsx as n, jsxs as f, Fragment as h } from "react/jsx-runtime";
3
+ import { useState as u, useLayoutEffect as L, useRef as S, useEffect as P } from "react";
4
+ import { ConfigProvider as C } from "antd";
5
+ import { K as b } from "../../chunks/SnackBarProvider.T-xLQpTN.js";
6
+ import { toCssVariables as g, uuid as y } from "../../utils/functions/index.js";
7
+ import a from "lodash/merge";
8
+ import { Style as m } from "react-style-tag";
9
+ import { K as E } from "../../chunks/useKitTheme.KSAU-Pdv.js";
10
+ import { KitAristidThemeGeneral as l } from "../../theme/aristid/general/index.js";
11
+ import { antdThemeConfig as T } from "../../theme/utils/tokens-mapper/index.js";
12
+ import { frFR as d } from "../../translation/fr-FR/index.js";
13
+ import { enUS as $ } from "../../translation/en-US/index.js";
14
+ import { K as j, u as k } from "../../chunks/useKitLocale.96CdK3og.js";
15
+ import { mapKitLocaleToAntdLocale as x } from "../../translation/utils/index.js";
16
+ import { d as A } from "../../chunks/notification-provider.9msrEKBe.js";
17
+ import { KitEmpty as p } from "../DataDisplay/Empty/index.js";
18
+ const F = "aristid-ds-global", I = (t, e) => {
19
+ const o = g(t);
20
+ return `
21
+ .${e} {
22
+ ${Object.keys(o).map((r) => `${r}: ${o[r]}`).join(";")}
23
+ }
24
+ `;
25
+ }, R = ({ children: t, customTheme: e, id: o }) => {
26
+ const [r, i] = u(null), { theme: v, appId: c, spacing: K } = _(o, e);
27
+ return L(() => {
28
+ const s = g(l, "--general");
29
+ i(s);
30
+ }, []), n(E.Provider, { value: { theme: v, appId: c, spacing: K }, children: r !== null && f(h, { children: [n(m, { id: F, hasSourceMap: !1, children: `
31
+ :root {
32
+ ${Object.keys(r).map((s) => `${s}: ${r[s]}`).join(";")}
33
+ }
34
+ ` }), e && n(m, { hasSourceMap: !1, children: I(a({ general: { utilities: l.utilities } }, e), c) }), t] }) });
35
+ }, _ = (t, e) => {
36
+ var o;
37
+ const r = S(t || "ds-" + y().substring(0, 8)), i = a(l.spacing, (o = e == null ? void 0 : e.general) === null || o === void 0 ? void 0 : o.spacing);
38
+ return {
39
+ theme: l,
40
+ appId: r.current,
41
+ spacing: i
42
+ };
43
+ }, M = ({ children: t }) => {
44
+ const e = N();
45
+ return n(j.Provider, { value: e, children: t });
46
+ }, N = () => {
47
+ const [t, e] = u(d);
48
+ return { locale: t, setKitLocale: (r) => {
49
+ if (r.locale === "frFR") {
50
+ const i = a(d, r);
51
+ e(i);
52
+ } else {
53
+ const i = a($, r);
54
+ e(i);
55
+ }
56
+ } };
57
+ }, te = ({ children: t, locale: e, customTheme: o, id: r }) => n(R, { customTheme: o, id: r, children: n(M, { children: n(O, { locale: e, children: t }) }) }), O = ({ children: t, locale: e }) => {
58
+ const { locale: o, setKitLocale: r } = k();
59
+ return P(() => {
60
+ e !== void 0 && r(e);
61
+ }, [e, r]), n(C, { theme: T, locale: x(e), renderEmpty: () => {
62
+ var i;
63
+ return n(p, { className: "default-render", image: p.ASSET_LIST, description: (i = o.Empty) === null || i === void 0 ? void 0 : i.noData });
64
+ }, children: f(A, { children: [n(b, {}), t] }) });
65
+ };
16
66
  export {
17
- g as KitApp
67
+ te as KitApp
18
68
  };
@@ -1,4 +1,24 @@
1
- import { K as t } from "../../../chunks/index.bf78FwPu.js";
1
+ import { s as t, K as n } from "../../../chunks/Avatar.N2w2jq_C.js";
2
+ import { jsx as u } from "react/jsx-runtime";
3
+ import { Avatar as c } from "antd";
4
+ import { u as d } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
5
+ import A from "classnames";
6
+ const K = ({ className: a, disabled: s, max: r, ...v }) => {
7
+ var o;
8
+ const { appId: l } = d(), p = A(l, t["kit-avatar-group"], a, {
9
+ "override-last": !!(r != null && r.count),
10
+ [t["kit-avatar-group-disabled"]]: s
11
+ }), e = {
12
+ ...r,
13
+ style: {
14
+ ...r == null ? void 0 : r.style,
15
+ cursor: ((o = r == null ? void 0 : r.popover) === null || o === void 0 ? void 0 : o.trigger) === "click" ? "pointer" : "initial"
16
+ }
17
+ };
18
+ return u(c.Group, { ...v, max: e, className: p });
19
+ }, f = K, i = n;
20
+ i.displayName = "KitAvatar";
21
+ i.Group = f;
2
22
  export {
3
- t as KitAvatar
23
+ i as KitAvatar
4
24
  };
@@ -5,7 +5,7 @@ import {FunctionComponent} from 'react';
5
5
  import {KitColorProp} from '../../../utils/functions/types';
6
6
 
7
7
  type AntdAvatarTypesToOmit = '';
8
- type AntdAvatarGroupTypesToOmit = 'maxStyle';
8
+ type AntdAvatarGroupTypesToOmit = '';
9
9
 
10
10
  type KitImageFit = 'cover' | 'contain' | 'fill';
11
11
 
@@ -1,4 +1,82 @@
1
- import { b as e } from "../../../chunks/index.2xXr1nME.js";
1
+ import "../../../assets/index37.css";
2
+ import { jsx as t, jsxs as f } from "react/jsx-runtime";
3
+ import { cloneElement as C, useState as N } from "react";
4
+ import { Collapse as E } from "antd";
5
+ import { u as y } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
6
+ import { FontAwesomeIcon as k } from "@fortawesome/react-fontawesome";
7
+ import { faChevronDown as _, faEye as A, faEllipsisVertical as I } from "@fortawesome/free-solid-svg-icons";
8
+ import D from "classnames";
9
+ import { KitTypography as g } from "../../General/Typography/index.js";
10
+ import { KitTag as T } from "../Tag/index.js";
11
+ import { KitImage as z } from "../Image/index.js";
12
+ import { KitSwitch as S } from "../../DataEntry/Switch/index.js";
13
+ import { KitTooltip as h } from "../Tooltip/index.js";
14
+ import { KitButton as v } from "../../General/Button/index.js";
15
+ import { KitDropDown as b } from "../../Navigation/DropDown/index.js";
16
+ import { u as P } from "../../../chunks/useKitLocale.96CdK3og.js";
17
+ const u = {
18
+ "kit-collapse": "_kit-collapse_h05zd_2",
19
+ "kit-collapse-header": "_kit-collapse-header_h05zd_78",
20
+ "kit-collapse-header-extra": "_kit-collapse-header-extra_h05zd_113"
21
+ }, M = () => t(k, { icon: _ }), K = ({ className: o, expandIcon: e, items: l, collapsible: i, ...a }) => {
22
+ const { appId: n } = y();
23
+ i === "disabled" && (l == null || l.forEach((r) => {
24
+ var s, d;
25
+ if (r.label !== void 0) {
26
+ const p = r.label, m = r.extra;
27
+ p !== void 0 && ((s = p.type) === null || s === void 0 ? void 0 : s.displayName) === "KitHeader" && (r.label = C(p, {
28
+ disabled: !0
29
+ })), m !== void 0 && ((d = m.type) === null || d === void 0 ? void 0 : d.displayName) === "KitHeaderExtra" && (r.extra = C(m, {
30
+ disabled: !0
31
+ }));
32
+ }
33
+ }));
34
+ const c = D(n, u["kit-collapse"], o);
35
+ return t(E, { ...a, className: c, expandIcon: e ?? M, expandIconPosition: "end", collapsible: i, items: l });
36
+ };
37
+ K.displayName = "KitCollapse";
38
+ const $ = ({ onSwitchChange: o, disabled: e }) => t("div", { className: "kit-collapse-header-switch", onClick: (
39
+ // We don't want to collapse/extand item when clicking
40
+ (l) => l.stopPropagation()
41
+ ), children: t(S, { onChange: (l, i) => {
42
+ const n = i.target.closest(".ant-collapse-item");
43
+ n == null || n.setAttribute("data-item-selected", l.toString()), o(l, i);
44
+ }, disabled: e }) }), j = ({ imageSrc: o }) => t("div", { className: "kit-collapse-header-image", onClick: (
45
+ // We don't want to collapse/extand item when clicking
46
+ (e) => e.stopPropagation()
47
+ ), children: t(z, { src: o, style: { height: "auto", width: "auto", maxHeight: "90px", maxWidth: "50px" }, preview: {
48
+ mask: t(k, { icon: A })
49
+ } }) }), O = ({ title: o, description: e, tagProps: l, disabled: i }) => {
50
+ let a = "kit-collapse-header-content";
51
+ return a += o !== void 0 && e !== void 0 ? " kit-collapse-header-content-rows" : "", f("div", { className: a, children: [l !== void 0 && t("div", { className: "kit-collapse-header-tag", children: t(T, { ...l, disabled: i ?? l.disabled }) }), o !== void 0 && t(g.Text, { className: "kit-collapse-header-content-title", size: "fontSize5", weight: "bold", ellipsis: { tooltip: !0 }, disabled: i, children: o }), e !== void 0 && t(g.Text, { className: "kit-collapse-header-content-description", size: "fontSize5", ellipsis: { tooltip: !0 }, disabled: i, children: e })] });
52
+ }, w = ({ onSwitchChange: o, imageSrc: e, title: l, description: i, tagProps: a, disabled: n = !1 }) => f("div", { className: `${u["kit-collapse-header"]}`, children: [o !== void 0 && t($, { onSwitchChange: o, disabled: n }), e !== void 0 && t(j, { imageSrc: e }), t(O, { title: l, description: i, tagProps: a, disabled: n })] });
53
+ w.displayName = "KitHeader";
54
+ const B = w, F = ({ actions: o, disabled: e }) => {
55
+ var l;
56
+ const [i, a] = N(!1), { locale: n } = P(), c = o[0] ? o[0] : null, r = o.length <= 2 && o[1] ? o[1] : null;
57
+ return f("div", { className: "kit-collapse-header-extra-actions", children: [c && t(h, { title: c.label, open: e ? !1 : void 0, children: t(v, { icon: c.icon, disabled: e, onClick: (s) => {
58
+ s.stopPropagation(), c.onClick && c.onClick(s);
59
+ } }) }), r && t(h, { title: r.label, open: e ? !1 : void 0, children: t(v, { icon: r.icon, disabled: e, onClick: (s) => {
60
+ s.stopPropagation(), r.onClick !== void 0 && r.onClick(s);
61
+ } }) }), o.length > 2 && t("div", { onClick: (s) => {
62
+ s.stopPropagation();
63
+ }, children: t(b, { menu: {
64
+ items: L({ actions: o })
65
+ }, trigger: ["click"], onOpenChange: () => a(!1), children: t(h, { title: (l = n.Collapse) === null || l === void 0 ? void 0 : l.more, open: e ? !1 : i, onOpenChange: a, children: t(v, { icon: t(k, { icon: I }), disabled: e }) }) }) })] });
66
+ }, L = ({ actions: o }) => {
67
+ const e = [...o];
68
+ return e.splice(0, 1), e.map((i, a) => ({
69
+ key: a,
70
+ icon: i.icon,
71
+ label: i.label,
72
+ onClick: (n) => i.onClick && i.onClick(n)
73
+ }));
74
+ }, H = ({ actions: o, disabled: e = !1 }) => t("div", { className: `${u["kit-collapse-header-extra"]}`, children: o !== void 0 && t(F, { actions: o, disabled: e }) });
75
+ H.displayName = "KitHeaderExtra";
76
+ const V = H, x = K;
77
+ x.displayName = "KitCollapse";
78
+ x.Header = B;
79
+ x.HeaderExtra = V;
2
80
  export {
3
- e as KitCollapse
81
+ x as KitCollapse
4
82
  };
@@ -1,4 +1,4 @@
1
- import "../../../assets/index18.css";
1
+ import "../../../assets/index50.css";
2
2
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
3
  import { Empty as p } from "antd";
4
4
  import { u as m } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,21 +1,42 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "antd";
4
- import "../../../chunks/index.S1tc6cnV.js";
5
- import "../../../chunks/useKitTheme.KSAU-Pdv.js";
6
- import { c as k } from "../../../chunks/index.2xXr1nME.js";
7
- import "../../General/Typography/index.js";
8
- import "../../General/Icon/index.js";
9
- import "../../Layout/Divider/index.js";
10
- import "../../Layout/Space/index.js";
11
- import "color-convert";
12
- import "color-string";
13
- import "lodash/isEmpty";
14
- import "classnames";
15
- import "../../../chunks/styles.module.Q_QQjQdX.js";
16
- import "../../Feedback/Progress/index.js";
17
- import "../../Feedback/Loader/index.js";
18
- import "react-hot-toast";
1
+ import "../../../assets/index49.css";
2
+ import { jsxs as r, jsx as c } from "react/jsx-runtime";
3
+ import { Suspense as v } from "react";
4
+ import { Empty as d } from "antd";
5
+ import { u as w } from "../../../chunks/useKitLocale.96CdK3og.js";
6
+ import { u as p } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
7
+ import { KitTypography as M } from "../../General/Typography/index.js";
8
+ import { KitSpace as g } from "../../Layout/Space/index.js";
9
+ import f from "classnames";
10
+ import { KitLoader as L } from "../../Feedback/Loader/index.js";
11
+ const x = {
12
+ "kit-error": "_kit-error_1ivt5_2"
13
+ }, u = ({ alt: l }) => r("svg", { width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M0 221.943v-41.122L102.867 39.983h42.054v55.824h-24.398l-60.2 82.883v1.705H209.29v41.548H0Zm121.258 36.222v-48.793l1.226-18.004V39.983h56.767v218.182h-57.993ZM344.955 263.491c-21.906 0-40.788-4.509-56.645-13.529-15.857-9.091-28.077-22.124-36.659-39.098-8.583-17.046-12.833-37.536-12.751-61.471.081-23.934 4.373-44.247 12.873-60.937 8.583-16.761 20.762-29.51 36.537-38.246C304.167 41.403 323.049 37 344.955 37c21.905 0 40.787 4.403 56.644 13.21 15.939 8.736 28.2 21.485 36.782 38.246 8.583 16.761 12.833 37.074 12.751 60.937 0 24.006-4.291 44.532-12.874 61.577-8.582 17.046-20.802 30.078-36.659 39.098-15.775 8.949-34.657 13.423-56.644 13.423Zm0-43.146c13.078 0 23.663-5.788 31.755-17.365 8.092-11.648 12.097-29.51 12.015-53.587 0-15.767-1.839-28.764-5.517-38.991-3.678-10.298-8.787-17.969-15.326-23.011-6.539-5.043-14.181-7.564-22.927-7.564-12.997 0-23.5 5.717-31.51 17.152-8.011 11.363-12.057 28.835-12.138 52.414-.082 15.981 1.675 29.226 5.272 39.738 3.678 10.511 8.827 18.359 15.448 23.544 6.621 5.113 14.263 7.67 22.928 7.67ZM602 39.983v218.182h-60.568V89.202h-1.471l-56.154 29.829V73.435l61.916-33.452H602Z" }), c("path", { className: "fill-200", d: "M279.81 122.375c0-9.961 8.204-18.75 18.75-18.75 10.547 0 18.75 8.789 18.75 18.75 0 10.547-8.203 18.75-18.75 18.75-10.546 0-18.75-8.203-18.75-18.75Zm131.25 0c0 10.547-8.203 18.75-18.75 18.75-10.546 0-18.75-8.203-18.75-18.75 0-9.961 8.204-18.75 18.75-18.75 10.547 0 18.75 8.789 18.75 18.75ZM307.935 206.75c0-20.508 16.407-37.5 37.5-37.5 20.508 0 37.5 16.992 37.5 37.5 0 21.094-16.992 37.5-37.5 37.5-21.093 0-37.5-16.406-37.5-37.5Zm187.5-56.25c0 83.203-67.382 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150 82.618 0 150 67.383 150 150Zm-150-121.875c-67.382 0-121.875 55.078-121.875 121.875 0 67.383 54.493 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] }), E = u, N = ({ alt: l }) => r("svg", { width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M5 222.443v-41.122L94.382 40.483h36.541v55.824h-21.2L57.415 179.19v1.705h129.439v41.548H5Zm105.362 36.222v-48.793l1.066-18.004V40.483h49.325v218.182h-50.391ZM304.734 263.991c-19.034 0-35.441-4.509-49.219-13.529-13.778-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.761 18.04-29.51 31.747-38.246 13.778-8.807 30.185-13.21 49.219-13.21 19.034 0 35.44 4.403 49.218 13.21 13.85 8.736 24.503 21.485 31.961 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.316-23.011-5.682-5.043-12.323-7.564-19.922-7.564-11.293 0-20.419 5.717-27.38 17.152-6.96 11.363-10.475 28.835-10.546 52.414-.071 15.981 1.455 29.226 4.58 39.738 3.197 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67ZM510.185 261.648c-16.62 0-31.357-2.841-44.212-8.523-12.784-5.753-22.869-13.672-30.256-23.757-7.386-10.085-11.15-21.698-11.292-34.837h53.054c.213 4.759 1.74 8.985 4.581 12.678 2.841 3.622 6.711 6.463 11.612 8.523 4.9 2.059 10.476 3.089 16.726 3.089 6.25 0 11.754-1.101 16.513-3.303 4.829-2.272 8.593-5.362 11.292-9.268 2.699-3.977 4.013-8.523 3.942-13.636.071-5.114-1.385-9.659-4.368-13.637-2.983-3.977-7.209-7.066-12.678-9.268-5.397-2.202-11.789-3.303-19.176-3.303h-21.2v-37.5h21.2c6.463 0 12.145-1.065 17.046-3.196 4.971-2.13 8.842-5.113 11.612-8.949 2.77-3.906 4.119-8.38 4.048-13.423.071-4.9-1.101-9.197-3.515-12.89-2.344-3.765-5.647-6.677-9.908-8.736-4.19-2.06-9.055-3.09-14.595-3.09-5.824 0-11.115 1.03-15.874 3.09-4.687 2.06-8.416 4.971-11.186 8.735-2.77 3.765-4.226 8.132-4.368 13.104h-50.39c.142-12.997 3.764-24.432 10.866-34.304 7.102-9.943 16.761-17.72 28.977-23.33 12.287-5.612 26.279-8.417 41.975-8.417 15.625 0 29.368 2.734 41.228 8.203 11.861 5.469 21.094 12.926 27.699 22.372 6.605 9.375 9.908 19.993 9.908 31.854.071 12.287-3.942 22.408-12.038 30.362-8.026 7.955-18.36 12.855-31.002 14.702v1.704c16.904 1.989 29.652 7.458 38.246 16.407 8.665 8.949 12.962 20.135 12.891 33.558 0 12.642-3.729 23.864-11.186 33.665-7.387 9.73-17.685 17.4-30.895 23.011-13.14 5.54-28.232 8.31-45.277 8.31Z" }), c("path", { className: "fill-200", d: "M355.562 169.25c17.579 0 32.813 15.234 32.813 32.812 0 18.165-15.234 32.813-32.813 32.813H252.438c-18.165 0-32.813-14.648-32.813-32.813 0-17.578 14.648-32.812 32.813-32.812h103.124ZM252.438 188c-8.204 0-14.063 6.445-14.063 14.062 0 8.204 5.859 14.063 14.063 14.063h4.687V188h-4.687Zm23.437 28.125h18.75V188h-18.75v28.125ZM332.125 188h-18.75v28.125h18.75V188Zm18.75 28.125h4.687c7.618 0 14.063-5.859 14.063-14.063 0-7.617-6.445-14.062-14.063-14.062h-4.687v28.125Zm-75-93.75c0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75c0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75Zm56.25 0c0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75c0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75ZM154 150.5c0-82.617 66.797-150 150-150 82.617 0 150 67.383 150 150 0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150ZM304 28.625c-67.383 0-121.875 55.078-121.875 121.875 0 67.383 54.492 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] }), V = N, H = ({ alt: l }) => r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M0 222.443v-41.122L89.382 40.483h36.541v55.824h-21.2L52.415 179.19v1.705h129.439v41.548H0Zm105.362 36.222v-48.793l1.066-18.004V40.483h49.325v218.182h-50.391Zm194.372 5.326c-19.034 0-35.441-4.509-49.219-13.529-13.778-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.761 18.04-29.51 31.747-38.246 13.778-8.807 30.185-13.21 49.219-13.21 19.034 0 35.44 4.403 49.218 13.21 13.85 8.736 24.503 21.485 31.961 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.316-23.011-5.682-5.043-12.323-7.564-19.922-7.564-11.293 0-20.419 5.717-27.38 17.152-6.96 11.363-10.475 28.835-10.546 52.414-.071 15.981 1.455 29.226 4.58 39.738 3.197 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67Zm119.797 1.598v-41.122l89.382-140.838h36.542v55.824h-21.201l-52.308 82.883v1.705h129.439v41.548H419.531Zm105.362 36.222v-48.793l1.066-18.004V40.483h49.325v218.182h-50.391Z" }), c("path", { className: "fill-200", d: "M252.023 171.594a4.4 4.4 0 0 1 7.618 0c7.617 9.961 24.023 33.398 24.023 45.117 0 15.234-12.305 27.539-28.125 27.539-15.234 0-28.125-12.305-28.125-27.539 0-11.719 16.992-35.156 24.609-45.117Zm116.602 32.226c5.273 5.274 5.859 14.063.586 19.922-4.688 5.86-14.063 6.446-19.922 1.172-12.305-11.133-28.711-18.164-46.289-18.164-8.203 0-14.062-5.859-14.062-14.062 0-7.618 5.859-14.063 14.062-14.063 25.195 0 48.047 9.961 65.625 25.195Zm-19.336-100.195c10.547 0 18.75 8.789 18.75 18.75 0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75c0-9.961 8.203-18.75 18.75-18.75Zm-93.75 37.5c-10.547 0-18.75-8.203-18.75-18.75 0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75c0 10.547-8.203 18.75-18.75 18.75ZM303 .5c82.617 0 150 67.383 150 150 0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150ZM255.539 263c14.649 6.445 30.469 9.375 47.461 9.375 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875-67.383 0-121.875 55.078-121.875 121.875 0 31.055 11.133 59.18 29.883 80.859 6.445 18.75 24.023 31.641 44.531 31.641Z" })] }), $ = H, y = ({ alt: l }) => r("svg", { width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M87.777 261.648c-15.91 0-30.043-2.877-42.4-8.63-12.358-5.752-22.124-13.671-29.298-23.757C8.977 219.176 5.284 207.599 5 194.531h51.136c.426 8.026 3.694 14.489 9.801 19.389 6.109 4.83 13.388 7.245 21.84 7.245 6.605 0 12.464-1.456 17.578-4.368 5.114-2.912 9.127-6.996 12.038-12.252 2.912-5.326 4.333-11.434 4.262-18.323.071-7.032-1.385-13.175-4.368-18.431-2.912-5.255-6.96-9.339-12.145-12.251-5.114-2.983-11.008-4.475-17.685-4.475-6.32-.071-12.322 1.314-18.004 4.155-5.61 2.841-9.872 6.712-12.784 11.612l-46.555-8.735 9.481-117.614h139.986V82.99H62.955l-5.008 51.456h1.279c3.622-6.037 9.446-11.008 17.471-14.915 8.097-3.977 17.294-5.966 27.593-5.966 13.068 0 24.716 3.054 34.943 9.162 10.298 6.037 18.395 14.418 24.29 25.142 5.966 10.725 8.949 23.012 8.949 36.861 0 14.986-3.552 28.267-10.654 39.844-7.031 11.577-16.903 20.667-29.616 27.273-12.642 6.534-27.451 9.801-44.425 9.801ZM291.657 263.991c-19.034 0-35.441-4.509-49.219-13.529-13.779-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.761 18.039-29.51 31.747-38.246 13.778-8.807 30.185-13.21 49.219-13.21 19.034 0 35.44 4.403 49.218 13.21 13.85 8.736 24.503 21.485 31.961 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.317-23.011-5.681-5.043-12.322-7.564-19.921-7.564-11.293 0-20.419 5.717-27.38 17.152-6.96 11.363-10.476 28.835-10.547 52.414-.071 15.981 1.456 29.226 4.581 39.738 3.196 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67ZM504.352 263.991c-19.034 0-35.44-4.509-49.219-13.529-13.778-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.8-44.247 11.186-60.937 7.457-16.761 18.04-29.51 31.747-38.246 13.779-8.807 30.185-13.21 49.219-13.21 19.034 0 35.44 4.403 49.219 13.21 13.849 8.736 24.502 21.485 31.96 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.728 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.853 39.098-13.708 8.949-30.114 13.423-49.219 13.423Zm0-43.146c11.364 0 20.561-5.788 27.592-17.365 7.032-11.648 10.512-29.51 10.441-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.317-23.011-5.682-5.043-12.323-7.564-19.922-7.564-11.293 0-20.419 5.717-27.379 17.152-6.961 11.363-10.476 28.835-10.547 52.414-.071 15.981 1.456 29.226 4.581 39.738 3.196 10.511 7.67 18.359 13.423 23.544 5.753 5.113 12.394 7.67 19.922 7.67Z" }), c("path", { className: "fill-200", d: "M252.447 206.75c0-20.508 16.406-37.5 37.5-37.5 20.508 0 37.5 16.992 37.5 37.5 0 21.094-16.992 37.5-37.5 37.5-21.094 0-37.5-16.406-37.5-37.5ZM200.298 79.602c5.274-5.274 14.063-5.274 19.336 0l14.063 14.062 13.476-14.062c5.274-5.274 14.063-5.274 19.336 0 5.86 5.859 5.86 14.648 0 19.921L253.033 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.336 0l-13.476-13.476-14.063 13.476c-5.273 5.86-14.062 5.86-19.336 0-5.859-5.273-5.859-14.062 0-19.921L213.775 113l-13.477-13.477c-5.859-5.273-5.859-14.062 0-19.921Zm112.5 0c5.274-5.274 14.063-5.274 19.336 0l14.063 14.062 13.476-14.062c5.274-5.274 14.063-5.274 19.336 0 5.86 5.859 5.86 14.648 0 19.921L365.533 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.336 0l-13.476-13.476-14.063 13.476c-5.273 5.86-14.062 5.86-19.336 0-5.859-5.273-5.859-14.062 0-19.921L326.275 113l-13.477-13.477c-5.859-5.273-5.859-14.062 0-19.921ZM439.947 150.5c0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150 82.617 0 150 67.383 150 150Zm-150-121.875c-67.383 0-121.875 55.078-121.875 121.875 0 67.383 54.492 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] }), B = y, C = ({ alt: l }) => r("svg", { width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M98.777 261.148c-15.91 0-30.043-2.877-42.4-8.63-12.358-5.752-22.124-13.671-29.298-23.757-7.102-10.085-10.795-21.662-11.079-34.73h51.136c.427 8.026 3.694 14.489 9.802 19.389 6.108 4.83 13.387 7.245 21.839 7.245 6.605 0 12.464-1.456 17.578-4.368 5.114-2.912 9.127-6.996 12.038-12.252 2.912-5.326 4.333-11.434 4.262-18.323.071-7.032-1.385-13.175-4.368-18.431-2.912-5.255-6.96-9.339-12.145-12.251-5.114-2.983-11.008-4.475-17.685-4.475-6.32-.071-12.322 1.314-18.004 4.155-5.61 2.841-9.872 6.712-12.784 11.612l-46.555-8.735 9.481-117.614h139.986V82.49H73.955l-5.008 51.456h1.279c3.622-6.037 9.446-11.008 17.471-14.915 8.097-3.977 17.294-5.966 27.593-5.966 13.068 0 24.716 3.054 34.943 9.162 10.298 6.037 18.395 14.418 24.29 25.142 5.966 10.725 8.949 23.012 8.949 36.861 0 14.986-3.552 28.267-10.654 39.844-7.031 11.577-16.903 20.667-29.616 27.273-12.642 6.534-27.451 9.801-44.425 9.801ZM302.657 263.491c-19.034 0-35.441-4.509-49.219-13.529-13.779-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.761 18.039-29.51 31.747-38.246C267.216 41.403 283.623 37 302.657 37c19.034 0 35.44 4.403 49.218 13.21 13.85 8.736 24.503 21.485 31.961 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.317-23.011-5.681-5.043-12.322-7.564-19.921-7.564-11.293 0-20.419 5.717-27.38 17.152-6.96 11.363-10.476 28.835-10.547 52.414-.071 15.981 1.456 29.226 4.581 39.738 3.196 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67ZM425.118 258.165v-37.926l79.581-69.674c5.965-5.397 11.044-10.333 15.234-14.808 4.19-4.545 7.386-9.091 9.588-13.636 2.202-4.617 3.302-9.624 3.302-15.022 0-6.036-1.313-11.186-3.941-15.447-2.628-4.332-6.25-7.67-10.867-10.014-4.616-2.344-9.907-3.516-15.873-3.516-6.037 0-11.328 1.243-15.874 3.729-4.545 2.415-8.096 5.93-10.653 10.547-2.486 4.616-3.729 10.227-3.729 16.832h-49.964c0-14.844 3.338-27.663 10.014-38.459 6.676-10.795 16.051-19.105 28.125-24.929C472.206 39.947 486.304 37 502.355 37c16.548 0 30.93 2.77 43.146 8.31 12.216 5.54 21.662 13.28 28.338 23.224 6.747 9.872 10.121 21.342 10.121 34.411 0 8.309-1.669 16.548-5.007 24.716-3.338 8.167-9.34 17.187-18.005 27.059-8.593 9.872-20.809 21.698-36.647 35.476L498.2 214.273v1.385h88.423v42.507H425.118Z" }), c("path", { className: "fill-200", d: "M264.5 206.75c0-20.508 16.406-37.5 37.5-37.5 20.508 0 37.5 16.992 37.5 37.5 0 21.094-16.992 37.5-37.5 37.5-21.094 0-37.5-16.406-37.5-37.5ZM212.352 79.602c5.273-5.274 14.062-5.274 19.336 0l14.062 14.062 13.477-14.062c5.273-5.274 14.062-5.274 19.335 0 5.86 5.859 5.86 14.648 0 19.921L265.086 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.335 0l-13.477-13.476-14.062 13.476c-5.274 5.86-14.063 5.86-19.336 0-5.86-5.273-5.86-14.062 0-19.921L225.828 113l-13.476-13.477c-5.86-5.273-5.86-14.062 0-19.921Zm112.5 0c5.273-5.274 14.062-5.274 19.336 0l14.062 14.062 13.477-14.062c5.273-5.274 14.062-5.274 19.335 0 5.86 5.859 5.86 14.648 0 19.921L377.586 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.335 0l-13.477-13.476-14.062 13.476c-5.274 5.86-14.063 5.86-19.336 0-5.86-5.273-5.86-14.062 0-19.921L338.328 113l-13.476-13.477c-5.86-5.273-5.86-14.062 0-19.921ZM452 150.5c0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150 82.617 0 150 67.383 150 150ZM302 28.625c-67.383 0-121.875 55.078-121.875 121.875 0 67.383 54.492 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] }), K = C, _ = ({ alt: l }) => r("svg", { width: "602", height: "301", viewBox: "0 0 602 301", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("title", { children: l }), c("path", { className: "fill-100", d: "M93.777 261.148c-15.91 0-30.043-2.877-42.4-8.63-12.358-5.752-22.124-13.671-29.298-23.757-7.102-10.085-10.795-21.662-11.079-34.73h51.136c.426 8.026 3.693 14.489 9.801 19.389 6.109 4.83 13.388 7.245 21.84 7.245 6.605 0 12.464-1.456 17.578-4.368 5.114-2.912 9.127-6.996 12.038-12.252 2.912-5.326 4.333-11.434 4.262-18.323.071-7.032-1.385-13.175-4.368-18.431-2.912-5.255-6.96-9.339-12.145-12.251-5.114-2.983-11.008-4.475-17.685-4.475-6.32-.071-12.322 1.314-18.004 4.155-5.61 2.841-9.872 6.712-12.784 11.612l-46.555-8.735 9.481-117.614h139.986V82.49H68.955l-5.008 51.456h1.279c3.622-6.037 9.446-11.008 17.471-14.915 8.097-3.977 17.294-5.966 27.593-5.966 13.068 0 24.716 3.054 34.943 9.162 10.298 6.037 18.395 14.418 24.29 25.142 5.966 10.725 8.949 23.012 8.949 36.861 0 14.986-3.552 28.267-10.654 39.844-7.031 11.577-16.903 20.667-29.616 27.273-12.642 6.534-27.451 9.801-44.425 9.801ZM297.657 263.491c-19.034 0-35.441-4.509-49.219-13.529-13.779-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.761 18.039-29.51 31.747-38.246C262.216 41.403 278.623 37 297.657 37c19.034 0 35.44 4.403 49.218 13.21 13.85 8.736 24.503 21.485 31.961 38.246 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.969-13.317-23.011-5.681-5.043-12.322-7.564-19.921-7.564-11.293 0-20.419 5.717-27.38 17.152-6.96 11.363-10.476 28.835-10.547 52.414-.071 15.981 1.456 29.226 4.581 39.738 3.196 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67ZM503.108 261.148c-16.62 0-31.357-2.841-44.212-8.523-12.784-5.753-22.869-13.672-30.256-23.757-7.386-10.085-11.15-21.698-11.292-34.837h53.054c.213 4.759 1.74 8.985 4.581 12.678 2.841 3.622 6.711 6.463 11.612 8.523 4.9 2.059 10.476 3.089 16.726 3.089 6.25 0 11.754-1.101 16.512-3.303 4.83-2.272 8.594-5.362 11.293-9.268 2.699-3.977 4.013-8.523 3.942-13.636.071-5.114-1.385-9.659-4.368-13.637-2.983-3.977-7.209-7.066-12.678-9.268-5.397-2.202-11.789-3.303-19.176-3.303h-21.2v-37.5h21.2c6.463 0 12.145-1.065 17.046-3.196 4.971-2.13 8.842-5.113 11.612-8.949 2.77-3.906 4.119-8.38 4.048-13.423.071-4.9-1.101-9.197-3.515-12.89-2.344-3.765-5.647-6.677-9.908-8.736-4.19-2.06-9.055-3.09-14.595-3.09-5.824 0-11.115 1.03-15.874 3.09-4.687 2.06-8.416 4.971-11.186 8.735-2.77 3.765-4.226 8.132-4.368 13.104h-50.39c.142-12.997 3.764-24.432 10.866-34.304 7.102-9.943 16.761-17.72 28.977-23.33C473.846 39.804 487.838 37 503.534 37c15.625 0 29.368 2.734 41.228 8.203 11.861 5.469 21.094 12.926 27.699 22.372 6.605 9.375 9.908 19.993 9.908 31.854.071 12.287-3.942 22.408-12.038 30.362-8.026 7.955-18.36 12.855-31.002 14.702v1.704c16.904 1.989 29.652 7.458 38.246 16.407 8.665 8.949 12.962 20.135 12.891 33.558 0 12.642-3.729 23.864-11.187 33.665-7.386 9.73-17.684 17.4-30.894 23.011-13.14 5.54-28.232 8.31-45.277 8.31Z" }), c("path", { className: "fill-200", d: "M259.648 206.75c0-20.508 16.406-37.5 37.5-37.5 20.508 0 37.5 16.992 37.5 37.5 0 21.094-16.992 37.5-37.5 37.5-21.094 0-37.5-16.406-37.5-37.5ZM207.5 79.602c5.273-5.274 14.062-5.274 19.335 0l14.063 14.062 13.477-14.062c5.273-5.274 14.062-5.274 19.335 0 5.86 5.859 5.86 14.648 0 19.921L260.234 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.335 0l-13.477-13.476-14.063 13.476c-5.273 5.86-14.062 5.86-19.335 0-5.86-5.273-5.86-14.062 0-19.921L220.976 113 207.5 99.523c-5.86-5.273-5.86-14.062 0-19.921Zm112.5 0c5.273-5.274 14.062-5.274 19.335 0l14.063 14.062 13.477-14.062c5.273-5.274 14.062-5.274 19.335 0 5.86 5.859 5.86 14.648 0 19.921L372.734 113l13.476 13.477c5.86 5.859 5.86 14.648 0 19.921-5.273 5.86-14.062 5.86-19.335 0l-13.477-13.476-14.063 13.476c-5.273 5.86-14.062 5.86-19.335 0-5.86-5.273-5.86-14.062 0-19.921L333.476 113 320 99.523c-5.86-5.273-5.86-14.062 0-19.921ZM447.148 150.5c0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150 82.617 0 150 67.383 150 150Zm-150-121.875c-67.383 0-121.875 55.078-121.875 121.875 0 67.383 54.492 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] }), k = _;
14
+ function I() {
15
+ return r("svg", { width: "602", height: "360", viewBox: "0 0 602 360", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [c("path", { className: "fill-100", d: "M278.201 110.209c.711 4.266 1.423 9.242 1.423 14.218 0 5.687-.712 10.663-1.423 14.928l15.653 14.218c4.98 4.265 7.114 11.374 4.268 17.772-1.423 3.554-3.557 7.819-4.98 11.374l-2.134 3.554c-2.846 3.554-4.981 7.109-7.115 10.663-4.269 4.976-11.384 7.109-17.787 4.976l-19.922-7.108c-7.826 6.397-16.364 11.373-25.613 14.928l-4.98 20.615c-.712 7.109-6.404 12.085-12.807 12.796-4.98.711-9.961.711-14.23.711-4.98 0-9.96 0-14.941-.711-6.403-.711-12.095-5.687-12.806-12.796l-4.981-20.615c-9.249-3.555-17.787-8.531-25.613-14.928l-19.922 7.108c-6.403 2.133-13.518 0-17.787-4.976-2.134-3.554-4.98-7.109-7.115-10.663l-2.134-3.554c-1.423-3.555-3.557-7.82-4.98-11.374-2.846-6.398-.712-13.507 4.269-17.772l15.652-14.218c-.711-4.265-1.423-9.241-1.423-14.928 0-4.976.712-9.952 1.423-14.218L82.544 95.992c-4.98-4.976-7.115-12.085-4.27-17.772 1.424-4.265 3.558-7.82 4.981-11.374l2.135-3.554c2.134-3.555 4.98-7.109 7.114-10.663 4.27-4.976 11.384-7.11 17.787-4.976l19.922 7.108c7.826-6.398 16.364-11.374 25.613-14.928l4.981-20.615c.711-7.11 6.403-12.085 12.806-12.796C178.594 5.71 183.574 5 188.554 5c4.269 0 9.25.71 14.23 1.422 6.403.71 12.095 5.687 12.807 12.796l4.98 20.615c9.249 3.554 17.787 8.53 25.613 14.928l19.922-7.108c6.403-2.133 13.518 0 17.787 4.976 2.134 3.554 4.269 7.108 7.115 10.663l2.134 3.554c1.423 3.554 3.557 7.109 4.98 11.374 2.846 5.687.712 12.796-4.268 17.772l-15.653 14.217Zm-89.647-19.904c-19.21 0-34.151 15.639-34.151 34.122 0 19.194 14.941 34.122 34.151 34.122 18.499 0 34.151-14.928 34.151-34.122 0-18.483-15.652-34.122-34.151-34.122Zm230.52 249.517c-4.269.711-9.249.711-14.229.711-5.692 0-10.673 0-14.942-.711l-14.229 15.639c-4.981 4.976-11.384 7.109-17.787 4.265-3.558-1.421-7.826-3.554-11.384-4.976l-3.557-2.843-10.672-6.398c-4.981-4.265-7.115-11.374-4.981-17.772l7.115-19.904c-6.403-7.82-11.384-16.351-14.941-26.303l-20.633-4.265c-7.115-1.422-12.095-6.398-12.807-12.796-.711-4.976-.711-9.952-.711-14.928 0-4.265 0-9.242.711-14.218.712-6.398 5.692-12.085 12.807-13.506l20.633-4.266c3.557-9.241 8.538-17.771 14.941-25.591l-7.115-19.904c-2.134-6.398 0-13.507 4.981-17.772 3.557-2.133 7.114-4.976 10.672-7.109l3.557-2.133c3.558-1.421 7.115-3.554 11.384-4.976 6.403-2.843 12.806-.711 17.787 4.265l14.229 15.64c4.269-.711 9.25-1.422 14.942-1.422 4.98 0 9.96.711 14.229 1.422l14.23-15.64c4.98-4.976 11.384-7.108 17.787-4.265 4.269 1.422 7.826 3.555 11.384 4.976l3.557 2.133c3.557 2.133 7.115 4.976 10.672 7.109 4.981 4.265 7.115 11.374 4.981 17.772l-7.115 19.904c6.403 7.82 11.383 16.35 14.941 25.591l20.633 4.266c7.115 1.421 12.095 7.108 12.806 13.506.712 4.976 1.423 9.953 1.423 14.218 0 4.976-.711 9.952-1.423 14.928-.711 6.398-5.691 11.374-12.806 12.796l-20.633 4.265c-3.558 9.952-8.538 18.483-14.941 26.303l7.115 19.904c2.134 6.398 0 13.507-4.981 17.772l-10.672 6.398-3.557 2.843c-3.558 1.422-7.827 3.555-11.384 4.976-6.403 2.844-12.807.711-17.787-4.265l-14.23-15.639Zm19.922-90.281c0-18.483-15.653-34.122-34.151-34.122-19.21 0-34.152 15.639-34.152 34.122 0 19.193 14.942 34.122 34.152 34.122 18.498 0 34.151-14.929 34.151-34.122Z" }), c("path", { className: "fill-200", d: "M255.883 250.297c-7.617 2.93-15.235-2.344-12.305-9.961 9.961-22.266 32.813-38.086 59.18-38.086 26.953 0 49.804 15.82 59.765 38.086 2.93 7.617-5.273 12.891-12.304 9.961-14.063-6.445-30.469-9.375-47.461-9.375-16.406 0-32.813 2.93-46.875 9.375Zm16.992-94.922c0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75c0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75Zm56.25 0c0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75c0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75ZM451 183.5c0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.617 66.797-150 150-150 82.617 0 150 67.383 150 150ZM301 61.625c-67.383 0-121.875 55.078-121.875 121.875 0 67.383 54.492 121.875 121.875 121.875 66.797 0 121.875-54.492 121.875-121.875 0-66.797-55.078-121.875-121.875-121.875Z" })] });
16
+ }
17
+ const T = ({ className: l, title: s, description: i, httpErrorCode: e, ...o }) => {
18
+ var h;
19
+ const { appId: m } = p(), { locale: a } = w(), n = f(m, x["kit-error"], l), t = `${(h = a.Error) === null || h === void 0 ? void 0 : h.error_type}${e}`, Z = () => {
20
+ switch (e) {
21
+ case "401":
22
+ return c(E, { alt: t });
23
+ case "403":
24
+ return c(V, { alt: t });
25
+ case "404":
26
+ return c($, { alt: t });
27
+ case "500":
28
+ return c(B, { alt: t });
29
+ case "502":
30
+ return c(K, { alt: t });
31
+ case "503":
32
+ return c(k, { alt: t });
33
+ default:
34
+ return c(I, {});
35
+ }
36
+ };
37
+ return c(d, { ...o, description: r(g, { direction: "vertical", size: "l", children: [c(M.Title, { className: "error-title", level: "h1", children: s }), i] }), image: c(v, { fallback: c(L, { style: { height: "300px" } }), children: Z() }), className: n });
38
+ };
39
+ T.displayName = "KitError";
19
40
  export {
20
- k as KitError
41
+ T as KitError
21
42
  };
@@ -1,10 +1,24 @@
1
- import "react/jsx-runtime";
2
- import "classnames";
3
- import { d as e } from "../../../chunks/index.2xXr1nME.js";
4
- import "../../../chunks/useKitTheme.KSAU-Pdv.js";
5
- import "../../General/Typography/index.js";
6
- import "../../General/Icon/index.js";
7
- import "../../../chunks/index.bf78FwPu.js";
1
+ import "../../../assets/index2.css";
2
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
3
+ import n from "classnames";
4
+ import { u as x } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
5
+ import { KitTypography as m } from "../../General/Typography/index.js";
6
+ import { K as y } from "../../../chunks/Avatar.N2w2jq_C.js";
7
+ const g = {
8
+ "kit-id-card": "_kit-id-card_mmcks_2"
9
+ }, k = (o, i, t) => {
10
+ const s = n("kit-id-card-title", {
11
+ "kit-id-card-title-large": i === "large"
12
+ });
13
+ return r(m.Text, { className: s, size: "fontSize5", weight: "bold", ellipsis: { tooltip: !0 }, disabled: t, children: o });
14
+ }, D = (o, i, t) => {
15
+ const s = i === "medium" ? "fontSize7" : "fontSize5";
16
+ return r(m.Text, { size: s, ellipsis: { tooltip: !0 }, disabled: t, className: "kit-id-card-decription", children: o });
17
+ }, K = ({ className: o, title: i, description: t, avatarProps: s, size: c = "medium", disabled: e = !1, ...p }) => {
18
+ const { appId: u } = x(), h = n(u, g["kit-id-card"], o), f = s !== void 0, d = i !== void 0, a = t !== void 0, v = d || a;
19
+ return l("div", { className: `${h} id-card-grid`, ...p, children: [f && r("div", { className: "card-avatar", children: r(y, { ...s, disabled: e }) }), v && l("div", { className: "card-info", children: [d && k(i, c, e), a && D(t, c, e)] })] });
20
+ };
21
+ K.displayName = "KitIdCard";
8
22
  export {
9
- e as KitIdCard
23
+ K as KitIdCard
10
24
  };
@@ -1,10 +1,24 @@
1
- import "react/jsx-runtime";
2
- import "antd";
3
- import "classnames";
4
- import "@fortawesome/react-fontawesome";
5
- import "@fortawesome/free-solid-svg-icons";
6
- import { K } from "../../../chunks/index.S1tc6cnV.js";
7
- import "../../../chunks/useKitTheme.KSAU-Pdv.js";
1
+ import "../../../assets/index3.css";
2
+ import { jsxs as k, jsx as r } from "react/jsx-runtime";
3
+ import { Image as a } from "antd";
4
+ import d from "classnames";
5
+ import { FontAwesomeIcon as v } from "@fortawesome/react-fontawesome";
6
+ import { faEye as I } from "@fortawesome/free-solid-svg-icons";
7
+ import { u as _ } from "../../../chunks/useKitLocale.96CdK3og.js";
8
+ import { u as j } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
9
+ const m = {
10
+ "kit-image": "_kit-image_t5juo_2",
11
+ "mask-container": "_mask-container_t5juo_23"
12
+ }, x = ({ rounded: n, bordered: c, preview: o, className: t, ...p }) => {
13
+ var e;
14
+ const { locale: u } = _(), { appId: f } = j(), i = k("div", { className: m["mask-container"], children: [r(v, { icon: I }), (e = u.Image) === null || e === void 0 ? void 0 : e.preview] }), l = () => typeof o == "object" ? { mask: i, ...o } : o === void 0 ? { mask: i } : o, g = d(f, m["kit-image"], t ?? "", {
15
+ rounded: n,
16
+ bordered: c
17
+ });
18
+ return r(a, { className: g, preview: l(), ...p });
19
+ }, s = x;
20
+ s.PreviewGroup = a.PreviewGroup;
21
+ s.displayName = "KitImage";
8
22
  export {
9
- K as KitImage
23
+ s as KitImage
10
24
  };