/**
 * Widget configuration and customization.
 *
 * ✅ YOUR CODE - Safe to modify, will not be overwritten.
 * This file was generated once by Prism and is yours to customize.
 */

import { widgetRegistry } from './widgets/registry';

// Import your custom widgets here
// import { CustomTextInput } from '../components/widgets/CustomTextInput';
// import { AddressAutocomplete } from '../components/widgets/AddressAutocomplete';
// import { CurrencyInput } from '../components/widgets/CurrencyInput';

/**
 * Register your custom widgets here.
 *
 * @example
 * // Override all text inputs globally
 * widgetRegistry.register('string', CustomTextInput);
 *
 * // Override all date pickers
 * widgetRegistry.register('date', CustomDatePicker);
 *
 * // Register custom ui_widget types
 * widgetRegistry.register('ui:address', AddressAutocomplete);
 * widgetRegistry.register('ui:currency', CurrencyInput);
 *
 * // Override specific model.field combinations
 * widgetRegistry.register('Customer.email', CustomerEmailWidget);
 * widgetRegistry.register('Order.total', CurrencyInput);
 */

// Add your registrations here:
// widgetRegistry.register('string', CustomTextInput);

export { widgetRegistry };
