feat: Implement view management features with a new UI for editing and listing views

- Added a resizable panel layout in the studio app to display the view list alongside the main application.
- Refactored the studio store to include new methods for fetching and managing route views.
- Introduced a new DataItemForm component for configuring data items in views.
- Created a ViewEditor component for adding and editing views, including data items and queries.
- Enhanced the ViewList component to support searching, adding, editing, and deleting views.
- Updated UI components (Button, Checkbox, Dialog, Input, Label, Table) for better styling and functionality.
- Added environment configuration for API URL.
- Introduced a new workspace configuration for pnpm.
This commit is contained in:
2025-12-31 17:54:11 +08:00
parent 8670fd3bfc
commit 231caa3b9a
22 changed files with 1177 additions and 116 deletions

20
pnpm-lock.yaml generated
View File

@@ -11,6 +11,12 @@ importers:
nanoid:
specifier: ^5.1.6
version: 5.1.6
zod:
specifier: ^4.2.1
version: 4.2.1
zod-to-json-schema:
specifier: ^3.25.1
version: 3.25.1(zod@4.2.1)
packages:
@@ -19,6 +25,20 @@ packages:
engines: {node: ^18 || >=20}
hasBin: true
zod-to-json-schema@3.25.1:
resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==}
peerDependencies:
zod: ^3.25 || ^4
zod@4.2.1:
resolution: {integrity: sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==}
snapshots:
nanoid@5.1.6: {}
zod-to-json-schema@3.25.1(zod@4.2.1):
dependencies:
zod: 4.2.1
zod@4.2.1: {}