| 
									
										
										
										
											2025-08-14 13:12:39 +02:00
										 |  |  | import type {Preview} from '@storybook/angular'; | 
					
						
							| 
									
										
										
										
											2025-08-19 14:42:29 +02:00
										 |  |  | import {moduleMetadata} from '@storybook/angular'; | 
					
						
							|  |  |  | import {Store, StoreModule} from '@ngrx/store'; | 
					
						
							|  |  |  | import {reducers} from '../src/app/reducers'; | 
					
						
							| 
									
										
										
										
											2025-08-20 14:29:45 +02:00
										 |  |  | import 'remixicon/fonts/remixicon.css'; | 
					
						
							| 
									
										
										
										
											2025-08-14 12:18:20 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | const preview: Preview = { | 
					
						
							|  |  |  |   parameters: { | 
					
						
							| 
									
										
										
										
											2025-08-14 13:12:39 +02:00
										 |  |  |     actions: {argTypesRegex: '^on[A-Z].*'}, | 
					
						
							| 
									
										
										
										
											2025-08-14 12:18:20 +02:00
										 |  |  |     controls: { | 
					
						
							|  |  |  |       matchers: { | 
					
						
							|  |  |  |         color: /(background|color)$/i, | 
					
						
							|  |  |  |         date: /Date$/i, | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2025-08-19 14:42:29 +02:00
										 |  |  |   decorators: [ | 
					
						
							|  |  |  |     moduleMetadata({ | 
					
						
							|  |  |  |       imports: [ | 
					
						
							|  |  |  |         StoreModule.forRoot(reducers), | 
					
						
							|  |  |  |       ], | 
					
						
							|  |  |  |       providers: [ | 
					
						
							|  |  |  |         Store | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }) | 
					
						
							|  |  |  |   ] | 
					
						
							| 
									
										
										
										
											2025-08-14 12:18:20 +02:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default preview; |