@taicode/common-web 3.7.4 → 3.7.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 (273) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +12 -13
  3. package/styles.css +2 -0
  4. package/output/components/alert-dialog.d.ts +0 -20
  5. package/output/components/alert-dialog.d.ts.map +0 -1
  6. package/output/components/alert-dialog.js +0 -65
  7. package/output/components/alert.d.ts +0 -11
  8. package/output/components/alert.d.ts.map +0 -1
  9. package/output/components/alert.js +0 -38
  10. package/output/components/avatar.d.ts +0 -13
  11. package/output/components/avatar.d.ts.map +0 -1
  12. package/output/components/avatar.js +0 -40
  13. package/output/components/badge.d.ts +0 -11
  14. package/output/components/badge.d.ts.map +0 -1
  15. package/output/components/badge.js +0 -39
  16. package/output/components/button.d.ts +0 -12
  17. package/output/components/button.d.ts.map +0 -1
  18. package/output/components/button.js +0 -48
  19. package/output/components/calendar.d.ts +0 -13
  20. package/output/components/calendar.d.ts.map +0 -1
  21. package/output/components/calendar.js +0 -57
  22. package/output/components/card.d.ts +0 -13
  23. package/output/components/card.d.ts.map +0 -1
  24. package/output/components/card.js +0 -43
  25. package/output/components/chart.d.ts +0 -56
  26. package/output/components/chart.d.ts.map +0 -1
  27. package/output/components/chart.js +0 -127
  28. package/output/components/checkbox.d.ts +0 -5
  29. package/output/components/checkbox.d.ts.map +0 -1
  30. package/output/components/checkbox.js +0 -21
  31. package/output/components/command.d.ts +0 -20
  32. package/output/components/command.d.ts.map +0 -1
  33. package/output/components/command.js +0 -55
  34. package/output/components/dialog.d.ts +0 -20
  35. package/output/components/dialog.d.ts.map +0 -1
  36. package/output/components/dialog.js +0 -58
  37. package/output/components/direction.d.ts +0 -9
  38. package/output/components/direction.d.ts.map +0 -1
  39. package/output/components/direction.js +0 -10
  40. package/output/components/drawer.d.ts +0 -14
  41. package/output/components/drawer.d.ts.map +0 -1
  42. package/output/components/drawer.js +0 -56
  43. package/output/components/dropdown-menu.d.ts +0 -29
  44. package/output/components/dropdown-menu.d.ts.map +0 -1
  45. package/output/components/dropdown-menu.js +0 -78
  46. package/output/components/field.d.ts +0 -39
  47. package/output/components/field.d.ts.map +0 -1
  48. package/output/components/field.js +0 -102
  49. package/output/components/footer/index.d.ts +0 -27
  50. package/output/components/footer/index.d.ts.map +0 -1
  51. package/output/components/footer/index.js +0 -17
  52. package/output/components/form.d.ts +0 -26
  53. package/output/components/form.d.ts.map +0 -1
  54. package/output/components/form.js +0 -69
  55. package/output/components/index.d.ts +0 -46
  56. package/output/components/index.d.ts.map +0 -1
  57. package/output/components/index.js +0 -45
  58. package/output/components/input-group.d.ts +0 -17
  59. package/output/components/input-group.d.ts.map +0 -1
  60. package/output/components/input-group.js +0 -75
  61. package/output/components/input.d.ts +0 -4
  62. package/output/components/input.d.ts.map +0 -1
  63. package/output/components/input.js +0 -19
  64. package/output/components/item.d.ts +0 -25
  65. package/output/components/item.d.ts.map +0 -1
  66. package/output/components/item.js +0 -89
  67. package/output/components/json-view/index.d.ts +0 -11
  68. package/output/components/json-view/index.d.ts.map +0 -1
  69. package/output/components/json-view/index.js +0 -52
  70. package/output/components/json-view/lazy/index.d.ts +0 -18
  71. package/output/components/json-view/lazy/index.d.ts.map +0 -1
  72. package/output/components/json-view/lazy/index.js +0 -22
  73. package/output/components/kbd.d.ts +0 -4
  74. package/output/components/kbd.d.ts.map +0 -1
  75. package/output/components/kbd.js +0 -22
  76. package/output/components/label.d.ts +0 -5
  77. package/output/components/label.d.ts.map +0 -1
  78. package/output/components/label.js +0 -20
  79. package/output/components/list-actions/index.d.ts +0 -23
  80. package/output/components/list-actions/index.d.ts.map +0 -1
  81. package/output/components/list-actions/index.js +0 -15
  82. package/output/components/loading-button/index.d.ts +0 -44
  83. package/output/components/loading-button/index.d.ts.map +0 -1
  84. package/output/components/loading-button/index.js +0 -75
  85. package/output/components/loading-button/index.test.d.ts +0 -2
  86. package/output/components/loading-button/index.test.d.ts.map +0 -1
  87. package/output/components/loading-button/index.test.js +0 -203
  88. package/output/components/native-select.d.ts +0 -9
  89. package/output/components/native-select.d.ts.map +0 -1
  90. package/output/components/native-select.js +0 -28
  91. package/output/components/page-back-button/index.d.ts +0 -8
  92. package/output/components/page-back-button/index.d.ts.map +0 -1
  93. package/output/components/page-back-button/index.js +0 -7
  94. package/output/components/page-state.d.ts +0 -19
  95. package/output/components/page-state.d.ts.map +0 -1
  96. package/output/components/page-state.js +0 -13
  97. package/output/components/pagination/index.d.ts +0 -34
  98. package/output/components/pagination/index.d.ts.map +0 -1
  99. package/output/components/pagination/index.js +0 -75
  100. package/output/components/popover.d.ts +0 -11
  101. package/output/components/popover.d.ts.map +0 -1
  102. package/output/components/popover.js +0 -44
  103. package/output/components/progress.d.ts +0 -5
  104. package/output/components/progress.d.ts.map +0 -1
  105. package/output/components/progress.js +0 -21
  106. package/output/components/radio-group.d.ts +0 -6
  107. package/output/components/radio-group.d.ts.map +0 -1
  108. package/output/components/radio-group.js +0 -25
  109. package/output/components/route-pending-indicator/index.d.ts +0 -20
  110. package/output/components/route-pending-indicator/index.d.ts.map +0 -1
  111. package/output/components/route-pending-indicator/index.js +0 -17
  112. package/output/components/scroll-area.d.ts +0 -6
  113. package/output/components/scroll-area.d.ts.map +0 -1
  114. package/output/components/scroll-area.js +0 -24
  115. package/output/components/searchable-select/index.d.ts +0 -41
  116. package/output/components/searchable-select/index.d.ts.map +0 -1
  117. package/output/components/searchable-select/index.js +0 -46
  118. package/output/components/select.d.ts +0 -17
  119. package/output/components/select.d.ts.map +0 -1
  120. package/output/components/select.js +0 -58
  121. package/output/components/separator.d.ts +0 -5
  122. package/output/components/separator.d.ts.map +0 -1
  123. package/output/components/separator.js +0 -20
  124. package/output/components/sheet.d.ts +0 -16
  125. package/output/components/sheet.d.ts.map +0 -1
  126. package/output/components/sheet.js +0 -58
  127. package/output/components/sidebar.d.ts +0 -78
  128. package/output/components/sidebar.d.ts.map +0 -1
  129. package/output/components/sidebar.js +0 -233
  130. package/output/components/size-provider/index.d.ts +0 -2
  131. package/output/components/size-provider/index.d.ts.map +0 -1
  132. package/output/components/size-provider/index.js +0 -1
  133. package/output/components/size-provider/size-provider.d.ts +0 -9
  134. package/output/components/size-provider/size-provider.d.ts.map +0 -1
  135. package/output/components/size-provider/size-provider.js +0 -29
  136. package/output/components/skeleton.d.ts +0 -3
  137. package/output/components/skeleton.d.ts.map +0 -1
  138. package/output/components/skeleton.js +0 -18
  139. package/output/components/sonner.d.ts +0 -8
  140. package/output/components/sonner.d.ts.map +0 -1
  141. package/output/components/sonner.js +0 -34
  142. package/output/components/spinner.d.ts +0 -3
  143. package/output/components/spinner.d.ts.map +0 -1
  144. package/output/components/spinner.js +0 -19
  145. package/output/components/switch.d.ts +0 -8
  146. package/output/components/switch.d.ts.map +0 -1
  147. package/output/components/switch.js +0 -20
  148. package/output/components/table.d.ts +0 -11
  149. package/output/components/table.d.ts.map +0 -1
  150. package/output/components/table.js +0 -47
  151. package/output/components/tabs.d.ts +0 -12
  152. package/output/components/tabs.d.ts.map +0 -1
  153. package/output/components/tabs.js +0 -45
  154. package/output/components/textarea.d.ts +0 -4
  155. package/output/components/textarea.d.ts.map +0 -1
  156. package/output/components/textarea.js +0 -19
  157. package/output/components/theme-switcher.d.ts +0 -6
  158. package/output/components/theme-switcher.d.ts.map +0 -1
  159. package/output/components/theme-switcher.js +0 -19
  160. package/output/components/toaster/index.d.ts +0 -16
  161. package/output/components/toaster/index.d.ts.map +0 -1
  162. package/output/components/toaster/index.js +0 -70
  163. package/output/components/toggle-group.d.ts +0 -12
  164. package/output/components/toggle-group.d.ts.map +0 -1
  165. package/output/components/toggle-group.js +0 -38
  166. package/output/components/toggle.d.ts +0 -10
  167. package/output/components/toggle.d.ts.map +0 -1
  168. package/output/components/toggle.js +0 -38
  169. package/output/components/tooltip.d.ts +0 -8
  170. package/output/components/tooltip.d.ts.map +0 -1
  171. package/output/components/tooltip.js +0 -33
  172. package/output/features/confirm-dialog/index.d.ts +0 -41
  173. package/output/features/confirm-dialog/index.d.ts.map +0 -1
  174. package/output/features/confirm-dialog/index.js +0 -19
  175. package/output/features/input-confirm/index.d.ts +0 -26
  176. package/output/features/input-confirm/index.d.ts.map +0 -1
  177. package/output/features/input-confirm/index.js +0 -59
  178. package/output/features/signin/context.d.ts +0 -14
  179. package/output/features/signin/context.d.ts.map +0 -1
  180. package/output/features/signin/context.js +0 -13
  181. package/output/features/signin/index.d.ts +0 -58
  182. package/output/features/signin/index.d.ts.map +0 -1
  183. package/output/features/signin/index.js +0 -137
  184. package/output/features/signin/service.d.ts +0 -92
  185. package/output/features/signin/service.d.ts.map +0 -1
  186. package/output/features/signin/service.js +0 -519
  187. package/output/features/signin/service.test.d.ts +0 -2
  188. package/output/features/signin/service.test.d.ts.map +0 -1
  189. package/output/features/signin/service.test.js +0 -211
  190. package/output/features/signin/types.d.ts +0 -63
  191. package/output/features/signin/types.d.ts.map +0 -1
  192. package/output/features/signin/types.js +0 -1
  193. package/output/hooks/use-loading/index.d.ts +0 -6
  194. package/output/hooks/use-loading/index.d.ts.map +0 -1
  195. package/output/hooks/use-loading/index.js +0 -14
  196. package/output/hooks/use-loading/index.test.d.ts +0 -2
  197. package/output/hooks/use-loading/index.test.d.ts.map +0 -1
  198. package/output/hooks/use-loading/index.test.js +0 -24
  199. package/output/hooks/use-mobile/index.d.ts +0 -2
  200. package/output/hooks/use-mobile/index.d.ts.map +0 -1
  201. package/output/hooks/use-mobile/index.js +0 -16
  202. package/output/hooks/use-observer/index.d.ts +0 -2
  203. package/output/hooks/use-observer/index.d.ts.map +0 -1
  204. package/output/hooks/use-observer/index.js +0 -1
  205. package/output/hooks/use-observer/use-observer.d.ts +0 -3
  206. package/output/hooks/use-observer/use-observer.d.ts.map +0 -1
  207. package/output/hooks/use-observer/use-observer.js +0 -16
  208. package/output/hooks/use-observer/use-observer.test.d.ts +0 -2
  209. package/output/hooks/use-observer/use-observer.test.d.ts.map +0 -1
  210. package/output/hooks/use-observer/use-observer.test.js +0 -134
  211. package/output/hooks/use-offline/index.d.ts +0 -6
  212. package/output/hooks/use-offline/index.d.ts.map +0 -1
  213. package/output/hooks/use-offline/index.js +0 -19
  214. package/output/layout/app/index.d.ts +0 -34
  215. package/output/layout/app/index.d.ts.map +0 -1
  216. package/output/layout/app/index.js +0 -34
  217. package/output/layout/dashboard/index.d.ts +0 -76
  218. package/output/layout/dashboard/index.d.ts.map +0 -1
  219. package/output/layout/dashboard/index.js +0 -84
  220. package/output/layout/index.d.ts +0 -3
  221. package/output/layout/index.d.ts.map +0 -1
  222. package/output/layout/index.js +0 -2
  223. package/output/services/cache-api/cache-api.d.ts +0 -23
  224. package/output/services/cache-api/cache-api.d.ts.map +0 -1
  225. package/output/services/cache-api/cache-api.js +0 -145
  226. package/output/services/cache-api/cache-api.test.d.ts +0 -2
  227. package/output/services/cache-api/cache-api.test.d.ts.map +0 -1
  228. package/output/services/cache-api/cache-api.test.js +0 -610
  229. package/output/services/cache-api/index.d.ts +0 -2
  230. package/output/services/cache-api/index.d.ts.map +0 -1
  231. package/output/services/cache-api/index.js +0 -1
  232. package/output/services/cached-fetch/index.d.ts +0 -50
  233. package/output/services/cached-fetch/index.d.ts.map +0 -1
  234. package/output/services/cached-fetch/index.js +0 -196
  235. package/output/services/service/index.d.ts +0 -2
  236. package/output/services/service/index.d.ts.map +0 -1
  237. package/output/services/service/index.js +0 -1
  238. package/output/services/service/service.d.ts +0 -135
  239. package/output/services/service/service.d.ts.map +0 -1
  240. package/output/services/service/service.js +0 -276
  241. package/output/services/service/service.test.d.ts +0 -2
  242. package/output/services/service/service.test.d.ts.map +0 -1
  243. package/output/services/service/service.test.js +0 -1399
  244. package/output/services/side-cache/index.d.ts +0 -2
  245. package/output/services/side-cache/index.d.ts.map +0 -1
  246. package/output/services/side-cache/index.js +0 -1
  247. package/output/services/side-cache/side-cache.d.ts +0 -11
  248. package/output/services/side-cache/side-cache.d.ts.map +0 -1
  249. package/output/services/side-cache/side-cache.js +0 -161
  250. package/output/services/side-cache/side-cache.test.d.ts +0 -2
  251. package/output/services/side-cache/side-cache.test.d.ts.map +0 -1
  252. package/output/services/side-cache/side-cache.test.js +0 -271
  253. package/output/utils/avatar/index.d.ts +0 -28
  254. package/output/utils/avatar/index.d.ts.map +0 -1
  255. package/output/utils/avatar/index.js +0 -35
  256. package/output/utils/delay/index.d.ts +0 -2
  257. package/output/utils/delay/index.d.ts.map +0 -1
  258. package/output/utils/delay/index.js +0 -5
  259. package/output/utils/form/index.d.ts +0 -3
  260. package/output/utils/form/index.d.ts.map +0 -1
  261. package/output/utils/form/index.js +0 -1
  262. package/output/utils/merge-class-names/index.d.ts +0 -3
  263. package/output/utils/merge-class-names/index.d.ts.map +0 -1
  264. package/output/utils/merge-class-names/index.js +0 -5
  265. package/output/utils/merge-class-names/index.test.d.ts +0 -2
  266. package/output/utils/merge-class-names/index.test.d.ts.map +0 -1
  267. package/output/utils/merge-class-names/index.test.js +0 -7
  268. package/output/utils/performance/index.d.ts +0 -82
  269. package/output/utils/performance/index.d.ts.map +0 -1
  270. package/output/utils/performance/index.js +0 -129
  271. package/output/utils/redirect/index.d.ts +0 -6
  272. package/output/utils/redirect/index.d.ts.map +0 -1
  273. package/output/utils/redirect/index.js +0 -32
@@ -1,56 +0,0 @@
1
- import * as React from 'react';
2
- import * as RechartsPrimitive from 'recharts';
3
- type ChartContainerParams = {
4
- config: ChartConfig;
5
- children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
6
- };
7
- type ChartLegendContentParams = {
8
- className?: string;
9
- hideIcon?: boolean;
10
- payload?: any[];
11
- verticalAlign?: 'top' | 'bottom';
12
- nameKey?: string;
13
- };
14
- type ChartTooltipContentParams = {
15
- active?: boolean;
16
- payload?: any[];
17
- className?: string;
18
- indicator?: 'line' | 'dot' | 'dashed';
19
- hideLabel?: boolean;
20
- hideIndicator?: boolean;
21
- label?: string | number;
22
- labelFormatter?: (value: any, payload: any[]) => React.ReactNode;
23
- labelClassName?: string;
24
- formatter?: (value: any, name: string, item: any, index: number, payload: any) => React.ReactNode;
25
- color?: string;
26
- nameKey?: string;
27
- labelKey?: string;
28
- };
29
- type ChartStyleParams = {
30
- id: string;
31
- config: ChartConfig;
32
- };
33
- declare const THEMES: {
34
- readonly light: "";
35
- readonly dark: ".dark";
36
- };
37
- export type ChartConfig = {
38
- [k in string]: {
39
- label?: React.ReactNode;
40
- icon?: React.ComponentType;
41
- } & ({
42
- color?: string;
43
- theme?: never;
44
- } | {
45
- color?: never;
46
- theme: Record<keyof typeof THEMES, string>;
47
- });
48
- };
49
- declare function ChartContainer(params: React.ComponentProps<'div'> & ChartContainerParams): React.JSX.Element;
50
- declare const ChartStyle: ({ id, config }: ChartStyleParams) => React.JSX.Element | null;
51
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
52
- declare function ChartTooltipContent(params: ChartTooltipContentParams & React.ComponentProps<'div'>): React.JSX.Element | null;
53
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
54
- declare function ChartLegendContent(params: ChartLegendContentParams & React.ComponentProps<'div'>): React.JSX.Element | null;
55
- export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle };
56
- //# sourceMappingURL=chart.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../source/components/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAI7C,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,WAAW,CAAA;IACnB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAA;CACzF,CAAA;AAED,KAAK,wBAAwB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAA;IACf,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC,SAAS,CAAA;IAChE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,KAAK,CAAC,SAAS,CAAA;IACjG,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,KAAK,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,CAAA;AAG3D,QAAA,MAAM,MAAM;;;CAAwC,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;QACvB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KAC3B,GAAG,CACA;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,GACjC;QAAE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,OAAO,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAChE;CACF,CAAA;AAkBD,iBAAS,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,oBAAoB,qBAqBjF;AAED,QAAA,MAAM,UAAU,GAAI,gBAAgB,gBAAgB,6BA2BnD,CAAA;AAED,QAAA,MAAM,YAAY,kCAA4B,CAAA;AAE9C,iBAAS,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,4BA4G3F;AAED,QAAA,MAAM,WAAW,iCAA2B,CAAA;AAE5C,iBAAS,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,4BAkCzF;AAqBD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAA"}
@@ -1,127 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import * as React from 'react';
14
- import { useContext, useId, useMemo } from 'react';
15
- import * as RechartsPrimitive from 'recharts';
16
- import { mergeClassNames } from '../utils/merge-class-names/index.js';
17
- // Format: { THEME_NAME: CSS_SELECTOR }
18
- const THEMES = { light: '', dark: '.dark' };
19
- const ChartContext = React.createContext(null);
20
- function useChart() {
21
- const context = useContext(ChartContext);
22
- if (!context) {
23
- throw new Error('useChart must be used within a <ChartContainer />');
24
- }
25
- return context;
26
- }
27
- function ChartContainer(params) {
28
- const { id, className, children, config } = params, props = __rest(params, ["id", "className", "children", "config"]);
29
- const uniqueId = useId();
30
- const chartId = `chart-${id || uniqueId.replace(/:/g, '')}`;
31
- return (_jsx(ChartContext.Provider, { value: { config }, children: _jsxs("div", Object.assign({ "data-slot": "chart", "data-chart": chartId, className: mergeClassNames("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", className) }, props, { children: [_jsx(ChartStyle, { id: chartId, config: config }), _jsx(RechartsPrimitive.ResponsiveContainer, { children: children })] })) }));
32
- }
33
- const ChartStyle = ({ id, config }) => {
34
- const colorConfig = Object.entries(config).filter(([, config]) => config.theme || config.color);
35
- if (!colorConfig.length) {
36
- return null;
37
- }
38
- return (_jsx("style", { dangerouslySetInnerHTML: {
39
- __html: Object.entries(THEMES)
40
- .map(([theme, prefix]) => `
41
- ${prefix} [data-chart=${id}] {
42
- ${colorConfig
43
- .map(([key, itemConfig]) => {
44
- var _a;
45
- const color = ((_a = itemConfig.theme) === null || _a === void 0 ? void 0 : _a[theme]) || itemConfig.color;
46
- return color ? ` --color-${key}: ${color};` : null;
47
- })
48
- .join('\n')}
49
- }
50
- `)
51
- .join('\n'),
52
- } }));
53
- };
54
- const ChartTooltip = RechartsPrimitive.Tooltip;
55
- function ChartTooltipContent(params) {
56
- const { active, payload, className, indicator = 'dot', hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, } = params;
57
- const { config } = useChart();
58
- const tooltipLabel = useMemo(() => {
59
- var _a;
60
- if (hideLabel || !(payload === null || payload === void 0 ? void 0 : payload.length)) {
61
- return null;
62
- }
63
- const [item] = payload;
64
- const key = `${labelKey || (item === null || item === void 0 ? void 0 : item.dataKey) || (item === null || item === void 0 ? void 0 : item.name) || 'value'}`;
65
- const itemConfig = getPayloadConfigFromPayload(config, item, key);
66
- const value = !labelKey && typeof label === 'string' ? ((_a = config[label]) === null || _a === void 0 ? void 0 : _a.label) || label : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.label;
67
- if (labelFormatter) {
68
- return _jsx("div", { className: mergeClassNames('font-medium', labelClassName), children: labelFormatter(value, payload) });
69
- }
70
- if (!value) {
71
- return null;
72
- }
73
- return _jsx("div", { className: mergeClassNames('font-medium', labelClassName), children: value });
74
- }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
75
- if (!active || !(payload === null || payload === void 0 ? void 0 : payload.length)) {
76
- return null;
77
- }
78
- const nestLabel = payload.length === 1 && indicator !== 'dot';
79
- return (_jsxs("div", { className: mergeClassNames('border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl grid min-w-[8rem] items-start', className), children: [!nestLabel ? tooltipLabel : null, _jsx("div", { className: "grid gap-1.5", children: payload
80
- .filter((item) => item.type !== 'none')
81
- .map((item, index) => {
82
- const key = `${nameKey || item.name || item.dataKey || 'value'}`;
83
- const itemConfig = getPayloadConfigFromPayload(config, item, key);
84
- const indicatorColor = color || item.payload.fill || item.color;
85
- return (_jsx("div", { className: mergeClassNames('[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5', indicator === 'dot' && 'items-center'), children: formatter && (item === null || item === void 0 ? void 0 : item.value) !== undefined && item.name ? (formatter(item.value, item.name, item, index, item.payload)) : (_jsxs(_Fragment, { children: [(itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.icon) ? (_jsx(itemConfig.icon, {})) : (!hideIndicator && (_jsx("div", { className: mergeClassNames('shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)', {
86
- 'h-2.5 w-2.5': indicator === 'dot',
87
- 'w-1': indicator === 'line',
88
- 'w-0 border-[1.5px] border-dashed bg-transparent': indicator === 'dashed',
89
- 'my-0.5': nestLabel && indicator === 'dashed',
90
- }), style: {
91
- '--color-bg': indicatorColor,
92
- '--color-border': indicatorColor,
93
- } }))), _jsxs("div", { className: mergeClassNames('flex flex-1 justify-between leading-none', nestLabel ? 'items-end' : 'items-center'), children: [_jsxs("div", { className: "grid gap-1.5", children: [nestLabel ? tooltipLabel : null, _jsx("span", { className: "text-muted-foreground", children: (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.label) || item.name })] }), item.value && (_jsx("span", { className: "text-foreground font-mono font-medium tabular-nums", children: item.value.toLocaleString() }))] })] })) }, item.dataKey));
94
- }) })] }));
95
- }
96
- const ChartLegend = RechartsPrimitive.Legend;
97
- function ChartLegendContent(params) {
98
- const { className, hideIcon = false, payload, verticalAlign = 'bottom', nameKey } = params;
99
- const { config } = useChart();
100
- if (!(payload === null || payload === void 0 ? void 0 : payload.length)) {
101
- return null;
102
- }
103
- return (_jsx("div", { className: mergeClassNames('flex items-center justify-center gap-4', verticalAlign === 'top' ? 'pb-3' : 'pt-3', className), children: payload
104
- .filter((item) => item.type !== 'none')
105
- .map((item) => {
106
- const key = `${nameKey || item.dataKey || 'value'}`;
107
- const itemConfig = getPayloadConfigFromPayload(config, item, key);
108
- return (_jsxs("div", { className: mergeClassNames('[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3'), children: [(itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.icon) && !hideIcon ? (_jsx(itemConfig.icon, {})) : (_jsx("div", { className: "h-2 w-2 shrink-0 rounded-[2px]", style: {
109
- backgroundColor: item.color,
110
- } })), itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.label] }, item.value));
111
- }) }));
112
- }
113
- function getPayloadConfigFromPayload(config, payload, key) {
114
- if (typeof payload !== 'object' || payload === null) {
115
- return undefined;
116
- }
117
- const payloadPayload = 'payload' in payload && typeof payload.payload === 'object' && payload.payload !== null ? payload.payload : undefined;
118
- let configLabelKey = key;
119
- if (key in payload && typeof payload[key] === 'string') {
120
- configLabelKey = payload[key];
121
- }
122
- else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === 'string') {
123
- configLabelKey = payloadPayload[key];
124
- }
125
- return configLabelKey in config ? config[configLabelKey] : config[key];
126
- }
127
- export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle };
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import { Checkbox as CheckboxPrimitive } from 'radix-ui';
3
- declare function Checkbox(params: React.ComponentProps<typeof CheckboxPrimitive.Root>): React.JSX.Element;
4
- export { Checkbox };
5
- //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../source/components/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAKxD,iBAAS,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,qBAgB5E;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,21 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import * as React from 'react';
14
- import { Checkbox as CheckboxPrimitive } from 'radix-ui';
15
- import { CheckIcon } from 'lucide-react';
16
- import { mergeClassNames } from '../utils/merge-class-names/index.js';
17
- function Checkbox(params) {
18
- const { className } = params, props = __rest(params, ["className"]);
19
- return (_jsx(CheckboxPrimitive.Root, Object.assign({ "data-slot": "checkbox", className: mergeClassNames('border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border shadow-xs transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[3px] aria-invalid:ring-[3px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50', className) }, props, { children: _jsx(CheckboxPrimitive.Indicator, { "data-slot": "checkbox-indicator", className: "[&>svg]:size-3.5 grid place-content-center text-current transition-none", children: _jsx(CheckIcon, {}) }) })));
20
- }
21
- export { Checkbox };
@@ -1,20 +0,0 @@
1
- import * as React from "react";
2
- import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "./dialog.js";
4
- type CommandDialogParams = {
5
- title?: string;
6
- description?: string;
7
- className?: string;
8
- showCloseButton?: boolean;
9
- };
10
- declare function Command(params: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
11
- declare function CommandDialog(params: React.ComponentProps<typeof Dialog> & CommandDialogParams): React.JSX.Element;
12
- declare function CommandInput(params: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
13
- declare function CommandList(params: React.ComponentProps<typeof CommandPrimitive.List>): React.JSX.Element;
14
- declare function CommandEmpty(params: React.ComponentProps<typeof CommandPrimitive.Empty>): React.JSX.Element;
15
- declare function CommandGroup(params: React.ComponentProps<typeof CommandPrimitive.Group>): React.JSX.Element;
16
- declare function CommandSeparator(params: React.ComponentProps<typeof CommandPrimitive.Separator>): React.JSX.Element;
17
- declare function CommandItem(params: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
18
- declare function CommandShortcut(params: React.ComponentProps<"span">): React.JSX.Element;
19
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
20
- //# sourceMappingURL=command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../source/components/command.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAA;AAGlD,OAAO,EACL,MAAM,EAKP,MAAM,aAAa,CAAA;AAOpB,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,iBAAS,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,qBAerE;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG,mBAAmB,qBA0BvF;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,qBAsBhF;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAe9E;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,qBAYhF;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,qBAYhF;AAED,iBAAS,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,qBAYxF;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAmB9E;AAED,iBAAS,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAY5D;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,CAAA"}
@@ -1,55 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import * as React from "react";
14
- import { Command as CommandPrimitive } from "cmdk";
15
- import { mergeClassNames } from "../utils/merge-class-names/index.js";
16
- import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "./dialog.js";
17
- import { InputGroup, InputGroupAddon, } from "./input-group.js";
18
- import { SearchIcon, CheckIcon } from "lucide-react";
19
- function Command(params) {
20
- const { className } = params, props = __rest(params, ["className"]);
21
- return (_jsx(CommandPrimitive, Object.assign({ "data-slot": "command", className: mergeClassNames("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", className) }, props)));
22
- }
23
- function CommandDialog(params) {
24
- const { title = "Command Palette", description = "Search for a command to run...", children, className, showCloseButton = false } = params, props = __rest(params, ["title", "description", "children", "className", "showCloseButton"]);
25
- return (_jsxs(Dialog, Object.assign({}, props, { children: [_jsxs(DialogHeader, { className: "sr-only", children: [_jsx(DialogTitle, { children: title }), _jsx(DialogDescription, { children: description })] }), _jsx(DialogContent, { className: mergeClassNames("rounded-xl! top-1/3 translate-y-0 overflow-hidden p-0", className), showCloseButton: showCloseButton, children: children })] })));
26
- }
27
- function CommandInput(params) {
28
- const { className } = params, props = __rest(params, ["className"]);
29
- return (_jsx("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: _jsxs(InputGroup, { className: "bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [_jsx(CommandPrimitive.Input, Object.assign({ "data-slot": "command-input", className: mergeClassNames("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className) }, props)), _jsx(InputGroupAddon, { children: _jsx(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })] }) }));
30
- }
31
- function CommandList(params) {
32
- const { className } = params, props = __rest(params, ["className"]);
33
- return (_jsx(CommandPrimitive.List, Object.assign({ "data-slot": "command-list", className: mergeClassNames("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto", className) }, props)));
34
- }
35
- function CommandEmpty(params) {
36
- const { className } = params, props = __rest(params, ["className"]);
37
- return (_jsx(CommandPrimitive.Empty, Object.assign({ "data-slot": "command-empty", className: mergeClassNames("py-6 text-center text-sm", className) }, props)));
38
- }
39
- function CommandGroup(params) {
40
- const { className } = params, props = __rest(params, ["className"]);
41
- return (_jsx(CommandPrimitive.Group, Object.assign({ "data-slot": "command-group", className: mergeClassNames("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className) }, props)));
42
- }
43
- function CommandSeparator(params) {
44
- const { className } = params, props = __rest(params, ["className"]);
45
- return (_jsx(CommandPrimitive.Separator, Object.assign({ "data-slot": "command-separator", className: mergeClassNames("bg-border -mx-1 h-px w-auto", className) }, props)));
46
- }
47
- function CommandItem(params) {
48
- const { className, children } = params, props = __rest(params, ["className", "children"]);
49
- return (_jsxs(CommandPrimitive.Item, Object.assign({ "data-slot": "command-item", className: mergeClassNames("data-selected:bg-muted data-selected:text-foreground data-selected:**:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none [&_svg:not([class*='size-'])]:size-4 [[data-slot=dialog-content]_&]:rounded-lg! group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className) }, props, { children: [children, _jsx(CheckIcon, { className: "ml-auto opacity-0 group-has-[[data-slot=command-shortcut]]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })] })));
50
- }
51
- function CommandShortcut(params) {
52
- const { className } = params, props = __rest(params, ["className"]);
53
- return (_jsx("span", Object.assign({ "data-slot": "command-shortcut", className: mergeClassNames("text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-xs tracking-widest", className) }, props)));
54
- }
55
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- import { Dialog as DialogPrimitive } from 'radix-ui';
3
- type DialogContentParams = {
4
- showCloseButton?: boolean;
5
- };
6
- type DialogFooterParams = {
7
- showCloseButton?: boolean;
8
- };
9
- declare function Dialog(params: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
10
- declare function DialogTrigger(params: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
11
- declare function DialogPortal(params: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
12
- declare function DialogClose(params: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
13
- declare function DialogOverlay(params: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
14
- declare function DialogContent(params: React.ComponentProps<typeof DialogPrimitive.Content> & DialogContentParams): React.JSX.Element;
15
- declare function DialogHeader(params: React.ComponentProps<'div'>): React.JSX.Element;
16
- declare function DialogFooter(params: React.ComponentProps<'div'> & DialogFooterParams): React.JSX.Element;
17
- declare function DialogTitle(params: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
18
- declare function DialogDescription(params: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
19
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
20
- //# sourceMappingURL=dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../source/components/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAA;AAMpD,KAAK,mBAAmB,GAAG;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,iBAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAKxE;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAKlF;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,qBAKhF;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAK9E;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAYlF;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG,mBAAmB,qBA+BxG;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBASxD;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,kBAAkB,qBAwB7E;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAY9E;AAED,iBAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,qBAY1F;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAA"}
@@ -1,58 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import * as React from 'react';
14
- import { Dialog as DialogPrimitive } from 'radix-ui';
15
- import { mergeClassNames } from '../utils/merge-class-names/index.js';
16
- import { Button } from './button.js';
17
- import { XIcon } from 'lucide-react';
18
- function Dialog(params) {
19
- const props = __rest(params, []);
20
- return _jsx(DialogPrimitive.Root, Object.assign({ "data-slot": "dialog" }, props));
21
- }
22
- function DialogTrigger(params) {
23
- const props = __rest(params, []);
24
- return _jsx(DialogPrimitive.Trigger, Object.assign({ "data-slot": "dialog-trigger" }, props));
25
- }
26
- function DialogPortal(params) {
27
- const props = __rest(params, []);
28
- return _jsx(DialogPrimitive.Portal, Object.assign({ "data-slot": "dialog-portal" }, props));
29
- }
30
- function DialogClose(params) {
31
- const props = __rest(params, []);
32
- return _jsx(DialogPrimitive.Close, Object.assign({ "data-slot": "dialog-close" }, props));
33
- }
34
- function DialogOverlay(params) {
35
- const { className } = params, props = __rest(params, ["className"]);
36
- return (_jsx(DialogPrimitive.Overlay, Object.assign({ "data-slot": "dialog-overlay", className: mergeClassNames('data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50', className) }, props)));
37
- }
38
- function DialogContent(params) {
39
- const { className, children, showCloseButton = true } = params, props = __rest(params, ["className", "children", "showCloseButton"]);
40
- return (_jsxs(DialogPortal, { children: [_jsx(DialogOverlay, {}), _jsxs(DialogPrimitive.Content, Object.assign({ "data-slot": "dialog-content", className: mergeClassNames('bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-6 rounded-xl p-6 text-sm ring-1 duration-100 sm:max-w-md fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none', className) }, props, { children: [children, showCloseButton && (_jsx(DialogPrimitive.Close, { "data-slot": "dialog-close", asChild: true, children: _jsxs(Button, { variant: "ghost", className: "absolute top-4 right-4", size: "icon-sm", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Close" })] }) }))] }))] }));
41
- }
42
- function DialogHeader(params) {
43
- const { className } = params, props = __rest(params, ["className"]);
44
- return (_jsx("div", Object.assign({ "data-slot": "dialog-header", className: mergeClassNames('gap-2 flex flex-col', className) }, props)));
45
- }
46
- function DialogFooter(params) {
47
- const { className, showCloseButton = false, children } = params, props = __rest(params, ["className", "showCloseButton", "children"]);
48
- return (_jsxs("div", Object.assign({ "data-slot": "dialog-footer", className: mergeClassNames('gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className) }, props, { children: [children, showCloseButton && (_jsx(DialogPrimitive.Close, { asChild: true, children: _jsx(Button, { variant: "outline", children: "Close" }) }))] })));
49
- }
50
- function DialogTitle(params) {
51
- const { className } = params, props = __rest(params, ["className"]);
52
- return (_jsx(DialogPrimitive.Title, Object.assign({ "data-slot": "dialog-title", className: mergeClassNames('leading-none font-medium', className) }, props)));
53
- }
54
- function DialogDescription(params) {
55
- const { className } = params, props = __rest(params, ["className"]);
56
- return (_jsx(DialogPrimitive.Description, Object.assign({ "data-slot": "dialog-description", className: mergeClassNames('text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3', className) }, props)));
57
- }
58
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- import { Direction } from "radix-ui";
3
- type DirectionProviderParams = {
4
- direction?: React.ComponentProps<typeof Direction.DirectionProvider>["dir"];
5
- };
6
- declare function DirectionProvider(params: React.ComponentProps<typeof Direction.DirectionProvider> & DirectionProviderParams): React.JSX.Element;
7
- declare const useDirection: typeof Direction.useDirection;
8
- export { DirectionProvider, useDirection };
9
- //# sourceMappingURL=direction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../../source/components/direction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEpC,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,CAAC,KAAK,CAAC,CAAA;CAC5E,CAAA;AAED,iBAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,GAAG,uBAAuB,qBAWpH;AAED,QAAA,MAAM,YAAY,+BAAyB,CAAA;AAE3C,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAA"}
@@ -1,10 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import * as React from "react";
4
- import { Direction } from "radix-ui";
5
- function DirectionProvider(params) {
6
- const { dir, direction, children, } = params;
7
- return (_jsx(Direction.DirectionProvider, { dir: direction !== null && direction !== void 0 ? direction : dir, children: children }));
8
- }
9
- const useDirection = Direction.useDirection;
10
- export { DirectionProvider, useDirection };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Drawer as DrawerPrimitive } from 'vaul';
3
- declare function Drawer(params: React.ComponentProps<typeof DrawerPrimitive.Root>): React.JSX.Element;
4
- declare function DrawerTrigger(params: React.ComponentProps<typeof DrawerPrimitive.Trigger>): React.JSX.Element;
5
- declare function DrawerPortal(params: React.ComponentProps<typeof DrawerPrimitive.Portal>): React.JSX.Element;
6
- declare function DrawerClose(params: React.ComponentProps<typeof DrawerPrimitive.Close>): React.JSX.Element;
7
- declare function DrawerOverlay(params: React.ComponentProps<typeof DrawerPrimitive.Overlay>): React.JSX.Element;
8
- declare function DrawerContent(params: React.ComponentProps<typeof DrawerPrimitive.Content>): React.JSX.Element;
9
- declare function DrawerHeader(params: React.ComponentProps<'div'>): React.JSX.Element;
10
- declare function DrawerFooter(params: React.ComponentProps<'div'>): React.JSX.Element;
11
- declare function DrawerTitle(params: React.ComponentProps<typeof DrawerPrimitive.Title>): React.JSX.Element;
12
- declare function DrawerDescription(params: React.ComponentProps<typeof DrawerPrimitive.Description>): React.JSX.Element;
13
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription };
14
- //# sourceMappingURL=drawer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../source/components/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAA;AAIhD,iBAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAGxE;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAGlF;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,qBAGhF;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAG9E;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBASlF;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAkBlF;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBASxD;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAKxD;AAED,iBAAS,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAS9E;AAED,iBAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,qBAS1F;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,56 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import * as React from 'react';
14
- import { Drawer as DrawerPrimitive } from 'vaul';
15
- import { mergeClassNames } from '../utils/merge-class-names/index.js';
16
- function Drawer(params) {
17
- const props = __rest(params, []);
18
- return _jsx(DrawerPrimitive.Root, Object.assign({ "data-slot": "drawer" }, props));
19
- }
20
- function DrawerTrigger(params) {
21
- const props = __rest(params, []);
22
- return _jsx(DrawerPrimitive.Trigger, Object.assign({ "data-slot": "drawer-trigger" }, props));
23
- }
24
- function DrawerPortal(params) {
25
- const props = __rest(params, []);
26
- return _jsx(DrawerPrimitive.Portal, Object.assign({ "data-slot": "drawer-portal" }, props));
27
- }
28
- function DrawerClose(params) {
29
- const props = __rest(params, []);
30
- return _jsx(DrawerPrimitive.Close, Object.assign({ "data-slot": "drawer-close" }, props));
31
- }
32
- function DrawerOverlay(params) {
33
- const { className } = params, props = __rest(params, ["className"]);
34
- return (_jsx(DrawerPrimitive.Overlay, Object.assign({ "data-slot": "drawer-overlay", className: mergeClassNames('data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50', className) }, props)));
35
- }
36
- function DrawerContent(params) {
37
- const { className, children } = params, props = __rest(params, ["className", "children"]);
38
- return (_jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [_jsx(DrawerOverlay, {}), _jsxs(DrawerPrimitive.Content, Object.assign({ "data-slot": "drawer-content", className: mergeClassNames('bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50', className) }, props, { children: [_jsx("div", { className: "bg-muted mx-auto mt-4 hidden h-1.5 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), children] }))] }));
39
- }
40
- function DrawerHeader(params) {
41
- const { className } = params, props = __rest(params, ["className"]);
42
- return (_jsx("div", Object.assign({ "data-slot": "drawer-header", className: mergeClassNames('gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left flex flex-col', className) }, props)));
43
- }
44
- function DrawerFooter(params) {
45
- const { className } = params, props = __rest(params, ["className"]);
46
- return (_jsx("div", Object.assign({ "data-slot": "drawer-footer", className: mergeClassNames('gap-2 p-4 mt-auto flex flex-col', className) }, props)));
47
- }
48
- function DrawerTitle(params) {
49
- const { className } = params, props = __rest(params, ["className"]);
50
- return (_jsx(DrawerPrimitive.Title, Object.assign({ "data-slot": "drawer-title", className: mergeClassNames('text-foreground font-medium', className) }, props)));
51
- }
52
- function DrawerDescription(params) {
53
- const { className } = params, props = __rest(params, ["className"]);
54
- return (_jsx(DrawerPrimitive.Description, Object.assign({ "data-slot": "drawer-description", className: mergeClassNames('text-muted-foreground text-sm', className) }, props)));
55
- }
56
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription };
@@ -1,29 +0,0 @@
1
- import * as React from "react";
2
- import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
3
- type DropdownMenuItemParams = {
4
- inset?: boolean;
5
- variant?: "default" | "destructive";
6
- };
7
- type DropdownMenuLabelParams = {
8
- inset?: boolean;
9
- };
10
- type DropdownMenuSubTriggerParams = {
11
- inset?: boolean;
12
- };
13
- declare function DropdownMenu(params: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
14
- declare function DropdownMenuPortal(params: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
15
- declare function DropdownMenuTrigger(params: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
16
- declare function DropdownMenuContent(params: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): React.JSX.Element;
17
- declare function DropdownMenuGroup(params: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): React.JSX.Element;
18
- declare function DropdownMenuItem(params: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & DropdownMenuItemParams): React.JSX.Element;
19
- declare function DropdownMenuCheckboxItem(params: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React.JSX.Element;
20
- declare function DropdownMenuRadioGroup(params: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React.JSX.Element;
21
- declare function DropdownMenuRadioItem(params: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React.JSX.Element;
22
- declare function DropdownMenuLabel(params: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & DropdownMenuLabelParams): React.JSX.Element;
23
- declare function DropdownMenuSeparator(params: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React.JSX.Element;
24
- declare function DropdownMenuShortcut(params: React.ComponentProps<"span">): React.JSX.Element;
25
- declare function DropdownMenuSub(params: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React.JSX.Element;
26
- declare function DropdownMenuSubTrigger(params: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & DropdownMenuSubTriggerParams): React.JSX.Element;
27
- declare function DropdownMenuSubContent(params: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React.JSX.Element;
28
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
29
- //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../source/components/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAKhE,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,4BAA4B,GAAG;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,qBAKpF;AAED,iBAAS,kBAAkB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,qBAO5F;AAED,iBAAS,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,qBAU9F;AAED,iBAAS,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,qBAkB9F;AAED,iBAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,qBAO1F;AAED,iBAAS,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,GAAG,sBAAsB,qBAmBjH;AAED,iBAAS,wBAAwB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,YAAY,CAAC,qBA6BxG;AAED,iBAAS,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,qBAUpG;AAED,iBAAS,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,qBA2BlG;AAED,iBAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,GAAG,uBAAuB,qBAcpH;AAED,iBAAS,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,qBAYlG;AAED,iBAAS,oBAAoB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAYjE;AAED,iBAAS,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC,qBAKtF;AAED,iBAAS,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG,4BAA4B,qBAqBnI;AAED,iBAAS,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,qBAYpG;AAED,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}