- Add `telecart_forms` table migration and default checkout form seeder - Implement `FormsHandler` to fetch form schemas - Update `OrderCreateService` to handle custom fields in order comments - Add `update` method to QueryBuilder and Grammar - Add `Arr::except` helper - Update composer dependencies (Carbon, Symfony, PHPUnit, etc.) - Improve `MigratorService` error handling - Add unit tests for new functionality
25 lines
506 B
JavaScript
25 lines
506 B
JavaScript
import {ru} from '@formkit/i18n';
|
|
import * as allIcons from '@formkit/icons';
|
|
import {rootClasses} from './formkit.theme.mjs';
|
|
|
|
// Собираем все иконки в плоский объект
|
|
const icons = {};
|
|
Object.values(allIcons).forEach(group => {
|
|
if (typeof group === 'object') {
|
|
Object.assign(icons, group);
|
|
}
|
|
});
|
|
|
|
const config = {
|
|
locales: {ru},
|
|
locale: 'ru',
|
|
icons: {
|
|
...icons,
|
|
},
|
|
config: {
|
|
rootClasses,
|
|
},
|
|
};
|
|
|
|
export default config;
|