feat(admin): Enregistre et utilise SortableReorder.js

Ajoute SortableReorder.js pour permettre le tri des lignes de tableau par drag-and-drop. L'implémente dans la page des formules.
```
This commit is contained in:
Serreau Jovann
2026-01-30 10:20:52 +01:00
parent b6f90721ad
commit b2928d896b
4 changed files with 186 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ import { SearchProduct, SearchOptions } from "./libs/SearchProduct.js";
import { SearchProductDevis, SearchOptionsDevis } from "./libs/SearchProductDevis.js";
import { SearchProductFormule, SearchOptionsFormule } from "./libs/SearchProductFormule.js";
import PlaningLogestics from "./libs/PlaningLogestics.js";
import {SortableReorder} from "./libs/SortableReorder.js";
// --- CONFIGURATION SENTRY ---
Sentry.init({
@@ -27,6 +28,7 @@ Sentry.init({
const registerCustomElements = () => {
const elements = [
{ name: 'repeat-line', class: RepeatLine, extends: 'div' },
{ name: 'sortable-reorder', class: SortableReorder, extends: 'table' },
{ name: 'devis-manager', class: DevisManager, extends: 'div' },
{ name: 'search-product', class: SearchProduct, extends: 'button' },
{ name: 'search-productformule', class: SearchProductFormule, extends: 'button' },