Tested locally on a separate branch before merging.
- Selected model (and package to open) live in the URL (?model=…&paket=…),
so going back or reloading returns to the same vehicle.
- Packages are compact rows (price, product/upgrade count, badge,
visibility); a click expands one package with its texts on the left and
markup, live price calculation, products and upgrades on the right.
- Products and upgrades are edited inline and saved immediately. Several
audio4cars links can be pasted at once, and products/upgrades are
reordered by drag & drop (@dnd-kit). The separate product/upgrade pages
are gone; old links redirect to the package in the editor.
- New GET /models/{id}/package-items loads all products and upgrades of a
model in one request.
- "Pakete kopieren" can include upgrades (include_upgrades).
No database changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
981 B
JavaScript
11 lines
981 B
JavaScript
import{w as e}from"./index-D6g8QQLx.js";/**
|
|
* @license lucide-react v1.23.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const c=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],t=e("eye-off",c);/**
|
|
* @license lucide-react v1.23.0 - ISC
|
|
*
|
|
* This source code is licensed under the ISC license.
|
|
* See the LICENSE file in the root directory of this source tree.
|
|
*/const a=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],y=e("eye",a);export{t as E,y as a};
|