feat: add FormKit framework support and update dependencies

- 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
This commit is contained in:
2025-11-15 01:23:17 +03:00
committed by Nikita Kiselev
parent ae9771dec4
commit 6a59dcc0c9
69 changed files with 12529 additions and 416 deletions

View File

@@ -0,0 +1,24 @@
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;